/* =========================================================
   AVALON SERVICIOS — DESIGN TOKENS + ESTILOS BASE
   Mockup v2.0 · 2026-05-15 · Refactor "Uber Black Premium"
   Paleta: #000000 + #FFFFFF + #5E5E5E · Tipografía: Manrope
   ========================================================= */

/* ============ TOKENS (modo oscuro — default "Uber Black") ============ */
:root {
  /* Fondos */
  --color-bg-page:      #000000;
  --color-surface:      #0E0E0E;
  --color-surface-alt:  #1A1A1A;
  --color-surface-hover: #242424;
  --color-navy:         #1A1A1A;
  --color-bg-light:     #FFFFFF;

  /* Textos */
  --color-text-primary: #FFFFFF;
  --color-text-inverse: #000000;
  --color-text-muted:   #5E5E5E;
  --color-text-soft:    rgba(255, 255, 255, 0.72);
  --color-text-softer:  rgba(255, 255, 255, 0.55);
  --color-text-dim:     rgba(255, 255, 255, 0.40);
  --color-text-faint:   rgba(255, 255, 255, 0.30);

  /* Marca — dorado uso ultra restringido (ver comentarios en componentes) */
  --color-brand:        #D1A01D;
  --color-brand-hover:  #E8B422;

  /* Acento sport — neutralizado a gris (sin rojo) */
  --color-accent-sport: #5E5E5E;

  /* Funcionales */
  --color-divider:      rgba(255, 255, 255, 0.12);
  --color-divider-navy: rgba(255, 255, 255, 0.18);
  --color-overlay:      rgba(0, 0, 0, 0.72);
  --color-overlay-heavy: rgba(0, 0, 0, 0.85);

  /* Estado */
  --color-focus:        #D1A01D;
  --color-error:        #CF2C2C;
  --color-success:      #1A7F4E;

  /* Tipografía — Manrope para todo */
  --font-display: 'Manrope', 'Inter', 'Helvetica Neue', 'Arial', sans-serif;
  --font-body:    'Manrope', 'Inter', 'Helvetica Neue', 'Arial', sans-serif;

  /* Escala */
  --fs-eyebrow:       0.72rem;
  --fs-body-sm:       0.875rem;
  --fs-body:          clamp(1rem, 1.1vw, 1.0625rem);
  --fs-body-lead:     clamp(1.0625rem, 1.4vw, 1.1875rem);
  --fs-card-title:    clamp(1.25rem, 2vw, 1.5rem);
  --fs-section-h3:    clamp(1.5rem, 2.8vw, 2rem);
  --fs-section-h2:    clamp(2rem, 4.5vw, 3.5rem);
  --fs-display-h1:    clamp(2.75rem, 6vw, 5rem);
  --fs-monument:      clamp(4rem, 9vw, 8rem);

  /* Line heights */
  --lh-hero:    0.95;
  --lh-display: 1.05;
  --lh-heading: 1.1;
  --lh-lead:    1.4;
  --lh-body:    1.65;

  /* Letter spacing — estilo Uber: casi sin tracking en headlines */
  --ls-eyebrow:  0.24em;
  --ls-display: -0.02em;
  --ls-heading: -0.01em;
  --ls-body:     0em;
  --ls-btn:      0em;

  /* Spacing */
  --space-section: clamp(4rem, 8vw, 7rem);
  --space-block:   clamp(2rem, 4vw, 3.5rem);
  --space-gutter:  clamp(1.25rem, 3vw, 2rem);
  --space-xs:      0.5rem;
  --space-sm:      1rem;
  --space-md:      1.5rem;
  --space-lg:      2.5rem;
  --space-xl:      4rem;

  /* Anchos */
  --max-content:   80rem;
  --max-prose:     42rem;
  --max-narrow:    32rem;

  /* Radii */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-pill: 999px;

  /* Sombras */
  --shadow-sm:   0 1px 2px rgba(0,0,0,0.5);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.6);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.7);
  --shadow-glow: none;

  /* Motion */
  --dur-fast:      220ms;
  --dur-medium:    400ms;
  --dur-slow:      700ms;
  --dur-cinematic: 1200ms;
  --ease-default:  cubic-bezier(0.4, 0, 0.2, 1);
  --ease-divine:   cubic-bezier(0.16, 1, 0.3, 1);

  /* Z-index */
  --z-nav:     50;
  --z-overlay: 100;

  /* Hero */
  --hero-height: 100svh;

  /* ---- tokens semánticos (modo oscuro) ---- */
  --color-surface-featured-hover: #242424;
  --color-nav-scrolled:           rgba(0, 0, 0, 0.92);
  --color-overlay-light:          rgba(255, 255, 255, 0.04);
  --color-btn-ghost-border:       rgba(255, 255, 255, 0.28);
  --color-falta-note:             #555555;
  --color-hero-overlay-0:         rgba(0, 0, 0, 0.40);
  --color-hero-overlay-1:         rgba(0, 0, 0, 0.60);
  --color-hero-overlay-2:         rgba(0, 0, 0, 0.85);
  --color-hero-gradient:          linear-gradient(135deg, #000000 0%, #1A1A1A 50%, #000000 100%);
  --color-page-hero-gradient:     linear-gradient(135deg, #000000 0%, #1A1A1A 100%);
  --color-mundial-hero-gradient:  linear-gradient(160deg, #000000 0%, #1A1A1A 40%, #000000 100%);
}

/* ============ TOKENS — MODO DÍA ("Uber White") ============
   Paleta B&W pura. Fondos blancos, textos negros.

   Contrastes WCAG validados:
   · #000000 sobre #FFFFFF → 21:1   AAA
   · #5E5E5E sobre #FFFFFF → 7.0:1  AAA
   · #5E5E5E sobre #000000 → 3.0:1  (borderline — solo usar en texto grande/secondary)
   · #D1A01D sobre #000000 → 7.6:1  AAA
   · #B8881A sobre #FFFFFF → 4.6:1  AA
   · #FFFFFF sobre #000000 → 21:1   AAA
   ============================================================ */
[data-theme="light"] {
  /* Fondos — blanco puro estilo Uber White */
  --color-bg-page:       #FFFFFF;
  --color-surface:       #FAFAFA;
  --color-surface-alt:   #F2F2F2;
  --color-surface-hover: #ECECEC;
  --color-navy:          #EEEEEE;
  --color-bg-light:      #FFFFFF;

  /* Textos */
  --color-text-primary:  #000000;
  --color-text-inverse:  #FFFFFF;
  --color-text-muted:    #5E5E5E;
  --color-text-soft:     rgba(0, 0, 0, 0.72);
  --color-text-softer:   rgba(0, 0, 0, 0.55);
  --color-text-dim:      rgba(0, 0, 0, 0.40);
  --color-text-faint:    rgba(0, 0, 0, 0.30);

  /* Dorado — ligeramente más oscuro para contraste AA sobre blanco */
  --color-brand:         #B8881A;
  --color-brand-hover:   #A07515;

  --color-accent-sport:  #5E5E5E;

  /* Funcionales */
  --color-divider:       rgba(0, 0, 0, 0.10);
  --color-divider-navy:  rgba(0, 0, 0, 0.15);
  --color-overlay:       rgba(255, 255, 255, 0.85);
  --color-overlay-heavy: rgba(255, 255, 255, 0.94);

  /* Estado */
  --color-focus:         #B8881A;
  --color-error:         #B01E1E;
  --color-success:       #155F3A;

  /* ---- tokens semánticos (modo día) ---- */
  --color-surface-featured-hover: #E0E0E0;
  --color-nav-scrolled:           rgba(255, 255, 255, 0.94);
  --color-overlay-light:          rgba(0, 0, 0, 0.04);
  --color-btn-ghost-border:       rgba(0, 0, 0, 0.22);
  --color-falta-note:             #888888;
  --color-hero-overlay-0:         rgba(0, 0, 0, 0.20);
  --color-hero-overlay-1:         rgba(0, 0, 0, 0.45);
  --color-hero-overlay-2:         rgba(0, 0, 0, 0.70);
  --color-hero-gradient:          linear-gradient(135deg, #FFFFFF 0%, #F0F0F0 50%, #FFFFFF 100%);
  --color-page-hero-gradient:     linear-gradient(135deg, #FFFFFF 0%, #F0F0F0 100%);
  --color-mundial-hero-gradient:  linear-gradient(160deg, #FFFFFF 0%, #F0F0F0 40%, #FFFFFF 100%);

  /* Sombras — más sutiles en modo claro */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.12);
  --shadow-glow: none;
}

/* ============ TRANSICIÓN GLOBAL DE TEMA ============
   Solo color/bg/border — NO transform/opacity para no romper las animaciones. */
body,
.nav,
.nav.scrolled,
.lang-dropdown,
.nav-drawer,
.flota-card,
.flota-card-placeholder,
.diptych-img-placeholder,
.servicio-card,
.paquete-card,
.section-dark,
.cta-cierre,
.footer,
.contact-channel-icon,
.form-group input,
.form-group textarea,
.form-group select {
  transition-property: color, background-color, border-color, box-shadow;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ BULLETPROOF SVG SIZING — evita SVGs gigantes ============
   Si un SVG no tiene width/height attribute, lo limitamos a un tamaño seguro.
   Esto previene casos donde un SVG sin dimensiones se renderiza al viewport.
*/
svg {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}
svg:not([width]):not([height]) {
  width: 1em;
  height: 1em;
}
/* Iconos dentro de labels SIEMPRE máximo 16px */
label svg,
.quote-field label svg,
.quote-widget label svg {
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0;
}
/* Iconos en botones siempre máximo 22px */
button svg,
.btn svg,
.quote-submit svg,
.mobile-sticky-cta svg {
  flex-shrink: 0;
  max-width: 22px;
  max-height: 22px;
}
/* Iconos en cards de servicio y estandar: 24px exacto */
.servicio-icon svg,
.estandar-card-icon svg {
  width: 24px !important;
  height: 24px !important;
}
/* Iconos en ruta-card: 14px */
.ruta-from-to svg {
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0;
}
/* Theme toggle svg: 18px */
.theme-toggle svg {
  width: 18px !important;
  height: 18px !important;
}
/* Lang picker svg: 16px */
.lang-picker > svg {
  width: 16px !important;
  height: 16px !important;
}
/* Contact channel: 20px */
.contact-channel-icon svg {
  width: 20px !important;
  height: 20px !important;
}
/* Nav drawer arrows: 16px */
.nav-drawer a span svg {
  width: 16px !important;
  height: 16px !important;
}

/* ============ SKIP LINK — accesibilidad keyboard ============ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-brand);
  color: #000000;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: 700;
  z-index: calc(var(--z-nav) + 10);
  transition: top 0.15s var(--ease-default);
  text-decoration: none;
}
.skip-link:focus {
  top: 0.75rem;
}

/* ============ LENIS SMOOTH SCROLL OVERRIDES ============
   Cuando Lenis está activo, deshabilita scroll-behavior nativo + setea overflow.
   Lenis agrega .lenis class al html cuando inicializa.
*/
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  background: var(--color-bg-page);
  color: var(--color-text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }

/* ============ TIPOGRAFÍA GLOBAL ============ */
/* Manrope para todo — Google Fonts cargado en cada HTML */
/* CJK / Arabic fallbacks */
[lang="ja"] body { font-family: 'Manrope', 'Noto Sans JP', sans-serif; }
[lang="ko"] body { font-family: 'Manrope', 'Noto Sans KR', sans-serif; }
[lang="zh-CN"] body, [lang="zh-Hans"] body { font-family: 'Manrope', 'Noto Sans SC', sans-serif; }
[lang="ar"] body { font-family: 'Cairo', 'Manrope', sans-serif; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
}
h1 { font-size: var(--fs-display-h1); line-height: var(--lh-hero); letter-spacing: var(--ls-display); font-weight: 700; }
h2 { font-size: var(--fs-section-h2); font-weight: 700; }
h3 { font-size: var(--fs-section-h3); font-weight: 700; }
p { line-height: var(--lh-body); }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 1rem;
}
/* Variante eyebrow apagado (gris) cuando no quieres el acento dorado */
.eyebrow--muted { color: var(--color-text-muted); }
.eyebrow--brand { color: var(--color-brand); }
.eyebrow--sport { color: var(--color-text-muted); }
.eyebrow--muted  { color: var(--color-text-muted); }

/* ============ LAYOUT ============ */
.container {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--space-gutter);
}
section { padding: var(--space-section) 0; }
.section-header { margin-bottom: var(--space-block); }
.section-header h2 { margin-top: 0.5rem; }
.section-header p { color: var(--color-text-muted); max-width: var(--max-prose); margin-top: 1rem; }

/* ============ BOTONES — Uber Black style ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: normal;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-default),
              transform var(--dur-fast) var(--ease-default),
              color var(--dur-fast) var(--ease-default),
              border-color var(--dur-fast) var(--ease-default);
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  text-transform: none;
}

/* ============================================================
   LIQUID GLASS SYSTEM — Apple iOS 18 (refracción real con SVG filter)
   Técnica: lens layer (::before) con backdrop-filter blur + SVG displacement
   + 10 box-shadows layered + variables --glass-reflex-light/dark
   El texto flota SOBRE el lens (sin afectarse por backdrop-filter)
   ============================================================ */

/* Variables globales del sistema (controlan intensidad luz/sombra) */
:root {
  --glass-reflex-light: 1;
  --glass-reflex-dark: 1;
}

/* ---- BASE LIQUID GLASS (clase reusable) ---- */
.liquid-glass {
  position: relative;
  isolation: isolate;
  background: transparent;
  color: #0A0A0A;
}
/* Lens layer — captura el background detrás SIN afectar el contenido */
.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px) url(#liquid-glass-filter) saturate(150%);
  -webkit-backdrop-filter: blur(8px) saturate(150%);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, white calc(var(--glass-reflex-light) * 10%), transparent),
    inset 1.8px 3px 0 -2px color-mix(in srgb, white calc(var(--glass-reflex-light) * 90%), transparent),
    inset -2px -2px 0 -2px color-mix(in srgb, white calc(var(--glass-reflex-light) * 80%), transparent),
    inset -3px -8px 1px -6px color-mix(in srgb, white calc(var(--glass-reflex-light) * 60%), transparent),
    inset -0.3px -1px 4px 0 color-mix(in srgb, black calc(var(--glass-reflex-dark) * 12%), transparent),
    inset -1.5px 2.5px 0 -2px color-mix(in srgb, black calc(var(--glass-reflex-dark) * 20%), transparent),
    inset 0 3px 4px -2px color-mix(in srgb, black calc(var(--glass-reflex-dark) * 20%), transparent),
    inset 2px -6.5px 1px -4px color-mix(in srgb, black calc(var(--glass-reflex-dark) * 10%), transparent),
    0 1px 5px 0 color-mix(in srgb, black calc(var(--glass-reflex-dark) * 10%), transparent),
    0 6px 16px 0 color-mix(in srgb, black calc(var(--glass-reflex-dark) * 8%), transparent);
  transition:
    background-color 400ms cubic-bezier(0.32, 0.72, 0.32, 1),
    box-shadow 400ms cubic-bezier(0.32, 0.72, 0.32, 1);
  pointer-events: none;
}
/* Texto flota arriba con sombra sutil para legibilidad */
.liquid-glass {
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
  transition:
    transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1),
    color 400ms cubic-bezier(0.32, 0.72, 0.32, 1);
}
/* Hover & active interactions */
@media (hover: hover) {
  .liquid-glass:not(:disabled):hover {
    transform: scale(1.03);
  }
}
.liquid-glass:not(:disabled):active {
  transform: scale(0.97);
}

