/* ========================================
   PP COLLISION - Landing Page Styles
   Premium Auto Body Shop Design
   ======================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  --red: #a5120b;
  --red-dark: #8a0f09;
  --red-light: #c41a12;
  --navy: #0f2d49;
  --navy-dark: #091e32;
  --navy-light: #153d63;
  --orange: #fc9103;
  --orange-dark: #e07e00;
  --orange-light: #ffab33;
  --light: #ebebeb;
  --light-dim: #d4d4d4;
  --white: #ffffff;
  --black: #000000;
  --dark-bg: #0a0a0a;
  --light-bg: #f6f6f6;
  --card-bg: #111111;
  --card-bg-hover: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #303030;
  --glass-bg: rgba(15, 45, 73, 0.25);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow-red: 0 0 30px rgba(165, 18, 11, 0.3);
  --shadow-glow-orange: 0 0 30px rgba(252, 145, 3, 0.3);
  --shadow-black: 0px 0px 6px 0px rgba(0, 0, 0, 0.26);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --font-primary: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background-color: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--black);
}

.section-title .accent {
  color: var(--red);
}

.section-title .accent-orange {
  color: var(--orange);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 1280px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Header / Navbar ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.97);
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo__imagen {
  padding: 5px;
  width: 12rem;
}

.logo-tagline {
  display: block;
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--light);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width var(--transition-base);
}

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

.nav-links a:hover {
  color: var(--white);
}

.nav-links a.active {
  color: var(--red);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

.nav-phone svg {
  width: 30px;
  height: 30px;
}

.nav-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--red);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  border: 2px solid var(--red);
}

.btn-cta:hover {
  background: transparent;
  color: var(--red);
  transform: translateY(-2px);
}

.btn-cta-orange {
  background: var(--orange);
  border-color: var(--orange);
}

.btn-cta-orange:hover {
  background: transparent;
  color: var(--orange);
  box-shadow: var(--shadow-glow-orange);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-base);
  border-radius: 2px;
}

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

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

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

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--light);
  transition: color var(--transition-fast);
}

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

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 140px;
  /* Space for absolute stats bar */
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  max-width: 650px;
  animation: fadeInLeft 1s ease forwards;
}

.hero-subtitle {
  color: var(--red);
  font-weight: 600;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(165, 18, 11, 0.15);
  border: 1px solid rgba(165, 18, 11, 0.4);
  border-radius: var(--radius-xl);
  color: var(--red-light);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

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

.hero h1 .hero-accent-orange {
  color: var(--orange);
  display: inline;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: transparent;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.btn-outline svg {
  width: 18px;
  height: 18px;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  margin: 0;
  background: transparent;
  border-top: none;
}

.stats-bar .container {
  background: #050505;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  padding: 32px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: none;
  box-shadow: none;
}

.stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  animation: countUp 0.8s ease forwards;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  flex-shrink: 0;
}

.stat-icon svg {
  width: 45px;
  height: 45px;
  fill: var(--red);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ---------- Services Section ---------- */
.services {
  background: var(--light-bg);
}

.services-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.services-split--reverse {
  direction: rtl;
}

.services-split--reverse>* {
  direction: ltr;
}


.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition-base);
  border-radius: var(--radius-sm);
}

.service-list-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.service-list-item:hover {
  background: rgba(165, 18, 11, 0.04);
  padding-left: 24px;
  color: var(--orange);
}

.service-list-item--express {
  color: var(--orange);
  font-weight: 700;
}

.service-list-item--express:hover {
  color: var(--orange);
  background: rgba(252, 145, 3, 0.06);
}

.service-list-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(165, 18, 11, 0.08);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.service-list-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--red);
}

.service-list-icon--orange {
  background: rgba(252, 145, 3, 0.1);
}

.service-list-icon--orange svg {
  fill: var(--orange);
}

/* Express badge */
.express-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-xl);
  margin-left: auto;
}

.services-image-col {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-black);
}

.services-image-col-2 {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-black);
}

.services-image-col-2 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.services-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 5;
}

/* ---------- Mecánica Rápida ---------- */
.mecanica {
  margin-top: -100px;
  background: var(--light-bg);
}

.mecanica .services-split {
  align-items: stretch;
}


/* ---------- Why Choose Us ---------- */
.why-us {
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-us-content {
  order: 1;
}

.why-us-content h2 {
  color: var(--white);
}

.why-us-content p {
  color: var(--text-secondary);
}

.why-us-image {
  order: 2;
  position: relative;
}

.why-us-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.why-us-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 60%;
  border: 3px solid var(--red);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.3;
}

.why-us-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(165, 18, 11, 0.12);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--red);
}

.feature-item h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--white);
}

.feature-item p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.mision-vision-card {
  background: var(--card-bg);
  padding: 40px 55px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), border-color var(--transition-base);
  margin-top: 80px;
}

.mision-vision-card:hover {
  transform: translateY(-5px);
  border-color: rgba(165, 18, 11, 0.3);
}

.mision-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.card-header-icon {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.card-header-icon h3 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.mision-content p,
.vision-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
  text-align: justify;
}

