/* ============================
   RESET & BASE
   ============================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:     #CC0000;
  --red-dk:  #a50000;
  --dark:    #111111;
  --dark2:   #1c1c1c;
  --dark3:   #2a2a2a;
  --gray:    #555;
  --gray-lt: #6b6b6b; /* oscurecido desde #888 para contraste AA sobre fondos claros */
  --light:   #f5f5f5;
  --white:   #ffffff;
  --accent:  #ffb703;

  --radius:  10px;
  --shadow:  0 4px 20px rgba(0,0,0,.12);
  --trans:   .25s ease;
  --navbar-h: 110px;

  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

/* Tipografía de encabezados / marca / números destacados */
h1, h2, h3, h4,
.logo-text,
.stat-num,
.hero-sub,
.section-tag,
.btn,
.nav-links a.btn-nav {
  font-family: var(--font-heading);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: all var(--trans);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dk);
  border-color: var(--red-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(204,0,0,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-2px);
}

/* ============================
   NAVBAR
   ============================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: .6rem 0;
  background: var(--dark);
  box-shadow: 0 2px 16px rgba(0,0,0,.4);
  transition: box-shadow var(--trans);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.6);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 90px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  align-items: center;
  gap: .4rem;
}
.logo-icon { color: var(--red); font-size: .9rem; }
.logo-text strong { color: var(--red); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  color: rgba(255,255,255,.85);
  font-weight: 600;
  font-size: .88rem;
  transition: color var(--trans);
}
.nav-links a:hover { color: var(--white); }

.nav-inner nav {
  display: flex;
  align-items: center;
  gap: .75rem;
}

/* Language toggle button */
.lang-toggle {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.35);
  color: rgba(255,255,255,.9);
  font-family: inherit;
  font-size: .8rem;
  font-weight: 700;
  padding: .35rem .75rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--trans);
  white-space: nowrap;
  letter-spacing: .04em;
}
.lang-toggle:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,.08);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .3rem;
}
.hamburger span {
  display: block;
  width: 25px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--trans);
}

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.82) 0%,
    rgba(0,0,0,.60) 50%,
    rgba(0,0,0,.40) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding-top: 5rem;
}

.hero-sub {
  color: #ff4444;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: .75rem;
  text-shadow: 0 1px 8px rgba(0,0,0,.9), 0 0 20px rgba(0,0,0,.7);
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0,0,0,.9);
}

.hero-content h1 span { color: var(--red); }

.hero-desc {
  color: rgba(255,255,255,.95);
  font-size: 1.1rem;
  margin-bottom: 2.25rem;
  font-style: italic;
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0,0,0,.9);
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================
   STATS
   ============================ */
.stats {
  background: var(--red);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: .82rem;
  color: rgba(255,255,255,.85);
  font-weight: 600;
}

/* ============================
   SECTION BASE
   ============================ */
.section { padding: clamp(1.75rem, 6vh, 4rem) 0; }

section[id] { scroll-margin-top: var(--navbar-h); }

.section-header {
  text-align: center;
  margin-bottom: clamp(1.25rem, 4vh, 2.5rem);
}

.section-header--light h2,
.section-header--light .section-desc { color: var(--white); }

.section-tag {
  color: var(--red);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: .5rem;
  display: block;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--dark);
  margin-bottom: .75rem;
}

.section-desc {
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
  font-size: .93rem;
}

/* ============================
   SERVICIOS
   ============================ */
.servicios { background: var(--light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(.6rem, 1.5vh, 1.1rem);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(.7rem, 2vh, 1.25rem) 1rem;
  box-shadow: var(--shadow);
  transition: transform var(--trans), box-shadow var(--trans), border-top-color var(--trans);
  border-top: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
  border-top-color: var(--red);
}

.service-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .5rem;
  border-radius: 10px;
  background: rgba(204,0,0,.08);
  color: var(--red);
  transition: background var(--trans), color var(--trans), transform var(--trans);
}

.service-icon svg {
  width: 20px;
  height: 20px;
}

.service-card:hover .service-icon {
  background: var(--red);
  color: var(--white);
  transform: scale(1.06);
}

.service-card h3 {
  font-size: clamp(.82rem, 1.7vh, .92rem);
  font-weight: 700;
  margin-bottom: .3rem;
  color: var(--dark);
}

.service-card p {
  color: var(--gray);
  font-size: clamp(.72rem, 1.5vh, .82rem);
  line-height: 1.45;
}

/* ============================
   MARCAS
   ============================ */
.marcas { background: var(--white); }