/* ---- PRIMARY — negro sólido reactivo (sin glass) ---- */
.btn-primary {
  background: #0A0A0A;
  color: #FFFFFF;
  border: 1px solid #0A0A0A;
  box-shadow:
    0 4px 12px -2px rgba(0, 0, 0, 0.18),
    0 2px 4px -1px rgba(0, 0, 0, 0.08);
  transition:
    background 200ms cubic-bezier(0.32, 0.72, 0.32, 1),
    border-color 200ms cubic-bezier(0.32, 0.72, 0.32, 1),
    transform 200ms cubic-bezier(0.32, 0.72, 0.32, 1),
    box-shadow 250ms cubic-bezier(0.32, 0.72, 0.32, 1);
}
.btn-primary:hover {
  background: #1A1A1A;
  border-color: #1A1A1A;
  transform: translateY(-2px);
  box-shadow:
    0 10px 24px -4px rgba(0, 0, 0, 0.25),
    0 4px 8px -2px rgba(0, 0, 0, 0.12);
}
.btn-primary:active {
  transform: translateY(0);
  transition-duration: 100ms;
}

/* Primary — modo oscuro: blanco invertido */
[data-theme="dark"] .btn-primary {
  background: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
  box-shadow:
    0 4px 12px -2px rgba(0, 0, 0, 0.4),
    0 2px 4px -1px rgba(0, 0, 0, 0.2);
}
[data-theme="dark"] .btn-primary:hover {
  background: #E5E5E5;
  border-color: #E5E5E5;
}

/* ---- GHOST — outline negro reactivo ---- */
.btn-ghost {
  background: transparent;
  color: #0A0A0A;
  border: 1.5px solid rgba(0, 0, 0, 0.25);
  transition:
    background 200ms cubic-bezier(0.32, 0.72, 0.32, 1),
    border-color 200ms cubic-bezier(0.32, 0.72, 0.32, 1),
    color 200ms cubic-bezier(0.32, 0.72, 0.32, 1),
    transform 200ms cubic-bezier(0.32, 0.72, 0.32, 1);
}
.btn-ghost:hover {
  background: #0A0A0A;
  color: #FFFFFF;
  border-color: #0A0A0A;
  transform: translateY(-2px);
}
.btn-ghost:active {
  transform: translateY(0);
  transition-duration: 100ms;
}

/* Ghost — modo oscuro */
[data-theme="dark"] .btn-ghost {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
}
[data-theme="dark"] .btn-ghost:hover {
  background: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

/* Ghost cuando está SOBRE imagen del hero (necesita más contraste) */
.hero-visual .btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-visual .btn-ghost:hover {
  background: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.btn-sm { padding: 0.6rem 1.25rem; font-size: var(--fs-body-sm); }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--space-gutter);
  transition: background var(--dur-medium) var(--ease-default),
              border-color var(--dur-medium) var(--ease-default),
              backdrop-filter var(--dur-medium) var(--ease-default);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow:
    0 4px 16px -4px rgba(0, 0, 0, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
}
[data-theme="dark"] .nav.scrolled {
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 4px 16px -4px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

/* Logo — Manrope 700, sans, sin serif */
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo span {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--color-brand);
  display: block;
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
  transition: color var(--dur-fast) var(--ease-default);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a:hover { color: var(--color-text-primary); }
.nav-links a.active {
  color: var(--color-brand);
}
.nav-right { display: flex; align-items: center; gap: 1rem; }

/* Language picker */
.lang-picker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-body-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-default);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}
.lang-picker:hover { color: var(--color-text-primary); border-color: var(--color-divider); }
.lang-picker svg { width: 16px; height: 16px; flex-shrink: 0; }
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  min-width: 200px;
  box-shadow:
    0 20px 48px -12px rgba(0, 0, 0, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  z-index: 10;
}
[data-theme="dark"] .lang-dropdown {
  background: rgba(20, 20, 20, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 20px 48px -12px rgba(0, 0, 0, 0.6),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
}
.lang-picker:focus-within .lang-dropdown,
.lang-picker.open .lang-dropdown { display: block; }
.lang-dropdown a {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: var(--fs-body-sm);
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease-default), color var(--dur-fast) var(--ease-default);
}
.lang-dropdown a:hover { background: var(--color-overlay-light); color: var(--color-text-primary); }
.lang-dropdown a.current { color: var(--color-text-primary); font-weight: 600; }
.lang-dropdown .lang-group-label {
  padding: 4px 12px 2px;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  opacity: 0.6;
  margin-top: 0.5rem;
}
.lang-dropdown .lang-group-label:first-child { margin-top: 0; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-default);
}

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-bg-page);
  z-index: calc(var(--z-nav) - 1);
  padding: 6rem var(--space-gutter) var(--space-gutter);
  flex-direction: column;
  gap: 0.5rem;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-text-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-divider);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--dur-fast) var(--ease-default);
  letter-spacing: var(--ls-display);
}
.nav-drawer a:hover { color: var(--color-text-primary); }
.nav-drawer-cta { margin-top: 2rem; }

@media (max-width: 1023px) {
  .nav-links, .lang-picker { display: none; }
  .nav-toggle { display: flex; }
  .nav-right .btn { display: none; }
}

