/* ==========================================================================
   IPTV Colombia — Pro Theme Stylesheet (/assets/theme.css)
   Archetype: Compact Utility Header + 2-Column Matrix + Elevated Metric Cards
   Personality: Structured Modular Bento · Colombian Emerald / Tricolor / Cream
   ========================================================================== */

/* 01. Tokens & Reset
   ========================================================================== */
:root {
  --navy: #003893;
  --navy-2: #0b4bb3;
  --navy-3: #003893;
  --deep: #120d08;
  --deep-2: #1f1710;
  --red: #ce1126;
  --red-d: #8f0a1a;
  --lari: #009b5a;
  --lari-d: #007a47;
  --lari-l: #7fe3b0;
  --amber: #fcd116;
  --amber-d: #c9a000;
  --honey: #ffdf4f;
  --sand: #fbf6ea;
  --shell: #f3e7cf;
  --ink: #1b140d;
  --muted: #5c5042;
  --line: #e4d7be;
  --wa: #25d366;
  --r: 20px;
  --rosa: #ce1126;
  --cobalto: #003893;
  --jade: #009b5a;
  --cempa: #fcd116;
  --cempa-d: #c9a000;
  --cruz: linear-gradient(180deg, #fcd116 0 50%, #003893 0 75%, #ce1126 0);
  --jadeo: repeating-linear-gradient(45deg, rgba(255, 255, 255, .12) 0 6px, transparent 6px 14px), linear-gradient(135deg, #16c47a, #009b5a 45%, #005232);
  --ambar: radial-gradient(circle at 32% 28%, #fff3a8 0 8%, #ffdf4f 22%, #fcd116 48%, #c9a000 80%, #6b4a12);
  --picado: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='22'%3E%3Cpath d='M0 0h48v14l-6 8-6-8-6 8-6-8-6 8-6-8-6 8-6-8z' fill='black'/%3E%3C/svg%3E");
  --shadow-card: 0 22px 44px -32px rgba(18, 13, 8, .35);
  --shadow-lift: 0 28px 54px -28px rgba(0, 56, 147, .38);
}

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

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

body {
  font-family: Figtree, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.66;
  font-size: 17px;
  overflow-x: clip;
}

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

a {
  color: var(--navy-3);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

a:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 02. Typography & Containers
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: "Plus Jakarta Sans", Figtree, sans-serif;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 800;
}

.wrap {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}

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

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 99;
  background: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}

.mono {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}

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

/* Color & spacing utilities (zero inline style attributes in HTML) */
.c-amber { --c: var(--amber); }
.c-amber-d { --c: var(--amber-d); }
.c-red { --c: var(--red); }
.c-lari { --c: var(--lari); }
.c-lari-d { --c: var(--lari-d); }
.c-navy { --c: var(--navy); }
.c-deep { --c: var(--deep); }
.pillar-1 { --c: #007a47; --g: var(--jadeo); }
.pillar-2 { --c: #ce1126; --g: var(--ambar); }
.pillar-3 { --c: #003893; --g: var(--cruz); }
.plan-1m { --c: var(--jade); }
.plan-3m { --c: var(--cobalto); }
.plan-6m { --c: var(--cempa-d); }
.plan-12m { --c: var(--rosa); }
.genre-1 { --a: linear-gradient(160deg, #ce1126, #7a0a14 55%, #1a0605); --glow: rgba(206, 17, 38, .75); }
.genre-2 { --a: linear-gradient(160deg, #0b4bb3, #003893 55%, #001233); --glow: rgba(0, 56, 147, .8); }
.genre-3 { --a: linear-gradient(160deg, #063d26, #007a47 55%, #01140b); --glow: rgba(0, 155, 90, .75); }
.genre-4 { --a: linear-gradient(160deg, #ffdf4f, #fcd116 45%, #ce1126); --glow: rgba(252, 209, 22, .7); }
.genre-5 { --a: linear-gradient(180deg, #003893, #007a47 55%, #fcd116); --glow: rgba(22, 196, 122, .65); }
.genre-6 { --a: linear-gradient(160deg, #fcd116, #ce1126 50%, #2a0a05); --glow: rgba(252, 209, 22, .55); }
.bar-4 { width: 4px; }
.bar-7 { width: 7px; }
.bar-8 { width: 8px; }
.bar-12 { width: 12px; }
.bar-65 { width: 65px; }
.fill-96 { width: 96%; }
.fill-94 { width: 94%; }
.fill-92 { width: 92%; }
.fill-90 { width: 90%; }
.fill-88 { width: 88%; }
.fill-84 { width: 84%; }
.fill-82 { width: 82%; }
.fill-80 { width: 80%; }
.fill-76 { width: 76%; }
.ta-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-22 { margin-top: 22px; }
.mt-28 { margin-top: 28px; }
.mt-36 { margin-top: 36px; }
.is-hidden { display: none !important; }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: Figtree, sans-serif;
  font-weight: 800;
  font-size: 16px;
  padding: 15px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
  line-height: 1.2;
}

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

.btn-sm {
  font-size: 14px;
  padding: 11px 18px;
}

.btn-amber {
  background: var(--amber);
  color: var(--deep);
  box-shadow: inset 0 -4px 0 var(--amber-d), 0 14px 28px -14px rgba(199, 129, 26, .95);
}

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: inset 0 -4px 0 var(--red-d), 0 14px 28px -14px rgba(206, 17, 38, .8);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
  box-shadow: inset 0 -4px 0 var(--deep);
}

.btn-lari {
  background: var(--lari);
  color: #fff;
  box-shadow: inset 0 -4px 0 var(--lari-d);
}

.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--line);
}

.btn-outline:hover {
  border-color: var(--navy);
}

.btn-wa, a.btn-wa {
  background: var(--wa);
  color: #03270f;
  box-shadow: inset 0 -4px 0 #17a84f, 0 14px 28px -14px rgba(37, 211, 102, .85);
}

.btn-wa svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex: none;
}

.btn .arr {
  font-size: 1.1em;
  line-height: 1;
  transition: transform .2s;
}

.btn:hover .arr {
  transform: translateX(3px);
}

/* 03. Header & Navigation (Compact Utility Header)
   ========================================================================== */
.flagbar {
  height: 18px;
  background: linear-gradient(180deg, #fcd116 0 50%, #003893 0 75%, #ce1126 0);
  -webkit-mask: var(--picado) repeat-x;
  mask: var(--picado) repeat-x;
  -webkit-mask-size: 44px 18px;
  mask-size: 44px 18px;
}

.top {
  position: sticky;
  top: 0;
  z-index: 65;
  background: rgba(251, 246, 234, .92);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  text-decoration: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -.02em;
  line-height: 1;
  flex: none;
}

.brand .logo-mark {
  width: 40px;
  height: 40px;
  flex: none;
  transition: transform .45s;
}

.brand:hover .logo-mark {
  transform: rotate(90deg);
}

.brand b {
  color: var(--red);
  font-weight: 800;
}

.brand small {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: 9px;
  letter-spacing: .16em;
  color: var(--muted);
  margin-top: 5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 11px;
  border-radius: 999px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: rgba(0, 56, 147, .09);
  color: var(--red);
}

.nav .nav-cta {
  background: var(--navy);
  color: #fff;
  margin-left: 8px;
  padding: 10px 18px;
  box-shadow: 0 0 0 3px var(--sand), 0 0 0 5px var(--amber);
}

.nav .nav-cta:hover {
  background: var(--red);
  color: #fff;
}

.burger {
  display: none;
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--navy);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
}

.burger svg {
  width: 24px;
  height: 24px;
  margin: auto;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 13, 8, .48);
  z-index: 62;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s;
}

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

/* 04. Hero & Alternating Bands
   ========================================================================== */
section {
  padding: 88px 0;
  position: relative;
}

section.band-shell {
  background: var(--shell);
}

section.band-white {
  background: #fff;
}

section.band-sand {
  background: var(--sand);
}

section.band-compact {
  padding: 64px 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}

.kicker::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: none;
  border-radius: 4px;
  background: var(--cruz);
}

.sec-head {
  max-width: 800px;
  margin-bottom: 46px;
}

.sec-head h2 {
  font-size: clamp(26px, 3.4vw, 44px);
  margin: 14px 0 12px;
}

.sec-head h2 em {
  font-style: normal;
  color: var(--lari-d);
  background: linear-gradient(transparent 62%, rgba(252, 209, 22, .42) 62% 92%, transparent 92%);
}

.sec-head p {
  color: var(--muted);
  font-size: 18px;
}

.center {
  text-align: center;
  margin-inline: auto;
}

.center .kicker {
  justify-content: center;
}

.dark {
  background: var(--deep);
  color: #c5d1e3;
}

.dark .sec-head h2 {
  color: #fff;
}

.dark .sec-head h2 em {
  color: var(--lari-l);
  background: linear-gradient(transparent 62%, rgba(252, 209, 22, .28) 62% 92%, transparent 92%);
}

.dark .sec-head p {
  color: #a8b7ce;
}

.dark .kicker {
  color: var(--honey);
}

.dark a:not(.btn) {
  color: var(--honey);
  font-weight: 700;
}

.dark a:not(.btn):hover {
  color: var(--lari-l);
}

/* Homepage Hero */
.hero {
  background:
    radial-gradient(820px 480px at 100% -5%, rgba(0, 155, 90, .2), transparent 62%),
    radial-gradient(640px 420px at -5% 105%, rgba(252, 209, 22, .25), transparent 60%),
    var(--sand);
  padding: 54px 0 120px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle, rgba(10, 42, 94, .07) 1.2px, transparent 1.6px) 0 0 / 22px 22px;
  mask: linear-gradient(90deg, #000, transparent 55%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 68px;
  background: var(--deep);
  z-index: -1;
  clip-path: path("M0 40 C 200 0, 400 70, 600 34 S 1000 0, 1400 38 S 1800 70, 2400 30 V 70 H 0 Z");
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 40px;
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.hero .kicker {
  background: #fff;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.hero h1 {
  font-size: clamp(31px, 4.1vw, 52px);
  line-height: 1.12;
  margin: 20px 0 20px;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
  position: relative;
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: .02em;
  height: .2em;
  background: var(--jadeo);
  border-radius: 99px;
  z-index: -1;
  opacity: .85;
}

.hero h1 span {
  display: block;
  font-family: Figtree, sans-serif;
  font-size: clamp(17px, 1.7vw, 20.5px);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.45;
}

.hero .lead {
  font-size: 18px;
  max-width: 600px;
  color: #2b3850;
}

.hero .lead b {
  color: var(--navy);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 28px;
}

.trust {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px;
  justify-content: start;
}

.trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 18px 6px 6px;
  font-weight: 800;
  font-size: 14px;
  color: var(--navy);
  box-shadow: 0 10px 24px -20px rgba(7, 26, 61, .6);
}

.trust li span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  flex: none;
}

.trust li:nth-child(2) span { background: var(--red); }
.trust li:nth-child(3) span { background: var(--lari-d); }
.trust li:nth-child(4) span { background: var(--amber-d); }
.trust li span svg { width: 18px; height: 18px; }

.balcon {
  position: relative;
  padding: 16px;
  border-radius: 30px;
  background: var(--navy);
  box-shadow: 0 44px 80px -40px rgba(7, 26, 61, .85);
}

.balcon::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 38px;
  background: var(--jadeo);
  z-index: -1;
}

.b-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  padding: 4px 8px 12px;
}

.b-top i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wa);
  margin-right: 8px;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, .25);
  animation: blink 1.6s infinite;
}

@keyframes blink { 50% { opacity: .35; } }

.b-view {
  border-radius: 20px;
  overflow: hidden;
  background: #0d3b2a;
}

.b-view svg {
  width: 100%;
  height: auto;
}

.b-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.b-row div {
  background: rgba(255, 255, 255, .07);
  border-radius: 14px;
  padding: 10px 12px;
  color: #a9badb;
  font-size: 12.5px;
  border-top: 3px solid var(--c, var(--amber));
}

.b-row b {
  display: block;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 23px;
  line-height: 1.1;
}

.tag {
  position: absolute;
  z-index: 2;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: .06em;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 14px 26px -14px rgba(7, 26, 61, .7);
}

.tag.t1 {
  left: -30px;
  top: 76px;
  background: var(--amber);
  color: var(--deep);
  transform: rotate(-5deg);
}

.tag.t2 {
  right: -22px;
  bottom: 150px;
  background: var(--red);
  color: #fff;
  transform: rotate(4deg);
}

/* Landing Page Hero (Pillar & Local Pages) */
.page-hero {
  background:
    radial-gradient(760px 440px at 100% 0%, rgba(0, 155, 90, .26), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(206, 17, 38, .22), transparent 60%),
    var(--deep);
  color: #d2dceb;
  padding: 52px 0 84px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 46px;
  background: var(--sand);
  clip-path: path("M0 24 C 240 0, 480 46, 720 22 S 1200 0, 1680 28 S 2160 46, 2600 18 V 46 H 0 Z");
}

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

.page-hero h1 {
  color: #fff;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.12;
  max-width: 920px;
  margin: 14px 0 16px;
  letter-spacing: -0.02em;
}

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

.page-hero .hero-sub {
  max-width: 760px;
  font-size: 18px;
  color: #c5d4e8;
}

.page-hero .hero-sub a,
.a-hero .hero-sub a {
  color: var(--honey);
  font-weight: 700;
}

.page-hero .hero-sub a:hover,
.a-hero .hero-sub a:hover {
  color: var(--lari-l);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.metric-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13);
  border-top: 3px solid var(--c, var(--amber));
  border-radius: 18px;
  padding: 18px 18px 16px;
  backdrop-filter: blur(6px);
}

.metric-card b {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(20px, 2.2vw, 27px);
  color: #fff;
  margin-bottom: 4px;
}

.metric-card span {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #b7c8e0;
}

/* Cinema / Poster Carousel */
.cine {
  background:
    radial-gradient(900px 520px at 90% -10%, rgba(0, 155, 90, .28), transparent 60%),
    radial-gradient(700px 420px at -5% 110%, rgba(206, 17, 38, .22), transparent 60%),
    var(--deep);
  color: #c8b8a2;
  padding-top: 76px;
  overflow: hidden;
  --accent: #fcd116;
}

.cine .sec-head h2 { color: #fff; }
.cine .sec-head h2 em { color: var(--lari-l); }
.cine .sec-head p { color: #c8b8a2; }
.cine .kicker { color: var(--honey); }
.cine a:not(.btn) { color: var(--honey); font-weight: 700; }
.cine a:not(.btn):hover { color: var(--lari-l); }

.rail-wrap {
  position: relative;
}

.rail-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--amber);
  color: #120d08;
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .8);
}

.rail-btn.prev { left: -8px; }
.rail-btn.next { right: -8px; }

.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;
}

.poster-carousel::-webkit-scrollbar { height: 8px; }
.poster-carousel::-webkit-scrollbar-thumb { background: var(--accent, #fcd116); border-radius: 8px; }

.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, .8), 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .35s ease, box-shadow .35s ease;
}

.poster-carousel figure { margin: 0; }
.poster-carousel img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform .4s ease;
}

