/* ═══════════════════════════════════════════════════════════
   IMPULSO SOCIAL MX — main.css  ·  CITY NIGHT DESIGN
   Paleta extraída de: fondo.jpeg (skyline nocturno) + logo.jpeg
   ────────────────────────────────────────────────────────
   --bg       #080c18  cielo nocturno profundo
   --red      #1a7fff  azul eléctrico — ojos del robot / letras logo
   --orange   #e8901c  ámbar dorado   — ventanas del edificio
   Tipografía editorial · Logo en spotlight
═══════════════════════════════════════════════════════════ */

/* ── VARIABLES ─────────────────────────────────────────── */
:root {
  /* Backgrounds — cielo nocturno de la ciudad */
  --bg:        #080c18;   /* noche profunda */
  --bg-mid:    #0d1428;   /* capa media — nubes */
  --bg-card:   #111e38;   /* superficie edificio oscuro */
  --bg-card-h: #182848;   /* edificio iluminado hover */

  /* Primario: azul eléctrico — ojos del robot y letras "SOCIAL MX" */
  --red:       #1a7fff;
  --red-b:     #4ab8ff;

  /* Secundario: ámbar dorado — ventanas del skyline */
  --orange:    #e8901c;
  --orange-b:  #f4b040;

  /* Gradiente profundo — del ojo azul al cielo nocturno */
  --purple:    #1a4aaa;

  --green:     #10c980;
  --silver:    #8090aa;   /* cuerpo cromado del robot */
  --chrome:    #c0ccdc;   /* reflejo metálico */
  --white:     #eef2fa;   /* casi blanco con tinte azul */
  --muted:     #4a5878;   /* azul-gris neutro */

  --border:    #1c2a44;   /* borde sutil — noche */
  --border-b:  rgba(26,127,255,.28);

  --glow-red:  0 0 24px rgba(26,127,255,.55), 0 0 64px rgba(26,127,255,.15);
  --glow-green:0 0 18px rgba(16,201,128,.38);
  --glow-gold: 0 0 20px rgba(232,144,28,.5);
  --border-dim:rgba(255,255,255,.04);

  /* Gradientes */
  --grad-primary: linear-gradient(135deg, #1a7fff 0%, #1a4aaa 100%);
  --grad-gold:    linear-gradient(135deg, #e8901c 0%, #f4b040 100%);
  --grad-city:    linear-gradient(180deg, rgba(8,12,24,.0) 0%, rgba(8,12,24,.95) 100%);

  --mono:      'JetBrains Mono','SF Mono','Fira Code',monospace;
  --display:   'Rajdhani','Inter',sans-serif;
  --radius-sm: 0px;
  --radius-md: 2px;
  --radius-lg: 4px;
  --transition: .18s ease;
}

/* ── BASE ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter','Segoe UI',system-ui,-apple-system,sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

::-webkit-scrollbar         { width: 4px; height: 4px; }
::-webkit-scrollbar-track   { background: var(--bg); }
::-webkit-scrollbar-thumb   { background: var(--red); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--red-b); }

/* ── NAVBAR — 3 columnas: links | LOGO+NAME | search+cart ─ */
.navbar-5spy {
  background: rgba(8,12,24,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1.5px solid transparent;
  border-image: linear-gradient(90deg, var(--red), var(--purple), var(--orange)) 1;
  position: sticky; top: 0; z-index: 1040;
  padding: 0 20px;
  height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  will-change: box-shadow;
}
.navbar-5spy .brand {
  justify-self: center;
  display: flex; align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo {
  height: 50px;
  border-radius: 8px;
  filter: drop-shadow(0 0 12px rgba(0,92,255,.75));
  transition: filter var(--transition), transform var(--transition);
}
.brand-logo:hover {
  filter: drop-shadow(0 0 20px rgba(108,63,255,.95));
  transform: scale(1.04);
}
.brand-name {
  font-family: var(--display);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  line-height: 1.2;
  background: linear-gradient(135deg, #c0ccdc 0%, #4ab8ff 45%, #e8901c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}
@media (max-width: 900px) { .brand-name { display: none; } }

/* Left nav links */
.nav-links {
  display: flex; align-items: center; gap: 0;
}
.nav-link-btn {
  background: none; border: none;
  color: var(--silver);
  font-family: var(--display);
  font-size: .82rem; font-weight: 600;
  padding: 8px 16px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .1em;
  border-right: 1px solid var(--border);
  height: 68px;
  display: flex; align-items: center;
  position: relative;
}
.nav-link-btn::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--grad-primary);
  transition: width .25s ease;
}
.nav-link-btn:first-child { border-left: 1px solid var(--border); }
.nav-link-btn:hover  {
  color: var(--white);
  background: rgba(0,92,255,.08);
}
.nav-link-btn:hover::after { width: 100%; }
.nav-link-btn.active {
  color: var(--red-b);
  background: rgba(0,92,255,.1);
}
.nav-link-btn.active::after { width: 100%; }

/* Right group: search + cart */
.nav-right {
  display: flex; align-items: center; gap: 10px;
  justify-content: flex-end;
}
.search-wrap { position: relative; max-width: 260px; flex: 1; }
.search-input {
  width: 100%;
  background: rgba(17,30,56,.9);
  border: 1px solid var(--border);
  border-top: none; border-bottom: none;
  color: var(--white);
  padding: 9px 40px 9px 14px;
  font-size: .84rem;
  outline: none;
  transition: var(--transition);
  height: 64px;
}
.search-input:focus {
  border-color: var(--red);
  background: #161616;
  box-shadow: inset 0 -2px 0 var(--red);
}
.search-input::placeholder { color: var(--muted); }
.search-clear {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: var(--muted); font-size: .85rem;
  cursor: pointer; padding: 2px;
  transition: color var(--transition);
  display: none;
}
.search-clear:hover { color: var(--red-b); }

/* Cart btn */
.cart-btn {
  background: var(--grad-primary);
  border: none;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.cart-btn:hover { filter: brightness(1.2); box-shadow: var(--glow-red); }
.cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--green);
  color: #000;
  font-size: .55rem; font-weight: 900;
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--glow-green);
  animation: pop .3s cubic-bezier(.36,.07,.19,.97);
}
@keyframes pop {
  0%   { transform: scale(0); }
  70%  { transform: scale(1.3); }
  100% { transform: scale(1); }
}
@keyframes blink {
  0%,100% { opacity: 1; } 50% { opacity: .15; }
}

/* ── FILTER BAR ────────────────────────────────────────── */
.filter-bar {
  background: #0d1428;
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  position: sticky;
  top: 68px;
  z-index: 1030;
  height: 48px;
  display: flex;
  align-items: center;
}
.filter-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  align-items: stretch;
  height: 100%;
  width: 100%;
}
.filter-inner::-webkit-scrollbar { display: none; }
.filter-label {
  font-family: var(--display);
  font-size: .68rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  flex-shrink: 0;
  display: flex; align-items: center;
  padding: 0 14px 0 0;
}
.pill {
  border: none;
  border-right: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: var(--display);
  font-size: .76rem; font-weight: 600;
  padding: 0 16px;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 5px;
  height: 100%;
}
.pill:hover { color: var(--white); background: rgba(0,85,255,.08); }
.pill.active {
  background: var(--red);
  color: #fff;
}
.pill.active:hover { background: var(--red-b); }
.pill-platform { border-color: var(--border); color: var(--muted); }
.pill-platform:hover  { color: var(--green); background: rgba(0,187,85,.08); }
.pill-platform.active {
  background: rgba(0,187,85,.16);
  color: var(--green);
  box-shadow: inset 0 -2px 0 var(--green);
}

/* ── HERO — fondo.jpeg (skyline nocturno) como bg ───────── */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  /* Ciudad nocturna como atmósfera de marca */
  background: url('../img/fondo.jpeg') center 35% / cover no-repeat;
}
/* Overlay oscuro de ciudad — mantiene legibilidad del texto */
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg,
      rgba(8,12,24,.72) 0%,
      rgba(8,12,24,.45) 35%,
      rgba(8,12,24,.62) 65%,
      rgba(8,12,24,.92) 100%),
    linear-gradient(90deg,
      rgba(8,12,24,.65) 0%,
      transparent 55%,
      rgba(8,12,24,.4) 100%);
  pointer-events: none;
}
/* Viñeta de color de marca — ámbar cálido desde abajo */
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(232,144,28,.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(26,127,255,.12) 0%, transparent 60%);
  pointer-events: none;
}
/* .hero-bg-robot removed — hero uses fondo.jpeg only */
.hero-body {
  position: relative; z-index: 2;
  padding: 0 5%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 100vh;
}

