/* ═══════════════════════════════════════════════════════════
   GENERAL GÜEMES — SISTEMA DE DISEÑO
   Paleta extraída del logo: azul índigo profundo + plata metálica
   Tipografía: Barlow Condensed (display) + DM Sans (cuerpo)
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,300;0,400;0,600;0,700;0,800;0,900;1,700&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* ─── VARIABLES ─────────────────────────────────────────── */
:root {
  /* Paleta principal — extraída del logo Güemes */
  --brand-deep:    #07091A;   /* fondo base, más profundo que puro negro */
  --brand-dark:    #0D1130;   /* secciones alternadas */
  --brand-mid:     #131840;   /* cards, paneles */
  --brand-blue:    #3B3E9E;   /* azul índigo del logo */
  --brand-blue-l:  #5558CC;   /* hover, accents */
  --brand-silver:  #8E9BB5;   /* plata metálica del bisel */
  --brand-silver-l:#C4CDE0;   /* texto secundario claro */
  --brand-white:   #EEF0FF;   /* texto principal */
  --brand-accent:  #6366F1;   /* CTA, highlights */

  /* Gradientes signature */
  --grad-hero: linear-gradient(135deg, #07091A 0%, #0D1130 50%, #131840 100%);
  --grad-blue: linear-gradient(135deg, #3B3E9E 0%, #5558CC 100%);
  --grad-silver: linear-gradient(135deg, #8E9BB5 0%, #C4CDE0 100%);
  --grad-card: linear-gradient(145deg, rgba(19,24,64,0.9) 0%, rgba(13,17,48,0.95) 100%);

  /* Tipografía */
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Espaciado */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  32px;
  --space-xl:  64px;
  --space-2xl: 96px;

  /* Bordes */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  /* Sombras */
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.2);
  --shadow-blue: 0 8px 32px rgba(59,62,158,0.4);
  --shadow-glow: 0 0 48px rgba(99,102,241,0.15);

  /* Transiciones */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast:   150ms;
  --t-base:   250ms;
  --t-slow:   400ms;
}

/* ─── RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--brand-deep);
  color: var(--brand-white);
  line-height: 1.6;
  overflow-x: hidden;
  /* Textura sutil de ruido para profundidad */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: var(--font-body); }
ul { list-style: none; }

/* ─── NAVBAR ────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 var(--space-lg);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(59, 62, 158, 0.18);
  box-shadow: 0 2px 12px rgba(7, 9, 26, 0.06);
  transition: background var(--t-base) var(--ease-smooth),
              border-color var(--t-base) var(--ease-smooth);
}

.navbar.scrolled {
  background: #ffffff;
  border-bottom-color: rgba(59, 62, 158, 0.28);
  box-shadow: 0 4px 18px rgba(7, 9, 26, 0.08);
}

.navbar__logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: opacity var(--t-base) var(--ease-smooth);
}
.navbar__logo:hover { opacity: 0.85; }

.navbar__nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2A3070;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: color var(--t-fast) var(--ease-smooth),
              background var(--t-fast) var(--ease-smooth);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 2px;
  background: var(--grad-blue);
  border-radius: 99px;
  transform: scaleX(0);
  transition: transform var(--t-base) var(--ease-smooth);
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-blue);
  background: rgba(59, 62, 158, 0.08);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
}

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
}
.navbar__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--brand-blue);
  border-radius: 99px;
  transition: transform var(--t-base) var(--ease-smooth),
              opacity var(--t-base) var(--ease-smooth);
}
.navbar__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.open span:nth-child(2) { opacity: 0; }
.navbar__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ──────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  padding-top: 72px;
}

/* Líneas diagonales de velocidad — background decorativo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 80px,
      rgba(59, 62, 158, 0.04) 80px,
      rgba(59, 62, 158, 0.04) 81px
    );
  pointer-events: none;
}

/* Glow de fondo */
.hero::after {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 70vw; height: 70vw;
  background: radial-gradient(circle, rgba(59,62,158,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero__container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero__text { display: flex; flex-direction: column; align-items: center; width: 100%; }
.hero__description { margin-left: auto; margin-right: auto; }
.hero__ctas { justify-content: center; }
.hero__stats { width: 100%; max-width: 720px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-silver);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeSlideUp 0.8s var(--ease-smooth) 0.2s forwards;
}

.hero__eyebrow::before {
  content: '';
  width: 32px; height: 2px;
  background: var(--grad-blue);
  border-radius: 99px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--brand-white);
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: fadeSlideUp 0.8s var(--ease-smooth) 0.35s forwards;
}

.hero__title .accent {
  /* El azul del logo exacto con efecto similar al bisel */
  background: var(--grad-silver);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__description {
  font-size: 1.05rem;
  color: var(--brand-silver-l);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: var(--space-lg);
  font-weight: 400;
  opacity: 0;
  animation: fadeSlideUp 0.8s var(--ease-smooth) 0.5s forwards;
}

.hero__ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.8s var(--ease-smooth) 0.65s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grad-blue);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  transition: transform var(--t-base) var(--ease-smooth),
              box-shadow var(--t-base) var(--ease-smooth),
              filter var(--t-base) var(--ease-smooth);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(59,62,158,0.55);
  filter: brightness(1.1);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-silver-l);
  background: rgba(142, 155, 181, 0.08);
  border: 1px solid rgba(142, 155, 181, 0.25);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  transition: all var(--t-base) var(--ease-smooth);
}
.btn-secondary:hover {
  background: rgba(142, 155, 181, 0.15);
  border-color: rgba(142, 155, 181, 0.5);
  color: var(--brand-white);
  transform: translateY(-2px);
}

