/* ==========================================================================
   IPTV El Salvador — Pro Theme Architecture ("Cuscatlán Hardware Lab")
   Domain: https://iptv-elsalvador.online/
   ========================================================================== */

/* 01. Tokens & Reset */
:root {
  --arena: #f8f5ee;
  --papel: #ffffff;
  --bruma: #ece7db;
  --obsidiana: #10131c;
  --obsidiana2: #1b2030;
  --obsidiana3: #262b3a;
  --ink: #10131c;
  --ink2: #353b4d;
  --azul: #0a47a9;
  --azul-d: #073478;
  --celeste: #5fa8ff;
  --anil: #2d2f8f;
  --torogoz: #0f9d8f;
  --torogoz-d: #0a7368;
  --lava: #ff6b2c;
  --lava-d: #c94612;
  --oro: #f2b705;
  --cafe: #6a4126;
  --mut: #69707f;
  --line: rgba(16, 19, 28, 0.12);
  --line-dark: rgba(255, 255, 255, 0.12);
  --wa: #25d366;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-card: 0 24px 50px -36px rgba(16, 19, 28, 0.48);
  --shadow-hover: 0 30px 60px -32px rgba(16, 19, 28, 0.56);
  --font-display: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "Space Mono", ui-monospace, SFMono-Regular, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--arena);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: clip;
}

a {
  color: var(--azul);
  text-decoration: none;
  font-weight: 700;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--lava);
  outline-offset: 2px;
}

/* High-contrast links on dark obsidian & indigo surfaces */
.sec.dark a:not(.btn):not(.bento-link),
.sec.anil a:not(.btn):not(.bento-link),
.page-hero a:not(.btn):not(.crumbs a),
.guarantee-band a:not(.btn),
.bento-card--dark a:not(.btn):not(.bento-link),
.res a:not(.btn),
.cta a:not(.btn),
.hub-cta a:not(.btn),
.final a:not(.btn) {
  color: #7ec0ff;
  text-decoration: underline;
  text-decoration-color: rgba(126, 192, 255, 0.45);
  text-underline-offset: 3px;
}

.sec.dark a:not(.btn):not(.bento-link):hover,
.sec.anil a:not(.btn):not(.bento-link):hover,
.guarantee-band a:not(.btn):hover,
.bento-card--dark a:not(.btn):not(.bento-link):hover,
.res a:not(.btn):hover,
.cta a:not(.btn):hover,
.hub-cta a:not(.btn):hover,
.final a:not(.btn):hover {
  color: var(--oro);
  text-decoration-color: var(--oro);
}

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

button,
input,
select {
  font-family: inherit;
}

/* 02. Typography & Containers */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 12px;
  top: 12px;
  background: #ffffff;
  color: #000000;
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.mt-12 { margin-top: 12px; }
.mt-18 { margin-top: 18px; }
.mt-22 { margin-top: 22px; }
.mt-28 { margin-top: 28px; }
.mt-36 { margin-top: 36px; }

.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 7px;
  background: var(--bruma);
  color: var(--azul-d);
  border: 1px solid var(--line);
}

.spec-chip--dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--oro);
  border-color: rgba(255, 255, 255, 0.16);
}

.spec-chip--teal {
  background: rgba(15, 157, 143, 0.12);
  color: var(--torogoz-d);
  border-color: rgba(15, 157, 143, 0.25);
}

.spec-chip--lava {
  background: rgba(255, 107, 44, 0.15);
  color: var(--lava-d);
  border-color: rgba(255, 107, 44, 0.3);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  border-radius: 12px;
  padding: 12px 22px;
  font-size: 15.5px;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  line-height: 1.25;
}

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

.btn-wa {
  background: var(--wa);
  color: #03230f;
}

.btn-wa:hover {
  box-shadow: 0 10px 26px -8px rgba(37, 211, 102, 0.7);
}

.btn-lava {
  background: var(--lava);
  color: #1d0a00;
  box-shadow: 0 4px 0 var(--lava-d);
}

.btn-lava:hover {
  box-shadow: 0 7px 0 var(--lava-d);
}

.btn-azul {
  background: var(--azul);
  color: #ffffff;
}

.btn-azul:hover {
  background: var(--azul-d);
  box-shadow: 0 12px 28px -10px rgba(10, 71, 169, 0.65);
}

.btn-ghost {
  border: 2px solid var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-ghost--light {
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  background: transparent;
}

.wa-ico {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: none;
}

/* 03. Header & Navigation */
.flagbar {
  height: 8px;
  background: linear-gradient(180deg, var(--azul) 0 33.3%, #ffffff 33.3% 66.6%, var(--azul) 66.6%);
}

.hdr {
  position: sticky;
  top: 0;
  z-index: 55;
  background: rgba(248, 245, 238, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.hdr .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.logo:hover {
  text-decoration: none;
}

.logo .mark {
  width: 38px;
  height: 38px;
  flex: none;
}

.logo b {
  color: var(--azul);
}

.logo sup {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--torogoz-d);
  letter-spacing: 0;
  margin-left: 2px;
}

.nav {
  display: flex;
  gap: 20px;
  font-size: 14.5px;
  align-items: center;
}

.nav a {
  color: var(--ink2);
  font-weight: 700;
  padding: 6px 2px;
  position: relative;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--azul);
  text-decoration: none;
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--lava);
  border-radius: 2px;
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1.5px solid var(--line);
  background: var(--papel);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
}

/* Mobile Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 19, 28, 0.62);
  backdrop-filter: blur(4px);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background: var(--obsidiana);
  color: #e4e7f0;
  z-index: 90;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
  border-left: 1px solid var(--line-dark);
}

.drawer.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-dark);
}

.drawer-head .logo {
  color: #ffffff;
  font-size: 18px;
}

.drawer-head .logo b {
  color: var(--celeste);
}

.drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.drawer-group {
  margin-top: 18px;
}

.drawer-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--oro);
  margin-bottom: 8px;
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-links a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  color: #dce0ec;
  font-weight: 600;
  font-size: 15px;
}

.drawer-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
}

.drawer-cta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 04. Hero & Alternating Bands */
.sec {
  padding: 92px 0;
  position: relative;
}

.sec--compact {
  padding: 64px 0;
}

.sec.white {
  background: var(--papel);
}

.sec.bruma {
  background: var(--bruma);
}

.sec.dark {
  background: var(--obsidiana);
  color: #c9cdd8;
}

.sec.dark h2,
.sec.dark h3,
.sec.dark h4 {
  color: #ffffff;
}

.sec.anil {
  background: linear-gradient(160deg, var(--anil) 0%, #1d1f63 100%);
  color: #d4d6f2;
}

.sec.anil h2,
.sec.anil h3 {
  color: #ffffff;
}

.shead {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 22px;
  align-items: end;
  margin-bottom: 44px;
  max-width: 980px;
}

.shead--plain {
  display: block;
  max-width: 860px;
  margin-bottom: 38px;
}

.shead .num {
  grid-row: span 2;
  font-family: var(--font-mono);
  font-size: 62px;
  line-height: 0.9;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--azul);
  opacity: 0.75;
}

.sec.dark .shead .num,
.sec.anil .shead .num {
  -webkit-text-stroke-color: var(--lava);
}

.kick {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--torogoz-d);
  font-weight: 700;
  display: inline-block;
}

.sec.dark .kick,
.sec.anil .kick,
.page-hero .kick,
.final .kick {
  color: var(--oro);
}

.shead h2,
.shead--plain h2 {
  font-size: clamp(29px, 4.1vw, 48px);
}

.shead p,
.shead--plain p {
  grid-column: 1 / -1;
  font-size: 18px;
  color: var(--ink2);
  max-width: 820px;
  margin-top: 10px;
}

.sec.dark .shead p,
.sec.anil .shead p,
.sec.dark .shead--plain p,
.sec.anil .shead--plain p {
  color: #b9bfce;
}

