/* ============================================================
   AUTOPLUS MURCIA — Hoja de Estilos Principal
   Paleta corporativa: Teal #5BABAC + Negro #111 + Blanco
   ============================================================ */

/* --- Variables / Tokens --- */
:root {
  --teal:       #5BABAC;
  --teal-osc:   #307A7B;
  --teal-claro: #85B4B4;
  --teal-10:    rgba(91,171,172,.10);
  --teal-20:    rgba(91,171,172,.20);
  --negro:      #111111;
  --gris-osc:   #222222;
  --gris-med:   #555555;
  --gris-claro: #E8F5F5;
  --gris-borde: #C8E4E4;
  --blanco:     #FFFFFF;
  --acento:     #E8B800;
  --acento-osc: #B58F00;
  --sombra:     0 4px 24px rgba(91,171,172,.14);
  --sombra-lg:  0 8px 48px rgba(91,171,172,.20);
  --radio:      6px;
  --transicion: .28s cubic-bezier(.4,0,.2,1);
  --fuente-head: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --fuente-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--fuente-body);
  color: var(--negro);
  background: var(--blanco);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--negro);
  color: #ccc;
  font-size: .8rem;
  padding: .45rem 0;
  position: relative;
  z-index: 200;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem;
}
.topbar a { color: #ddd; transition: color var(--transicion); }
.topbar a:hover { color: var(--teal-claro); }
.topbar .social-icons { display: flex; gap: .75rem; }
.topbar .social-icons svg { width: 16px; height: 16px; fill: currentColor; }
.topbar .contact-links { display: flex; gap: 1.25rem; align-items: center; }
.topbar .contact-links i { color: var(--teal); margin-right: .3rem; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
header {
  background: var(--blanco);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(91,171,172,.10);
  border-bottom: 2px solid var(--gris-borde);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 0;
}
.logo img {
  height: 60px;
  width: auto;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-text .brand {
  font-family: var(--fuente-head);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--teal);
  line-height: 1;
}
.logo-text .brand span { color: var(--negro); }
.logo-text .tagline {
  font-size: .72rem;
  color: var(--gris-med);
  letter-spacing: .08em;
  text-transform: uppercase;
}

nav.main-nav { display: flex; align-items: center; gap: .25rem; }
nav.main-nav a {
  font-family: var(--fuente-head);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gris-osc);
  padding: .55rem 1rem;
  border-radius: var(--radio);
  transition: background var(--transicion), color var(--transicion);
}
nav.main-nav a:hover,
nav.main-nav a.active {
  background: var(--teal);
  color: var(--blanco);
}
.nav-cta {
  background: var(--teal) !important;
  color: var(--blanco) !important;
  font-weight: 700 !important;
  padding: .55rem 1.2rem !important;
}
.nav-cta:hover { background: var(--teal-osc) !important; }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .4rem;
  border: none;
  background: none;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--negro);
  border-radius: 2px;
  transition: all var(--transicion);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ============================================================
   HERO / SLIDER
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--negro);
  min-height: 520px;
}
.hero-slides { position: relative; width: 100%; height: 520px; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  display: flex;
  align-items: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.40);
}
.hero-slide .content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  color: var(--blanco);
  padding: 2rem 0;
}
.hero-slide .content .eyebrow {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-claro);
  margin-bottom: .6rem;
  font-weight: 600;
}
.hero-slide .content h1 {
  font-family: var(--fuente-head);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1rem;
  letter-spacing: -.5px;
}
.hero-slide .content h1 em {
  color: var(--teal-claro);
  font-style: normal;
}
.hero-slide .content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 1.8rem;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Slide dots */
.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 5;
}
.hero-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.6);
  background: transparent;
  cursor: pointer;
  transition: all var(--transicion);
  padding: 0;
}
.hero-dots button.active {
  background: var(--teal);
  border-color: var(--teal);
  transform: scale(1.3);
}

