/* style.css - Estilos base para Gopartrucks */

/* ========================= */
/* Variables globales        */
/* ========================= */
:root {
  --brand: #e33b2f;
  --dark: #1e293b;
  --muted: #64748b;
  --bg: #f8fafc;
  --light: #ffffff;
}

/* ========================= */
/* Reset básico              */
/* ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
}

/* ========================= */
/* Links y botones           */
/* ========================= */
a {
  color: var(--brand);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: .5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: #c53027; }

.btn-secundario {
  background: white;
  color: var(--muted);
  border: 2px solid #e2e8f0;
}
.btn-secundario:hover {
  background: var(--bg);
  border-color: #cbd5e0;
  text-decoration: none;
}

/* ========================= */
/* Tipografía                */
/* ========================= */
h1, h2, h3 {
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ========================= */
/* Contenedor                */
/* ========================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ========================= */
/* Secciones genéricas       */
/* ========================= */
.section {
  padding: 2rem 1rem;
}

/* ========================= */
/* Categorías grid           */
/* ========================= */
.categorias-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); 
  gap: 20px; 
  text-align: center; 
}
.categoria {
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center;
  padding: 15px; 
  border: 1px solid #ddd; 
  border-radius: 8px; 
  background: #fafafa; 
  text-decoration: none;
  color: #333;
  transition: background 0.2s;
}
.categoria:hover { background: #f0f0f0; }
.categoria img {
  width: 60px; 
  height: 60px; 
  object-fit: contain; 
  margin-bottom: 10px;
}

/* ========================= */
/* Listado de camiones       */
/* ========================= */
.camiones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* ========================= */
/* Galería de imágenes       */
/* ========================= */
.galeria {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0;
}
.galeria img {
  max-height: 250px;
  border-radius: 6px;
  object-fit: cover;
}
.galeria img.principal { border: 3px solid #007bff; }

/* ========================= */
/* Hero                      */
/* ========================= */
.hero {
  width: 100%;
  max-width: 1200px;      /* límite de ancho */
  margin: 0 auto;         /* lo centra en la página */
  height: 40vh;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 0px;     /* opcional: esquinas suaves */
  overflow: hidden;       /* asegura que la imagen no se salga */
}

.hero-overlay {
  background: rgba(0,0,0,0.4);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  color: #fff;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #FFF;
}

/* ========================= */
/* Header principal          */
/* ========================= */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 70px;
}

.logo img { height: 40px; display: block; }

.main-nav ul {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  color: #334155;
  font-weight: 500;
}
.main-nav a:hover {
  color: var(--brand);
}

/* Botón menú móvil */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
}

.main-nav.open {
  display: block;
  position: absolute;
  top: 60px;
  right: 0;
  background: #fff;
  padding: 1rem;
  border: 1px solid #e5e7eb;
}

/* ========================= */
/* MENÚ MÓVIL DESDE ARRIBA   */
/* ========================= */
.mobile-nav {
  position: fixed;
  top: -260px; /* oculto al inicio */
  right: 20px;
  width: 220px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 15px;
  opacity: 0;
  pointer-events: none;
  transition: top 0.4s ease, opacity 0.3s ease;
  z-index: 10001;
}

.mobile-nav.open {
  top: 70px; /* baja desde arriba */
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav .close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #333;
  float: right;
  cursor: pointer;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
}

.mobile-nav li {
  margin: 10px 0;
}

.mobile-nav a {
  text-decoration: none;
  color: #1e293b;
  font-weight: 500;
  display: block;
  padding: 5px 0;
}

.mobile-nav a:hover {
  color: var(--brand);
}

/* ========================= */
/* OVERLAY                   */
/* ========================= */
#overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 10000;
}

#overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ========================= */
/* Filtros catálogo          */
/* ========================= */
.catalogo-layout { display: flex; gap: 20px; }
.listado-camiones { flex: 1; }

.filtros {
  flex: 0 0 280px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  padding: 0;
  height: fit-content; 
}

