/* ==========================================================================
   ORION GAMERS — Estilos Principales
   Minimalista · Modo Dual (Dark / Light) · Multi-página
   ========================================================================== */

/* ─── VARIABLES ─── */
:root {
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --speed: .3s;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-full: 9999px;
  --wa: #25d366;
  --wa-hover: #1ead57;
  --wa-glow: rgba(37, 211, 102, .35);
}

/* ─── DARK THEME ─── */
[data-theme="dark"] {
  --bg-0: #0f172a;
  --bg-1: #1e293b;
  --bg-2: #334155;
  --bg-glass: rgba(15, 23, 42, .92);
  --text-1: #f1f5f9;
  --text-2: #cbd5e1;
  --text-3: #94a3b8;
  --accent: #38bdf8;
  --accent-dim: rgba(56, 189, 248, .10);
  --accent-glow: rgba(56, 189, 248, .25);
  --orange: #0ea5e9;
  --orange-glow: rgba(14, 165, 233, .20);
  --border: rgba(148, 163, 184, .12);
  --border-accent: rgba(56, 189, 248, .25);
  --shadow: 0 8px 32px rgba(0,0,0,.60);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.35);
}

/* ─── LIGHT THEME ─── */
[data-theme="light"] {
  --bg-0: #f1f5f9;
  --bg-1: #ffffff;
  --bg-2: #e2e8f0;
  --bg-glass: rgba(241, 245, 249, .92);
  --text-1: #0f172a;
  --text-2: #334155;
  --text-3: #64748b;
  --accent: #0284c7;
  --accent-dim: rgba(2, 132, 199, .08);
  --accent-glow: rgba(2, 132, 199, .16);
  --orange: #0369a1;
  --orange-glow: rgba(3, 105, 161, .12);
  --border: rgba(15, 23, 42, .10);
  --border-accent: rgba(2, 132, 199, .25);
  --shadow: 0 8px 32px rgba(0,0,0,.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.05);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: all var(--speed) var(--ease); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.accent { color: var(--accent); }

/* ─── GRADIENT TEXT ─── */
.gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; border: none; cursor: pointer;
  border-radius: var(--r-sm); transition: all var(--speed) var(--ease);
  font-size: .92rem; text-decoration: none;
}
.btn-sm { padding: 8px 18px; font-size: .84rem; }
.btn-primary {
  background: var(--accent); color: #0f172a; font-weight: 800;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.12); box-shadow: 0 8px 24px var(--accent-glow); }
.btn-whatsapp {
  background: var(--wa); color: #fff;
  padding: 14px 28px; border-radius: var(--r-sm);
  box-shadow: 0 4px 16px var(--wa-glow);
}
.btn-whatsapp:hover { background: var(--wa-hover); transform: translateY(-2px); box-shadow: 0 8px 24px var(--wa-glow); }
.btn-ghost {
  background: transparent; color: var(--text-2);
  padding: 14px 28px; border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-dim); }
.btn-outline {
  background: transparent; color: var(--text-2);
  padding: 12px 24px; border: 1px solid var(--border);
}
.btn-outline:hover { color: var(--accent); border-color: var(--accent); }

/* ─── HEADER ─── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--speed) var(--ease), border var(--speed) var(--ease);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; }
.logo img {
  width: 52px; height: 52px; border-radius: 8px;
  object-fit: cover;
}
[data-theme="dark"] .logo img { mix-blend-mode: lighten; }
[data-theme="light"] .logo img { mix-blend-mode: darken; }
.logo-name { font-size: 1.35rem; font-weight: 800; letter-spacing: .5px; }

/* Nav */
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: .88rem; font-weight: 600; color: var(--text-2);
  padding: 6px 14px; border-radius: var(--r-full);
}
.nav-link:hover, .nav-link.active { color: var(--accent); background: var(--accent-dim); }
.nav-highlight { font-weight: 700; color: var(--orange); }
.nav-highlight:hover { color: var(--orange); background: var(--orange-glow); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 10px; }

/* Theme toggle */
.theme-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--border);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--text-1); transition: all var(--speed) var(--ease);
}
.theme-btn:hover { border-color: var(--accent); transform: scale(1.08); }
.theme-btn svg {
  width: 18px; height: 18px; display: block;
}
[data-theme="dark"] .theme-icon-moon { display: none; }
[data-theme="dark"] .theme-icon-sun { display: block; color: var(--accent); }
[data-theme="light"] .theme-icon-sun { display: none; }
[data-theme="light"] .theme-icon-moon { display: block; color: var(--text-1); }

/* Menu button mobile */
.menu-btn {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 24px; position: relative;
  flex-direction: column; justify-content: space-between;
}
.menu-btn span {
  display: block; width: 100%; height: 2px; background: var(--text-1);
  border-radius: 2px; transition: all .3s ease;
}
.menu-btn.open span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* ─── HERO ─── */
.hero {
  padding: 80px 0 60px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -30%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(80px); opacity: .5; pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 56px; position: relative; z-index: 1;
}