.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, .92), 0 0 0 2px var(--accent, #fcd116);
}

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

.genres {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.poster {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--a);
  min-height: 320px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 26px 50px -18px rgba(0, 0, 0, .9), 0 0 46px -8px var(--glow);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s;
  isolation: isolate;
}

.poster:hover, .poster:focus-within {
  transform: scale(1.04);
  z-index: 2;
  box-shadow: 0 0 0 2px var(--amber), 0 34px 60px -18px rgba(0, 0, 0, .95), 0 0 70px -6px var(--glow);
}

.poster svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 62%;
  z-index: -1;
}

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 30%, rgba(10, 7, 4, .55) 55%, rgba(10, 7, 4, .96) 82%);
}

.poster .zig {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 10px;
  background: var(--cruz);
  -webkit-mask: var(--picado) repeat-x;
  mask: var(--picado) repeat-x;
  -webkit-mask-size: 24px 10px;
  mask-size: 24px 10px;
}

.poster .res {
  position: absolute;
  right: 14px;
  top: 18px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #120d08;
  background: var(--amber);
  padding: 4px 10px;
  border-radius: 8px;
}

.poster .no {
  position: absolute;
  left: 14px;
  top: 20px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .85);
}

.poster .p-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 18px 20px;
}

.poster h3 {
  color: #fff;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.12;
  margin-bottom: 8px;
}

.poster p {
  font-size: 13.5px;
  line-height: 1.5;
  color: #e2d6c4;
  margin-bottom: 12px;
}

.poster .badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.poster .badges span {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .06em;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  padding: 4px 9px;
  border-radius: 999px;
}

.poster .badges span.hi {
  background: var(--lari);
  color: #fff;
}

/* Performance / Azulejos & Pillars */
.perf {
  background: linear-gradient(var(--deep), var(--navy));
  padding-top: 28px;
}

.azulejos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.azulejo {
  position: relative;
  background: #fbf8f2;
  border-radius: 18px;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  box-shadow: 0 2px 0 #d9cfbd, 0 8px 0 #c9bea9, 0 24px 40px -20px rgba(0, 0, 0, .7);
  text-align: center;
  overflow: hidden;
}

