/* ConsultorIA · Millonarios del Tiempo (26 oct 2026)
   Gramática "Consultorio": la página es una primera consulta (síntoma, tres preguntas, diagnóstico,
   plan, acompañamiento, cita). Navegación: tres medidores que se llenan con el pre-diagnóstico.
   Marfil y oro; el oro no es color de texto: los acentos van en bronce. */

:root {
  --sc-canvas: #FBF7EE;  --sc-surface: #FFFFFF;
  --sc-ink: #1E160B;     --sc-ink-soft: #64563F;
  --sc-accent: #C99A3A;  --sc-accent-ink: #1E160B;
  --sc-font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --sc-font-text: "Inter", ui-sans-serif, system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mano: "Caveat", cursive;
  --oro: #C99A3A; --oro-claro: #F2DFA9; --bronce: #7A4A0A; --noche: #17110A;
  --linea: #EADFC6; --wa: #128C5A; --rojo: #C4413A;
  --sombra: 0 1px 2px rgb(60 40 10 / .06), 0 14px 34px -18px rgb(60 40 10 / .35);
}
html { scroll-padding-top: 24px; }
body { background: var(--sc-canvas); color: var(--sc-ink); font-family: var(--sc-font-text); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--sc-font-display); margin: 0; line-height: 1.1; letter-spacing: -.02em; }
p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--bronce); letter-spacing: 0; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.antetitulo { font: 700 12px/1.2 var(--sc-font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--bronce); }
.tenue { color: var(--sc-ink-soft); }
section { padding-block: clamp(4rem, 9vw, 7.5rem); }
:focus-visible { outline: 3px solid var(--oro); outline-offset: 3px; border-radius: 6px; }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 46px; padding: .75em 1.3em; border-radius: 999px; border: 0;
  font: 700 15px/1.1 var(--sc-font-text); text-decoration: none; cursor: pointer; transition: transform .18s, box-shadow .18s; }
.btn:hover { transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 12px 26px -14px rgb(18 140 90 / .9); }
.btn--linea { background: transparent; color: var(--sc-ink); box-shadow: inset 0 0 0 1.5px var(--sc-ink); }
.btn--grande { min-height: 54px; padding: .95em 1.6em; font-size: 16px; }
.btn--gigante { min-height: 64px; padding: 1em 2em; font-size: 18px; }

/* ---------- navegación: medidores */
.medidores { position: fixed; z-index: 50; left: 50%; bottom: 16px; translate: -50% 0; display: flex; align-items: center; gap: 10px; padding: 7px 7px 7px 12px;
  background: rgb(255 255 255 / .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--linea); border-radius: 999px;
  box-shadow: 0 18px 40px -20px rgb(40 25 5 / .5); transition: opacity .35s, transform .35s; }
