/* ==========================================================================
   LAPTOMASTER — SISTEMA DE DISEÑO DARK TECH (AZUL, MORADO Y TURQUESA)
   Fondo grafito profundo + acentos luminosos en azul, morado y turquesa
   ========================================================================== */

:root {
  /* Paleta de fondos oscuros */
  --bg-base: #0b0f19;
  --bg-alt: #0f1524;
  --bg-surface: #131b2e;
  --bg-surface-hover: #19233b;
  --bg-glass: rgba(11, 15, 25, 0.84);

  /* Paleta principal: Azul, Morado y Turquesa */
  --blue: #3b82f6;
  --blue-bright: #60a5fa;
  --blue-soft: rgba(59, 130, 246, 0.16);
  --purple: #8b5cf6;
  --purple-bright: #a78bfa;
  --purple-soft: rgba(139, 92, 246, 0.16);
  --turquoise: #14b8a6;
  --turquoise-bright: #2dd4bf;
  --turquoise-soft: rgba(20, 184, 166, 0.15);

  /* Estados y WhatsApp */
  --whatsapp: #16a34a;
  --whatsapp-hover: #15803d;
  --amber: #f59e0b;

  /* Texto de alto contraste sobre oscuro */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  /* Bordes y sombras */
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(139, 92, 246, 0.34);
  --shadow-sm: 0 8px 22px rgba(2, 6, 23, 0.35);
  --shadow-card: 0 14px 36px rgba(2, 6, 23, 0.5);
  --shadow-glow: 0 0 38px rgba(20, 184, 166, 0.16);

  /* Tipografía */
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --container: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --header-h: 74px;
  --transition: 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* ======================== RESET & BASE ======================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--turquoise-bright);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--turquoise);
  color: #041016;
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  border-radius: var(--radius-sm);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.text-gradient {
  background: linear-gradient(120deg, var(--blue-bright) 0%, var(--purple-bright) 52%, var(--turquoise-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-cyan {
  color: var(--turquoise-bright);
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ======================== BOTONES ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.9rem 1.5rem;
  font-size: 0.98rem;
  border-radius: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 56%, var(--turquoise) 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.36);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(45, 212, 191, 0.45);
  color: #ffffff;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(22, 163, 74, 0.28);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  box-shadow: 0 10px 26px rgba(22, 163, 74, 0.4);
}

.btn-sm {
  padding: 0.52rem 0.95rem;
  font-size: 0.84rem;
}

.btn-instagram {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 52%, #8134af 100%);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(221, 42, 123, 0.28);
}

.btn-instagram:hover {
  box-shadow: 0 10px 28px rgba(221, 42, 123, 0.42);
}

.btn-tiktok {
  background: #0f172a;
  color: #ffffff;
  border-color: rgba(45, 212, 191, 0.45);
  box-shadow: 0 8px 22px rgba(45, 212, 191, 0.16), inset 0 0 0 1px rgba(254, 44, 85, 0.25);
}

.btn-tiktok:hover {
  background: #151e34;
  border-color: #25f4ee;
  box-shadow: 0 10px 26px rgba(37, 244, 238, 0.24), 0 0 16px rgba(254, 44, 85, 0.22);
}

.social-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.reels-social-bar {
  margin-top: 2rem;
  padding: 1.5rem 1.85rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(19, 27, 46, 0.95), rgba(15, 21, 36, 0.98));
  border: 1px solid rgba(139, 92, 246, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.reels-social-bar h3 {
  font-size: 1.08rem;
  margin-top: 0.25rem;
}

.contact-socials {
  margin-top: 1.35rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-socials {
  margin-top: 1.15rem;
}

/* ======================== 1. NAVBAR FIJA ======================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  background: rgba(11, 15, 25, 0.95);
  border-bottom-color: rgba(139, 92, 246, 0.26);
  box-shadow: 0 8px 28px rgba(2, 6, 23, 0.55);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-text small {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.05rem;
}

.nav-links a {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--turquoise-bright);
}

/* Dropdown de Equipos Especializados en Navbar */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0;
  border: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--transition);
}

.nav-dropdown-trigger:hover,
.nav-dropdown.is-open .nav-dropdown-trigger {
  color: var(--turquoise-bright);
}

.dropdown-caret {
  display: inline-block;
  font-size: 0.8rem;
  transition: transform var(--transition);
}

.nav-dropdown.is-open .dropdown-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -40px;
  min-width: 500px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
  padding: 0.6rem;
  border-radius: var(--radius-md);
  background: rgba(15, 21, 36, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(139, 92, 246, 0.28);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 1050;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (hover: hover) and (min-width: 821px) {
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-dropdown:hover .dropdown-caret,
  .nav-dropdown:focus-within .dropdown-caret {
    transform: rotate(180deg);
  }
}

.nav-dropdown-menu a {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  transition: background var(--transition), color var(--transition);
}

.nav-dropdown-menu a strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-dropdown-menu a small {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.nav-dropdown-menu a:hover {
  background: linear-gradient(90deg, var(--blue-soft), var(--purple-soft));
}

.nav-dropdown-menu a:hover strong {
  color: var(--turquoise-bright);
}

.nav-cta {
  padding: 0.58rem 1rem;
  font-size: 0.88rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.menu-bar {
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ======================== 2. HERO PRINCIPAL ======================== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 4.2rem) 0 4.5rem;
  overflow: hidden;
  background: radial-gradient(circle at 20% 0%, rgba(59, 130, 246, 0.08), transparent 48%), var(--bg-base);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 35%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 35%, #000 35%, transparent 80%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(115px);
  opacity: 0.22;
  pointer-events: none;
}

.hero-glow--indigo {
  top: -120px;
  left: -100px;
  background: var(--purple);
}

.hero-glow--cyan {
  bottom: -140px;
  right: -80px;
  background: var(--turquoise);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.14), rgba(139, 92, 246, 0.14), rgba(20, 184, 166, 0.14));
  border: 1px solid rgba(45, 212, 191, 0.3);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--turquoise-bright);
  margin-bottom: 1.35rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--turquoise-bright);
  box-shadow: 0 0 12px var(--turquoise-bright);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

.hero-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.06rem;
  color: var(--text-secondary);
  max-width: 58ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-bottom: 2.4rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.hero-metrics li {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.hero-metrics strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--text-primary);
}

