/* ============================================================
   Importadora Repuestos — Estilos globales
   ============================================================ */

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

:root {
  /* Paleta autopartes: naranja/ámbar + negro industrial */
  --primary:   #f97316;
  --primary-d: #ea580c;
  --primary-l: rgba(249,115,22,.14);
  --accent:    #fbbf24;
  --dark:      #0c0c0e;
  --dark2:     #141418;
  --mid:       #1c1c22;
  --light:     #f8f6f3;
  --text:      #1a1a1e;
  --muted:     #64748b;
  --border:    #e8e4de;
  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 4px 24px rgba(0,0,0,.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,.12);
  --t:         .28s ease;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: #fff; line-height: 1.65; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---- Utilidades ---- */
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: .6rem;
  line-height: 1.2;
}
.section-sub  { text-align: center; color: var(--muted); margin-bottom: 3rem; font-size: 1rem; }
.section-title.white { color: #fff; }
.section-sub.white   { color: rgba(255,255,255,.7); }

.section-label {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-l);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-label.center { display: block; text-align: center; }
.section-label.light  { color: #fcd34d; background: rgba(249,115,22,.22); }

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 9999;
  transition: width .1s linear;
}

/* ============================================================
   ANIMACIONES
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

.fade-in.delay-0 { transition-delay: 0s; }
.fade-in.delay-1 { transition-delay: .12s; }
.fade-in.delay-2 { transition-delay: .24s; }
.fade-in.delay-3 { transition-delay: .36s; }

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-up.visible { opacity: 1; transform: none; }
.reveal-up.delay-0 { transition-delay: .1s; }
.reveal-up.delay-1 { transition-delay: .25s; }
.reveal-up.delay-2 { transition-delay: .4s; }
.reveal-up.delay-3 { transition-delay: .55s; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar { background: var(--primary); padding: 8px 0; font-size: .85rem; }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  flex-wrap: wrap;
  gap: .5rem;
}
.topbar-wsp {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  background: rgba(0,0,0,.2);
  padding: 3px 14px;
  border-radius: 50px;
  transition: background var(--t);
}
.topbar-wsp:hover { background: rgba(0,0,0,.35); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--dark);
  padding: 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
  transition: background var(--t), box-shadow var(--t);
}
.navbar.scrolled {
  background: rgba(12,12,14,.97);
  box-shadow: 0 4px 30px rgba(0,0,0,.5);
  backdrop-filter: blur(12px);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 66px;
}
.logo {
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  gap: .4rem;
  white-space: nowrap;
  letter-spacing: .02em;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-gear { font-size: 1.4rem; color: var(--primary); animation: spin-slow 8s linear infinite; }
.logo-icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  display: block;
}
.logo-accent { color: var(--primary); margin-left: .15rem; }

@keyframes spin-slow { to { transform: rotate(360deg); } }

.nav-links {
  display: flex;
  list-style: none;
  gap: .2rem;
  margin-left: auto;
}
.nav-links a {
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--t), background var(--t);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--t);
  border-radius: 2px;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: #fff; }
.nav-links a.active::after { transform: scaleX(1); }

.btn-nav {
  background: var(--primary);
  color: #fff;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: .83rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(249,115,22,.4);
}
.btn-nav:hover { background: var(--primary-d); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(249,115,22,.5); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0c0c0e 0%, #1a1510 40%, var(--dark2) 70%, #0f0d0a 100%);
  color: #fff;
  padding: 110px 0 110px;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}
/* Malla de puntos decorativa */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
/* Glows — tonos naranja/ámbar autopartes */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 25%, rgba(249,115,22,.25) 0%, transparent 45%),
    radial-gradient(circle at 10% 75%, rgba(251,191,36,.12) 0%, transparent 45%);
  pointer-events: none;
}

