/* =========================================================
   Blanca Fleet Group LLC — hoja de estilos
   Paleta:
     --asfalto  #17212E  texto principal / bandas oscuras
     --pizarra  #4E5B6B  texto secundario
     --linea    #D6DCE3  bordes y líneas de mapa
     --niebla   #F1F4F7  fondos de sección
     --blanco   #FFFFFF
     --senal    #F2A900  ámbar de señalización (solo paradas y foco)
   ========================================================= */

:root {
  --asfalto: #17212E;
  --asfalto-2: #223044;
  --pizarra: #4E5B6B;
  --linea: #D6DCE3;
  --niebla: #F1F4F7;
  --blanco: #FFFFFF;
  --senal: #F2A900;
  --senal-oscuro: #8A5F00;

  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --wrap: 1160px;
  --radius: 10px;
  --radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--asfalto);
  background: var(--blanco);
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 700; }
p { margin: 0; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

:focus-visible { outline: 3px solid var(--senal); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--asfalto); color: var(--blanco); padding: .6rem 1rem; border-radius: var(--radius);
}
.skip:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font: inherit; font-weight: 600; font-size: 1rem;
  padding: .85rem 1.35rem; border-radius: 999px;
  border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }
.btn-primary { background: var(--asfalto); color: var(--blanco); }
.btn-primary:hover { background: var(--asfalto-2); }
.btn-ghost { background: transparent; color: var(--asfalto); border-color: var(--asfalto); }
.btn-ghost:hover { background: var(--asfalto); color: var(--blanco); }
.btn-small { padding: .55rem 1rem; font-size: .9375rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--linea);
}
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name {
  display: flex; flex-direction: column;
  font-weight: 800; font-size: 1.05rem; line-height: 1.05;
  font-variation-settings: "wdth" 118; letter-spacing: -.01em;
}
.brand-sub { font-weight: 500; font-size: .78rem; color: var(--pizarra); letter-spacing: .02em; font-variation-settings: "wdth" 100; }

.nav { display: flex; gap: 1.75rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; color: var(--pizarra); }
.nav a:hover { color: var(--asfalto); }

.header-actions { display: flex; align-items: center; gap: .75rem; }
.lang {
  font: inherit; font-weight: 700; font-size: .85rem;
  background: none; border: 1.5px solid var(--linea); color: var(--asfalto);
  padding: .4rem .65rem; border-radius: 8px; cursor: pointer;
}
.lang:hover { border-color: var(--asfalto); }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 3rem; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  font-weight: 760;
  font-variation-settings: "wdth" 112;
  letter-spacing: -.025em;
  line-height: 1.02;
  max-width: 15ch;
  text-wrap: balance;
}
.lede { margin-top: 1.5rem; font-size: 1.2rem; color: var(--pizarra); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }

/* Route map — the signature element */
.route-map { margin: 0; }
.route-map svg { width: 100%; height: auto; overflow: visible; }
.grid-lines path { stroke: var(--niebla); stroke-width: 14; fill: none; }
.line-alt { fill: none; stroke: var(--linea); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.line-main {
  fill: none; stroke: var(--asfalto); stroke-width: 12;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1200; stroke-dashoffset: 0;
}
.st { fill: var(--blanco); stroke: var(--asfalto); stroke-width: 5; }
.st-start { fill: var(--asfalto); }
.st-end { fill: var(--senal); stroke: var(--asfalto); }
.labels text {
  font-family: var(--font); font-size: 17px; font-weight: 600; fill: var(--asfalto);
  paint-order: stroke; stroke: var(--blanco); stroke-width: 6px; stroke-linejoin: round;
}
.labels .lbl-end { font-weight: 800; font-size: 19px; }

@media (prefers-reduced-motion: no-preference) {
  .js .line-main { stroke-dashoffset: 1200; animation: draw 1.8s cubic-bezier(.6,.05,.25,1) .25s forwards; }
  .js .stations circle, .js .labels text { opacity: 0; animation: appear .4s ease-out forwards; }
  .js .stations circle:nth-child(5) { animation-delay: .2s; }
  .js .stations circle:nth-child(1), .js .labels text:nth-child(1) { animation-delay: .75s; }
  .js .stations circle:nth-child(2), .js .labels text:nth-child(2) { animation-delay: 1.05s; }
  .js .stations circle:nth-child(3), .js .labels text:nth-child(3) { animation-delay: 1.3s; }
  .js .stations circle:nth-child(4), .js .labels text:nth-child(4) { animation-delay: 1.85s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }

/* Quick contact strip */
.quick-contact {
  list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea);
}
.quick-contact li { padding: 1.1rem 1.25rem; display: flex; flex-direction: column; gap: .15rem; }
.quick-contact li + li { border-left: 1px solid var(--linea); }
.qc-label { font-size: .85rem; color: var(--pizarra); }
.quick-contact a, .quick-contact span:not(.qc-label) { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.quick-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Audience ---------- */
.audience { padding: 1.5rem 0 0; }
.audience-inner { display: flex; align-items: baseline; gap: 1.5rem 2.5rem; flex-wrap: wrap; }
.audience-title { font-size: 1rem; font-weight: 600; color: var(--pizarra); }
.audience-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.audience-list li {
  font-weight: 600; padding: .45rem .95rem; border-radius: 999px;
  background: var(--niebla); font-size: .95rem;
}

/* ---------- Sections ---------- */
.services, .method { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  font-variation-settings: "wdth" 112; letter-spacing: -.02em;
}
.section-head p { margin-top: .9rem; color: var(--pizarra); font-size: 1.125rem; }

/* Services — two-column list with ruled rows, not a card kit */
.svc-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--asfalto); }
.svc {
  display: grid; grid-template-columns: 56px 1fr; column-gap: 1.25rem; row-gap: .5rem;
  padding: 2.25rem 2.5rem 2.25rem 0;
  border-bottom: 1px solid var(--linea);
}
.svc:nth-child(even) { padding: 2.25rem 0 2.25rem 2.5rem; border-left: 1px solid var(--linea); }
.svc-icon { grid-row: span 3; width: 48px; height: 48px; fill: none; stroke: var(--asfalto); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.svc-icon circle { fill: var(--blanco); }
.svc-icon .amber { fill: var(--senal); stroke: var(--asfalto); }
.svc h3 { font-size: 1.35rem; font-variation-settings: "wdth" 108; letter-spacing: -.01em; }
.svc p { color: var(--pizarra); max-width: 48ch; }
.svc .svc-out { color: var(--asfalto); font-weight: 600; font-size: .975rem; }

/* ---------- Method (a true sequence → numbered stations on a line) ---------- */
.method { background: var(--niebla); }
.steps {
  list-style: none; margin: 0; padding: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  position: relative;
}
.steps::before {
  content: ""; position: absolute; left: 14px; right: 14px; top: 13px;
  height: 6px; background: var(--asfalto); border-radius: 3px;
}
.steps li { position: relative; counter-increment: step; padding-top: 3rem; }
.step-dot {
  position: absolute; top: 0; left: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--blanco); border: 5px solid var(--asfalto);
}
.step-dot-end { background: var(--senal); }
.steps h3 { font-size: 1.2rem; font-variation-settings: "wdth" 108; }
.steps h3::before { content: counter(step) ". "; color: var(--pizarra); font-weight: 600; }
.steps p { margin-top: .5rem; color: var(--pizarra); max-width: 30ch; }

