/*
 * Portada pública de Cúmulo (/). Misma identidad que la tienda (estilos.css) y el chat
 * (client/src/cumulo/tema.css): cielo en degradado, nubes que cruzan despacio, azul de marca,
 * Bricolage Grotesque en titulares e Instrument Sans en el resto. De noche, cielo nocturno.
 *
 * Fuentes autoalojadas (sin Google Fonts: la portada no manda datos a terceros salvo el captcha).
 * Bricolage va recortada para la portada (bricolage-grotesque-portada.woff2, 19 KB en vez de
 * 77 KB): solo peso 700, tamaño óptico de titular y los caracteres del castellano. Licencia OFL
 * en fuentes/OFL-*.txt.
 */

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fuentes/instrument-sans-latin.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: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fuentes/instrument-sans-latin-ext.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;
}
/* Titulares: un solo peso (700). Los caracteres que no lleva caen en la fuente de sistema. */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("../fuentes/bricolage-grotesque-portada.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+20AC, U+2192;
}

:root {
  --cielo-alto: #cddff9;
  --cielo-bajo: #eef3fb;
  --tinta: #1a2b4c;
  --gris: #4a5a78; /* 4,5:1 o más incluso sobre el azul más oscuro del cielo */
  --azul: #3f6fe8;
  --azul-hondo: #2c54c4;
  --azul-suave: #e7eefd;
  --sobre-azul: #ffffff;
  --nube: #ffffff;
  --nube-opacidad: .8;
  --borde: #d6e0f0;
  --tarjeta: #ffffff;
  --chip: rgba(255, 255, 255, .72);
  --chip-borde: rgba(26, 43, 76, .1);
  --error: #b42318;
  --exito: #17663a;
  --exito-suave: #e3f4ea;
  --sombra: 0 24px 48px -24px rgba(26, 43, 76, .35), 0 2px 8px -2px rgba(26, 43, 76, .08);
  --fondo-ventana: rgba(12, 20, 40, .45);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --cielo-alto: #0c1428;
    --cielo-bajo: #16213d;
    --tinta: #e8eefa;
    --gris: #b2c0da;
    --azul: #7fa2ff;
    --azul-hondo: #9db8ff;
    --azul-suave: #22325a;
    --sobre-azul: #0c1428;
    --nube: #dfe7f7;
    --nube-opacidad: .1;
    --borde: #2c3b61;
    --tarjeta: #121b33;
    --chip: rgba(18, 27, 51, .78);
    --chip-borde: rgba(223, 231, 247, .14);
    --error: #ff9b8f;
    --exito: #8fdcae;
    --exito-suave: #173327;
    --sombra: 0 24px 48px -24px rgba(0, 0, 0, .7), 0 2px 8px -2px rgba(0, 0, 0, .35);
    --fondo-ventana: rgba(4, 8, 18, .7);
  }
}

* { box-sizing: border-box; }

html {
  background: var(--cielo-bajo);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html, body { margin: 0; }

body {
  min-height: 100vh;
  font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--tinta);
  background: linear-gradient(180deg, var(--cielo-alto) 0, var(--cielo-bajo) 100vh, var(--cielo-bajo) 100%);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}

a { color: var(--azul-hondo); }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; }

.oculto {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.saltar {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--tarjeta); color: var(--tinta); padding: 10px 14px; border-radius: 12px;
  box-shadow: var(--sombra); font-weight: 600; text-decoration: none;
}
.saltar:focus { top: 12px; }