/* Partículas flotantes */
.hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.particle {
  position: absolute;
  font-size: 2rem;
  opacity: .06;
  animation: float-particle 14s ease-in-out infinite;
}
.particle:nth-child(1) { top: 15%; left: 8%;  animation-duration: 11s; animation-delay: 0s;   font-size: 3rem; }
.particle:nth-child(2) { top: 60%; left: 15%; animation-duration: 15s; animation-delay: 2s;   font-size: 1.5rem; }
.particle:nth-child(3) { top: 25%; left: 80%; animation-duration: 13s; animation-delay: 4s;   font-size: 3.5rem; }
.particle:nth-child(4) { top: 75%; left: 72%; animation-duration: 10s; animation-delay: 1s;   font-size: 2rem; }
.particle:nth-child(5) { top: 45%; left: 50%; animation-duration: 16s; animation-delay: 3s;   font-size: 2.5rem; }
.particle:nth-child(6) { top: 85%; left: 40%; animation-duration: 12s; animation-delay: 5s;   font-size: 1.8rem; }

@keyframes float-particle {
  0%, 100% { transform: translateY(0) rotate(0deg);    opacity: .06; }
  50%       { transform: translateY(-30px) rotate(20deg); opacity: .12; }
}

.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-text {}

.hero-badge {
  display: inline-block;
  background: rgba(249,115,22,.2);
  border: 1px solid rgba(249,115,22,.5);
  color: #fcd34d;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1.2rem;
  letter-spacing: -.02em;
}
.hero-highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}
.hero-highlight::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 2px;
}
.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  max-width: 540px;
  margin-bottom: 2.4rem;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 14px 34px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  box-shadow: 0 4px 20px rgba(249,115,22,.4);
}
.btn-primary:hover { background: var(--primary-d); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(249,115,22,.55); }

.btn-outline {
  border: 2px solid rgba(255,255,255,.28);
  color: #fff;
  padding: 14px 34px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  transition: border-color var(--t), background var(--t);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.btn-outline:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.07); }
.btn-outline-dark { border-color: var(--primary); color: var(--text); }
.btn-outline-dark:hover { border-color: var(--primary-d); background: var(--primary-l); color: var(--text); }

/* Ola inferior del hero */
.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 60px; display: block; }

/* Hero para páginas internas */
.page-hero {
  background: linear-gradient(135deg, #0c0c0e 0%, #1a1510 50%, var(--dark2) 100%);
  color: #fff;
  padding: 80px 0 60px;
  text-align: center;
}
.page-hero .section-label.light { display: inline-block; }
.page-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}
.page-hero .section-sub { margin-bottom: 0; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar { background: #fff; padding-bottom: 2rem; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(0,0,0,.13);
  transform: translateY(-40px);
  background: #fff;
  border: 1px solid var(--border);
}
.stat-item {
  text-align: center;
  padding: 2.2rem 1rem;
  border-right: 1px solid var(--border);
  transition: background var(--t);
  position: relative;
  overflow: hidden;
}
.stat-item::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--t);
}
.stat-item:hover { background: #fff8f0; }
.stat-item:hover::before { transform: scaleX(1); }
.stat-item:last-child { border-right: none; }

.stat-item strong {
  display: block;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-plus { font-size: 65%; opacity: .8; }
.stat-item span {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   NOSOTROS
   ============================================================ */
.about { padding: 30px 0 90px; background: #fff; }
.about-teaser .about-cards { display: none; }

/* Sección Nuestros Servicios (inicio) */
.services-preview {
  padding: 70px 0 80px;
  background: var(--light);
}
.services-preview-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.services-preview-heading .section-label {
  margin-bottom: 0.4rem;
}
.services-preview-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  margin: 0;
  line-height: 1.2;
}
.services-preview-link {
  font-size: .95rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}
.services-preview-link:hover {
  color: var(--primary);
}
.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-preview-card {
  display: block;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: transform var(--t), box-shadow var(--t);
}
.service-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-preview-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f0eeeb;
}
.service-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.service-preview-card:hover .service-preview-img img {
  transform: scale(1.04);
}
.service-preview-label {
  display: block;
  padding: 1.1rem 1rem;
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
}
@media (max-width: 1024px) {
  .services-preview-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .services-preview-header { flex-direction: column; align-items: flex-start; margin-bottom: 1.8rem; }
  .services-preview-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-text .section-label { margin-bottom: 1rem; }
.about-text h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; line-height: 1.2; margin-bottom: 1.2rem; }
.about-text p  { color: var(--muted); margin-bottom: 1rem; line-height: 1.75; }
.about-text .btn-primary { margin-top: 1rem; }

.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.about-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.4rem;
  border: 1px solid var(--border);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.about-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.about-card-icon { font-size: 1.8rem; margin-bottom: .6rem; }
.about-card h4   { font-size: .95rem; font-weight: 700; margin-bottom: .4rem; }
.about-card p    { font-size: .82rem; color: var(--muted); line-height: 1.55; }

/* ============================================================
   SERVICIOS
   ============================================================ */
.services { background: var(--light); padding: 90px 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  border: 1px solid var(--border);
  transition: transform var(--t), box-shadow var(--t);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--ic, var(--primary));
  transform: scaleX(0);
  transition: transform .35s ease;
  transform-origin: left;
}
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon-wrap {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--ic, var(--primary)) 12%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  transition: transform var(--t);
}
.service-card:hover .service-icon-wrap { transform: scale(1.1) rotate(-5deg); }