/* Hero text */
.hero-text { display: flex; flex-direction: column; gap: 20px; }
.hero-eyebrow {
  font-size: .82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--accent);
}
.hero-title {
  font-size: 3.2rem; font-weight: 800; line-height: 1.1;
  letter-spacing: -1px;
}
.hero-sub {
  font-size: 1.08rem; color: var(--text-2); line-height: 1.7;
  max-width: 480px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* Hero visual */
.hero-visual { display: flex; justify-content: center; position: relative; }
.hero-card { position: relative; width: 100%; max-width: 460px; }
.hero-glow {
  position: absolute; inset: -16px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--accent-glow), var(--orange-glow));
  filter: blur(32px); opacity: .6;
}
.hero-img {
  position: relative; z-index: 1; width: 100%; height: 440px;
  object-fit: cover; border-radius: var(--r-lg);
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow);
}
.hero-img-caption {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(5,8,22,.92) 0%, transparent 100%);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  font-size: .82rem; color: #c8d0e8; line-height: 1.5;
  display: flex; align-items: center; gap: 10px;
}
.pill {
  flex-shrink: 0; background: var(--accent); color: #0d0d0d;
  font-size: .68rem; font-weight: 800; text-transform: uppercase;
  padding: 3px 8px; border-radius: var(--r-full);
}

/* ─── QUICK LINKS (SERVICE CARDS) ─── */
.quick-links { padding: 20px 0 80px; }
.cards-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.service-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 28px 24px;
  position: relative; overflow: hidden;
  transition: all var(--speed) var(--ease); cursor: pointer;
}
.service-card:hover {
  border-color: var(--accent); transform: translateY(-4px);
  box-shadow: var(--shadow), 0 0 0 1px var(--accent);
}
.card-featured {
  border-color: var(--orange-glow);
  background: linear-gradient(135deg, var(--bg-1) 60%, var(--orange-glow) 180%);
}
.card-icon {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  background: var(--bg-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); transition: all var(--speed) var(--ease);
}
.card-featured .card-icon {
  color: var(--orange); border-color: rgba(255, 107, 0, 0.25);
  background: rgba(255, 107, 0, 0.08);
}
.card-icon svg { width: 22px; height: 22px; display: block; }
.service-card:hover .card-icon { border-color: var(--accent); transform: scale(1.05); }
.card-featured:hover .card-icon { border-color: var(--orange); }
.service-card h3 { font-size: 1.05rem; font-weight: 700; }
.service-card p { font-size: .84rem; color: var(--text-2); line-height: 1.5; flex-grow: 1; }
.card-arrow {
  align-self: flex-end; font-size: 1.2rem; color: var(--text-3);
  transition: all var(--speed) var(--ease);
}
.service-card:hover .card-arrow { color: var(--accent); transform: translateX(4px); }
.card-featured:hover .card-arrow { color: var(--orange); }

/* ─── SECTION HEADER ─── */
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 2rem; font-weight: 800; letter-spacing: -.5px; }
.section-header p { color: var(--text-2); margin-top: 6px; font-size: .96rem; }
.gallery-cta { text-align: center; margin-top: 32px; }

/* ─── CAROUSEL ─── */
.carousel-section { padding: 60px 0 80px; }
.carousel {
  position: relative; width: 100%; max-width: 860px; margin: 0 auto;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--bg-2); box-shadow: var(--shadow);
}

/* Crossfade animation */
@keyframes crossfade {
  from { opacity: 0; transform: scale(1.03); }
  to   { opacity: 1; transform: scale(1); }
}
.carousel-img {
  width: 100%; height: 420px; object-fit: cover; display: block;
}
.carousel-img.fade { animation: crossfade .45s cubic-bezier(.16,1,.3,1) forwards; }

/* Overlay */
.carousel-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 28px;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 65%, transparent 100%);
}
.carousel-overlay.fade { animation: crossfade .45s cubic-bezier(.16,1,.3,1) forwards; }
.carousel-counter {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2.5px; color: var(--accent); margin-bottom: 4px;
}
.carousel-title {
  font-size: 1.2rem; font-weight: 700; color: #fff;
}
.carousel-desc {
  font-size: .86rem; color: #c0c8de; margin-top: 3px; line-height: 1.5;
}

/* Arrows */
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(0,0,0,.45); border: none; color: #fff;
  font-size: 1.6rem; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: all .25s var(--ease); backdrop-filter: blur(4px);
}
.carousel-arrow:hover { background: var(--accent); color: #0d0d0d; }
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }

/* Dots */
.carousel-dots {
  position: absolute; top: 14px; right: 16px;
  display: flex; gap: 5px;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: var(--r-full);
  background: rgba(255,255,255,.35); border: none; cursor: pointer;
  transition: all .3s var(--ease); padding: 0;
}
.carousel-dot:hover { background: rgba(255,255,255,.65); }
.carousel-dot.active {
  width: 22px; background: var(--accent);
}

/* Progress bar */
.carousel-progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: rgba(255,255,255,.1);
}
.carousel-progress-bar {
  height: 100%; background: var(--accent); border-radius: 0 3px 3px 0;
  width: 0;
}
.carousel-progress-bar.running {
  animation: progressFill 5s linear forwards;
}
@keyframes progressFill {
  from { width: 0; }
  to   { width: 100%; }
}

/* ─── TRUST BAND ─── */
.trust-band {
  padding: 32px 0;
  background: var(--bg-1); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-row {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 32px;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .86rem; font-weight: 600; color: var(--text-2);
}
.trust-icon {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0;
}
.trust-icon svg { width: 18px; height: 18px; display: block; }

/* ─── FOOTER ─── */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 20px; text-align: center;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 1rem; font-weight: 800;
}
.footer-brand img { width: 32px; height: 32px; border-radius: 6px; object-fit: cover; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: .88rem; font-weight: 600; color: var(--text-2); }
.footer-links a:hover { color: var(--accent); }
.footer-contact { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-contact a { display: inline-flex; color: var(--text-3); }
.footer-contact a:hover { color: var(--accent); }
.footer-copy { font-size: .78rem; color: var(--text-3); margin-top: 8px; }

/* ─── WHATSAPP FAB ─── */
.wa-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px var(--wa-glow);
  transition: transform .3s var(--ease);
}
.wa-fab:hover { transform: scale(1.1); background: var(--wa-hover); }
.wa-fab svg { position: relative; z-index: 2; }
.wa-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--wa); opacity: .5;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ─── SCROLL MARGIN FOR ANCHORS ─── */
section[id] {
  scroll-margin-top: 80px;
}

