/* ─────────────────────────────────────────────────────────────
   GOWY — Landing page styles
   Consume los tokens globales de /app/assets/css/base/tokens.css.
   NO redefine variables: solo las consume (--color-*, --font-*,
   --space-*, --radius-*, --tint-*, --shadow-*, --ease-*).
   Tema oscuro, mismo espíritu que la PWA.
───────────────────────────────────────────────────────────── */

/* ── Base layout ──────────────────────────────────────────────── */
body {
  background-color: var(--color-background);
  color: var(--color-on-surface);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.ti { font-size: 1.25em; line-height: 1; }

/* Container helper */
.header-inner,
.hero-inner,
.section-head,
.servicios-grid,
.tab-panel,
.ingreso-inner,
.selector,
.form-shell,
.contacto-grid,
.footer-inner {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--space-6);
}

section { padding-block: clamp(56px, 9vw, 112px); position: relative; }

/* ── Botones (consistentes con la app) ───────────────────────── */
.btn-primary,
.btn-secondary,
.btn-card,
.btn-store {
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  transition: var(--ease-base);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-button);
  color: var(--color-on-primary);
  padding: 14px 22px;
  font-size: var(--text-base);
  box-shadow: var(--shadow-cyan-sm), 0 8px 24px -8px rgba(0,240,255,.55);
  transition: box-shadow 0.2s, transform 0.2s;
}
.btn-primary:hover { box-shadow: var(--shadow-cyan-md), 0 8px 24px -8px rgba(0,240,255,.55); transform: translateY(-1px); }
.btn-primary:active { transform: scale(.98); }

.btn-secondary {
  background: var(--overlay-soft);
  color: var(--color-on-surface);
  border: 1.5px solid var(--color-border);
  padding: 14px 22px;
  font-size: var(--text-base);
}
.btn-secondary:hover { border-color: var(--color-primary); color: var(--color-primary); }

.btn-large { padding: 16px 28px; font-size: var(--text-lg); border-radius: var(--radius-lg); }
.btn-full  { width: 100%; padding: 16px 24px; font-size: var(--text-base); }

/* ── Acento de marca ─────────────────────────────────────────── */
.text-accent { color: var(--color-primary); }

/* ─────────────────────────────────────────────────────────────
   [1] HEADER
───────────────────────────────────────────────────────────── */
#gowy-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--gowy-navy);   /* siempre oscuro (light o dark) */
  transition: var(--ease-base);

  /* El header se mantiene oscuro en ambos temas: forzamos los tokens
     del subárbol a sus valores dark para conservar el contraste. */
  --color-background: #121525;
  --color-surface:    #1A1D2E;
  --color-on-surface: #FFFFFF;
  --color-secondary:  rgba(255,255,255,0.72);
  --color-border:     rgba(255,255,255,0.08);
  --overlay-soft:     rgba(255,255,255,0.06);
}
#gowy-header.header-scrolled {
  background-color: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.10);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: calc(var(--space-4) + 2.5px);   /* +5px de altura total */
}
.header-logo img { height: 30px; width: auto; }

#nav-principal {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-base);
  color: var(--color-secondary);
  transition: var(--ease-base);
}
.nav-link:hover { color: var(--color-on-surface); }
.nav-cta { color: var(--color-on-primary); }
.nav-cta-secondary { color: var(--color-on-surface); }

/* Logo y botón de cierre del drawer: solo visibles en el menú móvil */
.nav-drawer-logo,
.nav-drawer-close { display: none; }
/* Iconos de servicio: solo en el drawer móvil, no en la barra de escritorio */
.nav-link__icon { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Theme toggle (light / dark) */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--overlay-soft);
  border: 0.5px solid var(--color-border);
  color: var(--color-on-surface);
  cursor: pointer;
  transition: var(--ease-base);
}
.theme-toggle:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-toggle .ti { font-size: 18px; }