.service-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .6rem; }
.service-card p  { font-size: .875rem; color: var(--muted); line-height: 1.65; margin-bottom: 1.2rem; }
.service-link    { color: var(--primary); font-weight: 700; font-size: .85rem; text-decoration: none; }
.service-link:hover { text-decoration: underline; }

/* Servicios con imagen (estilo catálogo) */
.services-grid-images { gap: 1.8rem; }
.service-card-image {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card-image::before { display: none; }
.service-card-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f5f5f3;
}
.service-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.service-card-image:hover .service-card-img-wrap img {
  transform: scale(1.03);
}
.service-card-image .service-card-body {
  padding: 1.5rem 1.6rem 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card-image h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: .6rem;
  line-height: 1.25;
}
.service-card-image .service-desc-list {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}
.service-card-image .service-link {
  margin-top: auto;
}

/* ============================================================
   MARCAS — Grid de logos
   ============================================================ */
.brands {
  background: linear-gradient(160deg, #0c0c0e 0%, #141418 50%, var(--dark2) 100%);
  padding: 90px 0 60px;
}
.brands-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.brand-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 1.2rem .8rem;
  text-align: center;
  cursor: default;
  transition: transform var(--t), background var(--t), border-color var(--t), box-shadow var(--t);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}
.brand-card:hover {
  transform: translateY(-6px) scale(1.03);
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.2);
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
}