/* Top strip — tagline */
.hero-tagline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 28px 0 0;
}
.hero-tagline .dot {
  width: 8px; height: 8px;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: blink 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
.hero-tagline span {
  font-family: var(--display);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--silver);
}

/* Main headline */
.hero-headline {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 20px 0;
}
.hero-headline h1 {
  font-family: var(--display);
  font-size: clamp(3.6rem, 11vw, 8.5rem);
  font-weight: 700;
  line-height: .9;
  text-transform: uppercase;
  letter-spacing: -.01em;
  color: var(--white);
}
.hero-headline h1 .hero-hl {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px var(--orange-b);
}
@media (max-width: 768px) {
  .hero-headline h1 .hero-hl { -webkit-text-stroke-width: 1.5px; }
}
@media (max-width: 768px) {
  .hero-headline h1 .hero-hl { -webkit-text-stroke-width: 1.5px; }
}

/* Bottom floor — stats + CTA */
.hero-floor {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--border);
}
.hero-floor-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hf-stat { display: flex; flex-direction: column; gap: 2px; }
.hf-num {
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  text-shadow: 0 0 18px rgba(232,160,32,.35);
}
.hf-lbl {
  font-family: var(--display);
  font-size: .72rem; font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.hero-floor-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  align-items: flex-end;
}
/* Typed line in hero */
.hero-typed-wrap {
  position: absolute;
  bottom: 120px; right: 5%;
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .06em;
  z-index: 2;
}

