/* =========================================================
   Autelectro — Landing Page Styles
   Palette: carbon black · electric blue #024ad8 · gold #FFD700
   ========================================================= */

@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope/manrope-400.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope/manrope-500.woff2') format('woff2');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope/manrope-600.woff2') format('woff2');
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope/manrope-700.woff2') format('woff2');
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope/manrope-800.woff2') format('woff2');
  font-weight: 800; font-display: swap;
}

/* ── Tokens ──────────────────────────────────────────────── */
:root {
  --lp-bg:        #060b16;
  --lp-surface:   #0c1428;
  --lp-surface2:  #111d38;
  --lp-blue:      #024ad8;
  --lp-blue-b:    #296ef9;
  --lp-gold:      #FFD700;
  --lp-gold-soft: rgba(255,215,0,.12);
  --lp-text:      #dde3f4;
  --lp-muted:     #6b78a0;
  --lp-line:      rgba(255,255,255,.07);
  --font: 'Manrope', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--lp-bg);
  color: var(--lp-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--lp-bg); }
::-webkit-scrollbar-thumb { background: var(--lp-blue); border-radius: 3px; }

/* ── Carbon texture ─────────────────────────────────────── */
.carbon-bg {
  background-color: var(--lp-bg);
  background-image:
    linear-gradient(45deg, rgba(255,255,255,.018) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.018) 75%),
    linear-gradient(45deg, rgba(255,255,255,.018) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.018) 75%);
  background-size: 6px 6px;
  background-position: 0 0, 3px 3px;
}

/* ── Navbar ──────────────────────────────────────────────── */
.lp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: 72px;
  background: rgba(6,11,22,.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--lp-line);
  transition: background .3s;
}
.lp-nav.scrolled {
  background: rgba(6,11,22,.97);
}
.nav-logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--lp-muted);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }

.btn-portal {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1.25rem;
  border: 1.5px solid rgba(41,110,249,.5);
  color: var(--lp-blue-b);
  background: transparent;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.btn-portal:hover {
  border-color: var(--lp-blue-b);
  background: rgba(41,110,249,.1);
  color: #fff;
}

.btn-track {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1.25rem;
  border: 1.5px solid var(--lp-gold);
  color: var(--lp-gold);
  background: transparent;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .2s;
}
.btn-track:hover {
  background: var(--lp-gold);
  color: #070b16;
}

.btn-cta-sm {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1.25rem;
  background: var(--lp-gold);
  color: #070b16;
  border: none;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: filter .2s, transform .15s;
}
.btn-cta-sm:hover { filter: brightness(1.12); transform: translateY(-1px); }

/* ── Hamburger ───────────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--lp-text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

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

/* Speed lines (diagonal racing stripes) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 60px,
    rgba(2,74,216,.04) 60px,
    rgba(2,74,216,.04) 61px
  );
  pointer-events: none;
}

/* Glow orb top-right */
.hero-orb {
  position: absolute;
  top: -120px; right: -120px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(2,74,216,.22) 0%, transparent 70%);
  pointer-events: none;
}
/* Gold accent orb */
.hero-orb-gold {
  position: absolute;
  bottom: 0; right: 30%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,215,0,.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem clamp(1.5rem,5vw,4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .9rem;
  background: var(--lp-gold-soft);
  border: 1px solid rgba(255,215,0,.25);
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lp-gold);
  margin-bottom: 1.5rem;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--lp-gold);
  border-radius: 50%;
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
  color: #fff;
}
.hero-title .accent-blue {
  background: linear-gradient(90deg, #296ef9, #024ad8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title .accent-gold {
  color: var(--lp-gold);
}

.hero-sub {
  font-size: 1.075rem;
  color: var(--lp-muted);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 3rem;
}

.btn-hero-primary {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 2rem;
  background: var(--lp-gold);
  color: #06080f;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(255,215,0,.3);
  transition: filter .2s, transform .15s, box-shadow .2s;
}
.btn-hero-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(255,215,0,.45);
  color: #06080f;
}

.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 2rem;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.btn-hero-secondary:hover {
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.06);
  color: #fff;
}

.btn-hero-track {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 2rem;
  background: rgba(41,110,249,.18);
  color: #FFD700;
  border: 1.5px solid var(--lp-gold);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s;
}
.btn-hero-track:hover {
  background: var(--lp-gold);
  color: #06080f;
  border-color: var(--lp-gold);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(255,215,0,.35);
}

/* Hero trust row */
.hero-trust {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.hero-trust-item {
  display: flex;
  flex-direction: column;
}
.trust-num {
  font-size: 1.75rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.trust-num span { color: var(--lp-gold); }
.trust-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--lp-muted);
  margin-top: .25rem;
}
.trust-sep {
  width: 1px;
  height: 40px;
  background: var(--lp-line);
}

