/* ============================================================
   SR REPUESTOS - Hoja de estilos unificada
   Rediseño "Monocromo 21dev + azul sutil"
   Paleta: base slate/zinc + acento azul tech #2563eb
   WhatsApp verde real #25D366
   Tipografía: Space Grotesk (títulos) + Plus Jakarta Sans (texto)
   Iconos: Lucide (línea fina, stroke 1.6)
   ============================================================ */

/* ---------- base.css ---------- */
/* ==========================================================================
   BASE — Variables de tema, reset, tipografía, botones, títulos y reveal
   ========================================================================== */

/* ---------- VARIABLES: TEMA CLARO ---------- */
:root {
  --accent: #2563eb;
  --accent-strong: #1d4ed8;
  --accent-2: #06b6d4;
  --accent-blue: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.12);
  --grad-accent: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  --glow: rgba(59, 130, 246, 0.35);

  --whatsapp: #25D366;
  --whatsapp-strong: #128C7E;
  --whatsapp-grad: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  --whatsapp-glow: rgba(37, 211, 102, 0.30);

  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --surface-3: #e2e8f0;

  --text: #334155;
  --text-strong: #0f172a;
  --text-muted: #64748b;

  --border: rgba(15, 23, 42, 0.1);
  --border-strong: rgba(15, 23, 42, 0.18);

  --header-bg: rgba(9, 9, 11, 0.68);
  --header-text: #ffffff;
  --mobile-nav-bg: rgba(12, 12, 16, 0.97);

  --hero-grad-a: #0b1220;
  --hero-grad-b: #16264f;
  --hero-grid: rgba(255, 255, 255, 0.05);
  --hero-glow-a: rgba(59, 130, 246, 0.32);
  --hero-glow-b: rgba(6, 182, 212, 0.22);

  --dark-sec-bg: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --dark-sec-text: #e2e8f0;
  --dark-sec-card: rgba(255, 255, 255, 0.05);
  --dark-sec-border: rgba(255, 255, 255, 0.1);

  --footer-bg: #0a0a0c;
  --footer-text: #94a3b8;
  --footer-heading: #ffffff;

  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.07);
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 22px 55px rgba(15, 23, 42, 0.16);

  --toggle-bg: rgba(255, 255, 255, 0.1);
  --toggle-border: rgba(255, 255, 255, 0.18);

  --star-color: #fbbf24;

  --card-grad: linear-gradient(135deg, rgba(59, 130, 246, 0.5) 0%, rgba(6, 182, 212, 0.22) 45%, rgba(255, 255, 255, 0) 80%);

  /* Radios suaves — sin esquinas duras */
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 24px;

  /* Transición estándar del rediseño */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- VARIABLES: TEMA OSCURO ---------- */
[data-theme="dark"] {
  --accent: #3b82f6;
  --accent-strong: #2563eb;
  --accent-2: #22d3ee;
  --accent-blue: #60a5fa;
  --accent-soft: rgba(59, 130, 246, 0.16);
  --grad-accent: linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%);
  --glow: rgba(59, 130, 246, 0.4);

  --whatsapp: #25D366;
  --whatsapp-strong: #128C7E;
  --whatsapp-grad: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  --whatsapp-glow: rgba(37, 211, 102, 0.35);

  --bg: #09090b;
  --surface: #111114;
  --surface-2: #17171b;
  --surface-3: #1e1e24;

  --text: #e4e4e7;
  --text-strong: #fafafa;
  --text-muted: #a1a1aa;

  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --header-bg: rgba(9, 9, 11, 0.72);
  --header-text: #ffffff;
  --mobile-nav-bg: rgba(12, 12, 16, 0.97);

  --hero-grad-a: #05050a;
  --hero-grad-b: #0c1430;
  --hero-grid: rgba(255, 255, 255, 0.05);
  --hero-glow-a: rgba(59, 130, 246, 0.3);
  --hero-glow-b: rgba(34, 211, 238, 0.18);

  --dark-sec-bg: linear-gradient(135deg, #0a0a0e 0%, #12121a 100%);
  --dark-sec-text: #e4e4e7;
  --dark-sec-card: rgba(255, 255, 255, 0.04);
  --dark-sec-border: rgba(255, 255, 255, 0.09);

  --footer-bg: #060607;
  --footer-text: #9aa1ad;
  --footer-heading: #ffffff;

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 22px 55px rgba(0, 0, 0, 0.65);

  --toggle-bg: rgba(255, 255, 255, 0.08);
  --toggle-border: rgba(255, 255, 255, 0.14);

  --star-color: #fbbf24;

  --card-grad: linear-gradient(135deg, rgba(59, 130, 246, 0.5) 0%, rgba(34, 211, 238, 0.2) 45%, rgba(255, 255, 255, 0) 80%);
}

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

