/* Varyonyx · Mezcla «CD»
   Esqueleto de C (bloques a sangre, rejilla de 12 columnas, riel numerado, titulares enormes,
   la V recortada, bloques rectos) + escena de producto de D (portátil y móvil dibujados con CSS,
   resplandor de hielo, tarjetas de oferta en hielo, pérgola en panel negro con tres pasos). */

@font-face { font-family: "Poppins"; src: url("activos/Poppins-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("activos/Poppins-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --m: 20px;            /* margen lateral */
  --gap: 12px;          /* gutter de la rejilla */
  --max: 1536px;        /* ancho máximo del contenido */
  --alto-cab: 72px;
  --r: 12px;            /* radio de botones (kit) */
  --sup: #151515;       /* superficie oscura */
  --marco: #141414;     /* bisel de los dispositivos */
  --marco-aro: #343432; /* aro fino del bisel */

  --t-mega: clamp(42px, 6.1vw, 108px);
  --t-xl: clamp(34px, 5.4vw, 88px);
  --t-l: clamp(26px, 3.4vw, 52px);
  --t-m: clamp(20px, 1.9vw, 28px);
}
@media (min-width: 640px)  { :root { --m: 32px; --gap: 16px; } }
@media (min-width: 1024px) { :root { --m: 48px; --gap: 24px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--alto-cab); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--vx-negro); color: var(--vx-papel);
  font: 400 17px/1.6 var(--fuente); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.025em; line-height: 1.04; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--foco); outline-offset: 2px; }

.salto { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--vx-lavanda); color: var(--vx-negro); padding: 12px 20px; border-radius: var(--r); font-weight: 500; text-decoration: none; }
.salto:focus { top: 12px; }

/* ---------- Temas de bloque ---------- */
.t-negro  { --bg: var(--vx-negro);   --fg: var(--vx-papel);  --fg2: var(--vx-gris-claro); --linea-b: var(--vx-linea-oscura); --link: var(--vx-lavanda);       --foco: var(--vx-lavanda); }
.t-hielo  { --bg: var(--vx-hielo);   --fg: var(--vx-negro);  --fg2: var(--vx-gris);        --linea-b: #9DB4D0;                --link: var(--vx-lavanda-texto); --foco: var(--vx-lavanda-texto); }
.t-papel  { --bg: var(--vx-papel);   --fg: var(--vx-negro);  --fg2: var(--vx-gris);        --linea-b: var(--vx-linea);        --link: var(--vx-lavanda-texto); --foco: var(--vx-lavanda-texto); }
.t-lavanda{ --bg: var(--vx-lavanda); --fg: var(--vx-negro);  --fg2: var(--vx-negro);       --linea-b: var(--vx-negro);        --link: var(--vx-negro);         --foco: var(--vx-negro); }
[class^="t-"], [class*=" t-"] { background: var(--bg); color: var(--fg); }

/* ---------- Rejilla de 12 columnas ---------- */
.w { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--m); }
.g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.g > * { grid-column: 1 / -1; }

.bloque { position: relative; overflow: hidden; padding-block: 64px; }
@media (min-width: 1024px) { .bloque { padding-block: 112px; } }

/* Riel: línea fina con número y etiqueta, como índice de plano */
.riel { border-top: 1px solid var(--linea-b); padding-top: 14px; margin-bottom: 40px;
  font-size: 14px; line-height: 1.4; letter-spacing: 0.09em; text-transform: uppercase; color: var(--fg2); }
.riel b { font-weight: 500; color: var(--fg); margin-right: 16px; }
@media (min-width: 1024px) { .riel { margin-bottom: 72px; } }

.etq { font-size: 14px; line-height: 1.4; letter-spacing: 0.09em; text-transform: uppercase; color: var(--fg2); }
.txt { max-width: 38rem; }
.peq { font-size: 14px; line-height: 1.5; color: var(--fg2); }

/* Titulares de sección: enormes y a la izquierda */
.sec-cab h2, .pe-cab h2, .ct h2 { font-size: var(--t-xl); letter-spacing: -0.035em; }
.sec-cab h2 { max-width: 14ch; }
@media (min-width: 900px) { .sec-cab h2 { grid-column: 1 / span 9; } }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 24px;
  font: 500 16px/1.2 var(--fuente); text-decoration: none; border: 1.5px solid transparent; border-radius: var(--r); cursor: pointer; }