/* ---------- Cielo: nubes que cruzan despacio (solo transform, sin recolocar nada) ---------- */
.cielo {
  position: absolute; top: 0; left: 0; right: 0;
  height: 100vh; height: 100lvh;
  pointer-events: none; z-index: 0; overflow: hidden;
}
/* Resplandor del sol (de día) y estrellas (de noche): un solo degradado, sin imágenes */
.cielo::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 6%, rgba(255, 246, 220, .85) 0, rgba(255, 246, 220, 0) 34%);
}
@media (prefers-color-scheme: dark) {
  .cielo::before {
    opacity: .7;
    background:
      radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 51%),
      radial-gradient(1px 1px at 27% 8%, #fff 50%, transparent 51%),
      radial-gradient(1.5px 1.5px at 44% 30%, #dfe7f7 50%, transparent 51%),
      radial-gradient(1px 1px at 63% 12%, #fff 50%, transparent 51%),
      radial-gradient(2px 2px at 78% 24%, #fff 50%, transparent 51%),
      radial-gradient(1px 1px at 90% 42%, #dfe7f7 50%, transparent 51%),
      radial-gradient(1px 1px at 8% 52%, #fff 50%, transparent 51%),
      radial-gradient(1.5px 1.5px at 35% 62%, #dfe7f7 50%, transparent 51%),
      radial-gradient(1px 1px at 70% 70%, #fff 50%, transparent 51%),
      radial-gradient(1px 1px at 54% 48%, #fff 50%, transparent 51%),
      radial-gradient(circle at 85% 6%, rgba(127, 162, 255, .18) 0, rgba(127, 162, 255, 0) 34%);
  }
}
.cielo svg {
  position: absolute; left: -320px;
  fill: var(--nube); opacity: var(--nube-opacidad);
  animation: deriva linear infinite;
  will-change: transform;
}
.cielo .n1 { top: 9%;  width: 230px; animation-duration: 95s;  animation-delay: -22s; }
.cielo .n2 { top: 27%; width: 140px; animation-duration: 125s; animation-delay: -80s; opacity: calc(var(--nube-opacidad) * .7); }
.cielo .n3 { top: 58%; width: 300px; animation-duration: 150s; animation-delay: -45s; opacity: calc(var(--nube-opacidad) * .6); }
.cielo .n4 { top: 79%; width: 160px; animation-duration: 110s; animation-delay: -100s; opacity: calc(var(--nube-opacidad) * .65); }
.cielo .n5 { top: 16%; width: 110px; animation-duration: 135s; animation-delay: -10s; opacity: calc(var(--nube-opacidad) * .5); }
@keyframes deriva { from { transform: translateX(0); } to { transform: translateX(calc(100vw + 640px)); } }

/* Pestaña oculta o «reducir movimiento»: nubes quietas (en su sitio, no fuera de la pantalla) */
html[data-pausado] .cielo svg { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cielo svg { animation-play-state: paused; }
}

/* ---------- Cabecera ---------- */
.cabecera {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1120px; margin: 0 auto;
  padding: max(14px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 14px max(16px, env(safe-area-inset-left));
}
.marca {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--tinta); text-decoration: none; border-radius: 12px;
}
.marca svg { width: 40px; height: 24px; fill: var(--azul); }
.marca span { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 700; font-size: 23px; letter-spacing: -.015em; }
.acciones { display: flex; align-items: center; gap: 6px; }
.entrar {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border-radius: 999px; background: var(--chip); border: 1px solid var(--chip-borde);
  color: var(--tinta); font-weight: 600; text-decoration: none;
  transition: background .15s, border-color .15s;
}
.entrar:hover { background: var(--tarjeta); border-color: var(--borde); }
/* «Apúntate» (beta privada) o «Crear cuenta» (registro abierto) manda y «Entrar» pasa a enlace discreto */
.entrar { background: transparent; border-color: transparent; padding: 0 12px; }
.entrar:hover { background: var(--chip); }
.apuntate {
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--azul-hondo); color: var(--sobre-azul);
  font: inherit; font-size: 15px; font-weight: 600;
}
.apuntate:hover { background: var(--azul); }
.abierto .solo-beta { display: none !important; }
.beta .solo-abierto { display: none !important; }
@media (max-width: 370px) {
  .marca { gap: 8px; }
  .marca svg { width: 34px; height: 20px; }
  .marca span { font-size: 19px; }
  .entrar { padding: 0 6px; }
  .apuntate { padding: 0 12px; font-size: 14px; white-space: nowrap; }
}
/* 320 px con «Entrar» y «Crear cuenta»: logotipo más pequeño para que nada quede pegado */
@media (max-width: 340px) {
  .cabecera { padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
  .marca { gap: 6px; }
  .marca svg { width: 28px; height: 17px; }
  .marca span { font-size: 17px; }
  .acciones { gap: 8px; }
  .entrar { padding: 0 4px; }
  .apuntate { padding: 0 11px; }
}

/* ---------- Pantalla principal ----------
   Lo único que llama la atención es Mínimo, grande, asomado por encima de la caja y mirándola,
   sobre el cielo. Todo lo demás (pastilla, ideas, «Descubre más») va en tono bajo.
   Móvil: todo centrado, la mascota encima de la caja. Desde 900 px: texto a la izquierda y la
   mascota en su propia columna, apoyada en el extremo derecho de la caja. */
main { position: relative; z-index: 1; }

.inicio {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh;
  padding: 84px max(16px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.inicio-centro {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  width: 100%; max-width: 760px; margin: 0 auto; padding: 8px 0 20px;
  text-align: center;
}
.inicio-texto { display: flex; flex-direction: column; align-items: center; }

/* Pastilla de arriba: «Beta privada» (registro cerrado) o las nubes de regalo (abierto) */
.pastilla {
  display: inline-flex; align-items: center; gap: .3em;
  min-height: 44px; margin: 0 0 12px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--chip-borde); background: transparent;
  color: var(--tinta); font: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer;
  transition: background .15s;
}
.pastilla:hover { background: var(--chip); }
.pastilla .subrayado { color: var(--azul-hondo); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pastilla.regalo { color: var(--azul-hondo); font-weight: 600; border-color: transparent; background: var(--chip); }
.pastilla.regalo:hover { background: var(--tarjeta); }
/* Si no cabe en una línea, «(una por persona)» baja entera a la segunda, centrada */
.pastilla.regalo { flex-wrap: wrap; justify-content: center; column-gap: .3em; row-gap: 0; padding-top: 6px; padding-bottom: 6px; border-radius: 22px; line-height: 1.3; }

h1 {
  margin: 0 0 14px;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 1.25rem + 4vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.subtitulo {
  margin: 0; max-width: 34em;
  color: var(--gris); font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); line-height: 1.5;
  text-wrap: pretty;
}
.subtitulo strong { color: var(--tinta); font-weight: 600; }

/* La mascota: grande, por detrás del borde de arriba de la caja (asoma), mirando hacia abajo,
   a lo que escribes. Al pensar mira arriba (mascota.css manda: es más específico). */
.mascota-portada {
  position: relative; z-index: 0; display: block; flex: none;
  width: 172px; height: 100px;
  margin: 20px 0 -10px; /* los 10 px de abajo quedan detrás de la caja */
  pointer-events: none;
}
.mascota-portada .mirada { transform: translate(-1.5px, 2.5px); }
html[data-pausado] .m * { animation-play-state: paused; }

/* Caja «Pregunta lo que quieras» */
.caja {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; gap: 6px;
  width: 100%; max-width: 680px;
  padding: 7px 7px 7px 6px;
  background: var(--tarjeta);
  border: 1.5px solid var(--borde);
  border-radius: 26px;
  box-shadow: var(--sombra);
  transition: border-color .15s, box-shadow .15s;
  scroll-margin: 96px 0 24px;
}
.caja:focus-within { border-color: var(--azul); box-shadow: var(--sombra), 0 0 0 4px var(--azul-suave); }
.caja textarea {
  flex: 1; min-width: 0;
  min-height: 58px; max-height: 40vh; max-height: 40dvh;
  padding: 15px 8px 13px 14px;
  border: 0; outline: 0; resize: none; background: transparent;
  color: var(--tinta);
  font: inherit; font-size: 17px; line-height: 1.5; /* 16 px o más: iOS no hace zoom */
  overflow-y: auto;
}
.caja textarea::placeholder { color: var(--gris); opacity: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.enviar {
  flex: none; width: 46px; height: 46px; margin: 0 0 2px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: var(--azul-hondo); color: var(--sobre-azul);
  transition: background .15s, opacity .15s;
}
.enviar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.enviar:hover { background: var(--azul); }
.caja[data-vacia] .enviar { opacity: .45; cursor: default; }

/* Ideas para empezar: discretas, sin relleno */
.ejemplos {
  list-style: none; margin: 14px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  max-width: 760px;
}
.ejemplos button {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px 0 12px;
  border-radius: 999px; border: 1px solid var(--chip-borde);
  background: transparent; color: var(--tinta);
  font: inherit; font-size: 15px; font-weight: 500; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.ejemplos button:hover { background: var(--chip); border-color: var(--borde); }
.ejemplos svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--azul-hondo); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* «Descubre más» */
.descubre {
  align-self: center;
  display: inline-flex; flex-direction: column; align-items: center; gap: 0;
  min-height: 44px; min-width: 44px; padding: 6px 14px 4px;
  color: var(--gris); font-weight: 500; font-size: 15px; text-decoration: none; border-radius: 14px;
}
.descubre:hover { color: var(--tinta); }
.descubre svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Escritorio: texto a la izquierda; Mínimo en su columna, apoyado en el extremo de la caja */
@media (min-width: 900px) {
  .inicio-centro {
    display: grid; align-content: center; justify-content: stretch;
    grid-template-columns: minmax(0, 1fr) 320px;
    grid-template-areas: "texto mascota" "caja caja" "ideas ideas";
    max-width: 1000px; text-align: left;
  }
  .inicio-texto { grid-area: texto; align-items: flex-start; padding-bottom: 30px; }
  .subtitulo { max-width: 30em; }
  .mascota-portada { grid-area: mascota; align-self: end; justify-self: end; width: 276px; height: 161px; margin: 0 22px -15px 0; }
  .mascota-portada .mirada { transform: translate(-3.5px, 2.5px); } /* mira hacia la caja, a su izquierda */
  .caja { grid-area: caja; max-width: none; }
  .ejemplos { grid-area: ideas; justify-content: flex-start; margin-left: 2px; }
}

/* Pantallas bajas (móvil apaisado, o con el teclado abierto): todo más junto */
@media (max-height: 700px) {
  .inicio { padding-top: 70px; }
  .pastilla { margin-bottom: 8px; }
  .inicio-centro { padding-bottom: 8px; }
  .mascota-portada { width: 120px; height: 70px; margin-top: 14px; margin-bottom: -7px; }
}
@media (max-height: 640px) {
  .inicio { padding-top: 72px; }
  h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3rem); margin-bottom: 10px; }
  .mascota-portada { width: 96px; height: 56px; margin-top: 10px; margin-bottom: -6px; }
}
@media (max-height: 640px) and (min-width: 900px) {
  .mascota-portada { width: 170px; height: 99px; margin-bottom: -10px; }
}
/* Con el teclado abierto en el móvil: la caja manda, la mascota se queda pequeña encima */
@media (max-height: 480px) and (max-width: 899px) {
  .mascota-portada { width: 72px; height: 42px; margin-top: 6px; margin-bottom: -4px; }
}
/* Móviles estrechos (iPhone SE): las cuatro ideas, dos por fila */
@media (max-width: 380px) {
  .ejemplos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; width: 100%; }
  .ejemplos button {
    width: 100%; justify-content: center; gap: 6px; padding: 4px 8px;
    font-size: 13.5px; line-height: 1.2; text-align: left;
  }
  .ejemplos svg { width: 16px; height: 16px; }
  .caja textarea { font-size: 16px; }
  .pastilla { font-size: 14px; padding: 0 12px; }
}

/* ---------- Ventana de la lista de espera ---------- */
.ventana {
  width: calc(100% - 24px); max-width: 440px;
  max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px);
  padding: 0; border: 0; border-radius: 26px;
  background: transparent; color: var(--tinta);
  overflow: visible;
}
.ventana::backdrop { background: var(--fondo-ventana); }
.ventana[open] { animation: aparece .2s ease-out; }
@keyframes aparece { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ventana[open] { animation: none; } }

.ventana-cuerpo {
  position: relative;
  max-height: inherit; overflow-y: auto; overscroll-behavior: contain;
  padding: 26px 22px 20px;
  background: var(--tarjeta); border: 1px solid var(--borde); border-radius: 26px;
  box-shadow: var(--sombra);
}
.ventana-nube { width: 52px; height: 30px; fill: var(--azul); display: block; margin: 0 0 10px; }
.ventana h2 {
  margin: 0 44px 8px 0;
  font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 700;
  font-size: 26px; line-height: 1.1; letter-spacing: -.02em;
}
.ventana p { margin: 0 0 16px; color: var(--gris); }
.cerrar {
  position: absolute; top: 12px; right: 12px;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--gris); cursor: pointer;
}
.cerrar:hover { background: var(--azul-suave); color: var(--tinta); }
.cerrar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.campo { display: block; font-weight: 600; margin: 0 0 6px; }
.ventana input[type="email"] {
  width: 100%; min-height: 50px; padding: 12px 15px;
  font: inherit; font-size: 16px; color: var(--tinta);
  border: 1.5px solid var(--borde); border-radius: 14px; background: var(--cielo-bajo);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.ventana input[type="email"]:focus { outline: none; border-color: var(--azul); background: var(--tarjeta); box-shadow: 0 0 0 4px var(--azul-suave); }
.ventana input[aria-invalid="true"] { border-color: var(--error); }

.consentimiento {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 16px 0 0; padding: 4px 0; cursor: pointer;
  font-size: 14.5px; line-height: 1.45; color: var(--gris);
}
.consentimiento input {
  flex: none; width: 22px; height: 22px; margin: 1px 0 0;
  accent-color: var(--azul-hondo); cursor: pointer;
}
.consentimiento a { font-weight: 600; }

.captcha { margin: 16px 0 0; min-height: 65px; }
.captcha:empty { min-height: 0; }

.error { margin: 6px 0 0 !important; color: var(--error) !important; font-size: 14px; font-weight: 600; }
.error-general { margin-top: 12px !important; }

.boton {
  display: block; width: 100%; min-height: 50px; margin: 18px 0 0;
  border: 0; border-radius: 14px; cursor: pointer;
  background: var(--azul-hondo); color: var(--sobre-azul);
  font: inherit; font-size: 17px; font-weight: 600;
  transition: background .15s, opacity .15s;
}
.boton:hover { background: var(--azul); }
@media (prefers-color-scheme: light) { .boton:hover { background: #2447ab; } }
.boton:disabled { opacity: .6; cursor: progress; }
.boton-suave { background: var(--azul-suave); color: var(--tinta); }
.boton-suave:hover { background: var(--azul-suave); }

.hecho { padding: 6px 0 2px; outline: none; }
.hecho-titulo {
  color: var(--exito) !important; background: var(--exito-suave);
  border-radius: 14px; padding: 14px 16px; font-weight: 600; font-size: 17px;
}
.no-disponible { color: var(--tinta) !important; background: var(--azul-suave); border-radius: 14px; padding: 14px 16px; }

.ventana-pie { margin: 16px 0 0 !important; font-size: 14.5px; text-align: center; }
.ventana-pie a { font-weight: 600; }

/* Pantallas bajas (teclado abierto): que se vean el formulario y «Avisadme» */
@media (max-height: 560px) {
  .ventana { width: calc(100% - 16px); max-height: calc(100vh - 12px); max-height: calc(100dvh - 12px); }
  .ventana-cuerpo { padding: 14px 16px 12px; }
  .ventana-nube { display: none; }
  .ventana h2 { font-size: 20px; margin-bottom: 6px; }
  .ventana p { margin-bottom: 10px; font-size: 15px; line-height: 1.4; }
  #ventana-texto { display: none; } /* con el teclado abierto, el título basta */
  .campo { margin-bottom: 4px; }
  .ventana input[type="email"] { min-height: 46px; padding: 10px 14px; }
  .consentimiento { gap: 10px; line-height: 1.35; }
  .cerrar { top: 4px; right: 4px; }
  .consentimiento { margin-top: 10px; font-size: 13.5px; }
  .captcha { margin-top: 10px; }
  .boton { margin-top: 12px; min-height: 46px; }
  .ventana-pie { margin-top: 10px !important; }
}
