/* ═══════════════════════════════════════════════════════════════════════════
   style.css — Repuestos Ruta 12 II
   "Industrial Premium" — Oswald (display) + Inter (body)
   Dark-only, single-language (es). No theme or language toggles.

   Design system: layered warm-dark surfaces, brand-orange gradient accent,
   blue spark used sparingly, subtle grain + spotlight depth, calm motion.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── 1. Reset / Box-sizing ─────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* CRITICAL: [hidden] must be display:none !important.
   Without this, display:flex/grid on parent rules would override [hidden] and
   break loading/error/empty state transitions. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

img, video { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ─── 2. CSS Custom Properties ──────────────────────────────────────────── */

:root {
  /* ── Surfaces (layered warm-dark — real elevation, not flat black) ── */
  --bg-primary:     #0A0A0B;
  --bg-secondary:   #101013;
  --surface-1:      #161618;   /* card base */
  --surface-2:      #1D1D21;   /* card hover / elevated */
  --surface-3:      #26262B;   /* inputs, chips, pills */
  --bg-card:        var(--surface-1);   /* legacy alias */
  --bg-card-hover:  var(--surface-2);   /* legacy alias */

  /* ── Text ── */
  --text-primary:   #F4F4F5;
  --text-secondary: #B7B7BE;
  --text-muted:     #7C7C85;

  /* ── Brand accent (orange) + gradient + blue spark ── */
  --accent:         #FF7A00;
  --accent-2:       #FFA53D;
  --accent-hover:   #FF8C1A;
  --accent-ink:     #160C00;                         /* text on orange */
  --accent-grad:    linear-gradient(135deg, #FF7A00 0%, #FFA53D 100%);
  --accent-glow:    rgba(255, 122, 0, 0.30);
  --accent-tint:    rgba(255, 122, 0, 0.08);
  --accent-tint-2:  rgba(255, 122, 0, 0.14);
  --spark:          #00A2FF;
  --spark-tint:     rgba(0, 162, 255, 0.10);

  /* ── Borders ── */
  --border:         rgba(255, 255, 255, 0.08);
  --border-strong:  rgba(255, 255, 255, 0.14);
  --border-accent:  rgba(255, 122, 0, 0.38);

  /* ── Catalog-specific (names referenced by app.js / markup) ── */
  --color-price:           #FFA53D;
  --color-price-bg:        rgba(255, 165, 61, 0.10);
  --color-whatsapp:        #25D366;
  --color-whatsapp-hover:  #1EBE5A;
  --color-whatsapp-glow:   rgba(37, 211, 102, 0.30);
  --color-badge:           var(--accent);
  --color-success:         #1F5A3A;
  --color-success-text:    #5BE39A;
  --color-featured:        #38B6FF;
  --color-featured-bg:     rgba(0, 162, 255, 0.12);
  --color-featured-border: rgba(0, 162, 255, 0.38);
  --color-consultar:       var(--text-secondary);

  /* ── Shadows ── */
  --shadow-sm:   0 1px 2px rgba(0, 0, 0, 0.40);
  --shadow-md:   0 10px 28px rgba(0, 0, 0, 0.45);
  --shadow-lg:   0 24px 56px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 12px 36px rgba(255, 122, 0, 0.16);

  /* ── Typography ── */
  --font-display: 'Oswald', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* ── Layout ── */
  --header-height:            68px;
  --cart-drawer-width:        440px;
  --cart-drawer-width-mobile: 100vw;
  --section-padding:          clamp(3.5rem, 8vw, 7rem);
  --container-max:            1280px;
  --container-pad:            1.5rem;
  --gap:                      1.5rem;
  --radius:                   0.625rem;
  --radius-lg:                1rem;
  --radius-xl:                1.375rem;

  /* ── Motion ── */
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --transition:    0.25s var(--ease);
  --transition-slow: 0.45s var(--ease);

  /* ── Texture: fine film grain (data: SVG — allowed by img-src 'data:') ── */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─── 3. Body ambience (depth: top glow + faint grain) ──────────────────── */

body::before {
  /* warm spotlight bleeding from the top — gives the page depth */
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(255, 122, 0, 0.07), transparent 60%),
    var(--bg-primary);
}
body::after {
  /* subtle film grain overlay */
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--grain);
  background-size: 140px 140px;
  opacity: 0.03;
  mix-blend-mode: overlay;
}

