/* ════════════════════════════════════════════════════════════
   CENTRAL DE ÁNGELES — LANDING PÚBLICA (marketing)
   Solo la carga landing/index.html. Consume css/tokens.css: la
   landing tiene toggle de tema propio (default dark si no hay
   preferencia guardada), así que los tokens resuelven a light o
   dark igual que en el resto de la app.

   Excepción documentada a las convenciones de la app:
   - Escala tipográfica propia (marketing: héroes con clamp(),
     cuerpos más grandes). Los tamaños rem de este archivo son
     intencionales; la escala --text-*/--display-* es de la APP.
   - Abajo hay 3 valores exclusivos de marketing (--l-*) que no existen
     ni deben existir en tokens.css. --l-glass y --l-nav-bg tienen
     override para light mode; --l-grid-line (retícula decorativa muy
     sutil) usa el mismo valor en ambos temas a propósito. Todo color
     de marca y de UI sale de tokens.css.
   - Los CTA de marketing usan .l-btn-primary/.l-btn-secondary (no
     .btn-primary/.btn-secondary) porque la landing embebe la vista
     de login inline y por eso carga layout.css + buttons.css +
     forms.css (el mismo bundle que pages/login.html, para no
     duplicar .auth-shell/.auth-card/.input/.btn) — .btn-primary ya
     es la clase canónica de buttons.css para el botón real de submit,
     así que los CTAs de hero/cta-band necesitan un nombre propio.
   En WebForms esta página es standalone (sin MasterPage de la app).
   ════════════════════════════════════════════════════════════ */

/* Valores exclusivos de la landing — no son tokens del design system.
   Tuneados para dark (el default de la landing); [data-theme="light"]
   abajo los reajusta para que el glass/nav se vean bien sobre fondo claro. */
.landing-body {
  --l-glass:      rgba(26,58,107,0.45);   /* fill vidrio de cards sobre el hero/bg */
  --l-nav-bg:     rgba(10,22,40,1);       /* --bg opaco para el nav (subido de 0.85: el menu movil dejaba leerse el hero detras) */
  --l-grid-line:  rgba(0,229,160,0.04);   /* retícula decorativa del hero */

  font-size: 16px;            /* marketing lee más grande que la app (14px) */
  line-height: 1.6;
  overflow-x: hidden;
}
[data-theme="light"] .landing-body {
  --l-glass:      rgba(255,255,255,0.65); /* surface-2 con alpha: card clara sobre --bg */
  --l-nav-bg:     rgba(232,238,247,1);    /* --bg opaco para el nav (subido de 0.85: el menu movil dejaba leerse el hero detras) */
}

/* ── VISTAS INTERCAMBIABLES (landing ↔ login inline, patrón 11 de app.js) ──
   Transición fade+slide: el panel saliente anima .is-leaving y al terminar
   (animationend, ver switchView en app.js) se oculta y el entrante anima
   .is-entering. .dir-fwd/.dir-back deciden el lado del slide. */
.view-panel { display: none; }
.view-panel.is-active { display: block; }
.view-panel.is-leaving { display: block; }
.view-panel.is-leaving.dir-fwd  { animation: viewLeaveFwd  0.22s ease both; }
.view-panel.is-leaving.dir-back { animation: viewLeaveBack 0.22s ease both; }
.view-panel.is-entering.dir-fwd  { animation: viewEnterFwd  0.28s ease both; }
.view-panel.is-entering.dir-back { animation: viewEnterBack 0.28s ease both; }
@keyframes viewLeaveFwd  { to   { opacity: 0; transform: translateX(-24px); } }
@keyframes viewLeaveBack { to   { opacity: 0; transform: translateX(24px); } }
@keyframes viewEnterFwd  { from { opacity: 0; transform: translateX(24px); }  to { opacity: 1; transform: translateX(0); } }
@keyframes viewEnterBack { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: translateX(0); } }

/* ── NAV ── */
.landing-body nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-sticky);
  display: flex; align-items: center;
  padding: 0 5vw;
  height: 68px;
  background: var(--l-nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-1);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em;
  background: transparent; border: none; padding: 0; cursor: pointer;
}
.nav-logo img { height: 36px; width: auto; filter: var(--logo-filter); transition: filter 0.3s ease; }
.nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none;
  font-size: 0.875rem; font-weight: 500; color: var(--text-4);
  margin-left: auto;
}
.nav-links a:hover { color: var(--text-1); }
.nav-cta {
  background: var(--electric);
  color: var(--text-on-accent) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  border: none; cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--electric-hover); transform: translateY(-1px); }