.marcas-inner {
  display: block;
}

.marcas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-bottom: 2rem;
}

.marca-card {
  background: var(--white);
  border: 2px solid #e8e8e8;
  border-radius: var(--radius);
  padding: clamp(1rem, 2.5vh, 1.5rem) 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .02em;
  color: var(--dark);
  box-shadow: var(--shadow);
  transition: all var(--trans);
  cursor: default;
}

.marca-card:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(204,0,0,.18);
}

.vehiculos-label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--gray-lt);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: .65rem;
}

.vehiculos-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.vehiculos-tags span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--dark);
  color: var(--white);
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
}

.veh-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--red);
}

/* Banner CTA dentro de Marcas */
.marcas-cta {
  margin-top: clamp(1rem, 2.5vh, 1.75rem);
  background: var(--dark);
  border-radius: var(--radius);
  padding: clamp(.75rem, 2vh, 1.1rem) clamp(1rem, 2.5vw, 1.75rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.marcas-cta p {
  color: var(--white);
  font-weight: 600;
  font-size: clamp(.9rem, 1.8vh, 1rem);
}

.marcas-cta .btn {
  flex-shrink: 0;
  white-space: nowrap;
}


/* ============================
   NOSOTROS
   ============================ */
.nosotros { background: var(--light); }

.nosotros-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.nosotros-img img {
  width: 100%;
  height: clamp(240px, 42vh, 440px);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.img-placeholder {
  background: #e8e8e8;
  border-radius: var(--radius);
  height: clamp(240px, 42vh, 440px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 2px dashed #ccc;
  color: var(--gray-lt);
}

.img-placeholder svg { width: 64px; height: 64px; stroke-width: 1.5; }

.nosotros-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}

.nosotros-text p {
  color: var(--gray);
  margin-bottom: .65rem;
  font-size: .9rem;
  line-height: 1.5;
}

.nosotros-list {
  margin: .85rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.nosotros-list li {
  font-weight: 600;
  color: var(--dark);
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: .55rem;
}

/* Icono check reutilizable (nosotros-list, info-success) */
.check-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.nosotros-list .check-icon { color: var(--red); }

.info-success .check-icon {
  vertical-align: -3px;
  margin-right: .2rem;
}

.nosotros-slogan {
  border-left: 4px solid var(--red);
  padding-left: 1.25rem;
  font-style: italic;
  color: var(--gray);
  font-size: .95rem;
  line-height: 1.5;
  font-weight: 600;
}

/* ============================
   SUCURSALES
   ============================ */
.sucursales { background: var(--white); }

.sucursales-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.sucursal-card {
  position: relative;
  overflow: hidden;
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 2px solid transparent;
  transition: border-color var(--trans), box-shadow var(--trans), transform var(--trans), background var(--trans);
}

.sucursal-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--red-dk));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.sucursal-card:hover {
  background: var(--white);
  border-color: var(--red);
  box-shadow: 0 14px 32px rgba(204,0,0,.16);
  transform: translateY(-6px);
}

.sucursal-card:hover::before {
  transform: scaleX(1);
}

.sucursal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.sucursal-num {
  background: var(--red);
  color: var(--white);
  font-size: .72rem;
  font-weight: 800;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .35s ease, border-radius .35s ease;
}

.sucursal-card:hover .sucursal-num {
  transform: scale(1.12) rotate(-8deg);
  border-radius: 30%;
}

.sucursal-card:hover .sucursal-header h3 {
  color: var(--red);
}

.sucursal-header h3 {
  transition: color var(--trans);
}

.sucursal-header h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}

.sucursal-ciudad {
  font-size: .78rem;
  color: var(--gray-lt);
  font-weight: 600;
}

.sucursal-info {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1rem;
}

.sucursal-info li {
  display: flex;
  gap: .5rem;
  font-size: .87rem;
  color: var(--gray);
  align-items: flex-start;
}

.sucursal-info li span { flex-shrink: 0; display: inline-flex; margin-top: 2px; }

/* Iconos de sucursal (ubicación, teléfono, horario) */
.suc-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--red);
}

.sucursal-info a {
  color: var(--red);
  font-weight: 600;
}

.sucursal-horario {
  font-size: .82rem;
  color: var(--gray);
  margin-bottom: 1.25rem;
  padding: .55rem .85rem;
  background: var(--white);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.sucursal-horario strong { display: inline-flex; flex-shrink: 0; }

.btn-mapa {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--red);
  transition: color var(--trans), transform var(--trans);
}
.sucursal-card:hover .btn-mapa { transform: translateX(3px); color: var(--red-dk); }

