@charset "UTF-8";
/* 00-letra.css */
/* Letras alojadas en la propia web (nunca desde Google: CSP 'self' y privacidad), un archivo fijo por grosor.
   Barlow Condensed 700 para titulares y Barlow 400/500 para el texto (SIL OFL, OFL-barlow.txt). */
/* letra: barlow-condensed */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/barlow-condensed-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/barlow-condensed-latin-ext-700.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* fin letra: barlow-condensed */
/* letra: barlow */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/barlow-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/barlow-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/barlow-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/barlow-latin-ext-500.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* fin letra: barlow */

/* 01-base.css */
/* Gáire · base de la dirección «Frase con foto» (draw.mjs, sentence-as-layout): azul petróleo sobre papel frío, sin
   negro en ninguna parte; Barlow Condensed 700 en mayúsculas para lo grande y Barlow para el texto.
   Reglas de la casa: sin degradados, sin sombras, sin líneas finas (salvo tablas y campos), sin etiquetas diminutas en
   mayúsculas, y solo transform y opacity en lo que se mueve. build.py se para si un font-size no usa var(--t-…). */
:root {
  --papel: #f7f9f8;        /* fondo: papel frío */
  --superficie: #ebf0ee;   /* un escalón de tono para bloques y la pregunta abierta */
  --campo: #ffffff;        /* fondo de los campos del formulario */
  --tinta: #06525c;        /* azul petróleo: todo el texto, las formas y los botones */
  --suave: #2f737d;        /* notas: 5,2:1 sobre el papel */
  --acento: #06525c;       /* el mismo azul, relleno: botones y bloque del precio */
  --acento-hover: #0a6b77;
  --sobre-acento: #f7f9f8;
  --oscuro: #06525c;       /* campos al revés: precio, email y pie */
  --sobre-oscuro: #f7f9f8;
  --suave-oscuro: #c4dcdf; /* notas sobre el azul: 6:1 */
  --velo: rgba(4, 44, 50, 0.5); /* capa plana sobre las fotos de los verbos (no es un degradado) */
  --error: #9b1c13;

  /* Los 5 tamaños de la página, y ninguno más */
  --t-pequeno: 0.875rem;                                  /* 14 px: créditos, notas y cabecera */
  --t-cuerpo: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); /* 17–19 px: texto y botones */
  --t-entrada: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);  /* 20–26 px: entradillas, preguntas y frases */
  --t-titular: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);       /* 40–88 px: h2 y, en el móvil, lo grande */
  --t-portada: clamp(6rem, 13.2vw, 15rem);                /* el nombre, los verbos, el precio y el teléfono */

  --m: clamp(16px, 3.2vw, 48px);
  --hueco-col: clamp(16px, 1.7vw, 24px);
  --hueco: clamp(96px, 12vw, 200px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
}
/* Hasta 1099 px el nombre va en dos líneas con la foto en medio: el tamaño grande se ajusta al ancho
   (se redefine la variable, nunca un font-size en vw dentro de un @media) */