.filtros-header {
  background: var(--brand);
  padding: 12px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.filtros-header h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.filtros-form { padding: 12px; }
.grupo { margin-bottom: 12px; }
.grupo label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.grupo select,
.grupo input[type="number"] {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  color: var(--dark);
  background: white;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}
.grupo select:focus,
.grupo input[type="number"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(227, 59, 47, 0.1);
}

/* Checkbox list */
.checkbox-list {
  background: var(--bg);
  border-radius: 8px;
  padding: 12px;
  max-height: 180px;
  overflow-y: auto;
}
.checkbox-list::-webkit-scrollbar { width: 6px; }
.checkbox-list::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 3px;
}
.checkbox-list::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 3px;
}
.checkbox-list::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

.checkbox-item {
  display: flex;
  align-items: center;
  padding: 8px;
  margin-bottom: 4px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s ease;
  font-size: 14px;
  color: var(--muted);
}
.checkbox-item:hover { background: white; }
.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  cursor: pointer;
  accent-color: var(--brand);
}

/* Rango inputs */
.rango-inputs { display: flex; gap: 8px; }
.rango-inputs input { flex: 1; }

/* Acciones */
.acciones {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid var(--bg);
}

/* Badge contador */
.filtro-badge {
  display: inline-block;
  background: var(--brand);
  color: white;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 6px;
  font-weight: 600;
}

/* ========================= */
/* Responsive filtros (slide)*/
/* ========================= */
@media (max-width: 992px) {
  .catalogo-layout { flex-direction: column; }
  .filtros {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100%;
    z-index: 9998;
    transition: left 0.3s ease;
    overflow-y: auto;
  }
  .filtros.activo { left: 0; }
  .filtros-toggle {
    display: block;
    margin-bottom: 15px;
    background: var(--brand);
    color: #fff;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    font-weight: 600;
  }
}

@media (min-width: 993px) {
  .filtros-toggle { display: none; }
}
/* Barra superior de filtros responsive */
.filtros-barra {
  position: sticky;
  top: 70px; /* debajo del header */
  z-index: 9997;
  background: var(--light);
  padding: 10px 16px;
  border-bottom: 1px solid #e5e7eb;

  /* que ocupe toda la pantalla como el header */
  width: 100vw;
  margin-left: calc(-50vw + 50%); /* truco para romper el ancho del .container */
  
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Lengüeta lateral para abrir filtros en móvil */
.filtros-pestana {
  position: relative;
  left: -16px; /* sobresale del borde */
  background: var(--brand);
  color: #fff;
  padding: 10px 18px 10px 12px;
  border-radius: 0 8px 8px 0;  /* forma de pestaña */
  font-weight: 600;
  cursor: pointer;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.15);
  white-space: nowrap;
  z-index: 10;
}

.filtros-pestana:hover {
  background: #c53027;
}

/* Etiquetas filtros activos en barra móvil */
.filtros-activos-mobile {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}
.filtros-activos-mobile .tag {
  background: #f0f0f0;
  color: var(--dark);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 13px;
  display: flex;
  align-items: center;
}
.filtros-activos-mobile .tag a {
  margin-left: 6px;
  color: var(--brand);
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
}

/* Solo mostrar en móvil */
@media (min-width: 993px) {
  .filtros-barra { display: none; }
}

.filtros-cerrar {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  font-weight: bold;
  line-height: 1;
  padding: 0;
}

@media (min-width: 993px) {
  .filtros-cerrar { display: none; }
}

