/* =====================================================
   VIP CAR — styles.css
   Mobile-first · Design tokens · Sin frameworks
   ===================================================== */

/* =====================================================
   0. DESIGN TOKENS
   ===================================================== */
:root {
  /* --- Marca --- */
  --c-rojo:        #E2001A;
  --c-rojo-dark:   #B80015;
  --c-carbon:      #1A1A1A;
  --c-carbon-2:    #262626;
  --c-acero:       #9A9A9A;
  --c-acero-claro: #C6C6C6;
  --c-gris-100:    #F8F8F8;
  --c-blanco:      #FFFFFF;

  /* --- Texto --- */
  --c-texto:       #1A1A1A;
  --c-texto-2:     #5A5A5A;
  --c-texto-inv:   #F8F8F8;

  /* --- Semánticos --- */
  --bg:            var(--c-blanco);
  --bg-alt:        var(--c-gris-100);
  --bg-dark:       var(--c-carbon);
  --surface:       var(--c-blanco);
  --border:        #E2E2E2;
  --focus-ring:    #4DA3FF;

  /* --- Gradientes --- */
  --grad-metal:    linear-gradient(135deg, #2E2E2E 0%, #1A1A1A 55%, #0E0E0E 100%);
  --grad-acero:    linear-gradient(135deg, #C6C6C6 0%, #9A9A9A 50%, #6E6E6E 100%);
  --grad-hero:     radial-gradient(ellipse at 70% 50%, #2A2A2A 0%, #1A1A1A 60%, #0E0E0E 100%);

  /* --- Tipografía --- */
  --font-display:  'Montserrat', system-ui, sans-serif;
  --font-body:     'Inter', system-ui, -apple-system, sans-serif;

  --fs-300: .875rem;
  --fs-400: 1rem;
  --fs-500: 1.125rem;
  --fs-600: clamp(1.25rem, 2.5vw, 1.5rem);
  --fs-700: clamp(1.6rem, 4vw, 2.25rem);
  --fs-800: clamp(2.25rem, 6vw, 3.5rem);

  --lh-tight:   1.15;
  --lh-normal:  1.6;
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semibold:600;
  --fw-bold:    700;

  /* --- Espaciado (escala 4px) --- */
  --sp-1:  .25rem;
  --sp-2:  .5rem;
  --sp-3:  .75rem;
  --sp-4:  1rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-24: 6rem;

  --container:   1160px;
  --gutter:      clamp(1rem, 4vw, 2rem);
  --section-y:   clamp(3rem, 8vw, 6rem);

  /* --- Radios, sombras, motion --- */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-pill: 999px;

  --sh-sm:  0 1px 2px rgba(0,0,0,.08);
  --sh-md:  0 6px 20px rgba(0,0,0,.10);
  --sh-lg:  0 16px 40px rgba(0,0,0,.16);
  --sh-red: 0 8px 24px rgba(226,0,26,.35);

  --bw:    1px;
  --ease:  cubic-bezier(.22,.61,.36,1);
  --dur:   .25s;

  /* Header height para offset de anclas */
  --header-h: 68px;
}

/* =====================================================
   1. RESET MÍNIMO
   ===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-400);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--c-texto);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

ul, ol {
  list-style: none;
}

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

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

input, textarea, button, select {
  font: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: var(--lh-tight);
  font-weight: var(--fw-bold);
}

/* Respeta preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* =====================================================
   2. UTILIDADES
   ===================================================== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-pad {
  padding-block: var(--section-y);
}

.bg-alt  { background: var(--bg-alt); }
.bg-dark { background: var(--bg-dark); }

.text-accent { color: var(--c-rojo); }

.hidden-mobile { display: none; }
@media (min-width: 768px) {
  .hidden-mobile { display: inline; }
}

/* Scroll margin para offset del header sticky */
section[id], .section-anchor {
  scroll-margin-top: var(--header-h);
}

/* =====================================================
   3. SKIP LINK
   ===================================================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  z-index: 9999;
  padding: var(--sp-3) var(--sp-6);
  background: var(--c-rojo);
  color: var(--c-blanco);
  font-weight: var(--fw-semibold);
  border-radius: var(--r-sm);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus {
  top: var(--sp-4);
}

/* =====================================================
   4. FOCO VISIBLE
   ===================================================== */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* =====================================================
   5. BOTONES
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: var(--fs-400);
  font-weight: var(--fw-semibold);
  line-height: 1;
  text-decoration: none;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn:active { transform: scale(.97); }

/* Primario rojo */
.btn--primary {
  background: var(--c-rojo);
  color: var(--c-blanco);
  box-shadow: var(--sh-red);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--c-rojo-dark);
  box-shadow: 0 10px 28px rgba(226,0,26,.45);
}

/* Ghost / contorno */
.btn--ghost {
  background: transparent;
  color: var(--c-blanco);
  border: 2px solid rgba(255,255,255,.4);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--c-blanco);
  background: rgba(255,255,255,.08);
}

/* Ghost sobre fondo claro */
.btn--ghost-dark {
  background: transparent;
  color: var(--c-texto);
  border: 2px solid var(--border);
}
.btn--ghost-dark:hover,
.btn--ghost-dark:focus-visible {
  border-color: var(--c-rojo);
  color: var(--c-rojo);
}

/* WhatsApp verde */
.btn--whatsapp {
  background: #25D366;
  color: var(--c-blanco);
  box-shadow: 0 6px 20px rgba(37,211,102,.30);
}
.btn--whatsapp:hover,
.btn--whatsapp:focus-visible {
  background: #1eb858;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
}

/* Tamaños */
.btn--sm {
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-300);
}
.btn--lg {
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--fs-500);
}