/* ── STATS BAR — only used in old pages, kept for compat ─ */
.stats-bar {
  background: #0e0e0e;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 20px;
}
.stat-item { text-align: center; padding: 8px 16px; }
.stat-number {
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--orange);
  display: block;
  line-height: 1;
  letter-spacing: .02em;
  text-shadow: 0 0 16px rgba(232,160,32,.3);
}
.stat-label {
  font-family: var(--display);
  font-size: .66rem; color: var(--muted); font-weight: 600;
  margin-top: 4px; text-transform: uppercase; letter-spacing: .14em;
}
.stat-divider { width: 1px; background: var(--border); align-self: stretch; }

/* ── SECTIONS ──────────────────────────────────────────── */
.section-bg-alt  { background: #0d1428; }
.section-bg-dark { background: #080c18; }

/* Section header — new: left accent bar + label */
.sec-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.sec-title {
  font-family: var(--display);
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-left: 14px;
  border-left: 3px solid var(--red);
}
.sec-title::after { display: none; }
.sec-badge {
  background: var(--grad-gold);
  color: #000;
  font-size: .58rem; font-weight: 800;
  padding: 3px 8px;
  text-transform: uppercase; letter-spacing: .1em;
  vertical-align: middle;
  box-shadow: 0 0 12px rgba(232,160,32,.35);
}
.divider {
  height: 1px; border: none;
  background: var(--border);
}

/* ── PRODUCT CARD — sharp, gradient top accent ──────────── */
.prod-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  border-image: var(--grad-primary) 1 0 0 0;
  overflow: hidden;
  display: flex; flex-direction: column;
  height: 100%;
  transition: box-shadow var(--transition), background var(--transition), transform var(--transition);
  position: relative;
}
.prod-card::before { display: none; }
.prod-card:hover {
  background: var(--bg-card-h);
  box-shadow: 0 0 0 1px rgba(108,63,255,.3), 0 8px 40px rgba(0,0,0,.75);
  transform: translateY(-3px);
}

.prod-img-wrap {
  background: #0a0a0a;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1/1;
  overflow: hidden;
  padding: 0;
  position: relative;
}
.prod-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.65));
  pointer-events: none;
}
.prod-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  filter: grayscale(.15);
}
.prod-card:hover .prod-img-wrap img { transform: scale(1.06); filter: grayscale(0); }