/* Homepage Volcano Hero */
.hero {
  position: relative;
  background: var(--obsidiana);
  color: #d7dae3;
  overflow: hidden;
  padding: 68px 0 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 420px at 78% 100%, rgba(255, 107, 44, 0.38), transparent 65%),
    radial-gradient(600px 400px at 0% 0%, rgba(45, 47, 143, 0.65), transparent 70%),
    radial-gradient(500px 300px at 100% 0%, rgba(15, 157, 143, 0.22), transparent 70%);
}

.hero .stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 32% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 58% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 88% 30%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 46% 35%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 40%, #fff 50%, transparent 51%);
  opacity: 0.55;
}

.hero .wrap {
  position: relative;
  z-index: 2;
}

.hgrid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 54px;
  align-items: center;
}

.coords {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--oro);
  border: 1px solid rgba(242, 183, 5, 0.35);
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(242, 183, 5, 0.06);
}

.coords i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lava);
  box-shadow: 0 0 0 0 rgba(255, 107, 44, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 44, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 107, 44, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 44, 0); }
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(36px, 5.4vw, 66px);
  margin: 20px 0 18px;
  letter-spacing: -0.04em;
}

.hero h1 .k {
  display: block;
  background: linear-gradient(90deg, #ffffff 0%, var(--celeste) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 em {
  font-style: normal;
  color: var(--lava);
}

.hero .sub {
  font-size: 18.5px;
  color: #b9bfce;
  max-width: 600px;
}

.hero .sub strong {
  color: #ffffff;
}

.hcta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.tbadges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.tbadges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 7px 14px 7px 9px;
  font-size: 14px;
  font-weight: 700;
  color: #eceef4;
}

.tbadges svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: var(--oro);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tbadges svg.cc {
  width: 34px;
  height: 22px;
  stroke: none;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.hisp {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: #c9cdd8;
}

.hisp small {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lava);
  margin-right: 6px;
}

/* TV Mockup */
.tv {
  background: #07080d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 0 6px rgba(255, 255, 255, 0.03);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}

.tv .bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #8b92a5;
  padding: 4px 6px 12px;
}

.tv .live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  background: #d4202f;
  border-radius: 6px;
  padding: 2px 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.tv .live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  animation: blink 1.2s infinite;
}

@keyframes blink {
  50% { opacity: 0.2; }
}