/* ============================
   CONTACTO
   ============================ */
.contacto { background: var(--dark); }

.contacto .section-tag { color: var(--accent); }
.contacto .section-header h2 { color: var(--white); }
.contacto .section-desc { color: rgba(255,255,255,.6); }

.contacto-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin: 0 auto;
}

.contacto-card {
  background: var(--dark2);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 3vh, 1.75rem) 1.25rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,.07);
  transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  flex: 1 1 280px;
  max-width: 340px;
}

.contacto-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(204,0,0,.15);
}

.contacto-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .25rem;
  border-radius: 12px;
  background: rgba(204,0,0,.12);
  color: #ff4444;
  transition: background var(--trans), color var(--trans);
}

.contacto-icon svg {
  width: 26px;
  height: 26px;
}

.contacto-card:hover .contacto-icon {
  background: var(--red);
  color: var(--white);
}

.contacto-card h4 {
  font-size: .72rem;
  font-weight: 700;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contacto-card a {
  font-size: .9rem;
  color: var(--white);
  font-weight: 600;
  transition: color var(--trans);
  word-break: break-all;
}
.contacto-card a:hover { color: var(--red); }

.contacto-card p {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  text-align: center;
}

.contacto-pending {
  font-size: .85rem;
  color: rgba(255,255,255,.3);
  font-style: italic;
}

/* Sucursales WhatsApp */
.wa-sucursales-header {
  text-align: center;
  margin: 2.5rem 0 1.5rem;
}

.wa-sucursales-header p {
  color: rgba(255,255,255,.45);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.wa-sucursales-header p::before,
.wa-sucursales-header p::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,.15);
}
.wa-sucursales-header p::before { right: calc(100% + 12px); }
.wa-sucursales-header p::after  { left:  calc(100% + 12px); }

.wa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.wa-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
  transition: border-color var(--trans), transform var(--trans);
}

.wa-card:hover {
  border-color: #25D366;
  transform: translateY(-4px);
}

.wa-card-info h3 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .25rem;
}

.wa-card-info span {
  color: rgba(255,255,255,.45);
  font-size: .8rem;
  font-weight: 600;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #25D366;
  color: var(--white);
  font-weight: 700;
  font-size: .88rem;
  padding: .6rem 1.25rem;
  border-radius: 50px;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
}

.btn-wa svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-wa:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37,211,102,.4);
}

/* ============================
   FOOTER
   ============================ */
/* ============================
   PEDIR INFORMACIÓN
   ============================ */
.info-form-section { background: var(--light); padding: clamp(1rem, 3vh, 2.25rem) 0; }
.info-form-section .section-header { margin-bottom: clamp(.75rem, 2.5vh, 1.5rem); }

.info-form {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 14px;
  padding: clamp(.75rem, 2vh, 1.5rem) clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.info-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: clamp(.4rem, 1.3vh, .75rem);
}

.info-form-row--split {
  grid-template-columns: 1fr 1.6fr;
}

.info-form-group {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.info-form-group--full {
  margin-bottom: clamp(.5rem, 1.6vh, .9rem);
}

.info-form-group label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.info-form-group input,
.info-form-group select,
.info-form-group textarea {
  background: var(--light);
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: clamp(.4rem, 1.2vh, .6rem) 1rem;
  color: var(--dark);
  font-size: .93rem;
  font-family: inherit;
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
}

.info-form-group textarea { min-height: 2.1rem; }

.info-form-group input::placeholder,
.info-form-group textarea::placeholder { color: #bbb; }

.info-form-group input:focus,
.info-form-group select:focus,
.info-form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204,0,0,.1);
  background: var(--white);
}

.info-form-group textarea { resize: vertical; }

.info-error {
  font-size: .75rem;
  color: #e53935;
  min-height: 1rem;
}

.info-form-checkbox {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: clamp(.4rem, 1.2vh, .7rem);
}

.info-form-checkbox input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: var(--red);
  cursor: pointer;
  flex-shrink: 0;
}

.info-form-checkbox label {
  font-size: .88rem;
  color: var(--gray);
  font-weight: 600;
  cursor: pointer;
}