/* ============ HERO CINEMATICO ============ */
.hero {
  position: relative;
  width: 100%;
  height: var(--hero-height);
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-bg-page);
}
.hero-bg-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-video, .hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--color-hero-overlay-0) 0%,
    var(--color-hero-overlay-1) 40%,
    var(--color-hero-overlay-2) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--space-gutter);
  max-width: 900px;
}
.hero-content h1 {
  font-size: var(--fs-display-h1);
  line-height: var(--lh-hero);
  letter-spacing: var(--ls-display);
  color: var(--color-text-primary);
  margin: 0.75rem 0 1.25rem;
  font-weight: 800;
}
.hero-content .hero-sub {
  font-size: var(--fs-body-lead);
  color: var(--color-text-muted);
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: var(--lh-lead);
  font-weight: 300;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  font-size: var(--fs-body-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
.hero-scroll-hint svg { width: 20px; height: 20px; }

/* Hero para página interior (PageHero — menor altura) */
.page-hero {
  position: relative;
  padding: 8rem var(--space-gutter) 4rem;
  background: var(--color-bg-page);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.18; filter: grayscale(100%); }
.page-hero-content { position: relative; z-index: 1; max-width: var(--max-content); margin: 0 auto; }
.page-hero h1 { font-size: var(--fs-section-h2); color: var(--color-text-primary); margin: 0.5rem 0 1rem; font-weight: 700; }
.page-hero .page-hero-sub { font-size: var(--fs-body-lead); color: var(--color-text-muted); max-width: 580px; }

/* ============ BANNER FIEBRE FUTBOLERA CALLOUT ============ */
.callout-sport {
  background: var(--color-bg-page);
  border-left: 3px solid var(--color-text-muted);
  padding: var(--space-block) var(--space-gutter);
}
.callout-sport .badge {
  display: inline-block;
  background: var(--color-surface-alt);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}
.callout-sport h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin: 0.5rem 0 1rem; }
.callout-sport p { color: var(--color-text-muted); max-width: var(--max-prose); margin-bottom: 1.5rem; }
.callout-sport-inner { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; max-width: var(--max-content); margin: 0 auto; padding: 0 var(--space-gutter); }
@media (max-width: 768px) { .callout-sport-inner { grid-template-columns: 1fr; } }

/* ============ GRID DE FLOTA ============ */
.flota-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--color-divider);
}
.flota-card {
  background: var(--color-bg-page);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-default);
}
.flota-card:hover { background: var(--color-surface); }
.flota-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: var(--color-surface);
}
.flota-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter var(--dur-medium) var(--ease-default),
              transform var(--dur-medium) var(--ease-divine);
}
.flota-card:hover .flota-card-img img {
  filter: grayscale(40%);
  transform: scale(1.03);
}
.flota-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-alt);
  color: var(--color-text-muted);
  font-size: var(--fs-body-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
}
.flota-card-body { padding: 1.5rem; }
.flota-card-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border: 1px solid var(--color-divider);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}
.flota-card-body h3 { font-size: var(--fs-card-title); margin-bottom: 0.35rem; }
.flota-card-cap { font-size: var(--fs-body-sm); color: var(--color-text-muted); margin-bottom: 1rem; }
.flota-card-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.flota-tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  border: 1px solid var(--color-divider);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
/* Card del Volvo — ocupa 2 columnas */
.flota-card--wide { grid-column: span 2; }
.flota-card--wide .flota-card-img { aspect-ratio: 8/3; }

@media (max-width: 768px) {
  .flota-grid { grid-template-columns: 1fr; }
  .flota-card--wide { grid-column: span 1; }
  .flota-card--wide .flota-card-img { aspect-ratio: 4/3; }
}
@media (min-width: 769px) and (max-width: 1023px) {
  .flota-grid { grid-template-columns: repeat(2, 1fr); }
  .flota-card--wide { grid-column: span 2; }
}

/* ============ SERVICIOS CARDS ============ */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-divider);
}
.servicio-card {
  background: var(--color-surface);
  padding: var(--space-block);
  transition: background var(--dur-fast) var(--ease-default),
              transform var(--dur-fast) var(--ease-default),
              border-top-color var(--dur-fast) var(--ease-default);
  border-top: 2px solid transparent;
}
.servicio-card:hover {
  background: var(--color-surface-hover);
  border-top-color: var(--color-divider-navy);
}
.servicio-card--featured {
  background: var(--color-navy);
  border-top: 2px solid var(--color-divider-navy);
}
.servicio-card--featured:hover { background: var(--color-surface-featured-hover); }
.servicio-card--featured .eyebrow { color: var(--color-text-muted); }
/* En modo oscuro, textos de featured card sobre navy oscuro */
.servicio-card--featured p { color: rgba(255, 255, 255, 0.65); }
[data-theme="light"] .servicio-card--featured p { color: rgba(0, 0, 0, 0.65); }
.servicio-card h3 { font-size: var(--fs-section-h3); margin: 0.75rem 0 1rem; }
.servicio-card p { font-size: var(--fs-body); color: var(--color-text-muted); margin-bottom: 1.5rem; line-height: var(--lh-body); }
.servicio-card .falta-note { font-size: var(--fs-body-sm); color: var(--color-falta-note); font-style: italic; }
.servicio-card-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--color-surface-alt);
  color: var(--color-text-primary);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}
/* Dorado permitido en btn-text hover (sutil) */
.btn-text {
  font-size: var(--fs-body-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--dur-fast) var(--ease-default);
}
.btn-text:hover { color: var(--color-brand); }
@media (max-width: 1023px) { .servicios-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .servicios-grid { grid-template-columns: 1fr; } }

/* ============ STATS MONUMENTALES ============ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: var(--space-block) var(--space-gutter);
  border-right: 1px solid var(--color-divider);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: var(--fs-monument);
  font-weight: 800;
  color: var(--color-brand);
  line-height: 1;
  letter-spacing: -0.03em;
  display: block;
}
.stat-label {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--color-text-muted);
  display: block;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.stat-desc { font-size: var(--fs-body-sm); color: var(--color-text-muted); }
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: 1px solid var(--color-divider); border-bottom: 1px solid var(--color-divider); }
  .stat-item:nth-child(2n) { border-right: none; }
}
@media (max-width: 479px) { .stats-grid { grid-template-columns: 1fr; } }

/* ============ DIPTICO (sección nosotros) ============ */
.diptych {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 500px;
}
.diptych-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-section) var(--space-gutter) var(--space-section) calc(var(--space-gutter) * 2);
  background: var(--color-navy);
}
.diptych-text h2 { margin: 0.5rem 0 1.5rem; }
/* diptych-text — tokens semánticos para soporte modo día/noche */
.diptych-text, .diptych-text h2, .diptych-text h3 { color: var(--color-text-primary); }
.diptych-text p { color: var(--color-text-soft); max-width: var(--max-prose); margin-bottom: 1rem; }
.diptych-text p:last-of-type { margin-bottom: 2rem; }
.diptych-img {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
}
.diptych-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); }
.diptych-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-alt);
  color: var(--color-text-muted);
  font-size: var(--fs-body-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-height: 400px;
  padding: 2rem;
  text-align: center;
}
@media (max-width: 768px) {
  .diptych { grid-template-columns: 1fr; }
  .diptych-text { padding: var(--space-block) var(--space-gutter); }
  .diptych-img { min-height: 300px; }
}

/* ============ SECCIÓN CONTACTO HOME ============ */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { margin: 0.5rem 0 1.5rem; }
.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-divider);
}
.contact-channel:last-child { border-bottom: none; }
.contact-channel-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* Iconos de contacto — sin dorado, neutro */
.contact-channel-icon svg { width: 20px; height: 20px; color: var(--color-text-muted); }
.contact-channel-label { font-size: var(--fs-body-sm); color: var(--color-text-muted); }
.contact-channel-value { font-size: var(--fs-body); font-weight: 500; }
@media (max-width: 768px) { .contact-split { grid-template-columns: 1fr; } }

/* ============ FORMULARIO ============ */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: var(--fs-body-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color var(--dur-fast) var(--ease-default);
  appearance: none;
}
/* Focus — dorado permitido aquí (accesibilidad) */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
  border-color: var(--color-focus);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-text-muted); opacity: 0.6; }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 639px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: var(--fs-body-sm); color: var(--color-text-muted); margin-top: 1rem; }