/* ---------- Contact ---------- */
.contact { background: var(--asfalto); color: var(--blanco); padding: clamp(4rem, 8vw, 7rem) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-variation-settings: "wdth" 112; letter-spacing: -.02em; max-width: 14ch; }
.contact-lede { margin-top: 1rem; color: #C4CCD6; max-width: 44ch; font-size: 1.1rem; }

.channels { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; gap: .75rem; }
.channel {
  display: flex; align-items: center; gap: 1rem; text-decoration: none;
  padding: 1rem 1.15rem; border-radius: var(--radius);
  background: var(--asfalto-2); border: 1px solid #33445A;
  transition: border-color .15s, background-color .15s;
}
.channel:hover { border-color: var(--senal); background: #26364C; }
.channel svg { width: 26px; height: 26px; fill: var(--senal); flex: none; }
.channel > span { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.channel strong { font-size: .875rem; font-weight: 500; color: #AEB8C4; }
.channel > span > span { font-weight: 600; font-size: 1.05rem; overflow-wrap: anywhere; }

.hours { margin-top: 1.5rem; color: #C4CCD6; }
.socials { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.socials a {
  display: inline-block; padding: .45rem .9rem; border-radius: 999px;
  border: 1px solid #44556B; text-decoration: none; font-weight: 500; font-size: .95rem;
}
.socials a:hover { border-color: var(--senal); }

.contact-form {
  background: var(--blanco); color: var(--asfalto);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem);
}
.contact-form h3 { font-size: 1.5rem; font-variation-settings: "wdth" 108; margin-bottom: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.1rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--asfalto);
  padding: .75rem .9rem; border: 1.5px solid var(--linea); border-radius: var(--radius);
  background: var(--blanco); width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--asfalto); box-shadow: 0 0 0 3px rgba(242,169,0,.45); }
.field [aria-invalid="true"] { border-color: #B42318; }
.form-error { color: #B42318; font-weight: 600; margin-bottom: 1rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.form-note { margin-top: 1rem; font-size: .875rem; color: var(--pizarra); }
.form-note.ok { color: #146C2E; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: #0F1721; color: #AEB8C4; padding: 2.75rem 0; font-size: .95rem; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2rem; }
.footer-name { color: var(--blanco); font-weight: 700; font-variation-settings: "wdth" 112; margin-bottom: .25rem; }
.footer-links { display: flex; flex-direction: column; gap: .35rem; text-align: right; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--blanco); }
.footer-copy { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid #243246; font-size: .85rem; }

.footer-copy a { margin-left: .75rem; }
.footer-copy a:hover { color: var(--blanco); }
.form-note a { color: var(--asfalto); white-space: nowrap; }

/* Floating WhatsApp — mobile only, where it saves a scroll */
.wa-float {
  display: none; position: fixed; right: 1rem; bottom: 1rem; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(23,33,46,.28);
}
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .route-map { max-width: 520px; }
  .quick-contact { grid-template-columns: 1fr 1fr; }
  .quick-contact li:nth-child(3) { border-left: 0; }
  .quick-contact li:nth-child(n+3) { border-top: 1px solid var(--linea); }
  .svc-list { grid-template-columns: 1fr; }
  .svc, .svc:nth-child(even) { padding: 2rem 0; border-left: 0; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .header-inner { gap: 1rem; min-height: 64px; }
  .brand-sub { display: none; }
  .btn-small { display: none; }
  .lede { font-size: 1.1rem; }
  .wa-float { display: flex; }
  .site-footer { padding-bottom: 5.5rem; }
  .labels text { font-size: 22px; }
  .labels .lbl-end { font-size: 23px; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .quick-contact { grid-template-columns: 1fr; }
  .quick-contact li + li { border-left: 0; border-top: 1px solid var(--linea); }
  .quick-contact li { flex-direction: row; justify-content: space-between; gap: 1rem; padding: .9rem 0; }
  .svc { grid-template-columns: 1fr; }
  .svc-icon { grid-row: auto; margin-bottom: .5rem; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { text-align: left; }
  .form-actions .btn { flex: 1 1 100%; justify-content: center; }
}