/* ─── 4. Typography ─────────────────────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.85rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
p  { font-size: clamp(0.9375rem, 1.4vw, 1.0625rem); }

/* Section eyebrow */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.section-label::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-grad);
}

.section-title {
  margin-bottom: 2.5rem;
  color: var(--text-primary);
  max-width: 22ch;
}

/* ─── 5. Utilities ──────────────────────────────────────────────────────── */

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

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.625rem 1.25rem;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  z-index: 9999;
  border-radius: var(--radius);
  transition: top var(--transition);
}
.skip-link:focus { top: 1rem; }

/* Scroll-reveal */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

body.menu-open { overflow: hidden; }

/* ─── 6. Buttons ────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition), filter var(--transition);
  min-height: 44px;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn--primary {
  background: var(--accent-grad);
  color: var(--accent-ink);
  box-shadow: 0 2px 14px rgba(255, 122, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn--primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 10px 28px rgba(255, 122, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}
.btn--primary:active { transform: translateY(0); }

.btn--outline {
  background: rgba(255, 255, 255, 0.015);
  color: var(--text-primary);
  border: 1px solid var(--border-accent);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-tint);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

.btn--whatsapp {
  background: var(--color-whatsapp);
  color: #06270F;
  box-shadow: 0 4px 16px var(--color-whatsapp-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn--whatsapp:hover {
  background: var(--color-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px var(--color-whatsapp-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn--whatsapp svg { width: 20px; height: 20px; }

.btn--lg { padding: 1.05rem 2.3rem; font-size: 1rem; letter-spacing: 0.06em; }
.btn--sm { padding: 0.5rem 0.875rem; font-size: 0.8125rem; min-height: 44px; }

/* ─── 7. Header / Nav ───────────────────────────────────────────────────── */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(10, 10, 11, 0.72);
  border-bottom: 1px solid var(--border);
  /* backdrop-filter creates a stacking context — child menus use height-based
     positioning (not bottom:0) to avoid iOS Safari fixed-child clipping */
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.nav {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 1rem;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-right: auto;
}
.nav__logo-img {
  height: 42px;
  width: auto;
  display: block;
  transition: transform var(--transition);
}
.nav__logo:hover .nav__logo-img { transform: scale(1.04); }

/* Cart button — always visible, outside hamburger */
.nav__cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  color: var(--text-primary);
  transition: color var(--transition), background var(--transition);
  flex-shrink: 0;
}
.nav__cart-btn:hover { color: var(--accent); background: var(--accent-tint); }
.nav__cart-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav__cart-btn svg { width: 22px; height: 22px; }

.nav__cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--accent-grad);
  color: var(--accent-ink);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  border-radius: 9px;
  pointer-events: none;
  box-shadow: 0 0 0 2px var(--bg-primary);
}

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 44px;
  height: 44px;
  padding: 12px 10px;
  border-radius: var(--radius);
  color: var(--text-primary);
  flex-shrink: 0;
  transition: color var(--transition);
}
.nav__hamburger:hover { color: var(--accent); }
.nav__hamburger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Collapsible nav menu (mobile) */
.nav__menu {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  height: calc(100vh - var(--header-height));
  background: rgba(10, 10, 11, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  padding: 1.5rem var(--container-pad) 2rem;
}
.nav__menu.nav--open { display: flex; }

.nav__links { display: flex; flex-direction: column; gap: 0; }
.nav__link {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition), padding-left var(--transition);
}
.nav__link:hover,
.nav__link--active { color: var(--accent); }
.nav__link:hover { padding-left: 0.4rem; }
.nav__link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Install app — desktop */
.nav__install-btn {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 38px;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.nav__install-btn:hover {
  color: var(--accent);
  border-color: var(--border-accent);
  background: var(--accent-tint);
}
.nav__install-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Install app — mobile */
.nav__install-mobile {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.nav__install-mobile-btn {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  width: 100%;
  text-align: left;
  transition: color var(--transition);
}
.nav__install-mobile-btn:hover { color: var(--accent); }
.nav__install-mobile-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius); }