.azulejo .half {
  padding: 24px 16px 18px;
  display: grid;
  place-items: center;
  position: relative;
}

.azulejo .half.bot { padding: 16px 16px 22px; }

.azulejo hr {
  border: 0;
  height: 10px;
  background: repeating-linear-gradient(135deg, #120d08 0 4px, #fbf6ea 4px 8px);
  position: relative;
}

.azulejo hr::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--amber);
}

.azulejo b {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(25px, 2.5vw, 35px);
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}

.azulejo b span { color: var(--c); }

.azulejo small {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted);
}

.azulejo .pips {
  position: absolute;
  inset: 10px;
  pointer-events: none;
}

.azulejo .half.top .pips {
  background: radial-gradient(circle at 8% 14%, var(--c) 0 4px, transparent 4.5px), radial-gradient(circle at 92% 86%, var(--c) 0 4px, transparent 4.5px);
  opacity: .75;
}

.azulejo .half.bot .pips {
  background: radial-gradient(circle at 8% 80%, var(--c) 0 4px, transparent 4.5px), radial-gradient(circle at 92% 20%, var(--c) 0 4px, transparent 4.5px), radial-gradient(circle at 92% 80%, var(--c) 0 4px, transparent 4.5px);
  opacity: .75;
}

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

.pillar {
  background: var(--sand);
  color: var(--ink);
  border-radius: 24px;
  padding: 32px 28px 28px;
  position: relative;
  overflow: hidden;
  border-top: 6px solid var(--c);
}

.pillar::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--g);
  opacity: .22;
}

.pillar .num {
  position: absolute;
  right: 24px;
  top: 22px;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--c);
  z-index: 1;
}

.pillar .ico {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--c);
  margin: 0 0 20px;
  position: relative;
  transform: rotate(-6deg);
  box-shadow: 6px 6px 0 var(--shell);
}

.pillar .ico svg {
  width: 30px;
  height: 30px;
  transform: rotate(6deg);
}

.pillar h3 {
  font-size: 23px;
  margin-bottom: 10px;
  position: relative;
}

.pillar p {
  color: var(--muted);
  font-size: 16px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0 14px;
}

.chips span {
  font-size: 12px;
  font-weight: 800;
  background: #fff;
  border: 1.5px solid var(--c, var(--navy));
  color: var(--navy);
  padding: 5px 11px;
  border-radius: 999px;
}

.pillar ul {
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 600;
}

.pillar li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.pillar li::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 3px;
  background: var(--cruz);
}

/* Setup & Network Topology */
.setup { background: #fff; }
.setup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.steps {
  list-style: none;
  counter-reset: s;
  display: grid;
  gap: 16px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 22px;
  bottom: 22px;
  width: 3px;
  background: repeating-linear-gradient(180deg, var(--lari) 0 8px, transparent 8px 16px);
}

.steps li {
  counter-increment: s;
  position: relative;
  padding: 18px 22px 18px 86px;
  background: var(--sand);
  border-radius: 20px;
  border: 1px solid var(--line);
}

.steps li::before {
  content: counter(s);
  position: absolute;
  left: 8px;
  top: 14px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--c, var(--navy));
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 21px;
  border-radius: 14px;
  transform: rotate(-6deg);
  box-shadow: 0 0 0 5px #fff;
}

.steps li:nth-child(2) { --c: var(--red); }
.steps li:nth-child(3) { --c: var(--lari-d); }
.steps li:nth-child(4) { --c: var(--amber-d); }
.steps li:nth-child(5) { --c: var(--deep); }
.steps h3 { font-size: 19px; margin-bottom: 4px; }
.steps p { font-size: 15.5px; color: var(--muted); }
.steps code {
  font-family: "IBM Plex Mono", monospace;
  font-size: .82em;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
}

.console {
  background: var(--deep);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 70px -46px rgba(7, 26, 61, .8);
  position: sticky;
  top: 96px;
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  background: var(--navy);
  color: #c8b8a2;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  border-bottom: 4px solid var(--lari);
}

.console-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--red); }
.console-bar i:nth-child(2) { background: var(--amber); }
.console-bar i:nth-child(3) { background: var(--lari); }
.console-bar span { margin-left: 10px; }

.console pre {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13.5px;
  line-height: 1.85;
  color: #e1e8f4;
  padding: 22px 24px;
  overflow-x: auto;
}

.console .c { color: #7286a8; }
.console .k { color: var(--lari-l); }
.console .v { color: var(--honey); }

.devices {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 22px 24px;
}

.devices span {
  font-size: 12.5px;
  font-weight: 700;
  color: #e1e8f4;
  background: rgba(255, 255, 255, .08);
  padding: 5px 12px;
  border-radius: 999px;
}

.setup-note {
  margin-top: 34px;
  background: var(--sand);
  border-left: 6px solid var(--amber);
  padding: 18px 22px;
  border-radius: 0 18px 18px 0;
  font-size: 16px;
}

#red { background: var(--deep); }
.net-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 36px;
  align-items: center;
}

.topo {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 24px;
  padding: 16px;
}

.topo .flow {
  animation: dash 2.6s linear infinite;
}

@keyframes dash { to { stroke-dashoffset: -44; } }

.rtt {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.rtt th {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--honey);
  text-align: left;
  padding: 0 0 10px;
}

.rtt td {
  padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #dbe4f3;
}

.rtt td:last-child { text-align: right; white-space: nowrap; }
.rtt .bar {
  display: inline-block;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--lari), var(--amber));
  margin-right: 10px;
  vertical-align: middle;
}

.rtt b { font-family: "IBM Plex Mono", monospace; color: #fff; font-size: 13px; }
.rtt-note { margin-top: 16px; font-size: 14px; color: #96a9c8; }

.net-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.net-points div {
  background: rgba(255, 255, 255, .05);
  border-radius: 20px;
  padding: 24px;
  border-left: 4px solid var(--c);
}

.net-points div:nth-child(1) { --c: var(--lari); }
.net-points div:nth-child(2) { --c: var(--amber); }
.net-points div:nth-child(3) { --c: var(--red); }
.net-points h3 { color: #fff; font-size: 19px; margin-bottom: 8px; }
.net-points p { font-size: 15px; }

/* Order CTA Banner */
.order {
  background: var(--sand);
  padding-top: 24px;
}

.order .inner {
  border-radius: 30px;
  padding: 64px 36px;
  text-align: center;
  color: #e8eef9;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--cruz);
}

.order .inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side, rgba(7, 26, 61, .84), rgba(7, 26, 61, .45) 75%, rgba(18, 13, 8, .55));
  z-index: -1;
}

.order .inner::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  border-radius: 50%;
  background: var(--ambar);
  opacity: .22;
  z-index: -1;
}

.order h2 {
  color: #fff;
  font-size: clamp(28px, 3.8vw, 46px);
  margin-bottom: 14px;
}

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

.order .hero-ctas {
  justify-content: center;
  margin-bottom: 0;
}

/* 05. Pricing Plans & Cards
   ========================================================================== */
.pricing { background: var(--sand); }

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 26px;
  padding: 34px 24px 26px;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
  overflow: hidden;
}

.plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px -34px rgba(7, 26, 61, .55);
}

.plan::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 5px;
  border-radius: 0 0 6px 6px;
  background: var(--c, var(--navy));
}

.plan h3 {
  font-size: 24px;
  margin: 12px 0 10px;
}

.plan .save {
  align-self: flex-start;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--shell);
  color: var(--navy);
  padding: 5px 12px;
  border-radius: 999px;
}

.price {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy);
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.price small {
  font-family: "IBM Plex Mono", monospace;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--red);
}

.eq { font-weight: 800; margin-top: 10px; color: var(--ink); }
.usd { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }

.plan ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
  flex: 1;
  align-content: start;
  font-size: 15px;
}

.plan li { display: flex; gap: 9px; }
.plan li::before { content: "✓"; color: var(--lari-d); font-weight: 800; }
.plan .btn { width: 100%; }