/* Language switcher (custom dropdown con banderas) */
.lang-switch { position: relative; }
.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 10px;
  background: var(--overlay-soft);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-on-surface);
  cursor: pointer;
  transition: var(--ease-base);
}
.lang-current:hover { border-color: var(--color-primary); }
.lang-current .ti { font-size: 15px; color: var(--color-secondary); transition: var(--ease-base); }
.lang-switch.open .lang-current .ti { transform: rotate(180deg); }
.lang-code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: .04em;
}
.lang-flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  list-style: none;
  background: var(--color-surface);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: var(--shadow-md);
  z-index: 120;
}
.lang-menu[hidden] { display: none; }
.lang-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: var(--text-base);
  color: var(--color-secondary);
  transition: var(--ease-base);
}
.lang-opt:hover { background: var(--overlay-soft); color: var(--color-on-surface); }
.lang-opt[aria-selected="true"] { color: var(--color-primary); }

#btn-menu-mobile {
  display: none;
  background: var(--overlay-soft);
  border: 0.5px solid var(--color-border);
  color: var(--color-on-surface);
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  font-size: 22px;
  align-items: center;
  justify-content: center;
}

/* Wordmark "gowy" dentro del título de servicios */
.gowy-word {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: lowercase;
}
.gowy-word__accent { color: var(--color-primary); }

/* ─────────────────────────────────────────────────────────────
   [2A] HERO
───────────────────────────────────────────────────────────── */
#hero { padding-top: clamp(40px, 6vw, 72px); overflow: hidden; }
.hero-glow {
  position: absolute;
  top: -20%; left: 50%;
  width: 900px; height: 900px;
  max-width: 130vw;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0,240,255,.18) 0%, rgba(0,240,255,.05) 35%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: .04em;
  color: var(--color-primary);
  background: var(--tint-primary);
  border: 0.5px solid rgba(0,240,255,.30);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 6vw, var(--text-hero));
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
}
.hero-sub {
  font-size: clamp(var(--text-base), 2.2vw, var(--text-lg));
  color: var(--color-secondary);
  max-width: 32em;
  margin-bottom: var(--space-6);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-muted);
}
.hero-trust .ti { color: var(--color-primary); }