/* Mapa */
.btn--map {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  margin-top: var(--sp-2);
  padding: var(--sp-1) var(--sp-3);
  background: transparent;
  color: var(--c-rojo);
  border: 1px solid var(--c-rojo);
  border-radius: var(--r-pill);
  font-size: var(--fs-300);
  font-weight: var(--fw-medium);
  transition: background var(--dur), color var(--dur);
}
.btn--map:hover,
.btn--map:focus-visible {
  background: var(--c-rojo);
  color: var(--c-blanco);
}

/* =====================================================
   6. CABECERA / HEADER
   ===================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  transition: background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.site-header.is-scrolled {
  background: var(--c-carbon);
  box-shadow: 0 2px 20px rgba(0,0,0,.5);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  height: 100%;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
  text-decoration: none;
}

.logo-img {
  height: 42px;
  width: auto;
  flex-shrink: 0;
}

.header__brand {
  display: none;
  flex-direction: column;
  gap: 0;
}

.header__brand strong {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: var(--fw-bold);
  color: var(--c-blanco);
  letter-spacing: .1em;
  line-height: 1.1;
}

.header__brand small {
  font-size: .65rem;
  color: var(--c-acero-claro);
  letter-spacing: .05em;
  line-height: 1.2;
}

@media (min-width: 480px) {
  .header__brand { display: flex; }
}

/* Nav */
.main-nav {
  display: none;
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  gap: var(--sp-6);
  align-items: center;
}