.plan.hot,
.plan.plan--featured {
  background: linear-gradient(160deg, #063d26, #120d08 70%);
  border: 0;
  color: #c8d4ea;
  box-shadow: 0 0 0 5px var(--sand), 0 0 0 9px var(--amber), 0 34px 60px -26px rgba(7, 26, 61, .9);
  transform: translateY(-10px);
  overflow: visible;
}

.plan.hot:hover,
.plan.plan--featured:hover {
  transform: translateY(-14px);
}

.plan.hot::before,
.plan.plan--featured::before { display: none; }

.plan.hot .corner,
.plan.plan--featured .corner {
  position: absolute;
  right: 0;
  top: 0;
  width: 86px;
  height: 86px;
  border-radius: 0 26px 0 86px;
  background: var(--cruz);
  opacity: .95;
}

.plan.hot h3, .plan.hot .price, .plan.hot .eq,
.plan.plan--featured h3, .plan.plan--featured .price, .plan.plan--featured .eq { color: #fff; }
.plan.hot .price small, .plan.plan--featured .price small { color: var(--honey); }
.plan.hot .usd, .plan.plan--featured .usd { color: #c8b8a2; }
.plan.hot .save, .plan.plan--featured .save { background: var(--lari); color: #fff; }
.plan.hot li::before, .plan.plan--featured li::before { color: var(--honey); }

.badge-best {
  position: absolute;
  left: 50%;
  top: -17px;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--deep);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .12em;
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5);
  z-index: 2;
}

.pay-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 26px;
  margin-top: 44px;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
}

.pay-row span { display: flex; align-items: center; gap: 8px; }
.pay-row svg { width: 20px; height: 20px; flex: none; }
.card-logos i {
  font-style: normal;
  font-weight: 800;
  font-size: 13px;
  background: var(--navy);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
}
.card-logos i + i { background: var(--red); }

.guarantee-box {
  margin-top: 34px;
  background: #fff;
  border: 2px solid var(--lari-d);
  border-radius: 24px;
  padding: 28px 30px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.guarantee-ico {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--lari), var(--lari-d));
  display: grid;
  place-items: center;
  color: #fff;
}

.guarantee-ico svg { width: 32px; height: 32px; }
.guarantee-box h3 { font-size: 21px; margin-bottom: 6px; color: var(--navy); }
.guarantee-box p { color: var(--muted); font-size: 15.5px; }

/* Compact 4-plan strip (Local City Pages) */
.compact-plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cplan {
  background: #fff;
  border: 1.5px solid var(--line);
  border-top: 5px solid var(--c, var(--navy));
  border-radius: 20px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cplan.hot {
  background: linear-gradient(160deg, #063d26, #120d08 75%);
  color: #d6e2f0;
  border-color: var(--amber);
}

.cplan.hot h3, .cplan.hot .cprice { color: #fff; }
.cplan h3 { font-size: 18px; }
.cprice {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
}
.cprice small { font-family: "IBM Plex Mono", monospace; font-size: 14px; color: var(--red); margin-left: 4px; }
.cplan.hot .cprice small { color: var(--honey); }
.cplan p { font-size: 13.5px; color: var(--muted); flex: 1; }
.cplan.hot p { color: #b9c9de; }
.cplan .btn { width: 100%; margin-top: 8px; }

/* 06. Bento / Device / App Grids & 2-Column Matrices
   ========================================================================== */
.matrix-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

.matrix-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-top: 5px solid var(--c, var(--navy));
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.matrix-card h3 {
  font-size: 21px;
  color: var(--navy);
}

.matrix-card p {
  font-size: 15.5px;
  color: var(--muted);
}

.matrix-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.matrix-list li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  align-items: flex-start;
}

.matrix-list li::before {
  content: "▸";
  color: var(--lari-d);
  font-weight: 800;
  flex: none;
}

/* Structured Modular Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-tile {
  grid-column: span 4;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  text-decoration: none;
  color: var(--ink);
}

.bento-tile.span-4 { grid-column: span 4; }
.bento-tile.span-6 { grid-column: span 6; }
.bento-tile.span-8 { grid-column: span 8; }
.bento-tile.span-3 { grid-column: span 3; }

.bento-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--lari-d);
}

.bento-tile h3 {
  font-size: 19px;
  color: var(--navy);
}

.bento-tile p {
  font-size: 15px;
  color: var(--muted);
  flex: 1;
}

.bento-tile .tile-link {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--shell);
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--navy);
  flex: none;
}

.icon-badge svg { width: 26px; height: 26px; }
.icon-badge.bg-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.icon-badge.bg-lari { background: var(--lari-d); border-color: var(--lari-d); color: #fff; }
.icon-badge.bg-red { background: var(--red); border-color: var(--red); color: #fff; }
.icon-badge.bg-amber { background: var(--amber); border-color: var(--amber-d); color: var(--deep); }

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

.device-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-top: 5px solid var(--c, var(--navy));
  border-radius: 22px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.device-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--lari-d);
}

.device-card h3 { font-size: 18px; color: var(--navy); }
.device-card p { font-size: 14.5px; color: var(--muted); flex: 1; }

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

.chip {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sand);
  border: 1px solid var(--line);
  color: var(--navy);
}

.chip.hi {
  background: rgba(0, 155, 90, .14);
  border-color: var(--lari);
  color: var(--lari-d);
}

.chip.warn {
  background: rgba(252, 209, 22, .25);
  border-color: var(--amber-d);
  color: var(--deep);
}

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

.app-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
  transition: transform .22s, box-shadow .22s;
}

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

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

.app-tile {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  flex: none;
  overflow: hidden;
  box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .55);
}

.app-tile svg { width: 58px; height: 58px; }
.app-head h3 { font-size: 19px; color: var(--navy); margin-bottom: 3px; }
.app-head small {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--lari-d);
  font-weight: 700;
}

.app-card p { font-size: 15px; color: var(--muted); flex: 1; }

.dark-rec-band {
  background: linear-gradient(155deg, var(--deep), #0b244e 85%);
  color: #dbe4f3;
  border-radius: 28px;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, .12);
}

.dark-rec-band .kicker {
  color: var(--honey);
}

.dark-rec-band h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 36px);
  margin: 14px 0 12px;
}

.dark-rec-band h2 em {
  font-style: normal;
  color: var(--lari-l);
  background: linear-gradient(transparent 62%, rgba(252, 209, 22, .28) 62% 92%, transparent 92%);
}

.dark-rec-band p {
  color: #c5d4e8;
  max-width: 760px;
}

.dark-rec-band a:not(.btn) {
  color: var(--honey);
  font-weight: 700;
}

.dark-rec-band a:not(.btn):hover {
  color: var(--lari-l);
}

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

.dark-rec-item {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-left: 4px solid var(--amber);
  border-radius: 16px;
  padding: 18px 20px;
}

.dark-rec-item .rec-tag {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--honey);
  background: rgba(252, 209, 22, .14);
  border: 1px solid rgba(252, 209, 22, .32);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.dark-rec-item strong {
  display: block;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  margin-bottom: 6px;
}

.dark-rec-item span,
.dark-rec-item p {
  font-size: 14px;
  color: #b7c8e0;
  margin: 0;
  max-width: none;
}

/* 3-Step Activation Flow & Quick-Pick Cards */
.step-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.step-card {
  background: var(--sand);
  border: 1.5px solid var(--line);
  border-top: 5px solid var(--c, var(--navy));
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
}

.step-card h3 {
  font-size: 18px;
  color: var(--navy);
}

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

.step-card a:not(.btn) {
  color: var(--navy-3);
  font-weight: 700;
}

.step-card a:not(.btn):hover {
  color: var(--red);
}

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

.term-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-left: 5px solid var(--c, var(--navy));
  border-radius: 20px;
  padding: 24px;
  scroll-margin-top: 96px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.term-head h2 {
  font-size: 20px;
  color: var(--navy);
}

.anchor-btn {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

.anchor-btn:hover { border-color: var(--navy); color: var(--navy); }
.term-card p { font-size: 15.5px; color: var(--ink); }
.term-tip {
  background: var(--sand);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--muted);
  border-left: 3px solid var(--lari);
  margin: 0;
}

.term-tip a,
.matrix-card a:not(.btn),
.device-card a:not(.btn),
.app-card a:not(.btn),
.isp-score-card a:not(.btn),
.faq-list .ans a:not(.btn),
.legal a:not(.btn) {
  color: var(--navy-3);
  font-weight: 700;
}

.term-tip a:hover,
.matrix-card a:not(.btn):hover,
.device-card a:not(.btn):hover,
.app-card a:not(.btn):hover,
.isp-score-card a:not(.btn):hover,
.faq-list .ans a:not(.btn):hover,
.legal a:not(.btn):hover {
  color: var(--red);
}

/* About / Testing Lab & Author Profile */
.lab-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.author-hero-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 26px;
  padding: 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.avatar-mono {
  width: 116px;
  height: 116px;
  border-radius: 26px;
  flex: none;
  overflow: hidden;
  box-shadow: 0 18px 34px -18px rgba(0, 56, 147, .65);
}

.avatar-mono svg { width: 116px; height: 116px; }

.author-role {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--lari-d);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 6px;
}

/* Local City Pages */
.scorecard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.isp-score-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.isp-score-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.isp-score-top h3 { font-size: 18px; color: var(--navy); }
.isp-score-val {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  font-size: 13px;
  color: var(--lari-d);
  background: rgba(0, 155, 90, .12);
  padding: 4px 10px;
  border-radius: 999px;
}

.score-meter {
  height: 9px;
  background: var(--shell);
  border-radius: 999px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lari), var(--navy));
}