.tv .screen {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(180deg, #0b3d8f 0%, #0a2a5e 55%, #123d20 55%, #1d6b33 100%);
}

.tv .screen svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tv .score {
  position: absolute;
  left: 12px;
  top: 12px;
  display: flex;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 20px -6px #000000;
}

.tv .score span {
  padding: 5px 10px;
  background: #ffffff;
  color: #10131c;
}

.tv .score span.m {
  background: var(--lava);
  color: #1d0a00;
}

.tv .score span.t {
  background: #10131c;
  color: #ffffff;
}

.tv .tag4k {
  position: absolute;
  right: 12px;
  top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #10131c;
  background: var(--oro);
  padding: 3px 8px;
  border-radius: 6px;
}

.epg {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.epg div {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
  background: #11141d;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13.5px;
  color: #c9cdd8;
}

.epg div.on {
  background: linear-gradient(90deg, rgba(255, 107, 44, 0.22), #11141d 70%);
  outline: 1px solid rgba(255, 107, 44, 0.45);
}

.epg b {
  font-family: var(--font-mono);
  color: #ffffff;
  font-size: 12px;
  background: #1f2433;
  border-radius: 6px;
  text-align: center;
  padding: 3px 0;
}

.epg em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #8b92a5;
}

.epg .pg {
  grid-column: 2 / 4;
  height: 3px;
  background: #262b3a;
  border-radius: 3px;
  overflow: hidden;
  padding: 0;
  margin-top: -2px;
}

.epg .pg i {
  display: block;
  height: 100%;
  background: var(--lava);
}

.epg .pg-68 {
  width: 68%;
}

/* Volcano Skyline & Spec Strip */
.skyline {
  position: relative;
  z-index: 1;
  margin-top: 56px;
  height: 140px;
}

.skyline svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hstats {
  position: relative;
  z-index: 3;
  background: var(--arena);
  border-top: 8px solid transparent;
  border-image: linear-gradient(180deg, var(--azul) 0 33.3%, #ffffff 33.3% 66.6%, var(--azul) 66.6%) 1;
  border-bottom: 1px solid var(--line);
}

.hstats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hstats div {
  padding: 24px 18px;
  border-right: 1px solid var(--line);
}

.hstats div:last-child {
  border-right: 0;
}

.hstats b {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.hstats span {
  font-size: 14px;
  color: var(--mut);
}

/* Inner Page Bold Typographic Hero (Hardware Lab Style) */
.page-hero {
  position: relative;
  background: var(--obsidiana);
  color: #d7dae3;
  padding: 58px 0 54px;
  overflow: hidden;
  border-bottom: 4px solid var(--azul);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 340px at 90% 10%, rgba(255, 107, 44, 0.28), transparent 65%),
    radial-gradient(560px 340px at 5% 95%, rgba(15, 157, 143, 0.24), transparent 65%),
    linear-gradient(135deg, rgba(10, 71, 169, 0.22), transparent 55%);
  pointer-events: none;
}

.page-hero .wrap {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: #ffffff;
  font-size: clamp(32px, 4.8vw, 56px);
  max-width: 920px;
  margin: 14px 0 16px;
  letter-spacing: -0.035em;
}

.page-hero h1 em {
  font-style: normal;
  color: var(--lava);
}

.page-hero .lead-dark {
  font-size: 18.5px;
  color: #c1c7d6;
  max-width: 780px;
}

.crumbs {
  font-size: 13.5px;
  color: var(--mut);
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.crumbs a {
  color: var(--mut);
  font-weight: 600;
}

.page-hero .crumbs,
.page-hero .crumbs a {
  color: #9ba3b8;
}

.page-hero .crumbs a:hover {
  color: #ffffff;
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.spec-strip-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px 18px;
}

.spec-strip-item b {
  display: block;
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--oro);
  margin-bottom: 4px;
}

.spec-strip-item span {
  font-size: 13.5px;
  color: #b9bfce;
}

/* Poster Carousel & Cine Grid */
.poster-carousel {
  list-style: none;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 10px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  margin: 28px 0 36px;
  padding: 14px 4px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--oro) rgba(255, 255, 255, 0.08);
}

.poster-carousel::-webkit-scrollbar {
  height: 8px;
}

.poster-carousel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.poster-carousel::-webkit-scrollbar-thumb {
  background: var(--oro);
  border-radius: 999px;
}

.poster-carousel li {
  flex: 0 0 clamp(200px, 26vw, 290px);
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  background: #0b1c14;
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.poster-carousel figure {
  position: relative;
  margin: 0;
}

.poster-carousel img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.poster-carousel figure::after {
  content: "4K";
  position: absolute;
  top: 10px;
  left: 10px;
  font: 700 11px var(--font-mono);
  letter-spacing: 0.06em;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--oro);
  color: #10131c;
}

.poster-carousel li:hover,
.poster-carousel li:focus-within {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 28px 50px -16px rgba(0, 0, 0, 0.92), 0 0 0 2px var(--oro);
}

.poster-carousel li:hover img,
.poster-carousel li:focus-within img {
  transform: scale(1.06);
}

.vgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.vcard {
  position: relative;
  border-radius: 22px;
  padding: 24px 22px 22px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  isolation: isolate;
  transition: transform 0.25s;
}

.vcard:hover {
  transform: translateY(-5px);
}

.vcard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.vcard::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 170px;
  height: 120px;
  z-index: -1;
  opacity: 0.18;
  background:
    linear-gradient(135deg, transparent 49.5%, #ffffff 50%) 0 0 / 50% 100% no-repeat,
    linear-gradient(225deg, transparent 49.5%, #ffffff 50%) 100% 0 / 50% 100% no-repeat;
}

.v-act::before { background: linear-gradient(145deg, #ff6b2c 0%, #7a2306 100%); }
.v-thr::before { background: linear-gradient(145deg, #2a3042 0%, #07080d 100%); }
.v-sci::before { background: linear-gradient(145deg, #0a47a9 0%, #0b1a45 100%); }
.v-fam::before { background: linear-gradient(145deg, #ffe07a 0%, #f2b705 60%, #c99400 100%); }
.v-doc::before { background: linear-gradient(145deg, #0f9d8f 0%, #06403a 100%); }
.v-dra::before { background: linear-gradient(145deg, #6a4126 0%, #2d1608 100%); }

.vcard svg {
  width: 44px;
  height: 44px;
  margin-bottom: auto;
  stroke: #ffffff;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v-fam svg {
  stroke: #2a1f00;
}

.sec.anil .vcard h3 {
  color: #ffffff;
  font-size: 23px;
  margin: 26px 0 6px;
}

.sec.anil .v-fam h3,
.v-fam p {
  color: #2a1f00;
}

.vcard p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.5;
}

.vtags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.vtags b {
  font: 700 11px var(--font-mono);
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.28);
  color: #ffffff;
}

.v-fam .vtags b {
  background: rgba(42, 31, 0, 0.14);
  color: #2a1f00;
}

.vtags b:first-child {
  background: var(--oro);
  color: #10131c;
}

.v-fam .vtags b:first-child {
  background: #ffffff;
}

.vnote {
  margin-top: 16px;
  font-size: 13.5px;
  color: #a9abd6;
}

.cinefacts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.cinefacts div {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 16px;
}

.cinefacts b {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  color: #ffffff;
}

.cinefacts span {
  font-size: 14px;
  color: #c4c6ea;
}

/* Metrics & Pillars */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.metric {
  background: var(--arena);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 18px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.metric::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: linear-gradient(180deg, var(--azul) 0 33.3%, #ffffff 33.3% 66.6%, var(--azul) 66.6%);
}

.metric b {
  display: block;
  font: 800 clamp(30px, 3.6vw, 44px) / 1.05 var(--font-display);
  color: var(--azul);
  letter-spacing: -0.04em;
}

.metric:nth-child(2) b { color: var(--anil); }
.metric:nth-child(3) b { color: var(--torogoz-d); }
.metric:nth-child(4) b { color: var(--lava-d); }

.metric span {
  display: block;
  margin-top: 8px;
  font: 700 12.5px var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mut);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.pillar {
  background: var(--arena);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.pillar .pi {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--obsidiana), var(--anil));
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.pillar .pi svg {
  width: 28px;
  height: 28px;
  stroke: var(--lava);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.pillar p {
  color: var(--ink2);
  font-size: 15.5px;
}

.pillar ul {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pillar li {
  font: 700 12px var(--font-mono);
  background: var(--bruma);
  color: var(--azul-d);
  border-radius: 6px;
  padding: 4px 8px;
}

/* 05. Pricing Plans & Cards */
.tickets,
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ticket,
.plan--card {
  position: relative;
  background: var(--papel);
  border-radius: 22px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.ticket:hover,
.plan--card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.ticket .top {
  padding: 48px 24px 20px;
  position: relative;
}

.ticket .top::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  border-bottom: 2px dashed var(--line);
}

.ticket .hole {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--arena);
  bottom: -13px;
  z-index: 2;
}

.sec.white .ticket .hole {
  background: var(--papel);
}

.ticket .hole.l { left: -13px; }
.ticket .hole.r { right: -13px; }

.ticket .lbl {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mut);
}

.ticket h3 {
  font-size: 26px;
  margin: 6px 0 4px;
}

.ticket .price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 56px;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--ink);
  margin-top: 10px;
}

.ticket .price sup {
  font-size: 25px;
  vertical-align: top;
  margin-right: 2px;
  position: relative;
  top: 8px;
}

.ticket .per {
  font-size: 14.5px;
  color: var(--mut);
  margin-top: 6px;
}

.ticket .bot {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ticket ul {
  list-style: none;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 22px;
  flex: 1;
}

.ticket li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  line-height: 1.45;
}

.ticket li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--torogoz) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2 7 11l5-6' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.ticket .btn {
  width: 100%;
}

.ticket .badge {
  position: absolute;
  right: 18px;
  top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--torogoz);
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 999px;
}

.ticket.hot,
.ticket.plan--featured {
  background: var(--obsidiana);
  border-color: var(--obsidiana);
  color: #c9cdd8;
  box-shadow: 0 30px 70px -30px rgba(255, 107, 44, 0.55);
}

.ticket.hot h3,
.ticket.hot .price,
.ticket.plan--featured h3,
.ticket.plan--featured .price {
  color: #ffffff;
}

.ticket.hot .lbl,
.ticket.hot .per,
.ticket.plan--featured .lbl,
.ticket.plan--featured .per {
  color: #a7adbd;
}

.ticket.hot .top,
.ticket.plan--featured .top {
  background: radial-gradient(260px 140px at 100% 0%, rgba(255, 107, 44, 0.45), transparent 70%);
}

.ticket.hot .top::after,
.ticket.plan--featured .top::after {
  border-color: rgba(255, 255, 255, 0.18);
}

.ticket.hot .badge,
.ticket.plan--featured .badge {
  background: var(--lava);
  color: #1d0a00;
}

.ticket .save {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--torogoz-d);
  background: rgba(15, 157, 143, 0.12);
  padding: 3px 9px;
  border-radius: 6px;
}

.ticket.hot .save,
.ticket.plan--featured .save {
  color: var(--oro);
  background: rgba(242, 183, 5, 0.12);
}

.paystrip {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  background: var(--papel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 24px;
}

.paystrip .cards {
  display: flex;
  gap: 10px;
  align-items: center;
}

.paystrip .cards span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
}

.paystrip .cards .v { color: #1a1f71; font-style: italic; }
.paystrip .cards .m { color: #eb001b; }

.paystrip p {
  font-size: 15px;
  color: var(--ink2);
  flex: 1;
  min-width: 260px;
}

/* Compact 4-plan strip (used in articles & local pages) */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 14px 0 26px;
}

.plan {
  background: var(--papel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.plan.hot,
.plan.plan--featured {
  background: var(--obsidiana);
  border-color: var(--obsidiana);
  color: #dce0ec;
  box-shadow: 0 20px 40px -22px rgba(16, 19, 28, 0.75);
}

.plan.hot h3,
.plan.hot h4,
.plan.hot .plan-title,
.plan.hot .p,
.plan.plan--featured h3,
.plan.plan--featured h4,
.plan.plan--featured .plan-title,
.plan.plan--featured .p {
  color: #ffffff;
}

.plan.hot .p small,
.plan.plan--featured .p small {
  color: #a7adbd;
}

.plan h3,
.plan h4,
.plan .plan-title {
  font-size: 14.5px;
  color: var(--mut);
  font-weight: 700;
  font-family: var(--font-body);
  margin: 0;
  line-height: 1.3;
}

.prose .plans {
  grid-template-columns: repeat(2, 1fr);
}

.plan .p {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--ink);
  margin: 6px 0;
}

.plan .p small {
  font-size: 13.5px;
  color: var(--mut);
  font-weight: 500;
  font-family: var(--font-body);
}

.plan .plan-sub {
  font-size: 13.5px;
  color: var(--mut);
  margin-bottom: 10px;
}

.plan.hot .plan-sub,
.plan.plan--featured .plan-sub {
  color: var(--oro);
}

.plan .btn {
  width: 100%;
  margin-top: 10px;
  padding: 10px 14px;
  font-size: 14.5px;
}

/* 06. Bento / Device / App / Glossary / Local Grids */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.bento-card {
  grid-column: span 4;
  background: var(--papel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}

.bento-card--wide {
  grid-column: span 6;
}

.bento-card--dark {
  background: var(--obsidiana);
  border-color: var(--line-dark);
  color: #c9cdd8;
}

.bento-card--dark h3 {
  color: #ffffff;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(10, 71, 169, 0.35);
}

.bento-card h3 {
  font-size: 20px;
}

.bento-card p {
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.55;
}

.bento-card--dark p {
  color: #b9bfce;
}

.bento-links {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}

.bento-links .bento-link {
  margin-top: 0;
}

.bento-link {
  margin-top: auto;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--azul);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bento-card--dark .bento-link {
  color: var(--oro);
}

/* Staggered Device & App Cards */
.device-grid,
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.device-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.device-card,
.app-card {
  background: var(--papel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}

.device-card:hover,
.app-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: var(--azul);
}

.device-card.is-hidden {
  display: none;
}

.device-head,
.app-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.device-ico {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--obsidiana);
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.device-ico svg {
  width: 30px;
  height: 30px;
}

.app-tile {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 12px 24px -10px rgba(16, 19, 28, 0.45);
}

.app-tile svg {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: block;
}

.device-card h3,
.app-card h3 {
  font-size: 20px;
}

.device-card p,
.app-card p {
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.55;
}

.device-meta,
.app-meta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 13.5px;
  color: var(--mut);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.device-meta strong,
.app-meta strong {
  color: var(--ink);
}

/* Stagger effect on desktop for showcase grids */
.stagger-grid > *:nth-child(2n) {
  transform: translateY(10px);
}

.stagger-grid > *:nth-child(2n):hover {
  transform: translateY(4px);
}

/* Dark Pairing / Recommendation Band */
.pair-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pair-card {
  background: var(--obsidiana2);
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  padding: 22px;
}

.pair-card h3 {
  font-size: 18px;
  color: #ffffff;
  margin: 10px 0 8px;
}

.pair-card p {
  font-size: 14.5px;
  color: #b9bfce;
}

/* Filter Pills & Jump Pills */
.filters {
  margin-top: 28px;
}

.filter-bar,
.jump-pills,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
}

.filter-bar button,
.filters button,
.jump-pills a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  border: 1.5px solid var(--line);
  background: var(--papel);
  color: var(--ink2);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background-color 0.16s, color 0.16s, border-color 0.16s;
}

.filter-bar button:hover,
.filters button:hover,
.jump-pills a:hover {
  border-color: var(--azul);
  color: var(--azul);
  text-decoration: none;
}

.filter-bar button[aria-pressed="true"],
.filters button[aria-pressed="true"] {
  background: var(--obsidiana);
  color: #ffffff;
  border-color: var(--obsidiana);
}

/* Glossary 2-Column Grid */
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.term-card {
  background: var(--papel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  scroll-margin-top: 94px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.term-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.term-card h2 {
  font-size: 21px;
}

.term-card p {
  font-size: 15px;
  color: var(--ink2);
}

.term-tip {
  background: var(--arena);
  border-left: 4px solid var(--torogoz);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--ink2);
  margin-top: auto;
}

.copy-anchor {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  background: var(--bruma);
  color: var(--azul-d);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 9px;
  cursor: pointer;
}

/* Methodology & Editor Profile Cards */
.lab-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.lab-card {
  background: var(--papel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.lab-ico {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--azul), var(--anil));
  display: grid;
  place-items: center;
  flex: none;
}

.lab-ico svg {
  width: 28px;
  height: 28px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lab-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.lab-card p {
  font-size: 15px;
  color: var(--ink2);
}

.profile-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  background: var(--papel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.profile-avatar {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  overflow: hidden;
  flex: none;
  box-shadow: 0 18px 34px -16px rgba(10, 71, 169, 0.55);
}

.profile-avatar svg {
  width: 100%;
  height: 100%;
  display: block;
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}

/* Local ISP Scorecard */
.isp-scorecard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.isp-card {
  background: var(--papel);
  border: 1px solid var(--line);
  border-top: 5px solid var(--azul);
  border-radius: 20px;
  padding: 24px;
}

.isp-card:nth-child(2) { border-top-color: var(--torogoz); }
.isp-card:nth-child(3) { border-top-color: var(--lava); }

.isp-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.isp-card p {
  font-size: 14.5px;
  color: var(--ink2);
}

.isp-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}

.isp-metrics div {
  background: var(--arena);
  border-radius: 12px;
  padding: 10px 12px;
}

.isp-metrics b {
  display: block;
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--ink);
}

.isp-metrics span {
  font-size: 12.5px;
  color: var(--mut);
}

/* Trust Strip & Guarantee Band */
.guarantee-band {
  background: linear-gradient(135deg, var(--obsidiana) 0%, var(--azul-d) 100%);
  color: #dce0ec;
  border-radius: 24px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: center;
}

.guarantee-band h2,
.guarantee-band h3 {
  color: #ffffff;
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 10px;
}

.guarantee-band p {
  color: #cdd3e4;
  font-size: 15.5px;
}

.guarantee-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 07. Interactive Calculator & Setup Tools */
.est,
.ups,
.calc-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
}

.panel {
  background: var(--papel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
}

.fld {
  margin-bottom: 22px;
}

.fld > label,
.fld > .l {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 10px;
}

.fld > label output {
  font-family: var(--font-mono);
  color: var(--azul);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips button {
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid var(--line);
  background: var(--arena);
  color: var(--ink2);
  border-radius: 12px;
  padding: 9px 14px;
  cursor: pointer;
  transition: 0.15s;
}

.chips button[aria-pressed="true"] {
  background: var(--azul);
  border-color: var(--azul);
  color: #ffffff;
}

.chips button:hover {
  border-color: var(--azul);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--lava);
  height: 28px;
}

.cnt {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cnt > div {
  flex: 1;
  min-width: 150px;
  background: var(--arena);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 14.5px;
}

.cnt .ctl {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cnt .ctl button {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: #ffffff;
  font: inherit;
  font-weight: 800;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}

.cnt .ctl b {
  font-family: var(--font-mono);
  min-width: 16px;
  text-align: center;
}

.tog {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.tog input {
  width: 46px;
  height: 26px;
  appearance: none;
  -webkit-appearance: none;
  background: #cfd3dc;
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  transition: 0.2s;
  flex: none;
}

.tog input::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  transition: 0.2s;
}

.tog input:checked {
  background: var(--lava);
}

.tog input:checked::after {
  left: 23px;
}

.res {
  background: var(--obsidiana);
  color: #c9cdd8;
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.res h3 {
  color: #ffffff;
  font-size: 21px;
}

.gauge {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.gauge svg {
  width: 100%;
  display: block;
}

.gauge .v {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  text-align: center;
}

.gauge .v b {
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1;
}

.gauge .v span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #8b92a5;
}

.rrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rrow--3 {
  grid-template-columns: repeat(3, 1fr);
}

.rrow div {
  background: #181c28;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px;
}

.rrow b {
  display: block;
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--oro);
}

.rrow span {
  font-size: 13px;
  color: #a7adbd;
}

.isp-rec-box {
  background: linear-gradient(135deg, #181c28 0%, #1c2438 100%);
  border: 1px solid rgba(95, 168, 255, 0.24);
  border-radius: 14px;
  padding: 14px 16px;
}

.isp-rec-box span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7ec0ff;
  margin-bottom: 5px;
}

.isp-rec-box b {
  display: block;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.45;
}

.verdict {
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.5;
  border-left: 5px solid var(--torogoz);
  background: rgba(15, 157, 143, 0.14);
  color: #dff5f2;
}

.verdict.mid {
  border-color: var(--oro);
  background: rgba(242, 183, 5, 0.12);
  color: #fbefc6;
}

.verdict.bad {
  border-color: var(--lava);
  background: rgba(255, 107, 44, 0.14);
  color: #ffe0d2;
}

.verdict strong {
  color: #ffffff;
}

.res .btn {
  align-self: flex-start;
}

.note {
  font-size: 13.5px;
  color: var(--mut);
  margin-top: 14px;
}

/* Setup Tabs */
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tabs button {
  font: inherit;
  font-weight: 800;
  font-size: 14.5px;
  border: 1.5px solid var(--line);
  background: var(--papel);
  color: var(--ink2);
  border-radius: 12px;
  padding: 11px 16px;
  cursor: pointer;
}

.tabs button[aria-selected="true"] {
  background: var(--obsidiana);
  color: #ffffff;
  border-color: var(--obsidiana);
}

.tabpanel {
  display: none;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.tabpanel.on {
  display: grid;
}

.steps {
  list-style: none;
  counter-reset: s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.steps li {
  counter-increment: s;
  background: var(--papel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px 16px 64px;
  position: relative;
  font-size: 15.5px;
  color: var(--ink2);
}

.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 15px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  color: var(--azul);
  background: rgba(10, 71, 169, 0.09);
  width: 36px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
}

.steps li.done {
  border-color: var(--torogoz);
  background: #eef8f6;
}

.steps li.done::before {
  content: "✓";
  background: var(--torogoz);
  color: #ffffff;
}

.stepck {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  margin-bottom: 3px;
  cursor: pointer;
}

.stepck input {
  width: 18px;
  height: 18px;
  accent-color: var(--torogoz);
  flex: none;
}

.creds {
  background: var(--obsidiana);
  color: #c9cdd8;
  border-radius: 20px;
  padding: 24px;
  align-self: start;
}

.creds h3,
.creds h4 {
  color: #ffffff;
  font-size: 17px;
  margin-bottom: 14px;
}

.creds div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.13);
  font-size: 14px;
}

.creds div b {
  font-family: var(--font-mono);
  color: var(--oro);
  font-size: 13px;
  word-break: break-all;
  text-align: right;
}

.creds p {
  font-size: 13.5px;
  color: #a7adbd;
  margin-top: 14px;
}

.prog {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--mut);
}

.prog .b {
  flex: 1;
  height: 8px;
  background: var(--bruma);
  border-radius: 6px;
  overflow: hidden;
}

.prog .b i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--torogoz);
  transition: width 0.3s;
}

/* UPS & Topology */
.devs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dev {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--arena);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 700;
}

.dev input {
  width: 18px;
  height: 18px;
  accent-color: var(--lava);
  flex: none;
}

.dev small {
  display: block;
  font-weight: 500;
  color: var(--mut);
  font-family: var(--font-mono);
  font-size: 12px;
}

.dev:has(input:checked) {
  border-color: var(--lava);
  background: #fff4ee;
}

.battery {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px auto 0;
  width: 100%;
  max-width: 300px;
}

.battery .cell {
  flex: 1;
  height: 70px;
  border: 3px solid #ffffff;
  border-radius: 12px;
  padding: 5px;
  position: relative;
}

.battery .cell i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--torogoz), #3fd0c1);
  transition: width 0.5s;
}

.battery .nub {
  width: 8px;
  height: 26px;
  background: #ffffff;
  border-radius: 0 4px 4px 0;
}

.storm {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.storm div {
  background: var(--papel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  border-top: 5px solid var(--azul);
}

.storm div:nth-child(2) { border-top-color: var(--lava); }
.storm div:nth-child(3) { border-top-color: var(--torogoz); }

.storm h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.storm p {
  font-size: 15px;
  color: var(--ink2);
}

.topo {
  background: #0b0d14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 20px;
  overflow-x: auto;
}

.topo svg {
  min-width: 860px;
  width: 100%;
  height: auto;
  display: block;
}

.topo .pk { animation: pk 3.2s linear infinite; }
.topo .pk.d2 { animation-delay: -1.1s; }
.topo .pk.d3 { animation-delay: -2.2s; }

@keyframes pk {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -200; }
}

.rtt {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.rtt div {
  background: #181c28;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.rtt b {
  display: block;
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--oro);
}

.rtt span {
  font-size: 13.5px;
  color: #a7adbd;
}

.netcols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.netcols div {
  border-left: 3px solid var(--torogoz);
  padding: 4px 0 4px 18px;
}

.netcols h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.netcols p {
  font-size: 15px;
  color: #b9bfce;
}

/* Comparison Table */
.tblwrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 18px;
}

.prose .tblwrap {
  margin: 0 0 24px;
  border: 1px solid var(--line);
  background: var(--papel);
  border-radius: 14px;
}

.prose .tblwrap table {
  display: table;
  width: 100%;
  min-width: 560px;
  margin: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.cmp {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--papel);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  font-size: 15px;
}

.cmp th,
.cmp td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.cmp thead th {
  background: var(--obsidiana);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 14.5px;
}

.cmp thead th.us {
  background: var(--azul);
}

.cmp td.us {
  background: rgba(10, 71, 169, 0.06);
  font-weight: 700;
  color: var(--ink);
}

.cmp tr:last-child td {
  border-bottom: 0;
}

.cmp .y { color: var(--torogoz-d); font-weight: 800; }
.cmp .n { color: #b3361a; font-weight: 800; }

/* FAQ Accordion */
.faqw {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.faqw .side {
  position: sticky;
  top: 100px;
}

.faqw .side p {
  color: var(--ink2);
  margin: 14px 0 20px;
}

.faq-title {
  font-size: clamp(30px, 4vw, 46px);
  margin-top: 10px;
}

.faq-group {
  margin-bottom: 34px;
  scroll-margin-top: 94px;
}

.faq-group h2 {
  font-size: 24px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}

.faq details {
  background: var(--papel);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 10px;
  padding: 0 22px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq details[open] {
  border-color: var(--azul);
  box-shadow: 0 14px 34px -26px rgba(10, 71, 169, 0.7);
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--ink);
  padding: 18px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 16.5px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--lava);
  font-size: 22px;
  line-height: 1;
  flex: none;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  padding-bottom: 18px;
  color: var(--ink2);
  font-size: 15.5px;
}

/* Final CTA Band */
.final {
  background: var(--obsidiana);
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  text-align: center;
  color: #c9cdd8;
}

.final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 50% 120%, rgba(255, 107, 44, 0.5), transparent 70%);
}

.final .wrap {
  position: relative;
}

.final h2 {
  color: #ffffff;
  font-size: clamp(30px, 4.6vw, 54px);
  max-width: 880px;
  margin: 10px auto 18px;
}

.final p {
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: 18px;
}

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

.final .btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.final small {
  display: block;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #8b92a5;
}

/* Reveal Animation (only hides when JS adds .js-anim on <html>) */
html.js-anim .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

html.js-anim .reveal.in {
  opacity: 1;
  transform: none;
}

/* 08. Editorial Articles, Blog Hub & Legal Pages */
.ggrid,
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 20px;
}

.gcard,
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--papel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 24px 22px 28px;
  color: var(--ink);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.gcard::before,
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--azul) 0 33.3%, #ffffff 33.3% 66.6%, var(--azul) 66.6%);
}

.gcard:hover,
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.gmeta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.gcat,
.card .cat {
  font: 700 11.5px var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--obsidiana);
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 999px;
}

.gread,
.card .rt {
  font: 700 12px var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--lava-d);
}