/* ── Maqueta del dispositivo (CSS puro) ──────────────────────── */
.hero-device { display: flex; justify-content: center; }
.device-frame {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 300 / 620;
  background: #05080F;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(0,240,255,.12);
  animation: device-float 6s ease-in-out infinite;
}
@keyframes device-float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}
.device-notch {
  position: absolute;
  top: 12px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 26px;
  background: #05080F;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.device-screen {
  width: 100%; height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: var(--color-background);
  display: flex;
  flex-direction: column;
}
/* Variante: pantalla del teléfono ocupada por una app embebida (iframe) */
.device-screen--app { background: #121525; }
.device-app-frame {
  flex: 1;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.device-map {
  position: relative;
  flex: 1;
  background:
    radial-gradient(circle at 30% 20%, rgba(0,240,255,.10), transparent 40%),
    repeating-linear-gradient(0deg,  rgba(255,255,255,.04) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 26px),
    var(--color-surface);
}
.map-route {
  position: absolute;
  left: 26%; top: 28%;
  width: 46%; height: 34%;
  border-left: 3px dashed var(--color-primary);
  border-bottom: 3px dashed var(--color-primary);
  border-bottom-left-radius: 28px;
  opacity: .85;
}
.map-pin { position: absolute; color: var(--color-primary); font-size: 22px; }
.map-pin--a { left: 24%; top: 24%; color: var(--color-on-surface); }
.map-pin--b { right: 22%; bottom: 30%; }
.device-card {
  margin: 10px;
  background: var(--color-surface-2);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.device-card__row { display: flex; align-items: center; gap: 10px; }
.device-avatar {
  width: 38px; height: 38px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.device-card__info { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.device-card__info strong { font-size: var(--text-sm); }
.device-card__info span { font-size: 11px; color: var(--color-muted); }
.device-rating {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-primary);
  display: inline-flex; align-items: center; gap: 3px;
}
.device-card__eta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--color-secondary);
  border-top: 0.5px solid var(--color-border);
  padding-top: 10px;
}
.device-card__eta strong { font-family: var(--font-mono); color: var(--color-on-surface); }
.device-cta {
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  padding: 10px;
  border-radius: var(--radius-md);
}

/* ─────────────────────────────────────────────────────────────
   Section heading
───────────────────────────────────────────────────────────── */
.section-head { text-align: center; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 {
  font-size: clamp(1.8rem, 4.5vw, var(--text-3xl));
  letter-spacing: -0.03em;
  margin-bottom: var(--space-3);
}
.section-head p {
  color: var(--color-secondary);
  font-size: var(--text-lg);
  max-width: 40em;
  margin-inline: auto;
}

/* ─────────────────────────────────────────────────────────────
   [2B] SERVICIOS
───────────────────────────────────────────────────────────── */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.servicio-card {
  position: relative;
  background: var(--color-surface);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: var(--ease-base);
}
.servicio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,240,255,.45);
  box-shadow: var(--shadow-md);
}
.servicio-card--feature {
  border-color: rgba(0,240,255,.45);
  background: linear-gradient(180deg, var(--tint-primary), var(--color-surface) 60%);
}
.servicio-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--tint-primary);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: var(--space-2);
}
.servicio-card h3 { font-size: var(--text-xl); }
.servicio-tag {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  font-size: var(--text-sm);
}
.servicio-desc { color: var(--color-secondary); font-size: var(--text-base); flex: 1; }
.servicio-who {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: .04em;
  color: var(--color-muted);
  text-transform: uppercase;
}
.btn-card {
  margin-top: var(--space-3);
  align-self: flex-start;
  background: transparent;
  color: var(--color-primary);
  font-size: var(--text-base);
  padding: 0;
}
.btn-card:hover { gap: var(--space-3); }
.btn-card .ti { font-size: 18px; transition: var(--ease-base); }

.badge-principal,
.badge-b2b {
  position: absolute;
  top: var(--space-4); right: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: .03em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.badge-principal { background: var(--color-primary); color: var(--color-on-primary); font-weight: 500; }
.badge-b2b { background: rgba(124,58,237,.20); color: #C4B5FD; border: 0.5px solid rgba(124,58,237,.4); }

/* ─────────────────────────────────────────────────────────────
   [2C] CÓMO FUNCIONA
───────────────────────────────────────────────────────────── */
.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--color-surface);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-full);
  margin: 0 auto clamp(32px, 5vw, 48px);
  width: max-content;
  max-width: 100%;
}
.tab-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-secondary);
  background: transparent;
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  transition: var(--ease-base);
}
.tab-btn.tab-active { background: var(--color-primary); color: var(--color-on-primary); }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--color-surface);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.step-num {
  position: absolute;
  top: var(--space-5); right: var(--space-5);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-2xl);
  color: var(--overlay-strong);
}
.step-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--tint-primary);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: var(--space-4);
}
.step h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.step p { color: var(--color-secondary); font-size: var(--text-base); }

/* ─────────────────────────────────────────────────────────────
   [2D] INGRESO A LA APP
───────────────────────────────────────────────────────────── */
#ingreso-app .ingreso-inner {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(0,240,255,.14), transparent 60%),
    var(--color-surface);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 7vw, 72px) var(--space-6);
  max-width: 880px;
}
.ingreso-inner h2 { font-size: clamp(1.8rem, 4.5vw, var(--text-3xl)); letter-spacing: -0.03em; margin-bottom: var(--space-3); }
.ingreso-inner > p { color: var(--color-secondary); font-size: var(--text-lg); max-width: 36em; margin: 0 auto var(--space-6); }
.store-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.btn-store {
  background: var(--overlay-soft);
  border: 0.5px solid var(--color-border);
  color: var(--color-on-surface);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  gap: var(--space-3);
}
.btn-store:hover { border-color: var(--color-primary); }
.btn-store .ti { font-size: 26px; }
.btn-store__txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.btn-store__txt small { font-family: var(--font-body); font-weight: 400; font-size: 10px; color: var(--color-muted); }
.btn-store__txt strong { font-size: var(--text-base); }
.ingreso-aux { margin-top: 10px; color: var(--color-muted); font-size: var(--text-sm); }

