/* ============================================================
   4 ROUTE TRANSPORTATION — HOJA DE ESTILOS PRINCIPAL
   ============================================================
   Estructura:
   1. Variables y Reset
   2. Tipografía
   3. Botones
   4. Header / Navegación
   5. Hero
   6. Trust Strip
   7. Network / Carousel
   8. Credibility
   9. Section Head
   10. Equipment Grid
   11. Calculator
   12. Why Us
   13. Carriers
   14. FAQ
   15. Quote
   16. Footer
   17. Utilidades
   18. Responsive
   ============================================================ */


/* ============================================================
   1. VARIABLES Y RESET
   ============================================================ */
:root {
  --yellow: #ffc928;
  --black: #0c0c0d;
  --ink: #17181b;
  --muted: #686b70;
  --soft: #f7f7f4;
  --white: #fff;
  --line: #e8e5dc;
  --y: #ffca28;
  --b: #111;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: white;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}


/* ============================================================
   2. TIPOGRAFÍA
   ============================================================ */
.hero h1,
.section-head h2,
.calc-copy h2,
.why h2,
.carriers h2,
.quote h2,
.network h2,
.faq h2 {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  line-height: 0.9;
  margin: 0;
  font-weight: 800;
}

.hero h1 {
  font-size: clamp(4.6rem, 7.3vw, 7.5rem);
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(transparent 56%, var(--yellow) 56%);
}

.section-head h2,
.calc-copy h2,
.why h2,
.carriers h2,
.quote h2 {
  font-size: clamp(3.1rem, 5.4vw, 5.5rem);
}

.network h2 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.95;
}

.faq h2 {
  font-size: clamp(3rem, 5.2vw, 5rem);
  line-height: 0.92;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 800;
  color: #9c7500;
  margin: 0 0 22px;
}

.eyebrow:before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 3px;
  background: var(--yellow);
  vertical-align: middle;
  margin-right: 12px;
}

.lead {
  max-width: 580px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  margin: 30px 0;
}


/* ============================================================
   3. BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: var(--yellow);
  color: #111;
  padding: 17px 22px;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border: 0;
  cursor: pointer;
  box-shadow: 5px 5px 0 #111;
  transition: 0.2s;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 #111;
}

.btn-small {
  padding: 13px 17px;
  box-shadow: none;
}

.dark-btn {
  background: #111;
  color: white;
  box-shadow: 5px 5px 0 white;
}

.text-link {
  font-size: 0.85rem;
  font-weight: 800;
  border-bottom: 2px solid var(--yellow);
  padding: 11px 0;
}


/* ============================================================
   4. HEADER / NAVEGACIÓN
   ============================================================ */
.nav {
  height: 94px;
  padding: 0 6vw;
  display: flex;
  align-items: center;
  gap: 36px;
  background: white;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: auto;
}

.brand img {
  width: 170px;
  height: 57px;
  object-fit: contain;
}

.brand small {
  font-size: 0.54rem;
  letter-spacing: 0.3em;
  margin-top: 3px;
  color: #555;
}

.nav nav {
  display: flex;
  gap: 28px;
  font-size: 0.84rem;
  font-weight: 600;
}

.nav nav a:hover {
  color: #a57d00;
}

.menu {
  display: none;
  background: none;
  border: 0;
  font-size: 1.5rem;
}

.lang-toggle {
  border: 1px solid #d9d9d2;
  background: #fff;
  padding: 10px 11px;
  font-weight: 800;
  cursor: pointer;
}



/* ============================================================
   16. FOOTER
   ============================================================ */
footer {
  padding: 50px 6vw;
  background: #101113;
  color: white;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 5vw;
}

footer .brand img {
  background: #101113;
  width: 165px;
}

footer .brand small {
  color: #aaa;
}

footer > p {
  color: #aaa;
  font-size: 0.82rem;
}

footer > div {
  display: flex;
  gap: 18px;
  font-size: 0.75rem;
}

footer > small {
  grid-column: 1/-1;
  border-top: 1px solid #2c2d30;
  padding-top: 24px;
  color: #777;
}


/* ============================================================
   17. UTILIDADES
   ============================================================ */
.content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 65px 30px;
  background: #fff;
}

.content section {
  padding: 15px 0;
  border-bottom: 1px solid #e2e2dd;
}

.content h2 {
  font: 700 1.8rem "Barlow Condensed";
  text-transform: uppercase;
}

.content p,
.content li {
  color: var(--muted);
}

.language-note {
  background: #111;
  color: #fff;
  padding: 12px 18px;
  font-size: 0.8rem;
}


/* ============================================================
   18. RESPONSIVE
   ============================================================ */