/* Hero arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(0,0,0,.4);
  border: none;
  color: white;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background var(--transicion);
  display: flex; align-items: center; justify-content: center;
}
.hero-arrow:hover { background: var(--teal); }
.hero-arrow.prev { left: 1.2rem; }
.hero-arrow.next { right: 1.2rem; }

/* ============================================================
   BOTONES GLOBALES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radio);
  font-family: var(--fuente-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transicion);
}
.btn-teal {
  background: var(--teal);
  color: var(--blanco);
  border-color: var(--teal);
}
.btn-teal:hover {
  background: var(--teal-osc);
  border-color: var(--teal-osc);
  transform: translateY(-2px);
  box-shadow: var(--sombra);
}
/* alias para compatibilidad con btn-rojo en HTML existente */
.btn-rojo {
  background: var(--teal);
  color: var(--blanco);
  border-color: var(--teal);
}
.btn-rojo:hover {
  background: var(--teal-osc);
  border-color: var(--teal-osc);
  transform: translateY(-2px);
  box-shadow: var(--sombra);
}
.btn-amarillo {
  background: var(--acento);
  color: var(--negro);
  border-color: var(--acento);
}
.btn-amarillo:hover {
  background: var(--acento-osc);
  border-color: var(--acento-osc);
  transform: translateY(-2px);
  box-shadow: var(--sombra);
}
.btn-outline {
  background: transparent;
  color: var(--blanco);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: var(--blanco);
  color: var(--negro);
  border-color: var(--blanco);
}
.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline-teal:hover {
  background: var(--teal);
  color: var(--blanco);
}
.btn-outline-rojo {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline-rojo:hover {
  background: var(--teal);
  color: var(--blanco);
}

/* ============================================================
   SECCIONES GENERALES
   ============================================================ */
section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .eyebrow {
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: .5rem;
}
.section-header h2 {
  font-family: var(--fuente-head);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--negro);
  margin-bottom: .75rem;
}
.section-header p {
  color: var(--gris-med);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ============================================================
   STRIP DE VENTAJAS (debajo del hero)
   ============================================================ */
.ventajas-strip {
  background: var(--teal);
  padding: 1.4rem 0;
}
.ventajas-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.ventaja-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  color: var(--blanco);
}
.ventaja-item .icon {
  font-size: 1.9rem;
  flex-shrink: 0;
  color: rgba(255,255,255,.80);
}
.ventaja-item .text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}
.ventaja-item .text span {
  font-size: .8rem;
  opacity: .85;
}

/* ============================================================
   SERVICIOS — GRID
   ============================================================ */