/* Toggle de tema: siempre visible (no vive dentro de .nav-links, que se
   oculta en móvil) para que la landing tenga toggle en todos los anchos. */
.nav-theme { margin-left: 1.5rem; flex-shrink: 0; }
/* Hamburguesa: solo aparece en móvil (ver media query abajo). */
.nav-hamburger {
  display: none;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  color: var(--text-1);
  font-size: 1.1rem;
  cursor: pointer;
  margin-left: 0.75rem;
  flex-shrink: 0;
}

/* ── LOGIN INLINE (vista #view-login) ── */
/* El nav es persistente (fixed) en ambas vistas; el auth-shell le deja
   espacio arriba con padding-top + border-box para seguir centrado. */
#view-login .auth-shell {
  position: relative;
  overflow: hidden;
  padding-top: 68px;
  box-sizing: border-box;
}
/* Mismo gráfico de ruta GPS que el hero, de fondo detrás de la card. */
.login-bg-map {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.3;
}
.login-bg-map .route-svg { width: 130%; height: 130%; }
#view-login .auth-card { position: relative; z-index: 1; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh; /* Safari iOS: 100vh incluye la barra de dirección */
  display: flex; align-items: center;
  padding: 120px 5vw 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 50%, rgba(0,87,255,0.18) 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 80% 20%, rgba(0,229,160,0.08) 0%, transparent 60%);
}
/* GPS route SVG animation */
.hero-map {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 55%; z-index: 0; opacity: 0.35;
  display: flex; align-items: center; justify-content: center;
}
.route-svg { width: 100%; height: 100%; }
.route-grid-line { stroke: rgba(0,229,160,0.06); stroke-width: 1; }
.route-path {
  fill: none;
  stroke: var(--gps);
  stroke-width: 2;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawRoute 3s ease-out 0.5s forwards;
}
.route-path-2 {
  fill: none;
  stroke: var(--electric);
  stroke-width: 1.5;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  opacity: 0.6;
  animation: drawRoute 2.5s ease-out 1s forwards;
}
.pin-dot {
  fill: var(--gps);
  animation: pulseDot 2s ease-in-out 3s infinite;
}
.pin-electric { fill: var(--electric); }
.ring-electric { fill: none; stroke: var(--electric); }
@keyframes drawRoute {
  to { stroke-dashoffset: 0; }
}
@keyframes pulseDot {
  0%, 100% { r: 6; opacity: 1; }
  50% { r: 9; opacity: 0.7; }
}
/* grid overlay */
.grid-overlay {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--l-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--l-grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative; z-index: 1;
  max-width: 600px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gps);
  margin-bottom: 1.5rem;
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: var(--radius-full);
  background: var(--gps);
  animation: pulseBig 2s ease-in-out infinite;
}
@keyframes pulseBig {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,229,160,0.6); }
  50% { box-shadow: 0 0 0 8px rgba(0,229,160,0); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: normal;
  color: var(--gps);
}
.hero-sub {
  font-size: 1.1rem; color: var(--text-4);
  max-width: 460px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 3rem;
}
.l-btn-primary {
  background: var(--electric);
  color: var(--text-on-accent);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 600;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.l-btn-primary:hover {
  background: var(--electric-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-el);
}
.l-btn-secondary {
  background: transparent;
  color: var(--text-1);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-1);
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}
.l-btn-secondary:hover {
  border-color: var(--gps);
  background: var(--gps-light);
}
.hero-stats {
  display: flex; gap: 2.5rem;
}
.stat-item { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700;
  color: var(--text-1);
}
.stat-label { font-size: 0.78rem; color: var(--text-4); }

/* ── LOGOS STRIP ── */
.logos-strip {
  padding: 2rem 5vw;
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
  display: flex; align-items: center; gap: 3rem;
  background: var(--surface);
  overflow: hidden;
}
.logos-label {
  font-size: 0.75rem; color: var(--text-4);
  text-transform: uppercase; letter-spacing: 0.1em;
  white-space: nowrap;
}
.logos-track {
  display: flex; gap: 3rem; align-items: center;
  flex: 1; overflow: hidden;
}
.logo-chip {
  background: var(--l-glass);
  border: 1px solid var(--border-1);
  border-radius: 6px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem; font-weight: 600;
  color: var(--text-4);
  white-space: nowrap;
}

/* ── SECTIONS SHARED ── */
.landing-body section { padding: 100px 5vw; scroll-margin-top: 84px; }
.section-eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gps);
  margin-bottom: 1rem;
}
.landing-body .section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.15;
  text-transform: none;
  color: var(--text-1);
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem; color: var(--text-4);
  max-width: 500px; line-height: 1.7;
  margin-bottom: 3rem;
}

