/* ===================================================================
   Mi Carro con GPS — hoja de estilos compartida
   Paleta: mapa nocturno + baliza GPS
   =================================================================== */

:root{
  --navy:      #0E1B2A;   /* fondo oscuro / header */
  --navy-2:    #142943;   /* franjas oscuras secundarias */
  --ink:       #16232F;   /* texto principal */
  --fog:       #EEF1F2;   /* fondo claro (gris-verdoso frío, no crema) */
  --paper:     #FFFFFF;
  --amber:     #F5A623;   /* baliza / acento principal */
  --amber-ink: #7A4E00;   /* texto sobre fondos ámbar claros */
  --teal:      #2F8F82;   /* acento secundario / enlaces */
  --steel:     #5B6B78;   /* texto secundario */
  --line:      #D9DEDF;   /* líneas divisorias sobre fondo claro */
  --line-dark: rgba(255,255,255,.14);

  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body:    'IBM Plex Sans', 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --maxw: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  line-height:1.6;
  font-size:17px;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--ink);
  line-height:1.15;
  margin:0 0 .5em;
  font-weight:600;
  letter-spacing:-0.01em;
}
h1{ font-size:clamp(2.1rem,4.4vw,3.3rem); font-weight:700; letter-spacing:-0.02em; }
h2{ font-size:clamp(1.6rem,3vw,2.2rem); }
h3{ font-size:1.2rem; }
p{ margin:0 0 1em; max-width:64ch; }
a{ color:var(--teal); text-decoration:none; }
a:hover{ text-decoration:underline; }
img{ max-width:100%; display:block; }
ul{ padding-left:1.1em; }
.container{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.mono{ font-family:var(--font-mono); letter-spacing:.02em; }

section{ padding:88px 0; }
@media (max-width:720px){ section{ padding:56px 0; } }

/* ---------- Botones ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.5em;
  font-family:var(--font-body); font-weight:600; font-size:.98rem;
  padding:.85em 1.5em; border-radius:3px; border:1.5px solid transparent;
  cursor:pointer; transition:background .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary{ background:var(--amber); color:var(--navy); }
.btn-primary:hover{ background:#e3961b; text-decoration:none; }
.btn-ghost{ border-color:currentColor; color:inherit; }
.btn-ghost:hover{ background:rgba(255,255,255,.08); text-decoration:none; }
.btn-ghost.on-light{ color:var(--ink); }
.btn-ghost.on-light:hover{ background:rgba(0,0,0,.05); }

/* ---------- Header ---------- */
header.site{
  position:sticky; top:0; z-index:50;
  background:var(--navy); color:var(--fog);
  border-bottom:1px solid var(--line-dark);
}
.nav-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0; gap:24px;
}
.brand{ display:flex; align-items:center; gap:10px; color:var(--fog); }
.brand img{ width:38px; height:38px; border-radius:6px; }
.brand span{ font-family:var(--font-display); font-weight:700; font-size:1.05rem; letter-spacing:-0.01em; }
nav.primary{ display:flex; align-items:center; gap:26px; }
nav.primary a{ color:#FFFFFF; font-size:.95rem; }
nav.primary a:hover{ text-decoration:none; border-bottom:2px solid var(--amber); }
nav.primary a.current{ border-bottom:2px solid var(--amber); }
.header-cta{ display:flex; align-items:center; gap:14px; }
.menu-toggle{ display:none; background:none; border:0; color:var(--fog); font-size:1.6rem; cursor:pointer; }

@media (max-width:900px){
  nav.primary{
    position:absolute; top:100%; left:0; right:0; background:var(--navy);
    flex-direction:column; align-items:flex-start; gap:0;
    max-height:0; overflow:hidden; transition:max-height .25s ease;
    border-bottom:1px solid var(--line-dark);
  }
  nav.primary.open{ max-height:400px; }
  nav.primary a{ padding:14px 24px; width:100%; border-bottom:1px solid var(--line-dark); }
  nav.primary a:hover, nav.primary a.current{ border-bottom:1px solid var(--amber); }
  .menu-toggle{ display:block; }
}

/* ---------- Hero ---------- */
.hero{
  background:var(--navy); color:var(--fog);
  padding:76px 0 0;
  overflow:hidden;
}
.hero .container{
  display:grid; grid-template-columns:1.05fr .95fr; gap:48px; align-items:center;
}
@media (max-width:900px){ .hero .container{ grid-template-columns:1fr; } }
.hero-eyebrow-coord{
  font-family:var(--font-mono); font-size:.78rem; color:var(--amber);
  margin-bottom:18px; opacity:.9;
}
.hero h1{ color:var(--paper); }
.hero p.lead{ color:#FFFFFF; font-size:1.1rem; max-width:46ch; }
.hero-ctas{ display:flex; gap:14px; margin:28px 0 34px; flex-wrap:wrap; }
.hero-stats{
  display:flex; gap:28px; flex-wrap:wrap; padding-top:22px; border-top:1px solid var(--line-dark);
  margin-bottom:64px;
}
.hero-stats div{ font-family:var(--font-mono); font-size:.82rem; color:#FFFFFF; }
.hero-stats strong{ display:block; font-family:var(--font-display); font-size:1.3rem; color:var(--paper); font-weight:700; }

/* mapa/ruta ilustrado */
.hero-art{ position:relative; }
.hero-art svg{ width:100%; height:auto; }
.beacon{ transform-origin:center; }
.beacon .ring{ animation:pulse 2.4s ease-out infinite; }
.beacon .ring:nth-child(2){ animation-delay:.8s; }
.beacon .ring:nth-child(3){ animation-delay:1.6s; }
@keyframes pulse{
  0%{ r:4; opacity:.9; }
  100%{ r:46; opacity:0; }
}
@media (prefers-reduced-motion:reduce){ .beacon .ring{ animation:none; opacity:.25; } }

/* ---------- Franja oscura de stats (subpáginas) ---------- */
.stat-strip{
  background:var(--navy-2); color:var(--fog); padding:34px 0;
}
.stat-strip .container{ display:flex; gap:40px; flex-wrap:wrap; }
.stat-strip div{ font-family:var(--font-mono); font-size:.8rem; color:#FFFFFF; }
.stat-strip strong{ display:block; font-family:var(--font-display); font-size:1.15rem; color:var(--paper); }

/* ---------- Servicios: layout de "ruta" ---------- */
.services{ background:var(--fog); }
.route{ position:relative; margin-top:48px; }
.stop{
  display:grid; grid-template-columns:64px 1fr; gap:0 28px;
  position:relative; padding-bottom:56px;
}
.stop:last-child{ padding-bottom:0; }
.stop-marker{
  position:relative; display:flex; justify-content:center;
}
.stop-marker::before{
  content:''; position:absolute; top:34px; bottom:-56px; width:2px; background:var(--line);
}
.stop:last-child .stop-marker::before{ display:none; }
.stop-dot{
  width:34px; height:34px; border-radius:50%; background:var(--paper);
  border:2px solid var(--teal); display:flex; align-items:center; justify-content:center;
  z-index:1; color:var(--teal);
}
.stop-body h3{ margin-bottom:.35em; }
.stop-body p{ color:var(--steel); }
.stop-body .stop-link{ font-weight:600; font-size:.95rem; }
.stop-media{ margin-top:14px; }
.stop-media img{ max-width:220px; border-radius:4px; border:1px solid var(--line); }

/* ---------- Listas de features (2 columnas, sin cards) ---------- */
.feature-list{
  display:grid; grid-template-columns:1fr 1fr; gap:0 48px; margin-top:40px;
}
@media (max-width:720px){ .feature-list{ grid-template-columns:1fr; } }
.feature-item{
  display:flex; gap:16px; padding:22px 0; border-top:1px solid var(--line);
}
.feature-item:nth-child(1), .feature-item:nth-child(2){ border-top:none; }
.feature-icon{
  flex:none; width:36px; height:36px; border-radius:50%;
  background:var(--navy); color:var(--amber); display:flex; align-items:center; justify-content:center;
  font-family:var(--font-mono); font-size:.85rem; font-weight:700;
}
.feature-item h4{ font-size:1rem; margin-bottom:.3em; font-weight:600; }
.feature-item p{ color:var(--steel); font-size:.96rem; margin:0; }

/* ---------- Pull quote ---------- */
.quote-band{ background:var(--paper); }
.quote-band blockquote{
  font-family:var(--font-display); font-size:clamp(1.3rem,2.6vw,1.9rem);
  font-weight:600; color:var(--ink); max-width:52ch; margin:0 0 18px; line-height:1.3;
  border-left:3px solid var(--amber); padding-left:24px;
}
.quote-band cite{ font-style:normal; color:var(--steel); font-size:.9rem; }

/* ---------- CTA / contacto ---------- */
.cta-band{ background:var(--navy); color:var(--fog); }
.cta-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
@media (max-width:860px){ .cta-grid{ grid-template-columns:1fr; } }
.cta-band h2{ color:var(--paper); }
.cta-band p{ color:#FFFFFF; }
.office-block{ margin-top:26px; }
.office-block h4{ color:var(--amber); font-family:var(--font-mono); font-size:.82rem; font-weight:600; margin-bottom:.4em; letter-spacing:.02em; }
.office-block p{ color:#FFFFFF; margin-bottom:1.2em; font-size:.95rem; }

.gform-embed{
  background:var(--paper); border-radius:4px; overflow:hidden;
  border:1px solid var(--line-dark);
}
.gform-embed iframe{ display:block; border:0; }

/* ---------- FAQ ---------- */
.faq{ background:var(--fog); }
.faq-item{ border-top:1px solid var(--line); padding:20px 0; }
.faq-item:first-of-type{ border-top:none; }
.faq-item h3{ font-size:1.02rem; font-weight:600; margin-bottom:.4em; }
.faq-item p{ color:var(--steel); margin:0; }

/* ---------- Footer ---------- */
footer.site{ background:var(--navy); color:#FFFFFF; padding:52px 0 26px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:36px; margin-bottom:36px; }
@media (max-width:720px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-grid h4{ color:var(--fog); font-size:.85rem; font-family:var(--font-mono); letter-spacing:.02em; margin-bottom:1em; }
.footer-grid ul{ list-style:none; padding:0; margin:0; }
.footer-grid li{ margin-bottom:.6em; }
.footer-grid a{ color:#FFFFFF; }
.footer-grid a:hover{ color:var(--amber); }
.footer-bottom{ border-top:1px solid var(--line-dark); padding-top:22px; font-size:.82rem; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float{
  position:fixed; bottom:22px; right:22px; width:56px; height:56px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center; z-index:60;
  box-shadow:0 6px 18px rgba(0,0,0,.25);
}
.wa-float img{ width:28px; height:28px; }

/* ---------- Hero de subpágina (servicio) ---------- */
.service-hero{ background:var(--navy); color:var(--fog); padding:72px 0; position:relative; overflow:hidden; }
.service-hero::before{
  content:''; position:absolute; inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='300' viewBox='0 0 600 300'%3E%3Cpath d='M0 60 Q150 20 300 55 T600 40' stroke='%232F8F82' stroke-width='1' fill='none' opacity='.35'/%3E%3Cpath d='M0 160 Q150 120 300 155 T600 140' stroke='%232F8F82' stroke-width='1' fill='none' opacity='.22'/%3E%3Cpath d='M0 250 Q150 210 300 245 T600 230' stroke='%232F8F82' stroke-width='1' fill='none' opacity='.18'/%3E%3C/svg%3E");
  background-repeat:repeat; background-size:600px 300px; pointer-events:none;
}
.service-hero .container{ position:relative; z-index:1; }
.service-hero .container{ display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center; }
@media (max-width:900px){ .service-hero .container{ grid-template-columns:1fr; } }
.service-hero img{ border-radius:4px; }
.breadcrumb{ font-family:var(--font-mono); font-size:.78rem; color:var(--amber); margin-bottom:16px; }
.breadcrumb a{ color:#FFFFFF; }

.content-block{ max-width:70ch; }
.content-block h2{ margin-top:2em; }
.content-block h2:first-child{ margin-top:0; }
.content-block ul{ color:var(--steel); }