/* ============ FOOTER ============ */
/* Footer siempre oscuro: #1A1A1A (navy token) — sello editorial en ambos modos */
.footer {
  background: #1A1A1A;
  padding: var(--space-section) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 0 var(--space-gutter);
  max-width: var(--max-content);
  margin: 0 auto;
}
/* Footer logo — Manrope 700, sans */
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
  color: #FFFFFF;
}
.footer-tagline { font-size: var(--fs-body-sm); color: rgba(255, 255, 255, 0.45); margin-bottom: 1.5rem; }
.footer-contact { font-size: var(--fs-body-sm); color: rgba(255, 255, 255, 0.60); }
.footer-contact a { display: block; margin-bottom: 0.35rem; transition: color var(--dur-fast) var(--ease-default); }
.footer-contact a:hover { color: #FFFFFF; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.40);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul a { font-size: var(--fs-body-sm); color: rgba(255, 255, 255, 0.55); transition: color var(--dur-fast) var(--ease-default); }
.footer-col ul a:hover { color: #FFFFFF; }
.footer-bottom {
  padding: 1.5rem var(--space-gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-content);
  margin-left: auto;
  margin-right: auto;
  margin-top: 3rem;
}
.footer-bottom-left { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; }
.footer-bottom-left span, .footer-bottom-left a { font-size: var(--fs-body-sm); color: rgba(255, 255, 255, 0.30); }
.footer-bottom-left a:hover { color: rgba(255, 255, 255, 0.60); }
.satma-credit {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  transition: color var(--dur-fast) var(--ease-default);
}
.satma-credit::after {
  content: '';
}
.satma-credit:hover { color: var(--color-brand); }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-bottom-left { flex-direction: column; gap: 0.5rem; align-items: center; }
}

/* ============ SECTION DARK ============ */
/* section-dark retiene negro/gris oscuro en ambos modos — sello editorial */
.section-dark { background: var(--color-navy); color: #FFFFFF; }
.section-dark h2,
.section-dark h3 { color: #FFFFFF; }
.section-dark .eyebrow { color: rgba(255, 255, 255, 0.50); }
.section-dark p { color: rgba(255, 255, 255, 0.65); }
.section-dark .stat-desc { color: rgba(255, 255, 255, 0.55); }
.section-dark .stat-label { color: rgba(255, 255, 255, 0.50); }
.section-dark .stat-number { color: var(--color-brand); }

/* ============ SECCIÓN CTA CIERRE ============ */
.cta-cierre {
  text-align: center;
  padding: var(--space-section) var(--space-gutter);
  background: var(--color-surface);
}
.cta-cierre h2 { margin: 0.5rem 0 1rem; }
.cta-cierre p { color: var(--color-text-muted); max-width: 480px; margin: 0 auto 2rem; }
.cta-cierre-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

[data-theme="light"] .cta-cierre { background: #FAFAFA; }

/* ============ HERO — modo día ============ */
[data-theme="light"] .hero { background: #F0F0F0; }
[data-theme="light"] .page-hero { background: #F5F5F5; }

/*
   Hero text siempre blanco — el hero tiene overlay oscuro en ambos modos,
   por lo que los textos del .hero-content deben ser #FFFFFF en ambos modos.
   WCAG: #FFFFFF sobre rgba(0,0,0,0.45–0.70) en fondo blanco → contraste ~3.5:1 a 21:1 AAA.
*/
[data-theme="light"] .hero-content h1,
[data-theme="light"] .hero-content .hero-sub,
[data-theme="light"] .hero-content .eyebrow {
  color: #FFFFFF;
}
[data-theme="light"] .hero-content .hero-sub {
  color: rgba(255, 255, 255, 0.75);
}
[data-theme="light"] .hero-scroll-hint {
  color: rgba(255, 255, 255, 0.60);
}

/* CALLOUT FIEBRE FUTBOLERA — modo día */
[data-theme="light"] .callout-sport { background: transparent; }

/* ============ FALTA INDICATORS ============ */
.falta {
  display: inline-block;
  background: rgba(100,100,100,0.12);
  border: 1px dashed rgba(100,100,100,0.4);
  color: #888888;
  font-size: var(--fs-body-sm);
  font-style: italic;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}
.falta-block {
  background: rgba(100,100,100,0.06);
  border: 1px dashed rgba(100,100,100,0.25);
  padding: 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  color: rgba(128,128,128,0.8);
  font-size: var(--fs-body-sm);
  font-style: italic;
}

/* ============ ANIMATION HELPERS ============ */
/*
  IMPORTANTE: [data-anim] NO pone opacity:0 aquí.
  GSAP controla el estado inicial (fromTo) y el estado final (clearProps).
  Si GSAP falla, los elementos son visibles por defecto (opacity: 1).
  El fallback de 3s en motion.js fuerza visibilidad si algo salió mal.
*/
[data-anim] {
  /* Sin opacity:0 — GSAP lo setea al inicializar la animación */
  will-change: opacity, transform;
}

@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1 !important; transform: none !important; transition: none !important; will-change: auto !important; }
  .hero-scroll-hint { animation: none; }
}

/* ============ BILINGÜE EM (Fiebre Futbolera 2026 y headings mixtos) ============ */
.h2-sub-em {
  font-style: italic;
  font-size: 0.8em;
  color: var(--color-text-softer);
}

/* ============ UTILS ============ */
.text-brand { color: var(--color-brand); }
.text-muted { color: var(--color-text-muted); }
.mt-block { margin-top: var(--space-block); }
.mt-section { margin-top: var(--space-section); }
.mb-block { margin-bottom: var(--space-block); }

/* ============ PÁGINA FIEBRE FUTBOLERA — variante deportiva (monocromática) ============ */
/* Sin rojo — acento es solo borde divisor neutro */
.mundial-accent { border-left: 3px solid var(--color-text-muted); padding-left: 1.5rem; }
.mundial-paquetes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-divider);
}
.paquete-card {
  background: var(--color-surface);
  padding: var(--space-block);
}
.paquete-card h3 { font-size: var(--fs-section-h3); margin: 0.75rem 0 0.75rem; }
.paquete-card .paquete-precio {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}
.paquete-card p { color: var(--color-text-muted); font-size: var(--fs-body); margin-bottom: 1.5rem; }
@media (max-width: 768px) { .mundial-paquetes { grid-template-columns: 1fr; } }

/* ============ PASOS (how it works) ============ */
.pasos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: paso;
}
.paso-item {
  counter-increment: paso;
}
.paso-item::before {
  content: counter(paso, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: var(--fs-monument);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.06);
  display: block;
  line-height: 1;
  margin-bottom: 1rem;
}
[data-theme="light"] .paso-item::before {
  color: rgba(0, 0, 0, 0.06);
}
.paso-item h3 { font-size: var(--fs-section-h3); margin-bottom: 0.75rem; }
.paso-item p { color: var(--color-text-muted); font-size: var(--fs-body); }
@media (max-width: 768px) { .pasos-grid { grid-template-columns: 1fr; } }

/* ============ HERO GRADIENT PLACEHOLDERS ============ */
.hero-gradient-bg {
  width: 100%;
  height: 100%;
  background: var(--color-hero-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero-gradient-bg {
  width: 100%;
  height: 100%;
  background: var(--color-page-hero-gradient);
}
.mundial-hero-gradient-bg {
  width: 100%;
  height: 100%;
  background: var(--color-mundial-hero-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ============ FLOTA — IMG REAL ============ */
.flota-card-img-wrap {
  width: 100%;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
  background: var(--color-surface-alt);
  position: relative;
}
.flota-card-img-wrap img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--dur-medium) var(--ease-default), filter var(--dur-medium) var(--ease-default);
}
.flota-card:hover .flota-card-img-wrap img,
.flota-card-img:hover img {
  transform: scale(1.04);
}
[data-theme="light"] .flota-card-img-wrap img {
  filter: brightness(1.05);
}

/* ============ THEME TOGGLE BUTTON ============ */
/* Theme toggle — Liquid Glass mini button */
.theme-toggle {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: transparent;
  border: 0;
  color: var(--color-text-primary);
  cursor: pointer;
  transition:
    color 300ms cubic-bezier(0.32, 0.72, 0.32, 1),
    transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
  margin-right: 0.5rem;
}
.theme-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px) url(#liquid-glass-filter) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.4),
    inset 1.8px 3px 0 -2px rgba(255, 255, 255, 0.9),
    inset -2px -2px 0 -2px rgba(255, 255, 255, 0.7),
    inset 0 3px 4px -2px rgba(0, 0, 0, 0.12),
    inset 2px -6.5px 1px -4px rgba(0, 0, 0, 0.08),
    0 4px 12px -4px rgba(0, 0, 0, 0.1);
  transition:
    background-color 400ms cubic-bezier(0.32, 0.72, 0.32, 1),
    box-shadow 400ms cubic-bezier(0.32, 0.72, 0.32, 1);
  pointer-events: none;
}
.theme-toggle:hover {
  color: var(--color-brand);
  transform: rotate(20deg) scale(1.05);
}
.theme-toggle:hover::before {
  background-color: rgba(255, 255, 255, 0.7);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}
[data-theme="dark"] .theme-toggle::before {
  background-color: rgba(30, 30, 30, 0.5);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.15),
    inset 1.8px 3px 0 -2px rgba(255, 255, 255, 0.25),
    inset -2px -2px 0 -2px rgba(255, 255, 255, 0.18),
    inset 0 3px 4px -2px rgba(0, 0, 0, 0.4),
    0 4px 12px -4px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .theme-toggle:hover::before {
  background-color: rgba(50, 50, 50, 0.7);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
  pointer-events: none;
}

/* ============ KEYFRAMES ============ */
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============ RTL (Arabic — dir="rtl") ============ */
[dir="rtl"] .nav { flex-direction: row-reverse; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .nav-actions { flex-direction: row-reverse; }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
[dir="rtl"] .hero-content { text-align: right; }
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }
[dir="rtl"] .footer-disclaimer { margin-inline: auto 0; }
[dir="rtl"] .contact-split { flex-direction: row-reverse; }
[dir="rtl"] .diptych { flex-direction: row-reverse; }
[dir="rtl"] .section-header { text-align: right; }
[dir="rtl"] .stats-grid { direction: rtl; }
[dir="rtl"] .flota-grid { direction: rtl; }
[dir="rtl"] .servicios-grid { direction: rtl; }
[dir="rtl"] .values-grid { direction: rtl; }
[dir="rtl"] .why-grid { direction: rtl; }
[dir="rtl"] .how-grid { direction: rtl; }
[dir="rtl"] .team-grid { direction: rtl; }
[dir="rtl"] .page-header { text-align: right; }
[dir="rtl"] .whatsapp-fab { right: auto; left: 1.25rem; }
[dir="rtl"] ul { padding-inline-start: 0; padding-inline-end: 1.5rem; }
[dir="rtl"] .btn { direction: rtl; }
[dir="rtl"] .contact-form { text-align: right; }
[dir="rtl"] .form-group label { text-align: right; }
[dir="rtl"] input, [dir="rtl"] textarea, [dir="rtl"] select { text-align: right; direction: rtl; }

/* ============ CJK / Arabic font disclaimer ============ */
.footer-disclaimer {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  opacity: 0.7;
}

/* ============ MOBILE OPTIMIZATION COMPLETA ============ */
@media (max-width: 768px) {
  /* Touch targets ≥ 44×44 (Apple HIG + WCAG AAA) */
  .btn,
  .nav-toggle,
  .theme-toggle,
  .lang-picker,
  .quote-tab,
  .hero-indicator,
  button,
  .lifestyle-arrow {
    min-width: 44px;
    min-height: 44px;
  }

  /* Inputs sin zoom en iOS (font ≥ 16px) */
  input, textarea, select { font-size: 16px !important; }

  /* Hero ajustes mobile */
  .hero-visual {
    min-height: 100svh;
    padding-top: 72px;
  }
  .hero-tagline {
    font-size: clamp(2rem, 8vw, 3rem) !important;
    margin-bottom: 0.5rem;
  }
  .hero-tagline-sub {
    font-size: clamp(0.95rem, 3.5vw, 1.05rem) !important;
  }
  .hero-bottom {
    padding: 0 1rem 1.25rem;
    gap: 1rem;
  }

  /* Quote widget mobile: stacking vertical */
  .quote-widget {
    border-radius: 14px;
  }
  .quote-form {
    grid-template-columns: 1fr;
    padding: 0.5rem;
    gap: 0.5rem;
  }
  .quote-fields {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(0, 0, 0, 0.06);
  }
  .quote-field {
    background: #FFFFFF;
    min-height: 50px;
    padding: 0.55rem 0.7rem;
  }
  .quote-field:nth-child(5) {
    grid-column: 1 / -1;
  }
  .quote-submit {
    width: 100%;
    margin-left: 0;
    min-height: 52px;
  }
  .quote-toggle {
    overflow-x: auto;
    padding: 0.5rem 0.5rem 0;
    flex-wrap: nowrap;
  }
  .quote-tab {
    flex-shrink: 0;
    padding: 0.6rem 0.85rem;
    font-size: 0.825rem;
  }

  /* Nav mobile */
  .nav { padding: 0.85rem 1rem; }
  .nav-logo img { height: 26px; }

  /* Hero indicators más visibles en mobile */
  .hero-indicators {
    top: 76px;
    right: 1rem;
  }

  /* Lifestyle gallery: scroll horizontal con cards completas */
  .lifestyle-gallery {
    height: 420px;
  }

  /* Servicios cards: stacking vertical */
  .servicios-grid {
    grid-template-columns: 1fr !important;
  }

  /* Rutas: 1 columna */
  .rutas-grid {
    grid-template-columns: 1fr;
  }

  /* Stats: 1 columna en mobile */
  .stats-grid-new {
    grid-template-columns: 1fr;
  }

  /* Footer: 1 columna */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Reduce padding general */
  .container { padding: 0 1rem; }
  section { padding: 3rem 0; }
  h1 { font-size: clamp(2rem, 7vw, 3rem); }
  h2 { font-size: clamp(1.6rem, 5.5vw, 2.4rem); }
}

/* Mobile pequeño (≤ 480px) */
@media (max-width: 480px) {
  .hero-tagline {
    font-size: clamp(1.75rem, 9vw, 2.5rem) !important;
  }
  .nav-logo img { height: 22px; }
  .container { padding: 0 0.85rem; }
  .lifestyle-gallery { height: 380px; }
  /* Sticky CTA mobile siempre visible */
  body { padding-bottom: 80px; }
}

/* Landscape mobile fix */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-visual { min-height: 100svh; }
  .hero-bottom { padding-bottom: 1rem; }
}

/* ============ SNIPPET B — Card hover lift + glow dorado ============ */
.flota-card, .servicio-card, .paquete-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
  cursor: pointer;
}
.flota-card:hover, .servicio-card:hover, .paquete-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -12px rgba(209, 160, 29, 0.20),
              0 8px 20px -6px rgba(0, 0, 0, 0.10);
}
[data-theme="light"] .flota-card:hover,
[data-theme="light"] .servicio-card:hover,
[data-theme="light"] .paquete-card:hover {
  box-shadow: 0 24px 48px -12px rgba(184, 136, 26, 0.18),
              0 8px 20px -6px rgba(0, 0, 0, 0.08);
}