/* Desktop nav */
@media (min-width: 900px) {
  .nav__hamburger { display: none; }
  .nav__menu {
    display: flex;
    position: static;
    height: auto;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 0;
    overflow: visible;
  }
  .nav__links { flex-direction: row; gap: 0.25rem; }
  .nav__link {
    padding: 0.5rem 0.85rem;
    font-size: 0.875rem;
    border: none;
    border-radius: var(--radius);
    position: relative;
  }
  .nav__link:hover { padding-left: 0.85rem; }
  .nav__link--active { color: var(--accent); }
  .nav__install-btn { display: flex; }
  .nav__install-mobile { display: none !important; }
}

/* ─── 8. Hero ───────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));   /* fallback for no-svh browsers */
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

/* Spotlight behind the logo */
.hero::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  width: min(860px, 124vw);
  aspect-ratio: 1.35 / 1;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center,
    rgba(255, 122, 0, 0.22) 0%,
    rgba(255, 122, 0, 0.10) 32%,
    rgba(0, 162, 255, 0.05) 54%,
    transparent 72%);
  filter: blur(10px);
}

/* Fine grid, masked so it fades toward the edges */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 72% 64% at 50% 44%, #000 0%, transparent 78%);
          mask-image: radial-gradient(ellipse 72% 64% at 50% 44%, #000 0%, transparent 78%);
}

/* Single diagonal light sweep */
.hero__sweep {
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -30%;
  width: 38%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 178, 92, 0.06), transparent);
  transform: rotate(14deg);
  animation: heroSweep 9s var(--ease) infinite;
}
@keyframes heroSweep {
  0%   { left: -34%; opacity: 0; }
  18%  { opacity: 1; }
  82%  { opacity: 1; }
  100% { left: 112%; opacity: 0; }
}

/* A few slow rising embers */
.hero__embers { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__embers span {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(255, 150, 40, 0.7);
  box-shadow: 0 0 7px rgba(255, 150, 40, 0.55);
  animation: emberRise linear infinite;
}
.hero__embers span:nth-child(1) { bottom: 26%; left: 20%; animation-duration: 8s;   animation-delay: 0s; }
.hero__embers span:nth-child(2) { bottom: 32%; left: 44%; animation-duration: 7s;   animation-delay: 1.4s; }
.hero__embers span:nth-child(3) { bottom: 28%; left: 64%; animation-duration: 8.5s; animation-delay: 0.6s; }
.hero__embers span:nth-child(4) { bottom: 24%; left: 80%; animation-duration: 6.5s; animation-delay: 2s; }
@keyframes emberRise {
  0%   { transform: translateY(20px); opacity: 0; }
  20%  { opacity: 0.85; }
  100% { transform: translateY(-180px); opacity: 0; }
}

.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 3.25rem 1.5rem 3rem;
  text-align: center;
}

.hero__brand-mark {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 1.8vw, 0.9375rem);
  font-weight: 600;
  letter-spacing: 0.26em;
  padding-left: 0.26em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__title { margin: 0; }
.hero__logo {
  display: block;
  margin: 1.1rem auto 0;
  width: min(420px, 74vw);
  height: auto;
  filter: drop-shadow(0 8px 28px rgba(255, 122, 0, 0.22));
}

.hero__tagline {
  font-size: clamp(1rem, 2.3vw, 1.1875rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 1.1rem auto 0;
  line-height: 1.65;
}

/* Trust chips */
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  margin: 1.6rem auto 0;
  max-width: 640px;
}
.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero__chip svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}
.hero__scroll:hover { color: var(--accent); }
.hero__scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--radius); }
.hero__scroll svg { width: 16px; height: 16px; animation: scrollBob 2s var(--ease) infinite; }
@keyframes scrollBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

/* ─── 9. Stats / Trust band ─────────────────────────────────────────────── */

.stats {
  background: var(--bg-secondary);
  border-block: 1px solid var(--border);
  padding-block: clamp(1.75rem, 4vw, 2.5rem);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 0.75rem 0.5rem;
  position: relative;
}
.stat__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.35rem;
  border-radius: 50%;
  color: var(--accent);
  background: radial-gradient(circle at 30% 30%, var(--accent-tint-2), transparent 70%);
  border: 1px solid var(--border-accent);
}
.stat__icon svg { width: 22px; height: 22px; }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  line-height: 1;
}
.stat__label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.35;
  max-width: 18ch;
}