/* Tarjetas de estadísticas hero */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
  opacity: 0;
  animation: fadeSlideUp 0.8s var(--ease-smooth) 0.8s forwards;
}

.stat-card {
  background: var(--grad-card);
  border: 1px solid rgba(59, 62, 158, 0.25);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  backdrop-filter: blur(8px);
  transition: border-color var(--t-base) var(--ease-smooth),
              transform var(--t-base) var(--ease-smooth);
}
.stat-card:hover {
  border-color: rgba(59,62,158,0.6);
  transform: translateY(-4px);
}

.stat-card__number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-card__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-silver);
}

/* Panel derecho hero — mapa de ruta estilizado */
.hero__visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  opacity: 0;
  animation: fadeSlideRight 0.9s var(--ease-smooth) 0.4s forwards;
}

.route-card {
  background: var(--grad-card);
  border: 1px solid rgba(59, 62, 158, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.route-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-blue);
}

.route-card__title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-silver);
  margin-bottom: var(--space-md);
}

.route-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.route-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
  color: var(--brand-silver-l);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.route-item:last-child { border-bottom: none; }

.route-item__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-blue);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(59,62,158,0.6);
}

.route-item__dot.major {
  background: var(--brand-silver);
  box-shadow: 0 0 8px rgba(196,205,224,0.4);
  width: 10px; height: 10px;
}

.route-item__name { flex: 1; font-weight: 500; }
.route-item__time {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-blue-l);
  letter-spacing: 0.05em;
}

/* ─── SECCIONES GENERALES ───────────────────────────────── */
.section {
  padding: var(--space-2xl) 0;
}

.section--alt {
  background: var(--brand-dark);
  position: relative;
}

.section--alt::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,62,158,0.4), transparent);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: var(--space-md);
}

.section__eyebrow::before, .section__eyebrow::after {
  content: '';
  width: 24px; height: 1px;
  background: var(--brand-blue-l);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--brand-white);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.section__subtitle {
  font-size: 1rem;
  color: var(--brand-silver);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── SECCIÓN RUTAS ─────────────────────────────────────── */
.rutas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.ruta-card {
  background: var(--grad-card);
  border: 1px solid rgba(59, 62, 158, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: border-color var(--t-base) var(--ease-smooth),
              transform var(--t-base) var(--ease-smooth),
              box-shadow var(--t-base) var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.ruta-card:hover {
  border-color: rgba(59,62,158,0.55);
  transform: translateY(-6px);
  box-shadow: var(--shadow-blue);
}

.ruta-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grad-blue);
  padding: 5px 12px;
  border-radius: 99px;
  margin-bottom: var(--space-md);
}

.ruta-card__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--brand-white);
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.ruta-card__stops {
  font-size: 0.85rem;
  color: var(--brand-silver);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.ruta-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-blue-l);
  transition: gap var(--t-fast) var(--ease-smooth);
}
.ruta-card__link:hover { gap: 10px; }
.ruta-card__link span { font-size: 1.1em; }

/* Número decorativo de fondo */
.ruta-card__bg-number {
  position: absolute;
  bottom: -16px; right: -8px;
  font-family: var(--font-display);
  font-size: 7rem;
  font-weight: 900;
  color: rgba(59, 62, 158, 0.08);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

/* ─── SECCIÓN POR QUÉ ELEGIRNOS ────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid rgba(59, 62, 158, 0.15);
  transition: border-color var(--t-base) var(--ease-smooth),
              background var(--t-base) var(--ease-smooth);
}

.feature-card:hover {
  border-color: rgba(59,62,158,0.4);
  background: rgba(19, 24, 64, 0.5);
}

.feature-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: rgba(59, 62, 158, 0.15);
  border: 1px solid rgba(59, 62, 158, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  transition: background var(--t-base) var(--ease-smooth);
}
.feature-card:hover .feature-card__icon {
  background: rgba(59, 62, 158, 0.3);
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-white);
  margin-bottom: var(--space-sm);
}

.feature-card__text {
  font-size: 0.88rem;
  color: var(--brand-silver);
  line-height: 1.7;
}

/* ─── WHATSAPP FLOTANTE ─────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform var(--t-base) var(--ease-bounce),
              box-shadow var(--t-base) var(--ease-smooth);
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* Pulso animado */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: waPulse 2s ease-out infinite;
}