.gcard h3,
.card h2 {
  font-size: 20px;
  line-height: 1.24;
}

.gcard h3 a,
.card h2 a {
  color: var(--ink);
}

.gcard h3 a:hover,
.card h2 a:hover {
  text-decoration: none;
  color: var(--azul);
}

.gcard h3 a::after,
.card h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
}

.gcard p,
.card p {
  font-size: 15px;
  color: var(--ink2);
  font-weight: 500;
  line-height: 1.55;
}

.gcard .more {
  margin-top: auto;
  color: var(--azul);
  font-weight: 800;
  font-size: 14.5px;
}

.card .m {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--mut);
  font-weight: 600;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.card .m b {
  color: var(--azul);
}

.hhero {
  padding: 60px 0 46px;
  background:
    radial-gradient(800px 380px at 92% -20%, rgba(255, 107, 44, 0.32), transparent 60%),
    radial-gradient(700px 320px at -5% 120%, rgba(15, 157, 143, 0.24), transparent 60%),
    linear-gradient(175deg, #fffdf8, #ece7db);
  border-bottom: 1px solid var(--line);
}

.hhero .k {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--azul);
  font-weight: 700;
}

.hhero h1 {
  font-size: clamp(32px, 5vw, 54px);
  margin: 10px 0 14px;
  max-width: 900px;
}