.district-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.district-chips span {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 999px;
}

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

.city-card {
  background: linear-gradient(155deg, var(--navy), #06255e);
  color: #dce7f7;
  border-radius: 22px;
  padding: 24px;
  text-decoration: none;
  border-top: 4px solid var(--amber);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.city-card h3 { color: #fff; font-size: 20px; }
.city-card p { font-size: 14.5px; color: #c4d5ee; flex: 1; }
.city-card span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--honey);
}

/* 07. Interactive Calculator & Filters
   ========================================================================== */
/* Homepage Speed Desk */
.speed { background: var(--shell); }

.desk {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 70px -46px rgba(7, 26, 61, .6);
  border: 1px solid var(--line);
}

.desk-form { padding: 34px; }
.field { margin-bottom: 20px; }
.field label, .field .lbl {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 9px;
  color: var(--navy);
}

.field .val { font-family: "IBM Plex Mono", monospace; color: var(--red); }

.isp-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.isp-tabs button {
  font: inherit;
  font-weight: 800;
  font-size: 14px;
  color: var(--navy);
  background: var(--sand);
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 11px 12px;
  cursor: pointer;
  text-align: left;
  line-height: 1.25;
  transition: border-color .2s, background .2s;
}

.isp-tabs button small {
  display: block;
  font-weight: 600;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}

.isp-tabs button[aria-pressed="true"] {
  border-color: var(--lari-d);
  background: #e6f6ec;
  box-shadow: inset 0 -4px 0 var(--amber);
}

select {
  width: 100%;
  font: inherit;
  font-size: 15.5px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 2px solid var(--line);
  background: var(--sand);
  color: var(--ink);
}

select:focus,
input:focus-visible,
button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

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

.range-row {
  display: flex;
  justify-content: space-between;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--muted);
}

.desk-out {
  background: var(--navy);
  color: #b9c6dc;
  padding: 30px 34px 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
}

.desk-out::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--jadeo);
  opacity: .12;
}

.gauge { position: relative; width: 100%; max-width: 300px; margin: 0 auto; }
.gauge svg { width: 100%; height: auto; overflow: visible; }
.gauge #arc { transition: stroke-dashoffset .5s, stroke .4s; }
.gauge #needle { transition: transform .5s cubic-bezier(.3, 1.4, .6, 1); transform-origin: 120px 120px; }

.pct {
  margin-top: 6px;
  text-align: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  color: #fff;
}

.pct small {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  color: #c8b8a2;
  margin-top: 4px;
}

.verdict {
  font-weight: 800;
  font-size: 16px;
  padding: 12px 16px;
  border-radius: 14px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.verdict.ok { background: rgba(0, 155, 90, .25); color: #9debc2; }
.verdict.mid { background: rgba(252, 209, 22, .25); color: #ffdf4f; }
.verdict.bad { background: rgba(206, 17, 38, .32); color: #ffb3bc; }

.est-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.est-rows div {
  background: rgba(255, 255, 255, .07);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 12.5px;
}

.est-rows b {
  display: block;
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 17px;
  margin-top: 2px;
}

.tip {
  font-size: 14.5px;
  line-height: 1.55;
  position: relative;
  z-index: 1;
  color: #d3ddef;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 16px;
}

/* Dedicated 4K Speed & Buffer Calculator (/calculadora-velocidad/) */
.calc-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: start;
}

.calc-panel {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 26px;
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.choice-btn {
  font: inherit;
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 12px;
  border-radius: 14px;
  border: 2px solid var(--line);
  background: var(--sand);
  color: var(--navy);
  cursor: pointer;
  text-align: center;
  transition: border-color .18s, background .18s, transform .15s;
}

.choice-btn:hover { border-color: var(--navy); }
.choice-btn[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: inset 0 -3px 0 var(--amber);
}

.choice-btn small {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  opacity: .82;
  margin-top: 2px;
}

.calc-results {
  background: linear-gradient(160deg, var(--deep), #0b244e);
  color: #d4e1f4;
  border-radius: 26px;
  padding: 32px;
  box-shadow: 0 36px 64px -38px rgba(18, 13, 8, .85);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-results .kicker {
  color: var(--honey);
}

.calc-results h2 {
  color: #fff;
  font-size: clamp(22px, 2.5vw, 30px);
  margin-top: 10px;
}

.calc-results h2 em {
  font-style: normal;
  color: var(--lari-l);
  background: linear-gradient(transparent 62%, rgba(252, 209, 22, .28) 62% 92%, transparent 92%);
}

.calc-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.kpi-box {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-top: 3px solid var(--c, var(--amber));
  border-radius: 18px;
  padding: 18px;
}

.kpi-box span {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #aec2df;
  margin-bottom: 6px;
}

.kpi-box b {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.15;
  color: #fff;
}

.kpi-box small {
  display: block;
  margin-top: 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: #b7c8e0;
  line-height: 1.35;
}

.isp-rec {
  background: rgba(0, 155, 90, .18);
  border: 1px solid rgba(127, 227, 176, .35);
  border-radius: 18px;
  padding: 18px 20px;
}

.calc-meter-wrap {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  padding: 14px 16px;
}

.calc-meter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  color: #c5d4e8;
}

.calc-status-pill {
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 11px;
  background: rgba(0, 155, 90, .25);
  color: var(--lari-l);
}

.calc-status-pill.is-mid {
  background: rgba(252, 209, 22, .25);
  color: var(--honey);
}

.calc-status-pill.is-high {
  background: rgba(206, 17, 38, .32);
  color: #ffb3bc;
}

.calc-meter {
  height: 10px;
  background: rgba(255, 255, 255, .12);
  border-radius: 999px;
  overflow: hidden;
}

.calc-meter-fill {
  height: 100%;
  width: 38%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lari), var(--lari-l));
  transition: width .35s ease, background .3s ease;
}

.calc-meter-fill.is-mid {
  background: linear-gradient(90deg, var(--amber-d), var(--honey));
}

.calc-meter-fill.is-high {
  background: linear-gradient(90deg, var(--amber), var(--red));
}

.isp-rec h3 {
  color: var(--lari-l);
  font-size: 15px;
  margin-bottom: 6px;
}

.isp-rec p {
  font-size: 14.5px;
  color: #e4effc;
}

/* Filter & Jump Pills */
.filter-bar, .jump-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  align-items: center;
}

.filter-pill, .jump-pill {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}

.filter-pill:hover, .jump-pill:hover {
  border-color: var(--navy);
  background: var(--shell);
}

.filter-pill[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.filter-count {
  margin-left: auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--muted);
}

/* 08. Editorial Articles, FAQ & Legal
   ========================================================================== */
.faq { background: var(--sand); }

.faq-wrap {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 48px;
  align-items: start;
}

.faq-wrap .sec-head {
  position: sticky;
  top: 96px;
}

.faq-group {
  margin-bottom: 42px;
  scroll-margin-top: 96px;
}

.faq-group h2 {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 5px solid var(--red);
}

.faq-list details {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 0 24px;
  margin-bottom: 10px;
  transition: border-color .2s;
}

.faq-list details[open] {
  border-color: var(--lari-d);
  box-shadow: inset 0 4px 0 var(--amber);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 17px;
  padding: 18px 34px 18px 0;
  list-style: none;
  position: relative;
  color: var(--navy);
}

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

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 21px;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--cruz);
  transition: transform .3s;
}

.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .ans { padding-bottom: 18px; color: #2b3850; font-size: 16px; }
.faq-list .ans p + p { margin-top: 10px; }

/* Article Hero, TOC, Prose & Cards */
.crumbs {
  font-size: 14px;
  color: #a6b8d2;
  margin-bottom: 16px;
}

.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--honey); }

.a-hero {
  background:
    radial-gradient(760px 440px at 100% 0%, rgba(0, 155, 90, .28), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(206, 17, 38, .25), transparent 60%),
    var(--deep);
  color: #c2d1e4;
  padding: 56px 0 88px;
  position: relative;
  overflow: hidden;
}

.a-hero::before {
  content: "";
  position: absolute;
  right: 6%;
  top: 34px;
  width: 104px;
  height: 104px;
  border-radius: 24px;
  background: var(--cruz);
  opacity: .85;
  transform: rotate(8deg);
}