/* ─── SECTION HEADERS & BADGES ─── */
.section-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 4px 14px;
  border-radius: var(--r-full);
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--text-1);
}
.section-desc {
  color: var(--text-2);
  margin-top: 8px;
  font-size: .98rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ─── MANTENIMIENTO ESPECIALIZADO ─── */
.maintenance-section {
  padding: 70px 0 60px;
  position: relative;
}
.maint-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.maint-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  padding: 32px 26px;
  position: relative;
  overflow: hidden;
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.maint-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.maint-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: transparent;
  transition: background var(--speed) var(--ease);
}
.maint-card-gamer:hover {
  border-color: #00e5ff;
  box-shadow: 0 12px 36px rgba(0, 229, 255, 0.15);
}
.maint-card-gamer::before {
  background: linear-gradient(90deg, #00e5ff, #38bdf8);
}
.maint-card-corp:hover {
  border-color: #3b82f6;
  box-shadow: 0 12px 36px rgba(59, 130, 246, 0.15);
}
.maint-card-corp::before {
  background: linear-gradient(90deg, #3b82f6, #6366f1);
}
.maint-card-laptop:hover {
  border-color: #10b981;
  box-shadow: 0 12px 36px rgba(16, 185, 129, 0.15);
}
.maint-card-laptop::before {
  background: linear-gradient(90deg, #10b981, #06b6d4);
}
.maint-card-ps5:hover {
  border-color: #0070d1;
  box-shadow: 0 12px 36px rgba(0, 112, 209, 0.25);
}
.maint-card-ps5::before {
  background: linear-gradient(90deg, #0070d1, #00f0ff);
}

.maint-card-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.maint-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--bg-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all var(--speed) var(--ease);
}
.maint-card-corporate .maint-icon-badge { color: #f59e0b; border-color: rgba(245, 158, 11, 0.25); }
.maint-card-laptop .maint-icon-badge { color: #10b981; border-color: rgba(16, 185, 129, 0.25); }
.maint-card-ps5 .maint-icon-badge { color: #0070d1; border-color: rgba(0, 112, 209, 0.25); }
.maint-icon-badge svg {
  width: 24px;
  height: 24px;
  display: block;
}
.maint-tag {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-2);
}
.maint-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-1);
}
.maint-card-desc {
  font-size: .88rem;
  color: var(--text-2);
  line-height: 1.55;
}

.maint-card-body {
  flex-grow: 1;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-bottom: 24px;
}
.maint-features-title {
  font-size: .80rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--text-2);
  margin-bottom: 14px;
}
.maint-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.maint-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .86rem;
  color: var(--text-2);
  line-height: 1.45;
}
.maint-checklist li strong {
  color: var(--text-1);
}
.check-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 900;
  margin-top: 2px;
}

.maint-card-footer {
  margin-top: auto;
}
.maint-cta-btn {
  width: 100%;
  justify-content: center;
  padding: 12px 18px;
  font-size: .88rem;
}

/* ─── TARJETA COMPARATIVA DE VIDEOS ANTES Y DESPUÉS ─── */
.video-showcase-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 38px 32px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.video-showcase-header {
  text-align: center;
  margin-bottom: 28px;
}
.video-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 4px 14px;
  border-radius: var(--r-full);
  margin-bottom: 10px;
}
.video-showcase-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -.3px;
}
.video-showcase-desc {
  font-size: .92rem;
  color: var(--text-2);
  max-width: 680px;
  margin: 8px auto 0;
  line-height: 1.6;
}
.video-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.video-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.video-box:hover {
  transform: translateY(-4px);
}
.video-box-before:hover {
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 10px 28px rgba(239, 68, 68, 0.12);
}
.video-box-after:hover {
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.12);
}
.video-box-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-full);
  align-self: flex-start;
}
.badge-before {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
}
.badge-after {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.25);
}
.dot-red {
  color: #ef4444;
  font-size: .9rem;
}
.dot-green {
  color: #22c55e;
  font-size: .9rem;
}
.aspect-pill {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-3);
  background: var(--bg-1);
  padding: 3px 8px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
}

.video-box-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
  aspect-ratio: 478 / 850;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.video-wrapper:hover {
  border-color: #38bdf8;
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.2);
}
.showcase-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

.btn-expand-trigger {
  width: 100%;
  max-width: 250px;
  margin: 10px auto 0;
  padding: 10px 16px;
  font-size: .84rem;
  font-weight: 700;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  background: var(--bg-1);
  border: 1px solid var(--border);
  color: var(--text-1);
  transition: all var(--speed) var(--ease);
}
.btn-expand-trigger:hover {
  transform: translateY(-2px);
  border-color: #38bdf8;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.25);
}
.btn-expand-before:hover {
  border-color: #ef4444;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.2);
}
.btn-expand-after:hover {
  border-color: #22c55e;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.2);
}
.btn-expand-after:hover {
  border-color: #22c55e;
  color: #22c55e;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.2);
}

