/* ============================================================
   MOTOREPUESTOSYA.COM - Estilos principales
   Paleta: Naranja fuego + Negro profundo + Gris acero
   Tipografía: Bebas Neue (títulos) + Nunito (texto)
   ============================================================ */

/* --- Variables globales --- */
:root {
  --orange:        #FF5C00;
  --orange-light:  #FF7A2E;
  --orange-glow:   rgba(255, 92, 0, 0.25);
  --black:         #0A0A0A;
  --dark:          #111111;
  --dark-2:        #1A1A1A;
  --dark-3:        #222222;
  --steel:         #2C2C2C;
  --muted:         #666666;
  --light:         #F5F5F0;
  --white:         #FFFFFF;
  --wa-green:      #25D366;
  --wa-dark:       #128C7E;
  --radius:        12px;
  --radius-lg:     20px;
  --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:        0 4px 24px rgba(0,0,0,0.18);
  --shadow-lg:     0 8px 48px rgba(0,0,0,0.28);
  --font-title:    'Bebas Neue', sans-serif;
  --font-body:     'Nunito', sans-serif;
}

/* --- Reset y base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--light);
  color: var(--dark);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Contenedor --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   ANIMACIONES DE ENTRADA
============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

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

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

/* Intersection Observer classes */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   BOTONES
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-light);
  box-shadow: 0 0 24px var(--orange-glow);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--wa-green);
  color: var(--white);
}
.btn-whatsapp:hover {
  background: var(--wa-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

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

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ============================================================
   HEADER / NAV
============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: var(--white);
}

.logo-icon { font-size: 1.6rem; }
.logo-dot  { color: var(--orange); }

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

.nav-link {
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  border-radius: 50px;
  padding: 8px 20px !important;
}
.nav-cta:hover { background: var(--orange-light) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 4px;
  transition: var(--transition);
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,92,0,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,92,0,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.glow-1 {
  width: 500px; height: 500px;
  background: var(--orange-glow);
  top: -100px; right: -100px;
}
.glow-2 {
  width: 300px; height: 300px;
  background: rgba(255,92,0,0.1);
  bottom: 0; left: -50px;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,92,0,0.15);
  border: 1px solid rgba(255,92,0,0.4);
  color: var(--orange-light);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.92;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.hero-title-accent {
  color: var(--orange);
  display: inline-block;
  position: relative;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-title); font-size: 2.2rem; color: var(--white); line-height: 1; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); font-weight: 600; letter-spacing: 0.5px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-indicator {
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
}
.scroll-indicator::after {
  content: '';
  position: absolute;
  width: 4px; height: 8px;
  background: var(--orange);
  border-radius: 2px;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  animation: scroll-bounce 1.4s ease infinite;
}

/* ============================================================
   TRUST BAR
============================================================ */
.trust-bar {
  background: var(--dark-2);
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
  padding: 18px 0;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 4px 16px;
  border-right: 1px solid var(--steel);
}
.trust-item:last-child { border-right: none; }
.trust-icon { font-size: 1.1rem; }

/* ============================================================
   SECCIONES GENÉRICAS
============================================================ */
.section {
  padding: 96px 0;
}

.section-dark {
  background: var(--dark);
}

.section-accent {
  background: var(--dark-2);
}

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

.section-tag {
  display: inline-block;
  background: rgba(255,92,0,0.12);
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.section-dark .section-title,
.section-accent .section-title { color: var(--white); }
.section .section-title { color: var(--dark); }

.section-subtitle {
  font-size: 1rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================================
   PROMOCIONES
============================================================ */
.promos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.promo-card {
  background: var(--dark-2);
  border: 1px solid var(--steel);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.promo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
}

.promo-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: 0 0 30px var(--orange-glow);
}

.promo-emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 14px;
}

.promo-titulo {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.promo-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.promo-fechas {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,92,0,0.12);
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

/* ============================================================
   CATEGORÍAS
============================================================ */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
}

.cat-card {
  background: var(--dark-3);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 22px 12px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cat-card:hover,
.cat-card.active {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px var(--orange-glow);
}

.cat-icon { font-size: 1.8rem; }

.cat-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.3px;
}

.cat-count {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}
.cat-card.active .cat-count,
.cat-card:hover .cat-count { color: rgba(255,255,255,0.8); }

/* ============================================================
   FILTROS Y BÚSQUEDA
============================================================ */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 40px;
}

.search-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

.search-input {
  width: 100%;
  background: var(--dark-2);
  border: 1px solid var(--steel);
  border-radius: 50px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 12px 18px 12px 44px;
  outline: none;
  transition: var(--transition);
}

.search-input::placeholder { color: var(--muted); }
.search-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tag {
  background: var(--dark-2);
  border: 1px solid var(--steel);
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-tag:hover,
.filter-tag.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* ============================================================
   GRID DE PRODUCTOS
============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* Sección de productos tiene fondo claro, ajustamos */
#productos {
  background: var(--dark);
}
#productos .section-title { color: var(--white); }
#productos .section-subtitle { color: var(--muted); }

.product-card {
  background: var(--dark-2);
  border: 1px solid var(--steel);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--orange);
  transform: translateY(-5px);
  box-shadow: 0 8px 32px var(--orange-glow);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--steel);
  overflow: hidden;
}

.product-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img { transform: scale(1.06); }