.servicios-section { background: var(--gris-claro); }
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.servicio-card {
  background: var(--blanco);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform var(--transicion), box-shadow var(--transicion);
  display: flex;
  flex-direction: column;
  border-bottom: 3px solid transparent;
}
.servicio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-lg);
  border-bottom-color: var(--teal);
}
.servicio-card .card-icon {
  background: var(--teal);
  color: var(--blanco);
  font-size: 2.4rem;
  padding: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
}
.servicio-card .card-body {
  padding: 1.4rem 1.5rem 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.servicio-card h3 {
  font-family: var(--fuente-head);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: .6rem;
  color: var(--negro);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.servicio-card p {
  color: var(--gris-med);
  font-size: .92rem;
  flex: 1;
  margin-bottom: 1.1rem;
}
.servicio-card .card-link {
  color: var(--teal);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: .3rem;
  transition: gap var(--transicion);
}
.servicio-card .card-link:hover { gap: .6rem; }
.servicio-card .card-link::after { content: '→'; }

/* ============================================================
   QUIÉNES SOMOS — HOME TEASER
   ============================================================ */
.quienes-section { background: var(--blanco); }
.quienes-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.quienes-img {
  position: relative;
}
.quienes-img img {
  border-radius: 10px;
  width: 100%;
  height: 420px;
  object-fit: cover;
  box-shadow: var(--sombra-lg);
}
.quienes-img .badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--teal);
  color: var(--blanco);
  border-radius: 50%;
  width: 110px;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.1;
  box-shadow: var(--sombra);
}
.quienes-img .badge strong { font-size: 1.9rem; font-weight: 900; }
.quienes-img .badge span { font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; }
.quienes-text h2 {
  font-family: var(--fuente-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.quienes-text .eyebrow {
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: .6rem;
  display: block;
}
.quienes-text p {
  color: var(--gris-med);
  margin-bottom: 1rem;
  line-height: 1.75;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin: 2rem 0;
}
.stat-item { text-align: center; }
.stat-item .num {
  font-family: var(--fuente-head);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
  display: block;
}
.stat-item .lbl {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gris-med);
}

/* ============================================================
   COUNTER STRIP
   ============================================================ */
.counter-strip {
  background: var(--negro);
  padding: 3.5rem 0;
  position: relative;
}
.counter-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
}
.counter-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.counter-item .num {
  font-family: var(--fuente-head);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--teal-claro);
  display: block;
  line-height: 1;
}
.counter-item .lbl {
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: .4rem;
}
.counter-item .sep {
  width: 36px;
  height: 3px;
  background: var(--teal);
  margin: .75rem auto 0;
  border-radius: 2px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonios-section { background: var(--gris-claro); }
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.testimonio-card {
  background: var(--blanco);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  position: relative;
  border-top: 4px solid var(--teal);
}
.testimonio-card .quote-icon {
  font-size: 3rem;
  color: var(--teal);
  opacity: .12;
  position: absolute;
  top: .5rem;
  right: 1.2rem;
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.testimonio-card p {
  color: var(--gris-osc);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-size: .96rem;
}
.testimonio-card .autor { display: flex; align-items: center; gap: .75rem; }
.testimonio-card .autor .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--blanco);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fuente-head);
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonio-card .autor strong { display: block; font-size: .95rem; }
.testimonio-card .autor span { font-size: .8rem; color: var(--gris-med); }
.stars { color: var(--acento); font-size: .9rem; margin-bottom: .8rem; letter-spacing: .05em; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { background: var(--blanco); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gris-borde);
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--fuente-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--negro);
  transition: color var(--transicion);
}
.faq-question:hover { color: var(--teal); }
.faq-question .faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gris-claro);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--teal);
  transition: transform var(--transicion), background var(--transicion);
}
.faq-item.open .faq-question .faq-icon {
  transform: rotate(45deg);
  background: var(--teal);
  color: var(--blanco);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 0;
}
.faq-item.open .faq-answer { max-height: 600px; padding: 0 0 1.25rem; }
.faq-answer p { color: var(--gris-med); line-height: 1.75; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--teal);
  padding: 4rem 0;
  text-align: center;
  color: var(--blanco);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: rgba(0,0,0,.08);
  pointer-events: none;
}
.cta-banner h2 {
  font-family: var(--fuente-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 1rem;
  position: relative;
}
.cta-banner p { font-size: 1.1rem; opacity: .9; margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; position: relative; }
.cta-banner .cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-banner .btn-blanco {
  background: var(--blanco);
  color: var(--teal);
  border: 2px solid var(--blanco);
  font-family: var(--fuente-head);
  font-size: 1rem;
  font-weight: 800;
  padding: .85rem 2rem;
  border-radius: var(--radio);
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: all var(--transicion);
  display: inline-flex; align-items: center; gap: .5rem;
}
.cta-banner .btn-blanco:hover { background: var(--negro); color: var(--blanco); border-color: var(--negro); }
.cta-banner .btn-acento {
  background: var(--acento);
  color: var(--negro);
  border: none;
  font-family: var(--fuente-head);
  font-size: 1rem;
  font-weight: 800;
  padding: .85rem 2rem;
  border-radius: var(--radio);
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: all var(--transicion);
  display: inline-flex; align-items: center; gap: .5rem;
}
.cta-banner .btn-acento:hover { background: var(--acento-osc); }

/* ============================================================
   MAPA Y CONTACTO
   ============================================================ */
.contacto-section { background: var(--gris-claro); }
.contacto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contacto-form { background: var(--blanco); border-radius: 10px; padding: 2.5rem; box-shadow: var(--sombra); }
.contacto-form h3 {
  font-family: var(--fuente-head);
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--negro);
}
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gris-osc);
  margin-bottom: .35rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gris-borde);
  border-radius: var(--radio);
  font-family: var(--fuente-body);
  font-size: .95rem;
  color: var(--negro);
  background: var(--blanco);
  transition: border-color var(--transicion);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-10); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
  width: 100%;
  padding: .9rem;
  background: var(--teal);
  color: var(--blanco);
  border: none;
  border-radius: var(--radio);
  font-family: var(--fuente-head);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background var(--transicion), transform var(--transicion);
  margin-top: .5rem;
}
.form-submit:hover { background: var(--teal-osc); transform: translateY(-2px); }
.contacto-info { }
.contacto-info h3 {
  font-family: var(--fuente-head);
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--negro);
}
.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.4rem;
}
.info-item .ico {
  width: 44px; height: 44px;
  background: var(--teal);
  color: var(--blanco);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.info-item .txt strong { display: block; font-size: .95rem; font-weight: 700; margin-bottom: .15rem; }
.info-item .txt a { color: var(--gris-med); transition: color var(--transicion); }
.info-item .txt a:hover { color: var(--teal); }
.info-item .txt p, .info-item .txt span { color: var(--gris-med); font-size: .93rem; }
.horario-table { width: 100%; border-collapse: collapse; margin-top: .5rem; font-size: .9rem; }
.horario-table td { padding: .3rem .5rem; }
.horario-table td:first-child { font-weight: 600; text-transform: capitalize; }
.horario-table td:last-child { color: var(--gris-med); }
.mapa-embed {
  margin-top: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--sombra);
}
.mapa-embed iframe { width: 100%; height: 240px; border: none; display: block; }

/* ============================================================
   MARCAS
   ============================================================ */
.marcas-section { background: var(--blanco); padding: 3rem 0; }
.marcas-section .section-header { margin-bottom: 2rem; }
.marcas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
.marca-badge {
  background: var(--gris-claro);
  border-radius: var(--radio);
  padding: .75rem 1.5rem;
  font-family: var(--fuente-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--gris-osc);
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: background var(--transicion), color var(--transicion);
  border: 2px solid transparent;
}
.marca-badge:hover { background: var(--teal); color: var(--blanco); border-color: var(--teal); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #0F3333;
  color: rgba(255,255,255,.75);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-col h4 {
  font-family: var(--fuente-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--blanco);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: .6rem;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 32px; height: 3px;
  background: var(--teal);
  border-radius: 2px;
}
.footer-col p { font-size: .9rem; line-height: 1.75; margin-bottom: 1rem; }
.footer-col .brand-footer {
  font-family: var(--fuente-head);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--blanco);
  letter-spacing: -.5px;
  margin-bottom: .4rem;
  display: block;
}
.footer-col .brand-footer em { color: var(--teal-claro); font-style: normal; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  transition: color var(--transicion), padding-left var(--transicion);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.footer-links a::before { content: '›'; color: var(--teal); }
.footer-links a:hover { color: var(--blanco); padding-left: .3rem; }
.footer-social { display: flex; gap: .75rem; margin-top: 1rem; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: var(--blanco);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  transition: background var(--transicion), transform var(--transicion);
}
.footer-social a svg { width: 18px; height: 18px; fill: currentColor; }
.footer-social a:hover { background: var(--teal); transform: translateY(-3px); }
.footer-contact-list li { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: .7rem; font-size: .9rem; }
.footer-contact-list .fi { color: var(--teal); flex-shrink: 0; margin-top: .1rem; }
.footer-contact-list a { color: rgba(255,255,255,.7); transition: color var(--transicion); }
.footer-contact-list a:hover { color: var(--blanco); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.55); transition: color var(--transicion); }
.footer-bottom a:hover { color: var(--blanco); }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--negro) 0%, #0D2424 100%);
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  color: var(--blanco);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,171,172,.28) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .eyebrow {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal-claro);
  font-weight: 700;
  margin-bottom: .6rem;
}
.page-hero h1 {
  font-family: var(--fuente-head);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: .75rem;
}
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.2rem;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.breadcrumb a { color: rgba(255,255,255,.65); transition: color var(--transicion); }
.breadcrumb a:hover { color: var(--teal-claro); }
.breadcrumb span { color: rgba(255,255,255,.35); }

/* ============================================================
   SERVICIOS PAGE — Detailed list
   ============================================================ */
.servicio-detalle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--gris-borde);
}
.servicio-detalle:last-child { border-bottom: none; }
.servicio-detalle:nth-child(even) .sd-img { order: 2; }
.servicio-detalle:nth-child(even) .sd-text { order: 1; }
.sd-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--sombra);
}
.sd-img .img-placeholder {
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-osc) 100%);
  color: var(--blanco);
  gap: .75rem;
}
.sd-img .img-placeholder i { font-size: 4rem; opacity: .85; }
.sd-img .img-placeholder span { font-family: var(--fuente-head); font-size: 1.2rem; font-weight: 800; letter-spacing: .06em; opacity: .7; text-transform: uppercase; }
.sd-text .eyebrow {
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: .5rem;
}
.sd-text h2 {
  font-family: var(--fuente-head);
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.sd-text p { color: var(--gris-med); line-height: 1.75; margin-bottom: 1rem; }
.sd-list { margin: .8rem 0 1.5rem; }
.sd-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  color: var(--gris-osc);
  margin-bottom: .5rem;
  font-size: .95rem;
}
.sd-list li::before { content: '✓'; color: var(--teal); font-weight: 900; flex-shrink: 0; }

