/* ============================================================
   RAPCO — Landing Page Styles  |  Grayscale Edition
   Rafael Pinto y Compañía, S.A. | Grupo Automotriz Prolusa
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700;800;900&family=Barlow+Condensed:wght@400;600;700;800&family=Open+Sans:wght@300;400;600&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Brand accent */
  --orange:        #F56200;
  --orange-dark:   #C44C00;
  --orange-light:  #FF8C42;
  --orange-pale:   rgba(245, 98, 0, 0.10);
  --orange-border: rgba(245, 98, 0, 0.22);

  /* Grayscale */
  --white:         #ffffff;
  --gray-50:       #f8f8f8;
  --gray-100:      #f2f2f2;
  --gray-200:      #e5e5e5;
  --gray-300:      #d0d0d0;
  --gray-400:      #b0b0b0;
  --gray-500:      #888888;
  --gray-600:      #555555;
  --gray-700:      #333333;
  --gray-800:      #1e1e1e;
  --gray-900:      #111111;
  --black:         #0a0a0a;

  /* Section backgrounds — alternating */
  --section-light:  var(--gray-50);
  --section-white:  var(--white);
  --section-mid:    var(--gray-100);
  --section-dark:   var(--gray-800);
  --section-darker: var(--gray-900);

  /* Cards on light backgrounds */
  --card-light:     var(--white);
  --card-light-2:   var(--gray-100);

  /* Cards on dark backgrounds */
  --card-dark:      rgba(255,255,255,0.06);
  --card-dark-2:    rgba(255,255,255,0.10);

  /* Typography */
  --font-head:     'Barlow', sans-serif;
  --font-cond:     'Barlow Condensed', sans-serif;
  --font-body:     'Open Sans', sans-serif;

  /* Effects */
  --transition:    all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm:     0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:     0 6px 28px rgba(0,0,0,0.12);
  --shadow-lg:     0 12px 50px rgba(0,0,0,0.16);
  --shadow-orange: 0 8px 28px rgba(245, 98, 0, 0.30);
  --radius:        10px;
  --radius-lg:     18px;
  --section-pad:   110px 0;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--white);
  color: var(--gray-700);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Utility ---------- */
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
}

/* Section tag — same style, works on both light & dark */
.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-pale);
  border: 1px solid var(--orange-border);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}

/* Section titles — light context (dark text) */
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--gray-900);
  margin-bottom: 20px;
}
.section-title span { color: var(--orange); }

/* Section title — condensed variant */
.section-title-cond {
  font-family: var(--font-cond);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 20px;
}
.section-title-cond span { color: var(--orange); }

/* White variant for dark sections */
.section-title.on-dark,
.section-title-cond.on-dark { color: var(--white); }

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 640px;
  line-height: 1.8;
}
.section-sub.on-dark { color: var(--gray-400); }

.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-radius: 2px;
  margin-bottom: 30px;
}
.divider.center { margin: 0 auto 30px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 4px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.45);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.10);
  transform: translateY(-2px);
}

/* Dark outline — for use on light backgrounds */
.btn-outline-dark {
  background: transparent;
  color: var(--gray-800);
  border: 2px solid var(--gray-300);
}
.btn-outline-dark:hover {
  border-color: var(--gray-700);
  background: var(--gray-100);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange-border);
  padding: 12px 28px;
}
.btn-ghost:hover {
  background: var(--orange-pale);
  border-color: var(--orange);
}

/* ---------- NAVIGATION ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
}

/* On hero (dark): transparent */
#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.09);
  border-bottom: 1px solid var(--gray-200);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 5%;
}

.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  /* inverted for dark hero, normal after scroll */
  filter: brightness(0) invert(1);
  transition: filter 0.35s ease;
}

#navbar.scrolled .nav-logo img {
  filter: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu li a {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: 4px;
  transition: var(--transition);
  position: relative;
}