/* ── Car SVG side ────────────────────────────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.car-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
}
.car-wrap svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 28px rgba(2,74,216,.5));
  animation: float-car 4s ease-in-out infinite;
}
@keyframes float-car {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
/* Ground glow */
.car-glow {
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 20px;
  background: radial-gradient(ellipse, rgba(2,74,216,.5) 0%, transparent 70%);
  filter: blur(6px);
}
/* JDM badge floating */
.jdm-badge {
  position: absolute;
  top: 10px; right: 0;
  background: var(--lp-surface);
  border: 1px solid rgba(2,74,216,.4);
  border-radius: 10px;
  padding: .6rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(2,74,216,.2);
  animation: float-badge 3s ease-in-out infinite .5s;
}
@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
.jdm-badge .badge-top {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--lp-muted);
}
.jdm-badge .badge-main {
  font-size: 1rem;
  font-weight: 900;
  color: var(--lp-gold);
  letter-spacing: .05em;
}
.jdm-badge .badge-sub {
  font-size: .6rem;
  color: var(--lp-muted);
}

/* ── Section base ────────────────────────────────────────── */
.lp-section {
  padding: 6rem clamp(1.5rem,5vw,4rem);
  max-width: 1280px;
  margin: 0 auto;
}
.section-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lp-blue-b);
  margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.8rem,3.5vw,2.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--lp-muted);
  line-height: 1.7;
  max-width: 520px;
}

/* ── SERVICIOS ───────────────────────────────────────────── */
.services-bg {
  background: var(--lp-surface);
  border-top: 1px solid var(--lp-line);
  border-bottom: 1px solid var(--lp-line);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.service-card {
  background: var(--lp-bg);
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2,74,216,.07), transparent);
  opacity: 0;
  transition: opacity .25s;
}
.service-card:hover {
  border-color: rgba(41,110,249,.4);
  box-shadow: 0 8px 32px rgba(2,74,216,.18);
  transform: translateY(-4px);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  background: rgba(2,74,216,.12);
  color: var(--lp-blue-b);
  border: 1px solid rgba(2,74,216,.2);
  transition: background .25s;
}
.service-card:hover .service-icon {
  background: rgba(2,74,216,.22);
}
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .5rem;
  letter-spacing: -.01em;
}
.service-card p {
  font-size: .875rem;
  color: var(--lp-muted);
  line-height: 1.65;
}

/* ── POR QUÉ NOSOTROS ────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2rem;
}
.why-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.why-feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.why-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  background: rgba(255,215,0,.1);
  border: 1px solid rgba(255,215,0,.2);
  color: var(--lp-gold);
}
.why-feature h4 {
  font-size: .95rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .25rem;
}
.why-feature p {
  font-size: .845rem;
  color: var(--lp-muted);
  line-height: 1.6;
}

/* Visual panel (right side) */
.why-visual {
  position: relative;
}
.why-panel {
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.why-panel::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(2,74,216,.25), transparent 70%);
  pointer-events: none;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .85rem 0;
  border-bottom: 1px solid var(--lp-line);
}
.spec-row:last-child { border-bottom: none; }
.spec-label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--lp-muted);
}
.spec-val {
  font-size: .9rem;
  font-weight: 800;
  color: #fff;
}
.spec-val.blue { color: var(--lp-blue-b); }
.spec-val.gold { color: var(--lp-gold); }

/* ── STATS ───────────────────────────────────────────────── */
.stats-bg {
  background: linear-gradient(135deg, #050d24 0%, #0b1840 50%, #050d24 100%);
  border-top: 1px solid rgba(2,74,216,.15);
  border-bottom: 1px solid rgba(2,74,216,.15);
  position: relative;
  overflow: hidden;
}
.stats-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 120px,
    rgba(2,74,216,.04) 120px,
    rgba(2,74,216,.04) 121px
  );
}
.stats-inner {
  position: relative;
  z-index: 1;
  padding: 5rem clamp(1.5rem,5vw,4rem);
  max-width: 1280px;
  margin: 0 auto;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item {}
.stat-num {
  font-size: clamp(2.5rem,5vw,3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: .5rem;
}
.stat-num .suf { color: var(--lp-gold); }
.stat-divider {
  width: 32px; height: 3px;
  background: var(--lp-blue);
  border-radius: 2px;
  margin: .6rem auto;
}
.stat-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--lp-muted);
}

/* ── PROCESO ─────────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  position: relative;
}
/* Connector line */
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 0px);
  right: calc(12.5% + 0px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lp-blue), var(--lp-blue), transparent);
  opacity: .4;
}
.step-card {
  text-align: center;
  padding: 2rem 1.25rem;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--lp-surface);
  border: 2px solid rgba(2,74,216,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  color: var(--lp-blue-b);
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
  transition: background .25s, border-color .25s;
}
.step-card:hover .step-num {
  background: var(--lp-blue);
  border-color: var(--lp-blue);
  color: #fff;
}
.step-card h4 {
  font-size: .95rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .4rem;
}
.step-card p {
  font-size: .82rem;
  color: var(--lp-muted);
  line-height: 1.6;
}