.flota-card-img-wrap img,
.flota-card img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.flota-card:hover .flota-card-img-wrap img,
.flota-card:hover img {
  transform: scale(1.05);
}

/* servicio-card--featured: border dorado izquierdo */
.servicio-card--featured {
  border-left: 3px solid var(--color-brand);
}

/* ============ SNIPPET E — Btn-primary shimmer dorado ============ */
.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* (Shimmer dorado eliminado — el botón ahora es sólido reactivo limpio) */

/* ============ SNIPPET G — Nav active underline refinado ============ */
.nav-links a {
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-links a.active {
  color: var(--color-brand);
}

/* ============ CURSOR POINTER — elementos clickables ============ */
.flota-tag,
.btn-text,
[data-nav-toggle],
.nav-toggle {
  cursor: pointer;
}

/* Filtros de flota */
#f-all, #f-individual, #f-grupal, #f-masivo, #f-fiebre {
  cursor: pointer;
}

/* ============ FORM — hover + focus con dorado ============ */
.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
  border-color: rgba(209, 160, 29, 0.40);
  background: var(--color-surface-hover);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(209, 160, 29, 0.15);
  background: var(--color-surface);
}
[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus,
[data-theme="light"] .form-group select:focus {
  box-shadow: 0 0 0 3px rgba(184, 136, 26, 0.12);
}

/* ============ FOOTER LINKS — hover visible ============ */
.footer-col ul a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color var(--dur-fast) var(--ease-default),
              letter-spacing var(--dur-fast) var(--ease-default);
}
.footer-col ul a:hover {
  color: #FFFFFF;
  letter-spacing: 0.01em;
}

/* ============ BTN-TEXT underline dorado ============ */
.btn-text {
  position: relative;
}
.btn-text::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-text:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ============ CONTACT CHANNEL ICON — dorado en hover ============ */
.contact-channel-icon {
  transition: background var(--dur-fast) var(--ease-default),
              border-color var(--dur-fast) var(--ease-default);
}
.contact-channel:hover .contact-channel-icon {
  background: rgba(209, 160, 29, 0.08);
  border: 1px solid rgba(209, 160, 29, 0.25);
}
[data-theme="light"] .contact-channel:hover .contact-channel-icon {
  background: rgba(184, 136, 26, 0.06);
  border: 1px solid rgba(184, 136, 26, 0.20);
}

/* ============ REDUCED MOTION — override GSAP ============ */
@media (prefers-reduced-motion: reduce) {
  .flota-card, .servicio-card, .paquete-card {
    transition: none !important;
  }
  .flota-card:hover, .servicio-card:hover, .paquete-card:hover {
    transform: none;
  }
  .btn-primary::before {
    display: none;
  }
}

/* ============ ESTÁNDAR AVALON — cards editoriales ============ */
.estandar-section {
  padding: var(--space-section) 0;
  background: var(--color-bg-page);
}
.estandar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: calc(var(--space-block) * 1.5);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
.estandar-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.estandar-card {
  padding: calc(var(--space-block) * 1.25) var(--space-block);
  position: relative;
  border-right: 1px solid var(--color-divider);
  transition: background var(--dur-medium) var(--ease-default);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.estandar-card:last-child { border-right: none; }
.estandar-grid--3 .estandar-card:nth-child(3) { border-right: none; }
.estandar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-brand);
  transition: width var(--dur-medium) var(--ease-divine);
}
.estandar-card:hover::before { width: 100%; }
.estandar-card:hover {
  background: var(--color-surface);
}
.estandar-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
  background: transparent;
  margin-bottom: 0.75rem;
  transition: color var(--dur-medium) var(--ease-default),
              transform var(--dur-medium) var(--ease-divine);
}
.estandar-card-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.4;
}
.estandar-card:hover .estandar-card-icon {
  color: var(--color-text-primary);
  transform: translateY(-2px);
}
.estandar-card-h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin: 0;
}
.estandar-card-p {
  font-size: var(--fs-body-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 30ch;
}
@media (max-width: 1023px) {
  .estandar-grid { grid-template-columns: repeat(2, 1fr); }
  .estandar-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .estandar-card:nth-child(2) { border-right: none; }
  .estandar-grid--3 .estandar-card:nth-child(2) { border-right: none; }
  .estandar-card:nth-child(1),
  .estandar-card:nth-child(2) { border-bottom: 1px solid var(--color-divider); }
  .estandar-grid--3 .estandar-card:nth-child(3) {
    border-right: none;
    border-bottom: none;
  }
}
@media (max-width: 640px) {
  .estandar-grid,
  .estandar-grid--3 {
    grid-template-columns: 1fr;
  }
  .estandar-card {
    border-right: none;
    border-bottom: 1px solid var(--color-divider);
  }
  .estandar-card:last-child { border-bottom: none; }
}
@media (prefers-reduced-motion: reduce) {
  .estandar-card::before { transition: none; }
  .estandar-card-icon { transition: none; }
  .estandar-card:hover .estandar-card-icon { transform: none; }
}

/* ============ HERO VISUAL — CARRUSEL + TAGLINE + WIDGET ABAJO ============
   Layout: imagen full + tagline pegado arriba del widget (parte inferior)
*/
.hero-visual {
  position: relative;
  width: 100%;
  min-height: 100svh;
  background: var(--color-bg-page);
  overflow: hidden;
  padding-top: 88px; /* nav fixed */
  display: flex;
  flex-direction: column;
}

/* CARRUSEL de fondo — slides absolutos con fade */
.hero-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  display: block;
}
.hero-slide.active {
  opacity: 1;
  z-index: 1;
}
.hero-slide img,
.hero-slide .hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: none;
}

/* Overlay inferior gradient para legibilidad del tagline + widget */
.hero-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.15) 35%,
    rgba(0, 0, 0, 0.55) 75%,
    rgba(0, 0, 0, 0.75) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Indicadores del carrusel (pequeños dots) */
.hero-indicators {
  position: absolute;
  top: 110px;
  right: var(--space-gutter);
  z-index: 4;
  display: flex;
  gap: 0.45rem;
}
.hero-indicator {
  width: 26px;
  height: 3px;
  border-radius: 2px;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: background 300ms cubic-bezier(0.32, 0.72, 0.32, 1),
              width 300ms cubic-bezier(0.32, 0.72, 0.32, 1);
}
.hero-indicator:hover {
  background: rgba(255, 255, 255, 0.7);
}
.hero-indicator.active {
  background: #FFFFFF;
  width: 40px;
}
@media (max-width: 768px) {
  .hero-indicators {
    top: 90px;
    right: 1rem;
  }
  .hero-indicator { width: 20px; }
  .hero-indicator.active { width: 32px; }
}

/* Contenido inferior: tagline + widget agrupados */
.hero-bottom {
  position: relative;
  z-index: 3;
  margin-top: auto;
  padding: 0 var(--space-gutter) clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}

/* Tagline PEGADO arriba del widget (no centrado vertical en toda la imagen) */
.hero-tagline-wrap {
  text-align: center;
  max-width: 1200px;
  width: 100%;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #FFFFFF;
  margin: 0 0 0.85rem;
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.45),
    0 1px 4px rgba(0, 0, 0, 0.5);
}
.hero-tagline-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 48ch;
  text-shadow:
    0 1px 12px rgba(0, 0, 0, 0.4),
    0 1px 2px rgba(0, 0, 0, 0.45);
}

/* Booking bar — sin padding extra, el .hero-bottom ya lo maneja */
.hero-quote-wrap {
  width: 100%;
  padding: 0;
}
.hero-visual-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent 0%, var(--color-bg-page) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border-radius: 11px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  z-index: 2;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero-scroll-cue span {
  width: 3px;
  height: 8px;
  border-radius: 1.5px;
  background: rgba(255, 255, 255, 0.85);
  animation: scrollCue 1.8s cubic-bezier(0.65,0,0.35,1) infinite;
}
@keyframes scrollCue {
  0%   { transform: translateY(0);   opacity: 1;   }
  50%  { transform: translateY(8px); opacity: 0.4; }
  100% { transform: translateY(0);   opacity: 1;   }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue span { animation: none; }
}