/* ── HOW IT WORKS ── */
.how { background: var(--surface); }
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5px;
  background: var(--border-1);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.how-step {
  background: var(--surface);
  padding: 2.5rem 2rem;
  position: relative;
}
.step-num {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 700;
  color: var(--border-1);
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.05em;
}
.step-icon {
  width: 44px; height: 44px;
  background: var(--gps-light);
  border: 1px solid var(--border-1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600;
  margin-bottom: 0.5rem;
}
.step-desc { font-size: 0.875rem; color: var(--text-4); line-height: 1.6; }

/* ── FEATURES ── */
.features { background: var(--bg); }
.features-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  align-items: start;
}
.features-list { display: flex; flex-direction: column; gap: 1rem; }
.feature-card {
  background: var(--l-glass);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.feature-card:hover, .feature-card.active {
  border-color: var(--gps);
  background: var(--gps-light);
}
.feature-card-header {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.feature-icon {
  width: 36px; height: 36px;
  background: var(--gps-light);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 600;
}
.feature-desc { font-size: 0.85rem; color: var(--text-4); line-height: 1.6; }

.features-preview {
  position: sticky; top: 100px;
  background: var(--surface);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex; flex-direction: column;
}
.preview-bar {
  background: var(--surface-3);
  padding: 0.75rem 1rem;
  display: flex; align-items: center; gap: 0.5rem;
  border-bottom: 1px solid var(--border-1);
}
.bar-dot {
  width: 8px; height: 8px; border-radius: var(--radius-full);
}
/* semáforo decorativo de la "ventana" mock — colores propios del gag visual */
.bar-dot.red   { background: #FF5F57; }
.bar-dot.amber { background: #FEBC2E; }
.bar-dot.green { background: #28C840; }
.preview-bar-title {
  font-size: 0.75rem; color: var(--text-4); margin-left: 0.5rem;
}
.preview-map-area {
  flex: 1;
  background:
    linear-gradient(rgba(0,87,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,87,255,0.05) 1px, transparent 1px),
    var(--surface);
  background-size: 30px 30px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.mock-route {
  position: absolute;
  width: 100%; height: 100%;
}
.mock-route-path {
  fill: none;
  stroke: var(--gps);
  opacity: 0.3;
  stroke-width: 2;
  stroke-dasharray: 6,3;
}
.mock-vehicle {
  position: absolute;
  width: 32px; height: 32px;
  background: var(--electric);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 0 0 8px rgba(0,87,255,0.2);
  animation: moveVehicle 6s ease-in-out infinite;
}
@keyframes moveVehicle {
  0%   { top: 30%; left: 20%; }
  25%  { top: 20%; left: 50%; }
  50%  { top: 40%; left: 70%; }
  75%  { top: 60%; left: 50%; }
  100% { top: 30%; left: 20%; }
}
.mock-pin {
  position: absolute;
  font-size: 1.4rem;
  filter: drop-shadow(0 2px 8px rgba(0,229,160,0.5));
}
.preview-stats {
  background: var(--surface);
  border-top: 1px solid var(--border-1);
  padding: 0.75rem 1rem;
  display: flex; gap: 1.5rem;
}
.preview-stat {
  display: flex; flex-direction: column;
  font-size: 0.75rem;
}
.preview-stat-num {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700; color: var(--gps);
}
.preview-stat-label { color: var(--text-4); }

/* ── PRICING ── */
.pricing { background: var(--surface); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
}
.price-card {
  background: var(--l-glass);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.featured {
  border-color: var(--gps);
  background: var(--gps-light);
}
.featured-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gps);
  color: var(--bg);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 12px; border-radius: var(--radius-full);
}
.price-tier {
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 0.75rem;
}
/* Variante de 2 líneas para tiers con nombre + condición (ej. "Plan Flotilla" /
   "A partir de 3 vehículos"), cuando el nombre no cabe en una sola línea de
   .price-tier sin verse apretado. */
.price-tier-big {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.15rem;
}
.price-tier-sub {
  font-size: 0.85rem;
  color: var(--text-4);
  margin-bottom: 0.75rem;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.price-amount sup { font-size: 1rem; vertical-align: super; }
.price-period { font-size: 0.8rem; color: var(--text-4); margin-bottom: 1.5rem; }
.price-divider {
  border: none; border-top: 1px solid var(--border-1);
  margin: 1.25rem 0;
}
.price-features { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.75rem; }
.price-features li {
  font-size: 0.875rem; color: var(--text-4);
  display: flex; align-items: flex-start; gap: 0.6rem;
}
.price-features li::before { content: '✓'; color: var(--gps); font-weight: 700; flex-shrink: 0; }
/* Feature "estrella" del plan (ej. saldo/datos incluidos): mismo check, pero
   texto a todo contraste + negrita para que resalte sobre el resto de la lista. */
.price-features li.is-highlight { color: var(--text-1); font-weight: 700; }
.btn-plan {
  display: block; width: 100%; text-align: center;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.9rem; font-weight: 600;
  transition: all 0.2s;
}
.btn-plan-primary {
  background: var(--gps);
  color: var(--bg);
}
.btn-plan-primary:hover { background: var(--gps-hover); }
.btn-plan-outline {
  border: 1px solid var(--border-1);
  color: var(--text-1);
}
.btn-plan-outline:hover { border-color: var(--gps); background: var(--gps-light); }

/* ── TESTIMONIALS ── */
.testimonials { background: var(--bg); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--l-glass);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-card);
  padding: 1.75rem;
}
.stars { color: var(--gps); font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text {
  font-size: 0.9rem; color: var(--text-1);
  line-height: 1.7; margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author {
  display: flex; align-items: center; gap: 0.75rem;
}
.author-avatar {
  width: 38px; height: 38px; border-radius: var(--radius-full);
  background: var(--surface-3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700;
  color: var(--gps);
  flex-shrink: 0;
}
.author-name { font-size: 0.875rem; font-weight: 600; }
.author-role { font-size: 0.75rem; color: var(--text-4); }

/* ── CTA BAND ── */
.cta-band {
  padding: 80px 5vw;
  scroll-margin-top: 84px;
  background: linear-gradient(135deg, rgba(0,87,255,0.15) 0%, rgba(0,229,160,0.08) 100%);
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
  text-align: center;
}
.cta-band .section-eyebrow { text-align: center; }
.cta-band .section-title { margin-bottom: 0.75rem; }
.cta-band p { color: var(--text-4); margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-contact { margin-top: 1.5rem; font-size: 0.8rem; margin-bottom: 0 !important; }

/* ── FOOTER ── */
.landing-body footer {
  padding: 3rem 5vw 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border-1);
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 3rem; flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-1);
  margin-bottom: 2rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1rem;
  margin-bottom: 0.75rem;
}
.footer-tagline { font-size: 0.85rem; color: var(--text-4); max-width: 240px; }
.footer-links { display: flex; gap: 4rem; flex-wrap: wrap; }
.footer-col h4 {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-4);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col li a { font-size: 0.875rem; color: var(--text-4); transition: color 0.2s; }
.footer-col li a:hover { color: var(--text-1); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-size: 0.78rem; color: var(--text-4);
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--text-4); transition: color 0.2s; }
.footer-legal a:hover { color: var(--text-1); }

/* ── MOBILE ── */
/* Nav: pasa a hamburguesa antes que el resto del layout móvil. El set
   completo de links + CTA + toggle de tema necesita más ancho del que
   sugeriría el breakpoint de contenido general (768px, ver abajo): con
   nav-links visible ahí, no caben y el toggle queda cortado en el borde. */
@media (max-width: 1024px) {
  .landing-body nav { padding: 0 4vw; }
  .nav-hamburger { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--l-nav-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-1);
    padding: 0.5rem 4vw 1rem;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.75rem 0; }
  .nav-links .nav-cta { display: block; width: 100%; text-align: center; margin-top: 0.5rem; }
  /* .nav-links (display:none aquí) es quien normalmente lleva el
     margin-left:auto que empuja todo lo que sigue hacia la derecha
     (ver regla base). Al sacarlo del flujo, se lo pasamos a nav-theme
     para que el toggle + hamburguesa no queden pegados al logo. */
  .nav-theme { margin-left: auto; }
}

@media (max-width: 768px) {
  .hero { padding: 100px 4vw 60px; }
  /* Margen fijo extra (no depende del centrado vertical de .hero, que en
     algunos navegadores móviles reales con barra de direcciones visible
     deja el eyebrow pegado justo debajo del nav fijo). */
  .hero-eyebrow { margin-top: 1.5rem; }
  .hero-map { display: none; }
  .landing-body section { padding: 60px 4vw; }
  .features-layout { grid-template-columns: 1fr; }
  .features-preview { display: none; }
  .logos-strip { gap: 1.5rem; }
  .footer-top { flex-direction: column; }
  .footer-links { gap: 2rem; }
}