/* ---------- Gallery ---------- */
.gallery {
  background: var(--light-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1/1;
  border: 1px solid var(--glass-border);
  transition: all var(--transition-base);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-glow-red);
  border-color: rgba(165, 18, 11, 0.4);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-overlay svg {
  width: 18px;
  height: 18px;
  fill: var(--orange);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: opacity;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 30px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  z-index: 10001;
}

.lightbox-close:hover {
  background: var(--red);
  border-color: var(--red);
  transform: rotate(90deg);
}

.lightbox-img {
  max-width: 85vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  will-change: transform, opacity;
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.lightbox.open .lightbox-img {
  transform: scale(1);
  opacity: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-nav:hover {
  background: var(--red);
  border-color: var(--red);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}

.testimonials h2 {
  color: var(--white);
}

.testimonials p {
  color: var(--text-secondary);
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 30% 50%, rgba(165, 18, 11, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: rgba(97, 16, 16, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(252, 3, 3, 0.2);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--orange);
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #e0e0e0;
  /* fallback color */
  flex-shrink: 0;
}

.testimonial-author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
}

.testimonial-author-role {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ---------- Contact / Locations ---------- */
.contact {
  background: var(--light-bg);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.location-card {
  background: var(--white);
  border: 1px solid var(--glass-border);
  padding: 36px;
  transition: all var(--transition-base);
}

.location-card:hover {
  border-color: rgba(252, 3, 3, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.location-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--black);
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.location-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.location-info-item svg {
  width: 20px;
  height: 20px;
  fill: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

.location-info-item span {
  font-size: 0.9rem;
  color: var(--black);
  line-height: 1.5;
}

.location-info-item a {
  color: var(--red);
}

.location-info-item a:hover {
  color: var(--red-light);
  text-decoration: underline;
}

.location-map {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid var(--glass-border);
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  transition: filter var(--transition-base);
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--navy-dark);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 60% 40%, rgba(252, 145, 3, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 14px;
  position: relative;
}

.cta-section p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-section span {
  color: var(--orange);
}

.cta-section .btn-cta {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
  font-size: 0.9rem;
  padding: 16px 40px;
  position: relative;
}

.cta-section .btn-cta:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

/* ---------- Footer ---------- */
.footer {
  background: #060606;
  padding: 60px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-3px);
}

.footer-socials svg {
  width: 16px;
  height: 16px;
  fill: var(--white);
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-links a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 5px 0;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
  color: var(--orange);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links a:hover {
  color: var(--orange);
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all var(--transition-base);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablets & Small Desktops */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mecanica-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5) {
    grid-column: span 1;
  }

  .stats-bar .container {
    grid-template-columns: repeat(2, 1fr);
    padding: 32px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {

  .nav-links,
  .nav-right {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .hero {
    padding-bottom: 120px;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-us-image {
    order: 1;
  }

  .why-us-content {
    order: 2;
  }

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

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

  .mision-vision-card {
    margin-top: 50px;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }

  .hero {
    min-height: 100svh;
    padding-bottom: 100px;
  }

  .hero-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.8) 100%);
  }

  .hero .container {
    justify-content: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-description {
    max-width: 100%;
  }

  .services-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-split--reverse {
    direction: ltr;
  }

  .services-image-col,
  .services-image-col-2 {
    order: -1;
  }

  .services-image-col img,
  .services-image-col-2 img {
    position: relative;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .stats-bar {
    position: relative;
    margin-top: -60px;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .hero-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  .why-us-features {
    grid-template-columns: 1fr;
  }

  .mision-vision-card {
    padding: 30px 24px;
    margin-top: 40px;
  }

  .mision-vision-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .cta-section {
    padding: 60px 0;
  }

  .cta-section h2 {
    font-size: clamp(1.3rem, 4vw, 2rem);
  }

  .location-map {
    height: 200px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }

  .header .container {
    height: 60px;
  }

  .hero {
    padding-top: 60px;
    padding-bottom: 90px;
  }

  .hero-bg img {
    object-position: center center;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 0.8rem;
    margin-bottom: 8px;
  }

  .hero-description {
    font-size: 0.92rem;
    margin-bottom: 28px;
  }

  .btn-cta {
    padding: 11px 24px;
    font-size: 0.8rem;
  }

  .btn-outline {
    padding: 11px 24px;
    font-size: 0.8rem;
  }

  .stats-bar .container {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 24px 20px;
    border-radius: var(--radius-md);
  }

  .stat-icon {
    width: 36px;
    height: 36px;
  }

  .stat-icon svg {
    width: 32px;
    height: 32px;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

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

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.92rem;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .logo__imagen {
    width: 9rem;
  }

  .logo-tagline {
    font-size: 0.45rem;
    letter-spacing: 2px;
  }

  .service-list-item {
    font-size: 0.88rem;
    padding: 12px 16px;
  }

  .feature-item {
    gap: 10px;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
  }

  .feature-icon svg {
    width: 18px;
    height: 18px;
  }

  .card-header-icon h3 {
    font-size: 1.25rem;
  }

  .mision-content p,
  .vision-content p {
    font-size: 0.88rem;
  }

  .location-card h3 {
    font-size: 1.3rem;
  }

  .cta-section .btn-cta {
    padding: 14px 32px;
    font-size: 0.85rem;
  }

  .lightbox-img {
    max-width: 95vw;
    max-height: 70vh;
  }

  .lightbox-nav {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .hero-description {
    font-size: 0.85rem;
  }

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

  .stats-bar .container {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 16px;
  }

  .stat-item {
    gap: 12px;
    justify-content: flex-start;
  }

  .logo__imagen {
    width: 7.5rem;
  }

  .mision-vision-card {
    padding: 24px 16px;
  }

  .mision-vision-grid {
    gap: 28px;
  }

  .cta-section {
    padding: 50px 0;
  }

  .footer-brand p {
    max-width: 100%;
  }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--navy);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--red);
}

/* ---------- Selection ---------- */
::selection {
  background: var(--red);
  color: var(--white);
}