.video-box-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}
.video-box-info h4 {
  font-size: .94rem;
  font-weight: 700;
  color: var(--text-1);
}
.video-box-info ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.video-box-info li {
  font-size: .84rem;
  color: var(--text-2);
  line-height: 1.45;
  position: relative;
  padding-left: 16px;
}
.video-box-info li::before {
  content: "•";
  position: absolute;
  left: 2px;
  top: 0;
  color: var(--text-3);
  font-size: 1rem;
}
.video-showcase-footer {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.video-footer-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--text-2);
  max-width: 620px;
  line-height: 1.5;
}
.sparkle-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* ─── TARJETA PROCESO MANTENIMIENTO PLAYSTATION 5 (PS5) ─── */
.ps5-showcase-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 38px 32px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.ps5-showcase-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0070d1, #00f0ff, #0070d1);
}
.ps5-showcase-header {
  text-align: center;
  margin-bottom: 28px;
}
.ps5-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #38bdf8;
  background: rgba(0, 112, 209, 0.14);
  border: 1px solid rgba(0, 112, 209, 0.35);
  padding: 4px 14px;
  border-radius: var(--r-full);
  margin-bottom: 10px;
}
.ps5-showcase-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -.3px;
}
.ps5-showcase-desc {
  font-size: .92rem;
  color: var(--text-2);
  max-width: 720px;
  margin: 8px auto 0;
  line-height: 1.6;
}
.ps5-showcase-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
}

/* Reproductor Columna Izquierda */
.ps5-player-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.ps5-player-box:hover {
  border-color: rgba(0, 112, 209, 0.45);
  box-shadow: 0 10px 28px rgba(0, 112, 209, 0.15);
}
.ps5-player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.ps5-phase-pill {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 4px 10px;
  border-radius: var(--r-full);
}
.ps5-video-wrapper {
  max-width: 100%;
  aspect-ratio: 848 / 478;
}
.ps5-main-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}
.btn-expand-ps5:hover {
  border-color: #0070d1;
  color: #38bdf8;
  background: rgba(0, 112, 209, 0.12);
  box-shadow: 0 4px 14px rgba(0, 112, 209, 0.25);
}
.ps5-phase-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}
.ps5-phase-info h4 {
  font-size: .94rem;
  font-weight: 700;
  color: var(--text-1);
}
.ps5-phase-info p {
  font-size: .84rem;
  color: var(--text-2);
  line-height: 1.45;
}

/* Columna Derecha: Variantes */
.ps5-variants-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ps5-variants-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}
.ps5-variants-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ps5-variants-icon {
  font-size: 1.5rem;
  line-height: 1;
}
.ps5-variants-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-1);
  margin: 0;
}
.ps5-variants-subtitle {
  font-size: .82rem;
  color: var(--text-3);
  margin-top: 2px;
}
.ps5-variants-counter {
  font-size: .78rem;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 4px 10px;
  border-radius: var(--r-full);
}
.ps5-variants-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ps5-variant-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  text-align: left;
  transition: all var(--speed) var(--ease);
  position: relative;
  width: 100%;
}
.ps5-variant-item:hover {
  transform: translateX(4px);
  border-color: rgba(0, 112, 209, 0.45);
  background: rgba(0, 112, 209, 0.04);
}
.ps5-variant-item.active {
  border-color: #0070d1;
  background: rgba(0, 112, 209, 0.10);
  box-shadow: 0 4px 20px rgba(0, 112, 209, 0.18);
}
.ps5-variant-num {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text-3);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--speed) var(--ease);
}
.ps5-variant-item.active .ps5-variant-num {
  background: #0070d1;
  color: #fff;
  box-shadow: 0 0 12px rgba(0, 112, 209, 0.5);
}
.ps5-variant-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ps5-variant-badge {
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #38bdf8;
}
.ps5-variant-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.3;
}
.ps5-variant-desc {
  font-size: .82rem;
  color: var(--text-2);
  line-height: 1.4;
}
.ps5-variant-play {
  font-size: .9rem;
  color: var(--text-3);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--speed) var(--ease);
}
.ps5-variant-item:hover .ps5-variant-play,
.ps5-variant-item.active .ps5-variant-play {
  background: #0070d1;
  border-color: #0070d1;
  color: #fff;
  transform: scale(1.1);
}