.hero-metrics span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Visual derecha del hero */
.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-card-caption {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: rgba(11, 15, 25, 0.92);
  border-top: 1px solid var(--border);
}

.hero-card-caption strong {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.hero-card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 15, 25, 0.92) 82%);
}

.hud-badge {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hud-badge .mono-label {
  color: var(--turquoise-bright);
}

.hud-badge strong {
  font-size: 0.92rem;
  color: #ffffff;
}

.floating-stat {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  background: rgba(15, 21, 36, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.floating-stat strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.floating-stat .stat-icon {
  font-size: 1.2rem;
}

.floating-stat--top {
  top: -18px;
  right: -14px;
}

.floating-stat--bottom {
  bottom: -18px;
  left: -14px;
}

/* ======================== SECCIONES COMUNES ======================== */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 680px;
  margin-bottom: 3rem;
}

.section-header--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.section-header--split > div:first-child {
  max-width: 620px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--turquoise-bright);
  margin-bottom: 0.65rem;
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ======================== 3. SERVICIOS ======================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 1.85rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 191, 0.36);
  box-shadow: var(--shadow-card);
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-soft), var(--purple-soft), var(--turquoise-soft));
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: var(--turquoise-bright);
  margin-bottom: 1.2rem;
}

.service-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--purple-bright);
  margin-bottom: 0.45rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.service-card > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.15rem;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.check-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--turquoise-bright);
  box-shadow: 0 0 8px var(--turquoise);
}