.brand-logo-img {
  width: 120px;
  height: 60px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,.03);
}
.brand-logo-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  transition: transform var(--t);
  display: block;
}
.brand-card:hover .brand-logo-img img { transform: scale(1.05); }
.brand-logo-img .brand-abbr {
  font-size: .75rem;
  font-weight: 900;
  color: var(--bt, #fff);
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 60px;
  background: var(--bc, #2a2a2e);
  border-radius: 8px;
}

.brand-name {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

/* Marquee de marcas adicionales */
.brands-marquee-wrap {
  overflow: hidden;
  margin-top: 1rem;
  position: relative;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.brands-marquee-wrap::before,
.brands-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 1;
}
.brands-marquee-wrap::before { left: 0; background: linear-gradient(to right, #141418, transparent); }
.brands-marquee-wrap::after  { right: 0; background: linear-gradient(to left, #141418, transparent); }

.brands-marquee { display: flex; width: 100%; }
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
}
.marquee-track span {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  padding: 4px 0;
  transition: color var(--t);
}
.marquee-track span:hover { color: rgba(255,255,255,.9); }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   UBICACIONES
   ============================================================ */
.locations { padding: 90px 0; background: #fff; }
.locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.location-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 2rem 1.4rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform var(--t), box-shadow var(--t);
}
.location-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.featured-location { background: var(--primary); border-color: var(--primary); }
.featured-location h3, .featured-location p { color: #fff; }
.location-icon { font-size: 2rem; margin-bottom: .8rem; }
.location-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.location-card p  { font-size: .85rem; color: var(--muted); margin-bottom: 1.2rem; }
.featured-location p { color: rgba(255,255,255,.85); }
.location-btn {
  display: inline-block;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  background: #fff;
  color: var(--text);
  transition: background var(--t), transform var(--t);
}
.location-btn:hover { background: #eee; transform: translateY(-1px); }
.featured-location .location-btn { background: rgba(255,255,255,.2); color: #fff; }
.featured-location .location-btn:hover { background: rgba(255,255,255,.32); }
.location-address {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: .8rem;
  line-height: 1.5;
}
.location-address strong { color: var(--text); }
.location-address a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}
.location-address a:hover { text-decoration: underline; }
.location-card .location-btn + .location-btn { margin-top: .5rem; }
.location-btn-secondary {
  display: inline-block;
  margin-left: 0;
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text);
}
.location-btn-secondary:hover { background: var(--light); border-color: var(--primary); }

/* Mapa embebido */
.map-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.map-section-title {
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: .5rem;
}
.map-section-address {
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 1.5rem;
}
.map-section-address a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.map-section-address a:hover { text-decoration: underline; }
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
  max-width: 900px;
  margin: 0 auto;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testimonials { background: var(--light); padding: 90px 0; }

/* Badge de puntuación Google */
.google-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: .8rem 2rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow);
}
.google-rating-text { display: flex; align-items: center; gap: .6rem; }
.google-score { font-size: 1.4rem; font-weight: 900; color: var(--text); }
.google-stars { color: #f59e0b; font-size: 1rem; letter-spacing: .05em; }
.google-label { font-size: .82rem; color: var(--muted); font-weight: 500; }

/* Grid de 2 columnas para los testimonios reales */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonials-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 860px;
  margin: 0 auto;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform var(--t), box-shadow var(--t);
  position: relative;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* Header del testimonio estilo Google */
.testimonial-header {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: .9rem;
}
.testimonial-meta { flex: 1; }
.testimonial-meta strong { display: block; font-size: .9rem; font-weight: 700; color: var(--text); }
.google-guide {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .75rem;
  color: var(--muted);
  margin-top: .15rem;
}
.google-icon-sm { flex-shrink: 0; opacity: .85; }

/* Avatar de colores como Google */
.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.av-orange { background: #E87722; }
.av-purple { background: #7B2D8B; }

/* Fila de estrellas + tiempo */
.stars-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .75rem;
}
.stars { font-size: .95rem; color: #f59e0b; letter-spacing: .06em; }
.review-time { font-size: .75rem; color: var(--muted); }

.testimonial-card > p {
  font-size: .875rem;
  color: #444;
  line-height: 1.72;
  font-style: italic;
}

/* CTA de Google */
.google-cta {
  text-align: center;
  margin-top: 2.2rem;
}
.btn-google {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: #fff;
  color: var(--text);
  border: 1.5px solid var(--border);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
  box-shadow: var(--shadow);
}
.btn-google:hover {
  border-color: #4285F4;
  box-shadow: 0 4px 20px rgba(66,133,244,.18);
  transform: translateY(-2px);
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contact {
  background: linear-gradient(135deg, #0c0c0e 0%, #1a1510 50%, #141418 100%);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(249,115,22,.18) 0%, transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(251,191,36,.1) 0%, transparent 50%);
  pointer-events: none;
}
.contact-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-info .section-label { margin-bottom: 1rem; }
.contact-info h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 1rem; }
.contact-info > p { color: rgba(255,255,255,.6); line-height: 1.75; margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-detail-item { display: flex; align-items: center; gap: .9rem; }
.contact-detail-icon {
  font-size: 1.4rem;
  background: rgba(255,255,255,.07);
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail-item strong { display: block; color: #fff; font-size: .88rem; font-weight: 600; }
.contact-detail-item span  { color: rgba(255,255,255,.55); font-size: .84rem; }
.contact-detail-item a.contact-link {
  color: rgba(255,255,255,.7);
  font-size: .84rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.25);
  transition: color .2s, border-color .2s;
}
.contact-detail-item a.contact-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.contact-form-wrap {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 2.4rem;
  backdrop-filter: blur(12px);
}
.contact-form-wrap h3 { color: #fff; font-size: 1.3rem; font-weight: 700; margin-bottom: 1.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Inputs con label flotante */
.form-group { position: relative; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 20px 16px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.07);
  color: #fff;
  font-size: .9rem;
  font-family: 'Inter', sans-serif;
  transition: border-color var(--t), background var(--t);
  resize: vertical;
}
.form-group textarea { padding-top: 22px; min-height: 110px; }
.form-group label {
  position: absolute;
  top: 14px; left: 16px;
  color: rgba(255,255,255,.4);
  font-size: .88rem;
  pointer-events: none;
  transition: top .2s, font-size .2s, color .2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255,255,255,.1);
}
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: 6px;
  font-size: .72rem;
  color: #fcd34d;
}

.btn-full { width: 100%; justify-content: center; font-size: 1rem; padding: 14px; }
.form-success {
  text-align: center; color: #86efac; font-size: 1.05rem; font-weight: 600;
  padding: 2rem;
  border: 1px solid rgba(134,239,172,.3);
  border-radius: var(--radius);
  background: rgba(134,239,172,.07);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #060b14; }
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 60px 0 50px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-col .logo { margin-bottom: 1rem; }
.footer-col > p { color: rgba(255,255,255,.4); font-size: .85rem; line-height: 1.7; }
.footer-col h4 {
  color: #fff; font-size: .82rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul li { font-size: .84rem; color: rgba(255,255,255,.45); }
.footer-col ul li a { color: rgba(255,255,255,.45); text-decoration: none; transition: color var(--t); }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { padding: 20px 0; }
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { color: rgba(255,255,255,.25); font-size: .8rem; }
.footer-social { display: flex; gap: .8rem; }
.footer-social a { color: rgba(255,255,255,.35); transition: color var(--t); display: flex; align-items: center; }
.footer-social a:hover { color: #25d366; }

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.wsp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  background: #25d366;
  width: 62px; height: 62px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.5);
  transition: transform .3s ease, box-shadow .3s ease;
  text-decoration: none;
}
.wsp-float:hover { transform: scale(1.1); box-shadow: 0 12px 36px rgba(37,211,102,.65); }
.wsp-float::before {
  content: ''; position: absolute;
  width: 100%; height: 100%; border-radius: 50%;
  background: rgba(37,211,102,.35);
  animation: wsp-pulse 2.2s ease-out infinite;
}
@keyframes wsp-pulse {
  0%   { transform: scale(1);    opacity: .8; }
  70%  { transform: scale(1.65); opacity: 0; }
  100% { transform: scale(1.65); opacity: 0; }
}
.wsp-tooltip {
  position: absolute; right: 72px;
  background: #111; color: #fff;
  font-size: .78rem; font-weight: 600;
  white-space: nowrap; padding: 6px 13px;
  border-radius: var(--radius-sm);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.wsp-tooltip::after {
  content: ''; position: absolute;
  right: -6px; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none; border-left-color: #111;
}
.wsp-float:hover .wsp-tooltip { opacity: 1; }

/* ============================================================
   HAMBURGUESA
   ============================================================ */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; margin-left: auto;
  padding: 4px; background: none; border: none;
}
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .about-inner   { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top    { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .brands-logo-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   RESPONSIVE — 900px
   ============================================================ */
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid-2 { grid-template-columns: 1fr 1fr; max-width: 100%; }
}

/* ============================================================
   RESPONSIVE — 768px (móviles)
   ============================================================ */
@media (max-width: 768px) {
  .topbar-inner { justify-content: center; text-align: center; font-size: .8rem; }

  .hamburger { display: flex; }
  .btn-nav   { display: none; }
  .nav-links {
    display: none;
    position: absolute; top: 66px; left: 0; right: 0;
    background: rgba(12,12,14,.98);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem 0;
    box-shadow: 0 12px 28px rgba(0,0,0,.5);
    z-index: 199;
    backdrop-filter: blur(12px);
  }
  .nav-links.open { display: flex; }
  .nav-links li   { width: 100%; }
  .nav-links a    { display: block; padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,.05); font-size: .95rem; border-radius: 0; }
  .nav-links a::after { display: none; }

  .hero { padding: 70px 0 100px; min-height: auto; }
  .hero h1  { font-size: 2.2rem; }
  .hero p   { font-size: .95rem; }
  .hero-actions { flex-direction: column; max-width: 300px; }
  .hero-actions a { text-align: center; justify-content: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); transform: translateY(-20px); }
  .stat-item  { padding: 1.4rem .8rem; }

  .about-cards { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .brands-logo-grid { grid-template-columns: repeat(3, 1fr); }
  .locations-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid, .testimonials-grid-2 { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.6rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
  .hero { padding: 55px 0 90px; }
  .hero h1 { font-size: 1.9rem; }
  .hero-badge { font-size: .65rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item strong { font-size: 1.8rem; }
  .about-cards { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .brands-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 1.55rem; }
  .logo { font-size: 1rem; }
}