html {
  scroll-behavior: smooth;
}

/* Compensa la altura del navbar fijo al navegar por anclas */
section[id] {
  scroll-margin-top: 80px;
}

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text-strong);
}

/* Iconos Lucide: línea fina y elegante */
svg.lucide {
  stroke-width: 1.6;
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

/* SVG inline de WhatsApp (Lucide no incluye marcas) */
.wa-icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}

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

.text-gradient {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: var(--text-strong);
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 72px;
  height: 3px;
  background: var(--grad-accent);
  margin: 14px auto 0;
  border-radius: 999px;
  box-shadow: 0 0 14px var(--glow);
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-top: -2.2rem;
  margin-bottom: 2.6rem;
}

/* ---------- BOTONES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.2px;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 8px 28px var(--glow);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 55%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  animation: shimmer 3.5s ease-in-out infinite;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 38px var(--glow);
  filter: brightness(1.08);
}

@keyframes shimmer {
  0% { left: -150%; }
  55%, 100% { left: 150%; }
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  box-shadow: 0 10px 30px var(--glow);
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  width: 100%;
  text-align: center;
}

/* ---------- TAGS ---------- */
.tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.76rem;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid var(--accent-soft);
}

/* ---------- ANIMACIONES DE APARICIÓN (SCROLL REVEAL) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn-primary::after {
    animation: none;
    display: none;
  }

  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ---------- navbar.css ---------- */
/* ==========================================================================
   NAVBAR — Header sticky glassmorphism con logo, links, tema y hamburguesa
   ========================================================================== */

.navbar {
  background: var(--header-bg);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  color: var(--header-text);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  transition: background 0.3s var(--ease), transform 0.35s var(--ease);
}

.navbar.hidden {
  transform: translateY(-100%);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.logo img {
  height: 84px;
  width: auto;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.logo:hover img {
  transform: scale(1.06);
}

.logo span {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--header-text);
  transition: color 0.3s var(--ease);
  position: relative;
  opacity: 0.85;
}

.nav-links a:hover {
  opacity: 1;
  color: #fff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--glow);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: #fff;
  opacity: 1;
}

/* ---------- Toggle de tema (sol/luna según data-theme) ---------- */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--toggle-bg);
  border: 1px solid var(--toggle-border);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.theme-toggle svg.lucide {
  width: 20px;
  height: 20px;
}

.theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

.theme-toggle:hover {
  background: var(--grad-accent);
  border-color: transparent;
  color: #fff;
  transform: rotate(18deg) scale(1.08);
  box-shadow: 0 6px 22px var(--glow);
}

/* ---------- Hamburger ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s var(--ease);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .nav-links {
    gap: 16px;
  }
}

@media (max-width: 820px) {
  .hamburger {
    display: flex;
  }

  .header-right {
    gap: 12px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    padding: 22px;
    gap: 16px;
    background: var(--mobile-nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  }

  .nav-links.open {
    display: flex;
  }

  .logo {
    font-size: 1.15rem;
  }

  .logo img {
    height: 56px;
  }
}

/* ---------- hero-section.css ---------- */
/* ==========================================================================
   HERO SECTION — Portada con badge, titular, CTA, fondo con glow y rejilla
   ========================================================================== */