@media (min-width: 760px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .stat { flex-direction: row; text-align: left; align-items: center; gap: 0.85rem; padding: 0.5rem 0.75rem; }
  .stat__icon { margin-bottom: 0; flex-shrink: 0; }
  .stat__text { display: flex; flex-direction: column; }
  .stat + .stat::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 1px; height: 60%;
    background: var(--border);
  }
}

/* ─── 10. About / Historia ──────────────────────────────────────────────── */

.about {
  padding-block: var(--section-padding);
  background: var(--bg-primary);
  position: relative;
}
.about__paragraphs {
  max-width: 720px;
  margin-bottom: 3rem;
}
.about__paragraphs p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--gap);
}
.value-card {
  background: linear-gradient(180deg, var(--surface-1), var(--bg-secondary));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.6rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.value-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--accent-tint);
  transform: translateY(-4px);
}
.value-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.15rem;
  border-radius: 0.85rem;
  color: var(--accent);
  background: var(--accent-tint);
  border: 1px solid var(--border-accent);
}
.value-card__icon svg { width: 26px; height: 26px; }
.value-card__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.value-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─── 11. Cómo cotizar ──────────────────────────────────────────────────── */

.how-to-quote {
  padding-block: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
}
.how-to-quote__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  position: relative;
}
.how-to-quote__step {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.how-to-quote__step:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.how-to-quote__step-icon {
  position: relative;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-tint);
  border: 1px solid var(--border-accent);
  border-radius: 0.85rem;
  color: var(--accent);
}
.how-to-quote__step-icon svg { width: 26px; height: 26px; }
.how-to-quote__step-number {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 24px;
  height: 24px;
  background: var(--accent-grad);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(255, 122, 0, 0.4);
}
.how-to-quote__step-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.how-to-quote__step-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (min-width: 640px) {
  .how-to-quote__steps { grid-template-columns: repeat(3, 1fr); }
  /* connecting line between step cards */
  .how-to-quote__step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: calc(2rem + 28px);
    right: calc(var(--gap) / -2 - 1px);
    width: var(--gap);
    height: 2px;
    background: linear-gradient(90deg, var(--border-accent), transparent);
    z-index: 1;
  }
}

/* ─── 12. Catalog ───────────────────────────────────────────────────────── */

.catalog {
  padding-block: var(--section-padding);
  background: var(--bg-primary);
}

.catalog__controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Search */
.catalog__search { position: relative; }
.catalog__search-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.85rem;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  min-height: 48px;
}
.catalog__search-input::placeholder { color: var(--text-muted); }
.catalog__search-input:focus {
  border-color: var(--accent);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.catalog__search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  width: 18px;
  height: 18px;
}

/* Category filters */
.catalog__filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.catalog__filters::-webkit-scrollbar { height: 3px; }
.catalog__filters::-webkit-scrollbar-track { background: transparent; }
.catalog__filters::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.catalog__filter {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  min-height: 44px;
}
.catalog__filter svg { width: 14px; height: 14px; opacity: 0.85; }
.catalog__filter:hover { border-color: var(--border-accent); color: var(--accent); }
.catalog__filter:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.catalog__filter--active {
  background: var(--accent-grad);
  border-color: transparent;
  color: var(--accent-ink);
  box-shadow: 0 2px 10px rgba(255, 122, 0, 0.25);
}

/* Loading caption (slim — skeletons carry the visual load) */
.catalog__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.catalog__loading::before {
  content: '';
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-strong);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Error / empty shared icon */
.catalog__state-icon {
  display: inline-flex;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.catalog__state-icon svg { width: 44px; height: 44px; }

.catalog__error {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3.5rem 1rem;
  text-align: center;
  color: var(--text-secondary);
}
.catalog__error p { margin-bottom: 1.25rem; }
.catalog__error .catalog__state-icon { color: var(--accent); }

.catalog__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 1rem;
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

/* Pagination */
.catalog__pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
.catalog__counter {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.catalog__load-more { min-width: 200px; min-height: 48px; }

/* Featured strip */
.catalog__featured {
  margin-bottom: 2.5rem;
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(0, 162, 255, 0.04), transparent),
              var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.catalog__featured-head {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.catalog__featured-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.catalog__featured-title svg { width: 18px; height: 18px; color: var(--color-featured); }
.catalog__featured-track {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.catalog__featured-track::-webkit-scrollbar { height: 5px; }
.catalog__featured-track::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
.catalog__featured-track .product-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  .catalog__featured-track .product-card { flex-basis: 240px; }
}

/* Product grid */
.catalog__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* ─── 13. Product cards ─────────────────────────────────────────────────── */

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.product-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--accent-tint);
}
.product-card:focus-within { border-color: var(--accent); }

/* Media wrapper (image + badge) */
.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-secondary);
  overflow: hidden;
}
.product-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.35));
  pointer-events: none;
}
.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.product-card:hover .product-card__image { transform: scale(1.06); }