.a-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 52px;
  background: var(--sand);
  clip-path: path("M0 30 C 200 0, 400 52, 600 26 S 1000 0, 1400 30 S 1800 52, 2400 22 V 52 H 0 Z");
}

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

.a-hero h1 {
  color: #fff;
  font-size: clamp(29px, 4.2vw, 50px);
  max-width: 940px;
  margin: 16px 0 16px;
  letter-spacing: -.035em;
}

.a-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  font-size: 14.5px;
}

.a-meta .cat { background: var(--amber); color: var(--deep); }
.a-meta strong, .a-meta a { color: #fff; }
.a-meta a:hover { color: var(--honey); }

.a-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 52px;
  padding: 40px 0 80px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 22px 20px;
  font-size: 14.5px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.toc::before {
  content: "";
  display: block;
  height: 6px;
  margin: -22px -22px 18px;
  background: linear-gradient(90deg, var(--amber) 0 40%, var(--navy) 40% 72%, var(--red) 72%);
}

.toc b {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 10px;
}

.toc ol { padding-left: 18px; display: grid; gap: 7px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--lari-d); }
.toc .btn { width: 100%; margin-top: 16px; font-size: 14px; padding: 12px 14px; }

article.post { max-width: 760px; font-size: 17.5px; }
article.post .lede {
  font-size: 19.5px;
  color: #24342c;
  margin-bottom: 26px;
  padding: 18px 22px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--lari);
}

article.post .lede p { margin: 0; }

article.post h2 {
  font-size: clamp(23px, 2.7vw, 31px);
  margin: 46px 0 14px;
  scroll-margin-top: 96px;
  padding-left: 32px;
  position: relative;
}

article.post h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .22em;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--cruz);
}

article.post h3 { font-size: 20px; margin: 28px 0 10px; color: var(--navy); }
article.post p { margin-bottom: 16px; }
article.post ul, article.post ol { margin: 0 0 18px 22px; display: grid; gap: 7px; }
article.post a { color: var(--navy-3); font-weight: 700; }
article.post code, article.post kbd {
  font-family: "IBM Plex Mono", monospace;
  font-size: .82em;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  word-break: break-word;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  margin: 22px 0 26px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 520px;
}

.table-wrap th {
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  text-align: left;
  padding: 13px 15px;
  border-bottom: 3px solid var(--amber);
}

.table-wrap td {
  padding: 12px 15px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.table-wrap tr:nth-child(even) td { background: #f8f3ea; }

.callout {
  background: rgba(0, 155, 90, .09);
  border-left: 6px solid var(--lari-d);
  border-radius: 0 16px 16px 0;
  padding: 16px 20px;
  margin: 22px 0;
  font-size: 16px;
}

.callout.warn {
  background: rgba(252, 209, 22, .22);
  border-left-color: var(--amber-d);
}

.callout p:last-child { margin-bottom: 0; }

article.post a.btn-wa, article.post .btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wa);
  color: #03270f;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15.5px;
}

section.a-faq, .a-faq { margin-top: 46px; padding: 0; }
.a-hero .hero-sub { max-width: 720px; font-size: 18px; color: #c5d4e8; }
.a-faq h2 { margin-bottom: 18px; }
.a-faq details { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 0 22px; margin-bottom: 10px; }
.a-faq details[open] { border-color: var(--lari-d); }
.a-faq summary { cursor: pointer; font-weight: 800; font-size: 17px; padding: 16px 0; list-style: none; color: var(--navy); }
.a-faq summary::-webkit-details-marker { display: none; }
.a-faq summary::before { content: "+ "; color: var(--red); }
.a-faq details[open] summary::before { content: "− "; }
.a-faq .ans { padding-bottom: 16px; font-size: 16px; }

.a-cta {
  margin: 44px 0 0;
  background: var(--navy);
  color: #d8e4f6;
  border-radius: 26px;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.a-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(260px 200px at 100% 0, rgba(0, 155, 90, .35), transparent 70%), radial-gradient(220px 180px at 0 100%, rgba(206, 17, 38, .35), transparent 70%);
}

.a-cta h3 { color: #fff; font-size: 22px; margin-bottom: 4px; }
.a-cta p { margin: 0; font-size: 15.5px; color: #c8d4ea; }
.a-cta .btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
article.post .a-cta a.btn { color: var(--deep); }
article.post .a-cta a.btn-wa { color: #03270f; }

.author {
  margin-top: 34px;
  padding: 20px 22px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-left: 5px solid var(--navy);
  border-radius: 18px;
  font-size: 15px;
  color: var(--muted);
}

.author p { margin: 0; }
.author strong { color: var(--navy); }

.guides { background: var(--sand); }
.all { text-align: center; margin-top: 36px; }
.related { background: var(--shell); padding: 64px 0; }
.related h2 { font-size: 30px; margin-bottom: 24px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: g;
}

.acard {
  counter-increment: g;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--lari);
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  overflow: hidden;
}

.acard:nth-child(3n+2) { border-top-color: var(--red); }
.acard:nth-child(3n) { border-top-color: var(--amber); }

.acard::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -28px;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: var(--cruz);
  opacity: .14;
  transform: rotate(12deg);
  transition: opacity .2s;
}

.acard:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 46px -30px rgba(11, 51, 36, .6);
  border-color: var(--lari-d);
}

.acard:hover::after { opacity: .35; }

.acard::before {
  content: counter(g, decimal-leading-zero);
  position: absolute;
  right: 20px;
  bottom: 12px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  color: #efe6d6;
}

.ameta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
  padding-right: 24px;
}

.cat {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--navy);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
}

.rt {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rt::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.acard h3, .acard h2 {
  font-size: 20px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
  margin-top: 6px;
  letter-spacing: -.02em;
}

.acard h3 a, .acard h2 a { color: var(--ink); text-decoration: none; }
.acard h3 a::after, .acard h2 a::after {
  content: "";
  position: absolute;
  inset: -320px -40px -320px -40px;
  z-index: 2;
}

.acard p { color: var(--muted); font-size: 15px; flex: 1; position: relative; z-index: 1; }
.more { font-weight: 800; font-size: 15px; color: var(--red); position: relative; z-index: 1; }

.hub-grid { padding: 36px 0 86px; }
.legal { max-width: 820px; padding: 48px 0 88px; font-size: 17px; }
.legal h2 { font-size: 23px; margin: 32px 0 10px; color: var(--navy); }
.legal p, .legal ul { margin-bottom: 14px; }
.legal ul { padding-left: 22px; }

/* 09. Footer, Sticky CTA & WhatsApp
   ========================================================================== */
.foot {
  background: var(--deep);
  color: #9fb0cc;
  padding: 0 0 130px;
  font-size: 14.5px;
  position: relative;
  overflow: hidden;
}

.foot::before {
  content: "";
  display: block;
  height: 12px;
  background: linear-gradient(180deg, #fcd116 0 50%, #003893 0 75%, #ce1126 0);
  -webkit-mask: var(--picado) repeat-x;
  mask: var(--picado) repeat-x;
  -webkit-mask-size: 24px 12px;
  mask-size: 24px 12px;
  margin-bottom: 64px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
  position: relative;
}

.foot .foot-h,
.foot h4 {
  color: var(--honey);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.foot ul { list-style: none; display: grid; gap: 8px; }
.foot a { color: #dbe4f3; text-decoration: none; }
.foot a:hover { color: var(--lari-l); }
.foot .brand { margin-bottom: 16px; color: #fff; }
.foot .brand b { color: var(--honey); }
.foot .brand small { color: #7f92b3; }
.foot-pay { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }

.paychip {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
}

.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 42px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  position: relative;
}

.foot-gem {
  position: absolute;
  right: -90px;
  top: 30px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: var(--jadeo);
  opacity: .08;
  pointer-events: none;
}

/* Sticky CTA Bar (non-homepage pages, slides in after 280px scroll) */
#cta-sticky {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 58;
  background: rgba(18, 13, 8, .94);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1.5px solid rgba(252, 209, 22, .55);
  border-radius: 999px;
  padding: 8px 10px 8px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 18px 38px -14px rgba(0, 0, 0, .75);
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s ease, opacity .3s ease;
}

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

#cta-sticky .sticky-copy {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
}

#cta-sticky .sticky-copy small {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  color: var(--honey);
  font-weight: 600;
}

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

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  filter: drop-shadow(0 14px 26px rgba(20, 6, 31, .45));
  transition: transform .25s;
}

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

.wa-float .wa-pill {
  position: relative;
  display: block;
  background: var(--wa);
  color: #03270f;
  font-family: Figtree, system-ui, sans-serif;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.25;
  padding: 11px 20px;
  border-radius: 999px;
  white-space: nowrap;
  border: 2px solid #0f8a40;
}

.wa-float .wa-pill small {
  display: block;
  font-weight: 600;
  font-size: 11px;
  opacity: .84;
}

.wa-float .wa-pill::after {
  content: "";
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 9px 0 9px 13px;
  border-color: transparent transparent transparent #0f8a40;
}

.wa-float .wa-pill::before {
  content: "";
  position: absolute;
  right: -9px;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 7px 0 7px 10px;
  border-color: transparent transparent transparent var(--wa);
  z-index: 1;
}

.wa-float .wa-circ {
  position: relative;
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #5ae894, #25d366 55%, #13a14a);
  display: grid;
  place-items: center;
  border: 2px solid #0f8a40;
}

.wa-float .wa-circ::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: waping 2.2s infinite;
  pointer-events: none;
}