@media (max-width: 1099px) { :root { --t-portada: clamp(4rem, 22vw, 9rem); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  position: relative; margin: 0; background: var(--papel); color: var(--tinta);
  font-family: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--t-cuerpo); line-height: 1.5; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
main { display: block; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.1; text-wrap: balance; }
h3 { font-size: var(--t-entrada); font-weight: 500; line-height: 1.25; }
p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--tinta); outline-offset: 3px; }
.oscuro :focus-visible { outline-color: var(--sobre-oscuro); }
::selection { background: var(--tinta); color: var(--papel); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.saltar:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.saltar:focus { position: fixed; left: var(--m); top: 12px; z-index: 60; padding: 12px 18px; background: var(--tinta); color: var(--papel); }

/* Letra grande: condensada, en mayúsculas, apretada */
.titular, .portada-nombre, .cabecera-pg-t, .verbo-t, .precio-frase-t, .calculo-frase, .pie-titular, .email-linea {
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.95;
}
.email-linea { text-transform: none; }

.marco { padding-inline: var(--m); }
.seccion { padding-block: var(--hueco); }
.titular { font-size: var(--t-titular); }
.entrada { font-size: var(--t-entrada); line-height: 1.35; }
.suave { color: var(--suave); }
.oscuro { background: var(--oscuro); color: var(--sobre-oscuro); }
.oscuro .suave { color: var(--suave-oscuro); }

/* Botones: rectos, un relleno, sin sombras. Al pulsar se hunden un poco. */
.botones { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border: 0; border-radius: 0; cursor: pointer;
  background: var(--acento); color: var(--sobre-acento);
  font-size: var(--t-cuerpo); font-weight: 500; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color 0.2s, transform 0.16s var(--ease);
}
.boton:hover { background: var(--acento-hover); }
.boton:active { transform: scale(0.97); }
.boton--borde { background: transparent; color: inherit; border: 2px solid currentColor; padding: 10px 24px; }
.boton--borde:hover { background: var(--superficie); }
.oscuro .boton { background: var(--sobre-oscuro); color: var(--tinta); }
.oscuro .boton:hover { background: #ffffff; }
.enlace-flecha { display: inline-flex; align-items: center; gap: 0.4em; min-height: 44px; font-weight: 500; }
.enlace-flecha::after { content: '→'; transition: transform 0.2s var(--ease); }
.enlace-flecha:hover::after { transform: translateX(4px); }

/* El precio como objeto en la línea: un bloque de un alto de línea con la cifra */
.precio-bloque { display: inline-block; padding: 0 0.15em; background: var(--tinta); color: var(--papel); line-height: 0.95; }
.oscuro .precio-bloque { background: var(--sobre-oscuro); color: var(--tinta); }

/* Casillas y campos (los campos de formulario sí llevan borde: lo permiten las reglas) */
.campo { display: grid; gap: 6px; }
.campo label { font-weight: 500; }
.campo input, .campo textarea, .campo select {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid var(--tinta); border-radius: 0; background: var(--campo);
}
.campo select { cursor: pointer; }
.campo-casilla { display: flex; align-items: flex-start; gap: 12px; }
.campo-casilla input { flex: none; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--tinta); cursor: pointer; }
.campo-casilla label { cursor: pointer; }

/* 10-cabecera.css */
/* Cabecera de la dirección: la marca pequeña a la izquierda y, en la mitad derecha, los enlaces repartidos y una sola
   acción. No es fija. Por debajo de 1100 px: marca y «Menu». */
.cab { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 24px; padding: 14px var(--m); }
.cab-marca { justify-self: start; text-decoration: none; }
.cab-nombre { font-family: var(--display); font-weight: 700; font-size: var(--t-entrada); text-transform: uppercase; letter-spacing: 0.01em; }
.cab-nav { display: none; }
.cab-nav ul { display: flex; justify-content: space-between; gap: 16px; }
.cab-nav a { display: inline-block; padding-block: 12px; font-size: var(--t-pequeno); font-weight: 500; text-decoration: none; }
.cab-nav a:hover, .cab-nav [aria-current] { text-decoration: underline; }
.cab-acciones { justify-self: end; display: flex; align-items: center; gap: 16px; }
.cab-boton { display: none; }
.cab-menu { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 2px solid currentColor; background: transparent; cursor: pointer; font-weight: 500; }
.cab--simple { grid-template-columns: 1fr; }

.menu-movil { padding: 8px var(--m) 32px; background: var(--superficie); }
.js .menu-movil:not(.is-abierto) { display: none; }
html:not(.js) .cab-menu { display: none !important; }
.menu-movil nav ul { display: grid; }
.menu-movil nav a { display: block; padding-block: 12px; font-family: var(--display); font-weight: 700; font-size: var(--t-entrada); text-transform: uppercase; text-decoration: none; }

@media (min-width: 1100px) {
  .cab { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 18px; }
  .cab-nav { display: block; grid-column: 2; grid-row: 1; padding-right: 220px; }
  .cab-acciones { grid-column: 2; grid-row: 1; }
  .cab-boton { display: inline-flex; min-height: 44px; padding: 10px 20px; }
  /* En la portada el botón ya está bajo el nombre: un solo «Book a visit» en la primera pantalla */
  .pg-inicio .cab-boton { display: none; }
  .pg-inicio .cab-nav { padding-right: 0; }
  .cab-menu { display: none; }
  .menu-movil { display: none !important; }
}

/* 20-portada.css */
/* Portada «la foto por letra». Primero el móvil y la tableta (el nombre en dos líneas con la foto entre ellas, a todo
   el ancho); desde 1100 px, una sola línea con la foto en el hueco entre las palabras, del alto de las letras. */
.portada { display: grid; gap: 32px; padding: 32px var(--m) 40px; }
.portada-nombre {
  display: flex; flex-direction: column; align-items: center; gap: 0.08em;
  font-size: var(--t-portada); text-align: center;
}
.portada-palabra { display: block; padding-top: 0.06em; }
.portada-marco { position: relative; display: block; width: 100%; aspect-ratio: 2 / 1; min-height: 0; overflow: clip; animation: portada-persiana 1.1s var(--ease) 0.15s both; }
.portada-marco img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; animation: portada-asiento 1.4s var(--ease) 0.15s both; }
.portada-pie { display: grid; gap: 20px; }
.portada-entrada { max-width: 42ch; font-size: var(--t-entrada); line-height: 1.35; }
.portada-pie .boton { width: 100%; }
@keyframes portada-persiana { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes portada-asiento { from { transform: scale(1.12); } }

@media (min-width: 1100px) {
  .portada { grid-template-rows: 1fr auto; gap: 40px; min-height: calc(100svh - 80px); padding: 24px var(--m) 28px; }
  .portada-nombre { align-self: center; flex-direction: row; align-items: baseline; justify-content: center; gap: 0.14em; white-space: nowrap; }
  .portada-palabra { padding-top: 0; }
  .portada-marco { width: 1.6em; height: 0.7em; aspect-ratio: auto; }
  .portada-pie { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; column-gap: var(--hueco-col); }
  .portada-entrada { grid-column: 6 / span 5; }
  .portada-pie .boton { grid-column: 11 / span 2; justify-self: end; width: auto; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .portada-marco, .portada-marco img { animation: none; }
}

/* 30-secciones.css */
/* Secciones de Gáire, en la gramática «frase a la izquierda, prueba a la derecha». Primero el móvil y la tableta (una
   columna); las colocaciones de escritorio, solo dentro de @media (min-width: 1100px). */

/* ---------- Cabecera de página interior: el título grande y, debajo, la entradilla en la columna 6 ---------- */
.cabecera-pg { display: grid; gap: 28px; padding-block: clamp(40px, 6vw, 96px) clamp(72px, 9vw, 160px); }
.cabecera-pg-t { font-size: var(--t-titular); }
.cabecera-pg-lado { display: grid; gap: 20px; justify-items: start; max-width: 46ch; }
.ahora-grande { font-family: var(--display); font-weight: 700; font-size: var(--t-entrada); line-height: 0.95; text-transform: uppercase; letter-spacing: -0.02em; }

/* ---------- Portada: la frase fija y las fotos que pasan ---------- */
.paso-fijo { display: grid; gap: 40px; padding-block: var(--hueco); }
.paso-fijo-frase { display: grid; gap: 24px; align-content: start; max-width: 40rem; }
.paso-fijo-fotos { display: grid; gap: 48px; }
.paso-fijo-foto img { width: 100%; object-fit: cover; }
.paso-fijo-foto--1 { width: 64%; } .paso-fijo-foto--1 img { aspect-ratio: 4 / 5; }
.paso-fijo-foto--2 { width: 78%; justify-self: end; } .paso-fijo-foto--2 img { aspect-ratio: 16 / 10; }
.paso-fijo-foto--3 { width: 52%; } .paso-fijo-foto--3 img { aspect-ratio: 1; }

/* ---------- Un precio como frase ---------- */
.precio-frase { display: grid; align-content: center; min-height: 80svh; padding-block: var(--hueco); }
.precio-frase-t { font-size: var(--t-titular); }
.precio-frase-linea { display: block; }
.precio-frase-pie { display: grid; gap: 24px; margin-top: 64px; }
.precio-frase-pie .entrada { max-width: 46ch; }
.precio-frase-acciones { display: grid; gap: 12px; justify-items: start; }

/* ---------- Preguntas: titular ancho y preguntas sangradas, con <details> ---------- */
.preguntas { display: grid; }
.preguntas-lista { display: grid; gap: 28px; margin-top: 56px; }
.pregunta summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; cursor: pointer; list-style: none; }
.pregunta summary::-webkit-details-marker { display: none; }
.pregunta summary h3 { font-weight: 400; }
.pregunta summary::after {
  content: ''; flex: none; width: 12px; height: 12px; margin-right: 4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.25s var(--ease);
}
.pregunta[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.pregunta p { max-width: 48ch; margin-top: 12px; }
.pregunta[open] { margin-inline: calc(var(--m) * -1); padding: 24px var(--m); background: var(--superficie); }
.preguntas-nota { margin-top: 12px; }

/* ---------- Tarjeta de cita ---------- */
.cita { display: grid; gap: 56px; }
.cita-principal { display: grid; gap: 24px; align-content: start; }
.cita-info { display: grid; gap: 28px; align-content: start; }
.cita-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cita-ahora { font-family: var(--display); font-weight: 700; font-size: var(--t-entrada); text-transform: uppercase; }
.datos { display: grid; gap: 16px; }
.datos dt { font-size: var(--t-pequeno); color: var(--suave); }
.form { display: grid; gap: 20px; margin-top: 8px; }
.form-fila { display: grid; gap: 20px; }
.campo-trampa { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-error { color: var(--error); font-weight: 500; }
.form-legal { max-width: 70ch; line-height: 1.45; }
.form-botones { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-nota { font-size: var(--t-pequeno); color: var(--suave); }
.form-hecho { display: grid; gap: 16px; padding: 28px; background: var(--superficie); }
.form-mensaje { white-space: pre-wrap; padding: 16px; background: var(--papel); }

/* ---------- Primera visita: un verbo cada vez ---------- */
.verbo { position: relative; height: 100svh; min-height: 32rem; overflow: clip; color: var(--sobre-oscuro); }
.verbo-foto { position: absolute; inset: 0; }
.verbo-foto img { width: 100%; height: 100%; object-fit: cover; }
.verbo-foto::after { content: ''; position: absolute; inset: 0; background: var(--velo); pointer-events: none; }
/* La foto del vaso es muy clara: un poco más de capa para que el pie blanco se lea */
#paso-meet .verbo-foto::after { background: rgba(4, 44, 50, 0.62); }
.verbo-fijo { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.verbo-t { pointer-events: auto; position: sticky; top: 50%; padding-top: 30svh; transform: translateY(-50%); font-size: var(--t-portada); text-align: center; }
.verbo-frase { position: absolute; z-index: 2; left: var(--m); right: var(--m); bottom: clamp(24px, 4vw, 48px); max-width: 38ch; font-size: var(--t-cuerpo); line-height: 1.45; }
.verbo-min { font-family: var(--display); font-weight: 700; font-size: var(--t-entrada); text-transform: uppercase; display: block; }
.parar { display: grid; gap: 24px; }
.parar .entrada { max-width: 40ch; }

/* ---------- La barra de los 45 minutos ---------- */
.plan { display: grid; gap: 48px; }
.plan-texto { display: grid; gap: 24px; align-content: start; }
.plan-barra-caja { display: grid; gap: 24px; align-content: start; }
.plan-total { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: var(--t-entrada); }
.plan-total-cifra { font-size: var(--t-titular); line-height: 1; }
.plan-barra { display: grid; gap: 4px; }
.plan-boton {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px;
  padding: 10px 16px; border: 0; background: var(--superficie); cursor: pointer; text-align: left;
  transition: transform 0.16s var(--ease);
}
.plan-boton:active { transform: scale(0.98); }
.plan-tramo.is-elegido .plan-boton { background: var(--tinta); color: var(--papel); }
.plan-verbo { font-family: var(--display); font-weight: 700; font-size: var(--t-entrada); text-transform: uppercase; white-space: nowrap; }
.plan-min { font-size: var(--t-pequeno); }
.plan-detalle { display: grid; gap: 20px; }
.plan-paso { display: grid; gap: 10px; }
.plan-paso-t { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: var(--t-entrada); }
.plan-paso dl { display: grid; gap: 12px; }
.plan-paso dt { font-size: var(--t-pequeno); color: var(--suave); }
.plan.is-vivo .plan-paso-t { display: none; }

/* ---------- What will I pay? ---------- */
.calculo { display: grid; gap: 48px; }
.calculo-mandos { display: grid; gap: 24px; align-content: start; }
.calculo-resultado { display: grid; gap: 20px; align-content: start; }
.calculo-frase { font-size: var(--t-titular); }
.calculo-fuente { font-size: var(--t-pequeno); max-width: 60ch; color: var(--tinta); }
.calculo-foto img, .tabla-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Tabla de precios (las tablas sí llevan líneas) ---------- */
.tabla { display: grid; gap: 40px; }
.tabla-lado { display: grid; gap: 32px; align-content: start; }
.tabla-lista { display: grid; gap: 48px; }
.precios { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.precios caption { text-align: left; padding-bottom: 12px; font-family: var(--display); font-weight: 700; font-size: var(--t-entrada); text-transform: uppercase; }
.precios th, .precios td { text-align: left; vertical-align: top; padding: 14px 12px 14px 0; border-bottom: 1px solid rgba(6, 82, 92, 0.22); }
.precios thead th { font-size: var(--t-pequeno); font-weight: 500; }
.precios tbody th { font-weight: 500; }
.precios-desc { display: block; font-weight: 400; }
.precios-cifra { white-space: nowrap; font-weight: 500; }

/* ---------- Dientes ---------- */
.dientes { display: grid; gap: 48px; }
.dientes-mandos, .dientes-resultado { display: grid; gap: 24px; align-content: start; }
.dientes-campo input { padding: 0; border: 0; min-height: 44px; accent-color: var(--tinta); background: none; cursor: pointer; }
.dientes-campo output { font-family: var(--display); font-weight: 700; text-transform: uppercase; }
.dientes-frase { font-size: var(--t-entrada); font-weight: 500; line-height: 1.35; max-width: 34ch; }
.dientes-lista { display: grid; gap: 6px; }
.dientes-lista li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 16px; padding: 10px 12px; }
.dientes-lista li.is-ahora { background: var(--superficie); }
.dientes-foto img, .dientes-foto-2 img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Emergencias ---------- */
.dolor { display: grid; gap: 40px; }
.dolor-lado { display: grid; gap: 32px; align-content: start; }
.dolor-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.dolor-lista { display: grid; gap: 36px; align-content: start; }
.dolor-paso { display: grid; gap: 8px; }
.dolor-paso p { max-width: 50ch; }
.email { display: grid; }
.email-dentro { display: grid; gap: 48px; padding-block: clamp(72px, 10vw, 120px); }
.email-frase { font-size: var(--t-entrada); font-weight: 500; }
.email-linea { align-self: end; font-size: var(--t-titular); line-height: 0.95; }
.email-linea span { display: block; }
.email-linea a { text-decoration: none; transition: color 0.2s; }
.email-linea a:hover { color: #ffffff; text-decoration: underline; text-decoration-thickness: 3px; }
.email-esquinas { display: grid; gap: 12px; font-size: var(--t-pequeno); }
.llegar { display: grid; gap: 40px; }
.llegar-foto img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.llegar-texto { display: grid; gap: 24px; align-content: start; }

/* ---------- Legal, franja y 404 ---------- */
.legal { display: grid; gap: 56px; padding-bottom: var(--hueco); }
.legal-sec { display: grid; gap: 16px; }
.legal-sec h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: var(--t-entrada); }
.legal-texto { display: grid; gap: 14px; max-width: 70ch; }
.franja { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--hueco-col); padding-bottom: var(--hueco); }
.franja img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.perdida { display: grid; gap: 40px; padding-block: clamp(48px, 7vw, 120px); }
.perdida-texto { display: grid; gap: 24px; align-content: start; }
.perdida-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
/* La 404 no carga JavaScript: sus entradas van solo con CSS */
.pg-404 .perdida-texto > *, .pg-404 .perdida-foto, .pg-404 .franja figure { animation: v404-sube 0.7s var(--ease) both; }
.pg-404 .perdida-texto > :nth-child(2) { animation-delay: 0.08s; }
.pg-404 .perdida-texto > :nth-child(3) { animation-delay: 0.16s; }
.pg-404 .perdida-foto { animation-delay: 0.12s; }
.pg-404 .franja figure:nth-child(2) { animation-delay: 0.08s; }
.pg-404 .franja figure:nth-child(3) { animation-delay: 0.16s; }
.pg-404 .franja figure:nth-child(4) { animation-delay: 0.24s; }
@keyframes v404-sube { from { transform: translateY(20px); } }
@media (prefers-reduced-motion: reduce) { .pg-404 .perdida-texto > *, .pg-404 .perdida-foto, .pg-404 .franja figure { animation: none; } }
.email-linea span:last-child { text-align: right; }

@media (min-width: 700px) {
  .form-fila { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .franja { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .cabecera-pg { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--hueco-col); row-gap: 40px; }
  .cabecera-pg-t { grid-column: 1 / -1; font-size: var(--t-portada); }
  .cabecera-pg-lado { grid-column: 6 / span 6; }
  .ahora-grande { font-size: var(--t-titular); }

  .paso-fijo { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--hueco-col); align-items: start; }
  .paso-fijo-frase { grid-column: 1 / span 6; position: sticky; top: 18svh; }
  .paso-fijo-fotos { grid-column: 8 / span 5; gap: 0; }
  .paso-fijo-foto--1 { width: 72%; }
  .paso-fijo-foto--2 { width: 100%; margin-top: 30svh; }
  .paso-fijo-foto--3 { width: 60%; margin-top: 30svh; margin-left: 20%; }

  .precio-frase-t { font-size: var(--t-portada); }
  .precio-frase-pie { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--hueco-col); align-items: end; }
  .precio-frase-pie .entrada { grid-column: 1 / span 6; }
  .precio-frase-acciones { grid-column: 9 / span 4; justify-items: end; }

  .preguntas { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--hueco-col); }
  .preguntas > .titular { grid-column: 1 / -1; }
  .preguntas-lista { grid-column: 5 / -1; gap: 36px; margin-top: 80px; }
  .pregunta[open] { margin-inline: -24px; padding: 24px; }

  .cita { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--hueco-col); }
  .cita-principal { grid-column: 1 / span 7; }
  .cita-info { grid-column: 9 / span 4; }

  .verbo-frase { right: auto; }

  .plan { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--hueco-col); }
  .plan-texto { grid-column: 1 / span 5; }
  .plan-barra-caja { grid-column: 7 / span 6; }
  .plan.is-vivo .plan-barra { display: flex; gap: 4px; }
  .plan.is-vivo .plan-tramo { flex: var(--min, 1) 1 0; min-width: 0; }
  .plan.is-vivo .plan-boton { flex-direction: column; align-items: flex-start; justify-content: space-between; min-height: 132px; padding: 14px 12px; }
  .plan-paso dl { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

  .calculo { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--hueco-col); }
  .calculo-mandos { grid-column: 1 / span 5; }
  .calculo-resultado { grid-column: 7 / span 6; }

  .tabla { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--hueco-col); }
  .tabla-lado { grid-column: 1 / span 4; position: sticky; top: 40px; align-self: start; }
  .tabla-lista { grid-column: 6 / span 7; }

  .dientes { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--hueco-col); }
  .dientes-mandos { grid-column: 1 / span 5; }
  .dientes-resultado { grid-column: 7 / span 6; }

  .dolor { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--hueco-col); }
  .dolor-lado { grid-column: 1 / span 5; }
  .dolor-lista { grid-column: 7 / span 6; padding-top: 12px; }
  .email { min-height: 100svh; }
  .email-dentro { grid-template-rows: auto 1fr auto; gap: 40px; padding-block: 56px 12vh; }
  .email-frase { max-width: 30ch; }
  .email-linea { font-size: var(--t-portada); }
  .email-linea span:last-child { text-align: left; }
  .email-esquinas { display: flex; justify-content: space-between; }
  .llegar { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--hueco-col); align-items: center; }
  .llegar-foto { grid-column: 1 / span 6; }
  .llegar-texto { grid-column: 8 / span 5; }

  .legal-sec { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--hueco-col); }
  .legal-sec h2 { grid-column: 1 / span 4; }
  .legal-texto { grid-column: 6 / span 6; }
  .perdida { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--hueco-col); align-items: center; }
  .perdida-texto { grid-column: 1 / span 6; }
  .perdida-foto { grid-column: 8 / span 5; }
}