/* Badge */
.product-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.65rem;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 2;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-card__badge svg { width: 11px; height: 11px; }
.product-card__badge--featured {
  background: var(--color-featured-bg);
  border: 1px solid var(--color-featured-border);
  color: var(--color-featured);
}
.product-card__badge--cat {
  background: rgba(10, 10, 11, 0.55);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
}

/* Body */
.product-card__body {
  padding: 1.15rem 1.15rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.product-card__description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  flex: 1;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}
.product-card__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  color: var(--color-price);
  white-space: nowrap;
}
.product-card__price--consultar {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  font-style: italic;
  color: var(--color-consultar);
  letter-spacing: 0;
}
.product-card__add { flex-shrink: 0; }
.product-card__add svg { width: 15px; height: 15px; }
.product-card__add--added {
  background: var(--color-success) !important;
  color: var(--color-success-text) !important;
  pointer-events: none;
}
.product-card__add--added svg { display: none; }

/* ─── 14. Skeletons ─────────────────────────────────────────────────────── */

.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
  border-radius: 6px;
}
.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { 100% { transform: translateX(100%); } }

.product-card--skeleton { pointer-events: none; }
.product-card--skeleton .product-card__media { border-radius: 0; }
.skeleton--line { height: 12px; margin-bottom: 0.6rem; display: block; }
.skeleton--title { height: 16px; width: 80%; }
.skeleton--short { width: 55%; }
.skeleton--price { height: 22px; width: 38%; border-radius: 6px; }
.skeleton--btn { height: 36px; width: 84px; border-radius: var(--radius); }
.product-card--skeleton .product-card__footer { border-top-color: transparent; }

/* ─── 15. FAQ ───────────────────────────────────────────────────────────── */

.faq {
  padding-block: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
}
.faq__list {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq__item {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0 1.25rem;
  transition: border-color var(--transition), background var(--transition);
}
.faq__item:hover { border-color: var(--border-strong); }
.faq__item--open {
  border-color: var(--border-accent);
  background: linear-gradient(180deg, var(--accent-tint), transparent);
}
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-family: var(--font-body);
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  min-height: 44px;
  transition: color var(--transition);
}
.faq__question:hover { color: var(--accent); }
.faq__question:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.faq__chevron {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition), color var(--transition);
}
.faq__item--open .faq__chevron { transform: rotate(180deg); color: var(--accent); }
.faq__answer { padding: 0 0 1.25rem; }
.faq__answer p {
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
}

/* ─── 16. Cart / Quote drawer ───────────────────────────────────────────── */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1999;
  opacity: 0;
  transition: opacity var(--transition-slow);
}
.cart-overlay.active { opacity: 1; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: var(--cart-drawer-width-mobile);
  max-width: var(--cart-drawer-width);
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-strong);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  box-shadow: var(--shadow-lg);
}
.cart-drawer.active { transform: translateX(0); }

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-drawer__header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.cart-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  color: var(--text-secondary);
  transition: color var(--transition), background var(--transition);
}
.cart-drawer__close:hover { color: var(--accent); background: var(--accent-tint); }
.cart-drawer__close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cart-drawer__close svg { width: 20px; height: 20px; }

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.cart-drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 240px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.cart-drawer__empty-icon { font-size: 2.75rem; opacity: 0.8; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item__image {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--surface-1);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.25rem;
}
.cart-item__price { font-size: 0.8125rem; color: var(--color-price); font-weight: 600; }
.cart-item__price--confirm { font-style: italic; color: var(--text-muted); font-weight: 400; }