/* ─────────────────────────────────────────────────────────────
   [2E] ÚNETE — Selector + formularios
───────────────────────────────────────────────────────────── */
.selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.selector-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-secondary);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: var(--ease-base);
}
.selector-btn:hover { color: var(--color-on-surface); }
.selector-btn.selector-active {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: var(--tint-primary);
}

.form-shell { max-width: 820px; }
.form-card {
  background: var(--color-surface);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
}
.form-head { margin-bottom: var(--space-6); }
.form-head h3 { font-size: var(--text-2xl); letter-spacing: -0.02em; margin-bottom: var(--space-2); }
.form-head p { color: var(--color-secondary); font-size: var(--text-base); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field-label { font-size: var(--text-sm); font-weight: 500; color: var(--color-secondary); }

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: var(--color-on-surface);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--color-muted); }
.field select { appearance: none; cursor: pointer; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: var(--focus-ring);
}

.field input.field-error,
.field select.field-error,
.field textarea.field-error { border-color: var(--color-error); }
.field input.field-valid,
.field select.field-valid,
.field textarea.field-valid { border-color: rgba(34,197,94,.5); }

.field-msg { font-size: var(--text-xs); color: var(--color-error); min-height: 1em; }

/* radios / checkboxes */
.radio-field, .linea-field { border: none; padding: 0; }
.radio-row, .linea-row { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: 6px; }
.linea-row { flex-direction: column; gap: var(--space-2); }
.radio-opt, .linea-opt {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-base);
  color: var(--color-on-surface);
  cursor: pointer;
}
.linea-opt {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}
.linea-opt:hover { border-color: var(--color-primary); }
.radio-opt input, .linea-opt input { accent-color: var(--color-primary); width: 18px; height: 18px; }
.linea-field .field-label { margin-bottom: 4px; display: block; }

.form-card .btn-full { margin-top: var(--space-6); }
.form-legal { margin-top: var(--space-4); font-size: var(--text-xs); color: var(--color-muted); line-height: 1.6; }
.form-legal a { color: var(--color-secondary); text-decoration: underline; }

/* éxito */
.form-success {
  background: var(--color-surface);
  border: 0.5px solid rgba(34,197,94,.4);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
}
.form-success .success-icon {
  width: 64px; height: 64px;
  margin: 0 auto var(--space-4);
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-on-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 34px;
}
.form-success h3 { font-size: var(--text-2xl); margin-bottom: var(--space-2); }
.form-success p { color: var(--color-secondary); }

/* ─────────────────────────────────────────────────────────────
   [2F] CONTACTO
───────────────────────────────────────────────────────────── */
.contacto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.contacto-item {
  background: var(--color-surface);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: flex-start;
  transition: var(--ease-base);
  color: var(--color-on-surface);
}
a.contacto-item:hover { transform: translateY(-3px); border-color: rgba(0,240,255,.45); }
.contacto-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--tint-primary);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-2);
}
.contacto-item strong { font-family: var(--font-display); font-size: var(--text-lg); }
.contacto-item span { color: var(--color-secondary); }
.contacto-link {
  display: flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: var(--space-2);
  margin: var(--space-6) auto 0;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
}
.contacto-link:hover { gap: var(--space-3); }

/* ─────────────────────────────────────────────────────────────
   [3] FOOTER
───────────────────────────────────────────────────────────── */
#gowy-footer {
  background: #070C16;
  border-top: 0.5px solid var(--color-border);
  padding-block: 20px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-6);
}

/* Izquierda */
.footer-logo { height: 22px; width: auto; margin-bottom: 6px; display: block; }
.footer-brand p { color: var(--color-secondary); font-size: var(--text-sm); }
.footer-copy { color: var(--color-muted) !important; font-size: 11px !important; margin-top: 2px; }