/* ============================================================
   QUIÉNES SOMOS PAGE
   ============================================================ */
.nosotros-section { }
.nosotros-intro {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
  border-bottom: 1px solid var(--gris-borde);
}
.nosotros-intro .img-mechanic {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--sombra-lg);
}
.nosotros-intro .img-mechanic .img-placeholder {
  height: 480px;
  background: linear-gradient(160deg, #111 0%, var(--teal-osc) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--blanco);
  gap: 1rem;
}
.nosotros-intro .img-mechanic .img-placeholder i { font-size: 5rem; opacity: .6; }
.nosotros-intro .img-mechanic .img-placeholder span { font-family: var(--fuente-head); font-size: 1.4rem; font-weight: 800; letter-spacing: .08em; opacity: .5; text-transform: uppercase; }
.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 4rem 0;
}
.valor-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 10px;
  background: var(--gris-claro);
  transition: transform var(--transicion), box-shadow var(--transicion);
  border-bottom: 3px solid transparent;
}
.valor-card:hover { transform: translateY(-6px); box-shadow: var(--sombra); border-bottom-color: var(--teal); }
.valor-card .icon {
  font-size: 2.5rem;
  color: var(--teal);
  margin-bottom: 1rem;
}
.valor-card h3 {
  font-family: var(--fuente-head);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.valor-card p { color: var(--gris-med); font-size: .92rem; }
.equipo-section { background: var(--gris-claro); }
.equipo-card {
  background: var(--blanco);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--sombra);
  max-width: 440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
}
.equipo-card .foto {
  width: 160px;
  height: 180px;
  background: linear-gradient(160deg, var(--negro) 0%, var(--teal-osc) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanco);
  font-size: 4rem;
  flex-shrink: 0;
}
.equipo-card .bio { padding: 1.5rem; }
.equipo-card .bio h3 { font-family: var(--fuente-head); font-size: 1.4rem; font-weight: 900; margin-bottom: .25rem; }
.equipo-card .bio .cargo { color: var(--teal); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; }
.equipo-card .bio p { color: var(--gris-med); font-size: .9rem; line-height: 1.65; }

/* ============================================================
   CONTACTO PAGE
   ============================================================ */
.contacto-page-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.mapa-grande { border-radius: 10px; overflow: hidden; box-shadow: var(--sombra-lg); margin-bottom: 2rem; }
.mapa-grande iframe { width: 100%; height: 380px; border: none; display: block; }

/* ============================================================
   AYUDA PAGE
   ============================================================ */
.ayuda-cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 4rem;
}
.ayuda-cat {
  background: var(--blanco);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transicion);
}
.ayuda-cat:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: var(--sombra); }
.ayuda-cat .icon { font-size: 2.4rem; color: var(--teal); margin-bottom: .75rem; }
.ayuda-cat h3 { font-family: var(--fuente-head); font-size: 1.1rem; font-weight: 800; text-transform: uppercase; color: var(--negro); }

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.float-btns {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  z-index: 999;
}
.float-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  font-size: 1.5rem;
  transition: transform var(--transicion), box-shadow var(--transicion);
  text-decoration: none;
}
.float-btn:hover { transform: translateY(-4px) scale(1.08); box-shadow: 0 8px 30px rgba(0,0,0,.3); }
.float-btn.phone { background: var(--teal); color: var(--blanco); }
.float-btn.whatsapp { background: #25d366; color: var(--blanco); }
.float-btn.top {
  background: var(--negro);
  color: var(--blanco);
  width: 44px; height: 44px;
  font-size: 1.1rem;
  display: none;
}
.float-btn.top.visible { display: flex; }

/* Tooltip labels */
.float-btn::before {
  content: attr(data-tip);
  position: absolute;
  right: 64px;
  background: var(--negro);
  color: var(--blanco);
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .7rem;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transicion);
}
.float-btn:hover::before { opacity: 1; }