#navbar.scrolled .nav-menu li a {
  color: var(--gray-600);
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-menu li a:hover { color: var(--white); }
#navbar.scrolled .nav-menu li a:hover { color: var(--gray-900); }
.nav-menu li a:hover::after,
.nav-menu li a.active::after { transform: scaleX(1); }
.nav-menu li a.active { color: var(--orange) !important; }

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
}
.nav-cta:hover { background: var(--orange-dark) !important; }
.nav-cta::after { display: none !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
#navbar.scrolled .nav-hamburger span { background: var(--gray-800); }

/* ---------- HERO — DARK ---------- */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--black);
  background-image: url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?w=1920&q=80&fit=crop&crop=center');
  background-size: cover;
  background-position: center;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(245,98,0,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(0,0,0,0.3) 0%, transparent 50%);
}

.hero-video-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-video-wrap video { width: 100%; height: 100%; object-fit: cover; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.86) 0%,
    rgba(0,0,0,0.60) 55%,
    rgba(0,0,0,0.75) 100%
  );
  z-index: 1;
}

.hero-stripe {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-light) 40%, transparent 100%);
  z-index: 2;
}

.hero-lines {
  position: absolute;
  right: 0; top: 0;
  height: 100%; width: 40%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero-lines::before,
.hero-lines::after {
  content: '';
  position: absolute;
  top: -10%;
  height: 120%;
  border-left: 1px solid rgba(245,98,0,0.12);
}
.hero-lines::before { right: 30%; transform: rotate(12deg); transform-origin: top right; }
.hero-lines::after  { right: 20%; transform: rotate(12deg); transform-origin: top right; border-color: rgba(245,98,0,0.06); }

.hero-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 80px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}
.hero-eyebrow::before {
  content: '';
  width: 40px; height: 2px;
  background: var(--orange);
  display: block; flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-cond);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1.0;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.5s forwards;
}
.hero-title .highlight { color: var(--orange); display: block; }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.9s forwards;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
  opacity: 0;
  animation: fadeUp 0.9s ease 1.1s forwards;
  flex-wrap: wrap;
}

.hero-stat-item { display: flex; flex-direction: column; }

.hero-stat-num {
  font-family: var(--font-cond);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.hero-stat-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}

.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
}
.hero-scroll span {
  font-family: var(--font-head);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ---------- QUIÉNES SOMOS — LIGHT ---------- */
#quienes {
  padding: var(--section-pad);
  background: var(--white);
  position: relative;
}

#quienes::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light), transparent);
}