/* ========================= */
/* Sección confianza         */
/* ========================= */
.section.confianza {
  padding: 60px 20px;
  background: #f8f9fa;
  text-align: center;
}
.confianza-heading {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #222;
}
.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}
.trust .item {
  background: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.trust .item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.trust-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #1e293b;
}
.trust-text {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* ========================= */
/* Páginas legales           */
/* ========================= */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  line-height: 1.6;
  color: #334155;
}
.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--brand);
  text-align: center;
}
.legal-page h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: #1e293b;
}
.legal-page p,
.legal-page li { margin-bottom: 1rem; }
.legal-page ul {
  list-style: disc;
  margin: 1rem 0 1rem 1.5rem;
}
.legal-page strong { color: #000; }

/* Responsive legales */
@media (max-width: 768px) {
  .legal-page { padding: 1.5rem 1rem; }
  .legal-page h1 { font-size: 1.6rem; }
  .legal-page h2 { font-size: 1.1rem; }
}

/* ========================= */
/* Footer                    */
/* ========================= */
.site-footer {
  background: #1e293b;
  color: #f8fafc;
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  color: #fbbf24;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col ul li { margin-bottom: 0.5rem; }

.footer-col a {
  color: #f8fafc;
  text-decoration: none;
}

.footer-col a:hover { text-decoration: underline; }

.social-links a {
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 1.2rem;
  color: #f8fafc;
}
.social-links a:hover { color: var(--brand); }

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.9rem;
}

.legal-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.legal-links a {
  color: #94a3b8;
  font-size: 0.85rem;
}
.legal-links a:hover { color: #f8fafc; }

/* ========================= */
/* Layout con barra lateral  */
/* ========================= */
.camiones-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}
@media (max-width: 900px) {
  .camiones-layout { grid-template-columns: 1fr; }
  .filtros { order: -1; }
}

/* =========================================================
   Catálogo público - cabecera, filtros y ordenación (2026)
   ========================================================= */
.catalogo-layout {
  align-items: flex-start;
  gap: 28px;
  padding-top: 30px;
  padding-bottom: 56px;
}

.listado-camiones {
  min-width: 0;
}

.catalogo-header {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e6e9ed;
}

.catalogo-heading {
  max-width: 780px;
}

.catalogo-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.catalogo-heading h1 {
  margin: 0;
  color: #171a1d;
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.catalogo-heading p {
  max-width: 680px;
  margin: 10px 0 0;
  color: #66717d;
  font-size: .98rem;
  line-height: 1.65;
}

.catalogo-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
}

.catalogo-count {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-height: 42px;
  color: #66717d;
}

.catalogo-count strong {
  color: #171a1d;
  font-size: 1.12rem;
}

.catalogo-count span {
  font-size: .88rem;
}

.catalogo-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.catalogo-sort > label {
  color: #66717d;
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
}

.catalogo-sort-select {
  position: relative;
  min-width: 215px;
}

.catalogo-sort-select select {
  width: 100%;
  height: 42px;
  appearance: none;
  -webkit-appearance: none;
  padding: 0 38px 0 13px;
  border: 1px solid #dce1e6;
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: #252b31;
  font: inherit;
  font-size: .86rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.catalogo-sort-select select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(227, 59, 47, .1);
}

.catalogo-sort-select svg {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 17px;
  height: 17px;
  pointer-events: none;
  transform: translateY(-50%);
  fill: none;
  stroke: #64707c;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Filtros: estilo más sobrio e integrado con las nuevas tarjetas */
.filtros {
  flex: 0 0 268px;
  border: 1px solid #e5e9ed;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .035);
}

.filtros-header {
  padding: 17px 18px;
  border-bottom: 1px solid #eceff2;
  background: #fff;
  color: #171a1d;
}

.filtros-header h2 {
  font-size: 1rem;
  font-weight: 750;
}

.filtros-form {
  padding: 18px;
}

.grupo {
  margin-bottom: 17px;
}

.grupo label {
  margin-bottom: 7px;
  color: #343b43;
  font-size: .79rem;
  font-weight: 700;
}

.grupo select,
.grupo input[type="number"] {
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #dce1e6;
  border-radius: 9px;
  color: #252b31;
  font-size: .84rem;
}

.checkbox-list {
  padding: 7px;
  border: 1px solid #e6eaee;
  border-radius: 9px;
  background: #f8f9fa;
}

.checkbox-item {
  margin: 0;
  padding: 7px 6px;
  color: #505b66;
  font-size: .82rem;
}

.checkbox-item:hover {
  background: #fff;
}

.checkbox-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

.rango-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.acciones {
  margin-top: 21px;
  padding-top: 17px;
  border-top: 1px solid #eceff2;
}

.filtros-limpiar {
  width: 100%;
  justify-content: center;
  text-align: center;
}

@media (min-width: 993px) {
  .filtros {
    position: sticky;
    top: 92px;
  }
}

@media (max-width: 992px) {
  .catalogo-layout {
    padding-top: 14px;
  }

  .catalogo-header {
    margin-top: 8px;
  }

  .catalogo-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .catalogo-sort {
    justify-content: space-between;
  }

  .catalogo-sort-select {
    flex: 1;
    min-width: 0;
    max-width: 290px;
  }

  .filtros-header {
    background: #171a1d;
    color: #fff;
  }

  .filtros-cerrar {
    color: #fff;
  }
}

@media (max-width: 560px) {
  .catalogo-heading p {
    font-size: .91rem;
  }

  .catalogo-count {
    min-height: auto;
  }

  .catalogo-sort {
    display: block;
  }

  .catalogo-sort > label {
    display: block;
    margin-bottom: 6px;
  }

  .catalogo-sort-select {
    max-width: none;
  }
}

/* =========================================================
   Portada Gopartrucks - rediseño 2026
   ========================================================= */
.home-page {
  background: #fff;
  color: #171a1d;
}

.home-hero {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,13,16,.88) 0%, rgba(10,13,16,.68) 46%, rgba(10,13,16,.18) 78%, rgba(10,13,16,.08) 100%);
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.home-hero-content {
  max-width: 720px;
  padding: 78px 0 86px;
  color: #fff;
}

.home-eyebrow,
.home-section-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: #e33b2f;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-eyebrow {
  color: #fff;
  opacity: .86;
}

