/*
 * Tuvairo — web de la app del viajero.
 *
 * Estilo: el de la identidad de marca de Tuvairo, el mismo de la app. Lo que aquí se cumple:
 *  - La paleta y nada fuera de ella. Solo tema claro. Predomina Ivory.
 *  - Volt solo sobre Deep Forest: el bloque «Descarga», el pie y el icono.
 *  - Mist nunca como texto: solo líneas de puntos y, al 44 %, el filete de los contornos.
 *  - Contornos en vez de sombras. Iconos de línea.
 *  - Inter, con la tipografía del sistema como respaldo.
 * Se escribe primero para el teléfono; los anchos mayores van en los @media de cada bloque.
 */

:root {
  /* Paleta de la marca */
  --deep-forest: #102823;
  --volt: #D4F66B;
  --ivory: #F5F5F0;
  --mist: #879C95;
  --onyx: #111413;
  /* Tonos complementarios */
  --surface: #E7EBE3;          /* Superficie: paneles, píldoras, botones secundarios */
  --white: #FFFFFF;            /* Tarjetas, siempre con contorno */
  --ink-secondary: #48665E;    /* Texto profundo: texto secundario (5,7:1 sobre Ivory) */
  --mist-light: #B2C5BB;       /* Bruma clara: texto sobre Deep Forest */
  --hairline: rgba(135, 156, 149, 0.44);         /* Filete: Mist al 44 % */
  --hairline-on-dark: rgba(178, 197, 187, 0.28); /* Filete sobre Deep Forest: Bruma clara */

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: 20px;              /* Margen lateral, el mismo de la app */
  --container: 1120px;
  --header-height: 64px;
  --radius-card: 16px;
  --radius-panel: 24px;
  --radius-stage: 32px;
}

@media (min-width: 600px) {
  :root { --gutter: 32px; }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--onyx);
  font: 400 1rem/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3 { color: var(--deep-forest); font-weight: 700; text-wrap: balance; }

:focus-visible {
  outline: 3px solid var(--deep-forest);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.sprite { position: absolute; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 8px;
  z-index: 30;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--deep-forest);
  color: var(--ivory);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
main:focus { outline: none; }

/* ---------- Piezas comunes ---------- */

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm { width: 20px; height: 20px; }

.eyebrow {
  color: var(--ink-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Píldora sobre Superficie, como las de la app */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--onyx);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
}
.pill .icon { color: var(--deep-forest); }

/* Botones: 56 px de alto y esquinas de 16 px. La principal, Deep Forest con texto Ivory;
   la alternativa, sobre Superficie. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: 16px;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.375rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button--primary { background: var(--deep-forest); color: var(--ivory); }
.button--primary:hover { background: var(--onyx); }
.button--secondary { background: var(--surface); color: var(--onyx); }
.button--secondary:hover { box-shadow: inset 0 0 0 2px var(--deep-forest); }
.button--compact { min-height: 44px; padding: 0 18px; border-radius: 14px; font-size: 0.9375rem; }

/* Botones de descarga: el nombre de la tienda, sin su insignia */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.stores--stacked { flex-direction: column; align-items: flex-start; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 22px 8px 16px;
  border-radius: 16px;
  background: var(--deep-forest);
  color: var(--ivory);
  text-decoration: none;
}
.store:hover { background: var(--onyx); }
.store__text { display: grid; text-align: left; white-space: nowrap; }
.store small { color: var(--mist-light); font-size: 0.75rem; font-weight: 500; line-height: 1rem; }
.store strong { font-size: 1.0625rem; font-weight: 600; line-height: 1.375rem; }
.store--on-dark { background: var(--volt); color: var(--deep-forest); }
.store--on-dark small { color: var(--deep-forest); }
.store--on-dark:hover { background: var(--ivory); }
.store--small { min-height: 48px; padding: 6px 18px 6px 14px; border-radius: 14px; gap: 10px; }
.store--small strong { font-size: 0.9375rem; line-height: 1.25rem; }
.store--small small { font-size: 0.6875rem; line-height: 0.875rem; }

.link {
  color: var(--deep-forest);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.link:hover { text-decoration-thickness: 2px; }

/* Icono dentro de un cuadro Superficie, como los lugares de la lista de la app */
.icon-tile {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--deep-forest);
}
.icon-tile--white { border: 1px solid var(--hairline); background: var(--white); }

/* Lista de hechos, cada uno con su marca */
.checks { display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; }
.checks .icon { margin-top: 2px; color: var(--deep-forest); stroke-width: 2.2; }
.checks--roomy { gap: 14px; }
.checks--roomy li { font-size: 1.0625rem; line-height: 1.625rem; }
.checks--roomy .icon { margin-top: 3px; }

/* Número de un paso: el aro del punto de partida de la app */
.step__num {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--deep-forest);
  border-radius: 50%;
  background: var(--ivory);
  color: var(--deep-forest);
  font-weight: 700;
}

/* Teléfono: un marco Deep Forest alrededor de la captura, que se muestra entera */
.phone {
  width: min(320px, 100%);
  margin-inline: auto;
  padding: 10px;
  border-radius: 44px;
  background: var(--deep-forest);
}
.phone img {
  width: 100%;
  border-radius: 34px;
  background: var(--ivory);
}

/* Panel Superficie sobre el que se apoya un teléfono */
.stage {
  padding: 24px 12px 20px;
  border-radius: var(--radius-stage);
  background: var(--surface);
}

.caption {
  margin-top: 16px;
  color: var(--ink-secondary);
  font-size: 0.8125rem;
  line-height: 1.25rem;
  text-align: center;
}
.caption > span { display: block; }
.caption a { color: var(--deep-forest); font-weight: 600; text-underline-offset: 3px; }

.fineprint { color: var(--ink-secondary); font-size: 0.875rem; line-height: 1.375rem; }

/* ---------- Cabecera ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ivory);
  border-bottom: 1px solid var(--hairline);
}
.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-height);
}
.site-header__tools { display: flex; align-items: center; gap: 8px; }

.brand { display: inline-flex; flex: none; padding: 8px 0; color: var(--deep-forest); }
.brand__logo { width: 132px; height: auto; fill: currentColor; }

/* Menú: en el teléfono se despliega bajo la cabecera; en pantallas anchas va en línea */
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 8px var(--gutter) 16px;
  border-bottom: 1px solid var(--hairline);
  background: var(--ivory);
}
.site-nav.is-open { display: block; }
.site-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--onyx);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
}
.site-nav li:last-child a { border-bottom: 0; }

.menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--deep-forest);
  cursor: pointer;
}
.menu-button:hover { box-shadow: inset 0 0 0 2px var(--deep-forest); }
.menu-button__close,
.menu-button[aria-expanded="true"] .menu-button__open { display: none; }
.menu-button[aria-expanded="true"] .menu-button__close { display: block; }

.header-download { display: none; }

/* Selector de idioma: dos opciones a la vista; la elegida, Deep Forest con texto Ivory */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
}
.lang-switch__icon { display: none; width: 20px; height: 20px; margin: 0 4px 0 8px; color: var(--deep-forest); }
.lang-switch__option {
  min-width: 40px;
  height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--onyx);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}
.lang-switch__option:hover { box-shadow: inset 0 0 0 2px var(--deep-forest); }
.lang-switch__option[aria-pressed="true"] { background: var(--deep-forest); color: var(--ivory); }

.lang-switch--on-dark { background: transparent; box-shadow: inset 0 0 0 1px var(--hairline-on-dark); }
.lang-switch--on-dark .lang-switch__icon { display: block; color: var(--mist-light); }
.lang-switch--on-dark .lang-switch__option { color: var(--ivory); }
.lang-switch--on-dark .lang-switch__option:hover { box-shadow: inset 0 0 0 2px var(--volt); }
.lang-switch--on-dark .lang-switch__option[aria-pressed="true"] { background: var(--volt); color: var(--deep-forest); }

@media (min-width: 600px) {
  .brand__logo { width: 155px; }
  .lang-switch__icon { display: block; }
  .lang-switch__option { min-width: 44px; padding: 0 12px; }
  .header-download { display: inline-flex; }
}

@media (min-width: 1100px) {
  .site-nav {
    display: block;
    position: static;
    padding: 0;
    border: 0;
    background: none;
  }
  .site-nav ul { display: flex; gap: 2px; }
  .site-nav a {
    padding: 10px 12px;
    border: 0;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 500;
  }
  .site-nav a:hover { background: var(--surface); color: var(--deep-forest); }
  .menu-button { display: none; }
}

.noscript { padding-block: 32px; }
.noscript p + p { margin-top: 8px; }

/* ---------- Hero ---------- */