.btn-lav   { background: var(--vx-lavanda); color: var(--vx-negro); }
.btn-lav:hover { background: #C9AFF5; }
.btn-neg   { background: var(--vx-negro); color: var(--vx-papel); }
.btn-neg:hover { background: #2A2A28; }
.btn-line  { border-color: currentColor; color: inherit; background: transparent; }
.btn-line:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: 14px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.flecha { display: inline-block; width: 20px; height: 12px; background: currentColor; flex: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath d='M0 6h17M12 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath d='M0 6h17M12 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; }
.enlace { display: inline-flex; align-items: center; gap: 12px; color: var(--link); font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.enlace:hover { text-decoration-thickness: 3px; }

/* ---------- Cabecera ---------- */
.cab { position: sticky; top: 0; z-index: 50; height: var(--alto-cab); background: var(--vx-negro); border-bottom: 1px solid var(--vx-linea-oscura); color: var(--vx-papel); --foco: var(--vx-lavanda); }
.cab .w { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cab-logo { display: block; flex: none; border-radius: 6px; }
.cab-logo img { height: 40px; width: auto; }
.cab-der { display: flex; align-items: center; gap: 4px; flex: none; }
.cab-der .btn { white-space: nowrap; padding-inline: 12px; }
@media (min-width: 640px) { .cab-der .btn { padding-inline: 16px; } }
.menu-btn { width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; position: relative; border-radius: var(--r); }
.menu-btn span, .menu-btn::before, .menu-btn::after { content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; }
.menu-btn::before { top: 16px; } .menu-btn span { top: 21px; } .menu-btn::after { top: 26px; }
.menu-btn[aria-expanded="true"]::before { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"]::after { top: 21px; transform: rotate(-45deg); }
.menu-btn[aria-expanded="true"] span { opacity: 0; }
.nav ul { display: flex; flex-direction: column; }
.nav a { display: block; text-decoration: none; }

/* Pantallas muy estrechas (<360 px): el botón pasa al menú */
.nav-cta { display: none; }
@media (max-width: 359px) { .cab-der .btn { display: none; } .nav-cta { display: block; } }

/* Móvil: sin JS el menú se ve apilado bajo la cabecera; con JS es un panel a pantalla completa */
.js .nav { position: fixed; left: 0; right: 0; top: var(--alto-cab); bottom: 0; background: var(--vx-negro); padding: 24px var(--m) 48px; overflow-y: auto; display: none; }
.js .nav.abierto { display: block; }
.nav a { font-size: clamp(32px, 9vw, 48px); font-weight: 500; letter-spacing: -0.02em; padding: 14px 0; border-bottom: 1px solid var(--vx-linea-oscura); }
.nav a:hover { color: var(--vx-lavanda); }
body.menu-abierto { overflow: hidden; }
.no-js .cab { position: static; height: auto; }
.no-js .cab .w { flex-wrap: wrap; padding-block: 12px; }
.no-js .menu-btn { display: none; }
.no-js .nav { width: 100%; order: 3; }
.no-js .nav ul { flex-direction: row; flex-wrap: wrap; gap: 4px 24px; }
.no-js .nav a { font-size: 16px; padding: 8px 0; border: 0; }

@media (min-width: 1024px) {
  .menu-btn { display: none; }
  .js .nav, .nav { position: static; display: block; background: none; padding: 0; overflow: visible; margin-left: auto; margin-right: 40px; }
  .nav ul { flex-direction: row; gap: 4px; }
  .nav a, .no-js .nav a { font-size: 15px; font-weight: 400; letter-spacing: 0; padding: 12px 16px; border: 0; }
  .nav a:hover { color: var(--vx-papel); text-decoration: underline; text-decoration-color: var(--vx-lavanda); text-underline-offset: 8px; text-decoration-thickness: 2px; }
  .no-js .cab .w { flex-wrap: nowrap; }
  .no-js .nav { width: auto; order: 0; }
}

/* ---------- Dispositivos dibujados con CSS (de D) ---------- */
.pc { position: relative; width: 100%; }
.pc__tapa {
  position: relative; background: var(--marco); padding: 6px 6px 8px;
  border-radius: 10px 10px 3px 3px;
  box-shadow: 0 0 0 1px var(--marco-aro), 0 50px 100px -30px rgba(0, 0, 0, .7);
}
.pc__tapa::before { content: ""; position: absolute; top: 2px; left: 50%; width: 3px; height: 3px; margin-left: -1.5px; border-radius: 50%; background: #3a3a38; }
.pc__pantalla { border-radius: 3px; overflow: hidden; background: #000; }
.pc__pantalla img { width: 100%; height: auto; }
.pc__base { position: relative; width: 112%; margin: 0 -6%; height: 8px; background: #1d1d1c; border-radius: 0 0 14px 14px; box-shadow: 0 0 0 1px var(--marco-aro); }
.pc__base::after { content: ""; position: absolute; top: 0; left: 50%; width: 14%; height: 4px; transform: translateX(-50%); background: #0c0c0c; border-radius: 0 0 6px 6px; }
@media (min-width: 640px) {
  .pc__tapa { padding: 10px 10px 12px; border-radius: 16px 16px 4px 4px; }
  .pc__tapa::before { top: 4px; }
  .pc__pantalla { border-radius: 6px; }
  .pc__base { height: 12px; }
  .pc__base::after { height: 5px; }
}

.movil {
  position: relative; width: 100%; padding: 3.4%;
  background: var(--marco); border-radius: 14% / 6.4%;
  box-shadow: 0 0 0 1px var(--marco-aro), 0 40px 70px -24px rgba(0, 0, 0, .65);
}
.movil__pantalla { display: block; overflow: hidden; background: #000; border-radius: 11% / 5.2%; }
.movil__pantalla img { width: 100%; height: auto; }

/* Pie de foto sobrio */
.pie-foto { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; line-height: 1.4; color: var(--fg2); border-top: 1px solid var(--linea-b); padding-top: 12px; }
.pie-foto b { font-weight: 500; color: var(--fg); }

/* ---------- 01 Hero ---------- */
.hero { padding-top: 40px; padding-bottom: 0; }
.hero .w { position: relative; z-index: 3; }
.hero h1 { font-size: var(--t-mega); line-height: 1; letter-spacing: -0.035em; margin-top: 8px; }
.hero .lead { margin-top: 32px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; max-width: 30rem; }
.hero .riel { margin-bottom: 40px; }
/* Móvil: escena bajo el texto, con la V a sangre y el portátil asomando desde abajo */
.hero-escena { position: relative; height: 82vw; margin-top: 8px; }
.hero-v { position: absolute; z-index: 1; right: -6vw; bottom: 0; width: 96vw; height: auto; max-width: none; pointer-events: none; }
@media (min-width: 640px) { .hero-escena { height: 78vw; } .hero-v { right: 2vw; width: 80vw; } }
@media (min-width: 1024px) {
  .hero { min-height: max(700px, calc(100svh - var(--alto-cab))); padding-top: 56px; display: flex; flex-direction: column; }
  .hero .w { flex: none; padding-bottom: 96px; }
  .hero h1 { grid-column: 1 / span 7; }
  .hero .lead { grid-column: 1 / span 5; margin-top: 48px; }
  .hero .btns { grid-column: 1 / span 6; }
  .hero-escena { position: absolute; inset: 0; height: auto; margin: 0; z-index: 1; pointer-events: none; }
  .hero-v { right: 1vw; top: 0; bottom: 0; margin-block: auto; width: 48vw; height: fit-content; }
}

.hero-v img { display: block; width: 100%; height: auto; }

/* ---------- 02 Posicionamiento ---------- */
.pos { padding-bottom: 0; }
.pos-v { position: absolute; left: -12vw; bottom: -10vw; width: 58vw; height: auto; max-width: none; pointer-events: none; }
.pos-cuerpo { padding-bottom: 56vw; }
.pos p.fra { font-size: var(--t-xl); line-height: 1.08; letter-spacing: -0.03em; font-weight: 500; }
.pos p.fra span { display: block; margin-top: 0.35em; color: var(--vx-gris); }
.pos .w { position: relative; z-index: 2; }
.pos .txt { margin-top: 32px; }
@media (min-width: 900px) {
  .pos-cuerpo { padding-bottom: 96px; }
  .pos p.fra { grid-column: 5 / -1; }
  .pos .txt { grid-column: 5 / span 6; }
  .pos-v { left: -9vw; bottom: -9vw; width: 34vw; }
  .pos .riel { margin-bottom: 72px; }
}

/* ---------- 03 Oferta: tres bloques de hielo, rectos ---------- */
.of-grid { margin-top: 48px; display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.of { position: relative; display: flex; flex-direction: column; min-height: 340px; padding: 28px var(--m) 32px; }
.of .tope { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.of .num { font-size: 14px; letter-spacing: 0.09em; font-weight: 500; }
.of h3 { font-size: clamp(48px, 13vw, 96px); letter-spacing: -0.04em; line-height: 0.95; margin-top: auto; padding-top: 40px; }
.of p.d { margin-top: 20px; max-width: 28rem; }
.of .enlace { margin-top: 28px; align-self: flex-start; }
.of .enlace::after { content: ""; position: absolute; inset: 0; } /* todo el bloque es clicable */
.of:focus-within { outline: 2px solid var(--foco); outline-offset: 2px; }
.of .enlace:focus-visible { outline: none; }
@media (min-width: 900px) {
  .of-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 72px; }
  .of { min-height: clamp(460px, 36vw, 580px); padding: 36px 32px 40px; }
  .of h3 { font-size: clamp(40px, 4.4vw, 76px); }
  .of p.d { min-height: 6.8em; } /* mismo alto de texto: los tres títulos quedan alineados */
}
@media (min-width: 1280px) { .of { padding: 40px 40px 44px; } }

/* ---------- 04 / 05 Cuerpo de producto: texto a la izquierda, producto en grande ---------- */
.prod-cuerpo { margin-top: 48px; row-gap: 56px; }
.lista { border-top: 1px solid var(--linea-b); margin-top: 32px; }
.lista li { border-bottom: 1px solid var(--linea-b); padding: 16px 0; display: grid; grid-template-columns: 40px 1fr; gap: 8px; }
.lista li > span:first-child { font-size: 14px; letter-spacing: 0.09em; color: var(--fg2); padding-top: 4px; }
.au-nota { margin-top: 24px; }

.esc { position: relative; isolation: isolate; }
.esc::before { content: ""; position: absolute; z-index: -1; pointer-events: none; }

/* Aurora: portátil que sangra por la derecha, móvil solapado abajo a la izquierda */
.esc-au { margin-right: calc(var(--m) * -1); margin-bottom: 42vw; }
.esc-au::before { inset: -30% -14% -40% -20%; background: radial-gradient(closest-side, rgba(201, 221, 245, .26), rgba(201, 221, 245, 0)); }
.movil-au { position: absolute; left: 4%; bottom: -38%; width: 30%; }
.au-fig .pie-foto { margin-top: 0; }

/* Apografi: dos móviles, el segundo más bajo, con resplandor claro */
.esc-st { display: flex; justify-content: center; align-items: flex-start; gap: clamp(16px, 4vw, 56px); padding-block: 8px 24px; }
.esc-st::before { inset: -20% -12%; background: radial-gradient(closest-side, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0)); }
.movil-st { width: clamp(140px, 40vw, 280px); box-shadow: 0 0 0 1px var(--marco-aro), 0 40px 60px -28px rgba(10, 10, 10, .45); }
.movil-baja { margin-top: clamp(28px, 6vw, 72px); }

.pasos3 { margin-top: 32px; border-top: 1px solid var(--linea-b); counter-reset: p; }
.pasos3 li { counter-increment: p; border-bottom: 1px solid var(--linea-b); padding: 20px 0; display: grid; grid-template-columns: 72px 1fr; align-items: baseline; }
.pasos3 li::before { content: counter(p, decimal-leading-zero); font-size: 32px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.st-extra { margin-top: 24px; }
.estado { display: inline-block; margin-top: 28px; padding: 6px 14px; background: var(--vx-negro); color: var(--vx-papel); font-size: 14px; line-height: 1.4; border-radius: 999px; }

@media (min-width: 900px) {
  .prod-cuerpo { margin-top: 72px; column-gap: var(--gap); align-items: start; }
  .au-txt { grid-column: 1 / span 4; }
  .au-fig { grid-column: 5 / -1; }
  .esc-au { margin-bottom: 15vw; }
  .movil-au { left: -2%; bottom: -25%; width: 19%; }
  .st-txt { grid-column: 1 / span 5; }
  .st-fig { grid-column: 7 / -1; }
  .esc-st { padding-block: 24px 32px; }
}

/* ---------- 06 Pérgola: panel negro con tres pasos ---------- */
.pe-cab h2 { max-width: 16ch; }
.pe-intro { margin-top: 32px; }
.banco { margin-top: 48px; display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--vx-linea-oscura); border: 1px solid var(--vx-linea-oscura); }
.panel { background: var(--vx-negro); display: flex; flex-direction: column; padding: 28px var(--m) 24px; min-width: 0; }
.panel-med, .panel-mat { background: var(--sup); }
.paso { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.3; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg2); margin-bottom: 24px; }
.paso span { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--vx-lavanda); color: var(--vx-negro); font-size: 14px; letter-spacing: 0; }
.nota-p { margin-top: auto; padding-top: 20px; font-size: 14px; line-height: 1.5; color: var(--fg2); }
.datos div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--linea-b); }
.datos div:first-child { border-top: 1px solid var(--linea-b); }
.datos dt { color: var(--fg2); }
.datos dd { font-weight: 500; font-variant-numeric: tabular-nums; }
.datos-fino div { padding: 9px 0; font-size: 15px; }
.cifra { font-size: clamp(56px, 6vw, 96px); line-height: 1; font-weight: 500; letter-spacing: -0.05em; margin-bottom: 20px; }
.cifra span { display: block; margin-top: 8px; font-size: 15px; letter-spacing: 0; font-weight: 400; color: var(--fg2); }
.ventana { overflow: hidden; background: #0f0f0f; border: 1px solid var(--linea-b); margin-block: auto; }
.pe-pie { margin-top: 40px; }
.pe-pie .btns { margin-top: 24px; }
@media (min-width: 900px) {
  .pe-cab h2 { grid-column: 1 / span 9; }
  .pe-intro { grid-column: 1 / span 6; }
  .banco { grid-template-columns: 1fr 1fr; margin-top: 72px; }
  .panel { padding: 32px; }
  .panel-plano { grid-column: 1 / -1; grid-row: 2; }
  .panel-plano .ventana { width: min(100%, 560px); margin-inline: auto; }
}
@media (min-width: 1200px) {
  .banco { grid-template-columns: 3fr 6fr 3fr; }
  .panel-plano { grid-column: 2; grid-row: 1; }
  .panel-plano .ventana { width: 100%; }
}

/* ---------- 07 Cómo trabajamos ---------- */
.pasos4 { margin-top: 48px; counter-reset: c; display: grid; grid-template-columns: 1fr; }
.pasos4 li { counter-increment: c; border-top: 1px solid var(--linea-b); padding: 24px 0 32px; }
.pasos4 li::before { content: counter(c, decimal-leading-zero); display: block; font-size: clamp(64px, 9vw, 128px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; color: var(--vx-papel); margin-bottom: 32px; }
.pasos4 h3 { font-size: var(--t-m); letter-spacing: -0.015em; line-height: 1.2; }
.pasos4 p { margin-top: 12px; color: var(--fg2); max-width: 26rem; }
@media (min-width: 640px) { .pasos4 { grid-template-columns: 1fr 1fr; column-gap: var(--gap); } .pasos4 h3 { min-height: 2.4em; } }
@media (min-width: 1024px) { .pasos4 { grid-template-columns: repeat(4, 1fr); margin-top: 96px; } .pasos4 li { padding-bottom: 8px; } }

/* ---------- 08 Probar ---------- */
.pr-pan { margin-top: 48px; display: grid; grid-template-columns: 1fr; }
.pan { padding: 32px var(--m) 40px; display: flex; flex-direction: column; min-height: 340px; }
.pan h3 { font-size: var(--t-l); letter-spacing: -0.03em; margin-top: 56px; max-width: 16ch; min-height: 2.08em; }
.pan p { margin-top: 16px; max-width: 28rem; }
.pan .btns { margin-top: auto; padding-top: 32px; }
.estado-tabla { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 16px; line-height: 1.45; text-align: left; }
.estado-tabla caption { text-align: left; padding: 24px 0 12px; font-size: 14px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--fg2); }
.estado-tabla th, .estado-tabla td { padding: 14px 16px 14px 0; border-top: 1px solid var(--linea-b); vertical-align: top; font-weight: 400; }
.estado-tabla th { font-weight: 500; width: 34%; }
.estado-tabla tr:last-child th, .estado-tabla tr:last-child td { border-bottom: 1px solid var(--linea-b); }
@media (min-width: 900px) {
  .pr-pan { grid-template-columns: 1fr 1fr; margin-top: 72px; }
  .pan { padding: 40px 32px 48px; min-height: 420px; }
  .pan h3 { margin-top: 72px; }
}
@media (max-width: 560px) { .estado-tabla th, .estado-tabla td { display: block; width: auto; padding-right: 0; } .estado-tabla td { border-top: 0; padding-top: 0; } }

/* ---------- 09 Contacto (único bloque lavanda) ---------- */
.ct h2 { max-width: 12ch; }
.ct .txt { margin-top: 28px; }
.ct-fila { row-gap: 48px; }
.ct .w { position: relative; z-index: 2; }
.ct-v { display: none; position: absolute; left: -8vw; bottom: -9vw; width: 38vw; height: auto; max-width: none; pointer-events: none; }
@media (min-width: 900px) { .ct-v { display: block; } }
.form { background: var(--vx-papel); color: var(--vx-negro); padding: 28px var(--m) 32px; }
.form .campo { margin-bottom: 20px; }
.form label { display: block; font-weight: 500; font-size: 15px; margin-bottom: 6px; }
.form input[type="text"], .form input[type="email"], .form select, .form textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: 400 16px/1.4 var(--fuente); color: var(--vx-negro);
  background: #fff; border: 1.5px solid #8B8B85; border-radius: 6px; }
.form textarea { min-height: 120px; resize: vertical; }
.form :focus-visible { outline: 2px solid var(--vx-lavanda-texto); outline-offset: 2px; }
.form .dos { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
.form .chk { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; margin-bottom: 24px; }
.form .chk input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--vx-negro); }
.form .chk label { font-weight: 400; font-size: 14px; margin: 0; }
.form .chk a { color: var(--vx-lavanda-texto); }
.form .nota { margin-top: 16px; font-size: 14px; color: var(--vx-gris); }
@media (min-width: 640px) { .form .dos { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .ct h2 { grid-column: 1 / span 6; }
  .ct .izq { grid-column: 1 / span 5; }
  .ct .der { grid-column: 7 / -1; }
  .ct-fila { column-gap: var(--gap); }
  .form { padding: 40px; }
}

/* ---------- Pie ---------- */
.pie { padding-block: 64px 40px; }
.pie .riel { margin-bottom: 40px; }
.pie-sello img { height: 48px; width: auto; }
.pie-sello .peq { margin-top: 16px; max-width: 24rem; }
.pie-fila { row-gap: 40px; }
.pie ul li a { display: inline-block; padding: 6px 0; text-decoration: none; }
.pie ul li a:hover { text-decoration: underline; text-decoration-color: var(--vx-lavanda); text-underline-offset: 5px; }
.pie h2 { font-size: 14px; font-weight: 400; letter-spacing: 0.09em; text-transform: uppercase; color: var(--fg2); margin-bottom: 12px; line-height: 1.4; }
.pie .fin { margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--linea-b); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
@media (min-width: 900px) {
  .pie-fila { column-gap: var(--gap); }
  .pie-sello { grid-column: 1 / span 5; }
  .pie-nav { grid-column: 7 / span 3; }
  .pie-leg { grid-column: 10 / span 3; }
}

/* ---------- Cursores que montan la página (js/motor.js + js/pagina.js) ----------
   El contenido está siempre en el HTML. Solo las piezas .pieza se ocultan de forma visual hasta que su cursor las
   crea. Sin JS, con error del motor o con movimiento reducido, todo se ve y no hay cursores. */
@media (prefers-reduced-motion: no-preference) {
  .js .pieza {
    opacity: 0;
    transform: var(--desde, translate3d(0, 16px, 0) scale(.97));
    transform-origin: var(--origen, 50% 100%);
    transition: opacity .25s ease, transform .25s ease;
  }
  .js .pieza.creado {
    opacity: 1;
    transform: none;
    transition: opacity var(--dur-crear, 700ms) cubic-bezier(.22, .7, .2, 1),
                transform var(--dur-crear, 700ms) cubic-bezier(.22, .7, .2, 1);
  }
  /* Pieza suelta que es a la vez zona de un cursor: solo opacidad, para que la caja medida sea exactamente la final */
  .js .pieza[data-zona]:not(.pieza--grupo) { transform: none; }
  /* Grupo: la caja no se anima; cada hijo aparece con un pequeño desfase */
  .js .pieza--grupo, .js .pieza--grupo.creado { opacity: 1; transform: none; transition: none; }
  .js .pieza--grupo > * {
    opacity: 0;
    transform: translate3d(0, 16px, 0) scale(.98);
    transform-origin: 50% 100%;
    transition: opacity .25s ease, transform .25s ease;
  }
  .js .pieza--grupo.creado > * {
    opacity: 1;
    transform: none;
    transition: opacity var(--dur-crear, 700ms) cubic-bezier(.22, .7, .2, 1),
                transform var(--dur-crear, 700ms) cubic-bezier(.22, .7, .2, 1);
  }
  .js .pieza--grupo.creado > :nth-child(2) { transition-delay: 110ms; }
  .js .pieza--grupo.creado > :nth-child(3) { transition-delay: 220ms; }
  .js .pieza--grupo.creado > :nth-child(4) { transition-delay: 330ms; }
  .js .pieza--grupo.creado > :nth-child(n+5) { transition-delay: 440ms; }
  /* «Saltar» y piezas completadas sin cursor: al instante */
  .instantaneo .pieza, .instantaneo .pieza > *,
  .js .pieza.inst, .js .pieza.inst > * { transition: none !important; transition-delay: 0s !important; }
}
@media (prefers-reduced-motion: reduce) {
  .capa { display: none; }
}

.capa { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.capa__sel, .capa__cur { position: absolute; inset: 0; }
.cursor { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; }
.cursor__flecha { position: absolute; left: -1px; top: -1px; display: block; width: 14px; height: 21px; max-width: none; fill: var(--cursor); stroke: var(--vx-negro); stroke-width: 1.2; stroke-linejoin: round; transform-origin: 1px 1px; }
.cursor__etiqueta {
  position: absolute; left: 10px; top: 17px; padding: 1px 9px; border-radius: 999px;
  background: var(--cursor); color: var(--cursor-texto, var(--vx-negro));
  box-shadow: 0 0 0 var(--cursor-borde, 0px) var(--vx-negro);
  font-size: 12px; font-weight: 500; line-height: 18px; white-space: nowrap;
}
.seleccion { position: absolute; left: 0; top: 0; opacity: 0; }
.seleccion > * { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.seleccion__relleno { width: 100%; height: 100%; background: var(--cursor); opacity: .1; }
.seleccion__lado { background: var(--cursor); }
.seleccion__lado--arriba, .seleccion__lado--abajo { width: 100%; height: 1px; margin-top: -.5px; }
.seleccion__lado--izq, .seleccion__lado--der { width: 1px; height: 100%; margin-left: -.5px; }
.seleccion__tiradores { width: 0; height: 0; }
.tirador { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; background: var(--vx-papel); border: 1px solid var(--cursor); }
.cursor.vivo, .cursor.vivo .cursor__flecha, .cursor.vivo .cursor__etiqueta,
.seleccion.vivo, .seleccion.vivo > *, .seleccion.vivo .tirador { will-change: transform, opacity; }


/* ---------- Precios (todos sin IVA) ---------- */
.of-precio { margin-top: 16px; font-size: 15px; line-height: 1.4; font-weight: 500; }
.precio-lin { margin-top: 20px; max-width: 38rem; font-size: 16px; line-height: 1.45; font-weight: 500; }
.pre-grid { margin-top: 40px; display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.pre { position: relative; display: flex; flex-direction: column; padding: 28px var(--m) 32px; }
.pre .tope { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.pre .num { font-size: 14px; letter-spacing: 0.09em; font-weight: 500; }
.pre h3 { margin-top: 28px; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.02em; line-height: 1.1; }
.pre-cifra { margin-top: 20px; font-size: clamp(40px, 3.3vw, 52px); line-height: 1; font-weight: 500; letter-spacing: -0.04em; }
.pre-cifra span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.4; letter-spacing: 0; font-weight: 400; color: var(--fg2); }
.pre p.d { margin-top: 16px; font-size: 15px; line-height: 1.5; }
.pre .enlace { margin-top: 24px; align-self: flex-start; }
.pre .enlace::after { content: ""; position: absolute; inset: 0; } /* toda la tarjeta es clicable */
.pre:focus-within { outline: 2px solid var(--foco); outline-offset: 2px; }
.pre .enlace:focus-visible { outline: none; }
#precios .pe-pie { margin-top: 32px; }
@media (min-width: 640px) { .pre-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pre-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 56px; } .pre { padding: 32px 24px 36px; } }

/* ---------- Una sección = una pantalla (escritorio) ----------
   En pantallas grandes cada sección cabe entera en la ventana (menos la cabecera) y se centra en ella.
   Tamaños y espacios se miden con la altura de la ventana (vh), así se adaptan a portátiles bajos y a monitores altos.
   En móvil y en ventanas muy bajas manda el flujo normal. */
@media (min-width: 1024px) and (min-height: 600px) {
  :root {
    --t-mega: clamp(42px, min(6.1vw, 11vh), 108px);
    --t-xl: clamp(34px, min(5.4vw, 8vh), 88px);
    --t-l: clamp(26px, min(3.4vw, 5.2vh), 52px);
    --pb: clamp(22px, 5vh, 72px);
    --pant: calc(100svh - var(--alto-cab));
    --sep: clamp(14px, 3.2vh, 40px);          /* separación entre cabecera de sección y cuerpo */
  }
  .bloque:not(.hero):not(.pie) { min-height: var(--pant); padding-block: var(--pb); display: flex; flex-direction: column; justify-content: center; }
  .riel, .pos .riel, .hero .riel { margin-bottom: var(--sep); }
  .btns { margin-top: clamp(16px, 3vh, 32px); }

  /* 01 Portada de cada página: también cabe entera */
  .hero { min-height: var(--pant); padding-top: clamp(20px, 4.5vh, 56px); }
  .hero .w { padding-bottom: clamp(20px, 4.5vh, 72px); }
  .hero h1 { font-size: min(var(--t-mega), 9.2vh); }
  .hero .lead { margin-top: clamp(14px, 3vh, 40px); font-size: clamp(16px, min(1.5vw, 2.6vh), 22px); }

  /* 02 Quiénes somos */
  .pos { padding-bottom: var(--pb); }
  .pos-cuerpo { padding-bottom: 0; }
  .pos p.fra { grid-column: 4 / -1; font-size: min(var(--t-xl), 6.2vh); }
  .pos .txt { grid-column: 4 / span 6; margin-top: clamp(16px, 3vh, 32px); }

  /* 03 Oferta */
  .of-grid { margin-top: var(--sep); }
  .of { min-height: clamp(280px, 40vh, 520px); padding: clamp(20px, 3.5vh, 40px) 32px clamp(24px, 4vh, 44px); }
  .of h3 { padding-top: clamp(16px, 3vh, 40px); }
  .of p.d { min-height: 6.4em; margin-top: clamp(10px, 2vh, 20px); }
  .of .enlace { margin-top: clamp(12px, 2.4vh, 28px); }

  /* 04 / 05 Producto: titular y texto a la izquierda, producto a la derecha, todo a la vez en pantalla */
  .w:has(> .prod-cuerpo) { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-content: center; }
  .w:has(> .prod-cuerpo) > * { grid-column: 1 / -1; }
  .w:has(> .prod-cuerpo) > .sec-cab { grid-column: 1 / span 6; align-self: end; }
  .w:has(> .prod-cuerpo) > .sec-cab h2 { grid-column: 1 / -1; max-width: 16ch; font-size: min(var(--t-xl), 6.6vh); }
  .prod-cuerpo { display: contents; }
  .au-txt, .st-txt, .cf-txt, .ins-txt, .av-txt, .inf-txt, .cmp-txt { grid-column: 1 / span 6; grid-row: 3; margin-top: var(--sep); }
  .au-fig, .st-fig, .cf-fig, .ins-figs, .av-fig, .inf-fig, .cmp-fig { grid-column: 7 / -1; grid-row: 2 / span 2; align-self: center; }
  .au-txt .txt, .st-txt .txt, .cf-txt .txt, .ins-txt .txt, .av-txt .txt, .inf-txt .txt, .cmp-txt .txt { font-size: 16px; line-height: 1.5; }
  .lista, .pasos3 { margin-top: clamp(12px, 2.4vh, 24px); }
  .lista li { padding-block: clamp(6px, 1.2vh, 12px); font-size: 16px; line-height: 1.45; }
  .pasos3 li { padding-block: clamp(10px, 1.8vh, 16px); font-size: 16px; line-height: 1.45; }
  .pasos3 li::before { font-size: 26px; }
  .au-nota, .st-extra { margin-top: clamp(10px, 2vh, 20px); }
  .estado { margin-top: clamp(10px, 2vh, 20px); }
  .esc-au { margin-bottom: clamp(20px, 4vh, 48px); }
  .movil-au { left: 0; bottom: -14%; width: 15%; }
  .esc-st { padding-block: 0; }
  .movil-st { width: clamp(120px, 15vw, 230px); }
  .movil-baja { margin-top: clamp(20px, 5vh, 56px); }
  .pie-foto { margin-top: clamp(10px, 2vh, 20px); }

  /* 06 A medida: titular e introducción arriba, tres paneles en una fila, remate abajo */
  .pe-cab { margin-bottom: 0; }
  .pe-cab h2 { grid-column: 1 / span 7; font-size: min(var(--t-xl), 6.6vh); }
  .pe-cab .pe-intro { grid-column: 8 / -1; align-self: end; margin-top: 0; font-size: 16px; line-height: 1.5; }
  .banco { margin-top: var(--sep); }
  .banco .panel { padding: clamp(12px, 2.2vh, 24px) 24px; }
  .paso { margin-bottom: clamp(10px, 2vh, 20px); }
  .datos div { padding-block: clamp(4px, 0.7vh, 8px); }
  .datos-fino div { padding-block: clamp(5px, 1vh, 8px); }
  .cifra { font-size: clamp(40px, 6.4vh, 72px); margin-bottom: clamp(6px, 1.2vh, 14px); }
  .ventana { margin-block: 0; }
  .ventana img { max-height: 28vh; width: auto; margin-inline: auto; }
  .nota-p { padding-top: clamp(8px, 1.4vh, 16px); }
  .pe-pie { margin-top: clamp(14px, 3vh, 32px); align-items: center; }
  .pe-pie .txt { grid-column: 1 / span 7; }
  .pe-pie .btns { grid-column: 8 / -1; margin-top: 0; justify-self: end; }

  /* 09 Precios */
  .pre-grid { margin-top: var(--sep); }
  .pre { padding: clamp(18px, 3.2vh, 32px) 24px clamp(20px, 3.4vh, 36px); }
  .pre h3 { margin-top: clamp(12px, 2.4vh, 28px); }
  .pre-cifra { margin-top: clamp(8px, 1.8vh, 20px); font-size: clamp(34px, min(3.3vw, 6vh), 52px); }
  .pre p.d { margin-top: clamp(8px, 1.6vh, 16px); }
  .pre .enlace { margin-top: auto; padding-top: clamp(10px, 2vh, 24px); }
  #precios .pe-pie { margin-top: clamp(14px, 3vh, 32px); }
  .precio-lin { margin-top: clamp(8px, 1.6vh, 20px); }
  .of-precio { margin-top: clamp(8px, 1.4vh, 16px); }

  /* 07 Cómo trabajamos */
  .pasos4 { margin-top: var(--sep); }
  .pasos4 li::before { font-size: clamp(48px, 11vh, 112px); margin-bottom: clamp(14px, 3vh, 32px); }

  /* 08 Probar */
  .pr-pan { margin-top: var(--sep); }
  .pan { min-height: 0; padding: clamp(20px, 3.4vh, 40px) 32px clamp(22px, 3.6vh, 44px); }
  .pan h3 { margin-top: clamp(18px, 4vh, 56px); min-height: 0; max-width: none; font-size: min(var(--t-l), 4.6vh); }
  #probar .sec-cab h2 { max-width: 30ch; }
  .pan p { margin-top: clamp(8px, 1.6vh, 16px); max-width: 34rem; }
  .pan .btns { padding-top: clamp(14px, 2.4vh, 28px); }
  .estado-tabla { margin-top: clamp(8px, 2vh, 24px); font-size: 15px; }
  .estado-tabla caption { padding-block: clamp(10px, 2vh, 20px) 8px; }
  .estado-tabla th, .estado-tabla td { padding-block: clamp(7px, 1.3vh, 12px); }

  /* 09 Contacto */
  .ct .txt { margin-top: clamp(14px, 3vh, 28px); }
  .form { padding: clamp(18px, 3.4vh, 40px) 36px; }
  .form .campo { margin-bottom: clamp(10px, 1.8vh, 18px); }
  .form .chk { margin-bottom: clamp(12px, 2vh, 22px); }
  .form textarea { min-height: clamp(72px, 12vh, 120px); }
}

/* Portátiles bajos (ventana de menos de 820 px de alto): un punto más compacto para que cada sección siga cabiendo */
@media (min-width: 1024px) and (min-height: 600px) and (max-height: 820px) {
  .au-txt .txt, .st-txt .txt, .cf-txt .txt, .ins-txt .txt, .av-txt .txt, .inf-txt .txt, .cmp-txt .txt, .pe-cab .pe-intro, .pe-pie .txt { font-size: 15px; line-height: 1.45; }
  .lista li, .pasos3 li { font-size: 15px; padding-block: 6px; }
  .pasos3 li::before { font-size: 22px; }
  .au-nota, .peq { font-size: 13px; }
  .btn { min-height: 44px; padding-block: 9px; }
  .form input[type="text"], .form input[type="email"], .form select { min-height: 42px; }
  .form label { margin-bottom: 4px; font-size: 14px; }
  .form .campo { margin-bottom: 10px; }
  .banco .panel { padding: 12px 20px; }
  .datos div, .datos-fino div { padding-block: 4px; font-size: 14px; }
  .paso { margin-bottom: 8px; }
  .ventana img { max-height: 25vh; }
  .estado-tabla th, .estado-tabla td { padding-block: 6px; font-size: 14px; }
  .pan p { font-size: 15px; }
  .pre p.d { font-size: 14px; line-height: 1.4; }
  .pre { padding-block: 16px 18px; }
  .pre h3 { margin-top: 10px; }
}

/* Portátiles muy bajos (ventana de 760 px de alto o menos): tercer nivel compacto.
   Texto base un punto menor y espacios mínimos; titulares y capturas ya se escalan con vh. */
@media (min-width: 1024px) and (min-height: 600px) and (max-height: 760px), (min-width: 1024px) and (max-width: 1199px) and (min-height: 600px) and (max-height: 820px) {
  :root { --pb: clamp(12px, 2.6vh, 20px); --sep: clamp(8px, 1.9vh, 14px); }
  body { font-size: 15px; line-height: 1.5; }
  .riel { padding-top: 9px; font-size: 12px; }
  .etq { font-size: 12px; }
  .btns { margin-top: clamp(10px, 1.8vh, 16px); }
  .btn { min-height: 40px; padding: 7px 18px; font-size: 15px; }
  .btn-sm { min-height: 40px; }
  .hero .lead { font-size: clamp(15px, 2.4vh, 18px); line-height: 1.4; }
  .pos .txt { font-size: 15px; }
  .estado { margin-top: 10px; }
  .w:has(> .prod-cuerpo) > .sec-cab h2 { max-width: 34ch; font-size: min(var(--t-xl), 5.8vh); }
  .lista li { font-size: 14px; line-height: 1.4; padding-block: 5px; }
  .sec-cab h2 { max-width: 30ch; font-size: min(var(--t-xl), 5.8vh); }
  .pe-cab h2 { font-size: min(var(--t-xl), 5.6vh); }
  .cifra { font-size: min(64px, 7vh); margin-bottom: 4px; }
  .cifra span { margin-top: 2px; font-size: 13px; }
  .datos div, .datos-fino div { padding-block: 3px; font-size: 14px; }
  .paso { margin-bottom: 6px; font-size: 13px; }
  .nota-p { padding-top: 6px; font-size: 12px; }
  .pre { padding: 12px 20px 14px; }
  .pre .num, .pre-cifra span { font-size: 12px; }
  .pre h3 { margin-top: 6px; font-size: 22px; }
  .pre-cifra { font-size: min(34px, 5.4vh); margin-top: 4px; }
  .pre p.d { font-size: 13px; line-height: 1.35; margin-top: 6px; }
  .precio-lin { font-size: 15px; }
  .au-txt .txt, .st-txt .txt, .cf-txt .txt, .ins-txt .txt, .av-txt .txt, .inf-txt .txt, .cmp-txt .txt, .st-extra { font-size: 14px; line-height: 1.4; }
  .pasos3 li { padding-block: 5px; font-size: 14px; }
  .pasos3 li::before { font-size: 20px; }
  .st-extra { margin-top: 8px; }
  .movil-st { width: min(clamp(120px, 15vw, 230px), 27vh); }
  .movil-baja { margin-top: 3vh; }
  .estado { padding-block: 4px; font-size: 13px; }
  /* Portadas de página interior (.ph) */
  .bloque.ph { padding-top: clamp(14px, 3.5vh, 40px); }
  .bloque.ph .w { padding-bottom: clamp(14px, 3.5vh, 40px); }
  .ph h1 { font-size: min(var(--t-xl), 7.6vh); }
  .ph .lead { margin-top: clamp(10px, 2.2vh, 20px); font-size: clamp(15px, 2.4vh, 18px); line-height: 1.4; }
  .ph-nota { margin-top: 10px; }
}

/* Formulario en dos columnas cuando la ventana es baja (≤880 px): los campos cortos van por parejas.
   El orden del HTML no cambia: se lee de izquierda a derecha y de arriba abajo. */
@media (min-width: 1024px) and (min-height: 600px) and (max-height: 880px) {
  .form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; align-content: center; }
  .form > * { grid-column: auto; }
  .form .dos { display: contents; }
  .form .campo:has(textarea), .form .nota, .form .nota-req, .form .aviso-form { grid-column: 1 / -1; }
  .form .campo, .form .chk { margin-bottom: 8px; }
  .form .campo-chk .chk { margin-bottom: 0; }
  .form .chk { align-self: center; }
  .form > .btn { align-self: start; }
  .form .nota { margin-top: 10px; font-size: 13px; }
  .form .campo:has(textarea) { margin-bottom: 8px; }
}

/* Ventanas bajas (≤880 px): el titular de producto va arriba a todo el ancho y el producto se acota por la altura */
@media (min-width: 1024px) and (min-height: 600px) and (max-height: 880px) {
  .w:has(> .prod-cuerpo) > .sec-cab { grid-column: 1 / -1; grid-row: 2; }
  .w:has(> .prod-cuerpo) > .sec-cab h2 { max-width: 34ch; }
  .au-txt, .st-txt, .cf-txt, .ins-txt, .av-txt, .inf-txt, .cmp-txt { grid-row: 3; }
  .au-fig, .st-fig, .cf-fig, .ins-figs, .av-fig, .inf-fig, .cmp-fig { grid-row: 3; align-self: center; }
  .esc-au { width: min(calc(100% + var(--m)), 74vh); margin-left: auto; margin-bottom: 6vh; }
  .movil-au { bottom: -12%; }
  /* La V del bloque lavanda asoma solo por abajo: no pisa el texto de la izquierda */
  .bloque.ct .ct-v { bottom: 0; transform: translateY(calc(100% - 64px)); }
}

/* ---------- Móvil y tableta (<1024 px): cada sección ocupa al menos una pantalla ----------
   Alto mínimo = ventana menos cabecera; el contenido se centra en vertical y, si es largo, la sección crece.
   La portada reparte: texto arriba y escena abajo. */
@media (max-width: 1023px) {
  .bloque:not(.pie):not(.leg-cab):not(.leg-cuerpo) { min-height: calc(100svh - var(--alto-cab)); display: flex; flex-direction: column; justify-content: center; }
  .hero, .ph { justify-content: space-between; }
}

/* Móvil estrecho (<640 px): bloques y rejillas más compactos para que ninguna sección pase de dos pantallas sin motivo */
@media (max-width: 639px) {
  .pasos4 { grid-template-columns: 1fr 1fr; column-gap: var(--gap); margin-top: 32px; }
  .pasos4 li { padding: 16px 0 20px; }
  .pasos4 li::before { font-size: 44px; margin-bottom: 14px; }
  .pasos4 h3 { font-size: 18px; }
  .pasos4 p { font-size: 15px; line-height: 1.5; }
  .of { min-height: 0; padding: 20px var(--m) 24px; }
  .of h3, .of-q h3, .of-4 .of h3 { padding-top: 28px; }
  .of p.d { margin-top: 12px; }
  .of .enlace { margin-top: 18px; }
  .pan { min-height: 0; padding: 24px var(--m) 28px; }
  .pan h3 { margin-top: 28px; min-height: 0; }
  .pre-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
  .pre { padding: 16px 14px 18px; }
  .pre .tope { flex-direction: column; align-items: flex-start; gap: 2px; }
  .pre h3 { margin-top: 14px; font-size: 20px; }
  .pre-cifra { font-size: 32px; margin-top: 10px; }
  .pre p.d { font-size: 14px; line-height: 1.4; margin-top: 10px; }
  .pre .enlace { margin-top: 16px; font-size: 15px; }
}


/* 10 Preguntas frecuentes (home) */
.faq-grid { margin-top: 40px; display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.faq-i { padding: 22px var(--m) 26px; }
.faq-i h3 { font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -0.02em; line-height: 1.2; }
.faq-i p { margin-top: 12px; font-size: 15px; line-height: 1.5; }
.faq-cta .enlace { display: inline-block; margin-top: 14px; }
@media (min-width: 640px) { .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; } .faq-i { padding: 28px 28px 32px; } }
@media (min-width: 1024px) and (min-height: 600px) {
  .faq-grid { margin-top: var(--sep); }
  .faq-i { padding: clamp(16px, 3vh, 32px) 24px clamp(18px, 3.4vh, 36px); }
  .faq-i p { margin-top: clamp(6px, 1.4vh, 14px); }
}
@media (min-width: 1024px) and (min-height: 600px) and (max-height: 820px) {
  .faq-i p { font-size: 14px; line-height: 1.4; }
}
@media (min-width: 1024px) and (min-height: 600px) and (max-height: 760px), (min-width: 1024px) and (max-width: 1199px) and (min-height: 600px) and (max-height: 820px) {
  .faq-i { padding: 12px 20px 14px; }
  .faq-i h3 { font-size: 17px; }
  .faq-i p { font-size: 13px; line-height: 1.35; margin-top: 5px; }
  .faq-cta .enlace { margin-top: 6px; }
}
@media (max-width: 639px) {
  .faq-grid { margin-top: 28px; gap: 10px; }
  .faq-i { padding: 16px 16px 18px; }
}