.quienes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.quienes-left .section-sub { margin-bottom: 36px; }

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.stat-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  opacity: 0;
  transition: opacity 0.3s;
}
.stat-box:hover {
  border-color: var(--orange-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.stat-box:hover::before { opacity: 1; }

.stat-number {
  font-family: var(--font-cond);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
}

/* Valores chips — light context */
.valores-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

.valor-chip {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 7px 16px;
  border-radius: 100px;
  transition: var(--transition);
}
.valor-chip:hover {
  background: var(--orange-pale);
  border-color: var(--orange-border);
  color: var(--orange-dark);
}

/* Right side cards — light */
.quienes-right { display: flex; flex-direction: column; gap: 18px; }

.info-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.info-card:hover {
  border-left-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.info-card-icon { font-size: 1.8rem; margin-bottom: 12px; }
.info-card h4 {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.info-card p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.65; }

.ubicacion-block {
  background: var(--gray-900);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 4px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ubicacion-icon { font-size: 1.4rem; margin-top: 2px; flex-shrink: 0; }
.ubicacion-block h5 {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}
.ubicacion-block p { font-size: 0.88rem; color: var(--gray-400); line-height: 1.6; margin-top: 4px; }

/* ---------- MARCAS — LIGHT GRAY ---------- */
#marcas {
  padding: var(--section-pad);
  background: var(--gray-100);
  position: relative;
}

.marcas-header { text-align: center; margin-bottom: 70px; }
.marcas-header .section-sub { margin: 0 auto; text-align: center; }

/* Ticker */
.brands-ticker {
  overflow: hidden;
  position: relative;
  margin-bottom: 50px;
  padding: 20px 0;
}
.brands-ticker::before,
.brands-ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.brands-ticker::before { left: 0; background: linear-gradient(to right, var(--gray-100), transparent); }
.brands-ticker::after  { right: 0; background: linear-gradient(to left, var(--gray-100), transparent); }

.brands-track {
  display: flex;
  gap: 40px;
  align-items: center;
  width: max-content;
  animation: ticker 32s linear infinite;
}
.brands-track:hover { animation-play-state: paused; }

.brand-logo-item {
  flex-shrink: 0;
  width: 150px; height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 14px 22px;
  transition: var(--transition);
  filter: grayscale(30%);
  box-shadow: var(--shadow-sm);
}
.brand-logo-item:hover {
  filter: grayscale(0%);
  border-color: var(--orange-border);
  box-shadow: var(--shadow-md);
  transform: scale(1.05);
}
.brand-logo-item img { max-width: 100%; max-height: 100%; object-fit: contain; }

.brands-group-label {
  text-align: center;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 16px;
}

/* Categorías grid — light */
.categorias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.categoria-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.categoria-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  opacity: 0;
  transition: opacity 0.3s;
}
.categoria-card:hover {
  border-color: var(--orange-border);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.categoria-card:hover::after { opacity: 1; }
.categoria-icon { font-size: 2rem; margin-bottom: 14px; }
.categoria-card h4 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-800);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.categoria-card p { font-size: 0.82rem; color: var(--gray-500); line-height: 1.55; }

/* ---------- RED DE DISTRIBUCIÓN — DARK ---------- */
#distribucion {
  padding: var(--section-pad);
  background-color: var(--gray-900);
  background-image:
    linear-gradient(rgba(10,10,10,0.93), rgba(10,10,10,0.93)),
    url('https://images.unsplash.com/photo-1553413077-190dd305871c?w=1920&q=80&fit=crop&crop=center');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.distribucion-header { text-align: center; margin-bottom: 70px; }
.distribucion-header .section-sub { margin: 0 auto; color: var(--gray-400); }
.distribucion-header .section-title { color: var(--white); }

.distribucion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dist-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  backdrop-filter: blur(4px);
}
.dist-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.dist-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  border-color: rgba(245,98,0,0.25);
}
.dist-card:hover::before { opacity: 1; }

.dist-card-icon-wrap {
  background: rgba(255,255,255,0.04);
  padding: 40px 28px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.dist-card-icon { font-size: 3.5rem; }

.dist-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.dist-card-body h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.dist-card-body .dist-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-pale);
  border: 1px solid var(--orange-border);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.dist-card-body p { font-size: 0.9rem; color: var(--gray-400); line-height: 1.7; margin-bottom: 24px; flex: 1; }

.dist-features { display: flex; flex-direction: column; gap: 8px; }
.dist-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-400);
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.dist-feature:hover {
  color: var(--orange);
  border-color: var(--orange-border);
  background: var(--orange-pale);
}
.dist-feature .feat-dot {
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- INTERSTATE — LIGHT ---------- */
#interstate {
  padding: var(--section-pad);
  background: var(--white);
  position: relative;
}

#interstate::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--orange), var(--orange-light), transparent);
}

.interstate-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.interstate-visual {
  background-color: var(--gray-900);
  background-image:
    linear-gradient(rgba(10,10,10,0.82), rgba(10,10,10,0.82)),
    url('https://images.unsplash.com/photo-1611921561005-47c3a47abcab?w=800&q=80&fit=crop&crop=center');
  background-size: cover;
  background-position: center;
  border: none;
  border-radius: var(--radius-lg);
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.interstate-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(245,98,0,0.10) 0%, transparent 70%);
}
.interstate-visual img {
  max-width: 75%;
  max-height: 180px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.interstate-badge-float {
  position: absolute;
  bottom: 24px; right: 24px;
  background: var(--orange);
  border-radius: 8px;
  padding: 12px 18px;
  z-index: 2;
}
.interstate-badge-float p {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
}
.interstate-badge-float span { font-size: 0.7rem; color: rgba(255,255,255,0.75); }

.interstate-right .section-sub { margin-bottom: 36px; }

.interstate-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}