.hot-badge {
  position: absolute; top: 0; left: 0; z-index: 1;
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-size: .6rem; font-weight: 800;
  padding: 4px 10px;
  text-transform: uppercase; letter-spacing: .1em;
  animation: pulse-badge 2.5s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%,100% { box-shadow: none; }
  50%      { box-shadow: 0 0 16px rgba(0,85,255,.6); }
}

.prod-body {
  padding: 12px 14px 14px;
  display: flex; flex-direction: column; flex: 1;
}
.prod-platform {
  font-family: var(--display);
  font-size: .62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .18em; color: var(--muted); margin-bottom: 4px;
}
.prod-name  { font-size: .88rem; font-weight: 700; line-height: 1.3; margin-bottom: 5px; }
.prod-desc  { font-size: .73rem; color: var(--muted); flex: 1; line-height: 1.55; margin-bottom: 10px; }
.prod-price {
  font-family: var(--display);
  font-size: 1.25rem; font-weight: 700; margin-bottom: 11px;
  color: var(--white);
  letter-spacing: .02em;
}
.prod-price small { font-size: .6rem; color: var(--muted); font-weight: 400; }
.prod-actions { display: flex; gap: 6px; }

/* ── BUTTONS ───────────────────────────────────────────── */
.btn5 {
  background: var(--grad-primary);
  border: none; color: #fff; font-weight: 700;
  font-family: var(--display);
  padding: 12px 28px; cursor: pointer;
  transition: filter var(--transition), box-shadow var(--transition);
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .88rem; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: none;
}
.btn5:hover {
  filter: brightness(1.18);
  box-shadow: var(--glow-red);
  color: #fff;
}
.btn5:active { filter: brightness(.9); }

.btn5o {
  border: 1px solid var(--red-b); background: transparent;
  color: var(--red-b); font-weight: 700;
  font-family: var(--display);
  padding: 11px 26px; cursor: pointer;
  transition: var(--transition); display: inline-flex; align-items: center; gap: 9px;
  font-size: .88rem; letter-spacing: .1em; text-transform: uppercase;
}
.btn5o:hover {
  background: rgba(0,92,255,.14);
  color: var(--white);
  border-color: var(--purple);
  box-shadow: 0 0 0 1px rgba(108,63,255,.3);
}
.btn5o:active { filter: brightness(.9); }

.btn-buy {
  flex: 1;
  background: var(--grad-primary);
  border: none; color: #fff; font-weight: 700;
  font-family: var(--display);
  font-size: .74rem; padding: 8px 10px;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 5px;
  text-transform: uppercase; letter-spacing: .06em;
}
.btn-buy:hover { filter: brightness(1.15); box-shadow: var(--glow-red); }
.btn-buy:active { filter: brightness(.9); }

.btn-add {
  flex: 1;
  background: transparent;
  border: 1px solid var(--border); color: var(--muted);
  font-size: .74rem; padding: 8px 10px;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 5px;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .05em;
}
.btn-add:hover { background: rgba(0,85,255,.1); color: var(--white); border-color: var(--red); }
.btn-add:active { filter: brightness(.9); }