.hero-section {
  background: linear-gradient(165deg, var(--hero-grad-a) 0%, var(--hero-grad-b) 100%);
  color: #fff;
  padding: 140px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -35%;
  right: -15%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, var(--hero-glow-a) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: heroPulse 6s ease-in-out infinite;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -45%;
  left: -12%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--hero-glow-b) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: heroPulse 8s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes heroPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(var(--hero-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 72%);
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

[data-theme="light"] .hero-badge {
  color: rgba(226, 232, 240, 0.85);
}

.hero-badge svg.lucide {
  color: var(--accent);
  filter: drop-shadow(0 0 6px var(--glow));
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 22px;
  line-height: 1.12;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.hero-section h1 span {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 12px var(--glow));
}

.hero-section p {
  font-size: 1.2rem;
  max-width: 620px;
  margin: 0 auto 34px;
  color: #94a3b8;
}

.hero-section .btn {
  margin: 5px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  z-index: 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .hero-section {
    padding: 100px 0 70px;
  }

  .hero-section h1 {
    font-size: 2.2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 7px 14px;
  }
}

@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 1.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-section::before,
  .hero-section::after {
    animation: none;
  }
}

/* ---------- brands-section.css ---------- */
/* ==========================================================================
   BRANDS SECTION — Marquesina infinita de marcas atendidas
   ========================================================================== */

.brands-section {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  overflow: hidden;
}

.brands-title {
  text-align: center;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.brands-track {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.brands-list {
  display: flex;
  align-items: center;
  gap: 55px;
  padding-right: 55px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.brands-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}

.brands-list span:hover {
  color: var(--text-strong);
}

.brands-list span svg.lucide {
  width: 20px;
  height: 20px;
  opacity: 0.75;
  color: var(--accent);
}

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 480px) {
  .brands-list {
    gap: 35px;
    padding-right: 35px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brands-list {
    animation: none;
  }
}

/* ---------- services-section.css ---------- */
/* ==========================================================================
   SERVICES SECTION — Grid de tarjetas redondeadas con hover glow
   ========================================================================== */

.services-section {
  padding: 90px 0;
  background: var(--surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  position: relative;
  background: var(--surface-2);
  padding: 38px 26px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s var(--ease);
  border: 1px solid var(--border);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
  z-index: 2;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--card-grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow), 0 12px 36px -10px var(--glow);
}

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

.service-card:hover::after {
  opacity: 1;
}

.service-img {
  display: block;
  width: calc(100% + 52px);
  max-width: none;
  height: 240px;
  margin: -38px -26px 20px;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.service-card:hover .service-img {
  transform: scale(1.06);
}

.service-card:nth-child(8) .service-img {
  transform: scale(1.15);
}

.service-card:nth-child(9) .service-img,
.service-card:nth-child(10) .service-img {
  object-position: center 30%;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-strong);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .service-img {
    height: 200px;
  }
}

/* ---------- about-section.css ---------- */
/* ==========================================================================
   ABOUT SECTION — Imagen del taller + texto + estadísticas animadas
   ========================================================================== */

.about-section {
  padding: 90px 0;
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--surface-3);
  min-height: 380px;
  border: 1px solid var(--border);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--accent-soft) 0%, transparent 60%);
  pointer-events: none;
}

.about-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h2 {
  font-size: 2.1rem;
  color: var(--text-strong);
  margin-bottom: 20px;
}

.about-content h2 span {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.about-content p {
  margin-bottom: 15px;
  color: var(--text-muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
  padding: 22px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease);
}

.stat-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm), 0 8px 24px -8px var(--glow);
}

.stat-item h3 {
  font-size: 2.1rem;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 700;
  filter: drop-shadow(0 0 12px var(--glow));
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-image {
    min-height: 260px;
  }

  .stats {
    grid-template-columns: 1fr;
  }
}

/* ---------- process-section.css ---------- */
/* ==========================================================================
   PROCESS SECTION — Los 4 pasos con tarjetas súper redondeadas,
   iconos Lucide de línea fina en cápsulas con glow cian
   ========================================================================== */

.process-section {
  padding: 90px 0;
  background: var(--surface);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  padding-top: 26px;
}