.info-btn-submit {
  width: 100%;
  padding: clamp(.5rem, 1.3vh, .7rem);
  font-size: .95rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.info-success {
  display: none;
  margin-top: 1.25rem;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  font-size: .9rem;
}

/* ============================
   FOOTER
   ============================ */
.footer { background: #0a0a0a; }

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: .85rem;
  line-height: 1.6;
  color: rgba(255,255,255,.4);
}

.social-links {
  margin-top: 1.25rem;
  display: flex;
  gap: .75rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
  transition: transform var(--trans), color var(--trans), border-color var(--trans);
}
.social-links a svg { width: 18px; height: 18px; }
.social-links a:hover {
  transform: translateY(-3px);
  color: var(--white);
  border-color: var(--red);
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.4);
  transition: color var(--trans);
}
.footer-links a:hover { color: var(--white); }

.footer-contact p {
  font-size: .85rem;
  margin-bottom: .5rem;
  color: rgba(255,255,255,.4);
  line-height: 1.5;
}

/* Iconos pequeños del footer (correo, web, horario) */
.ftr-icon {
  width: 15px;
  height: 15px;
  vertical-align: -3px;
  margin-right: .25rem;
}

.footer-contact a {
  color: rgba(255,255,255,.4);
  transition: color var(--trans);
}
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.25rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: .8rem;
  color: rgba(255,255,255,.22);
}

/* ============================
   FULL-VIEWPORT SECTIONS (desktop)
   Cada sección ocupa el alto disponible bajo el navbar fijo,
   para que su contenido se vea completo sin scroll interno.
   ============================ */
@media (min-width: 1025px) {
  html { scroll-snap-type: y proximity; }
  .hero, .section { scroll-snap-align: start; }

  .section {
    min-height: calc(100vh - var(--navbar-h));
    display: flex;
    align-items: center;
  }

  .section > .container { width: 100%; }
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .marcas-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .sucursales-grid { grid-template-columns: 1fr; }
  .info-form-row--split { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    font-size: 1.1rem;
    z-index: 1000;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; z-index: 1001; }

  .hero-content { padding-top: 6rem; }
  .hero-bg-img { object-position: 84% center; }
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(0,0,0,.55) 0%,
      rgba(0,0,0,.72) 55%,
      rgba(0,0,0,.85) 100%
    );
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .nosotros-inner { grid-template-columns: 1fr; gap: 2rem; }
  .nosotros-img { display: none; }
  .vehiculos-tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .6rem;
  }
  .vehiculos-tags span { justify-content: center; }
  .vehiculos-tags span:last-child { grid-column: 1 / -1; }
  .marcas-cta {
    flex-direction: column;
    text-align: center;
    gap: .75rem;
  }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0 2rem; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .marcas-grid { grid-template-columns: repeat(2, 1fr); }
  .contacto-card--wide { grid-column: span 1; }
  .wa-grid { grid-template-columns: repeat(2, 1fr); }
  .info-form-row { grid-template-columns: 1fr; }
  .info-form { padding: 1.5rem 1rem; }
}

/* ============================
   CARRUSELES DESLIZABLES (móvil)
   Servicios, marcas, sucursales y contacto se vuelven filas
   horizontales deslizables en vez de apilarse verticalmente,
   para que la página se sienta más compacta en el celular.
   ============================ */
@media (max-width: 768px) {
  .services-grid,
  .marcas-grid,
  .sucursales-grid,
  .contacto-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: .85rem;
    margin: 0 -1.5rem;
    padding: 0 10% .5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x;
  }

  .services-grid::-webkit-scrollbar,
  .marcas-grid::-webkit-scrollbar,
  .sucursales-grid::-webkit-scrollbar,
  .contacto-grid::-webkit-scrollbar {
    display: none;
  }

  .service-card,
  .marca-card,
  .sucursal-card,
  .contacto-card {
    scroll-snap-align: center;
    flex: 0 0 auto;
    width: 80%;
  }

  .marcas-grid { margin-bottom: 1.5rem; }
}

/* ============================
   BTN-NAV (Navbar CTA button)
   ============================ */
.nav-links a.btn-nav {
  background: var(--red);
  color: var(--white) !important;
  padding: .45rem 1.1rem;
  border-radius: 50px;
  margin-left: .5rem;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
}
.nav-links a.btn-nav:hover {
  background: var(--red-dk);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(204,0,0,.4);
}

/* Mobile: btn-nav inside fullscreen overlay */
@media (max-width: 768px) {
  .nav-links a.btn-nav {
    margin-left: 0;
    padding: .65rem 2rem;
    text-align: center;
    border-radius: 50px;
  }
}

/* ============================
   HAMBURGER OPEN STATE (X)
   ============================ */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================
   FOCUS VISIBLE (accessibility)
   ============================ */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ============================
   REDUCED MOTION (accessibility)
   ============================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