/* ── CTA BAND ────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(105deg, #020d2e 0%, #030e38 40%, #021a6b 100%);
  border-top: 1px solid rgba(2,74,216,.25);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent, transparent 80px,
    rgba(255,215,0,.025) 80px, rgba(255,215,0,.025) 81px
  );
}
.cta-inner {
  position: relative;
  z-index: 1;
  padding: 5.5rem clamp(1.5rem,5vw,4rem);
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-size: clamp(1.6rem,3.5vw,2.6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: .6rem;
}
.cta-text p {
  font-size: 1rem;
  color: rgba(255,255,255,.55);
  max-width: 480px;
  line-height: 1.65;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.75rem;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0 24px rgba(37,211,102,.3);
  transition: filter .2s, transform .15s;
}
.btn-whatsapp:hover { filter: brightness(1.1); transform: translateY(-2px); color: #fff; }

.btn-tel {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.75rem;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.btn-tel:hover {
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.07);
  color: #fff;
}

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--lp-bg);
  border-top: 1px solid var(--lp-line);
  padding: 3rem clamp(1.5rem,5vw,4rem) 2rem;
  max-width: 100%;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--lp-line);
}
.footer-brand p {
  font-size: .85rem;
  color: var(--lp-muted);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 280px;
}
.footer-col h5 {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lp-muted);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .2s;
}
.footer-col a:hover { color: #fff; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .7rem;
  font-size: .875rem;
  color: rgba(255,255,255,.5);
}
.footer-contact-item i { color: var(--lp-blue-b); font-size: 1rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: .8rem;
  color: var(--lp-muted);
}
.footer-socials {
  display: flex;
  gap: .75rem;
}
.social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--lp-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--lp-muted);
  font-size: 1rem;
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.social-link:hover {
  border-color: var(--lp-blue-b);
  color: var(--lp-blue-b);
  background: rgba(41,110,249,.1);
}

/* ── Scroll-reveal ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Counter animation ───────────────────────────────────── */
.count-up { display: inline; }

/* ── Mobile menu ─────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 72px 0 0;
  background: rgba(6,11,22,.97);
  backdrop-filter: blur(14px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  border-top: 1px solid var(--lp-line);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--lp-text);
  text-decoration: none;
  letter-spacing: .04em;
}

/* ── Responsive ──────────────────────────────────────────── */

/* ≤ 991px — tablet */
@media (max-width: 991px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .lp-section { padding: 4rem clamp(1.5rem, 4vw, 3rem); }
}

/* ≤ 768px — mobile landscape / phablet */
@media (max-width: 768px) {
  /* Hero */
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 3rem 1.5rem; }
  .hero-visual { display: none; }
  .hero-trust { justify-content: center; flex-wrap: wrap; gap: 1.25rem; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; flex-direction: column; align-items: center; }
  .btn-hero-primary,
  .btn-hero-secondary,
  .btn-hero-track { width: 100%; max-width: 320px; justify-content: center; min-height: 50px; }
  .hero-badge { justify-content: center; }

  /* Navbar */
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .lp-nav { padding: 0 1.25rem; }
  .nav-actions .btn-portal,
  .nav-actions .btn-track { display: none; } /* en mobile sólo el CTA Agendar; el resto está en el menú hamburguesa */

  /* Secciones */
  .lp-section { padding: 3rem 1.25rem; }
  .section-title { font-size: clamp(1.5rem, 5vw, 2rem); }

  /* Why panel */
  .why-panel { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Stats */
  .stats-inner { padding: 3rem 1.25rem; }

  /* CTA band */
  .cta-inner { flex-direction: column; text-align: center; padding: 3.5rem 1.25rem; gap: 2rem; }
  .cta-actions { width: 100%; justify-content: center; flex-direction: column; align-items: center; }
  .btn-whatsapp,
  .btn-tel { width: 100%; max-width: 320px; justify-content: center; min-height: 50px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  footer { padding: 2.5rem 1.25rem 1.5rem; }
}

/* ≤ 576px — teléfonos pequeños */
@media (max-width: 576px) {
  /* Hero trust: ocultar separadores */
  .trust-sep { display: none; }
  .hero-trust { gap: 1.5rem; }

  /* Servicios 1 columna */
  .services-grid { grid-template-columns: 1fr; }

  /* Stats 2 columnas */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .stat-num { font-size: clamp(2rem, 8vw, 3rem); }

  /* Proceso 1 columna */
  .process-steps { grid-template-columns: 1fr; }

  /* Por qué nosotros: spec rows compactas */
  .spec-label { font-size: .72rem; }
  .spec-val   { font-size: .8rem; }

  /* Navbar CTA más compacto */
  .btn-cta-sm { padding: .4rem .85rem; font-size: .72rem; }

  /* Mobile menu links */
  .mobile-menu a { font-size: 1.2rem; }
}

/* ≤ 380px — teléfonos muy pequeños */
@media (max-width: 380px) {
  .hero-title { font-size: 2.2rem; }
  .trust-num  { font-size: 1.4rem; }
  .lp-nav     { height: 64px; }
  .mobile-menu { inset: 64px 0 0; }
}