/* Centro */
.footer-legal-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.footer-legal-nav a {
  color: var(--color-secondary);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color var(--ease-base);
}
.footer-legal-nav a:hover { color: var(--color-primary); }
.footer-sep { color: var(--color-muted); font-size: var(--text-sm); }

/* Derecha */
.footer-stores {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.footer-store-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255,255,255,.04);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-on-surface);
  text-decoration: none;
  transition: border-color var(--ease-base);
}
.footer-store-btn:hover { border-color: var(--color-primary); }
.footer-store-btn .ti { font-size: 20px; flex-shrink: 0; }
.footer-store-btn__txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.footer-store-btn__txt small { font-family: var(--font-body); font-weight: 400; font-size: 10px; color: var(--color-muted); }
.footer-store-btn__txt strong { font-size: var(--text-sm); }

/* ─────────────────────────────────────────────────────────────
   Animaciones al scroll
───────────────────────────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-animate="fade-in"] { transform: none; }
[data-animate].visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; transition: none; }
  .device-frame { animation: none; }
}

/* ─────────────────────────────────────────────────────────────
   Responsive
───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner   { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
  .footer-brand   { grid-column: 1; grid-row: 1; }
  .footer-stores  { grid-column: 2; grid-row: 1; justify-content: flex-end; }
  .footer-legal-nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; }
}

@media (max-width: 768px) {
  /* Nav móvil */
  #btn-menu-mobile { display: inline-flex; }
  #nav-principal {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 84vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: var(--space-2);
    /* Padding-top igual al top del botón de cierre → logo y resto del menú
       arrancan a la misma altura del icono de tres líneas. */
    padding: calc(var(--space-4) + 2.5px) var(--space-6) var(--space-6);
    /* El header siempre es oscuro (light o dark), así que el drawer móvil
       usa un fondo oscuro sólido explícito y no var(--color-surface), que
       en modo .light vale #FFFFFF y dejaba el menú transparente/claro. */
    background: #1A1D2E;
    border-left: 0.5px solid rgba(255, 255, 255, 0.10);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Por encima del header (z-index 100) para que el botón de cierre del
       drawer quede SOBRE el #btn-menu-mobile y ambos iconos se solapen. */
    z-index: 101;
  }
  #gowy-header.nav-open #nav-principal { transform: translateX(0); }
  #gowy-header.nav-open::after {
    content: "";
    position: fixed; inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 98;
  }
  .nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 12px 4px;
    font-size: var(--text-lg);
    border-bottom: 0.5px solid var(--color-border);
  }
  /* Icono representativo de cada servicio, a la izquierda del texto */
  .nav-link__icon { display: inline-flex; font-size: 22px; color: var(--color-primary); }
  .nav-cta { margin-top: var(--space-4); }
  .nav-cta, .nav-cta-secondary { width: 100%; }
  .nav-cta-secondary { margin-top: var(--space-2); }

  /* Logo del drawer: alineado al borde izquierdo, a la altura del icono */
  .nav-drawer-logo {
    display: block;
    align-self: flex-start;
    height: 56px;
    width: auto;
    margin-bottom: var(--space-5);
  }
  /* Botón de cierre: colocado en la MISMA posición que #btn-menu-mobile
     (mismo top y right) para que ambos iconos de tres líneas se solapen. */
  .nav-drawer-close {
    position: absolute;
    top: calc(var(--space-4) + 2.5px);
    right: var(--space-6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: var(--radius-md);
    background: var(--overlay-soft);
    border: 0.5px solid var(--color-border);
    color: var(--color-on-surface);
    font-size: 22px;
    cursor: pointer;
  }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-eyebrow { margin-inline: auto; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-device { order: -1; margin-bottom: var(--space-6); }

  .steps { grid-template-columns: 1fr; }
  .contacto-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .servicios-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-inner     { grid-template-columns: 1fr; }
  .footer-brand     { grid-column: 1; grid-row: 1; }
  .footer-legal-nav { grid-column: 1; grid-row: 2; justify-content: center; flex-wrap: wrap; }
  .footer-stores    { grid-column: 1; grid-row: 3; justify-content: center; }
  #gowy-footer      { padding-block: 12px; }
  .header-inner, .hero-inner, .section-head, .servicios-grid,
  .tab-panel, .ingreso-inner, .selector, .form-shell,
  .contacto-grid, .footer-inner { padding-inline: var(--space-4); }
  /* El header reduce su padding-inline a space-4 aquí; el botón de cierre
     sigue al #btn-menu-mobile para mantener el solape de ambos iconos. */
  .nav-drawer-close { right: var(--space-4); }
  .btn-large { width: 100%; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-large { width: 100%; }
}

/* ── Header dual-position CTAs ────────────────────────────────
   On desktop: nav-cta inside #nav-principal are drawer-only → hidden.
   On mobile:  nav-cta--desktop copies in header-actions → hidden.
───────────────────────────────────────────────────────────── */
@media (min-width: 769px) {
  #nav-principal .nav-cta,
  #nav-principal .nav-cta-secondary { display: none; }
}
@media (max-width: 768px) {
  .nav-cta--desktop { display: none; }
}

/* ─────────────────────────────────────────────────────────────
   [2A] HERO — carrusel de videos full-width (solo index.html)
───────────────────────────────────────────────────────────── */
#hero.hero--video {
  padding: 0;            /* full-bleed: anula section padding-block + #hero padding-top */
  overflow: hidden;
}
.hero-carousel {
  position: relative;
  width: 100%;
  height: clamp(460px, 82vh, 780px);
  background: var(--gowy-navy);
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  background: var(--gowy-navy);
}
.hero-slide.is-active { opacity: 1; }
.hero-slide__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Oscurecimiento para legibilidad del copy (más fuerte abajo) */
.hero-carousel__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,23,42,.45) 0%, rgba(15,23,42,.30) 40%, rgba(15,23,42,.88) 100%);
  pointer-events: none;
}
/* Copy + CTAs sobre el video */
.hero-carousel__content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  max-width: 1180px;
  margin-inline: auto;
  padding: 0 var(--space-6) clamp(48px, 8vh, 88px);
}
.hero-carousel__content h1 {
  font-size: clamp(2.2rem, 5.5vw, var(--text-hero));
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  max-width: 16ch;
  margin-bottom: var(--space-4);
}
.hero-carousel__content .hero-sub {
  font-size: clamp(var(--text-base), 2.2vw, var(--text-lg));
  color: rgba(255,255,255,.85);
  max-width: 34em;
  margin-bottom: var(--space-6);
}
.hero-carousel__content .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
/* Indicadores */
.hero-carousel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--space-5);
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.hero-carousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.40);
  cursor: pointer;
  transition: background var(--ease-base), width var(--ease-base);
}
.hero-carousel__dot.is-active {
  width: 26px;
  background: var(--color-primary);
}