/* ─── FOOTER ────────────────────────────────────────────── */
.footer {
  background: #ffffff;
  color: #2A3070;
  border-top: 1px solid rgba(59, 62, 158, 0.18);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  margin-bottom: var(--space-md);
}

.footer__tagline {
  font-size: 0.88rem;
  color: #5560A0;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 280px;
}

.footer__socials {
  display: flex;
  gap: var(--space-sm);
}

.social-link {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(59, 62, 158, 0.08);
  border: 1px solid rgba(59, 62, 158, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  font-size: 0.9rem;
  transition: all var(--t-base) var(--ease-smooth);
}
.social-link:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer__heading {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-size: 0.875rem;
  color: #5560A0;
  transition: color var(--t-fast) var(--ease-smooth),
              transform var(--t-fast) var(--ease-smooth);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer__link:hover {
  color: var(--brand-blue);
  transform: translateX(4px);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: #5560A0;
  margin-bottom: var(--space-sm);
  line-height: 1.5;
}
.footer__contact-item a { color: #5560A0; transition: color var(--t-fast); }
.footer__contact-item a:hover { color: var(--brand-blue); }

.footer__contact-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer__bottom {
  border-top: 1px solid rgba(59, 62, 158, 0.12);
  padding-top: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.8rem;
  color: #7A85B5;
}

.scroll-top {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(59, 62, 158, 0.1);
  border: 1px solid rgba(59, 62, 158, 0.25);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--t-base) var(--ease-smooth);
}
.scroll-top:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
  transform: translateY(-2px);
}

/* ─── PÁGINA: HORARIOS ──────────────────────────────────── */
.page-hero {
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-xl);
  padding-top: calc(72px + var(--space-xl));
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-55deg, transparent, transparent 80px, rgba(59,62,158,0.04) 80px, rgba(59,62,158,0.04) 81px);
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--brand-white);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.page-hero__sub {
  font-size: 1rem;
  color: var(--brand-silver);
}

/* ─── PÁGINA: CONTACTO ──────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-info-card {
  background: var(--grad-card);
  border: 1px solid rgba(59, 62, 158, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  transition: border-color var(--t-base) var(--ease-smooth),
              transform var(--t-base) var(--ease-smooth);
}
.contact-info-card:hover {
  border-color: rgba(59,62,158,0.45);
  transform: translateX(4px);
}

.contact-info-card__icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(59, 62, 158, 0.15);
  border: 1px solid rgba(59, 62, 158, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-info-card__label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-blue-l);
  margin-bottom: 4px;
}

.contact-info-card__value {
  font-size: 0.92rem;
  color: var(--brand-silver-l);
  line-height: 1.5;
  font-weight: 500;
}

.contact-info-card__value a {
  color: var(--brand-silver-l);
  transition: color var(--t-fast);
}
.contact-info-card__value a:hover { color: var(--brand-white); }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(59, 62, 158, 0.2);
  height: 420px;
  box-shadow: var(--shadow-card);
}

.map-embed iframe {
  width: 100%; height: 100%;
  border: none;
  filter: invert(0.9) hue-rotate(180deg) saturate(0.8) brightness(0.85);
}

/* ─── PÁGINA: EN CONSTRUCCIÓN ───────────────────────────── */
.construccion {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(72px + var(--space-xl)) var(--space-lg) var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.construccion::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-55deg, transparent, transparent 80px, rgba(59,62,158,0.03) 80px, rgba(59,62,158,0.03) 81px);
}

.construccion::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,62,158,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.construccion__content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.construccion__icon {
  font-size: 5rem;
  margin-bottom: var(--space-lg);
  animation: float 3s ease-in-out infinite;
}

.construccion__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--brand-white);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.construccion__text {
  font-size: 1rem;
  color: var(--brand-silver);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.construccion__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-blue-l);
  background: rgba(59, 62, 158, 0.12);
  border: 1px solid rgba(59, 62, 158, 0.3);
  padding: 10px 20px;
  border-radius: 99px;
}

.construccion__badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-blue-l);
  animation: pulse 1.5s ease-in-out infinite;
}