/* ─── MODAL LIGHTBOX PARA VIDEOS (FORMATO ORIGINAL) ─── */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.video-modal.active {
  display: flex;
  opacity: 1;
}
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 22, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
}
.video-modal-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  padding: 16px;
  margin: auto;
}
.video-modal-dialog {
  background: var(--bg-1);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  max-height: 94vh;
  animation: modalPopIn .3s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes modalPopIn {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.video-modal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.video-modal-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.video-modal-close {
  background: var(--bg-1);
  border: 1px solid var(--border);
  color: var(--text-1);
  font-size: .84rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all .2s var(--ease);
}
.video-modal-close:hover {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
}
.video-modal-viewport {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  max-height: 72vh;
  overflow: hidden;
}
.video-modal-player {
  width: auto;
  max-width: 100%;
  max-height: 68vh;
  aspect-ratio: 478 / 850;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: var(--r-sm);
  box-shadow: 0 8px 30px rgba(0,0,0,0.7);
}
.video-modal-bottombar {
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.video-modal-meta h4 {
  font-size: .95rem;
  font-weight: 800;
  color: var(--text-1);
}
.video-modal-meta p {
  font-size: .82rem;
  color: var(--text-2);
  margin-top: 2px;
}
.video-modal-nav {
  display: flex;
  gap: 8px;
}
.btn-modal-switch {
  background: var(--bg-1);
  border: 1px solid var(--border);
  color: var(--text-1);
  font-size: .78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.btn-modal-switch:hover,
.btn-modal-switch.active {
  border-color: #38bdf8;
  color: #38bdf8;
  background: var(--accent-dim);
}

/* ─── TARJETA VIP DE AGENDAMIENTO RÁPIDO ─── */
.fast-booking-card {
  position: relative;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border-accent);
  padding: 36px 40px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.fast-booking-glow {
  position: absolute;
  top: -50px; right: -50px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.fast-booking-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.fast-booking-info {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pill-gold {
  display: inline-block;
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 3px 12px;
  border-radius: var(--r-full);
}
.fast-booking-info h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-1);
  line-height: 1.25;
}
.fast-booking-info p {
  font-size: .92rem;
  color: var(--text-2);
  line-height: 1.6;
}
.fast-booking-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.booking-pill {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-1);
  background: var(--bg-0);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: var(--r-sm);
}
.fast-booking-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn-booking-lg {
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: var(--r-md);
  font-weight: 800;
}
.booking-note {
  font-size: .78rem;
  color: var(--text-3);
  text-align: center;
}

/* ─── SERVICIOS INTEGRALES (GRID DE 6) ─── */
.services-section {
  padding: 70px 0 80px;
  background: var(--bg-0);
  border-top: 1px solid var(--border);
}
.services-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-box {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.service-box:hover {
  transform: translateY(-5px);
  border-color: #38bdf8;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(56, 189, 248, 0.2);
}
.service-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.service-box-icon {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  background: var(--bg-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); transition: all var(--speed) var(--ease);
}
.service-box:hover .service-box-icon {
  border-color: var(--accent); transform: scale(1.06);
}
.service-box-icon svg {
  width: 22px; height: 22px; display: block;
}
.service-box-num {
  font-size: .85rem;
  font-weight: 800;
  color: var(--text-3);
  font-family: monospace;
  letter-spacing: 1px;
}
.service-box-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
  line-height: 1.35;
}
.service-box-desc {
  font-size: .86rem;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}
.service-box-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: auto;
  transition: gap var(--speed) var(--ease), color var(--speed) var(--ease);
}
.service-box-link span {
  transition: transform var(--speed) var(--ease);
}
.service-box:hover .service-box-link {
  color: #7dd3fc;
}
.service-box:hover .service-box-link span {
  transform: translateX(4px);
}

/* ─── EQUIPMENT TIER BADGES ─── */
.equipment-tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--r-full);
  border: 1px solid;
  letter-spacing: .3px;
}
.tier-consumo {
  background: rgba(56, 189, 248, .10);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, .30);
}
.tier-corporativo {
  background: rgba(99, 102, 241, .10);
  color: #818cf8;
  border-color: rgba(99, 102, 241, .30);
}
.tier-gamer {
  background: rgba(52, 211, 153, .10);
  color: #34d399;
  border-color: rgba(52, 211, 153, .30);
}

/* ─── CATÁLOGO OFICIAL ─── */
.catalog-hero {
  padding: 60px 0 30px;
  position: relative;
}
.catalog-hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--text-1);
  margin-top: 10px;
}
.catalog-hero-desc {
  color: var(--text-2);
  margin-top: 10px;
  font-size: 1.05rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Barra de Filtros */
.catalog-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  padding: 8px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-2);
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.filter-btn:hover {
  color: var(--text-1);
  background: var(--bg-2);
}
.filter-btn.active {
  background: var(--accent);
  color: #0d0d0d;
  font-weight: 800;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.filter-count {
  display: inline-block;
  font-size: .72rem;
  padding: 2px 7px;
  border-radius: var(--r-full);
  background: rgba(0,0,0,0.18);
  color: inherit;
}
[data-theme="dark"] .filter-btn:not(.active) .filter-count {
  background: rgba(255,255,255,0.08);
  color: var(--text-2);
}

/* Grilla del Catálogo */
.catalog-section {
  padding: 24px 0 70px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 10px;
}

/* Tarjeta del Catálogo */
.catalog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all .35s var(--ease);
  position: relative;
}
.catalog-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow), 0 0 20px var(--accent-glow);
}
.catalog-card.hidden {
  display: none !important;
}

/* Medios / Imagen */
.catalog-card-media {
  position: relative;
  width: 100%;
  height: 250px;
  background: #000;
  overflow: hidden;
  cursor: pointer;
}
.catalog-card-media:focus {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.catalog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.catalog-card:hover .catalog-card-media img {
  transform: scale(1.06);
}
.catalog-card-media.banner-format {
  height: 280px;
  background: linear-gradient(180deg, #090910 0%, #15102a 100%);
}
.catalog-card-media.banner-format img {
  object-fit: contain;
  padding: 8px;
}

/* Overlay interactivo para ampliar */
.catalog-media-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  z-index: 3;
}
.catalog-card-media:hover .catalog-media-overlay,
.catalog-card-media:focus .catalog-media-overlay {
  opacity: 1;
}
.overlay-badge {
  background: rgba(0, 240, 255, 0.95);
  color: #080c16;
  font-size: .76rem;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: var(--r-full);
  box-shadow: 0 4px 16px rgba(0, 240, 255, 0.4);
  transform: translateY(8px);
  transition: transform 0.3s var(--ease);
  pointer-events: none;
}
.catalog-card-media:hover .overlay-badge,
.catalog-card-media:focus .overlay-badge {
  transform: translateY(0);
}

/* Insignias de la Tarjeta */
.catalog-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-full);
  letter-spacing: .5px;
}
.pill-cyan {
  background: #38bdf8;
  color: #0d0d0d;
}
.pill-green {
  background: var(--accent);
  color: #0d0d0d;
}
.pill-gold {
  background: #eab308;
  color: #0d0d0d;
}
.pill-purple {
  background: #a855f7;
  color: #ffffff;
}