.btn-wa {
  width: 100%;
  background: #25d366;
  border: none; color: #fff; font-weight: 800;
  font-family: var(--display);
  padding: 14px; font-size: .95rem;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  text-transform: uppercase; letter-spacing: .08em;
}
.btn-wa:hover { background: #20b858; box-shadow: 0 6px 28px rgba(37,211,102,.4); }
.btn-wa:active { filter: brightness(.9); }

.btn-proceed {
  width: 100%;
  background: var(--grad-primary);
  border: none; color: #fff; font-weight: 800;
  font-family: var(--display);
  padding: 14px; font-size: .95rem;
  cursor: pointer; transition: var(--transition);
  text-transform: uppercase; letter-spacing: .08em;
}
.btn-proceed:hover { filter: brightness(1.15); box-shadow: var(--glow-red); }

/* Ripple */
.ripple { position: relative; overflow: hidden; }
.ripple-circle {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.25);
  transform: scale(0);
  animation: ripple-anim .55s linear;
  pointer-events: none;
}
@keyframes ripple-anim { to { transform: scale(4); opacity: 0; } }

/* ── REFERENCIAS ───────────────────────────────────────── */
.ref-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--red);
  padding: 28px 22px;
  text-align: center;
  margin: 6px 36px;
  transition: var(--transition);
}
.ref-card:hover { border-color: var(--red-b); box-shadow: var(--glow-red); }
.ref-avatar {
  width: 68px; height: 68px;
  object-fit: cover;
  border: 2px solid var(--red);
  margin: 0 auto 14px; display: block;
  transition: var(--transition);
}
.ref-card:hover .ref-avatar { border-color: var(--red-b); box-shadow: 0 0 20px rgba(0,85,255,.5); }
.ref-name    { font-family: var(--display); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.ref-handle  { font-size: .72rem; color: var(--muted); margin-bottom: 5px; font-family: var(--mono); }
.ref-stars   { color: #ffc400; font-size: .95rem; letter-spacing: 2px; margin: 6px 0; }
.ref-comment { font-size: .83rem; color: var(--muted); font-style: italic; margin-top: 12px; line-height: 1.7; }

.ref-grid-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  padding: 20px 18px;
  transition: var(--transition);
  height: 100%;
}
.ref-grid-card:hover {
  border-left-color: var(--red-b);
  background: var(--bg-card-h);
  box-shadow: 0 6px 30px rgba(0,0,0,.55);
  transform: translateY(-3px);
}

/* ── PLATFORM TILES ────────────────────────────────────── */
.platform-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  padding: 20px 10px;
  cursor: pointer;
  transition: var(--transition);
}
.platform-tile:hover {
  border-color: var(--red);
  background: rgba(0,85,255,.06);
  transform: translateY(-4px);
}
.platform-tile i    { font-size: 2rem; }
.platform-tile span { font-family: var(--display); font-size: .7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }

/* ── ABOUT ─────────────────────────────────────────────── */
.about-feat { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.about-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}
.about-feat:hover .about-icon { filter: brightness(1.2); box-shadow: var(--glow-red); }
.about-feat-title  { font-family: var(--display); font-weight: 700; font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; }
.about-feat-detail { font-size: .8rem; color: var(--muted); margin-top: 3px; }

/* ── ACCORDION ─────────────────────────────────────────── */
.acc5 .accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border) !important;
  border-left: 3px solid rgba(0,85,255,.3) !important;
  margin-bottom: 4px; overflow: hidden;
}
.acc5 .accordion-button {
  background: var(--bg-card); color: var(--white);
  font-weight: 600; font-size: .88rem;
}
.acc5 .accordion-button:not(.collapsed) {
  background: rgba(0,85,255,.08);
  color: var(--red-b); box-shadow: none;
  border-left: 3px solid var(--red);
}
.acc5 .accordion-button::after { filter: invert(1) brightness(1.5); }
.acc5 .accordion-body { background: rgba(0,0,0,.35); color: var(--muted); font-size: .84rem; line-height: 1.8; }