/* ─── ANIMACIONES ───────────────────────────────────────── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  :root {
    --space-lg: 20px;
    --space-xl: 40px;
    --space-2xl: 64px;
  }

  .navbar__nav { display: none; }
  .navbar__burger { display: flex; }

  .navbar__nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: #ffffff;
    padding: var(--space-lg);
    gap: var(--space-sm);
    border-bottom: 1px solid rgba(59, 62, 158, 0.18);
    box-shadow: 0 8px 24px rgba(7,9,26,0.08);
    animation: dropDown 0.25s var(--ease-smooth);
  }

  @keyframes dropDown {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .navbar__nav.open .nav-link {
    padding: 12px 16px;
    font-size: 1.1rem;
  }

  .hero__container {
    grid-template-columns: 1fr;
    padding-top: var(--space-xl);
  }

  .hero__visual { display: none; }

  .hero__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
  }

  .stat-card { padding: var(--space-md); }
  .stat-card__number { font-size: 1.6rem; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__stats { grid-template-columns: 1fr; gap: var(--space-sm); }
  .hero__ctas { flex-direction: column; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .rutas-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}



/* ─── APP CALLOUT — "Bajate la app" en el hero ──────────────
   Diseño: pastilla sutil con borde iluminado, tipografía
   del sistema, botón fantasma con shimmer al hover.
   Aparece solo en mobile (via JS), invisible en desktop.
   ─────────────────────────────────────────────────────────── */
.app-callout {
  margin-bottom: 20px;
  animation: fadeSlideUp 0.7s var(--ease-smooth) 0.55s both;
}

/* Contenedor principal — pastilla con borde sutil */
.app-callout__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  /* Borde con gradiente simulado via background + padding trick */
  background:
    linear-gradient(rgba(13,17,48,0.75), rgba(13,17,48,0.75)) padding-box,
    linear-gradient(135deg, rgba(59,62,158,0.6), rgba(85,88,204,0.3), rgba(59,62,158,0.1)) border-box;
  border: 1px solid transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

/* Brillo sutil de fondo que recorre el bloque */
.app-callout__inner::before {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  animation: appShimmer 3.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes appShimmer {
  0%   { left: -60%; }
  60%  { left: 110%; }
  100% { left: 110%; }
}

/* Ícono app */
.app-callout__icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

/* Textos — usan el sistema tipográfico de la web */
.app-callout__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.app-callout__title {
  font-family: var(--font-display);   /* Barlow Condensed — igual que h1 */
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-white);
  line-height: 1;
}

.app-callout__sub {
  font-family: var(--font-body);      /* DM Sans — igual que párrafos */
  font-size: 0.7rem;
  color: var(--brand-silver);
  font-weight: 400;
  line-height: 1.3;
}

/* Botón — fantasma con borde índigo, shimmer al hover */
.app-callout__btn {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-silver-l);
  background: transparent;
  border: 1px solid rgba(85, 88, 204, 0.45);
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition:
    color var(--t-base) var(--ease-smooth),
    border-color var(--t-base) var(--ease-smooth),
    background var(--t-base) var(--ease-smooth);
}

/* Fill sutil al hover — se "llena" de azul translúcido */
.app-callout__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,62,158,0.5), rgba(85,88,204,0.35));
  opacity: 0;
  transition: opacity var(--t-base) var(--ease-smooth);
}

.app-callout__btn:hover {
  color: var(--brand-white);
  border-color: rgba(85, 88, 204, 0.8);
}
.app-callout__btn:hover::before { opacity: 1; }

.app-callout__btn span { position: relative; z-index: 1; }

/* Variante iOS */
.app-callout__btn--ios {
  border-color: rgba(142, 155, 181, 0.3);
}
.app-callout__btn--ios::before {
  background: rgba(142, 155, 181, 0.12);
}
.app-callout__btn--ios:hover {
  border-color: rgba(142, 155, 181, 0.6);
}

/* Tooltip instrucciones iOS */
.app-callout__ios-tip {
  margin-top: 10px;
  background: rgba(10, 14, 38, 0.95);
  border: 1px solid rgba(59, 62, 158, 0.35);
  border-radius: 12px;
  padding: 14px 36px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  animation: fadeSlideUp 0.22s var(--ease-smooth);
}

.app-callout__ios-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.83rem;
  color: var(--brand-silver-l);
  line-height: 1.5;
}

.app-callout__ios-num {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.app-callout__ios-close {
  position: absolute;
  top: 9px; right: 9px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(142, 155, 181, 0.12);
  border: none;
  color: var(--brand-silver);
  font-size: 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
}
.app-callout__ios-close:hover {
  background: rgba(142, 155, 181, 0.28);
  color: var(--brand-white);
}
