/* ByGénesisMed · portada (bygenesismed.com) — siempre crema y dorado */
:root {
  --fondo: #F3EADB; --fondo-2: #EFE3CE; --tarjeta: #FBF6EC; --linea: #DCCFB3;
  --texto: #2A2116; --texto-2: #6E6250; --texto-3: #9A8D76;
  --oro: #D4A843; --oro-claro: #F2D589; --oro-osc: #9A7420; --cafe: #3A2A08;
  --sombra: 0 18px 50px -18px rgba(90, 62, 10, .28);
  --sombra-s: 0 8px 24px -12px rgba(90, 62, 10, .25);
  --radio: 22px;
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: 'DM Sans', system-ui, sans-serif; color: var(--texto); background: var(--fondo);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.envoltura { width: min(1160px, 100% - 40px); margin-inline: auto; }
.serif { font-family: 'Lora', Georgia, serif; }

/* ── fondo vivo: manchas doradas que flotan ── */
.aura { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aura i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: flotar 18s ease-in-out infinite alternate; }
.aura i:nth-child(1) { width: 520px; height: 520px; background: #F2D589; top: -160px; left: -140px; }
.aura i:nth-child(2) { width: 420px; height: 420px; background: #EBC8A0; top: 40%; right: -160px; animation-delay: -6s; }
.aura i:nth-child(3) { width: 380px; height: 380px; background: #E9DDB8; bottom: -160px; left: 30%; animation-delay: -12s; }
@keyframes flotar { to { transform: translate(60px, 40px) scale(1.12); } }

/* ── barra superior ── */
.barra {
  position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.barra.fija { background: rgba(251, 246, 236, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--linea); }
.barra .envoltura { display: flex; align-items: center; gap: 18px; height: 72px; }
.barra .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.barra .logo img { width: 40px; height: 40px; border-radius: 11px; box-shadow: var(--sombra-s); }
.barra .logo b { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 19px; letter-spacing: -.4px; }
.barra .logo b span { color: var(--oro-osc); }
.barra nav { display: flex; gap: 4px; margin-left: auto; }
.barra nav a { text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--texto-2); padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s; }
.barra nav a:hover { color: var(--texto); background: rgba(212, 168, 67, .14); }
.boton {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: 14px; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.boton svg { width: 19px; height: 19px; }
.boton.oro { color: var(--cafe); background: linear-gradient(135deg, #F2D589, #D4A843 55%, #B88A2A); box-shadow: 0 10px 26px -10px rgba(154, 116, 32, .8), inset 0 1px 0 rgba(255,255,255,.5); }
.boton.borde { color: var(--texto); background: rgba(251, 246, 236, .7); box-shadow: inset 0 0 0 1.5px var(--linea); }
.boton:hover { transform: translateY(-2px); }
.barra .boton { padding: 10px 16px; font-size: 14px; }
.menu-movil { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--texto); }
.menu-movil svg { width: 26px; height: 26px; }

/* ── portada ── */
.heroe { padding: 40px 0 70px; }
.heroe .envoltura { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.pildora {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--oro-osc);
  background: rgba(212, 168, 67, .14); border: 1px solid rgba(212, 168, 67, .35); padding: 7px 14px; border-radius: 99px;
}
.pildora .punto { width: 8px; height: 8px; border-radius: 50%; background: #2EAD6B; box-shadow: 0 0 0 0 rgba(46,173,107,.6); animation: latido 1.8s infinite; }
@keyframes latido { 70% { box-shadow: 0 0 0 9px rgba(46,173,107,0); } 100% { box-shadow: 0 0 0 0 rgba(46,173,107,0); } }
.heroe h1 { font-family: 'Sora', sans-serif; font-weight: 800; font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -2px; margin: 20px 0 18px; }
.dorado {
  background: linear-gradient(100deg, #9A7420 0%, #D4A843 30%, #F2D589 50%, #D4A843 70%, #9A7420 100%);
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: brillo 6s linear infinite;
}
@keyframes brillo { to { background-position: -220% center; } }
.heroe .lema { font-family: 'Lora', serif; font-style: italic; color: var(--oro-osc); font-size: 19px; }
.heroe p.texto { font-size: 18.5px; color: var(--texto-2); max-width: 540px; margin: 14px 0 28px; }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; }
.ecg { margin-top: 34px; width: 100%; max-width: 520px; height: 56px; }
.ecg path { fill: none; stroke: var(--oro); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: trazo 3.2s ease-in-out infinite; }
@keyframes trazo { 0% { stroke-dashoffset: 900; } 60% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -900; } }

/* teléfono */
.escena { position: relative; display: grid; place-items: center; min-height: 600px; }
.anillo { position: absolute; width: 470px; height: 470px; border-radius: 50%; border: 1.5px dashed rgba(212,168,67,.45); animation: girar 50s linear infinite; }
.anillo.dos { width: 360px; height: 360px; border-style: solid; border-color: rgba(212,168,67,.25); animation-duration: 70s; animation-direction: reverse; }
@keyframes girar { to { transform: rotate(360deg); } }
.telefono {
  position: relative; width: 290px; height: 590px; border-radius: 44px; padding: 12px;
  background: linear-gradient(145deg, #2B2216, #4A3A20); box-shadow: 0 40px 80px -30px rgba(58, 42, 8, .65), inset 0 0 0 2px #6B5630;
  animation: levitar 6s ease-in-out infinite;
}
@keyframes levitar { 50% { transform: translateY(-14px) rotate(-1deg); } }
.pantalla { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: var(--fondo); position: relative; display: flex; flex-direction: column; }
.pantalla::before { content: ''; position: absolute; top: 8px; left: 50%; translate: -50% 0; width: 84px; height: 22px; border-radius: 99px; background: #1A140B; z-index: 3; }
.app-cab { padding: 40px 16px 10px; display: flex; align-items: center; gap: 9px; }
.app-cab img { width: 34px; height: 34px; border-radius: 9px; }
.app-cab b { display: block; font-family: 'Sora'; font-weight: 800; font-size: 15px; color: var(--oro-osc); line-height: 1.1; }
.app-cab small { font-size: 9px; letter-spacing: 2px; font-weight: 700; color: var(--texto-2); }
.app-saludo { padding: 0 16px; font-family: 'Sora'; font-weight: 800; font-size: 17px; }
.app-saludo span { color: var(--oro-osc); }
.app-tarjeta { margin: 12px 12px 0; border-radius: 18px; background: var(--tarjeta); box-shadow: var(--sombra-s); overflow: hidden; }
.app-tarjeta .foto { position: relative; height: 128px; }
.app-tarjeta .foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s; }
.app-tarjeta .foto img.ver { opacity: 1; }
.app-tarjeta .info { padding: 10px 12px 12px; }
.app-tarjeta small { font-size: 8.5px; letter-spacing: 1.6px; font-weight: 700; color: var(--texto-3); }
.app-tarjeta h4 { font-family: 'Sora'; font-size: 14px; line-height: 1.2; margin: 3px 0 8px; min-height: 34px; }
.app-barra { height: 6px; border-radius: 9px; background: #E8DCC4; overflow: hidden; }
.app-barra i { display: block; height: 100%; width: 30%; border-radius: 9px; background: linear-gradient(90deg, #F2D589, #D4A843); animation: llenar 4s ease-in-out infinite; }
@keyframes llenar { 50% { width: 82%; } }
.app-monitor { margin: 10px 12px 0; border-radius: 16px; background: #1F1A12; padding: 10px 12px; color: #9BE3B5; display: flex; align-items: center; gap: 10px; }
.app-monitor svg { flex: 1; height: 34px; }
.app-monitor path { fill: none; stroke: #4CE08A; stroke-width: 2; stroke-dasharray: 300; animation: trazo2 2.4s linear infinite; }
@keyframes trazo2 { from { stroke-dashoffset: 300; } to { stroke-dashoffset: -300; } }
.app-monitor b { font-family: 'Sora'; font-size: 18px; }
.app-monitor small { font-size: 8px; display: block; color: #6FBF8E; letter-spacing: 1px; }
.app-nav { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 6px 14px; background: var(--tarjeta); border-top: 1px solid var(--linea); }
.app-nav span { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--texto-3); }
.app-nav span.act { border-color: var(--oro); background: rgba(212,168,67,.18); }
.globo {
  position: absolute; display: flex; align-items: center; gap: 9px; background: rgba(251, 246, 236, .92); backdrop-filter: blur(8px);
  border: 1px solid var(--linea); border-radius: 16px; padding: 10px 14px; box-shadow: var(--sombra); font-size: 13.5px; font-weight: 700;
  animation: levitar 5s ease-in-out infinite;
}
.globo .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; }
.globo .ic svg { width: 18px; height: 18px; }
.globo small { display: block; font-weight: 500; font-size: 11.5px; color: var(--texto-2); }
.globo.g1 { top: 70px; left: -6px; animation-delay: -1s; }
.globo.g2 { top: 270px; right: -20px; animation-delay: -2.5s; }
.globo.g3 { bottom: 70px; left: 6px; animation-delay: -4s; }

/* ── cifras ── */
.cifras { padding: 8px 0 30px; }
.cifras .envoltura { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cifra { text-align: center; padding: 24px 12px; border-radius: var(--radio); background: rgba(251, 246, 236, .7); border: 1px solid var(--linea); }
.cifra b { display: block; font-family: 'Sora'; font-weight: 800; font-size: 40px; letter-spacing: -1px; line-height: 1.1; }
.cifra span { font-size: 14px; color: var(--texto-2); font-weight: 600; }

/* ── secciones ── */
.seccion { padding: 90px 0; position: relative; }
.titulo { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.titulo .etq { display: inline-block; font-size: 12.5px; letter-spacing: 2.4px; font-weight: 700; color: var(--oro-osc); text-transform: uppercase; margin-bottom: 12px; }
.titulo h2 { font-family: 'Sora', sans-serif; font-weight: 800; font-size: clamp(30px, 4.2vw, 46px); letter-spacing: -1.2px; line-height: 1.12; }
.titulo p { color: var(--texto-2); font-size: 17.5px; margin-top: 14px; }

/* qué es: 3 tarjetas con foto */
.tres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tarjeta-foto { background: var(--tarjeta); border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra-s); border: 1px solid var(--linea); transition: transform .35s, box-shadow .35s; }
.tarjeta-foto:hover { transform: translateY(-6px); box-shadow: var(--sombra); }
.tarjeta-foto .foto { aspect-ratio: 16 / 9; overflow: hidden; }
.tarjeta-foto .foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.tarjeta-foto:hover .foto img { transform: scale(1.07); }
.tarjeta-foto .cuerpo { padding: 20px 22px 24px; }
.tarjeta-foto h3 { font-family: 'Sora'; font-size: 19px; margin-bottom: 6px; }
.tarjeta-foto p { color: var(--texto-2); font-size: 15.5px; }

/* funciones: bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); gap: 18px; }
.celda {
  position: relative; border-radius: var(--radio); padding: 24px; overflow: hidden; background: var(--tarjeta);
  border: 1px solid var(--linea); box-shadow: var(--sombra-s); transition: transform .35s, box-shadow .35s; isolation: isolate;
}
.celda:hover { transform: translateY(-5px); box-shadow: var(--sombra); }
.celda.ancha { grid-column: span 2; }
.celda.alta { grid-row: span 2; }
.celda .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; border: 1.6px solid currentColor; margin-bottom: 14px; }
.celda .ico svg { width: 23px; height: 23px; }
.celda h3 { font-family: 'Sora'; font-size: 19px; margin-bottom: 6px; color: var(--texto); }
.celda p { color: var(--texto-2); font-size: 15px; }
.celda.con-foto { color: #fff; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; }
.celda.con-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s; }
.celda.con-foto::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(42,33,22,0) 25%, rgba(42,33,22,.86) 100%); }
.celda.con-foto:hover img { transform: scale(1.06); }
.celda.con-foto h3 { color: #fff; font-size: 22px; }
.celda.con-foto p { color: rgba(255,255,255,.86); }
.celda.con-foto .ico { color: var(--oro-claro); background: rgba(42,33,22,.35); backdrop-filter: blur(6px); }

/* unidades */
.partes { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.partes button {
  font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer; padding: 10px 18px; border-radius: 99px;
  border: 1.5px solid var(--linea); background: var(--tarjeta); color: var(--texto-2); transition: all .25s;
}
.partes button span { opacity: .6; margin-right: 6px; }
.partes button.activa { color: var(--cafe); border-color: transparent; background: linear-gradient(135deg, #F2D589, #D4A843); box-shadow: var(--sombra-s); }
.parte-desc { text-align: center; color: var(--texto-2); margin: -14px 0 26px; min-height: 26px; }
.unidades { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.unidad {
  --c: var(--oro); position: relative; border-radius: 18px; overflow: hidden; background: var(--tarjeta);
  border: 1px solid var(--linea); box-shadow: var(--sombra-s); transition: transform .35s, box-shadow .35s, opacity .4s;
}
.unidad:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 22px 40px -20px var(--c); }
.unidad .foto { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.unidad .foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.unidad:hover .foto img { transform: scale(1.08); }
.unidad .num {
  position: absolute; top: 10px; left: 10px; font-family: 'Sora'; font-weight: 800; font-size: 12.5px; color: #fff;
  background: var(--c); padding: 3px 9px; border-radius: 8px; box-shadow: 0 4px 12px -4px rgba(0,0,0,.4);
}
.unidad .gratis { position: absolute; top: 10px; right: 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .6px; background: rgba(251,246,236,.92); color: #1E8A55; padding: 3px 8px; border-radius: 8px; }
.unidad .nom { padding: 11px 13px 14px; font-weight: 700; font-size: 14.5px; line-height: 1.3; border-top: 3px solid var(--c); }
.unidad.oculta { display: none; }
.proximo { text-align: center; margin-top: 30px; color: var(--texto-2); }
.proximo b { color: var(--texto); }

/* planes */
.planes { display: grid; grid-template-columns: 1fr 1.08fr; gap: 26px; max-width: 940px; margin: 0 auto; align-items: stretch; }
.plan { position: relative; border-radius: 28px; padding: 34px 32px 32px; background: var(--tarjeta); border: 1px solid var(--linea); box-shadow: var(--sombra-s); display: flex; flex-direction: column; }
.plan .cab { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.plan .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; border: 1.6px solid currentColor; }
.plan .ico svg { width: 27px; height: 27px; }
.plan h3 { font-family: 'Sora'; font-size: 26px; letter-spacing: -.5px; }
.plan .sub { color: var(--texto-2); margin-bottom: 20px; font-size: 15.5px; }
.plan ul { list-style: none; display: grid; gap: 12px; margin-bottom: 26px; }
.plan li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; }
.plan li svg { flex: none; width: 21px; height: 21px; margin-top: 1px; }
.plan .boton { margin-top: auto; justify-content: center; }
.plan.gratis { color: #1E8A55; }
.plan.gratis h3, .plan.gratis li { color: var(--texto); }
.plan.premium {
  border: 0; color: var(--oro-osc);
  background:
    linear-gradient(var(--tarjeta), var(--tarjeta)) padding-box,
    conic-gradient(from var(--ang), #F2D589, #9A7420, #D4A843, #FFF1C7, #D4A843, #F2D589) border-box;
  border: 2.5px solid transparent; animation: borde 6s linear infinite; box-shadow: 0 30px 70px -30px rgba(154,116,32,.6);
}
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes borde { to { --ang: 360deg; } }
.plan.premium h3, .plan.premium li { color: var(--texto); }
.plan.premium .fondo-foto { position: absolute; right: -30px; top: -30px; width: 210px; opacity: .22; border-radius: 50%; pointer-events: none; mask-image: radial-gradient(circle, #000 40%, transparent 70%); -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 70%); }
.cinta { position: absolute; top: -14px; left: 50%; translate: -50% 0; background: linear-gradient(135deg, #F2D589, #D4A843); color: var(--cafe); font-size: 12px; font-weight: 800; letter-spacing: 1.4px; padding: 6px 16px; border-radius: 99px; box-shadow: var(--sombra-s); white-space: nowrap; }
.nota-precio { text-align: center; color: var(--texto-3); font-size: 14px; margin-top: 22px; }

/* quién la hace */
.autor {
  position: relative; max-width: 980px; margin: 0 auto; border-radius: 32px; overflow: hidden; display: grid; grid-template-columns: .9fr 1.1fr;
  background: linear-gradient(135deg, #2E2414, #4A3818); color: #F6EBD3; box-shadow: 0 40px 80px -36px rgba(42,33,22,.8);
}
.autor .foto { position: relative; min-height: 380px; }
.autor .foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.autor .foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(46,36,20,0) 50%, #3A2D16 100%); }
.autor .texto { padding: 46px 44px; }
.autor .firma { font-family: 'Sora'; font-weight: 800; letter-spacing: 5px; font-size: 15px; color: var(--oro-claro); }
.autor h2 { font-family: 'Sora'; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; margin: 12px 0 16px; letter-spacing: -.8px; color: #fff; }
.autor p { color: rgba(246,235,211,.84); font-size: 16px; }
.valores { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.valores span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 99px; border: 1px solid rgba(242,213,137,.4); color: var(--oro-claro); }
.valores svg { width: 15px; height: 15px; }
.autor .cita { font-family: 'Lora', serif; font-style: italic; font-size: 17.5px; color: #FBE8B6; border-left: 3px solid var(--oro); padding-left: 16px; }
.autor .cita small { display: block; font-family: 'DM Sans'; font-style: normal; font-size: 13px; color: rgba(246,235,211,.6); margin-top: 4px; }
.camino { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 980px; margin: 26px auto 0; }
.paso { background: var(--tarjeta); border: 1px solid var(--linea); border-radius: 20px; padding: 18px 20px; box-shadow: var(--sombra-s); }
.paso small { font-weight: 700; color: var(--oro-osc); letter-spacing: 1px; font-size: 12px; }
.paso b { display: block; font-family: 'Sora'; font-size: 16.5px; margin: 2px 0 3px; }
.paso p { color: var(--texto-2); font-size: 14px; }

/* llamada final + redes */
.final { text-align: center; border-radius: 32px; padding: 60px 26px; background: radial-gradient(circle at 50% 0%, #FFF4D6, var(--tarjeta) 60%); border: 1px solid var(--linea); box-shadow: var(--sombra); max-width: 980px; margin: 0 auto; }
.final img { width: 84px; height: 84px; border-radius: 22px; margin: 0 auto 18px; box-shadow: var(--sombra); animation: levitar 5s ease-in-out infinite; }
.final h2 { font-family: 'Sora'; font-size: clamp(28px, 4vw, 40px); letter-spacing: -1px; }
.final p { color: var(--texto-2); margin: 10px auto 26px; max-width: 560px; font-size: 17px; }
.redes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.redes a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: 14px; background: var(--tarjeta); border: 1.5px solid var(--linea); color: var(--texto); transition: transform .2s, border-color .2s, color .2s; }
.redes a:hover { transform: translateY(-3px); border-color: var(--oro); color: var(--oro-osc); }
.redes svg { width: 18px; height: 18px; }

footer { padding: 40px 0 46px; text-align: center; color: var(--texto-3); font-size: 14px; }
footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-bottom: 12px; }
footer nav a { color: var(--texto-2); font-weight: 600; text-decoration: none; }
footer nav a:hover { color: var(--oro-osc); }
footer .firma { color: var(--oro-osc); font-weight: 700; letter-spacing: 2px; }

/* aparecer al bajar */
.aparece { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.aparece.visto { opacity: 1; transform: none; }

/* ── celular y tablet ── */
@media (max-width: 980px) {
  .heroe .envoltura { grid-template-columns: 1fr; text-align: center; }
  .heroe p.texto { margin-inline: auto; }
  .acciones { justify-content: center; }
  .ecg { margin-inline: auto; }
  .escena { min-height: 560px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .autor { grid-template-columns: 1fr; }
  .autor .foto { min-height: 240px; }
  .autor .foto::after { background: linear-gradient(180deg, rgba(46,36,20,0) 40%, #3A2D16 100%); }
}
@media (max-width: 820px) {
  .barra nav, .barra .boton { display: none; }
  .menu-movil { display: block; }
  .barra.abierta nav { display: flex; position: absolute; top: 72px; left: 12px; right: 12px; flex-direction: column; background: var(--tarjeta); border: 1px solid var(--linea); border-radius: 18px; padding: 10px; box-shadow: var(--sombra); }
  .barra.abierta nav a { padding: 12px 14px; }
  .cifras .envoltura { grid-template-columns: repeat(2, 1fr); }
  .tres, .planes, .camino { grid-template-columns: 1fr; }
  .seccion { padding: 66px 0; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .celda.ancha { grid-column: auto; }
  .celda.alta { grid-row: auto; }
  .unidades { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .unidad .nom { font-size: 13px; }
  .globo { transform: scale(.88); }
  .globo.g1 { left: -10px; } .globo.g2 { right: -12px; } .globo.g3 { left: -4px; }
  .anillo { width: 360px; height: 360px; } .anillo.dos { width: 280px; height: 280px; }
  .plan { padding: 30px 22px 26px; }
  .autor .texto { padding: 32px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .aparece { opacity: 1; transform: none; }
  .ecg path { stroke-dashoffset: 0; }
}