.medidores--oculto { opacity: 0; transform: translateY(20px); pointer-events: none; }
.medidores__marca img { width: 42px; height: auto; }
.medidores__grupo { display: flex; gap: 6px; text-decoration: none; color: var(--sc-ink); }
.medidor { position: relative; display: flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; transition: background .3s; }
.medidor:hover { background: #FBF0D6; }
.medidor__arco { width: 36px; height: 36px; rotate: -90deg; }
.medidor__arco circle { fill: none; stroke: #EFE5CF; stroke-width: 3.2; }
.medidor__arco .medidor__lleno { stroke: var(--oro); stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; transition: stroke-dashoffset .8s cubic-bezier(.2,.8,.2,1); }
.medidor .ico { position: absolute; left: 13px; top: 50%; translate: 0 -50%; font-size: 14px; color: var(--bronce); }
.medidor__txt { font: 600 13px var(--sc-font-text); }
.medidor--lleno .medidor__lleno { stroke-dashoffset: 0; }
.medidor--lleno { background: #FBF0D6; }
.medidores__cta { min-height: 44px; padding: .6em 1.1em; font-size: 14px; }
@media (max-width: 760px) {
  .medidores { left: 8px; right: 8px; bottom: 8px; translate: none; justify-content: space-between; gap: 4px; padding: 6px; }
  .medidores__marca { display: none; }
  .medidor { padding: 2px; }
  .medidor__txt { display: none; }
  .medidores__cta span { font-size: 0; }
  .medidores__cta span::after { content: "Conversemos"; font-size: 14px; }
}

/* ---------- 1 · hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: clip; padding-block: clamp(2.5rem, 6vw, 4rem) 6rem;
  background: radial-gradient(70% 60% at 85% 20%, #FCEFCF 0%, transparent 70%), radial-gradient(60% 60% at 0% 100%, #F3E6CB 0%, transparent 70%), var(--sc-canvas); --h: 0; }
.hero__luz { position: absolute; width: 70vw; height: 70vw; right: -20vw; top: -25vw; border-radius: 50%; background: radial-gradient(circle, rgb(242 200 110 / .35), transparent 65%);
  transform: translateY(calc(var(--h) * 120px)); pointer-events: none; }
.hero__rejilla { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__logo { width: clamp(150px, 16vw, 210px); margin-bottom: 1.6rem; }
.hero__titulo { font-size: clamp(2.3rem, 1.2rem + 3.6vw, 4.4rem); line-height: 1.04; text-wrap: balance; }
.hero__titulo em { font-size: 1.12em; line-height: .9; }
.hero__sub { margin-top: 1.4rem; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); color: var(--sc-ink-soft); }
.hero__sub b { color: var(--sc-ink); }
.hero__acciones { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero__escena { position: relative; aspect-ratio: 941 / 945; }
.hero__foto { position: absolute; inset: 0; margin: 0; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 80px -40px rgb(40 25 5 / .65), 0 0 0 1px rgb(201 154 58 / .35);
  transform: translate3d(calc(var(--mx, 0px) * -.4), calc(var(--h) * -30px + var(--my, 0px) * -.4), 0); }
.hero__foto img { width: 100%; height: 100%; object-fit: cover; }
.hero__foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(23 17 10 / .35)); }
.aviso-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 12px; border-radius: 14px; background: rgb(255 255 255 / .94);
  box-shadow: 0 16px 30px -14px rgb(30 20 5 / .55); font: 600 14px var(--sc-font-text); color: var(--sc-ink); white-space: nowrap;
  transform: translate3d(calc(var(--mx, 0px) * var(--z)), calc(var(--h) * var(--z) * -110px + var(--my, 0px) * var(--z)), 0);
  animation: flota 6s ease-in-out infinite; animation-delay: calc(var(--z) * -1.3s); }
.aviso-chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--rojo); box-shadow: 0 0 0 4px rgb(196 65 58 / .16); }
.aviso-chip--1 { left: -8%; top: 8%; }
.aviso-chip--2 { right: -6%; top: 22%; }
.aviso-chip--3 { left: -4%; top: 48%; }
.aviso-chip--4 { right: -9%; top: 64%; }
.aviso-chip--5 { left: 10%; bottom: -3%; }
.aviso-chip--alerta { background: #FFF1EF; color: #8F2B25; }
@keyframes flota { 50% { margin-top: -8px; } }
@media (prefers-reduced-motion: reduce) { .aviso-chip { animation: none; } }
@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: 2rem; }
  .hero__rejilla { grid-template-columns: 1fr; }
  .hero__escena { width: min(520px, 88%); margin: 1rem auto 0; }
  .aviso-chip { font-size: 12px; padding: 7px 10px; }
  .hero__acciones .btn { flex: 1 1 100%; }
}

/* ---------- 2 · espejo y libreta */
.espejo { background: var(--noche); color: #F6EEDC; }
.espejo__rejilla { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.espejo__titulo { font-size: clamp(1.9rem, 1.1rem + 2.6vw, 3.3rem); line-height: 1.12; text-wrap: balance; }
.espejo__titulo em { color: var(--oro-claro); }
.libreta { position: relative; padding: 30px 30px 26px 54px; border-radius: 6px; background: repeating-linear-gradient(#FFFDF6 0 35px, #D9E6F2 35px 36px); color: #22304A;
  font-family: var(--mano); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .7); rotate: -2deg; }
.libreta::before { content: ""; position: absolute; left: 36px; top: 0; bottom: 0; width: 2px; background: #E7A6A0; }
.libreta__titulo { font-size: 32px; line-height: 36px; }
.libreta ul { list-style: none; margin: 0; padding: 0; }
.libreta li { display: flex; align-items: center; gap: 12px; font-size: 30px; line-height: 36px; }
.libreta__caja { position: relative; display: grid; place-items: center; width: 22px; height: 22px; border: 2px solid #22304A; border-radius: 3px; flex: none; }
.libreta__caja .ico { position: absolute; width: 30px; height: 30px; stroke: #1F7A4C; stroke-width: 3; stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .45s ease; transform: translate(4px, -4px); }
.libreta.palomea li:nth-child(1) .ico { transition-delay: .2s; } .libreta.palomea li:nth-child(2) .ico { transition-delay: .6s; }
.libreta.palomea li:nth-child(3) .ico { transition-delay: 1s; } .libreta.palomea li:nth-child(4) .ico { transition-delay: 1.4s; }
.libreta.palomea .ico { stroke-dashoffset: 0; }
.libreta__familia b { color: var(--rojo); font-size: 38px; opacity: 0; transition: opacity .5s 2.1s; }
.libreta.palomea .libreta__familia b { opacity: 1; animation: late 1.2s 2.4s ease-in-out 2; }
@keyframes late { 50% { transform: scale(1.35); } }
@media (max-width: 860px) { .espejo__rejilla { grid-template-columns: 1fr; } .libreta { max-width: 340px; } }

/* ---------- 3 · Neto */
.neto__rejilla { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.neto__foto { margin: 0; border-radius: 26px; overflow: hidden; box-shadow: var(--sombra); aspect-ratio: 4 / 5; }
.neto__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.neto__texto { display: grid; gap: 1.3rem; max-width: 40rem; }
.neto__hola { font-size: 1.15rem; color: var(--sc-ink-soft); }
.neto__grande { font: 700 clamp(1.6rem, 1rem + 1.8vw, 2.5rem)/1.2 var(--sc-font-display); letter-spacing: -.02em; }
.neto__texto p:last-child { font-size: 1.15rem; line-height: 1.6; }
@media (max-width: 860px) { .neto__rejilla { grid-template-columns: 1fr; } .neto__foto { max-width: 360px; } }

/* ---------- 4 · pre-diagnóstico */
.diagnostico { background: linear-gradient(180deg, var(--sc-canvas), #F6ECD6); }
.diagnostico__cabeza { max-width: 44rem; display: grid; gap: .9rem; margin-bottom: 2.4rem; }
.diagnostico__cabeza h2 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.2rem); }
.diagnostico__cabeza p:last-child { font-size: 1.1rem; color: var(--sc-ink-soft); line-height: 1.6; }
.preguntas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pregunta { margin: 0; padding: 22px; border: 1px solid var(--linea); border-radius: 20px; background: #fff; box-shadow: var(--sombra); transition: border-color .3s, box-shadow .3s; }
.pregunta--contestada { border-color: var(--oro); box-shadow: 0 0 0 3px rgb(201 154 58 / .18), var(--sombra); }
.pregunta legend { display: flex; flex-direction: column; gap: 12px; padding: 0; margin-bottom: 14px; font: 700 1.3rem/1.2 var(--sc-font-display); letter-spacing: -.01em; float: left; width: 100%; }
.pregunta legend em { font-size: 1.15em; }
.pregunta__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #FBF0D6; color: var(--bronce); font-size: 22px; }
.chips { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 8px 13px; border-radius: 999px; border: 1.5px solid var(--linea); background: var(--sc-canvas); font-size: 14px; font-weight: 500; transition: all .18s; }
.chips label:hover span { border-color: var(--oro); }
.chips input:checked + span { background: var(--sc-ink); border-color: var(--sc-ink); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--oro); outline-offset: 2px; }
.diagnostico__pie { margin-top: 2rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 1.5rem; align-items: end; }
.diagnostico__giro { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--sc-ink-soft); }
.diagnostico__giro input { padding: 12px 14px; border: 1.5px solid var(--linea); border-radius: 12px; background: #fff; font: 400 15px var(--sc-font-text); color: var(--sc-ink); }
.diagnostico__giro input:focus { outline: none; border-color: var(--oro); }
.diagnostico__pie > p { font-size: 1.05rem; line-height: 1.55; color: var(--sc-ink-soft); }
.diagnostico__pie > p b { color: var(--sc-ink); }
@media (max-width: 960px) { .preguntas { grid-template-columns: 1fr; } .diagnostico__pie { grid-template-columns: 1fr; } .diagnostico__pie .btn { width: 100%; } }

/* ---------- 5 · plan de acción */
.plan__titulo { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem); max-width: 18ch; margin-bottom: 2.6rem; }
.objetivos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.objetivo { padding: 26px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--linea); display: grid; gap: 12px; align-content: start; }
.objetivo__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #E9C46A, #B98622); color: #fff; font-size: 24px; }
.objetivo h3 { font-size: 1.25rem; }
.objetivo p { color: var(--sc-ink-soft); line-height: 1.55; }
@media (max-width: 960px) { .objetivos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .objetivos { grid-template-columns: 1fr; } }

/* ---------- 6 · pico: de la oficina de IA a la playa */
.pico { padding: 0; background: var(--noche); --p: 0; }
/* Sin position aquí: el motor hace sticky a .sc-stage y una regla de igual peso lo anularía. */
.pico__escena { display: grid; place-items: center; }
.pico__ventana { position: absolute; inset: 0; display: flex; justify-content: center; overflow: hidden; }
.pico__img { height: 175vh; width: auto; max-width: none; flex: none; transform: translateY(calc((1 - var(--p)) * (100vh - 175vh))); will-change: transform; }
.pico__ventana::before, .pico__ventana::after { content: ""; position: absolute; top: 0; bottom: 0; width: 22vw; z-index: 1; pointer-events: none; }
.pico__ventana::before { left: 0; background: linear-gradient(90deg, var(--noche) 30%, transparent); }
.pico__ventana::after { right: 0; background: linear-gradient(270deg, var(--noche) 30%, transparent); }
.pico__frase { position: absolute; z-index: 2; max-width: min(30rem, 86vw); padding: 18px 22px; border-radius: 18px; background: rgb(23 17 10 / .72); backdrop-filter: blur(6px);
  color: #FFF8E8; font: 700 clamp(1.4rem, 1rem + 1.4vw, 2.2rem)/1.2 var(--sc-font-display); letter-spacing: -.02em; transition: opacity .2s linear; }
.pico__frase em { color: var(--oro-claro); }
.pico__frase--1 { left: clamp(16px, 5vw, 80px); bottom: 14vh; opacity: calc(1 - var(--p) * 2.6); transform: translateY(calc(var(--p) * -40px)); }
.pico__frase--2 { right: clamp(16px, 5vw, 80px); top: 14vh; opacity: calc((var(--p) - .62) * 3.2); transform: translateY(calc((1 - var(--p)) * 40px)); }
@media (max-width: 700px) {
  .pico__ventana::before, .pico__ventana::after { display: none; }
  .pico__img { height: 165vh; }
  .pico__img { transform: translateY(calc((1 - var(--p)) * (100vh - 165vh))); }
  .pico__frase--1 { bottom: 16vh; } .pico__frase--2 { top: 8vh; }
}

/* ---------- 7 · IA Partners */
.socios__rejilla { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.socios__texto { display: grid; gap: 1.1rem; }
.socios__texto h2 { font-size: clamp(1.8rem, 1.1rem + 2.2vw, 3rem); line-height: 1.15; }
.socios__texto p:last-child { font-size: 1.1rem; line-height: 1.65; color: var(--sc-ink-soft); }
.camino { position: relative; list-style: none; margin: 0; padding: 0 0 0 46px; display: grid; gap: 26px; --l: 0; }
.camino__linea { position: absolute; left: 14px; top: 10px; bottom: 10px; width: 10px; height: calc(100% - 20px); overflow: visible; }
.camino__linea path { fill: none; stroke: var(--oro); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--l)); }
.camino li { position: relative; display: grid; gap: 4px; }
.camino li::before { content: ""; position: absolute; left: -41px; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--linea); transition: border-color .3s, background .3s; }
.camino li.encendido::before { border-color: var(--oro); background: var(--oro-claro); }
.camino b { font: 700 1.2rem var(--sc-font-display); }
.camino span { color: var(--sc-ink-soft); line-height: 1.5; }
.socios__cita { margin-top: clamp(3rem, 7vw, 5rem); padding-left: 1.4rem; border-left: 4px solid var(--oro); font: 400 clamp(1.4rem, 1rem + 1.4vw, 2.2rem)/1.35 var(--serif); max-width: 52rem; }
.socios__cita em { font-size: 1em; }
@media (max-width: 860px) { .socios__rejilla { grid-template-columns: 1fr; } }

/* ---------- 8 · testimonios */
.testimonios { background: #fff; border-block: 1px solid var(--linea); }
.testimonios__cabeza { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; }
.testimonios__cabeza h2 { font-size: clamp(1.8rem, 1.1rem + 2vw, 2.8rem); margin-top: .6rem; max-width: 20ch; }
.testimonios__cabeza .tenue { margin-top: .6rem; }
.carrusel__botones { display: flex; gap: 8px; }
.carrusel__btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--linea); background: #fff; cursor: pointer; color: var(--sc-ink); }
.carrusel__btn:hover { border-color: var(--oro); }
.carrusel { list-style: none; margin: 0; padding: 4px max(16px, calc((100vw - var(--sc-max, 1200px)) / 2)) 18px; display: grid; grid-auto-flow: column; grid-auto-columns: min(340px, 80vw); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.historia { scroll-snap-align: start; display: grid; gap: 10px; align-content: start; }
.video { position: relative; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: pointer; background: #111; aspect-ratio: 16 / 9; box-shadow: var(--sombra); }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.video:hover img { transform: scale(1.04); }
.video__play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .92); color: var(--sc-ink); box-shadow: 0 10px 24px -8px rgb(0 0 0 / .5); }
.video__play .ico { font-size: 22px; margin-left: 3px; }
.historia q { font: 600 1.02rem/1.35 var(--sc-font-text); }
.historia > span { font-size: 13px; color: var(--bronce); font-weight: 600; }
.escritos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 2rem; }
.escrito { margin: 0; display: grid; gap: 10px; }
.escrito__img { position: relative; padding: 0; border: 1px solid var(--linea); border-radius: 16px; overflow: hidden; cursor: zoom-in; background: #fff; }
.escrito__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.escrito__lupa { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgb(255 255 255 / .92); color: var(--sc-ink); }
.escrito figcaption { display: grid; gap: 2px; }
.escrito q { font-weight: 600; }
.escrito figcaption span { font-size: 13px; color: var(--bronce); font-weight: 600; }
.resenas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 1.4rem; }
.resena { padding: 10px; border: 1px solid var(--linea); border-radius: 14px; background: var(--sc-canvas); cursor: zoom-in; display: grid; gap: 6px; text-align: left; }
.resena img { width: 100%; border-radius: 8px; }
.resena span { font-size: 13px; font-weight: 600; color: var(--bronce); }
.nota-videos { margin-top: 1rem; font-size: 14px; color: var(--sc-ink-soft); }
@media (max-width: 700px) { .escritos, .resenas { grid-template-columns: 1fr; } .testimonios__cabeza { flex-direction: column; align-items: flex-start; } }
.visor { border: 0; padding: 0; background: transparent; width: min(1000px, 94vw); max-height: 90vh; overflow: visible; }
.visor::backdrop { background: rgb(15 10 4 / .82); }
.visor__marco iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; display: block; background: #000; }
.visor__marco img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: 12px; }
.visor__cerrar { position: absolute; right: 0; top: -52px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; cursor: pointer; }

/* ---------- 9 · cierre */
.cierre { background: radial-gradient(70% 60% at 50% 0%, #FCEFCF, transparent 70%), var(--sc-canvas); }
.invitacion { max-width: 760px; margin: 0 auto; padding: clamp(2rem, 5vw, 3.4rem); border-radius: 28px; background: #fff; border: 1px solid var(--oro-claro);
  box-shadow: 0 50px 90px -50px rgb(60 40 10 / .55); text-align: center; display: grid; gap: 1.1rem; justify-items: center; }
.invitacion__logo { width: 160px; }
.invitacion h2 { font-size: clamp(2.4rem, 1.5rem + 3vw, 4rem); }
.invitacion__lead { font-size: 1.25rem; line-height: 1.55; }
.invitacion > p { color: var(--sc-ink-soft); line-height: 1.6; max-width: 36rem; }
.invitacion__lead { color: var(--sc-ink) !important; }
.resumen { width: 100%; padding: 16px 18px; border-radius: 16px; background: #FBF5E6; border: 1px dashed var(--oro); text-align: left; }
.resumen__titulo { font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.resumen ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; color: var(--sc-ink-soft); }
.resumen li b { color: var(--sc-ink); }
.invitacion__tel a { color: var(--bronce); font-weight: 700; }
.firma { margin-top: .6rem; padding-top: 1rem; border-top: 1px solid var(--linea); width: 100%; }
.firma__nombre { font: 400 2.1rem var(--mano); color: var(--sc-ink); }
.firma p:last-child { font-size: 14px; color: var(--sc-ink-soft); }
.firma a { color: var(--bronce); }
.invitacion__lema { font: italic 400 1.4rem var(--serif); color: var(--bronce) !important; }

/* ---------- 10 · otros servicios */
.servicios { padding-top: 0; }
.servicios__titulo { font-size: clamp(1.6rem, 1rem + 1.6vw, 2.4rem); margin-bottom: 1.6rem; text-align: center; }
.servicios__rejilla { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1000px; margin: 0 auto; }
.servicio { display: grid; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--linea); box-shadow: var(--sombra); text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
.servicio:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgb(60 40 10 / .5); }
.servicio img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.servicio__cuerpo { padding: 20px 22px 22px; display: grid; gap: 6px; }
.servicio small { font: 700 12px var(--sc-font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--bronce); }
.servicio b { font: 700 1.3rem/1.2 var(--sc-font-display); }
.servicio__cuerpo > span:not(.servicio__ir) { color: var(--sc-ink-soft); line-height: 1.5; }
.servicio__ir { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--sc-ink); }
@media (max-width: 760px) { .servicios__rejilla { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flotante con código de afiliado (26 oct 2026) */
.wa-flotante { position: fixed; z-index: 60; right: clamp(14px, 2vw, 26px); bottom: 18px;
  display: flex; align-items: center; height: 58px; border-radius: 999px; background: #25D366; color: #fff; text-decoration: none;
  box-shadow: 0 14px 30px -10px rgb(10 80 40 / .55), 0 0 0 4px rgb(37 211 102 / .18); transition: transform .2s, box-shadow .2s; }
.wa-flotante svg { width: 58px; height: 58px; padding: 13px; flex: none; }
.wa-flotante__txt { max-width: 0; overflow: hidden; white-space: nowrap; font: 700 15px/1 var(--sc-font-text); transition: max-width .35s ease, padding .35s ease; }
.wa-flotante:hover { transform: translateY(-3px); }
@media (hover: hover) { .wa-flotante:hover .wa-flotante__txt, .wa-flotante:focus-visible .wa-flotante__txt { max-width: 260px; padding-right: 20px; } }
@media (max-width: 1000px) { .wa-flotante { bottom: 84px; } }   /* encima de la barra de medidores */
@media (prefers-reduced-motion: reduce) { .wa-flotante, .wa-flotante__txt { transition: none; } }

.pie { padding: 2.5rem 0 7rem; border-top: 1px solid var(--linea); }
.pie__rejilla { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.pie img { width: 160px; }
.pie p { font-size: 14px; color: var(--sc-ink-soft); }
.pie a { color: var(--bronce); }