.main-nav a {
  font-family: var(--font-display);
  font-size: var(--fs-300);
  font-weight: var(--fw-semibold);
  color: var(--c-acero-claro);
  text-decoration: none;
  letter-spacing: .04em;
  transition: color var(--dur) var(--ease);
  padding-block: var(--sp-2);
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-active {
  color: var(--c-blanco);
}

.main-nav a.is-active {
  border-bottom: 2px solid var(--c-rojo);
}

@media (min-width: 768px) {
  .main-nav { display: block; }
}

/* Botón hamburguesa */
.nav-toggle {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  color: var(--c-blanco);
  border-radius: var(--r-sm);
  transition: background var(--dur);
}

.nav-toggle:hover { background: rgba(255,255,255,.1); }

.nav-toggle .close-icon { display: none; }
.nav-toggle[aria-expanded="true"] .hamburger-icon { display: none; }
.nav-toggle[aria-expanded="true"] .close-icon { display: block; }

@media (min-width: 768px) {
  .nav-toggle { display: none; }
}

/* CTA header */
.header__cta {
  flex-shrink: 0;
  display: none;
  padding: var(--sp-2) var(--sp-5);
  font-size: var(--fs-300);
}

@media (min-width: 768px) {
  .header__cta { display: inline-flex; }
}

/* Menú móvil abierto */
@media (max-width: 767px) {
  .main-nav.is-open {
    display: block;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--c-carbon);
    padding: var(--sp-6) var(--gutter) var(--sp-8);
    box-shadow: 0 8px 32px rgba(0,0,0,.5);
    border-top: 1px solid var(--c-carbon-2);
  }

  .main-nav.is-open ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .main-nav.is-open a {
    display: block;
    padding: var(--sp-4) 0;
    font-size: var(--fs-500);
    border-bottom: 1px solid var(--c-carbon-2);
    width: 100%;
  }

  .main-nav.is-open a:last-child {
    border-bottom: none;
  }
}

/* =====================================================
   7. HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--grad-hero);
  overflow: hidden;
  padding-block: calc(var(--header-h) + var(--sp-16)) var(--sp-16);
}

/* Fondo decorativo */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Textura de puntos sutil */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Línea roja decorativa lateral izquierda */
.hero__bg::after {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 4px;
  background: var(--c-rojo);
  border-radius: 0 var(--r-pill) var(--r-pill) 0;
  box-shadow: var(--sh-red);
}

.hero__gears {
  position: absolute;
  right: -60px; top: 50%;
  transform: translateY(-50%);
  width: min(520px, 80vw);
  opacity: .35;
}

.hero__deco {
  width: 100%;
  height: auto;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-300);
  font-weight: var(--fw-semibold);
  color: var(--c-rojo);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid rgba(226,0,26,.4);
  border-radius: var(--r-pill);
  background: rgba(226,0,26,.08);
}

.hero__title {
  font-size: var(--fs-800);
  font-weight: 800;
  color: var(--c-blanco);
  margin-bottom: var(--sp-6);
  letter-spacing: -.02em;
}

.hero__sub {
  font-size: var(--fs-500);
  color: var(--c-acero-claro);
  line-height: 1.65;
  margin-bottom: var(--sp-10);
  max-width: 540px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

/* =====================================================
   8. SELLOS
   ===================================================== */
.sellos-section {
  background: var(--c-blanco);
  border-top: 4px solid var(--c-rojo);
  border-bottom: 1px solid var(--border);
  padding-block: var(--sp-8);
}

.sellos {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

@media (min-width: 480px) {
  .sellos { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .sellos { grid-template-columns: repeat(4, 1fr); }
}

.sello {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4);
}

.sello__icon {
  color: var(--c-rojo);
  flex-shrink: 0;
}

.sello__text {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.sello__text strong {
  font-family: var(--font-display);
  font-size: var(--fs-400);
  font-weight: var(--fw-bold);
  color: var(--c-texto);
  line-height: 1.2;
}

.sello__text span {
  font-size: var(--fs-300);
  color: var(--c-texto-2);
}

/* =====================================================
   9. ENCABEZADOS DE SECCIÓN
   ===================================================== */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--sp-12);
}

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-300);
  font-weight: var(--fw-semibold);
  color: var(--c-rojo);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}

.section-label--inv { color: var(--c-acero-claro); }

.section-title {
  font-size: var(--fs-700);
  color: var(--c-texto);
  margin-bottom: var(--sp-4);
}

.section-title--inv { color: var(--c-blanco); }