.hero { padding-block: 40px 56px; }
.hero__grid { display: grid; gap: 40px; }

.hero__copy { display: flex; flex-direction: column; align-items: flex-start; }
.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.25rem, 1.2rem + 4.4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
}
.lead {
  max-width: 34em;
  margin-top: 20px;
  color: var(--ink-secondary);
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.hero .stores { width: 100%; margin-top: 32px; }
.hero .store { flex: 1 1 100%; }   /* En el teléfono, un botón por línea */
.note { margin-top: 16px; color: var(--ink-secondary); font-size: 0.875rem; line-height: 1.25rem; }

@media (min-width: 480px) {
  .hero .store { flex: 0 1 auto; }
}

@media (min-width: 900px) {
  .hero { padding-block: 64px 72px; }
  .hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: center;
    gap: 64px;
  }
  .hero__visual { padding: 40px 32px 24px; }
}

/* ---------- Secciones ---------- */

.section { padding-block: 56px; }
.section--ruled { border-top: 1px solid var(--hairline); }
.section--after { padding-top: 0; }   /* Continúa a la sección anterior: sin aire arriba */

.section-head { max-width: 44rem; margin-bottom: 36px; }
.section-head h2,
.split h2,
.zones h2,
.about h2,
.drivers h2,
.faq h2,
.contact h2 {
  margin-top: 12px;
  font-size: clamp(1.75rem, 1.25rem + 2.1vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.022em;
}
.section-head__lead,
.split__lead {
  margin-top: 14px;
  color: var(--ink-secondary);
  font-size: 1.0625rem;
  line-height: 1.625rem;
}

@media (min-width: 900px) {
  .section { padding-block: 88px; }
  .section--after { padding-top: 0; }
  .section-head { margin-bottom: 48px; }
}

/* ---------- Viajes ---------- */

.ways { display: grid; gap: 16px; }
.way {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px;
  border-radius: var(--radius-panel);
  background: var(--surface);
  scroll-margin-top: calc(var(--header-height) + 16px);
}
.way h3 { margin-top: 20px; font-size: 1.5rem; line-height: 2rem; letter-spacing: -0.016em; }
.way__body { margin-top: 8px; color: var(--ink-secondary); font-size: 1.0625rem; line-height: 1.625rem; }
.way .checks { width: 100%; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--hairline); }

@media (min-width: 900px) {
  .ways { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .way { padding: 32px 28px; }
}

/* ---------- Cómo funciona ---------- */

.steps { display: grid; gap: 28px 32px; }
.step { padding-top: 24px; border-top: 1px solid var(--hairline); }
.step--last .step__num { border-radius: 12px; background: var(--deep-forest); color: var(--ivory); }
.step h3 { margin-top: 16px; font-size: 1.25rem; line-height: 1.75rem; letter-spacing: -0.012em; }
.step p { margin-top: 8px; color: var(--ink-secondary); }

@media (min-width: 600px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
}

/* ---------- Texto a un lado y teléfono al otro ---------- */

.split { display: grid; gap: 36px; }
.split .checks { margin-top: 28px; }
.split .fineprint { max-width: 34em; margin-top: 20px; }

@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: center; gap: 72px; }
  .split--reverse { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
  .split--reverse .split__visual { order: -1; }
  .split__visual { padding: 40px 32px 24px; }
}

/* El desglose, sin importes: tarifa del viaje + tarifa de servicio = total */
.formula { display: grid; gap: 8px; max-width: 420px; margin-top: 32px; }
.formula__term {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 18px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--white);
  color: var(--onyx);
  font-weight: 600;
}
.formula__op {
  align-self: center;
  color: var(--deep-forest);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25rem;
  text-align: center;
}
.formula__term--total { border-color: var(--deep-forest); background: var(--deep-forest); color: var(--ivory); font-size: 1.125rem; font-weight: 700; }
.formula__term--total small { display: block; margin-top: 2px; color: var(--mist-light); font-size: 0.875rem; font-weight: 500; }

@media (min-width: 600px) {
  .formula {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.3fr);
    gap: 10px;
    max-width: 640px;
  }
  .formula__term { padding: 14px; font-size: 0.9375rem; }
  .formula__term--total { font-size: 1.0625rem; }
  .formula__term--total small { font-size: 0.8125rem; }
}

/* ---------- Vehículos ---------- */