/* Contador de fotos / variantes en tarjeta */
.catalog-variants-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: rgba(6, 8, 16, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Cuerpo de la Tarjeta */
.catalog-card-body {
  display: flex;
  flex-direction: column;
  padding: 22px;
  flex-grow: 1;
}
.catalog-category-tag {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 6px;
}
.catalog-item-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-1);
  line-height: 1.3;
  margin-bottom: 8px;
}
.catalog-item-desc {
  font-size: .86rem;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 14px;
}
.catalog-item-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  font-size: .82rem;
  color: var(--text-2);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.catalog-item-specs li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.catalog-item-specs li span {
  color: var(--accent);
  font-weight: 800;
}

/* Footer de la Tarjeta */
.catalog-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.catalog-stock-status {
  font-size: .76rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.catalog-stock-status::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
  flex-shrink: 0;
}
.catalog-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.btn-catalog-view {
  width: 100%;
  justify-content: center;
  padding: 9px 14px;
  font-size: .84rem;
  font-weight: 700;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-1);
  transition: all .25s var(--ease);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-catalog-view:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--accent-glow);
}
.btn-catalog-quote {
  width: 100%;
  justify-content: center;
  padding: 10px 16px;
  font-size: .86rem;
  border-radius: var(--r-sm);
}

/* Banner de Cotización Custom */
.catalog-custom-cta {
  padding: 0 0 80px;
}
.custom-cta-card {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.custom-cta-glow {
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle at 70% 50%, var(--accent-glow) 0%, transparent 60%);
  opacity: .35;
  pointer-events: none;
}
.custom-cta-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 36px;
}
.custom-cta-text h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-1);
  margin: 10px 0 8px;
  line-height: 1.25;
}
.custom-cta-text p {
  color: var(--text-2);
  font-size: .94rem;
  line-height: 1.6;
}
.custom-cta-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

/* ─── UTILITY ─── */
.hide-mobile { display: inline-flex; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1180px) {
  .maint-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-text { align-items: center; }
  .hero-sub { margin: 0 auto; }
  .hero-ctas { justify-content: center; }
  .hero-title { font-size: 2.6rem; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .maint-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid-6 { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .custom-cta-content { grid-template-columns: 1fr; text-align: center; }
  .custom-cta-action { width: 100%; }
  .ps5-showcase-grid { grid-template-columns: 1fr; }
  .ps5-player-box { max-width: 480px; margin: 0 auto; width: 100%; }
}

@media (max-width: 768px) {
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg-0);
    border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 16px 24px; gap: 4px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav-link { padding: 12px 16px; width: 100%; border-radius: var(--r-sm); }
  .menu-btn { display: flex; }
  .hide-mobile { display: none !important; }
  .hero-title { font-size: 2.2rem; }
  .hero-img { height: 340px; }
  .carousel-img { height: 320px; }
  .trust-row { gap: 20px; }
  .catalog-hero-title { font-size: 2.3rem; }
  .catalog-filter-bar { border-radius: var(--r-md); width: 100%; }
  
  .fast-booking-content {
    flex-direction: column;
    text-align: center;
  }
  .fast-booking-info {
    align-items: center;
  }
  .fast-booking-pills {
    justify-content: center;
  }
  .fast-booking-action {
    width: 100%;
  }
  .btn-booking-lg {
    width: 100%;
    justify-content: center;
  }

  .video-showcase-grid {
    grid-template-columns: 1fr;
  }
  .video-showcase-footer {
    flex-direction: column;
    text-align: center;
  }
  .video-showcase-footer .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .maint-grid { grid-template-columns: 1fr; }
  .services-grid-6 { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-hero-title { font-size: 2.0rem; }
  .filter-btn { padding: 8px 14px; font-size: .82rem; }
  .fast-booking-card { padding: 28px 20px; }
  .fast-booking-info h3 { font-size: 1.3rem; }
  .video-showcase-card { padding: 24px 18px; }
  .video-showcase-title { font-size: 1.35rem; }
  .ps5-showcase-card { padding: 24px 18px; }
  .ps5-showcase-title { font-size: 1.35rem; }
  .ps5-variant-item { padding: 12px 14px; gap: 12px; }
}

@media (max-width: 540px) {
  .hero { padding: 48px 0 40px; }
  .hero-title { font-size: 1.9rem; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .cards-grid { grid-template-columns: 1fr; }
  .carousel-img { height: 260px; }
  .carousel-overlay { padding: 18px 20px; }
  .carousel-title { font-size: 1.05rem; }
  .carousel-arrow { width: 36px; height: 36px; font-size: 1.3rem; }
  .trust-row { flex-direction: column; gap: 14px; }
}

/* ==========================================================================
   PÁGINA DE CONTACTO Y AGENDAMIENTO DIRECTO (contacto.html)
   ========================================================================== */

.contact-hero {
  padding: 60px 0 35px;
  background: radial-gradient(circle at 50% 0%, var(--accent-dim) 0%, transparent 60%);
  border-bottom: 1px solid var(--border);
}

.contact-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.contact-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-1);
  margin: 12px 0 16px;
  letter-spacing: -0.02em;
}

.contact-hero-sub {
  font-size: 1.12rem;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 28px;
}

.contact-badges-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-full);
  background: var(--bg-1);
  border: 1px solid var(--border-accent);
  color: var(--text-1);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* ── LAYOUT PRINCIPAL DE CONTACTO ── */