.hhero p {
  font-size: 18.5px;
  color: var(--ink2);
  max-width: 780px;
}

.hhero-stats {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 22px;
  font-size: 15px;
  color: var(--mut);
}

.hhero-stats b {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--ink);
  display: block;
}

.hub-cta {
  margin: 34px 0 70px;
  border-radius: 24px;
  padding: 36px;
  background: linear-gradient(135deg, var(--ink), var(--azul-d));
  color: #ffffff;
  text-align: center;
}

.hub-cta h2 {
  color: #ffffff;
  font-size: 30px;
  margin-bottom: 10px;
}

.hub-cta p {
  color: #d4d8e3;
  max-width: 640px;
  margin: 0 auto 18px;
}

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

/* Article Hero & Prose */
.ahero {
  padding: 58px 0 50px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 380px at 95% -20%, rgba(255, 107, 44, 0.32) 0%, transparent 60%),
    radial-gradient(760px 360px at -8% 120%, rgba(15, 157, 143, 0.26) 0%, transparent 62%),
    linear-gradient(175deg, #fffdf8 0%, #ece7db 100%);
  border-bottom: 1px solid var(--line);
}

.ahero::before {
  content: "13°41′N · 89°11′O";
  position: absolute;
  right: 20px;
  top: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--torogoz);
  opacity: 0.55;
}