.home-hero h1 {
  max-width: 690px;
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.35rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.055em;
}

.home-hero-lead {
  max-width: 640px;
  margin: 25px 0 0;
  color: rgba(255,255,255,.84);
  font-size: 1.08rem;
  line-height: 1.7;
}

.home-hero-actions,
.home-location-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 31px;
}

.home-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.home-btn:hover { transform: translateY(-1px); }
.home-btn-primary { color: #fff; background: #e33b2f; border: 1px solid #e33b2f; }
.home-btn-primary:hover { background: #c93228; border-color: #c93228; }
.home-btn-secondary { color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.42); backdrop-filter: blur(7px); }
.home-btn-secondary:hover { background: rgba(255,255,255,.15); }
.home-btn-light { color: #171a1d; background: #fff; border: 1px solid #fff; }

.home-stats {
  position: relative;
  z-index: 3;
  background: #171a1d;
}

.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.home-stat {
  min-height: 105px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 28px;
  border-right: 1px solid rgba(255,255,255,.11);
}

.home-stat:first-child { border-left: 1px solid rgba(255,255,255,.11); }
.home-stat strong { color: #fff; font-size: 1.55rem; line-height: 1.05; letter-spacing: -.03em; }
.home-stat span { margin-top: 7px; color: #9fa7af; font-size: .77rem; }

.home-section { padding: 84px 0; }
.home-categories { background: #f5f6f7; }
.home-featured { background: #fff; }

.home-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.home-section-heading h2,
.home-trust-intro h2,
.home-location-card h2,
.home-sell-card h2 {
  margin: 0;
  color: #171a1d;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #171a1d;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.home-text-link span { color: #e33b2f; transition: transform .2s ease; }
.home-text-link:hover span { transform: translateX(3px); }

.home-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-category-card {
  min-height: 155px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 27px;
  overflow: hidden;
  color: #fff;
  background: #1b1f23;
  border: 1px solid #262b30;
  border-radius: 14px;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.home-category-card:nth-child(3n + 2) { background: #23282d; }
.home-category-card:hover { transform: translateY(-3px); background: #e33b2f; border-color: #e33b2f; }
.home-category-card h3 { margin: 7px 0 0; color: #fff; font-size: 1.45rem; font-weight: 750; letter-spacing: -.025em; }
.home-category-count { color: #aeb5bc; font-size: .76rem; font-weight: 600; }
.home-category-card:hover .home-category-count { color: rgba(255,255,255,.76); }
.home-category-arrow { flex: 0 0 auto; color: #fff; font-size: 1.7rem; line-height: 1; transition: transform .2s ease; }
.home-category-card:hover .home-category-arrow { transform: translateX(4px); }

.home-featured-grid { margin-top: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }

.home-trust-section { background: #f5f6f7; }
.home-trust-layout { display: grid; grid-template-columns: .8fr 1.5fr; gap: 70px; align-items: start; }
.home-trust-intro { position: sticky; top: 104px; }
.home-trust-intro p { max-width: 470px; margin: 20px 0 24px; color: #68717a; font-size: .97rem; line-height: 1.7; }
.home-trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.home-trust-card { min-height: 205px; padding: 28px; background: #fff; border: 1px solid #e7eaee; border-radius: 14px; }
.home-trust-number { display: block; margin-bottom: 28px; color: #e33b2f; font-size: .72rem; font-weight: 800; }
.home-trust-card h3 { margin: 0 0 10px; color: #171a1d; font-size: 1.05rem; font-weight: 750; }
.home-trust-card p { margin: 0; color: #717982; font-size: .84rem; line-height: 1.6; }

.home-contact-band { background: #fff; }
.home-contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.home-location-card,
.home-sell-card { min-height: 330px; padding: 42px; border-radius: 16px; }
.home-location-card { color: #fff; background: #171a1d; }
.home-location-card h2 { max-width: 520px; color: #fff; }
.home-location-card p { margin: 20px 0 0; color: #b7bec5; line-height: 1.7; }
.home-kicker-light { color: #e96a61; }
.home-contact-phone { color: #fff; font-size: .9rem; font-weight: 700; text-decoration: none; }
.home-sell-card { background: #f5f6f7; border: 1px solid #e7eaee; }
.home-sell-card p { max-width: 460px; margin: 19px 0 27px; color: #6d757e; line-height: 1.7; }

@media (max-width: 960px) {
  .home-hero { min-height: 500px; }
  .home-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .home-stat:nth-child(3) { border-left: 1px solid rgba(255,255,255,.11); border-top: 1px solid rgba(255,255,255,.11); }
  .home-stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,.11); }
  .home-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-featured-grid .card-camion:last-child { display: none; }
  .home-trust-layout { grid-template-columns: 1fr; gap: 36px; }
  .home-trust-intro { position: static; }
  .home-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .home-hero { min-height: 510px; background-position: 62% center; }
  .home-hero-overlay { background: linear-gradient(90deg, rgba(10,13,16,.9), rgba(10,13,16,.64)); }
  .home-hero-content { padding: 62px 0 70px; }
  .home-hero h1 { font-size: clamp(2.5rem, 14vw, 4rem); }
  .home-hero-lead { font-size: .95rem; }
  .home-hero-actions { align-items: stretch; flex-direction: column; }
  .home-btn { width: 100%; }
  .home-stats-grid { grid-template-columns: 1fr 1fr; }
  .home-stat { min-height: 92px; padding: 19px 16px; }
  .home-stat strong { font-size: 1.25rem; }
  .home-section { padding: 60px 0; }
  .home-section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 25px; }
  .home-category-grid { grid-template-columns: 1fr; }
  .home-category-card { min-height: 125px; padding: 22px; }
  .home-featured-grid { grid-template-columns: 1fr; }
  .home-featured-grid .card-camion:last-child { display: block; }
  .home-trust-grid { grid-template-columns: 1fr; }
  .home-trust-card { min-height: 0; }
  .home-location-card,
  .home-sell-card { min-height: 0; padding: 29px 23px; }
  .home-location-actions { align-items: flex-start; flex-direction: column; }
  .home-location-actions .home-btn { width: auto; }
}
/* =========================================================
   GOPARTRUCKS · HEADER + FOOTER 2026
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid #e9ecef;
  box-shadow: 0 1px 0 rgba(20,24,28,.02);
  backdrop-filter: blur(12px);
}

.site-header .header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 0;
  padding-bottom: 0;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo img {
  display: block;
  width: auto;
  height: 38px;
}

.site-header .main-nav {
  margin-left: auto;
}

.site-header .main-nav ul {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header .main-nav a {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 13px;
  color: #4c555e;
  border-radius: 7px;
  font-size: .87rem;
  font-weight: 650;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}

.site-header .main-nav a:hover,
.site-header .main-nav a.is-active {
  color: #171a1d;
  background: #f4f5f6;
  text-decoration: none;
}

.site-header .main-nav a.is-active::after {
  content: '';
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  border-radius: 99px;
  background: #e33b2f;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-sell-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  color: #fff;
  background: #e33b2f;
  border: 1px solid #e33b2f;
  border-radius: 7px;
  font-size: .84rem;
  font-weight: 750;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.header-sell-btn:hover {
  color: #fff;
  background: #c93228;
  border-color: #c93228;
  text-decoration: none;
  transform: translateY(-1px);
}

.site-header .menu-toggle {
  width: 44px;
  height: 42px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  background: #fff;
  border: 1px solid #dde1e5;
  border-radius: 7px;
  cursor: pointer;
}
.site-header .menu-toggle span {
  width: 18px;
  height: 2px;
  background: #171a1d;
  border-radius: 99px;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1500;
  width: min(360px, 88vw);
  height: 100dvh;
  padding: 24px;
  background: #fff;
  box-shadow: -20px 0 55px rgba(10,13,16,.18);
  transform: translateX(105%);
  opacity: 1;
  pointer-events: none;
  transition: transform .28s ease;
}
.mobile-nav.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid #eceff1;
}
.mobile-nav-label {
  color: #171a1d;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.mobile-nav .close-btn {
  width: 39px;
  height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #171a1d;
  background: #f5f6f7;
  border: 0;
  border-radius: 7px;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}
.mobile-nav nav ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.mobile-nav nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  color: #171a1d;
  border-bottom: 1px solid #eceff1;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}
.mobile-sell-btn {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  color: #fff !important;
  background: #e33b2f;
  border-radius: 7px;
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none !important;
}
.mobile-nav-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 24px;
  color: #7b838b;
  font-size: .8rem;
}
.mobile-nav-contact a { color: #171a1d; font-weight: 700; text-decoration: none; }
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: rgba(10,13,16,.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.menu-overlay.active { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }

.site-footer {
  margin-top: 72px;
  padding: 0;
  color: #d6dadd;
  background: #15181b;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.65fr .8fr 1.1fr .55fr;
  gap: 56px;
  padding-top: 60px;
  padding-bottom: 48px;
}
.footer-logo img {
  display: block;
  width: auto;
  height: 38px;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  max-width: 440px;
  margin: 22px 0 22px;
  color: #9ca4ab;
  font-size: .88rem;
  line-height: 1.7;
}
.footer-stock-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff !important;
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none !important;
}
.footer-stock-link span { color: #e33b2f; transition: transform .2s ease; }
.footer-stock-link:hover span { transform: translateX(3px); }
.site-footer .footer-col h4 {
  margin: 2px 0 18px;
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.site-footer .footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer .footer-col li { margin: 0 0 9px; }
.site-footer .footer-col a {
  color: #aab1b7;
  font-size: .86rem;
  text-decoration: none;
  transition: color .2s ease;
}
.site-footer .footer-col a:hover { color: #fff; text-decoration: none; }
.footer-contact address {
  display: flex;
  flex-direction: column;
  gap: 13px;
  color: #aab1b7;
  font-size: .86rem;
  font-style: normal;
  line-height: 1.55;
}
.footer-socials { display: flex; gap: 9px; }
.footer-socials a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  background: #23282d;
  border: 1px solid #30363b;
  border-radius: 7px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.footer-socials a:hover { background: #e33b2f; border-color: #e33b2f; transform: translateY(-2px); }
.footer-socials svg { width: 18px; height: 18px; fill: currentColor; }
.site-footer .footer-bottom {
  min-height: 68px;
  margin: 0;
  padding: 19px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #2b3034;
  color: #777f86;
  text-align: left;
  font-size: .76rem;
}
.site-footer .footer-bottom p { margin: 0; }
.site-footer .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer .legal-links a { color: #858d94; font-size: .76rem; text-decoration: none; }
.site-footer .legal-links a:hover { color: #fff; }

@media (max-width: 980px) {
  .site-header .main-nav { display: none; }
  .site-header .menu-toggle { display: flex; }
  .header-sell-btn { display: none; }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; gap: 38px; }
  .footer-main > .footer-col:last-child { grid-column: 2 / 3; }
}

@media (max-width: 680px) {
  .site-header .header-inner { min-height: 66px; }
  .site-logo img { height: 33px; }
  .site-header .menu-toggle { width: 41px; height: 39px; }
  .site-footer { margin-top: 54px; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; padding-top: 46px; padding-bottom: 38px; }
  .footer-main > .footer-col:last-child { grid-column: auto; }
  .site-footer .footer-bottom { align-items: flex-start; flex-direction: column; gap: 11px; }
  .site-footer .legal-links { gap: 13px; }
}