.contact-section {
  padding: 60px 0 80px;
}

.contact-grid-main {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 40px;
  align-items: start;
}

/* ── TARJETA DEL FORMULARIO GENERADOR ── */
.contact-form-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--wa), var(--accent));
}

.form-header {
  margin-bottom: 28px;
}

.form-header-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: var(--wa-glow);
  color: var(--wa);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.form-header-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 8px;
}

.form-header-desc {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.5;
}

/* Campos de entrada */
.form-group {
  margin-bottom: 20px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 7px;
}

.form-label span.req {
  color: #ff4757;
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-1);
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
  outline: none;
}

.form-control:focus {
  border-color: var(--wa);
  box-shadow: 0 0 0 3px var(--wa-glow);
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

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

/* Live WhatsApp Preview Box */
.wa-preview-box {
  background: var(--bg-0);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-md);
  padding: 18px 20px;
  margin: 24px 0;
  position: relative;
}

.wa-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--wa);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.wa-preview-bubble {
  background: var(--bg-1);
  border-left: 3px solid var(--wa);
  border-radius: 4px var(--r-sm) var(--r-sm) 4px;
  padding: 12px 16px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-2);
  white-space: pre-line;
  word-break: break-word;
  box-shadow: var(--shadow-sm);
}

.btn-form-submit {
  width: 100%;
  padding: 16px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--r-md);
  box-shadow: 0 4px 20px var(--wa-glow);
  cursor: pointer;
  border: none;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), filter var(--speed) var(--ease);
}

.btn-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--wa-glow);
  filter: brightness(1.06);
}

.form-footnote {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-3);
  margin-top: 12px;
}

/* ── SIDEBAR CON TARJETAS DE CONTACTO DIRECTO ── */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease);
  position: relative;
}

.info-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.info-card-featured {
  background: linear-gradient(135deg, var(--bg-1) 0%, rgba(37, 211, 102, 0.05) 100%);
  border-color: rgba(37, 211, 102, 0.3);
}

.info-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.info-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-full);
}

.badge-online {
  background: rgba(37, 211, 102, 0.15);
  color: var(--wa);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.badge-online::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wa);
  box-shadow: 0 0 6px rgba(37, 211, 102, 0.8);
}

.badge-itagui {
  background: var(--accent-dim);
  color: var(--accent);
}

.badge-corp {
  background: rgba(255, 170, 0, 0.15);
  color: #ffa500;
}

.info-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-1);
}

.info-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.info-card-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.info-card-main-data {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-1);
  margin: 6px 0 8px;
  letter-spacing: -0.01em;
}

.info-card-desc {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 14px;
}

.info-card-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: gap var(--speed) var(--ease), color var(--speed) var(--ease);
}

.info-card-action:hover {
  color: var(--wa);
  gap: 10px;
}

.schedule-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.schedule-list li {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 0.88rem;
  border-bottom: 1px dashed var(--border);
  color: var(--text-2);
}

.schedule-list li:last-child {
  border-bottom: none;
}

.schedule-list li strong {
  color: var(--text-1);
}

/* ── SECCIÓN FAQ INTERACTIVO (ACCORDION) ── */
.faq-section {
  padding: 70px 0 90px;
  background: var(--bg-0);
  border-top: 1px solid var(--border);
}

.faq-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.faq-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-1);
  margin: 10px 0 14px;
}

.faq-desc {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.6;
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.faq-item:hover {
  border-color: var(--border-accent);
}

.faq-item.active {
  border-color: var(--accent);
  box-shadow: 0 4px 20px var(--accent-dim);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-1);
  text-align: left;
  cursor: pointer;
  transition: color var(--speed) var(--ease);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-q-text {
  flex: 1;
  padding-right: 16px;
}

.faq-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--r-full);
  background: var(--bg-0);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--accent);
  transition: transform var(--speed) var(--ease), background var(--speed) var(--ease);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  background: var(--accent);
  color: #0f172a;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-2);
  border-top: 1px dashed var(--border);
  padding-top: 16px;
}

.faq-answer-inner strong {
  color: var(--text-1);
}

/* ── RESPONSIVE PARA CONTACTO Y FAQ ── */
@media (max-width: 900px) {
  .contact-grid-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-form-card {
    padding: 28px 22px;
  }
}

@media (max-width: 640px) {
  .contact-hero-title {
    font-size: 2.1rem;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .faq-title {
    font-size: 1.85rem;
  }
  .faq-question {
    padding: 16px 18px;
    font-size: 0.95rem;
  }
  .faq-answer-inner {
    padding: 14px 18px 18px;
  }
}

/* ==========================================================================
   MODAL DE DETALLE DE PRODUCTO Y VARIANTES (catalogo.html)
   ========================================================================== */

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.product-modal.active {
  opacity: 1;
  visibility: visible;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 12, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.product-modal-dialog {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1140px;
  max-height: 90vh;
  background: var(--bg-1);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-lg);
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.22), 0 24px 60px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-modal.active .product-modal-dialog {
  transform: scale(1);
}

.product-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 25;
  width: 42px;
  height: 42px;
  background: rgba(10, 14, 25, 0.8);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.product-modal-close:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #050811;
  transform: rotate(90deg) scale(1.08);
}