.product-img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--steel), var(--dark-3));
}

.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.product-badge-agotado {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(0,0,0,0.7);
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}

.product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-title);
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  line-height: 1.2;
}

.product-marca {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.product-compat {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--steel);
}

.product-price {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--orange);
  letter-spacing: 0.5px;
}

.product-price-sub {
  font-size: 0.7rem;
  color: var(--muted);
  font-family: var(--font-body);
  display: block;
  line-height: 1;
  margin-top: -2px;
}

.product-wa-btn {
  background: var(--wa-green);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  font-family: var(--font-body);
}
.product-wa-btn:hover {
  background: var(--wa-dark);
  transform: scale(1.05);
}

/* Estado vacío */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
}
.empty-icon { font-size: 3rem; display: block; margin-bottom: 16px; }

/* ============================================================
   NOSOTROS
============================================================ */
.nosotros-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.nosotros-text .section-tag { margin-bottom: 14px; display: block; text-align: left; }
.nosotros-text .section-title { text-align: left; color: var(--white); }

.nosotros-text p {
  color: rgba(255,255,255,0.65);
  font-size: 0.97rem;
  margin-bottom: 16px;
}

.nosotros-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}
.nosotros-list li {
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  font-weight: 600;
}

.nosotros-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.visual-card {
  background: var(--dark-3);
  border: 1px solid var(--steel);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  transition: var(--transition);
}
.visual-card:hover {
  border-color: var(--orange);
  box-shadow: 0 0 20px var(--orange-glow);
}

.vc-icon { font-size: 2rem; }
.visual-card strong {
  font-family: var(--font-title);
  font-size: 2.2rem;
  color: var(--orange);
  letter-spacing: 1px;
  line-height: 1;
}
.visual-card span:last-child {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}

.vc3 { grid-column: 1 / -1; }

/* ============================================================
   CONTACTO
============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.contact-card {
  background: var(--dark-2);
  border: 1px solid var(--steel);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
}

.contact-main {
  text-align: center;
  border-color: var(--wa-green);
}
.contact-main:hover { box-shadow: 0 0 30px rgba(37,211,102,0.15); }

.contact-wa-icon {
  width: 80px; height: 80px;
  background: var(--wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.contact-main h3 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.contact-main p {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.contact-hours {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin-top: 16px;
}

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

.contact-small {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
}

.contact-small span:first-child { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.contact-small div { display: flex; flex-direction: column; gap: 3px; }
.contact-small strong { color: var(--white); font-size: 0.9rem; }
.contact-small span:last-child { color: rgba(255,255,255,0.55); font-size: 0.85rem; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--black);
  border-top: 1px solid var(--steel);
  padding: 64px 0 0;
}

.footer-layout {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  margin-top: 16px;
  max-width: 300px;
  line-height: 1.7;
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-links li a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid var(--steel);
  padding: 20px;
  text-align: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.82rem;
}

/* ============================================================
   FAB WHATSAPP
============================================================ */
.fab-whatsapp {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 60px; height: 60px;
  background: var(--wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
}

.fab-whatsapp:hover {
  background: var(--wa-dark);
  transform: scale(1.1);
}

.fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--wa-green);
  animation: pulse-ring 1.8s ease-out infinite;
  z-index: -1;
}

/* ============================================================
   MODAL PRODUCTO
============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--dark-2);
  border: 1px solid var(--steel);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.92);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal { transform: scale(1); }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--steel);
  border: none;
  color: var(--white);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
  z-index: 1;
}
.modal-close:hover { background: var(--orange); }

.modal-content { padding: 28px; }

.modal-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 20px;
  background: var(--steel);
}

.modal-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--steel);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  margin-bottom: 20px;
}

.modal-cat { color: var(--orange); font-size: 0.8rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.modal-name { font-family: var(--font-title); font-size: 2rem; color: var(--white); letter-spacing: 1px; margin-bottom: 12px; }
.modal-desc { color: rgba(255,255,255,0.65); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; }
.modal-meta { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.modal-meta-row { display: flex; gap: 8px; font-size: 0.88rem; }
.modal-meta-label { color: var(--muted); font-weight: 600; min-width: 100px; }
.modal-meta-val { color: rgba(255,255,255,0.8); }
.modal-price { font-family: var(--font-title); font-size: 2.4rem; color: var(--orange); letter-spacing: 1px; margin-bottom: 4px; }
.modal-price-sub { font-size: 0.78rem; color: var(--muted); margin-bottom: 24px; }
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 280px;
    height: 100vh;
    background: var(--dark-2);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 28px 28px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 99;
    border-left: 1px solid var(--steel);
  }

  .nav-links.open { transform: translateX(0); }
  .nav-hamburger { display: flex; z-index: 100; }
  .nav-link { font-size: 1rem; padding: 10px 0; }

  .hero-title { font-size: clamp(3.2rem, 12vw, 6rem); }
  .hero-stats { gap: 16px; }

  .trust-items { gap: 4px; }
  .trust-item { border-right: none; font-size: 0.82rem; padding: 4px 12px; }

  .nosotros-visual { grid-template-columns: 1fr 1fr; }

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

  .cats-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .stat-divider { display: none; }
  .products-grid { grid-template-columns: 1fr; }
  .promos-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SCROLLBAR personalizada
============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--steel); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }
