/* =========================================================================
   MishiTV · Estilos (rediseño premium · oscuro elegante)
   Glassmorphism, paleta sobria, acento dorado champagne, tipografía Sora+Inter.
   ========================================================================= */

:root {
  /* Base */
  --bg:            #07070c;
  --bg-2:          #0c0c15;
  --bg-3:          #11111d;
  --surface:       rgba(255, 255, 255, 0.045);
  --surface-2:     rgba(255, 255, 255, 0.07);
  --surface-solid: #12121e;
  --border:        rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);

  --text:      #f4f5fb;
  --text-soft: #a9aecb;
  --text-dim:  #8b91b3;

  /* Acentos */
  --violet: #8b6dff;
  --blue:   #5b8cff;
  --cyan:   #46d6e6;
  --gold:   #e7c886;
  --gold-2: #c9a45f;
  --pink:   #e779b0;
  --green:  #25d366;

  --accent: var(--violet);

  --grad-primary: linear-gradient(135deg, #9b7bff 0%, #5b8cff 100%);
  --grad-gold:    linear-gradient(135deg, #f4dca0 0%, #d6ad65 100%);
  --grad-whatsapp:linear-gradient(135deg, #2bdd6e 0%, #16a34a 100%);

  --radius:    20px;
  --radius-sm: 14px;
  --radius-lg: 28px;
  --maxw:      1200px;
  --header-h:  72px;

  --shadow:    0 32px 64px -32px rgba(0, 0, 0, 0.85);
  --shadow-sm: 0 14px 34px -18px rgba(0, 0, 0, 0.7);
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);

  /* Mundial 2026 */
  --mundial:    #d4af37;
  --mundial-2:  #28a745;
  --grad-mundial: linear-gradient(135deg, #d4af37 0%, #28a745 50%, #d4af37 100%);
}

* { box-sizing: border-box; }

html { color-scheme: dark; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  line-height: 1.6;
  letter-spacing: -0.005em;
}

/* Capa de fondo fija y compuesta (evita el repaint en scroll de
   background-attachment: fixed, que causa jank en móvil). */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1200px 720px at 50% -260px, rgba(139, 109, 255, 0.16), transparent 62%),
    radial-gradient(900px 620px at 100% 4%, rgba(91, 140, 255, 0.09), transparent 56%),
    radial-gradient(800px 700px at 0% 70%, rgba(231, 200, 134, 0.05), transparent 60%);
}

::selection { background: rgba(139, 109, 255, 0.35); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.08; margin: 0; text-wrap: balance; font-family: "Sora", sans-serif; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(18px, 4.5vw, 40px); }

section[id], [id="contacto"] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* Scrollbar (webkit) */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #23233a; border-radius: 999px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #2f2f4e; }

/* Foco visible y skip link */
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 8px; }

.skip-link {
  position: fixed; top: -120px; left: 16px; z-index: 1000;
  padding: 10px 16px; background: var(--surface-solid);
  border: 1px solid var(--border-strong); border-radius: 12px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 14px; }

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

/* ============================== HEADER / NAV ============================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px) saturate(1.4);
  background: rgba(7, 7, 12, 0.62);
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }

.brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: "Sora", sans-serif; font-weight: 800;
  font-size: 1.32rem; letter-spacing: -0.02em;
}
.brand__mascot {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 13px; font-size: 1.15rem;
  background: linear-gradient(135deg, rgba(139, 109, 255, 0.35), rgba(91, 140, 255, 0.18));
  border: 1px solid var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.brand__logo {
  height: 40px; width: auto; display: block;
  filter: drop-shadow(0 3px 12px rgba(91, 140, 255, 0.5));
}
.brand__name { color: #fff; }
.brand__name-accent { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-list { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: inline-block; padding: 9px 13px; border-radius: 11px;
  font-size: 0.88rem; font-weight: 500; color: var(--text-soft);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  touch-action: manipulation;
}
.nav-list a:hover { color: #fff; background: var(--surface-2); }
.nav-list a.is-active { color: #fff; background: linear-gradient(135deg, rgba(155, 123, 255, 0.9), rgba(91, 140, 255, 0.9)); }

.nav-contact {
  padding: 9px 18px; border-radius: 11px; font-weight: 600; font-size: 0.88rem;
  color: #0c0a16; background: var(--grad-gold); white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.nav-contact:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(231, 200, 134, 0.6); }
.nav-contact:active { transform: scale(0.97); }

.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px;
  border: 1px solid var(--border-strong); background: var(--surface);
  border-radius: 13px; cursor: pointer; flex-direction: column; gap: 5px;
  align-items: center; justify-content: center; touch-action: manipulation;
}
.nav-toggle__bar { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.22s var(--ease), opacity 0.22s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================== HERO ================================== */
.hero { position: relative; overflow: hidden; padding: clamp(72px, 12vw, 148px) 0 clamp(48px, 7vw, 80px); }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(120px); z-index: 0; pointer-events: none; will-change: transform; }
.hero__glow--violet { width: 540px; height: 540px; background: rgba(139, 109, 255, 0.22); top: -220px; left: -140px; animation: aurora-a 24s ease-in-out infinite alternate; }
.hero__glow--blue   { width: 480px; height: 480px; background: rgba(91, 140, 255, 0.16); top: -160px; right: -160px; animation: aurora-b 30s ease-in-out infinite alternate; }
.hero__glow--gold {
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(231, 200, 134, 0.22), rgba(201, 164, 95, 0.08), transparent 70%);
  top: 10%; left: 50%; transform: translateX(-50%);
  animation: aurora-c 36s ease-in-out infinite alternate;
}
.hero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 500px; height: 300px; border-radius: 50%; filter: blur(100px);
  background: rgba(231, 200, 134, 0.12); left: 50%; top: 28%;
  transform: translateX(-50%);
  animation: aurora-c 36s ease-in-out infinite alternate;
}
@keyframes aurora-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(70px, 50px) scale(1.18); } }
@keyframes aurora-b { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.12); } }
@keyframes aurora-c { from { transform: translate(-50%, 0) scale(1); } to { transform: translate(-50%, -30px) scale(1.15); } }
.hero__inner { position: relative; z-index: 1; text-align: center; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 32px; padding: 8px 22px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: var(--text-soft);
  background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.hero__eyebrow .star { color: var(--gold); }

.hero__title {
  font-family: "Sora", sans-serif; font-weight: 800;
  font-size: clamp(4rem, 12vw, 9rem);
  letter-spacing: -0.03em; line-height: 1;
  color: #fff;
  margin-bottom: 0;
}
.hero__title-top { color: #fff; }
.hero__title-accent {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 40px rgba(231, 200, 134, 0.35));
}

.hero__tagline {
  margin: 18px 0 0;
  font-family: "Inter", sans-serif; font-weight: 600;
  font-size: clamp(0.78rem, 2.2vw, 1rem);
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-soft);
}

.hero__subtitle {
  max-width: 620px; margin: 20px auto 36px;
  color: var(--text-soft);
  font-size: clamp(1rem, 2.4vw, 1.18rem);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.hero__trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px;
  list-style: none; margin: 44px 0 0; padding: 0; color: var(--text-soft); font-size: 0.92rem;
}
.hero__trust li { display: inline-flex; align-items: center; gap: 9px; }
.hero__trust-icon { color: var(--gold); flex-shrink: 0; }

/* ================================ BOTONES ================================= */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 14px;
  font-family: "Sora", sans-serif; font-weight: 600; font-size: 0.98rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.16s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  touch-action: manipulation;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
}
.btn:active { transform: scale(0.97); }

.btn--primary { color: #0c0a16; background: var(--grad-gold); box-shadow: 0 16px 36px -14px rgba(231, 200, 134, 0.55); }
.btn--whatsapp { color: #fff; background: var(--surface-2); border-color: var(--border-strong); backdrop-filter: blur(10px); }
.btn--whatsapp:hover { border-color: rgba(37, 211, 102, 0.6); background: rgba(37, 211, 102, 0.12); }
.btn--whatsapp .btn__icon { color: #2bdd6e; }

/* ================================ FEATURES ================================ */
.features { padding: clamp(20px, 4vw, 40px) 0 4px; }
.features__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, 220px);
  justify-content: center;
  gap: 16px; list-style: none; margin-block: 0;
}
.feature {
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.feature:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.feature__icon {
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 14px; font-size: 1.4rem; line-height: 1;
  background: linear-gradient(135deg, rgba(139, 109, 255, 0.28), rgba(91, 140, 255, 0.12));
  border: 1px solid var(--border);
}
.feature__title { font-family: "Sora", sans-serif; font-weight: 600; font-size: 0.98rem; }
.feature__text { font-size: 0.84rem; color: var(--text-dim); margin: -6px 0 0; }

/* ============================ FRANJA DE LOGOS ============================ */
.logos-strip {
  margin-top: clamp(28px, 5vw, 48px);
  padding: 28px clamp(18px, 4.5vw, 40px);
  border-block: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}
.logos-strip__track {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(24px, 5vw, 56px);
  max-width: var(--maxw); margin-inline: auto;
}
.logos-strip__track img { height: 30px; width: auto; display: block; opacity: 1; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4)); }
.logos-strip__track .logos-tile { height: 38px; width: 38px; object-fit: cover; border-radius: 9px; }
.logos-strip__track .logos-tile--round { border-radius: 50%; }
.logos-strip__track .logos-banner { height: 32px; border-radius: 7px; }

/* ============================= PRUEBA SOCIAL ============================== */
.proof { padding: clamp(40px, 7vw, 72px) 0 clamp(12px, 3vw, 28px); }

.proof__stats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 18px;
  list-style: none; margin: 0 0 26px; padding: 0;
}
.proof__stat {
  flex: 1 1 160px; max-width: 220px; text-align: center;
  padding: 22px 18px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(12px);
}
.proof__stat-value {
  display: block; font-family: "Sora", sans-serif; font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.3rem); letter-spacing: -0.02em;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.proof__stat-label { display: block; margin-top: 6px; color: var(--text-soft); font-size: 0.88rem; }

.proof__guarantee {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  max-width: 640px; margin: 0 auto 30px; padding: 14px 20px;
  border-radius: var(--radius-sm); text-align: center;
  color: var(--text); font-size: 0.95rem;
  background: color-mix(in srgb, var(--green) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--green) 34%, transparent);
}
.proof__guarantee svg { color: var(--green); flex-shrink: 0; }
.proof__guarantee strong { color: #fff; }

.proof__testimonials {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px; list-style: none; margin: 0; padding: 0;
}
.testimonial {
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(12px);
}
.testimonial__stars { color: var(--gold); font-size: 0.95rem; letter-spacing: 0.08em; }
.testimonial__text { margin: 0; color: var(--text-soft); font-size: 0.94rem; line-height: 1.55; }
.testimonial__name { margin: 0; color: #fff; font-weight: 600; font-size: 0.88rem; }

/* ================================ CATÁLOGO ================================ */
.catalog { padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 10vw, 110px); }
.section-head { text-align: center; margin-bottom: 36px; }
.section-eyebrow {
  display: block; color: var(--gold); text-transform: uppercase;
  letter-spacing: 0.2em; font-size: 0.76rem; font-weight: 700; margin-bottom: 14px;
}
.section-title { font-family: "Sora", sans-serif; font-weight: 800; font-size: clamp(2.2rem, 6vw, 3.4rem); letter-spacing: -0.03em; color: #fff; }
.section-desc { color: var(--text-soft); margin: 12px auto 0; max-width: 540px; }

.catalog-search {
  position: relative; display: flex; align-items: center;
  max-width: 520px; margin: 0 auto 18px;
}
.catalog-search__icon { position: absolute; left: 18px; color: var(--text-dim); pointer-events: none; }
.catalog-search__input {
  width: 100%;
  padding: 14px 18px 14px 50px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(12px);
  color: var(--text);
  font-family: "Inter", sans-serif; font-size: 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.catalog-search__input::placeholder { color: var(--text-dim); }
.catalog-search__input:focus-visible {
  outline: none; border-color: color-mix(in srgb, var(--violet) 60%, transparent);
  box-shadow: 0 0 0 4px rgba(139, 109, 255, 0.18);
}
.catalog-search__count { color: var(--text-soft); font-size: 0.88rem; margin: 0 0 18px; }

/* ============================== SIDEBAR ================================ */

/* Sidebar search */
.sidebar-search {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.sidebar-search__icon {
  position: absolute;
  left: 12px;
  color: var(--text-dim);
  pointer-events: none;
  transition: color 0.2s var(--ease);
}
.sidebar-search__input {
  width: 100%;
  padding: 10px 12px 10px 36px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.sidebar-search__input::placeholder { color: var(--text-dim); }
.sidebar-search__input:focus-visible {
  outline: none;
  border-color: color-mix(in srgb, var(--violet) 60%, transparent);
  box-shadow: 0 0 0 3px rgba(139, 109, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
}
.sidebar-search__input:focus-visible + .sidebar-search__icon,
.sidebar-search:has(.sidebar-search__input:focus-visible) .sidebar-search__icon {
  color: var(--violet);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  padding: 12px;
  overflow: hidden;
}

.sidebar-toggle {
  display: none; /* visible solo en móvil */
  width: 100%;
  align-items: center; gap: 8px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: "Sora", sans-serif;
  font-weight: 600; font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.sidebar-toggle:hover { background: var(--surface-2); border-color: var(--border-strong); }

.sidebar-nav { /* siempre visible en desktop */ }

.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-item {
  position: relative;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-soft);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.22s var(--ease);
  text-decoration: none;
  background: transparent;
  width: 100%;
  text-align: left;
}

.sidebar-link:hover {
  color: #fff;
  background: var(--surface-2);
  border-color: var(--border);
  transform: translateX(3px);
}

.sidebar-link.is-active {
  color: #fff;
  background: var(--grad-primary);
  border-color: transparent;
  box-shadow: 0 8px 22px -8px rgba(123, 109, 255, 0.5);
  transform: translateX(0);
}

.sidebar-link__icon {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  font-size: 0.92rem;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s var(--ease);
}

.sidebar-link.is-active .sidebar-link__icon {
  background: rgba(255, 255, 255, 0.18);
}

/* ---- Mundial 2026 special styling ---- */
.sidebar-link--mundial {
  color: var(--mundial);
  font-weight: 700;
  position: relative;
}

.sidebar-link--mundial::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-sm);
  padding: 1px;
  background: var(--grad-mundial);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 0.3s var(--ease);
}

.sidebar-link--mundial:hover {
  color: #fff;
  background: rgba(212, 175, 55, 0.12);
  border-color: transparent;
}
.sidebar-link--mundial:hover::before {
  opacity: 1;
}

.sidebar-link--mundial.is-active {
  color: #0c0a16;
  background: var(--grad-mundial);
  border-color: transparent;
  box-shadow: 0 8px 28px -8px rgba(212, 175, 55, 0.6), 0 0 20px -4px rgba(40, 167, 69, 0.3);
}
.sidebar-link--mundial.is-active::before {
  opacity: 0;
}
.sidebar-link--mundial.is-active .sidebar-link__icon {
  background: rgba(0, 0, 0, 0.15);
}

.sidebar-link--mundial .sidebar-link__icon {
  background: rgba(212, 175, 55, 0.15);
}

/* Mundial pulsing glow */
@keyframes mundial-glow {
  0%, 100% { box-shadow: 0 0 8px rgba(212, 175, 55, 0.2), 0 0 0 0 rgba(40, 167, 69, 0.1); }
  50% { box-shadow: 0 0 16px rgba(212, 175, 55, 0.35), 0 0 24px 2px rgba(40, 167, 69, 0.15); }
}

.sidebar-link--mundial {
  animation: mundial-glow 3s ease-in-out infinite;
}

/* Mundial badge on cards */
.card--mundial {
  border-color: rgba(212, 175, 55, 0.35);
}
.card--mundial::after {
  background: radial-gradient(circle, rgba(212, 175, 55, 0.3), rgba(40, 167, 69, 0.1), transparent 70%);
  opacity: 0.7;
}
.card--mundial:hover {
  border-color: rgba(212, 175, 55, 0.6);
}
.card--mundial .card__badge {
  background: rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--mundial);
}

/* Sidebar separator */
.sidebar-separator {
  height: 1px;
  background: var(--border);
  margin: 6px 8px;
  border: none;
}

.catalog-main {
  min-width: 0;
}

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

/* ================================ TARJETA ================================= */
.card {
  --glow: color-mix(in srgb, var(--accent) 38%, transparent);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.022));
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  min-width: 0;
}
.card::after {
  content: ""; position: absolute; top: -110px; right: -70px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 70%);
  opacity: 0.55; filter: blur(14px); pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.card:hover { transform: translateY(-7px); border-color: color-mix(in srgb, var(--accent) 42%, var(--border)); box-shadow: var(--shadow); }
.card:hover::after { opacity: 0.85; }

.card--featured { border-color: color-mix(in srgb, var(--gold) 48%, var(--border)); }
.card--featured::after { background: radial-gradient(circle, rgba(231, 200, 134, 0.42), transparent 70%); opacity: 0.7; }

.card__featured-tag {
  position: absolute; top: 16px; right: 16px; z-index: 1;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; color: #1a1407; background: var(--grad-gold);
}

.card__logos { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 9px; min-height: 44px; margin-bottom: 16px; }
.card--featured .card__logos { padding-right: 104px; }
.card__plus { color: var(--text-dim); font-weight: 700; }

.wm { font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.24rem; letter-spacing: -0.01em; line-height: 1; }
.card__logos--combo .wm { font-size: 1rem; }

.wm-img { height: 28px; width: auto; display: block; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45)); }
.wm-img--tile { height: 36px; width: 36px; object-fit: cover; border-radius: 9px; }
.wm-img--tile.wm-img--round { border-radius: 50%; }
.wm-img--banner { height: 30px; width: auto; border-radius: 7px; }
.card__logos--combo .wm-img { height: 22px; }
.card__logos--combo .wm-img--tile { height: 28px; width: 28px; }
.card__logos--combo .wm-img--banner { height: 24px; }
.wm--netflix   { color: #ff3b4e; text-transform: uppercase; letter-spacing: 0.06em; }
.wm--disney    { color: #6fc0ff; font-style: italic; }
.wm--hbo       { color: #cf90ff; text-transform: lowercase; }
.wm--prime     { color: #5cd0ff; text-transform: lowercase; }
.wm--paramount { color: #7eb0ff; }
.wm--crunchy   { color: #ff9d5c; text-transform: lowercase; }
.wm--spotify   { color: #2ee06b; }
.wm--canva     { color: #41ecd5; font-style: italic; }
.wm--dgo       { color: #b39bff; letter-spacing: 0.05em; }
.wm--liga      { color: #ff6a86; }
.wm--iptv      { color: #74d6ff; letter-spacing: 0.05em; }

.card__title { position: relative; z-index: 1; font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.18rem; letter-spacing: -0.01em; }
.card__note { position: relative; z-index: 1; display: inline-block; margin-top: 7px; font-size: 0.78rem; color: var(--text-dim); }

.card__badge {
  position: relative; z-index: 1; margin: 14px 0 0; padding: 10px 13px; border-radius: 11px;
  font-size: 0.82rem; font-weight: 500; color: var(--text);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
}

.card__plans { position: relative; z-index: 1; list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.plan {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.28); border: 1px solid var(--border);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.plan:hover { border-color: var(--border-strong); background: rgba(0, 0, 0, 0.18); }
.plan__price { font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.32rem; font-variant-numeric: tabular-nums; color: #fff; white-space: nowrap; }
.plan__price .cur { color: var(--gold); font-size: 0.78em; margin-right: 1px; }
.plan__label { color: var(--text-soft); font-size: 0.9rem; flex: 1; min-width: 0; }
.plan__buy {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 999px;
  font-family: "Sora", sans-serif; font-weight: 600; font-size: 0.84rem;
  color: #fff; background: var(--grad-whatsapp); border: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
  touch-action: manipulation;
}
@media (hover: hover) and (pointer: fine) {
  .plan__buy:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(37, 211, 102, 0.6); }
}
.plan__buy:active { transform: scale(0.96); }

/* Estado vacío / próximamente */
.empty-state {
  grid-column: 1 / -1; text-align: center; padding: 72px 24px;
  border-radius: var(--radius); border: 1px dashed var(--border-strong);
  background: var(--surface); backdrop-filter: blur(12px);
}
.empty-state__emoji { font-size: 2.6rem; }
.empty-state__title { font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.5rem; margin-top: 12px; }
.empty-state__text { color: var(--text-soft); margin-top: 8px; }

/* ================================= FOOTER ================================= */
.site-footer {
  margin-top: 48px; position: relative;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  padding: clamp(48px, 7vw, 72px) 0 28px;
}
.site-footer::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(231, 200, 134, 0.5), transparent); }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.brand--footer { font-size: 1.2rem; }
.footer__tagline { color: var(--text-soft); margin: 14px 0 0; max-width: 38ch; }
.footer__heading { font-family: "Sora", sans-serif; font-size: 1rem; font-weight: 600; margin-bottom: 16px; }
.footer__contact { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 500; }
.footer__contact strong { color: var(--green); font-variant-numeric: tabular-nums; }
.footer__social { list-style: none; display: flex; gap: 10px; padding: 0; margin: 16px 0 0; }
.footer__social a { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; border: 1px solid var(--border); background: var(--surface); transition: border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.footer__social a:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; color: var(--text-soft); font-size: 0.92rem; }

.footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.footer__disclaimer { color: var(--text-dim); font-size: 0.78rem; max-width: 84ch; }
.footer__copy { color: var(--text-dim); font-size: 0.82rem; margin-top: 12px; }

/* ============================== WHATSAPP FAB ============================== */
.whatsapp-fab {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 90; display: grid; place-items: center; width: 60px; height: 60px;
  border-radius: 19px; font-size: 1.6rem; color: #fff;
  background: var(--grad-whatsapp);
  box-shadow: 0 16px 36px -12px rgba(37, 211, 102, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
  animation: fab-pulse 3s var(--ease) 3;
}
@media (hover: hover) and (pointer: fine) {
  .whatsapp-fab:hover { transform: translateY(-3px) scale(1.04); }
}
.whatsapp-fab:active { transform: scale(0.94); }
@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 16px 36px -12px rgba(37, 211, 102, 0.6), 0 0 0 0 rgba(37, 211, 102, 0.35); }
  60%      { box-shadow: 0 16px 36px -12px rgba(37, 211, 102, 0.6), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ============================== ANIMACIONES ============================== */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }

/* Tap targets ≥ 44px en dispositivos táctiles (accesibilidad/dedos). */
@media (pointer: coarse) {
  .plan__buy { min-height: 44px; }
  .sidebar-link { min-height: 44px; }
}

/* ============================== RESPONSIVE =============================== */
@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 18px clamp(18px, 4.5vw, 40px) 26px;
    background: var(--bg-2); box-shadow: var(--shadow); border-bottom: 1px solid var(--border);
    transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
  }
  .primary-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-list { flex-direction: column; gap: 2px; }
  .nav-list a { padding: 13px 15px; font-size: 1rem; }
  .nav-contact { text-align: center; margin-top: 10px; }

  /* Sidebar collapses to horizontal on tablet */
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .catalog-sidebar {
    position: relative;
    top: auto;
    margin-bottom: 24px;
  }
  /* Search always visible on mobile */
  .sidebar-search {
    margin-bottom: 12px;
  }
  .sidebar-search__input {
    padding: 13px 14px 13px 40px;
    font-size: 0.95rem;
    border-radius: 14px;
    min-height: 48px;
  }
  .sidebar-search__icon {
    left: 14px;
    width: 18px; height: 18px;
  }
  .sidebar-toggle {
    display: flex;
  }
  .sidebar-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease), margin 0.3s var(--ease);
    margin-top: 0;
  }
  .sidebar-nav.is-open {
    max-height: 500px;
    margin-top: 10px;
  }
}

@media (max-width: 720px) {
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  /* Beneficios: 2 por fila y compactos en móvil (no apilados a lo alto) */
  .features__list { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .feature { padding: 15px; gap: 9px; }
  .feature__icon { width: 38px; height: 38px; font-size: 1.15rem; border-radius: 11px; }
  .feature__title { font-size: 0.9rem; }
  .feature__text { font-size: 0.76rem; }
}

@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; justify-content: center; }
}