.product-modal-grid {
  display: grid;
  grid-template-columns: 440px 1fr;
  min-height: 560px;
  max-height: 90vh;
  height: 100%;
}

/* ─── Columna Izquierda: Descripción y Especificaciones (Requerido: lado izquierdo) ─── */
.product-modal-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 32px;
  background: var(--bg-1);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  gap: 20px;
}

.product-modal-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.product-modal-title {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-1);
  margin-top: 4px;
}

.product-modal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-modal-desc {
  font-size: 0.94rem;
  color: var(--text-2);
  line-height: 1.6;
}

.product-modal-specs-wrap {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 16px 18px;
}

.product-modal-specs-title {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent);
  margin-bottom: 10px;
}

.product-modal-specs-wrap .catalog-item-specs {
  border-top: none;
  padding-top: 0;
  margin-bottom: 0;
}

.product-modal-footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.product-modal-footer .btn-whatsapp {
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(34, 197, 94, 0.35);
}

/* ─── Columna Derecha: Slider de Fotos & Variantes ─── */
.product-modal-slider-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #060810;
  padding: 24px;
  position: relative;
  min-width: 0;
}

.product-modal-slider {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  background: radial-gradient(circle at center, #11162b 0%, #030408 85%);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  overflow: hidden;
}

.product-modal-counter {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 12;
  background: rgba(4, 6, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--r-full);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  letter-spacing: 0.5px;
}

.modal-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(6, 9, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-slider-prev {
  left: 14px;
}

.modal-slider-next {
  right: 14px;
}

.modal-slider-arrow:hover {
  background: var(--accent);
  color: #04060e;
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px var(--accent-glow);
}

.modal-slider-viewport {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  user-select: none;
}

#modal-slider-img {
  max-width: 100%;
  max-height: 470px;
  object-fit: contain;
  border-radius: 6px;
  transition: opacity 0.25s ease, transform 0.25s ease;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.6));
}

#modal-slider-img.fade-in {
  animation: modalImgFade 0.25s ease forwards;
}

@keyframes modalImgFade {
  0% {
    opacity: 0.3;
    transform: scale(0.98);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ─── Tira de Miniaturas (Thumbnails) ─── */
.product-modal-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 4px 4px;
  margin-top: 12px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(255, 255, 255, 0.08);
}

.product-modal-thumbs::-webkit-scrollbar {
  height: 6px;
}

.product-modal-thumbs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.product-modal-thumbs::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.modal-thumb-btn {
  flex: 0 0 68px;
  height: 68px;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  opacity: 0.55;
  transition: all 0.2s var(--ease);
  padding: 0;
  position: relative;
}

.modal-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-thumb-btn:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.modal-thumb-btn.active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
  transform: scale(1.06);
}

/* ─── Responsive para el Modal de Catálogo ─── */
@media (max-width: 900px) {
  .product-modal {
    padding: 12px;
  }
  .product-modal-dialog {
    max-height: 94vh;
    overflow-y: auto;
  }
  .product-modal-grid {
    grid-template-columns: 1fr;
    min-height: unset;
    height: auto;
    max-height: none;
  }
  .product-modal-slider-col {
    order: 1;
    padding: 18px 16px 14px;
  }
  .product-modal-slider {
    min-height: 290px;
  }
  #modal-slider-img {
    max-height: 300px;
  }
  .modal-slider-arrow {
    width: 38px;
    height: 38px;
  }
  .modal-thumb-btn {
    flex: 0 0 54px;
    height: 54px;
  }
  .product-modal-details {
    order: 2;
    padding: 24px 20px 28px;
    border-right: none;
    border-top: 1px solid var(--border);
  }
  .product-modal-title {
    font-size: 1.35rem;
  }
}




.contact-grid { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }
.contact-grid .service-box-icon svg { width: 20px; height: 20px; }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }

.footer-contact img { display: block; opacity: .75; transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease); }
.footer-contact a:hover img { opacity: 1; transform: translateY(-2px); }
.service-box-icon img { width: 22px; height: 22px; display: block; }

/* ─── ANIMACIONES: entrada de página, scroll reveal, salida ─── */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: pageOut .25s ease both; }
::view-transition-new(root) { animation: pageIn .45s cubic-bezier(.16,1,.3,1) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes pageOut { to { opacity: 0; transform: translateY(-8px); } }

body { animation: bodyIn .6s ease both; }
@keyframes bodyIn { from { opacity: 0; } }
body.page-leave { opacity: 0; transition: opacity .25s ease; }
.header { animation: headerIn .7s cubic-bezier(.16,1,.3,1) both; }
@keyframes headerIn { from { opacity: 0; transform: translateY(-100%); } }

.reveal { opacity: 0; }
.reveal.in { opacity: 1; animation: revealUp .8s cubic-bezier(.16,1,.3,1) var(--d, 0s) backwards; }
@keyframes revealUp { from { opacity: 0; transform: translateY(28px) scale(.98); filter: blur(4px); } }

@media (prefers-reduced-motion: reduce) {
  body, .header, .reveal.in { animation: none; }
  .reveal { opacity: 1; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none; }
}