.section-sub {
  font-size: var(--fs-400);
  color: var(--c-texto-2);
  line-height: var(--lh-normal);
}

.section-sub--inv { color: var(--c-acero); }

/* =====================================================
   10. CATEGORÍAS
   ===================================================== */
.categorias__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

@media (min-width: 480px) {
  .categorias__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .categorias__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .categorias__grid { grid-template-columns: repeat(5, 1fr); }
}

.categoria-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-6);
  background: var(--surface);
  border: var(--bw) solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
  text-decoration: none;
  color: var(--c-texto);
  transition:
    box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
  height: 100%;
}

.categoria-card:hover,
.categoria-card:focus-visible {
  box-shadow: var(--sh-md);
  border-color: var(--c-rojo);
  transform: translateY(-3px);
}

.categoria-card__icon {
  color: var(--c-rojo);
  flex-shrink: 0;
}

.categoria-card__name {
  font-family: var(--font-display);
  font-size: var(--fs-400);
  font-weight: var(--fw-bold);
  color: var(--c-texto);
  line-height: 1.3;
}

.categoria-card__desc {
  font-size: var(--fs-300);
  color: var(--c-texto-2);
  line-height: 1.5;
  flex: 1;
}

.categoria-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--fs-300);
  font-weight: var(--fw-semibold);
  color: var(--c-rojo);
  margin-top: auto;
  transition: gap var(--dur) var(--ease);
}

.categoria-card:hover .categoria-card__cta {
  gap: var(--sp-2);
}

/* =====================================================
   11. PRODUCTOS DESTACADOS
   ===================================================== */
.destacados__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  margin-bottom: var(--sp-12);
}

@media (min-width: 600px) {
  .destacados__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .destacados__grid { grid-template-columns: repeat(3, 1fr); }
}

.producto-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: var(--bw) solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.producto-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-4px);
}

.producto-card__header {
  position: relative;
  background: linear-gradient(135deg, var(--c-carbon) 0%, var(--c-carbon-2) 100%);
  padding: var(--sp-8) var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.producto-card__badge {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-3);
  background: var(--c-rojo);
  color: var(--c-blanco);
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: var(--fw-bold);
  letter-spacing: .08em;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-pill);
  text-transform: uppercase;
}

.producto-card__icon-wrap {
  color: rgba(255,255,255,.25);
}

.producto-card__icon-wrap svg {
  width: 64px;
  height: 64px;
}

.producto-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-6);
  flex: 1;
}

.producto-card__name {
  font-size: var(--fs-600);
  font-weight: var(--fw-bold);
  color: var(--c-texto);
  line-height: 1.25;
}

.producto-card__desc {
  font-size: var(--fs-300);
  color: var(--c-texto-2);
  line-height: 1.6;
  flex: 1;
}

.destacados__footer {
  text-align: center;
  padding: var(--sp-8);
  background: var(--c-gris-100);
  border-radius: var(--r-lg);
  border: 1px dashed var(--border);
}

.destacados__footer p {
  color: var(--c-texto-2);
  margin-bottom: var(--sp-4);
}

.destacados__footer .btn {
  color: var(--c-texto);
  border-color: var(--c-carbon);
}

.destacados__footer .btn:hover {
  background: var(--c-carbon);
  color: var(--c-blanco);
  border-color: var(--c-carbon);
}

/* =====================================================
   12. POR QUÉ VIP CAR
   ===================================================== */
.valores__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

@media (min-width: 600px) {
  .valores__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .valores__grid { grid-template-columns: repeat(4, 1fr); }
}

.valor-card {
  padding: var(--sp-8) var(--sp-6);
  background: var(--c-carbon-2);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-lg);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.valor-card:hover {
  background: #2e2e2e;
  border-color: rgba(226,0,26,.3);
}

.valor-card__icon {
  color: var(--c-rojo);
  margin-bottom: var(--sp-4);
}