.hero-statement {
  padding: var(--space-section) 0 calc(var(--space-section) * 0.7);
  background: var(--color-bg-page);
}
.hero-statement-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-block);
  align-items: end;
  padding: 0 var(--space-gutter);
  max-width: var(--max-content);
  margin: 0 auto;
}
.hero-statement-content .hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 1rem 0 1.5rem;
  color: var(--color-text-primary);
}
.hero-statement-content .hero-sub {
  color: var(--color-text-soft);
  font-size: var(--fs-body-lead);
  max-width: 56ch;
  margin-bottom: 2rem;
}
.hero-statement-content .hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-statement-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-left: var(--space-block);
  border-left: 1px solid var(--color-divider);
}
.hero-meta-block .eyebrow {
  margin-bottom: 0.35rem;
}
.hero-meta-block p {
  font-size: var(--fs-body-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
}
@media (max-width: 900px) {
  .hero-statement-grid { grid-template-columns: 1fr; }
  .hero-statement-meta {
    padding-left: 0;
    border-left: none;
    padding-top: var(--space-block);
    border-top: 1px solid var(--color-divider);
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .hero-statement-meta { grid-template-columns: 1fr; }
  /* En mobile mantiene el aspect ratio exacto de la imagen */
  .hero-visual {
    aspect-ratio: 1672 / 941;
  }
}

/* ============ FIX 2 — HERO OVERLAY CINEMATIC (fiebre-futbolera) ============ */
.hero-bg-container .hero-overlay-cinematic {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.55) 50%,
    rgba(0,0,0,0.80) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* ============ FIX 3 — STATS OPTIMIZADOS ============ */
.stats-section {
  padding: var(--space-section) 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
.section-header--centered {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-block);
}
.section-header--centered .section-lead {
  font-size: var(--fs-body-lead);
  color: var(--color-text-soft);
  max-width: 56ch;
  margin: 1rem auto 0;
}
/* Reescribe el grid de stats — 3 columnas (home) o 4 columnas (nosotros) */
.stats-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-divider);
  border: 1px solid var(--color-divider);
  margin-top: calc(var(--space-block) * 1.5);
}
.stats-grid-new--4col {
  grid-template-columns: repeat(4, 1fr);
}
.stat-item-new {
  background: var(--color-surface);
  padding: var(--space-block) var(--space-gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.stat-item-new .stat-number {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-brand);
  display: block;
  margin-bottom: 1.25rem;
}
.stat-item-new .stat-divider {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-brand);
  margin-bottom: 1.25rem;
}
.stat-item-new .stat-label {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
}
.stat-item-new .stat-desc {
  font-size: var(--fs-body-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
  max-width: 32ch;
}
@media (max-width: 1023px) {
  .stats-grid-new, .stats-grid-new--4col { grid-template-columns: 1fr; }
}
/* Dark section variant */
.section-dark .stats-grid-new { background: var(--color-divider-navy); border-color: var(--color-divider-navy); }
.section-dark .stat-item-new { background: var(--color-navy); }
.section-dark .stat-item-new .stat-label { color: #FFFFFF; }
.section-dark .stat-item-new .stat-desc { color: rgba(255,255,255,0.65); }

/* ============ LOGO SVG IMG — nav + footer ============ */
/*
  El logo SVG real reemplaza el wordmark de texto.
  nav-logo img: modo oscuro = avalon-logo-dark.svg (texto blanco + dorado)
                modo día    = avalon-logo.svg      (texto negro  + dorado)
  footer-logo img: SIEMPRE avalon-logo-dark.svg (footer siempre es fondo oscuro #1A1A1A)
  theme.js cambia el src automáticamente al toggle.
*/
.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
  /* Sin filtro — colores nativos del SVG */
}
.footer-logo img {
  height: 28px;
  width: auto;
  display: block;
  /* Sin filtro — usar avalon-logo-dark.svg (texto blanco) directamente */
  margin-bottom: 1rem;
}
/* Hover sutil en el logo del nav */
.nav-logo:hover img {
  opacity: 0.85;
}

/* ============ HERO — imagen real del cliente ============ */
/*
  Hero principal (index.html, en/index.html) usa hero-2-monterrey-grande.png
  La imagen cubre el 100% del hero con object-fit: cover.
  El overlay cinematico garantiza legibilidad del texto blanco sobre la foto.
*/
.hero-bg-container picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  /* Sin grayscale — imagen a color del Estadio BBVA atardecer */
  filter: none;
}

/* Overlay cinematico sobre la imagen real (reemplaza .hero-overlay) */
.hero-overlay-cinematic {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.30) 0%,
    rgba(0, 0, 0, 0.52) 55%,
    rgba(0, 0, 0, 0.82) 100%
  );
  z-index: 1;
}

/* El hero-content siempre sobre el overlay */
.hero .hero-content {
  z-index: 2;
  position: relative;
}

/* Hero con imagen real: texto SIEMPRE blanco (la foto es oscura en el área del texto) */
.hero-bg-img ~ .hero-overlay-cinematic ~ .hero-content h1,
.hero-bg-img ~ .hero-overlay-cinematic ~ .hero-content .hero-sub,
.hero-bg-img ~ .hero-overlay-cinematic ~ .hero-content .eyebrow {
  color: #FFFFFF;
}

/*
  Fuerza texto blanco en el hero cuando hay imagen real —
  independientemente del tema (light/dark).
  Se aplica via data-hero-img en el section.
*/
[data-hero-img] .hero-content,
[data-hero-img] .hero-content h1,
[data-hero-img] .hero-content .hero-sub,
[data-hero-img] .hero-content .eyebrow {
  color: #FFFFFF !important;
}
[data-hero-img] .hero-content .hero-sub {
  color: rgba(255, 255, 255, 0.82) !important;
}

/* Mobile: en pantallas chicas la imagen se posiciona con énfasis en la parte superior */
@media (max-width: 768px) {
  .hero-bg-img {
    object-position: 30% center;
  }
  /* En mobile el headline debe ser legible sobre el estadio */
  [data-hero-img] .hero-content {
    text-align: center;
    padding: 0 var(--space-gutter);
  }
}

/* ============================================================
   POLISHING FIXES v1.1 — 2026-05-15
   ============================================================ */

/* ---- FIX 1 — Flota cards: grid consistente, alineación stretch ---- */
.flota-card[data-flota-card] {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  border-bottom: 1px solid var(--color-divider);
  min-height: 380px;
}
/* Tarjeta Volvo (layout column) — override específico */
.flota-card[data-flota-card][data-categorias~="masivo"] {
  grid-template-columns: 1fr;
  min-height: auto;
}
.flota-card-img,
.flota-card-img-wrap {
  width: 100%;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
  border-right: 1px solid var(--color-divider);
  background: var(--color-surface-alt);
  position: relative;
}
/* Volvo: sin borde derecho en modo columna */
.flota-card[data-categorias~="masivo"] .flota-card-img,
.flota-card[data-categorias~="masivo"] .flota-card-img-wrap {
  border-right: none;
  min-height: 300px;
}
/* picture element dentro del wrap — debe heredar height para que img llene */
.flota-card-img-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}
.flota-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.flota-card-body {
  padding: var(--space-block);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}
@media (max-width: 768px) {
  .flota-card[data-flota-card] { grid-template-columns: 1fr; min-height: auto; }
  .flota-card-img,
  .flota-card-img-wrap { border-right: none; border-bottom: 1px solid var(--color-divider); min-height: 240px; }
}

/* ---- FIX 2 — Hero fiebre-futbolera: texto siempre blanco + shadow ---- */
.hero[data-hero-section] .hero-content {
  position: relative;
  z-index: 2;
}
.hero[data-hero-section] .hero-content .eyebrow,
.hero[data-hero-section] .hero-content h1,
.hero[data-hero-section] .hero-content .hero-sub,
.hero[data-hero-section] .hero-content .hero-sub span {
  color: #FFFFFF !important;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.hero[data-hero-section] .hero-content h1 em {
  color: rgba(255, 255, 255, 0.85) !important;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.hero[data-hero-section] .hero-content .hero-sub span {
  opacity: 0.85;
}

/* ---- FIX 3 — Why Avalon: 4 cards editorial ---- */
.why-avalon {
  padding: var(--space-section) 0;
  background: var(--color-bg-page);
  border-top: 1px solid var(--color-divider);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-block);
  margin-top: calc(var(--space-block) * 1.5);
  padding: 0 var(--space-gutter);
}
.why-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-divider);
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.why-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 32px;
  height: 1px;
  background: var(--color-brand);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.why-card:hover::before { width: 64px; }
.why-card-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--color-brand);
  text-transform: uppercase;
}
.why-card-h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
  line-height: 1.15;
  margin: 0;
}
.why-card-p {
  font-size: var(--fs-body-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 32ch;
  margin: 0;
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ---- FIX 4 — Stat number: tabular-nums + reserva ancho (sin layout shift) ---- */
.stat-number {
  font-variant-numeric: tabular-nums;
  display: inline-block;
  min-width: 3.5ch;
  text-align: left;
}

/* ---- FIX 6 — GPU compositing para cards (anti-flicker) ---- */
img {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.flota-card,
.servicio-card,
.paquete-card,
.why-card {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* ---- Section headings y leads — tokens semánticos universales ---- */
.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-text-primary);
  margin: 0;
}
.section-lead {
  font-family: var(--font-body);
  font-size: var(--fs-body-lead);
  line-height: 1.6;
  color: var(--color-text-soft);
  max-width: 60ch;
  margin: 0;
}

/* ---- FIX 9 — Historia 2008: grid editorial ---- */
.historia-block {
  padding: var(--space-section) 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  color: var(--color-text-primary);
}
.historia-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-block);
  align-items: center;
  padding: 0 var(--space-gutter);
}
.historia-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}
.historia-text .eyebrow {
  color: var(--color-brand);
  margin-bottom: 0;
}
.historia-text .section-h2 {
  margin-top: 0.25rem;
  color: var(--color-text-primary);
}
.historia-text .section-lead {
  margin-bottom: 0.5rem;
  max-width: 56ch;
  color: var(--color-text-soft);
}
.historia-text .btn { margin-top: 0.5rem; }
.historia-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
  background: var(--color-surface-alt);
}
@media (max-width: 900px) {
  .historia-grid { grid-template-columns: 1fr; }
}

/* ---- FIX 10 — Botones: touch target consistente (44px ya en mobile) ---- */
.btn {
  min-height: 44px;
}
/* line-height universal para párrafos (refuerzo) */
p { line-height: var(--lh-body); }
h1, h2, h3 { line-height: var(--lh-heading); }

/* Hover lift consistente en why-card */
.why-card:hover { transform: translateY(-4px); }

/* ============================================================
   PAGE HERO CON IMAGEN REAL — .page-hero--image
   Texto siempre blanco: el overlay oscuro garantiza legibilidad
   incluso en modo día (decisión consciente de diseño).
   WCAG blanco sobre rgba(0,0,0,0.55+) ≥ 7:1
   ============================================================ */
.page-hero.page-hero--image {
  position: relative;
  min-height: 70svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #FFFFFF;
}
.page-hero--image .page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero--image .page-hero-bg picture {
  display: block;
  width: 100%;
  height: 100%;
}
.page-hero--image .page-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.page-hero--image .page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.30) 0%,
    rgba(0, 0, 0, 0.55) 60%,
    rgba(0, 0, 0, 0.85) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.page-hero--image .page-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--space-gutter) calc(var(--space-section) * 0.8);
  width: 100%;
}
.page-hero--image .page-hero-content .eyebrow {
  color: var(--color-brand);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}
.page-hero--image .page-hero-content h1 {
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 1rem 0 1.5rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.page-hero--image .page-hero-content .page-hero-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-body-lead);
  max-width: 60ch;
  line-height: 1.55;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
}
@media (max-width: 640px) {
  .page-hero.page-hero--image { min-height: 60svh; }
}

/* ============================================================
   ANIMACIONES PREMIUM v2 — CSS SUPPORT
   GPU compositing layer para evitar flicker + opacity fallback
   ============================================================ */

/* GPU compositing layer para evitar flicker */
.flota-card,
.servicio-card,
.paquete-card,
.why-card,
.estandar-card,
.stat-item-new,
.hero-content,
.page-hero-content,
.hero-statement-content,
img {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Asegura que CSS NO ponga opacity:0 — solo GSAP controla */
[data-anim],
.flota-card,
.servicio-card,
.paquete-card,
.why-card,
.estandar-card {
  opacity: 1;  /* fallback: si JS no carga, todo es visible */
}

/* Reduced motion: deshabilitar TODAS las animaciones */
@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;
  }
}

/* ============================================================
   QUICK QUOTE WIDGET — Liquid Glass (sobre imagen del hero)
   ============================================================ */

/* ============================================================
   QUOTE WIDGET BAR — vidrio + contraste real (estilo Blacklane)
   Bar abajo del hero. Glass sutil PERO con contraste de texto bueno.
   ============================================================ */
.quote-widget {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 0;
  box-shadow:
    0 24px 60px -16px rgba(0, 0, 0, 0.35),
    0 12px 28px -10px rgba(0, 0, 0, 0.2),
    0 4px 12px -4px rgba(0, 0, 0, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}
[data-theme="dark"] .quote-widget {
  background: rgba(20, 20, 20, 0.92);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow:
    0 24px 60px -16px rgba(0, 0, 0, 0.7),
    0 12px 28px -10px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.1) inset;
}
/* (Estilos legacy quote-widget glass-overrides eliminados — el widget ahora usa el bloque limpio arriba) */

/* Toggle de tipo de servicio — bar limpio DENTRO del widget */
.quote-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.55rem 0.65rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  margin: 0;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
[data-theme="dark"] .quote-toggle {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .quote-toggle {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset;
}
.quote-tab {
  background: transparent;
  color: rgba(0, 0, 0, 0.55);
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0.7rem 0.9rem;
  border-radius: 0;
  margin-bottom: -1px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: color 200ms cubic-bezier(0.32, 0.72, 0.32, 1),
              border-color 200ms cubic-bezier(0.32, 0.72, 0.32, 1);
  text-shadow: none;
}
.quote-tab:hover {
  color: #0A0A0A;
}
.quote-tab.active {
  color: #0A0A0A;
  background: transparent;
  border-bottom-color: #0A0A0A;
  font-weight: 700;
  box-shadow: none;
}
[data-theme="dark"] .quote-tab {
  color: rgba(255, 255, 255, 0.6);
}
[data-theme="dark"] .quote-tab:hover {
  color: #FFFFFF;
}
[data-theme="dark"] .quote-tab.active {
  color: #FFFFFF;
  border-bottom-color: #FFFFFF;
}

/* Form horizontal: fields + submit en una línea (estilo Blacklane) */
.quote-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  align-items: stretch;
  padding: 0.65rem;
}
@media (max-width: 1023px) {
  .quote-form {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

/* Grid de campos compacto */
.quote-fields {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0;
}
.quote-field {
  background: transparent;
  padding: 0.6rem 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  transition: background 200ms cubic-bezier(0.32, 0.72, 0.32, 1);
  min-height: 56px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}
[data-theme="dark"] .quote-field {
  border-right-color: rgba(255, 255, 255, 0.08);
}
.quote-field:last-of-type {
  border-right: 0;
}
.quote-field:hover {
  background: rgba(0, 0, 0, 0.03);
}
.quote-field:focus-within {
  background: rgba(184, 136, 26, 0.06);
}
[data-theme="dark"] .quote-field:hover {
  background: rgba(255, 255, 255, 0.04);
}
[data-theme="dark"] .quote-field:focus-within {
  background: rgba(209, 160, 29, 0.08);
}
[data-theme="dark"] .quote-field {
  background: var(--color-surface);
}
.quote-field:hover {
  background: var(--color-surface);
}
[data-theme="dark"] .quote-field:hover {
  background: var(--color-surface-hover);
}
.quote-field--narrow {
  /* pasajeros — narrower */
}
.quote-field label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4A4A4A;
  cursor: pointer;
  pointer-events: none;
}
[data-theme="dark"] .quote-field label {
  color: rgba(255, 255, 255, 0.7);
}
.quote-field label svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: var(--color-brand);
}
.quote-field input,
.quote-field select {
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 0;
  color: #0A0A0A;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
[data-theme="dark"] .quote-field input,
[data-theme="dark"] .quote-field select {
  color: #FFFFFF;
}
.quote-field input::placeholder {
  color: rgba(0, 0, 0, 0.4);
  font-weight: 500;
}
[data-theme="dark"] .quote-field input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.quote-field input:focus,
.quote-field select:focus {
  outline: 0;
}
.quote-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%230A0A0A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 16px;
}
[data-theme="dark"] .quote-field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23FFFFFF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* iOS date/time input fix */
.quote-field input[type="date"],
.quote-field input[type="time"] {
  min-height: 24px;
  -webkit-appearance: none;
}

/* Botón submit Quote — WhatsApp verde sólido reactivo */
.quote-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #25D366;
  color: #FFFFFF;
  border: 0;
  border-radius: 12px;
  padding: 0 1.5rem;
  margin-left: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
  transition:
    background 200ms cubic-bezier(0.32, 0.72, 0.32, 1),
    transform 200ms cubic-bezier(0.32, 0.72, 0.32, 1),
    box-shadow 200ms cubic-bezier(0.32, 0.72, 0.32, 1);
  white-space: nowrap;
  box-shadow:
    0 4px 12px -2px rgba(37, 211, 102, 0.35),
    0 2px 4px -1px rgba(37, 211, 102, 0.2);
  min-height: 56px;
}
.quote-submit:hover {
  background: #1FA855;
  transform: translateY(-1px);
  box-shadow:
    0 8px 20px -4px rgba(37, 211, 102, 0.45),
    0 4px 8px -2px rgba(37, 211, 102, 0.25);
}
.quote-submit:active {
  transform: translateY(0);
  transition-duration: 100ms;
}
.quote-submit svg {
  width: 20px;
  height: 20px;
}
.quote-submit:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
}
@media (max-width: 1023px) {
  .quote-submit {
    margin-left: 0;
    width: 100%;
  }
}

.quote-disclaimer {
  margin-top: 1rem;
  font-size: var(--fs-body-sm);
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.5;
}

/* Responsive — colapsa grid en tablet/mobile */
@media (max-width: 1023px) {
  .quote-fields {
    grid-template-columns: 1fr 1fr;
  }
  .quote-field--narrow {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .quote-fields {
    grid-template-columns: 1fr;
  }
  .quote-field--narrow {
    grid-column: auto;
  }
  .quote-toggle {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .quote-tab {
    flex-shrink: 0;
  }
}

/* ============================================================
   FASE B — ICONOGRAFÍA SERVICIOS (minimal, ~40px, estilo Apple)
   ============================================================ */
.servicio-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
  background: transparent;
  margin-bottom: 1rem;
  transition: color var(--dur-medium) var(--ease-default),
              transform var(--dur-medium) var(--ease-divine);
}
.servicio-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.4;
}
.servicio-card:hover .servicio-icon {
  color: var(--color-text-primary);
  transform: translateY(-2px);
}
.servicio-icon--featured {
  color: var(--color-brand);
}

/* ============================================================
   RUTAS POPULARES — Cards UX limpias (Linear/Apple/Vercel inspired)
   ============================================================ */
.rutas-section {
  padding: var(--space-section) 0;
  background: var(--color-surface);
}

.rutas-header {
  max-width: 640px;
  margin-bottom: 3rem;
}
.rutas-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--color-text-primary);
  margin: 0.75rem 0 1rem;
}
.rutas-lead {
  font-size: var(--fs-body-lead);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
  max-width: 52ch;
}

/* Grid de cards */
.rutas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* Card individual — limpia, sin glass, shadow sutil */
.ruta-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--color-bg-page);
  border: 1px solid var(--color-divider);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 180px;
  overflow: hidden;
}
[data-theme="dark"] .ruta-card {
  background: var(--color-surface-alt);
  border-color: var(--color-divider);
}

/* Hover premium pero discreto */
.ruta-card:hover {
  transform: translateY(-3px);
  border-color: rgba(184, 136, 26, 0.35);
  box-shadow:
    0 12px 28px -10px rgba(0, 0, 0, 0.08),
    0 4px 10px -4px rgba(0, 0, 0, 0.04);
}
[data-theme="dark"] .ruta-card:hover {
  border-color: rgba(209, 160, 29, 0.35);
  box-shadow:
    0 12px 28px -10px rgba(0, 0, 0, 0.4),
    0 4px 10px -4px rgba(0, 0, 0, 0.2);
}

/* Card head: número + tag */
.ruta-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.ruta-card-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-text-dim);
  font-variant-numeric: tabular-nums;
}
.ruta-card-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: rgba(0, 0, 0, 0.04);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}
[data-theme="dark"] .ruta-card-tag {
  background: rgba(255, 255, 255, 0.06);
}
.ruta-card-tag--featured {
  color: var(--color-brand);
  background: rgba(184, 136, 26, 0.08);
}
[data-theme="dark"] .ruta-card-tag--featured {
  background: rgba(209, 160, 29, 0.12);
}

/* Título principal: origen → destino apilado */
.ruta-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.ruta-card-arrow {
  display: inline-flex;
  align-items: center;
  color: var(--color-brand);
  margin: -0.1rem 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.ruta-card-arrow svg {
  width: 20px;
  height: 20px;
}
.ruta-card:hover .ruta-card-arrow {
  transform: translateX(6px);
}

/* Foot: tiempo + vehículo */
.ruta-card-foot {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  margin-top: auto;
  border-top: 1px solid var(--color-divider);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}
.ruta-card-time {
  font-weight: 600;
  color: var(--color-text-primary);
  font-variant-numeric: tabular-nums;
}
.ruta-card-time::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-brand);
  margin-right: 0.5rem;
  vertical-align: middle;
}
.ruta-card-vehicle {
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-left: auto;
  text-align: right;
}

/* Featured card variant */
.ruta-card--featured {
  background: linear-gradient(180deg, var(--color-bg-page) 0%, rgba(184, 136, 26, 0.03) 100%);
  border-color: rgba(184, 136, 26, 0.18);
}
[data-theme="dark"] .ruta-card--featured {
  background: linear-gradient(180deg, var(--color-surface-alt) 0%, rgba(209, 160, 29, 0.06) 100%);
  border-color: rgba(209, 160, 29, 0.25);
}
.ruta-card--featured:hover {
  border-color: rgba(184, 136, 26, 0.5);
  box-shadow:
    0 12px 32px -10px rgba(184, 136, 26, 0.18),
    0 4px 10px -4px rgba(0, 0, 0, 0.06);
}
[data-theme="dark"] .ruta-card--featured:hover {
  box-shadow:
    0 12px 32px -10px rgba(209, 160, 29, 0.25),
    0 4px 10px -4px rgba(0, 0, 0, 0.3);
}

/* Footnote CTA */
.rutas-footnote {
  margin-top: 2.5rem;
  font-size: var(--fs-body-sm);
  color: var(--color-text-muted);
  text-align: center;
}
.rutas-footnote a {
  color: var(--color-text-primary);
  font-weight: 600;
  border-bottom: 1px solid var(--color-brand);
  padding-bottom: 1px;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.rutas-footnote a:hover {
  color: var(--color-brand);
}

/* Responsive */
@media (max-width: 1023px) {
  .rutas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .rutas-grid { grid-template-columns: 1fr; gap: 1rem; }
  .ruta-card { padding: 1.5rem; min-height: auto; }
}

/* ============================================================
   FASE D — REFINAMIENTOS GENERALES (typography, spacing, btn)
   ============================================================ */
/* Botones más cuadrados estilo Blacklane (radius pequeño) */
.btn-square,
.btn--square {
  border-radius: var(--radius-md);
}

/* Hero H1 — más contenido (Blacklane usa ~56px, no monumental) */
.hero-statement-content .hero-h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
}

/* Section-header padding más respiroso (Blacklane respira más) */
.section-header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

/* Section-lead más sutil — color suave, peso 400 */
.section-lead {
  font-weight: 400;
  color: var(--color-text-soft);
  letter-spacing: 0;
}

/* Card titles — kerning más cerrado, peso 700 */
.servicio-card h3,
.flota-card-body h3,
.paquete-card h3 {
  letter-spacing: -0.015em;
  line-height: 1.2;
}

/* Body text — tracking 0, peso 400, color soft */
section p:not([class]) {
  color: var(--color-text-soft);
}

/* Eyebrow más sutil — peso 600 (era 700), color muted */
.eyebrow {
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.2em;
}
.eyebrow--brand { color: var(--color-brand); }
.eyebrow--muted { color: var(--color-text-muted); }
.eyebrow--sport { color: var(--color-text-muted); }

/* Variante de eyebrow con punto */
.eyebrow--dot::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-brand);
  margin-right: 0.6rem;
  vertical-align: middle;
}

/* ============================================================
   FASE E — MOBILE STICKY CTA (siempre visible en mobile)
   ============================================================ */
/* Sticky CTA mobile — Liquid Glass frosted bar */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.65rem 0.9rem calc(0.65rem + env(safe-area-inset-bottom));
  z-index: 100;
  box-shadow:
    0 -12px 32px -8px rgba(0, 0, 0, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  gap: 0.5rem;
}
[data-theme="dark"] .mobile-sticky-cta {
  background: rgba(14, 14, 14, 0.78);
  border-top-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 -12px 32px -8px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
}
.mobile-sticky-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 48px;
  border: 1px solid transparent;
}
.mobile-sticky-cta .sticky-wa {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.95) 0%, rgba(31, 168, 85, 0.95) 100%);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow:
    0 4px 14px -4px rgba(37, 211, 102, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.3) inset;
}
.mobile-sticky-cta .sticky-wa:hover {
  background: linear-gradient(135deg, rgba(37, 211, 102, 1) 0%, rgba(31, 168, 85, 1) 100%);
  transform: translateY(-1px);
}
.mobile-sticky-cta .sticky-call {
  background: rgba(0, 0, 0, 0.92);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 4px 14px -4px rgba(0, 0, 0, 0.25),
    0 1px 0 rgba(255, 255, 255, 0.15) inset;
}
[data-theme="dark"] .mobile-sticky-cta .sticky-call {
  background: rgba(255, 255, 255, 0.92);
  color: #000000;
  box-shadow:
    0 4px 14px -4px rgba(0, 0, 0, 0.25),
    0 1px 0 rgba(255, 255, 255, 0.4) inset;
}
.mobile-sticky-cta .sticky-call:hover {
  transform: translateY(-1px);
}
.mobile-sticky-cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: flex;
  }
  /* Compensar el espacio del sticky CTA en mobile */
  body { padding-bottom: 76px; }
  /* El FAB WhatsApp se oculta porque ya tenemos sticky bar */
  a[aria-label="WhatsApp"][style*="position:fixed"] {
    display: none !important;
  }
}

/* ============================================================
   LIFESTYLE — galería editorial con Liquid Glass overlays
   Estilo Blacklane "Entre en un Blacklane. Respire."
   ============================================================ */
.lifestyle-section {
  padding: var(--space-section) 0;
  background: var(--color-bg-page);
  position: relative;
  overflow: hidden;
}

.lifestyle-header {
  max-width: 720px;
  margin: 0 auto var(--space-block);
  text-align: center;
}
.lifestyle-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.02;
  margin: 0.75rem 0 1.25rem;
  color: var(--color-text-primary);
}
.lifestyle-lead {
  font-size: var(--fs-body-lead);
  line-height: 1.55;
  color: var(--color-text-muted);
  max-width: 58ch;
  margin: 0 auto;
  font-weight: 400;
}

/* ---- GALERÍA EXPANDIBLE (accordion-style + Liquid Glass) ---- */
.lifestyle-gallery {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  height: clamp(420px, 60vh, 560px);
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

/* Cada item: button para accesibilidad keyboard */
.gallery-item {
  position: relative;
  flex: 1 1 0;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-surface);
  cursor: pointer;
  border: 0;
  padding: 0;
  isolation: isolate;
  box-shadow:
    0 8px 24px -10px rgba(0, 0, 0, 0.15),
    0 2px 6px -2px rgba(0, 0, 0, 0.08);
  transition:
    flex-grow 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 64px;
}

/* Item expandido: 5x más espacio que el resto */
.gallery-item.active,
.gallery-item:hover,
.gallery-item:focus-visible {
  flex-grow: 5;
  box-shadow:
    0 24px 60px -16px rgba(0, 0, 0, 0.3),
    0 10px 24px -8px rgba(0, 0, 0, 0.15);
}
.gallery-item:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 4px;
}

/* Imagen full coverage */
.gallery-item picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(0.92) brightness(0.96);
  transition:
    filter 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item.active img,
.gallery-item:hover img {
  filter: saturate(1.05) brightness(1);
  transform: scale(1.02);
}

/* Gradient bottom para legibilidad */
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, 0.35) 65%, rgba(0, 0, 0, 0.78) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Label vertical compacto (visible cuando el item está colapsado) */
.gallery-label {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) rotate(-90deg);
  transform-origin: center;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FFFFFF;
  z-index: 3;
  opacity: 1;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.gallery-label-num {
  font-weight: 800;
  color: var(--color-brand);
}
.gallery-item.active .gallery-label,
.gallery-item:hover .gallery-label {
  opacity: 0;
}

/* Overlay glass que aparece SOLO en item expandido */
.gallery-overlay {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  padding: 1.25rem 1.5rem 1.4rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(32px) saturate(220%);
  -webkit-backdrop-filter: blur(32px) saturate(220%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 16px 40px -12px rgba(0, 0, 0, 0.4),
    0 4px 10px -4px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 -1px 0 rgba(255, 255, 255, 0.15) inset;
  z-index: 2;
  isolation: isolate;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s,
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
  pointer-events: none;
  text-align: left;
}
.gallery-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 1), transparent);
  pointer-events: none;
  z-index: 3;
}
.gallery-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}
.gallery-overlay > * {
  position: relative;
  z-index: 2;
}

/* Overlay aparece SOLO cuando el item está expandido */
.gallery-item.active .gallery-overlay,
.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-step {
  display: block;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 0.55rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.gallery-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.18;
  color: #FFFFFF;
  margin: 0 0 0.6rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}
.gallery-text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  max-width: 38ch;
}

/* ---- Mobile/tablet: scroll horizontal con cards de tamaño fijo (hover no funciona en touch) ---- */
@media (max-width: 768px) {
  .lifestyle-gallery {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 85vw;
    height: 480px;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--space-gutter);
    padding: 0 var(--space-gutter) 1rem;
    margin: 0 calc(-1 * var(--space-gutter));
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }
  .lifestyle-gallery::-webkit-scrollbar {
    display: none;
  }
  .gallery-item {
    scroll-snap-align: start;
    flex: none;
    height: 100%;
    min-width: 0;
  }
  /* En mobile, el overlay siempre visible */
  .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
  }
  .gallery-label {
    display: none;
  }
}