.wa-float .wa-circ svg { width: 32px; height: 32px; fill: #fff; }
.wa-float:hover .wa-pill { background: #35e07c; }
.wa-float:hover .wa-pill::before { border-left-color: #35e07c; }
@keyframes waping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.45); opacity: 0; } }

/* 09b. ViewHub — Frameless 4K Smart TV Hero & Post-Poster Bento System (viewhub-*)
   ========================================================================== */
.viewhub-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.viewhub-tv {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.viewhub-bezel {
  width: 100%;
  border-radius: 22px;
  padding: 9px 9px 14px;
  background: linear-gradient(155deg, #252932 0%, #0d1016 38%, #07090d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .2),
    inset 0 0 0 1px rgba(255, 255, 255, .07),
    0 34px 68px -28px rgba(7, 26, 61, .78),
    0 0 0 1px rgba(18, 13, 8, .55);
}

.viewhub-screen {
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(460px 260px at 95% 0%, rgba(0, 155, 90, .24), transparent 65%),
    radial-gradient(360px 240px at 0% 100%, rgba(0, 56, 147, .28), transparent 65%),
    #0b0f17;
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 12px;
  color: #e6ecf5;
}

.viewhub-chin {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.viewhub-led {
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .15), var(--lari-l), rgba(255, 255, 255, .15));
  box-shadow: 0 0 8px rgba(127, 227, 176, .55);
}

.viewhub-stand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -1px;
}

.viewhub-neck {
  width: 58px;
  height: 18px;
  background: linear-gradient(90deg, #4b5260 0%, #b5bcc9 45%, #e2e6ee 55%, #525967 100%);
  clip-path: polygon(14% 0%, 86% 0%, 100% 100%, 0% 100%);
}

.viewhub-base {
  width: 190px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3c4350 0%, #cdd3de 32%, #f1f4f9 50%, #c8ceda 68%, #3c4350 100%);
  box-shadow: 0 10px 18px -6px rgba(18, 13, 8, .55);
}

/* Top Status Bar */
.viewhub-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .06em;
}

.viewhub-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
}

.viewhub-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wa);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, .25);
  animation: blink 1.6s infinite;
  flex: none;
}

.viewhub-bar-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.viewhub-chip {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
}

.viewhub-chip--hdr {
  background: rgba(252, 209, 22, .18);
  color: var(--honey);
  border: 1px solid rgba(252, 209, 22, .38);
}

.viewhub-chip--rtt {
  background: rgba(0, 155, 90, .2);
  color: var(--lari-l);
  border: 1px solid rgba(127, 227, 176, .35);
}

/* Interactive 3-Tab Switcher */
.viewhub-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 10px;
}

.viewhub-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 9px;
  border: 0;
  background: transparent;
  color: #b7c4d9;
  font-family: "Plus Jakarta Sans", Figtree, sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}

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

.viewhub-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.viewhub-tab.is-active,
.viewhub-tab[aria-selected="true"] {
  background: var(--amber);
  color: var(--deep);
  box-shadow: 0 6px 16px -8px rgba(252, 209, 22, .85);
}

.viewhub-tab:focus-visible {
  outline: 2px solid var(--honey);
  outline-offset: 2px;
}

.viewhub-viewport {
  min-height: 294px;
}

.viewhub-panel {
  display: none;
}

.viewhub-panel.is-active {
  display: block;
}

/* Panel 1: Cinema 4K */
.viewhub-hero-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 164px;
  background: #0d1420;
  border: 1px solid rgba(255, 255, 255, .1);
  margin-bottom: 9px;
}

.viewhub-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(1.08) brightness(.72);
}

.viewhub-hero-overlay {
  position: relative;
  z-index: 1;
  min-height: 164px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 14px 12px;
  background: linear-gradient(95deg, rgba(7, 10, 16, .92) 0%, rgba(7, 10, 16, .68) 58%, rgba(7, 10, 16, .24) 100%);
}

.viewhub-tag-amber {
  display: inline-flex;
  align-self: flex-start;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--deep);
  background: var(--amber);
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.viewhub-hero-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 4px;
}

.viewhub-hero-meta {
  font-size: 12px;
  color: #cdd8ea;
  margin-bottom: 10px;
}

.viewhub-play-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.viewhub-play-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--lari);
  color: #fff;
  font-weight: 700;
  font-size: 11.5px;
}

.viewhub-play-pill svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.viewhub-bitrate {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  color: var(--lari-l);
}

.viewhub-minis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.viewhub-mini {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 3 / 4;
  max-height: 120px;
  width: 100%;
  background: #101722;
  border: 1px solid rgba(255, 255, 255, .1);
}

.viewhub-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.viewhub-mini figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 6px 6px;
  background: linear-gradient(180deg, transparent, rgba(7, 10, 16, .94) 72%);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.viewhub-mini figcaption span {
  display: inline-block;
  margin-right: 4px;
  padding: 1px 4px;
  border-radius: 4px;
  background: var(--amber);
  color: var(--deep);
  font-family: "IBM Plex Mono", monospace;
  font-size: 8.5px;
  font-weight: 700;
  vertical-align: 1px;
}

/* Panel 2: Live Sports 4K */
.viewhub-scoreboard {
  border-radius: 12px;
  padding: 14px;
  background:
    radial-gradient(280px 160px at 50% 0%, rgba(0, 155, 90, .28), transparent 72%),
    linear-gradient(165deg, #132135 0%, #0b1220 100%);
  border: 1px solid rgba(127, 227, 176, .24);
  margin-bottom: 10px;
}

.viewhub-match-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
}

.viewhub-match-league {
  color: var(--honey);
}

.viewhub-match-clock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(206, 17, 38, .28);
  border: 1px solid rgba(206, 17, 38, .55);
  color: #fff;
}

.viewhub-match-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

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

.viewhub-team strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13.5px;
  line-height: 1.2;
  color: #fff;
}

.viewhub-team small {
  font-size: 11px;
  color: #9cb0cc;
}

.viewhub-crest {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  margin-bottom: 2px;
}

.viewhub-crest--a {
  background: linear-gradient(135deg, var(--lari), #005232);
  border: 2px solid var(--amber);
}

.viewhub-crest--b {
  background: linear-gradient(135deg, var(--red), var(--navy));
  border: 2px solid rgba(255, 255, 255, .45);
}

.viewhub-score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  color: #fff;
}

.viewhub-score em {
  font-style: normal;
  color: var(--amber);
  font-size: 24px;
}

.viewhub-sport-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.viewhub-schip {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #d6e2f2;
}

.viewhub-schip--gold {
  background: var(--amber);
  color: var(--deep);
}

.viewhub-schip--emerald {
  background: var(--lari);
  color: #fff;
}

.viewhub-upcoming {
  display: grid;
  gap: 7px;
}

.viewhub-up-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .08);
  font-size: 12px;
}

.viewhub-up-time {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  color: var(--honey);
  flex: none;
}

.viewhub-up-match {
  color: #e6ecf5;
  font-weight: 600;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.viewhub-up-q {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--lari-l);
  flex: none;
}

/* Panel 3: Live TV EPG */
.viewhub-epg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  color: #a6b7d0;
}

.viewhub-epg-badge {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 155, 90, .2);
  color: var(--lari-l);
  border: 1px solid rgba(127, 227, 176, .35);
}

.viewhub-epg-list {
  list-style: none;
  display: grid;
  gap: 7px;
}

.viewhub-epg-row {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .08);
}

.viewhub-epg-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
}

.viewhub-ch {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--honey);
}

.viewhub-epg-time {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  color: #9cb0cc;
  margin-left: auto;
}

.viewhub-epg-q {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.viewhub-epg-q--live {
  background: var(--red);
}

.viewhub-epg-prog {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.viewhub-prog {
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}

.viewhub-prog-fill {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--lari), var(--amber));
}