.vehicles { display: grid; gap: 16px; }
.vehicle {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-panel);
  background: var(--white);
}
.vehicle__art { padding: 28px 24px 16px; background: var(--surface); }
.vehicle__art svg { width: min(260px, 100%); height: auto; margin-inline: auto; }
.vehicle__info { padding: 20px 24px 24px; }
.vehicle h3 { font-size: 1.375rem; line-height: 1.75rem; letter-spacing: -0.014em; }
.vehicle__info > p { margin-top: 2px; color: var(--ink-secondary); }
.vehicle__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; }
.vehicle__meta li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.vehicle__meta .icon { color: var(--ink-secondary); }

@media (min-width: 600px) {
  .vehicles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}

/* ---------- Tarjetas (pago) ---------- */

.cards { display: grid; gap: 16px; }
.card {
  padding: 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: var(--white);
}
.card h3 { margin-top: 20px; font-size: 1.125rem; line-height: 1.5rem; letter-spacing: -0.01em; }
.card p { margin-top: 8px; color: var(--ink-secondary); font-size: 0.9375rem; line-height: 1.375rem; }

@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Seguridad ---------- */

.points { display: grid; gap: 28px 40px; }
.point { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; }
.point h3 { font-size: 1.125rem; line-height: 1.5rem; letter-spacing: -0.01em; }
.point p { margin-top: 6px; color: var(--ink-secondary); }

@media (min-width: 600px) {
  .points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
}

/* ---------- Zonas ---------- */

.zones { display: grid; gap: 28px; }
.zones__lead { margin-top: 14px; color: var(--ink-secondary); font-size: 1.0625rem; line-height: 1.625rem; }
.zones .fineprint { max-width: 34em; margin-top: 20px; }

@media (min-width: 900px) {
  .zones { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; gap: 64px; }
}

/* Como los filtros de zona de la app */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 10px 16px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25rem;
}

/* ---------- Sobre Tuvairo ---------- */

.about { display: grid; gap: 20px; }
.about h2 { max-width: 16em; }
.about__body { max-width: 34em; color: var(--onyx); font-size: 1.125rem; line-height: 1.75rem; }

@media (min-width: 900px) {
  .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 64px; }
}

/* ---------- Conductores ---------- */

.drivers {
  display: grid;
  gap: 32px;
  padding: 32px 24px;
  border-radius: var(--radius-panel);
  background: var(--surface);
}
.drivers__lead { max-width: 30em; margin-top: 14px; color: var(--ink-secondary); font-size: 1.0625rem; line-height: 1.625rem; }
.drivers .button { margin-top: 28px; }
.drivers__steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding-block: 18px;
  border-top: 1px solid var(--hairline);
}
.drivers__steps li:first-child { padding-top: 0; border-top: 0; }
.drivers__steps li:last-child { padding-bottom: 0; }
.drivers__steps .step__num { background: var(--white); }
.drivers__steps h3 { font-size: 1.125rem; line-height: 1.5rem; letter-spacing: -0.01em; }
.drivers__steps p { margin-top: 4px; color: var(--ink-secondary); }

@media (min-width: 900px) {
  .drivers { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; padding: 56px; }
}

/* ---------- Preguntas frecuentes ---------- */

.faq { display: grid; gap: 28px; }
.faq__lead { margin-top: 14px; }
.faq__list { display: grid; gap: 8px; }

.qa {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: var(--white);
}
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-card);
  color: var(--deep-forest);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { background: var(--ivory); }
.qa[open] summary { border-radius: var(--radius-card) var(--radius-card) 0 0; }
.qa__chevron { color: var(--deep-forest); }
.qa[open] .qa__chevron { transform: rotate(180deg); }
.qa p { padding: 0 20px 20px; color: var(--ink-secondary); }

@media (min-width: 900px) {
  .faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; gap: 64px; }
  .faq__head { position: sticky; top: calc(var(--header-height) + 32px); }
}

/* ---------- Descarga y contacto ---------- */

.closing__grid { display: grid; gap: 16px; }