.cart-item__controls { display: flex; align-items: center; gap: 0.375rem; flex-shrink: 0; }
.cart-item__qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  min-width: 44px; min-height: 44px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.cart-item__qty-btn:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.cart-item__qty-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cart-item__qty-btn svg { width: 14px; height: 14px; }
.cart-item__qty {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  min-width: 20px;
  text-align: center;
}
.cart-item__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  min-width: 44px; min-height: 44px;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  flex-shrink: 0;
}
.cart-item__remove:hover { color: #ef4444; background: rgba(239, 68, 68, 0.10); }
.cart-item__remove:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cart-item__remove svg { width: 16px; height: 16px; }

.cart-drawer__footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
  background: var(--surface-1);
}
.cart-drawer__total {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  padding-bottom: 0.25rem;
}
#cart-total-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
#cart-total-amount {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}
.cart-drawer__whatsapp {
  width: 100%;
  background: var(--color-whatsapp);
  color: #06270F;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.95rem 1rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 4px 16px var(--color-whatsapp-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  min-height: 50px;
}
.cart-drawer__whatsapp:hover {
  background: var(--color-whatsapp-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--color-whatsapp-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.cart-drawer__whatsapp:focus-visible { outline: 2px solid var(--color-whatsapp); outline-offset: 3px; }
.cart-drawer__whatsapp svg { width: 20px; height: 20px; flex-shrink: 0; }
.cart-drawer__clear {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: color var(--transition), border-color var(--transition);
  min-height: 44px;
}
.cart-drawer__clear:hover { color: var(--text-primary); border-color: var(--text-muted); }
.cart-drawer__clear:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ─── 17. Contact ───────────────────────────────────────────────────────── */

.contact {
  padding-block: var(--section-padding);
  background: var(--bg-primary);
  position: relative;
}
.contact__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.contact__content { max-width: 560px; }
.contact__text {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.75;
}
.contact__map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: border-color var(--transition), color var(--transition), box-shadow var(--transition);
  min-height: 44px;
}
.contact__map-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.contact__map-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.contact__map-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.contact__info-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.25rem 1.4rem;
  border-bottom: 1px solid var(--border);
}
.contact__info-item:last-child { border-bottom: none; }
.contact__info-label {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact__info-value { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.55; }

/* ─── 18. Floating buttons ──────────────────────────────────────────────── */

.maps-float {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(234, 67, 53, 0.4);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
}
.maps-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(234, 67, 53, 0.6); }
.maps-float:focus-visible { outline: 3px solid #EA4335; outline-offset: 3px; }
.maps-float svg { width: 22px; height: 22px; }

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px var(--color-whatsapp-glow);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5); }
.whatsapp-float:focus-visible { outline: 3px solid var(--color-whatsapp); outline-offset: 3px; }
.whatsapp-float svg { width: 24px; height: 24px; }

/* ─── 19. Footer ────────────────────────────────────────────────────────── */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding-block: 3rem 1.75rem;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.footer__brand { max-width: 320px; }
.footer__logo { height: 40px; width: auto; margin-bottom: 1rem; }
.footer__tagline { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

.footer__col-title {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.1rem;
}
.footer__nav-list { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__nav-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition), padding-left var(--transition);
}
.footer__nav-link:hover { color: var(--accent); padding-left: 0.25rem; }
.footer__nav-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

.footer__contact-list { display: flex; flex-direction: column; gap: 0.9rem; }
.footer__contact-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  transition: color var(--transition);
}
.footer__contact-link svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; color: var(--accent); }
.footer__contact-link:hover { color: var(--text-primary); }
.footer__contact-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.footer__hours { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  padding-top: 1.75rem;
}
#footer-copyright { font-size: 0.875rem; color: var(--text-muted); }
#footer-developer { font-size: 0.8125rem; color: var(--text-muted); }
.footer__dev-link { color: var(--accent); transition: color var(--transition); }
.footer__dev-link:hover { color: var(--accent-hover); text-decoration: underline; }
.footer__dev-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.footer__links { font-size: 0.8125rem; color: var(--text-muted); }
.footer__policy-link { color: var(--text-muted); transition: color var(--transition); }
.footer__policy-link:hover { color: var(--accent); text-decoration: underline; }
.footer__policy-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (min-width: 640px) {
  .footer__top { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .footer__brand { grid-column: 1 / -1; max-width: none; }
}
@media (min-width: 900px) {
  .footer__top { grid-template-columns: 1.6fr 1fr 1.3fr 1.1fr; }
  .footer__brand { grid-column: auto; max-width: 320px; }
  .footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ─── 20. Noscript ──────────────────────────────────────────────────────── */

.noscript-fallback {
  padding: 4rem 2rem;
  text-align: center;
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-family: sans-serif;
}
.noscript-fallback h2 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--text-primary); }
.noscript-fallback p { margin-bottom: 0.75rem; }
.noscript-fallback a { color: var(--color-whatsapp); font-weight: 700; }