/* ── CART OFFCANVAS ────────────────────────────────────── */
.offcanvas-cart {
  background: #0d1428 !important;
  border-left: 2px solid var(--red) !important;
  max-width: 400px !important;
}
.offcanvas-cart .offcanvas-header { border-bottom: 1px solid var(--border); }

.ci {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  animation: slideIn .3s ease;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(14px); }
  to   { opacity: 1; transform: translateX(0); }
}
.ci img { width: 52px; height: 52px; object-fit: cover; border: 1px solid var(--border); flex-shrink: 0; }
.ci-info { flex: 1; min-width: 0; }
.ci-name  { font-size: .84rem; font-weight: 600; line-height: 1.3; }
.ci-price { font-family: var(--display); font-size: .82rem; color: var(--red-b); font-weight: 700; margin-top: 2px; }
.qty-row  { display: flex; align-items: center; gap: 8px; margin-top: 5px; }
.qty-btn  {
  width: 26px; height: 26px;
  border: 1px solid var(--border); background: var(--bg-card);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .8rem; transition: var(--transition);
}
.qty-btn:hover { background: var(--red); border-color: var(--red); }
.qty-num { font-size: .9rem; font-weight: 700; min-width: 20px; text-align: center; }
.qty-subtotal { font-family: var(--display); font-size: .8rem; font-weight: 700; color: var(--orange); margin-left: 6px; }

.cart-total-bar {
  padding: 16px 0;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.cart-total-label  { font-family: var(--display); font-size: .85rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.cart-total-amount {
  font-family: var(--display);
  font-size: 1.4rem; font-weight: 700;
  color: var(--white);
  letter-spacing: .02em;
}
.cart-empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.cart-empty i { font-size: 3rem; color: rgba(0,85,255,.2); display: block; margin-bottom: 14px; }

/* ── PAYMENT MODAL ─────────────────────────────────────── */
#paymentModal .modal-content {
  background: #0d1428;
  border: 1px solid rgba(26,127,255,.28);
}
#paymentModal .modal-header { border-bottom: 1px solid var(--border); background: rgba(26,127,255,.06); }
#paymentModal .modal-footer { border-top: 1px solid var(--border); }
.form5 .form-label { font-family: var(--display); color: var(--muted); font-size: .8rem; font-weight: 700; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .08em; }
.form5 .form-control,
.form5 .form-select { background: var(--bg-card); border: 1px solid var(--border); color: var(--white); border-radius: 0; }
.form5 .form-control:focus,
.form5 .form-select:focus { background: var(--bg-card-h); border-color: var(--red); box-shadow: 0 0 0 3px rgba(0,85,255,.1); color: var(--white); }
.form5 .form-control::placeholder { color: var(--muted); }
.form5 .form-select option { background: var(--bg-card); }
.pay-info-box { background: rgba(0,0,0,.5); border: 1px solid var(--border); border-left: 3px solid var(--red); padding: 14px 16px; font-size: .84rem; color: var(--muted); line-height: 1.75; }
.pay-info-box strong { color: var(--white); }
.order-row { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); padding: 5px 0; border-bottom: 1px solid var(--border); }
.order-row:last-child { border-bottom: none; }
.order-total { display: flex; justify-content: space-between; font-size: 1rem; font-weight: 800; color: var(--white); padding-top: 10px; margin-top: 5px; border-top: 1px solid rgba(0,85,255,.25); }

/* ── FAB WhatsApp ──────────────────────────────────────── */
.fab-wa {
  position: fixed;
  bottom: 22px; right: 18px;
  width: 54px; height: 54px;
  background: #25d366;
  color: #fff;
  font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  z-index: 1050;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  animation: fab-pulse 3s ease-in-out infinite;
}
.fab-wa:hover { background: #20b858; transform: scale(1.1); color: #fff; }
@keyframes fab-pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.45); }
  50%      { box-shadow: 0 4px 30px rgba(37,211,102,.75), 0 0 0 8px rgba(37,211,102,.08); }
}