/* 40-pie.css */
/* Pie «el contacto como titular»: un campo azul alto, notas arriba, el teléfono enorme abajo y una fila de letra
   pequeña. El nombre solo sale pequeño, arriba. Primero el móvil; las columnas de escritorio desde 1100 px. */
.pie { display: grid; grid-template-rows: auto 1fr auto auto; min-height: 90svh; padding-block: 40px 32px; }
.pie-arriba { display: grid; gap: 24px; align-content: start; }
.pie-notas { display: grid; gap: 6px; }
.pie-marca { font-family: var(--display); font-weight: 700; font-size: var(--t-entrada); text-transform: uppercase; margin-bottom: 6px; }
.pie-subir { justify-self: start; font-size: var(--t-pequeno); font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.pie-titular { align-self: end; margin-top: 96px; font-size: var(--t-titular); }
.pie-titular a { text-decoration: none; }
.pie-titular a:hover { text-decoration: underline; text-decoration-thickness: 4px; }
.pie-meta { display: grid; gap: 10px; margin-top: 32px; font-size: var(--t-pequeno); color: var(--suave-oscuro); }
.pie-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.pie-legal a { display: inline-block; padding-block: 6px; }
.pie-creditos { max-width: 70ch; line-height: 1.5; }
.pie-demo { margin-top: 20px; font-size: var(--t-pequeno); color: var(--suave-oscuro); max-width: 90ch; }
.pie--mini { display: block; min-height: 0; padding-block: 40px; }
.pie--mini .marco { display: grid; gap: 12px; }
.pie--mini .pie-demo { margin-top: 0; font-size: var(--t-cuerpo); color: var(--sobre-oscuro); max-width: 60ch; }
.pie--mini .pie-creditos { font-size: var(--t-pequeno); color: var(--suave-oscuro); }

@media (min-width: 1100px) {
  .pie-arriba { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--hueco-col); }
  .pie-notas { grid-column: 1 / span 7; }
  .pie-subir { grid-column: 12; justify-self: end; align-self: start; }
  .pie-titular { font-size: var(--t-portada); }
  .pie-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--hueco-col); align-items: start; }
  .pie-creditos { text-align: center; justify-self: center; }
  .pie-lugar { text-align: right; }
}