.card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--turquoise-bright);
  transition: gap var(--transition), color var(--transition);
}

.card-link:hover {
  color: #ffffff;
}

/* ======================== GOOGLE ADS CONTAINER ======================== */
.ad-wrapper {
  padding: 1.75rem 0;
}

.ad-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 106px;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(19, 27, 46, 0.6);
  border: 1px dashed rgba(148, 163, 184, 0.24);
  text-align: center;
}

.ad-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.ad-placeholder {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ======================== 4. CATÁLOGO DE EQUIPOS ======================== */
.filter-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.35rem;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.filter-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.filter-btn.is-active {
  background: linear-gradient(135deg, var(--blue), var(--purple), var(--turquoise));
  color: #ffffff;
}

.filter-count {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 0.1rem 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  animation: fadeUp 320ms ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.42);
  box-shadow: var(--shadow-card);
}

.product-media {
  position: relative;
  background: #080c15;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 400ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.04);
}

.product-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.26rem 0.65rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.badge--category {
  background: rgba(11, 15, 25, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.26);
  color: var(--text-primary);
}

.badge--available {
  background: rgba(22, 163, 74, 0.26);
  border: 1px solid rgba(34, 197, 94, 0.48);
  color: #86efac;
}

.badge--order {
  background: rgba(20, 184, 166, 0.24);
  border: 1px solid rgba(45, 212, 191, 0.45);
  color: #5eead4;
}

.badge--limited {
  background: rgba(245, 158, 11, 0.24);
  border: 1px solid rgba(251, 191, 36, 0.48);
  color: #fde68a;
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem;
}

.product-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.product-head h3 {
  font-size: 1.08rem;
}

.product-price {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--turquoise-bright);
  white-space: nowrap;
}

.product-highlight {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  padding: 0.85rem;
  border-radius: 10px;
  background: rgba(11, 15, 25, 0.58);
  border: 1px solid var(--border);
  margin-bottom: 1.2rem;
}

.spec-list li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.spec-list li::before {
  content: "›";
  color: var(--turquoise-bright);
  font-weight: 700;
  line-height: 1.3;
}

.product-body .btn {
  margin-top: auto;
  width: 100%;
}

.custom-build-banner {
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(139, 92, 246, 0.16), rgba(20, 184, 166, 0.12));
  border: 1px solid rgba(139, 92, 246, 0.34);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.custom-build-banner h3 {
  font-size: 1.22rem;
  margin: 0.35rem 0 0.45rem;
}

.custom-build-banner p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  max-width: 64ch;
}

/* ======================== 4B. EQUIPOS ESPECIALIZADOS ======================== */
.gamer-section {
  position: relative;
}

.brand-anchor {
  position: absolute;
  top: calc(-1 * var(--header-h) - 16px);
  left: 0;
  pointer-events: none;
}

.gamer-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.4rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.gamer-tabs--full {
  display: flex;
  width: 100%;
  margin-bottom: 1.5rem;
}

.gamer-tab {
  padding: 0.6rem 1.05rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.gamer-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.gamer-tab.is-active {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 58%, var(--turquoise) 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.28);
}

.gamer-panel {
  padding: 1.5rem 1.75rem 1.85rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid rgba(139, 92, 246, 0.24);
  box-shadow: var(--shadow-card);
  animation: fadeUp 300ms ease both;
}

.gamer-panel.is-highlighted {
  animation: gamerHighlight 950ms ease;
}

@keyframes gamerHighlight {
  0% {
    box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.45), var(--shadow-card);
    border-color: var(--purple-bright);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(45, 212, 191, 0.2), var(--shadow-card);
    border-color: var(--turquoise-bright);
  }
  100% {
    box-shadow: var(--shadow-card);
    border-color: rgba(139, 92, 246, 0.24);
  }
}

/* ======================== WALLPAPER BANNER POR MARCA ======================== */
.brand-banner {
  position: relative;
  min-height: 270px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.6rem;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.55);
}

.brand-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.brand-banner:hover .brand-banner-img,
.gamer-panel:hover .brand-banner-img {
  transform: scale(1.06);
}

.brand-banner-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 270px;
  padding: 1.5rem 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
  background: linear-gradient(
    180deg,
    rgba(9, 13, 24, 0.42) 0%,
    rgba(9, 13, 24, 0.68) 52%,
    rgba(9, 13, 24, 0.92) 100%
  );
}

.brand-banner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.brand-banner-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.88);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.brand-banner-chip {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  color: #ffffff;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(15, 23, 42, 0.55);
}

.brand-banner-copy h3 {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  margin-bottom: 0.45rem;
}

.brand-slogan {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  font-weight: 600;
  font-style: italic;
  color: #f1f5f9;
  max-width: 64ch;
  line-height: 1.4;
  padding-left: 0.9rem;
  border-left: 3px solid var(--brand-accent, #2dd4bf);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

/* Ambientación y acentos por marca */
.brand-banner--rog {
  --brand-accent: #ff2a6d;
  background: radial-gradient(circle at 20% 20%, rgba(255, 42, 109, 0.55), transparent 55%),
    radial-gradient(circle at 82% 75%, rgba(245, 158, 11, 0.45), transparent 50%),
    #0c0a14;
  border-color: rgba(255, 42, 109, 0.48);
}
.brand-banner--rog .brand-banner-chip {
  background: rgba(255, 42, 109, 0.28);
  border-color: rgba(245, 158, 11, 0.55);
}

.brand-banner--legion {
  --brand-accent: #22d3ee;
  background: radial-gradient(circle at 20% 25%, rgba(6, 182, 212, 0.5), transparent 55%),
    radial-gradient(circle at 85% 70%, rgba(224, 242, 254, 0.35), transparent 50%),
    #09131f;
  border-color: rgba(6, 182, 212, 0.48);
}
.brand-banner--legion .brand-banner-chip {
  background: rgba(6, 182, 212, 0.3);
  border-color: rgba(186, 230, 253, 0.55);
}

.brand-banner--alienware {
  --brand-accent: #a855f7;
  background: radial-gradient(circle at 22% 30%, rgba(34, 211, 238, 0.48), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.55), transparent 52%),
    #0b0a1b;
  border-color: rgba(139, 92, 246, 0.52);
}
.brand-banner--alienware .brand-banner-chip {
  background: rgba(139, 92, 246, 0.32);
  border-color: rgba(34, 211, 238, 0.55);
}

.brand-banner--msi {
  --brand-accent: #ef4444;
  background: radial-gradient(circle at 25% 25%, rgba(220, 38, 38, 0.55), transparent 55%),
    linear-gradient(135deg, #18181b 0%, #09090b 100%);
  border-color: rgba(220, 38, 38, 0.5);
}
.brand-banner--msi .brand-banner-chip {
  background: rgba(220, 38, 38, 0.32);
  border-color: rgba(248, 113, 113, 0.5);
}

.brand-banner--predator {
  --brand-accent: #3b82f6;
  background: radial-gradient(circle at 20% 25%, rgba(37, 99, 235, 0.58), transparent 55%),
    radial-gradient(circle at 85% 75%, rgba(203, 213, 225, 0.32), transparent 50%),
    #0a1120;
  border-color: rgba(59, 130, 246, 0.52);
}
.brand-banner--predator .brand-banner-chip {
  background: rgba(37, 99, 235, 0.34);
  border-color: rgba(147, 197, 253, 0.55);
}

.brand-banner--envy {
  --brand-accent: #e5c07b;
  background: radial-gradient(circle at 22% 28%, rgba(212, 175, 55, 0.42), transparent 55%),
    linear-gradient(135deg, #334155 0%, #1e293b 100%);
  border-color: rgba(212, 175, 55, 0.5);
}
.brand-banner--envy .brand-banner-chip {
  background: rgba(212, 175, 55, 0.26);
  border-color: rgba(245, 217, 139, 0.55);
}

.brand-banner--apple {
  --brand-accent: #e2e8f0;
  background: radial-gradient(circle at 18% 25%, rgba(148, 163, 184, 0.42), transparent 55%),
    radial-gradient(circle at 82% 70%, rgba(167, 139, 250, 0.34), transparent 52%),
    linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-color: rgba(148, 163, 184, 0.45);
}
.brand-banner--apple .brand-banner-chip {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.42);
}

.gamer-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin-bottom: 1.75rem;
}

.pillar-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pillar-card--power {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
  border-color: rgba(96, 165, 250, 0.2);
}

.pillar-card--lab {
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.08) 0%, rgba(59, 130, 246, 0.06) 100%);
  border-color: rgba(45, 212, 191, 0.22);
}

.pillar-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pillar-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue-bright);
  background: var(--blue-soft);
}

.pillar-badge--lab {
  color: var(--turquoise-bright);
  background: var(--turquoise-soft);
}

.pillar-card h4 {
  font-size: 1.08rem;
}

.pillar-card p {
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.pillar-card .check-list {
  margin-bottom: 0;
}

.gamer-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
}

.guarantee-seal {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-soft), var(--purple-soft), var(--turquoise-soft));
  border: 1px solid rgba(45, 212, 191, 0.28);
  font-size: 0.86rem;
  color: var(--text-primary);
}

.guarantee-seal .seal-icon {
  font-size: 1rem;
}

/* ======================== 4C. INSUMOS TÉRMICOS — THERMAL GRIZZLY ======================== */
.insumos-section {
  background: radial-gradient(circle at 88% 12%, rgba(239, 68, 68, 0.08), transparent 42%), var(--bg-base);
}

.insumos-hero-card {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  margin-bottom: 2.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(19, 27, 46, 0.96) 0%, rgba(11, 15, 25, 0.98) 100%);
  border: 1px solid rgba(239, 68, 68, 0.28);
  box-shadow: var(--shadow-card);
}

.insumos-hero-copy .section-desc {
  margin-bottom: 1.35rem;
}

.insumos-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.insumo-pill {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.34rem 0.78rem;
  border-radius: 999px;
  color: #fecaca;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.32);
}

.insumos-hero-brand {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(239, 68, 68, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.insumos-hero-brand img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #000000;
}

.insumos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.insumo-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.insumo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 68, 68, 0.42);
  box-shadow: var(--shadow-card);
}

.insumo-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0f1c;
  border-bottom: 1px solid var(--border);
}

.insumo-media--contain {
  background: #ffffff;
  padding: 1rem;
}

.insumo-media--contain img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 420ms ease;
}

.insumo-media--cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.insumo-card:hover .insumo-media img {
  transform: scale(1.04);
}

.insumo-media-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(11, 15, 25, 0.84);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(239, 68, 68, 0.45);
}

.insumo-fallback {
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.45rem;
  background: radial-gradient(circle at 30% 25%, rgba(239, 68, 68, 0.22), transparent 55%),
    linear-gradient(135deg, #131b2e 0%, #0b0f19 100%);
}

.insumo-fallback strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-primary);
}

.insumo-fallback span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.insumo-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}

.insumo-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}

.insumo-desc {
  font-size: 0.93rem;
  color: var(--text-secondary);
  margin-bottom: 1.1rem;
}

.insumo-details {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.95rem 1rem;
  border-radius: 10px;
  background: rgba(11, 15, 25, 0.58);
  border: 1px solid var(--border);
  margin-bottom: 1.3rem;
}

.insumo-details li {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.insumo-details strong {
  color: var(--turquoise-bright);
  font-weight: 600;
}

.insumo-body .btn {
  margin-top: auto;
  width: 100%;
}

.insumos-footer-note {
  margin-top: 2.25rem;
  padding: 1.75rem 2rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(139, 92, 246, 0.14), rgba(20, 184, 166, 0.12));
  border: 1px solid rgba(139, 92, 246, 0.32);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.insumos-footer-note h3 {
  font-size: 1.2rem;
  margin: 0.3rem 0 0.4rem;
}

.insumos-footer-note p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  max-width: 64ch;
}

/* ======================== 4D. PROCEDIMIENTOS REALES EN LABORATORIO ======================== */
.proc-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.4rem;
}

.proc-card {
  grid-column: span 2;
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.proc-card--wide {
  grid-column: span 3;
}

.proc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 191, 0.38);
  box-shadow: var(--shadow-card);
}

.proc-media-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #080c15;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: zoom-in;
}

.proc-media-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.proc-card:hover .proc-media-btn img {
  transform: scale(1.05);
}

.proc-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--turquoise-bright);
  background: rgba(11, 15, 25, 0.84);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(45, 212, 191, 0.36);
}

.proc-zoom-hint {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.24rem 0.62rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #ffffff;
  background: rgba(11, 15, 25, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0.85;
  transition: opacity var(--transition), background var(--transition);
}

.proc-card:hover .proc-zoom-hint {
  opacity: 1;
  background: var(--purple);
}

.proc-body {
  padding: 1.25rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.proc-body h3 {
  font-size: 1.06rem;
}

.proc-body p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Lightbox modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(4, 7, 15, 0.92);
  backdrop-filter: blur(10px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition);
}

.lightbox-close:hover {
  background: var(--purple);
}

.lightbox-content {
  max-width: min(92vw, 960px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 76vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: var(--shadow-card);
}

.lightbox-content p {
  text-align: center;
  font-size: 0.94rem;
  color: var(--text-secondary);
  max-width: 68ch;
}

/* ======================== 4E. REELS DEL LABORATORIO ======================== */
.reels-section {
  background: radial-gradient(circle at 12% 20%, rgba(139, 92, 246, 0.1), transparent 44%), var(--bg-base);
  border-bottom: 1px solid var(--border);
}

.reels-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.reels-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.reels-nav-btn:hover {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-color: transparent;
  transform: translateY(-2px);
}

.reels-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(255px, 285px);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.85rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 92, 246, 0.5) rgba(15, 21, 36, 0.6);
}

.reels-track::-webkit-scrollbar {
  height: 7px;
}

.reels-track::-webkit-scrollbar-track {
  background: rgba(15, 21, 36, 0.6);
  border-radius: 999px;
}

.reels-track::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--turquoise));
  border-radius: 999px;
}

.reel-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #060912;
  border: 1px solid rgba(139, 92, 246, 0.24);
  box-shadow: var(--shadow-card);
  scroll-snap-align: start;
  transition: transform var(--transition), border-color var(--transition);
}

.reel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 191, 0.5);
}

.reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.reel-top-bar {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.reel-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.25rem 0.62rem;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(11, 15, 25, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.reel-mute-btn {
  pointer-events: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(11, 15, 25, 0.72);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.reel-mute-btn:hover {
  background: var(--purple);
}

.reel-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.86), rgba(139, 92, 246, 0.88));
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.6);
  transition: transform var(--transition), opacity var(--transition);
}

.reel-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.reel-card.is-playing .reel-play-btn {
  opacity: 0;
  pointer-events: none;
}

.reel-overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 2.4rem 1rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 10, 18, 0.92) 72%);
  pointer-events: none;
}

.reel-overlay h3 {
  font-size: 0.96rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.reel-overlay p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ======================== 5. CONFIANZA Y RESEÑAS ======================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 3.25rem;
}

.trust-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-soft), var(--purple-soft));
  border: 1px solid rgba(139, 92, 246, 0.32);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--turquoise-bright);
  margin-bottom: 1rem;
}

.trust-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.trust-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.reviews-block {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(19, 27, 46, 0.88) 0%, rgba(15, 21, 36, 0.96) 100%);
  border: 1px solid rgba(139, 92, 246, 0.22);
  box-shadow: var(--shadow-sm);
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.rating-pill {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: var(--turquoise-soft);
  border: 1px solid rgba(45, 212, 191, 0.36);
  color: var(--turquoise-bright);
  transition: background var(--transition), color var(--transition);
}

.rating-pill:hover {
  background: rgba(20, 184, 166, 0.26);
  color: #ffffff;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.review-card {
  margin: 0;
  padding: 1.35rem;
  border-radius: var(--radius-md);
  background: rgba(11, 15, 25, 0.68);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.review-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.review-card footer {
  display: flex;
  flex-direction: column;
}

.review-card strong {
  font-size: 0.92rem;
  color: var(--text-primary);
}

.review-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ======================== PREGUNTAS FRECUENTES (ACORDEÓN) ======================== */
.faq-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

.faq-intro .section-desc {
  margin-bottom: 1.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item.is-open {
  border-color: rgba(45, 212, 191, 0.38);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  background: transparent;
  border: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-chevron {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--turquoise-bright);
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  background: var(--purple);
  color: #ffffff;
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 260ms ease;
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-panel-inner p {
  padding: 0 1.35rem 1.25rem;
  font-size: 0.93rem;
  color: var(--text-secondary);
}

/* ======================== 6. CONTACTO Y MAPA ======================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.75rem;
  align-items: stretch;
}

.contact-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.contact-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.4rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.85rem;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}

.contact-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--turquoise-bright);
}

.contact-muted {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.contact-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.map-card {
  min-height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  box-shadow: var(--shadow-card);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) contrast(95%);
}

/* ======================== 7. FOOTER ======================== */
.site-footer {
  padding: 3.75rem 0 2rem;
  background: #070a12;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1.15fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 44ch;
}

.footer-col h4 {
  font-size: 0.98rem;
  margin-bottom: 0.9rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--turquoise-bright);
}

.footer-note {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ======================== BOTÓN FLOTANTE WHATSAPP ======================== */
.wa-fab {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 950;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(22, 163, 74, 0.42);
  transition: transform var(--transition), background var(--transition);
}

.wa-fab:hover {
  transform: translateY(-3px) scale(1.05);
  background: var(--whatsapp-hover);
}

/* ======================== RESPONSIVIDAD ======================== */
@media (max-width: 1024px) {
  .hero-grid,
  .insumos-hero-card,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 680px;
    margin-inline: auto;
  }

  .catalog-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(11, 15, 25, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 34px rgba(2, 6, 23, 0.65);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .nav-links a {
    font-size: 1rem;
  }

  /* Submenú móvil desplegable */
  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    font-size: 1rem;
    padding: 0.25rem 0;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    grid-template-columns: 1fr;
    margin-top: 0.5rem;
    padding: 0.35rem;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--bg-surface);
    border: 1px solid var(--border);
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
  }

  .proc-grid {
    grid-template-columns: 1fr;
  }

  .proc-card,
  .proc-card--wide {
    grid-column: span 1;
  }

  .gamer-pillars,
  .insumos-grid,
  .services-grid,
  .catalog-grid,
  .reviews-grid,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .insumos-hero-card,
  .insumos-footer-note {
    padding: 1.4rem;
  }

  .insumos-footer-note .btn {
    width: 100%;
  }

  .gamer-panel {
    padding: 1.35rem;
  }

  .gamer-panel-footer .btn {
    width: 100%;
  }

  .floating-stat {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: calc(var(--header-h) + 2.6rem);
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .custom-build-banner {
    padding: 1.4rem;
  }

  .brand-banner,
  .brand-banner-overlay {
    min-height: 225px;
  }

  .brand-banner-overlay {
    padding: 1.15rem;
  }

  .guarantee-seal {
    border-radius: var(--radius-sm);
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