/* --- 1050px --- */
@media (max-width: 1050px) {
  .equipment-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero h1 {
    font-size: 5rem;
  }

  .credibility {
    grid-template-columns: 1fr 1fr;
  }

  .nav nav {
    gap: 16px;
  }

  .nav {
    gap: 16px;
  }

  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- 980px --- */
@media (max-width: 980px) {
  .partner {
    flex-basis: calc(50% - 6px);
  }
}

/* --- 780px --- */
@media (max-width: 780px) {
  .lang-toggle {
    margin-left: auto;
  }

  .credibility,
  .faq {
    grid-template-columns: 1fr;
    padding: 60px 24px;
  }

  .carrier-form {
    grid-template-columns: 1fr;
    padding: 25px;
  }

  .carrier-form h3,
  .carrier-form button,
  .carrier-form small {
    grid-column: 1;
  }

  .nav .menu {
    order: 4;
  }

  .nav .lang-toggle {
    order: 3;
  }

  .nav {
    height: 82px;
    padding: 0 20px;
  }

  .nav nav,
  .nav > .btn {
    display: none;
  }

  .menu {
    display: block;
  }

  .nav.open nav {
    display: flex;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 25px;
    border-bottom: 1px solid var(--line);
  }

  .brand img {
    width: 145px;
    height: 46px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-bottom: 30px;
  }

  .hero-copy {
    padding: 65px 24px 35px;
  }

  .hero h1 {
    font-size: 4.4rem;
  }

  .hero-visual {
    height: 380px;
    padding: 20px 0 30px 24px;
  }

  .hero-visual img {
    height: 310px;
  }

  .floating-card {
    left: 18px;
    bottom: 10px;
  }

  .trust-strip {
    margin: 0 20px;
    grid-template-columns: 1fr;
    transform: none;
  }

  .trust-strip div {
    border-bottom: 1px solid var(--line);
  }

  .section-head,
  .calculator,
  .why,
  .carriers,
  .quote {
    grid-template-columns: 1fr;
  }

  .section-head {
    padding: 80px 24px 35px;
    gap: 25px;
  }

  .equipment-grid {
    grid-template-columns: 1fr;
    padding: 0 24px 80px;
  }

  .equipment-grid article {
    min-height: 230px;
  }

  .calculator {
    padding: 80px 24px;
    gap: 35px;
  }

  .calc-inputs {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .calc-inputs .full {
    grid-column: 1;
  }

  .why-card {
    margin: 60px 24px 10px;
    min-height: 400px;
  }

  .why-copy,
  .carriers,
  .quote {
    padding: 75px 24px;
  }

  .check-grid {
    grid-template-columns: 1fr;
  }

  .quote form {
    grid-template-columns: 1fr;
  }

  .quote .full {
    grid-column: 1;
  }

  .actions {
    flex-wrap: wrap;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
    justify-items: center;
  }

  /* El logo y el texto del brand centrados */
  footer .brand {
  align-items: center;
  width: 100%;
  text-align: center;
}

  /* El eslogan "More Miles..." centrado */
  footer > p {
    margin: 0;
  }

  /* Los enlaces en 2 filas (3 columnas cada una) */
  footer > div {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    gap: 12px 24px;
    margin-left: 0;
    font-size: 0.8rem;
  }

  /* El copyright abajo, ocupando toda la fila */
  footer > small {
    grid-column: 1;
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }

  .network {
    padding: 70px 24px;
  }

  .partner-grid {
    grid-template-columns: 1fr 1fr;
  }

  .partner-grid div {
    min-height: 85px;
    font-size: 1rem;
  }

  .calc-preview {
    padding: 22px;
    box-shadow: 9px 9px 0 var(--yellow);
  }
}

/* --- 600px --- */
@media (max-width: 600px) {
  .partner-carousel {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 6px;
  }

  .carousel-arrow {
    width: 34px;
    height: 34px;
  }

  .partner {
    flex-basis: 100%;
    margin-right: 10px;
    min-height: 100px;
  }

  .network {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ============================================================
   LANGUAGE TOGGLE
   ============================================================ */
.lang-toggle {
  min-width: 46px;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

.lang-toggle:hover {
  background: var(--yellow);
  color: #111;
  border-color: var(--yellow);
}

.lang-toggle:active {
  transform: scale(0.96);
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================
   Botón flotante fijo en la esquina inferior derecha.
   Funciona en todas las páginas que incluyan este CSS.
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;

  width: 60px;
  height: 60px;
  border-radius: 50%;

  background: #25D366;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  text-decoration: none;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.whatsapp-float:active {
  transform: translateY(0) scale(0.98);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  display: block;
}

/* En móvil, un poco más pequeño y más cerca del borde */
@media (max-width: 780px) {
  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}