/* Bloque oscuro: aquí y en el pie es donde aparece Volt */
.download {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px 24px;
  border-radius: var(--radius-panel);
  background: var(--deep-forest);
  color: var(--ivory);
  scroll-margin-top: calc(var(--header-height) + 16px);
}
.download :focus-visible { outline-color: var(--volt); }
.download__logo { width: 155px; height: 24px; fill: var(--volt); }
.download h2 {
  margin-top: 28px;
  color: var(--ivory);
  font-size: clamp(1.75rem, 1.25rem + 2.1vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.022em;
}
.download__body { max-width: 30em; margin-top: 14px; color: var(--mist-light); font-size: 1.0625rem; line-height: 1.625rem; }
.download .stores { margin-top: 28px; }
.download .store { flex: 1 1 100%; }
.download__tagline { margin-top: 24px; color: var(--volt); font-size: 1.0625rem; font-weight: 600; }
.download__art { width: 100%; max-width: 360px; height: auto; margin: auto auto 0; }
.download__route { fill: none; stroke: var(--volt); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 0.01 9; }

.contact {
  display: grid;
  gap: 28px;
  padding: 32px 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-panel);
  background: var(--white);
  scroll-margin-top: calc(var(--header-height) + 16px);
}
.contact__reach { min-width: 0; }
.contact__body { max-width: 30em; margin-top: 14px; color: var(--ink-secondary); font-size: 1.0625rem; line-height: 1.625rem; }
.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  color: var(--deep-forest);
  font-size: clamp(1.125rem, 0.9rem + 1.1vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.contact__email span { min-width: 0; overflow-wrap: anywhere; }
.contact__email:hover { text-decoration-thickness: 3px; }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 20px; }
.contact__status { color: var(--ink-secondary); font-size: 0.875rem; font-weight: 600; line-height: 1.25rem; }

@media (min-width: 480px) {
  .download .store { flex: 0 1 auto; }
}

@media (min-width: 900px) {
  .closing__grid { gap: 24px; }
  .download { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); align-items: center; gap: 56px; padding: 56px; }
  .download__art { margin: 0; }
  .contact { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 56px; padding: 48px 56px; }
}

/* ---------- Pie ---------- */

.site-footer { padding-block: 48px 28px; background: var(--deep-forest); color: var(--ivory); }
.site-footer :focus-visible { outline-color: var(--volt); }
.site-footer .brand { color: var(--volt); }
.site-footer .brand__logo { width: 155px; }
.site-footer__top { display: grid; gap: 36px; }
.site-footer__brand p { margin-top: 8px; color: var(--mist-light); }
.site-footer__mail {
  display: inline-block;
  margin-top: 16px;
  color: var(--ivory);
  font-weight: 600;
  text-underline-offset: 4px;
}
.site-footer__mail:hover { color: var(--volt); }
.site-footer h2 {
  color: var(--mist-light);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.site-footer__nav ul { margin-top: 12px; }
.site-footer__nav a {
  display: inline-block;
  padding: 6px 0;
  color: var(--ivory);
  font-size: 0.9375rem;
  text-decoration: none;
}
.site-footer__nav a:hover { color: var(--volt); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__app .stores { margin-top: 16px; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline-on-dark);
  color: var(--mist-light);
  font-size: 0.8125rem;
  line-height: 1.25rem;
}
.site-footer__bottom a { color: var(--ivory); font-weight: 600; text-underline-offset: 3px; }
.site-footer__bottom a:hover { color: var(--volt); }

@media (min-width: 600px) {
  .site-footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .site-footer { padding-block: 72px 32px; }
  .site-footer__top { grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr) auto; gap: 64px; }
}

/* ---------- Movimiento ---------- */

/* Solo para quien no ha pedido reducirlo; sin él, la página se ve igual y no se mueve nada. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .button, .store, .lang-switch__option, .menu-button, .site-nav a, .qa summary {
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  }
  .qa__chevron { transition: transform 0.18s ease; }
  .skip-link { transition: transform 0.15s ease; }

  @keyframes rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes travel {
    to { stroke-dashoffset: -18.02; }
  }

  .hero__copy > * { animation: rise 0.5s ease-out both; }
  .hero__copy > :nth-child(2) { animation-delay: 0.05s; }
  .hero__copy > :nth-child(3) { animation-delay: 0.1s; }
  .hero__copy > :nth-child(4) { animation-delay: 0.15s; }
  .hero__copy > :nth-child(5) { animation-delay: 0.2s; }
  .hero__visual { animation: rise 0.6s ease-out 0.1s both; }

  .download__route { animation: travel 1.6s linear infinite; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header { position: static; }
  .lang-switch, .site-nav, .menu-button, .contact__actions { display: none; }
  .qa p { display: block; }
}