/* 50-dialogos.css */
/* Ventanas (dialog): aviso de demo, asistente y WhatsApp de prueba. Sin sombras: el fondo oscuro detrás ya las separa.
   En horizontal en el móvil (poca altura), a todo el alto y con las respuestas rápidas en una fila que se desliza. */
.dlg { width: min(560px, calc(100vw - 2 * var(--m))); max-height: min(86svh, 760px); margin: auto; padding: 0; border: 0; background: var(--papel); color: var(--tinta); overflow: hidden; }
.dlg[open] { display: flex; flex-direction: column; }
.dlg::backdrop { background: rgba(28, 27, 25, 0.62); }
.dlg-cabeza { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px 8px; }
.dlg-t { font-size: var(--t-entrada); font-weight: 500; line-height: 1.2; letter-spacing: -0.015em; }
.dlg-cerrar { min-height: 44px; padding: 8px 2px; border: 0; background: none; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
.dlg-cuerpo { display: grid; gap: 18px; padding: 28px 24px; }
.dlg-aviso { padding: 0 24px 12px; font-size: var(--t-pequeno); line-height: 1.45; color: var(--suave); }

/* Asistente */
.chat { position: relative; flex: 1 1 auto; min-height: 180px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 10px; padding: 8px 24px 12px; }
.chat-msg { max-width: 88%; padding: 10px 14px; line-height: 1.45; overflow-wrap: anywhere; }
.chat-msg--bot { align-self: flex-start; background: var(--superficie); }
.chat-msg--tu { align-self: flex-end; background: var(--tinta); color: var(--papel); }
.chat-msg a { font-weight: 500; }
.chat-rapidas { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 24px 8px; }
.chip { min-height: 40px; padding: 6px 12px; border: 2px solid var(--tinta); border-radius: 0; background: transparent; cursor: pointer; text-align: left; transition: background-color 0.2s, transform 0.18s var(--ease); }
.chip:hover { background: var(--superficie); }
.chip:active { transform: scale(0.97); }
.chat-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 12px 24px 24px; }
.chat-form input { min-width: 0; padding: 10px 12px; border: 2px solid var(--tinta); border-radius: 0; background: var(--campo); }