.viewhub-w-72 { width: 72%; }
.viewhub-w-58 { width: 58%; }
.viewhub-w-36 { width: 36%; }
.viewhub-w-84 { width: 84%; }

/* Compact Device Pills Below TV Stand */
.viewhub-devbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.viewhub-devpill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  font-weight: 700;
  font-size: 12px;
  box-shadow: 0 8px 18px -14px rgba(18, 13, 8, .35);
}

.viewhub-devpill svg {
  width: 16px;
  height: 16px;
  color: var(--lari-d);
  flex: none;
}

/* 3 KPI Tiles Below Stand */
.viewhub-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.viewhub-kpi {
  background: var(--navy);
  border-radius: 14px;
  padding: 11px 12px;
  border-top: 3px solid var(--amber);
  box-shadow: 0 16px 32px -22px rgba(7, 26, 61, .8);
  text-align: left;
}

.viewhub-kpi--amber { border-top-color: var(--amber); }
.viewhub-kpi--red { border-top-color: var(--red); }
.viewhub-kpi--lari { border-top-color: var(--lari); }

.viewhub-kpi b {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 23px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}

.viewhub-kpi span {
  display: block;
  font-size: 12px;
  color: #b7c8e0;
  margin-top: 2px;
}

/* Post-Poster Asymmetric Bento Subscription Grid */
.viewhub-packs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin-top: 6px;
}

.viewhub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  padding: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 22px 44px -26px rgba(0, 0, 0, .82);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.viewhub-card:hover {
  transform: translateY(-4px);
  border-color: rgba(252, 209, 22, .48);
  box-shadow: 0 28px 54px -24px rgba(0, 0, 0, .92);
}

.viewhub-card--wide {
  grid-column: span 4;
  background:
    radial-gradient(460px 240px at 95% 0%, rgba(0, 155, 90, .28), transparent 62%),
    radial-gradient(380px 220px at 0% 100%, rgba(252, 209, 22, .14), transparent 62%),
    linear-gradient(155deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border-color: rgba(252, 209, 22, .32);
}

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

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

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

.viewhub-card-ico {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}

.viewhub-card-ico svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.viewhub-ico--amber {
  background: var(--amber);
  color: var(--deep);
}

.viewhub-ico--red {
  background: var(--red);
}

.viewhub-ico--lari {
  background: var(--lari);
}

.viewhub-ico--navy {
  background: var(--navy-2);
}

.viewhub-card-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--honey);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
}

.viewhub-card h3 {
  color: #fff;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.viewhub-card p {
  color: #d3c7b6;
  font-size: 15px;
  line-height: 1.58;
  margin-bottom: 16px;
}

.viewhub-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.viewhub-card-chips span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  color: #f4eee4;
}

.viewhub-card-chips span.viewhub-pill-hi {
  background: var(--lari);
  color: #fff;
}

.viewhub-card-foot {
  margin: 14px 0 0 !important;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13.5px !important;
  color: var(--lari-l) !important;
}

.viewhub-card-foot b {
  color: var(--amber);
}

/* Inline Screen Compatibility Strip */
.viewhub-devices {
  margin-top: 22px;
  padding: 20px 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 56, 147, .35), rgba(0, 155, 90, .2));
  border: 1px solid rgba(255, 255, 255, .15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.viewhub-devices-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 260px;
}

.viewhub-devices-lbl {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--honey);
}

.viewhub-devices-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.viewhub-devchip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(18, 13, 8, .55);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.viewhub-devchip svg {
  width: 16px;
  height: 16px;
  color: var(--lari-l);
  flex: none;
}

.viewhub-devices-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex: none;
}

.viewhub-devices-price {
  font-size: 13px;
  color: #d8e2f0;
}

.viewhub-devices-price b {
  color: var(--amber);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
}

/* 10. Responsive Breakpoints (<=1120px, <=1024px, <=960px, <=760px, <=600px)
   ========================================================================== */
@media (max-width: 1120px) {
  .nav a {
    font-size: 13.5px;
    padding: 8px 9px;
  }
  .nav .nav-cta {
    padding: 9px 14px;
  }
}

@media (max-width: 1024px) {
  .burger { display: block; }
  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--sand);
    padding: 12px 20px 22px;
    gap: 3px;
    display: none;
    border-bottom: 4px solid var(--lari);
    box-shadow: 0 24px 48px -20px rgba(18, 13, 8, .45);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 12px; font-size: 15px; }
  .nav .nav-cta { margin: 10px 0 0; text-align: center; }
  .hero-grid,
  .desk,
  .setup-grid,
  .net-grid,
  .faq-wrap,
  .calc-grid,
  .a-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .balcon,
  .viewhub-stage { max-width: 640px; margin: 12px auto 0; width: 100%; }
  .console, .toc, .faq-wrap .sec-head { position: static; }
  .plans, .compact-plans { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .plan.hot, .plan.plan--featured { transform: none; }
  .azulejos, .metric-row, .device-grid { grid-template-columns: 1fr 1fr; }
  .pillars, .net-points, .cards, .app-grid, .dark-rec-grid, .city-strip, .step-strip {
    grid-template-columns: 1fr 1fr;
  }
  .bento-tile, .bento-tile.span-4, .bento-tile.span-6, .bento-tile.span-8, .bento-tile.span-3 {
    grid-column: span 6;
  }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .guarantee-box { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 960px) {
  .viewhub-packs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .viewhub-card--wide,
  .viewhub-packs > .viewhub-card:nth-child(2),
  .viewhub-packs > .viewhub-card:nth-child(3),
  .viewhub-packs > .viewhub-card:nth-child(4) {
    grid-column: span 1;
  }
  #cta-sticky {
    padding: 7px 9px 7px 15px;
    gap: 10px;
  }
  .wa-float .wa-pill {
    font-size: 14px;
    padding: 10px 16px;
  }
  .wa-float .wa-pill small { display: none; }
}

@media (max-width: 760px) {
  section { padding: 68px 0; }
  .viewhub-packs {
    grid-template-columns: minmax(0, 1fr);
  }
  .viewhub-devices {
    flex-direction: column;
    align-items: stretch;
  }
  .viewhub-devices-cta {
    align-items: flex-start;
  }
  .matrix-2col, .glossary-grid, .lab-grid, .scorecard-grid, .step-strip {
    grid-template-columns: minmax(0, 1fr);
  }
  .author-hero-card {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .rail-btn { display: none; }
  .a-hero::before { width: 52px; height: 52px; top: 16px; border-radius: 12px; }
  .tag.t1 { left: 8px; top: -16px; }
  .tag.t2 { right: 8px; bottom: -16px; }
  #cta-sticky {
    left: 12px;
    right: 12px;
    bottom: 92px;
    justify-content: space-between;
    padding: 8px 10px 8px 16px;
  }
  .wa-float .wa-pill small { display: none; }
}

@media (max-width: 600px) {
  .wrap { width: min(1200px, 100% - 28px); }
  .plans { gap: 32px; }
  .plans, .compact-plans, .azulejos, .metric-row, .device-grid,
  .pillars, .net-points, .cards, .app-grid, .dark-rec-grid, .city-strip,
  .foot-grid, .calc-kpis, .est-rows, .isp-tabs, .trust {
    grid-template-columns: minmax(0, 1fr);
  }
  .bento-tile, .bento-tile.span-4, .bento-tile.span-6, .bento-tile.span-8, .bento-tile.span-3 {
    grid-column: span 12;
  }
  .b-row { gap: 6px; }
  .b-row div { min-width: 0; padding: 8px; }
  .b-row b { font-size: 17px; }
  .viewhub-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .viewhub-tab {
    font-size: 11.5px;
    padding: 8px 6px;
    gap: 4px;
  }
  .viewhub-minis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .viewhub-match-grid {
    gap: 8px;
  }
  .viewhub-score {
    font-size: 24px;
    padding: 5px 10px;
  }
  .viewhub-kpis {
    gap: 7px;
  }
  .viewhub-kpi {
    padding: 9px 10px;
  }
  .viewhub-kpi b {
    font-size: 18px;
  }
  .viewhub-card {
    padding: 20px;
  }
  .viewhub-devices {
    padding: 18px;
  }
  .tag.t1 { left: 6px; top: -16px; }
  .tag.t2 { right: 6px; bottom: -16px; }
  .hero h1 em { white-space: normal; }
  .desk-form, .desk-out, .calc-panel, .calc-results { padding: 22px; }
  #cta-sticky {
    bottom: 76px;
    border-radius: 18px;
  }
  .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; }
}

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