.ahero .wrap {
  position: relative;
  z-index: 1;
}

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1d0a00;
  background: var(--lava);
  padding: 5px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.ahero h1 {
  font-size: clamp(30px, 4.4vw, 52px);
  max-width: 960px;
}

.lead {
  font-size: 19px;
  color: var(--ink2);
  max-width: 830px;
  margin-top: 16px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  font-size: 14.5px;
  color: var(--mut);
}

.meta strong {
  color: var(--ink);
  font-weight: 700;
}

.agrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  padding: 36px 0 70px;
}

.prose h2 {
  font-size: clamp(25px, 3vw, 35px);
  margin: 50px 0 16px;
  padding-top: 10px;
  scroll-margin-top: 90px;
  position: relative;
}

.prose h2::before {
  content: "";
  display: block;
  width: 46px;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--azul) 0 33.3%, #ffffff 33.3% 66.6%, var(--azul) 66.6%);
  margin-bottom: 14px;
}

.prose h3 {
  font-size: 22px;
  margin: 30px 0 12px;
  color: var(--azul-d);
}

.prose p {
  margin: 0 0 18px;
  color: #262b3a;
}

.prose ul,
.prose ol {
  margin: 0 0 20px 22px;
  color: #262b3a;
}

.prose li {
  margin-bottom: 8px;
}

.prose strong {
  color: var(--ink);
}

.prose code {
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--bruma);
  border: 1px solid var(--line);
  padding: 2px 7px;
  border-radius: 6px;
  color: #a8380b;
}

.prose pre {
  background: var(--obsidiana);
  border-radius: 14px;
  padding: 18px;
  overflow: auto;
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.6;
}

.prose pre code {
  background: none;
  border: 0;
  padding: 0;
  color: #ffb48a;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  font-size: 15.5px;
  display: block;
  overflow-x: auto;
  background: var(--papel);
  border-radius: 14px;
  border: 1px solid var(--line);
}

.prose th,
.prose td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--obsidiana);
  color: #ffffff;
  font-weight: 700;
  font-size: 14.5px;
  white-space: nowrap;
}

.prose tr:hover td {
  background: rgba(10, 71, 169, 0.06);
}

.toc {
  background: var(--papel);
  border: 1px solid var(--line);
  border-top: 6px solid var(--lava);
  border-radius: 16px;
  padding: 22px 24px;
  margin: 0 0 30px;
}

.toc strong {
  font-family: var(--font-display);
  display: block;
  margin-bottom: 10px;
  font-size: 19px;
}

.toc ol {
  margin: 0 0 0 20px;
}

.toc li {
  margin: 6px 0;
  font-size: 16px;
}

.box {
  border-radius: 16px;
  padding: 20px 22px;
  margin: 0 0 24px;
  border: 1px solid var(--line);
  background: var(--papel);
}

.box.tip { border-left: 6px solid var(--torogoz); background: #e3f4f1; }
.box.warn { border-left: 6px solid var(--lava); background: #fff0e8; }
.box.expert { border-left: 6px solid var(--azul); background: #e8eefa; }
.box p:last-child { margin: 0; }

.box-t {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
  display: block;
  font-size: 18px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: 0 0 26px;
}

.stat {
  background: var(--obsidiana);
  border-radius: 16px;
  padding: 16px;
  color: #c3c8d6;
}

.stat b {
  display: block;
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--lava);
}

.stat span {
  font-size: 14px;
}

.cta {
  margin: 40px 0;
  border-radius: 24px;
  padding: 34px;
  background:
    radial-gradient(520px 230px at 100% 0%, rgba(255, 107, 44, 0.32), transparent 70%),
    linear-gradient(135deg, var(--obsidiana) 0%, var(--azul-d) 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta h2,
.cta h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 28px;
}

.cta h2::before {
  display: none;
}

.cta p {
  color: #d4d8e3;
  margin: 0 auto 18px;
  max-width: 600px;
}

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

.cta .btn-ghost {
  border-color: #ffffff;
  color: #ffffff;
}

.author {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--papel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  margin-top: 40px;
}

.author .av {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--azul);
  box-shadow: 0 0 0 4px var(--arena), 0 0 0 6px var(--lava);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  color: #ffffff;
  font-weight: 800;
  flex: none;
}

.author p {
  font-size: 15px;
  margin: 4px 0 0;
  color: var(--mut);
}

.aside .stick {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.aside .side {
  background: var(--papel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}

.aside .side.buy {
  background: var(--obsidiana);
  color: #dadde6;
  border: 0;
}

.aside .side.buy .aside-title,
.aside .side.buy h4,
.aside .side.buy .price {
  color: #ffffff;
}

.aside .side .aside-title,
.aside .side h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 12px;
  color: var(--ink);
  line-height: 1.25;
}

.aside .side ul {
  list-style: none;
}

.aside .side li {
  margin: 9px 0;
  font-size: 14.5px;
  line-height: 1.45;
}

.aside .side .price {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
}

.aside .side .price small {
  font-size: 14px;
  color: #a7adbd;
  font-family: var(--font-body);
}

.aside .side .btn {
  width: 100%;
  margin-top: 12px;
}

.cards-ico {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  font-size: 12px;
  color: #a7adbd;
  align-items: center;
  flex-wrap: wrap;
}

.cards-ico span {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  padding: 3px 8px;
  font-weight: 700;
  color: #ffffff;
}

.related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.related a {
  display: block;
  background: var(--papel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  color: var(--ink);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 16.5px;
  line-height: 1.3;
  border-left: 5px solid var(--lava);
}

.related a:hover {
  border-left-color: var(--azul);
  text-decoration: none;
}

.related a small {
  display: block;
  font-family: var(--font-mono);
  color: var(--azul);
  font-size: 11.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* Legal Layout */
.lhero {
  padding: 56px 0 34px;
  background: linear-gradient(175deg, #fffdf8, #ece7db);
  border-bottom: 1px solid var(--line);
}

.lhero h1 {
  font-size: clamp(30px, 4.4vw, 48px);
}

.lhero p {
  color: var(--mut);
  margin-top: 10px;
}

.legal {
  max-width: 860px;
  padding: 40px 20px 80px;
}

.legal h2 {
  font-size: 25px;
  margin: 34px 0 12px;
}

.legal p,
.legal li {
  color: #262b3a;
  margin-bottom: 12px;
}

.legal ul,
.legal ol {
  margin: 0 0 16px 22px;
}

.legal .box {
  background: var(--papel);
  border: 1px solid var(--line);
  border-left: 6px solid var(--azul);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 20px 0;
}

.legal nav.lnk {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.legal nav.lnk a {
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 14px;
  background: var(--papel);
}

/* 09. Footer, Sticky CTA & WhatsApp Float */
.ftr {
  background: var(--obsidiana);
  padding: 64px 0 120px;
  font-size: 14.5px;
  color: #a7adbd;
  position: relative;
}

.ftr::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 8px;
  background: linear-gradient(180deg, var(--azul) 0 33.3%, #ffffff 33.3% 66.6%, var(--azul) 66.6%);
}

.ftr .logo { color: #ffffff; }
.ftr .logo b { color: var(--celeste); }

.fgrid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.1fr 1fr;
  gap: 30px;
}

.ftr-desc {
  margin-top: 14px;
  max-width: 360px;
  line-height: 1.6;
}

.ftr .ftr-title,
.ftr h5 {
  font-family: var(--font-display);
  font-weight: 800;
  color: #ffffff;
  font-size: 15.5px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.ftr ul {
  list-style: none;
}

.ftr li {
  margin: 7px 0;
}

.ftr a {
  color: #a7adbd;
  font-weight: 500;
}

.ftr a:hover {
  color: #ffffff;
}

.fbot {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

.ftr-disc {
  margin-top: 14px;
  font-size: 12.5px;
  opacity: 0.75;
}

/* Floating Sticky CTA (non-homepage pages) */
#cta-sticky {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 58;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(16, 19, 28, 0.96);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 10px 14px 10px 18px;
  box-shadow: 0 20px 44px -12px rgba(16, 19, 28, 0.72);
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

#cta-sticky.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

#cta-sticky .sticky-info {
  font-size: 13.5px;
  line-height: 1.25;
}

#cta-sticky .sticky-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  color: #ffffff;
}

#cta-sticky .sticky-info span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--oro);
}

#cta-sticky .btn {
  padding: 9px 15px;
  font-size: 13.5px;
  white-space: nowrap;
}

/* Floating WhatsApp Button */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  filter: drop-shadow(0 14px 26px rgba(16, 19, 28, 0.42));
  transition: transform 0.25s;
}

.wa-float:hover {
  transform: translateY(-3px);
  text-decoration: none;
}

.wa-float .wa-pill {
  position: relative;
  display: block;
  background: #25d366;
  color: #03230f;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.35;
  padding: 12px 22px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.wa-float .wa-pill::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  width: 14px;
  height: 14px;
  background: #25d366;
  border-radius: 2px;
  transform: translateY(-50%) rotate(45deg);
}

.wa-float .wa-circ {
  position: relative;
  flex: none;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #4ee38a, #25d366 55%, #16a34a);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.2);
}

.wa-float .wa-circ::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: ping 2.2s infinite;
  pointer-events: none;
}

.wa-float .wa-circ svg {
  width: 31px;
  height: 31px;
  fill: #ffffff;
}

.wa-float:hover .wa-pill,
.wa-float:hover .wa-pill::after {
  background: #2ee072;
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* 10. Responsive Breakpoints */
@media (max-width: 1024px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .tickets, .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .device-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .device-grid, .app-grid, .pair-grid, .isp-scorecard { grid-template-columns: repeat(2, 1fr); }
  .bento-card { grid-column: span 6; }
  .spec-strip { grid-template-columns: repeat(2, 1fr); }
  .agrid { grid-template-columns: minmax(0, 1fr); }
  .aside { display: none; }
  .hgrid { grid-template-columns: 1fr; gap: 38px; }
  .tv { transform: none; }
  .est, .ups, .calc-layout { grid-template-columns: 1fr; }
  .tabpanel.on { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .rtt { grid-template-columns: 1fr 1fr; }
  .netcols { grid-template-columns: 1fr; }
  .faqw { grid-template-columns: 1fr; }
  .faqw .side { position: static; }
  .guarantee-band { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .stagger-grid > *:nth-child(2n) { transform: none; }
}

@media (max-width: 920px) and (min-width: 761px) {
  .wa-float .wa-pill { display: none; }
  #cta-sticky { max-width: calc(100vw - 110px); }
}

@media (max-width: 760px) {
  .sec { padding: 66px 0; }
  .shead { grid-template-columns: 1fr; }
  .shead .num { font-size: 40px; grid-row: auto; }
  .hstats .wrap { grid-template-columns: 1fr 1fr; }
  .hstats div:nth-child(2) { border-right: 0; }
  .hstats div { border-bottom: 1px solid var(--line); }
  .vgrid, .cinefacts, .glossary-grid, .lab-grid { grid-template-columns: 1fr; }
  .device-grid, .device-grid--4, .app-grid, .pair-grid, .isp-scorecard { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .rrow--3 { grid-template-columns: repeat(3, 1fr); }
  .bento-card, .bento-card--wide { grid-column: span 12; }
  .profile-card { grid-template-columns: 1fr; text-align: left; }
  .storm { grid-template-columns: 1fr; }
  #cta-sticky {
    left: 14px;
    right: 14px;
    bottom: 92px;
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .wrap { padding: 0 14px; }
  .hdr .wrap { gap: 8px; }
  .hdr .btn { padding: 8px 11px; font-size: 13px; white-space: nowrap; gap: 5px; }
  .hdr .btn .wa-ico { width: 15px; height: 15px; }
  .hdr-actions { gap: 7px; }
  .nav-toggle { width: 38px; height: 38px; }
  .logo { font-size: 16px; gap: 7px; }
  .logo .mark { width: 32px; height: 32px; }
  .logo sup { display: none; }
  .coords { font-size: 10.5px; letter-spacing: 0.05em; padding: 6px 11px; }
  .tickets, .plans-grid, .plans, .prose .plans { grid-template-columns: 1fr; }
  .rrow, .rrow--3 { grid-template-columns: 1fr; }
  .spec-strip { grid-template-columns: 1fr; }
  .devs { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  #cta-sticky {
    bottom: 76px;
    padding: 9px 12px;
    gap: 8px;
  }
  #cta-sticky .sticky-info strong { font-size: 13.5px; }
  #cta-sticky .sticky-info span { font-size: 10.5px; }
  #cta-sticky .btn { padding: 8px 11px; font-size: 12.5px; }
  .wa-float { right: 12px; bottom: 12px; gap: 10px; }
  .wa-float .wa-pill { font-size: 13.5px; padding: 10px 15px; }
  .wa-float .wa-circ { width: 52px; height: 52px; }
  .wa-float .wa-circ svg { width: 28px; height: 28px; }
}

@media (max-width: 340px) {
  .wa-float .wa-pill { display: none; }
}

/* 11. Stage 2 Pro-Visual Components (liveboard-*) */
.liveboard-stage {
  width: 100%;
  min-width: 0;
}

.liveboard-bezel {
  background: linear-gradient(155deg, #21283b 0%, #090c14 52%, #191f2f 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 7px 7px 0;
  box-shadow:
    0 36px 80px -26px rgba(0, 0, 0, 0.92),
    0 0 0 1px rgba(95, 168, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.liveboard-screen {
  background: #0a0d16;
  border-radius: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.liveboard-bezel-chin {
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.liveboard-led {
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: var(--celeste);
  box-shadow: 0 0 10px rgba(95, 168, 255, 0.85);
}

.liveboard-stand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12px;
}

.liveboard-stand-neck {
  width: 46px;
  height: 14px;
  background: linear-gradient(180deg, #1b2131 0%, #0c101a 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.liveboard-stand-base {
  width: 170px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08));
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.7);
}

.liveboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 2px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #b5bdd0;
}

.liveboard-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.liveboard-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3b4e;
  box-shadow: 0 0 0 3px rgba(255, 59, 78, 0.24);
  animation: blink 1.4s infinite;
}

.liveboard-sep {
  opacity: 0.45;
}

.liveboard-clock {
  color: #ffffff;
}

.liveboard-badges-top {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.liveboard-pill-4k,
.liveboard-pill-fps {
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.liveboard-pill-4k {
  background: var(--oro);
  color: #10131c;
}

.liveboard-pill-fps {
  background: rgba(15, 157, 143, 0.2);
  color: #5eead4;
  border: 1px solid rgba(15, 157, 143, 0.42);
}

.liveboard-preview {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 8.2;
  background: #121725;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.liveboard-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

.liveboard-preview-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 13, 22, 0.52) 0%,
    rgba(10, 13, 22, 0.16) 44%,
    rgba(10, 13, 22, 0.92) 100%
  );
}

.liveboard-preview-top {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 2;
}

.liveboard-preview-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(10, 13, 22, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
}

.liveboard-preview-tag svg {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--lava);
}

.liveboard-bitrate {
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(10, 13, 22, 0.74);
  color: #d6dceb;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
}

.liveboard-preview-meta {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 2;
}

.liveboard-preview-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.liveboard-preview-meta span {
  display: block;
  font-size: 12px;
  color: #c5cde0;
  margin-top: 2px;
}

.liveboard-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
}

.liveboard-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #b7bfd3;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.liveboard-tab svg {
  width: 16px;
  height: 16px;
  flex: none;
}

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

.liveboard-tab.is-active {
  background: linear-gradient(135deg, var(--azul) 0%, #155fd4 100%);
  color: #ffffff;
  box-shadow: 0 6px 16px -6px rgba(10, 71, 169, 0.9);
}

.liveboard-panels {
  margin-top: 10px;
  min-height: 168px;
}

.liveboard-panel[hidden] {
  display: none;
}

.liveboard-vod-shelf {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.liveboard-poster {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #131826;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.liveboard-poster:hover {
  transform: translateY(-2px);
  border-color: var(--oro);
}

.liveboard-poster img {
  width: 100%;
  aspect-ratio: 2 / 2.75;
  object-fit: cover;
  display: block;
}

.liveboard-poster figcaption {
  padding: 5px 6px;
  font-size: 11px;
  font-weight: 600;
  color: #e4e8f3;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.liveboard-poster figcaption span {
  display: inline-block;
  margin-right: 4px;
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(242, 183, 5, 0.18);
  color: var(--oro);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
}

.liveboard-match-card {
  background: linear-gradient(145deg, rgba(10, 71, 169, 0.26) 0%, rgba(16, 20, 34, 0.96) 100%);
  border: 1px solid rgba(95, 168, 255, 0.28);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 168px;
}

.liveboard-match-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.liveboard-match-league {
  color: #c9d2e6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.liveboard-match-fps {
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(255, 107, 44, 0.2);
  color: #ff9c73;
  font-weight: 700;
}

.liveboard-scoreboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  text-align: center;
}

.liveboard-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.liveboard-crest {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: #ffffff;
}

.liveboard-crest--a {
  background: linear-gradient(135deg, var(--azul), var(--celeste));
}

.liveboard-crest--b {
  background: linear-gradient(135deg, var(--lava-d), var(--lava));
}

.liveboard-team strong {
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1.2;
  color: #ffffff;
}

.liveboard-team small {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #9ba5bc;
  text-transform: uppercase;
}

.liveboard-score-center b {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.liveboard-score-center span {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 59, 78, 0.22);
  color: #ff8b96;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}

.liveboard-match-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #9ba5bc;
}

.liveboard-epg-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.liveboard-epg-list li {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 9px;
  background: #121624;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12.5px;
  color: #cfd5e6;
}

.liveboard-epg-list li.is-now {
  background: linear-gradient(90deg, rgba(255, 107, 44, 0.2), #121624 72%);
  border-color: rgba(255, 107, 44, 0.45);
}

.liveboard-ch {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #ffffff;
  background: #1f263a;
  border-radius: 6px;
  padding: 3px 4px;
  text-align: center;
}

.liveboard-epg-info {
  min-width: 0;
}

.liveboard-epg-info strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #eef1f8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.liveboard-epg-bar {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  margin-top: 4px;
  overflow: hidden;
}

.liveboard-epg-fill {
  display: block;
  width: 68%;
  height: 100%;
  background: var(--lava);
}

.liveboard-epg-list time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #9ba5bc;
}

.liveboard-devbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
}

.liveboard-devbar span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #dce2f0;
  font-size: 12px;
  font-weight: 600;
}

.liveboard-devbar svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--celeste);
}

.liveboard-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.liveboard-kpi {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
}

.liveboard-kpi b {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.liveboard-kpi span {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  color: #b4bdd2;
}

/* Post-Poster Asymmetric Bento Subscription Grid + Compatible Devices Strip */
.liveboard-packs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 12px;
}

.liveboard-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(11, 14, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 24px 22px;
  box-shadow: 0 22px 44px -28px rgba(0, 0, 0, 0.75);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.liveboard-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 28px 54px -26px rgba(0, 0, 0, 0.85);
}

.liveboard-card--featured {
  grid-column: span 4;
  background: linear-gradient(140deg, rgba(14, 22, 46, 0.92) 0%, rgba(16, 19, 28, 0.94) 60%, rgba(102, 34, 10, 0.52) 100%);
  border-color: rgba(255, 107, 44, 0.44);
}

.liveboard-packs > .liveboard-card:nth-child(2) {
  grid-column: span 2;
}

.liveboard-packs > .liveboard-card:nth-child(3),
.liveboard-packs > .liveboard-card:nth-child(4) {
  grid-column: span 3;
}

.liveboard-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.liveboard-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.liveboard-icon svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.liveboard-icon--lava {
  background: rgba(255, 107, 44, 0.18);
  border-color: rgba(255, 107, 44, 0.4);
  color: var(--lava);
}

.liveboard-icon--oro {
  background: rgba(242, 183, 5, 0.16);
  border-color: rgba(242, 183, 5, 0.36);
  color: var(--oro);
}

.liveboard-icon--teal {
  background: rgba(15, 157, 143, 0.18);
  border-color: rgba(15, 157, 143, 0.4);
  color: #4de3d2;
}

.liveboard-icon--celeste {
  background: rgba(95, 168, 255, 0.18);
  border-color: rgba(95, 168, 255, 0.38);
  color: var(--celeste);
}

.liveboard-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #e4e8f4;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.liveboard-badge--lava {
  background: var(--lava);
  color: #1d0a00;
  border-color: transparent;
}

.sec.anil .liveboard-card h3 {
  color: #ffffff;
  font-size: 21px;
  line-height: 1.18;
  margin-bottom: 10px;
}

.sec.anil .liveboard-card--featured h3 {
  font-size: clamp(22px, 2.3vw, 27px);
}

.liveboard-card p {
  color: #ccd2e8;
  font-size: 15px;
  line-height: 1.58;
  margin-bottom: 16px;
  flex: 1;
}

.liveboard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.liveboard-tags span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #eef1fa;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.liveboard-card--featured .liveboard-tags span:first-child {
  background: var(--oro);
  color: #10131c;
  border-color: transparent;
}

.liveboard-devices {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: rgba(11, 14, 24, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 20px 24px;
}

.liveboard-devices-head {
  flex: 1 1 520px;
}

.liveboard-devices-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 10px;
}

.liveboard-devices-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.liveboard-devices-list span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #eef1fa;
  font-size: 13.5px;
  font-weight: 600;
}

.liveboard-devices-list svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--celeste);
}

.liveboard-devices-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.liveboard-devices-price b {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
}

.liveboard-devices-price span {
  display: block;
  font-size: 12.5px;
  color: #c2c8e0;
  margin-top: 2px;
}

@media (max-width: 960px) {
  .hgrid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .liveboard-packs {
    grid-template-columns: repeat(2, 1fr);
  }
  .liveboard-card--featured,
  .liveboard-packs > .liveboard-card:nth-child(4) {
    grid-column: span 2;
  }
  .liveboard-packs > .liveboard-card:nth-child(2),
  .liveboard-packs > .liveboard-card:nth-child(3) {
    grid-column: span 1;
  }
  .liveboard-devices {
    flex-direction: column;
    align-items: stretch;
  }
  .liveboard-devices-cta {
    justify-content: space-between;
  }
}

@media (max-width: 680px) {
  .liveboard-packs {
    grid-template-columns: 1fr;
  }
  .liveboard-card--featured,
  .liveboard-packs > .liveboard-card:nth-child(2),
  .liveboard-packs > .liveboard-card:nth-child(3),
  .liveboard-packs > .liveboard-card:nth-child(4) {
    grid-column: span 1;
  }
  .liveboard-tabs {
    grid-template-columns: 1fr;
  }
  .liveboard-vod-shelf {
    grid-template-columns: repeat(2, 1fr);
  }
  .liveboard-scoreboard {
    gap: 6px;
  }
  .liveboard-score-center b {
    font-size: 22px;
  }
  .liveboard-devices {
    padding: 18px 16px;
  }
  .liveboard-devices-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .liveboard-devices-cta .btn {
    width: 100%;
  }
}

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