@media (max-width: 768px) {
  .hero-carousel { height: clamp(440px, 78vh, 680px); }
  .hero-carousel__content { padding-inline: var(--space-4); }
}

/* ─────────────────────────────────────────────────────────────
   [2A] SERVICE GRID — bento selector de servicios
───────────────────────────────────────────────────────────── */
/* ── Wrapper que fija la primera pantalla a 100dvh ───────────── */
#viewport-screen {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;
}
/* Header y footer toman su altura natural; main del medio crece */
#viewport-screen > header,
#viewport-screen > footer { flex-shrink: 0; }
#viewport-screen > main   { flex: 1; min-height: 0; overflow: hidden; }

#svc-hero { padding: 0; background: var(--gowy-navy); height: 100%; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 5px;
  padding: 5px;
  height: 100%;
}

/* ── Card base ───────────────────────────────────────────────── */
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 0.5px solid rgba(255,255,255,0.07);
  text-decoration: none;
  color: #ffffff;
  overflow: hidden;
  background-color: var(--gowy-navy);  /* fallback mientras carga el video */
  transition: border-color 0.25s, transform 0.25s;
}
.svc-card:hover {
  border-color: rgba(0,240,255,0.50);
  transform: scale(1.018);
  z-index: 2;
}
.svc-card:hover .svc-card__arrow { opacity: 1; transform: translateX(0); }