.process-step {
  position: relative;
  text-align: center;
  padding: 52px 24px 34px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow), 0 16px 44px -12px var(--glow);
}

.step-num {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-accent);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px var(--glow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover .step-num {
  transform: translateX(-50%) scale(1.08);
  box-shadow: 0 8px 30px var(--glow);
}

/* Cápsula contenedora del icono lineal */
.step-icon {
  width: 64px;
  height: 64px;
  margin: 6px auto 18px;
  border-radius: 18px;
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-icon svg.lucide {
  width: 30px;
  height: 30px;
  color: var(--accent);
  filter: drop-shadow(0 0 8px var(--glow));
}

.process-step:hover .step-icon {
  background: var(--accent-soft);
  border-color: var(--border-strong);
  box-shadow: 0 0 24px -4px var(--glow), inset 0 0 12px var(--accent-soft);
  transform: scale(1.05);
}

.process-step h3 {
  color: var(--text-strong);
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- gallery-section.css ---------- */
/* ==========================================================================
   GALLERY SECTION — Tarjetas con slider interactivo antes/después
   ========================================================================== */

.gallery-section {
  padding: 90px 0;
  background: var(--bg);
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.ba-card {
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ba-card:hover {
  transform: translateY(-7px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg), 0 14px 40px -12px var(--glow);
}

.ba-slider {
  position: relative;
  height: 300px;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.ba-img,
.ba-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ba-img img {
  object-fit: cover;
  pointer-events: none;
}

/* El lado "antes" se recorta desde la izquierda hasta la posición --ba */
.ba-before {
  clip-path: inset(0 calc(100% - var(--ba, 50%)) 0 0);
}

.ba-before img {
  filter: grayscale(0.95) brightness(0.5) contrast(0.95);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba, 50%);
  width: 46px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-handle::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
}

.ba-handle svg.lucide {
  position: relative;
  width: 20px;
  height: 20px;
  padding: 10px;
  box-sizing: content-box;
  border-radius: 50%;
  background: var(--grad-accent);
  color: #fff;
  stroke-width: 2;
  box-shadow: 0 4px 18px var(--glow);
}

.ba-label {
  position: absolute;
  z-index: 6;
  top: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 999px;
  pointer-events: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ba-label-before {
  left: 12px;
  background: rgba(11, 15, 25, 0.72);
  color: #fff;
}

.ba-label-after {
  right: 12px;
  background: var(--grad-accent);
  color: #fff;
}

.ba-info {
  padding: 24px 24px 26px;
}

.ba-info h3 {
  color: var(--text-strong);
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.ba-info p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 14px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 480px) {
  .ba-slider {
    height: 240px;
  }
}

/* ---------- testimonials-section.css ---------- */
/* ==========================================================================
   TESTIMONIALS SECTION — Reseñas sobre fondo medianoche con glassmorphism
   ========================================================================== */

.testimonials-section {
  padding: 90px 0;
  background: var(--dark-sec-bg);
  color: var(--dark-sec-text);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--hero-glow-a) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.testimonials-section .section-title {
  color: var(--dark-sec-text);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
}

.testimonial-card {
  background: var(--dark-sec-card);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--dark-sec-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.4), 0 0 30px -8px var(--glow);
}

.testimonial-card .quote-icon {
  color: var(--accent);
  width: 28px;
  height: 28px;
  margin-bottom: 15px;
  opacity: 0.9;
  filter: drop-shadow(0 0 8px var(--glow));
}

.stars {
  color: var(--star-color);
  font-size: 0.9rem;
  margin-bottom: 14px;
  display: flex;
  gap: 4px;
}

.stars svg.lucide {
  width: 17px;
  height: 17px;
  fill: currentColor;
  filter: drop-shadow(0 0 5px var(--glow));
}

.testimonial-card > p {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--dark-sec-text);
  opacity: 0.92;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--grad-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: 0 6px 18px var(--glow);
}

.client-name {
  font-weight: 600;
  color: var(--dark-sec-text);
}

.client-car {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- cta-section.css ---------- */
/* ==========================================================================
   CTA SECTION — Banda oscura con aro de gradiente cian y glow
   ========================================================================== */

.cta-section {
  padding: 90px 0;
  background: radial-gradient(ellipse 70% 120% at 50% 130%, var(--accent-soft) 0%, transparent 65%),
    linear-gradient(165deg, #0b0f19 0%, #101a30 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: 2.3rem;
  margin-bottom: 15px;
  color: #fff;
  font-weight: 700;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  color: #94a3b8;
}

.cta-section .btn-secondary {
  border-color: var(--border-strong);
  background: var(--accent-soft);
  color: #fff;
}

.cta-section .btn-secondary:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 12px 34px var(--glow);
}

.cta-section .container {
  position: relative;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .cta-section h2 {
    font-size: 1.7rem;
  }
}

/* ---------- contact-section.css ---------- */
/* ==========================================================================
   CONTACT SECTION — Info de contacto, horarios, formulario WhatsApp y mapa
   ========================================================================== */

.contact-section {
  padding: 90px 0;
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

/* ---------- Columna de información ---------- */
.contact-info h2 {
  font-size: 2rem;
  color: var(--text-strong);
  margin-bottom: 20px;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-detail {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 18px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-detail:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm), 0 8px 26px -8px var(--glow);
  transform: translateX(4px);
}

.contact-detail svg.lucide {
  width: 22px;
  height: 22px;
  color: var(--accent);
  min-width: 24px;
  margin-top: 3px;
  filter: drop-shadow(0 0 6px var(--glow));
}

.contact-detail h4 {
  color: var(--text-strong);
  margin-bottom: 5px;
}

.contact-detail p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-detail-highlight {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.contact-detail-highlight h4 {
  color: var(--accent);
}

.contact-detail-highlight p {
  color: var(--text-muted);
}

.contact-hours {
  background: var(--surface-2);
  padding: 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.contact-hours h3 {
  color: var(--text-strong);
  margin-bottom: 15px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row span:last-child {
  color: var(--accent);
  font-weight: 600;
}

/* ---------- Formulario ---------- */
.contact-form {
  background: var(--surface-2);
  padding: 42px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
}

.contact-form h2 {
  font-size: 1.5rem;
  color: var(--text-strong);
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: var(--text-strong);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft), 0 0 18px -4px var(--glow);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* ---------- Mapa ---------- */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface-3);
  border: 1px solid var(--border);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .contact-form {
    padding: 26px;
  }

  .map-container {
    height: 300px;
  }
}

/* ---------- footer.css ---------- */
/* =========================================================
   FOOTER — Pie de página azul profundo con columnas y redes
   ========================================================= */

.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 0 22px;
  position: relative;
  transition: background 0.3s var(--ease);
}

.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong) 30%, var(--border) 70%, transparent);
  opacity: 0.55;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 34px;
}

.footer-logo {
  width: 140px;
  height: auto;
  margin-bottom: 12px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.footer-col h4 {
  color: var(--footer-heading);
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: var(--grad-accent);
  margin-top: 9px;
  border-radius: 999px;
  box-shadow: 0 0 10px var(--glow);
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--footer-text);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--footer-text);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--footer-text);
}

.footer-contact svg.lucide {
  color: var(--accent);
  width: 17px;
  height: 17px;
  margin-top: 4px;
  min-width: 17px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 18px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--footer-text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

.social-links a:hover {
  background: var(--grad-accent);
  border-color: transparent;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--glow);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 0.85rem;
  color: var(--footer-text);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- floating.css ---------- */
/* ==========================================================================
   FLOATING — Botón flotante de WhatsApp (verde real) y botón volver arriba
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp-grad);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 26px var(--whatsapp-glow), 0 0 0 1px rgba(37, 211, 102, 0.25);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float .wa-icon {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 34px var(--whatsapp-glow), 0 0 0 1px rgba(37, 211, 102, 0.4);
  color: #ffffff;
}

.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 45px;
  height: 45px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35), 0 0 16px -4px var(--glow);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-4px);
  background: var(--accent-soft);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 24px -4px var(--glow);
}