/* WhatsApp de prueba: imita la interfaz para que se entienda en un segundo (verde, burbujas, doble tick) */
.wa { background: #efeae2; color: #111b21; }
.wa-cabeza { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: #075e54; color: #ffffff; }
.wa-cabeza :focus-visible { outline-color: #ffffff; }
.wa-avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #dfe5e7; color: #075e54; font-weight: 500; }
.wa-quien { flex: 1; display: grid; line-height: 1.25; }
.wa-nombre { font-weight: 500; }
.wa-estado { font-size: var(--t-pequeno); color: #d4e8e4; }
.wa .dlg-cerrar { color: #ffffff; }
.wa-chat { flex: 1 1 auto; min-height: 220px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.wa-msg { max-width: 82%; padding: 8px 10px 6px; border-radius: 8px; background: #ffffff; line-height: 1.4; overflow-wrap: anywhere; }
.wa-msg--tu { align-self: flex-end; background: #d9fdd3; }
.wa-msg--ellos { align-self: flex-start; }
.wa-hora { float: right; display: inline-flex; align-items: center; gap: 4px; margin: 6px 0 0 10px; font-size: var(--t-pequeno); line-height: 1; color: #54656f; } /* 5,5:1 (con #667781, 4,2:1) */
.wa-tick { width: 16px; height: 11px; color: #8696a0; transition: color 0.3s; }
.wa-tick.is-leido { color: #53bdeb; }
.wa-aviso { align-self: center; max-width: 92%; display: grid; gap: 10px; justify-items: center; padding: 8px 12px; border-radius: 8px; background: #ffeecd; color: #54656f; font-size: var(--t-pequeno); line-height: 1.45; text-align: center; }
.wa-boton { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 20px; background: #008069; color: #ffffff; font-weight: 500; text-decoration: none; } /* 4,9:1 (con #00a884, 3:1) */
.wa-escribiendo { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 8px; background: #ffffff; }
.wa-escribiendo i { width: 6px; height: 6px; border-radius: 50%; background: #8696a0; animation: wa-punto 1s infinite ease-in-out; }
.wa-escribiendo i:nth-child(2) { animation-delay: 0.15s; }
.wa-escribiendo i:nth-child(3) { animation-delay: 0.3s; }
@keyframes wa-punto { 0%, 80%, 100% { opacity: 0.35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.wa-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 10px 12px; background: #f0f2f5; }
.wa-form input { min-width: 0; padding: 10px 16px; border: 0; border-radius: 20px; background: #ffffff; }
.wa-enviar { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #00a884; color: #ffffff; cursor: pointer; }
.wa-enviar svg { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) { .wa-escribiendo i { animation: none; } }
@media (max-height: 600px) {
  .dlg { max-height: calc(100svh - 16px); }
  .chat, .wa-chat { min-height: 90px; }
  .chat-rapidas { flex-wrap: nowrap; overflow-x: auto; }
  .chip { flex: none; }
}

/* 60-aparecer.css */
/* efectos-web · aparecer.css — entrada escalonada (el "aire Framer"): sube 16 px en 0,6 s.
 * Solo los títulos se funden; párrafos, grupos y fotos entran sin opacidad (solo se mueven): así nunca hay pantallas
 * vacías mientras termina la entrada (lección `blank-gap`; en Ceo, 28/10, los grupos de precios que se fundían
 * dejaron huecos de 1.500 px para el revisor) y el contenido principal pinta pronto.
 * Necesita la clase `js` en <html> (head.js). */
.js [data-aparece] {
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.44, 0, 0.56, 1), transform 0.6s cubic-bezier(0.44, 0, 0.56, 1);
  transition-delay: calc(var(--i, 0) * 120ms);
}
.js :is(h1, h2, h3, .titular)[data-aparece] { opacity: 0; }
.js [data-aparece="foto"] { transform: translateY(24px) scale(1.04); }
.js [data-aparece].is-visto { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-aparece] { opacity: 1; transform: none; transition: none; }
}