.valor-card__title {
  font-size: var(--fs-600);
  color: var(--c-blanco);
  margin-bottom: var(--sp-3);
}

.valor-card__text {
  font-size: var(--fs-300);
  color: var(--c-acero);
  line-height: 1.65;
}

/* =====================================================
   13. CONTACTO
   ===================================================== */
.contacto__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
}

@media (min-width: 768px) {
  .contacto__layout {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--sp-16);
    align-items: start;
  }
}

/* Columna de información */
.contacto__dato {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.contacto__dato-icon {
  color: var(--c-rojo);
  flex-shrink: 0;
  margin-top: 2px;
}

.contacto__dato > div {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.contacto__dato strong {
  font-family: var(--font-display);
  font-size: var(--fs-300);
  font-weight: var(--fw-bold);
  color: var(--c-texto-2);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: var(--sp-1);
}

.contacto__link {
  font-size: var(--fs-500);
  font-weight: var(--fw-semibold);
  color: var(--c-texto);
  text-decoration: none;
  transition: color var(--dur);
}

.contacto__link:hover { color: var(--c-rojo); }

.contacto__horario {
  font-size: var(--fs-400);
  color: var(--c-texto);
}

.contacto__redes {
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.contacto__redes strong {
  font-family: var(--font-display);
  font-size: var(--fs-300);
  font-weight: var(--fw-bold);
  color: var(--c-texto-2);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.redes {
  display: flex;
  gap: var(--sp-3);
}

.red-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--r-pill);
  background: var(--c-gris-100);
  color: var(--c-texto);
  border: 1px solid var(--border);
  transition: background var(--dur), color var(--dur), border-color var(--dur);
}

.red-social:hover,
.red-social:focus-visible {
  background: var(--c-rojo);
  color: var(--c-blanco);
  border-color: var(--c-rojo);
}

.red-social--footer {
  background: rgba(255,255,255,.08);
  color: var(--c-acero-claro);
  border-color: rgba(255,255,255,.1);
}

.red-social--footer:hover,
.red-social--footer:focus-visible {
  background: var(--c-rojo);
  color: var(--c-blanco);
  border-color: var(--c-rojo);
}

.contacto__wa-cta {
  width: 100%;
  justify-content: center;
}

/* Formulario */
.contacto__form-wrap {
  background: var(--c-gris-100);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  border: 1px solid var(--border);
}

.form-title {
  font-size: var(--fs-600);
  color: var(--c-texto);
  margin-bottom: var(--sp-2);
}

.form-note {
  font-size: var(--fs-300);
  color: var(--c-texto-2);
  margin-bottom: var(--sp-6);
  line-height: 1.5;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.form-label {
  font-size: var(--fs-300);
  font-weight: var(--fw-semibold);
  color: var(--c-texto);
}

.form-label span {
  color: var(--c-rojo);
}

.form-input {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  background: var(--c-blanco);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: var(--fs-400);
  color: var(--c-texto);
  transition: border-color var(--dur), box-shadow var(--dur);
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: #ABABAB;
}

.form-input:focus,
.form-input:focus-visible {
  outline: none;
  border-color: var(--c-rojo);
  box-shadow: 0 0 0 3px rgba(226,0,26,.12);
}

.form-input.is-invalid {
  border-color: var(--c-rojo);
  box-shadow: 0 0 0 3px rgba(226,0,26,.1);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-error {
  font-size: var(--fs-300);
  color: var(--c-rojo);
  min-height: 1.2em;
  display: block;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.form-actions .btn {
  flex: 1;
  justify-content: center;
  min-width: 160px;
}

/* =====================================================
   14. FOOTER
   ===================================================== */
.site-footer {
  background: var(--c-carbon);
  color: var(--c-texto-inv);
  padding-top: var(--sp-12);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  padding-bottom: var(--sp-12);
}

@media (min-width: 600px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .footer__inner { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer__brand {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}

.footer__logo {
  height: 48px;
  width: auto;
  opacity: .85;
  flex-shrink: 0;
}

.footer__brand > div {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: var(--fs-500);
  font-weight: var(--fw-bold);
  color: var(--c-blanco);
  letter-spacing: .05em;
}

.footer__tagline {
  font-size: var(--fs-300);
  color: var(--c-acero);
  line-height: 1.4;
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: var(--fs-300);
  font-weight: var(--fw-bold);
  color: var(--c-acero-claro);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.footer__contacto ul,
.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__contacto a,
.footer__nav a {
  font-size: var(--fs-300);
  color: var(--c-acero);
  text-decoration: none;
  transition: color var(--dur);
}

.footer__contacto a:hover,
.footer__nav a:hover,
.footer__contacto a:focus-visible,
.footer__nav a:focus-visible {
  color: var(--c-blanco);
}

.footer__contacto li,
.footer__nav li {
  font-size: var(--fs-300);
  color: var(--c-acero);
}

.footer__redes .redes {
  margin-bottom: var(--sp-6);
}

.footer__legal-note {
  font-size: .75rem;
  color: var(--c-acero);
  line-height: 1.5;
  max-width: 180px;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-block: var(--sp-4);
}

.footer__bottom p {
  font-size: var(--fs-300);
  color: var(--c-acero);
  text-align: center;
}

/* =====================================================
   15. ANIMACIONES / REVEAL ON SCROLL
   ===================================================== */

/* Por defecto (sin JS): todo visible */
.reveal {
  opacity: 1;
  transform: none;
}

/* Con JS: se oculta al inicio y se revela al entrar al viewport */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .5s var(--ease),
    transform .5s var(--ease);
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger para elementos en grilla */
.js-ready .reveal:nth-child(2) { transition-delay: .08s; }
.js-ready .reveal:nth-child(3) { transition-delay: .16s; }
.js-ready .reveal:nth-child(4) { transition-delay: .24s; }
.js-ready .reveal:nth-child(5) { transition-delay: .32s; }
.js-ready .reveal:nth-child(6) { transition-delay: .40s; }

/* Con reduced-motion: nunca ocultar */
@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =====================================================
   16. UTILIDADES EXTRA
   ===================================================== */

/* Divisor */
.divider {
  width: 48px;
  height: 3px;
  background: var(--c-rojo);
  border-radius: var(--r-pill);
  margin-block: var(--sp-4);
}

/* sp-10 no definido en tokens, lo agrego aquí */
:root { --sp-10: 2.5rem; }
:root { --sp-5: 1.25rem; }

/* ── Mensajes de estado del formulario de contacto ── */
.form-status {
  margin: var(--sp-3, 0.75rem) 0 0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md, 8px);
  font-size: 0.95rem;
  line-height: 1.4;
  border: 1px solid transparent;
}
.form-status.is-pending { background: rgba(154,154,154,.12); color: #C6C6C6; border-color: rgba(154,154,154,.3); }
.form-status.is-success { background: rgba(34,160,80,.12);  color: #5BD68A; border-color: rgba(34,160,80,.4); }
.form-status.is-error   { background: rgba(226,0,26,.10);   color: #FF6A78; border-color: rgba(226,0,26,.4); }
.hp-field { position: absolute !important; left: -9999px !important; }

/* ── Ilustración de cabecera en tarjetas de categoría ── */
.categoria-card__img {
  display: block;
  width: calc(100% + 2 * var(--sp-6));
  margin: calc(-1 * var(--sp-6)) calc(-1 * var(--sp-6)) var(--sp-1);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-md) var(--r-md) 0 0;
  border-bottom: var(--bw) solid var(--border);
}

/* ── Foto de producto en tarjetas de destacados ── */
.producto-card__header--photo {
  background: #ffffff;
  padding: var(--sp-5);
  min-height: 220px;
}
.producto-card__img {
  max-width: 100%;
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply; /* integra el blanco del recorte con el panel */
}