/* ── TOAST ─────────────────────────────────────────────── */
#toast5 {
  position: fixed; bottom: 90px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(8,8,8,.97);
  border: 1px solid var(--green);
  border-left: 3px solid var(--green);
  color: var(--white);
  padding: 10px 22px; font-size: .84rem; z-index: 9999;
  box-shadow: 0 4px 22px rgba(0,187,85,.25);
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
  white-space: nowrap;
}
#toast5.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── PAGE HEADERS (catalogo / referencias) ─────────────── */
.page-header {
  background: #0d0d0d;
  border-bottom: 1px solid var(--border);
  padding: 48px 20px 32px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,85,255,.06) 0%, transparent 60%);
  pointer-events: none;
}
/* Big faded section number in background */
.page-header::after {
  content: attr(data-num);
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--display);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  color: rgba(0,85,255,.06);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -.05em;
}
.page-header-title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .05em;
  padding-left: 16px;
  border-left: 4px solid var(--red);
  position: relative; z-index: 1;
}
.page-header-sub { color: var(--muted); font-size: .88rem; margin-top: 8px; padding-left: 20px; }
.breadcrumb-5spy { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; padding-left: 20px; }
.breadcrumb-5spy a { color: var(--muted); font-size: .74rem; transition: color var(--transition); font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; }
.breadcrumb-5spy a:hover { color: var(--red-b); }
.breadcrumb-5spy span { color: var(--border); font-size: .7rem; }

/* ── EMPTY / NO-RESULTS ────────────────────────────────── */
.no-results { text-align: center; padding: 60px 20px; }
.no-results i { font-size: 3.5rem; color: rgba(0,85,255,.18); margin-bottom: 16px; display: block; }
.no-results p { color: var(--muted); margin-bottom: 18px; }

/* ── FOOTER ────────────────────────────────────────────── */
footer {
  background: #050a16;
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}
/* Gradient accent line at very top — ciudad de noche */
footer::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--red) 0%, #1a4aaa 40%, var(--orange) 80%, var(--orange-b) 100%);
  margin-bottom: 0;
}
.footer-logo  { height: 52px; margin-bottom: 14px; }
.footer-text  { color: var(--muted); font-size: .82rem; line-height: 1.85; }
.footer-soc a { color: var(--muted); font-size: 1.35rem; margin-right: 14px; transition: color var(--transition); }
.footer-soc a:hover { color: var(--red-b); }
.footer-link  { color: var(--muted); font-size: .8rem; display: block; padding: 3px 0; transition: var(--transition); font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; }
.footer-link:hover { color: var(--white); padding-left: 6px; }
.footer-copy  { font-family: var(--display); font-size: .68rem; color: var(--muted); text-align: center; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--border); text-transform: uppercase; letter-spacing: .1em; }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar-5spy {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    height: auto;
    padding: 10px 14px 0;
    gap: 0;
  }
  .nav-links { display: none; }
  .navbar-5spy .brand { grid-column: 1; justify-self: start; padding-bottom: 0; }
  .nav-right { grid-column: 2; padding-bottom: 0; }
  .search-input { height: 44px; }
  .hero-headline h1 { font-size: clamp(2.6rem, 12vw, 5rem); }
  .hero-typed-wrap { display: none; }
  .hero-floor { padding: 20px 0 30px; }
  .hf-num { font-size: 1.6rem; }
  .hero-floor-stats { gap: 20px; }
  .filter-bar { top: 58px; }
  .hero { min-height: 60vh; }
}
@media (max-width: 480px) {
  .hero-headline h1 { font-size: clamp(2.2rem, 13vw, 3.5rem); }
  .hero-floor-cta .btn5, .hero-floor-cta .btn5o { padding: 10px 18px; font-size: .8rem; }
}