/* ============================================================
   NOTIFICATION / TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--negro);
  color: var(--blanco);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: .95rem;
  box-shadow: var(--sombra-lg);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  z-index: 9999;
  pointer-events: none;
  border-left: 4px solid var(--teal);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quienes-inner { gap: 2.5rem; }
  .contacto-inner { grid-template-columns: 1fr; }
  .contacto-page-inner { grid-template-columns: 1fr; }
  .nosotros-intro { grid-template-columns: 1fr; gap: 2.5rem; }
  .servicio-detalle { grid-template-columns: 1fr; gap: 2rem; }
  .servicio-detalle:nth-child(even) .sd-img,
  .servicio-detalle:nth-child(even) .sd-text { order: 0; }
  .ventajas-strip .container { grid-template-columns: repeat(2, 1fr); }
  .counter-strip .container { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 768px) {
  nav.main-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--blanco); padding: 1rem; box-shadow: var(--sombra); z-index: 50; gap: .25rem; }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: .75rem 1rem; border-radius: var(--radio); }
  header { position: sticky; top: 0; }
  .header-inner { position: relative; }
  .menu-toggle { display: flex; }
  .quienes-inner { grid-template-columns: 1fr; }
  .quienes-img .badge { right: .5rem; bottom: -1rem; width: 90px; height: 90px; }
  .quienes-img .badge strong { font-size: 1.5rem; }
  .stats-row { grid-template-columns: repeat(3,1fr); gap: .75rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .valores-grid { grid-template-columns: 1fr; }
  .ayuda-cats { grid-template-columns: repeat(2,1fr); }
  .topbar .container { justify-content: center; }
  .hero-slides { height: 420px; }
  .hero-slide .content h1 { font-size: 2rem; }
}

@media (max-width: 480px) {
  .ventajas-strip .container { grid-template-columns: 1fr; }
  .counter-strip .container { grid-template-columns: 1fr 1fr; }
  .ayuda-cats { grid-template-columns: 1fr; }
  .hero-slides { height: 360px; }
  section { padding: 3.5rem 0; }
  .cta-banner .cta-btns { flex-direction: column; align-items: center; }
  .equipo-card { grid-template-columns: 1fr; }
  .equipo-card .foto { width: 100%; height: 160px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ============================================================
   MOBILE-FIRST FIX — Reescritura completa del responsive
   ============================================================ */

/* --- Topbar: ocultar en móvil, solo mostrar teléfono --- */
@media (max-width: 600px) {
  .topbar { display: none; }
}

/* --- Header: logo más pequeño, hamburger siempre visible en < 900px --- */
@media (max-width: 900px) {
  nav.main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--blanco);
    padding: .75rem 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    z-index: 50;
    gap: .15rem;
    border-top: 2px solid var(--teal);
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a {
    padding: .85rem 1rem;
    border-radius: var(--radio);
    font-size: 1.1rem;
    border-bottom: 1px solid var(--gris-borde);
  }
  nav.main-nav a:last-child { border-bottom: none; }
  .menu-toggle { display: flex; }
  .header-inner { position: relative; }
  .logo svg { height: 44px; }
}

/* --- Hero: altura dinámica, texto legible, padding lateral --- */
@media (max-width: 768px) {
  .hero-slides {
    height: auto;
    min-height: 460px;
  }
  .hero-slide {
    position: relative;
    min-height: 460px;
    display: none;
    align-items: center;
  }
  .hero-slide.active {
    display: flex;
  }
  .hero-slide .bg {
    position: absolute;
    inset: 0;
    filter: brightness(.35);
  }
  .hero-slide .content {
    padding: 5rem 1.25rem 4rem;
    max-width: 100%;
    width: 100%;
  }
  .hero-slide .content h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
    margin-bottom: .75rem;
  }
  .hero-slide .content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
  }
  .hero-btns {
    flex-direction: column;
    gap: .75rem;
    align-items: flex-start;
  }
  .hero-btns .btn {
    width: 100%;
    justify-content: center;
    padding: .85rem 1.25rem;
    font-size: .95rem;
  }
  .hero-arrow { display: none; }
  .hero-dots { bottom: 1rem; }
}