/* ─── 21. Quote-confirm modal ───────────────────────────────────────────── */

.quote-confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 3000;
  opacity: 0;
  transition: opacity var(--transition-slow);
}
.quote-confirm-overlay.active { opacity: 1; }
.quote-confirm-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  z-index: 3001;
  width: min(430px, calc(100vw - 2rem));
  background: var(--bg-secondary);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
  opacity: 0;
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.quote-confirm-dialog.active { opacity: 1; transform: translate(-50%, -50%); }
.quote-confirm__title {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 3vw, 1.375rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.625rem;
}
.quote-confirm__helper {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.quote-confirm__actions { display: flex; flex-direction: column; gap: 0.625rem; }

/* ─── 22. Offline banner ────────────────────────────────────────────────── */

#offline-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 2rem));
  background: var(--surface-2);
  color: var(--text-secondary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  z-index: 9999;
  transition: transform 0.3s var(--ease);
  pointer-events: none;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}
#offline-banner.is-visible { transform: translateX(-50%) translateY(0); }

/* ─── 23. Animations ────────────────────────────────────────────────────── */

@keyframes spin { to { transform: rotate(360deg); } }

/* ─── 24. Responsive ────────────────────────────────────────────────────── */

/* ≤640px — product card internals tuning for narrow 2-col grid */
@media (max-width: 640px) {
  .product-card__body { padding: 0.7rem; min-width: 0; }
  .product-card__media { aspect-ratio: 1 / 1; }
  .product-card__name {
    font-size: clamp(0.875rem, 3.4vw, 1rem);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.375rem;
    min-width: 0;
  }
  .product-card__description { display: none; }
  .product-card__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding-top: 0.6rem;
    min-width: 0;
  }
  .product-card__price { font-size: 1.05rem; white-space: normal; word-break: break-word; }
  .product-card__price--consultar { font-size: 0.8125rem; }
  .product-card__add { width: 100%; font-size: 0.85rem; padding: 0.55rem; min-height: 44px; letter-spacing: 0.03em; }
  .product-card__badge { font-size: 0.625rem; padding: 0.22rem 0.55rem; top: 0.5rem; left: 0.5rem; }
  /* featured cards keep their description hidden too — already inherited */
  .catalog__featured { padding: 1rem 0.85rem; }
}

/* ≤360px — tighten the grid gap on very narrow phones */
@media (max-width: 360px) {
  .catalog__grid { gap: 9px; }
}

/* ≥480px — restore standard gap once cards have room */
@media (min-width: 480px) {
  .catalog__grid { grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
}

/* ≥640px */
@media (min-width: 640px) {
  .catalog__search-input { max-width: 440px; }
  .catalog__controls { flex-direction: row; align-items: flex-start; flex-wrap: wrap; }
  .catalog__search { flex: 1; min-width: 240px; }
  .catalog__filters { flex-wrap: wrap; overflow-x: visible; }
}

/* ≥768px — tablet */
@media (min-width: 768px) {
  .contact__layout { grid-template-columns: 1fr 1fr; align-items: start; }
  .catalog__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ≥1024px */
@media (min-width: 1024px) {
  .catalog__grid { grid-template-columns: repeat(3, 1fr); }
  .cart-drawer { max-width: 440px; }
}

/* ≥1280px — desktop */
@media (min-width: 1280px) {
  .catalog__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ─── 25. Reduced motion ────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .hero__sweep,
  .hero__embers span { animation: none; opacity: 0; }
  .hero__scroll svg { animation: none; }
  .skeleton::after { animation: none; }
  .product-card:hover { transform: none; }
  .product-card:hover .product-card__image { transform: none; }
  .btn--primary:hover, .btn--whatsapp:hover, .value-card:hover, .how-to-quote__step:hover { transform: none; }
  .faq__chevron { transition: none; }
}