.interstate-feat {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}
.interstate-feat:hover {
  border-color: var(--orange-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.interstate-feat .feat-icon { font-size: 1.8rem; margin-bottom: 8px; }
.interstate-feat h5 {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-800);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.interstate-feat p { font-size: 0.82rem; color: var(--gray-500); margin-top: 5px; }

.interstate-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- CONTACTO — LIGHT GRAY ---------- */
#contacto {
  padding: var(--section-pad);
  background: var(--gray-50);
  position: relative;
}

.contacto-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contacto-left .section-sub { margin-bottom: 40px; }

.contact-cards { display: flex; flex-direction: column; gap: 12px; }

.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.contact-card:hover {
  border-color: var(--orange-border);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 42px; height: 42px;
  background: var(--orange-pale);
  border: 1px solid var(--orange-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-info h5 {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 3px;
}
.contact-card-info p,
.contact-card-info a {
  font-size: 0.95rem;
  color: var(--gray-700);
  display: block;
  line-height: 1.5;
  transition: color 0.2s;
}
.contact-card-info a:hover { color: var(--orange); }

.contacto-right { display: flex; flex-direction: column; gap: 24px; }

.map-placeholder {
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow-md);
}
.map-placeholder iframe {
  width: 100%; height: 100%;
  border: none;
  filter: grayscale(40%);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.contact-form h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }

.form-group label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 5px;
  padding: 13px 16px;
  color: var(--gray-800);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245,98,0,0.10);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
.form-group select option { background: var(--white); color: var(--gray-800); }

/* ---------- FOOTER — DARK ---------- */
footer {
  background: var(--gray-900);
  border-top: 3px solid var(--orange);
  padding: 60px 0 30px;
}

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

.footer-brand img {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.footer-brand p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.7; max-width: 260px; margin-bottom: 20px; }

.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-2px);
}

.footer-col h5 {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(245,98,0,0.25);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--gray-500);
  transition: color 0.2s;
  display: flex; align-items: center; gap: 6px;
}
.footer-col ul li a:hover { color: var(--orange); }
.footer-col ul li a::before { content: '›'; color: var(--orange); font-size: 1rem; line-height: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--gray-500); }
.footer-bottom p a { color: var(--orange); transition: color 0.2s; }
.footer-bottom p a:hover { color: var(--orange-light); }

.footer-badges { display: flex; gap: 8px; }
.footer-badge {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 5px 12px;
  border-radius: 100px;
}

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 900;
  display: flex; align-items: center; gap: 12px;
}
.whatsapp-btn {
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}
.whatsapp-btn::before {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  background: rgba(37,211,102,0.2);
  animation: waPulse 2.5s ease-in-out infinite;
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
.whatsapp-btn svg { width: 28px; height: 28px; fill: white; }

.whatsapp-tooltip {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 8px 16px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-800);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
  box-shadow: var(--shadow-md);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.reveal-left  { transform: translateX(-40px); }
.reveal.reveal-right { transform: translateX(40px); }
.reveal.visible { opacity: 1; transform: translate(0, 0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ---------- KEYFRAMES ---------- */
@keyframes fadeUp  { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn  { from { opacity:0; } to { opacity:1; } }
@keyframes scrollPulse { 0%,100%{opacity:1;transform:scaleY(1);} 50%{opacity:.4;transform:scaleY(.8);} }
@keyframes ticker  { 0%{transform:translateX(0);} 100%{transform:translateX(-50%);} }
@keyframes waPulse { 0%,100%{transform:scale(1);opacity:.5;} 50%{transform:scale(1.3);opacity:0;} }

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

@media (max-width: 960px) {
  .quienes-grid, .interstate-inner, .contacto-inner { grid-template-columns: 1fr; gap: 50px; }
  .distribucion-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    gap: 4px;
    z-index: 999;
  }
  .nav-menu.open li a { font-size: 1.2rem; padding: 14px 30px; color: var(--gray-700) !important; }
  .hero-lines { display: none; }
}

@media (max-width: 700px) {
  :root { --section-pad: 80px 0; }
  .distribucion-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .interstate-features { grid-template-columns: 1fr; }
  .categorias-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .whatsapp-float { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .categorias-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
}