/* --- Ventajas strip: 2 col en tablet, 1 col en móvil --- */
@media (max-width: 768px) {
  .ventajas-strip .container {
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
  }
  .ventaja-item .icon { font-size: 1.5rem; }
  .ventaja-item .text strong { font-size: .9rem; }
  .ventaja-item .text span { font-size: .75rem; }
}
@media (max-width: 400px) {
  .ventajas-strip .container { grid-template-columns: 1fr; }
}

/* --- Servicios grid: 1 col móvil --- */
@media (max-width: 600px) {
  .servicios-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* --- Quiénes somos: columna única, badge reposicionada --- */
@media (max-width: 768px) {
  .quienes-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .quienes-img img { height: 260px; }
  .quienes-img .badge {
    right: 1rem;
    bottom: -1rem;
    width: 80px; height: 80px;
  }
  .quienes-img .badge strong { font-size: 1.3rem; }
  .quienes-img .badge span { font-size: .6rem; }
  .stats-row { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .stat-item .num { font-size: 1.6rem; }
  .stat-item .lbl { font-size: .7rem; }
}

/* --- Counter strip: 2x2 en móvil --- */
@media (max-width: 768px) {
  .counter-strip .container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1rem;
  }
}
@media (max-width: 400px) {
  .counter-strip .container { grid-template-columns: 1fr; }
  .counter-item .num { font-size: 2.5rem; }
}

/* --- Testimonios: 1 col móvil --- */
@media (max-width: 600px) {
  .testimonios-grid { grid-template-columns: 1fr; }
}

/* --- CTA banner: botones en columna --- */
@media (max-width: 600px) {
  .cta-banner { padding: 3rem 0; }
  .cta-banner .cta-btns {
    flex-direction: column;
    align-items: center;
    gap: .75rem;
  }
  .cta-banner .btn-blanco,
  .cta-banner .btn-acento {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

/* --- Contacto: columna única --- */
@media (max-width: 768px) {
  .contacto-inner { grid-template-columns: 1fr; gap: 2rem; }
  .contacto-form { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* --- Footer: 1 columna, compacto --- */
@media (max-width: 768px) {
  footer { padding: 2.5rem 0 0; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: .4rem;
    font-size: .78rem;
    padding: 1rem 0;
  }
}

/* --- Secciones interiores: menos padding vertical --- */
@media (max-width: 768px) {
  section { padding: 3rem 0; }
  .section-header { margin-bottom: 2rem; }
  .section-header h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }

  /* Servicios page */
  .servicio-detalle {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2.5rem 0;
  }
  .servicio-detalle:nth-child(even) .sd-img,
  .servicio-detalle:nth-child(even) .sd-text { order: 0; }
  .sd-img .img-placeholder { height: 200px; }

  /* Quiénes somos page */
  .nosotros-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 0;
  }
  .nosotros-intro .img-mechanic .img-placeholder { height: 260px; }
  .valores-grid { grid-template-columns: 1fr 1fr; gap: 1rem; padding: 2rem 0; }

  /* Contacto page */
  .contacto-page-inner { grid-template-columns: 1fr; }
  .mapa-grande iframe { height: 240px; }

  /* Ayuda page */
  .ayuda-cats { grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
  .ayuda-cat { padding: 1.25rem 1rem; }

  /* Page hero */
  .page-hero { padding: 3rem 0 2.5rem; }

  /* Equipo card */
  .equipo-card { grid-template-columns: 1fr; max-width: 100%; }
  .equipo-card .foto { width: 100%; height: 140px; }
}

@media (max-width: 400px) {
  .valores-grid { grid-template-columns: 1fr; }
  .ayuda-cats { grid-template-columns: 1fr; }
  .hero-slide .content h1 { font-size: 1.8rem; }
}

/* --- Botones flotantes: más pequeños y pegados al borde en móvil --- */
@media (max-width: 600px) {
  .float-btns { bottom: 1rem; right: .75rem; gap: .5rem; }
  .float-btn { width: 46px; height: 46px; font-size: 1.25rem; }
  .float-btn.top { width: 38px; height: 38px; font-size: 1rem; }
  .float-btn::before { display: none; }
}

/* --- Evitar overflow horizontal global --- */
html, body { max-width: 100%; overflow-x: hidden; }
.container { width: 100%; padding-left: 1rem; padding-right: 1rem; }
img, svg, video, iframe { max-width: 100%; }