/* Overlay oscuro sobre video/foto → texto siempre legible */
.svc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.32) 0%, rgba(15,23,42,0.82) 100%);
  z-index: 1;
  pointer-events: none;
}

/* ── Video de fondo ──────────────────────────────────────────── */
.svc-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* ── Content: icon + name + tag ─────────────────────────────── */
.svc-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.svc-card__icon {
  font-size: 26px;
  margin-bottom: 6px;
  flex-shrink: 0;
}
.svc-card__name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
}
.svc-card__tag {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.72);
  font-weight: 400;
}

/* ── Arrow (aparece en hover) ────────────────────────────────── */
.svc-card__arrow {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-size: 18px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 2;
  color: #ffffff;
}

/* ── Grid placements ─────────────────────────────────────────── */
.svc-card--rides  { grid-column: 1 / 3; grid-row: 1 / 3; }
.svc-card--pack   { grid-column: 1 / 2; grid-row: 3 / 5; }
.svc-card--people { grid-column: 2 / 3; grid-row: 3 / 5; }
.svc-card--eat    { grid-column: 3 / 4; grid-row: 1 / 5; }
.svc-card--tours  { grid-column: 4 / 5; grid-row: 1 / 3; }
.svc-card--drive  { grid-column: 4 / 5; grid-row: 3 / 5; }

/* Drive: foto estática (sin video disponible) */
.svc-card--drive {
  background-image: url('/data/images/roles/driver.png');
  background-size: cover;
  background-position: center 22%;
  border: none;
  transform: translateZ(0); /* fuerza GPU — elimina fringe de anti-aliasing */
}

/* ── Accent icon colors ──────────────────────────────────────── */
.svc-card--rides  .svc-card__icon { color: var(--color-primary); }
.svc-card--pack   .svc-card__icon { color: #93C5FD; }
.svc-card--people .svc-card__icon { color: #C4B5FD; }
.svc-card--eat    .svc-card__icon { color: #FCD34D; }
.svc-card--tours  .svc-card__icon { color: #6EE7B7; }
.svc-card--drive  .svc-card__icon { color: var(--color-primary); }

/* ── Rides: escala más grande ────────────────────────────────── */
.svc-card--rides .svc-card__icon  { font-size: 36px; }
.svc-card--rides .svc-card__name  { font-size: clamp(var(--text-lg), 2vw, var(--text-xl)); }
.svc-card--rides .svc-card__tag   { font-size: var(--text-sm); }
.svc-card--rides .svc-card__arrow { font-size: 22px; }

/* ── Tablet ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .svc-card  { padding: 14px; }
  .svc-card__icon { font-size: 22px; margin-bottom: 4px; }
  .svc-card--rides .svc-card__icon { font-size: 28px; }
  .svc-card__name { font-size: var(--text-sm); }
  .svc-card__tag  { font-size: 10px; }
}

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 4px;
    padding: 4px;
    /* height: 100% — hereda del #viewport-screen > main { flex: 1 } */
  }
  .svc-card         { min-height: 0; }
  .svc-card--rides  { grid-column: 1 / 3; grid-row: 1 / 3; min-height: 0; }
  .svc-card--pack   { grid-column: 1 / 2; grid-row: 3 / 4; }
  .svc-card--people { grid-column: 2 / 3; grid-row: 3 / 4; }
  .svc-card--eat    { grid-column: 1 / 2; grid-row: 4 / 5; }
  .svc-card--tours  { grid-column: 2 / 3; grid-row: 4 / 5; }
  .svc-card--drive  { grid-column: 1 / 3; grid-row: 5 / 6; }
}
