/* ============================================================
   DobbyStreams V2 — CCCAMBOX-style layout, blue palette (#203c91)
   ============================================================ */
:root{
  /* Paleta azul · base #203c91, escala adaptada de cccambox */
  --p-50:  #e6efff;
  --p-100: #cfdcff;
  --p-200: #a8c2ff;
  --p-300: #86a5ff;            /* cccambox light accent */
  --p-400: #3b7dff;            /* cccambox vivid accent */
  --p-500: #3d66b4;            /* cccambox medium */
  --p-600: #203c91;            /* primary */
  --p-700: #1a3175;
  --p-800: #142659;
  --p-900: #111a30;            /* cccambox deep */
  --p-950: #070b14;            /* cccambox almost-black */

  /* Layouts neutros (tipo cccambox) en lugar de navy profundo */
  --bg:        #0c0d12;        /* grey-black con un tinte mínimo */
  --bg-2:      #161618;        /* cccambox layout-black */
  --bg-3:      #1e1f24;
  --bg-card:   rgba(255,255,255,.045);
  --bg-card-2: rgba(255,255,255,.07);
  --border:    rgba(255,255,255,.08);
  --border-2:  rgba(255,255,255,.14);

  --text:      #ffffff;
  --text-dim:  rgba(255,255,255,.78);
  --text-mute: rgba(255,255,255,.55);

  /* Acentos OKLCH (estilo Sileo) */
  --info-blue:   oklch(0.685 0.169 237.323);  /* azul cielo suave */
  --action-blue: oklch(0.623 0.214 259.815);  /* azul acción vivo pero suave */

  --gold: #ffd166;
  --green: #3fcaaa;            /* cccambox green */
  --red:   #fe405c;            /* cccambox red — sólo para errores/alertas */

  --container: 1200px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --font: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-padding-top: 80px; }
html,body{
  margin:0; padding:0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}
/* Prevent horizontal scroll without breaking sticky/fixed positioning */
body{ overflow-x: clip; }
img{ max-width:100%; display:block; }
a{ color: var(--p-300); text-decoration:none; }
a:hover{ color: #fff; }

h1,h2,h3,h4{ color: #fff; line-height:1.1; margin: 0 0 .4em; letter-spacing:-0.02em; font-weight: 800;}
h1{ font-size: clamp(2.4rem, 5vw, 4.4rem); }
h2{ font-size: clamp(2rem, 3.6vw, 3rem); }
h3{ font-size: 1.4rem; }
p { margin: 0 0 1em; color: var(--text-dim); }

.container{ max-width: var(--container); margin: 0 auto; padding: 0 24px;}

/* ============================================================
   Background — global blue glow
   ============================================================ */
body::before{
  content:""; position: fixed; inset:0; z-index:-1; pointer-events:none;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(32,60,145,.40), transparent 60%),
    radial-gradient(700px 500px at 0% 30%, rgba(59,125,255,.22), transparent 60%),
    radial-gradient(800px 600px at 100% 80%, rgba(20,38,89,.30), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 60%, var(--bg) 100%);
}

/* ============================================================
   Header
   ============================================================ */
.site-header{
  position: fixed; top: 14px; left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 960px;
  z-index: 100;
  border-radius: 999px;
  backdrop-filter: blur(26px) saturate(200%);
  -webkit-backdrop-filter: blur(26px) saturate(200%);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0) 55%),
    rgba(12,13,18,.5);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow:
    0 1px 0 rgba(255,255,255,.07) inset,
    0 -1px 0 rgba(0,0,0,.18) inset,
    0 18px 44px rgba(0,0,0,.28),
    0 2px 6px rgba(0,0,0,.15);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header:hover{
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 55%),
    rgba(12,13,18,.62);
  border-color: rgba(255,255,255,.14);
  box-shadow:
    0 1px 0 rgba(255,255,255,.09) inset,
    0 -1px 0 rgba(0,0,0,.2) inset,
    0 22px 52px rgba(0,0,0,.32),
    0 2px 8px rgba(0,0,0,.18);
}
/* Push content below the floating header */
body{ padding-top: 86px; }
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding: 6px 8px 6px 18px; gap: 14px;
}
.brand{ line-height: 0; transition: transform .25s cubic-bezier(.4,0,.2,1); }
.brand:hover{ transform: scale(1.04); }
.brand img{ height: 28px; display: block; }
.nav ul{
  list-style:none; padding:0; margin:0;
  display:flex; align-items:center; gap: 1px;
}
.nav ul a{
  position: relative;
  display:inline-block;
  padding: 8px 13px; border-radius: 999px;
  color: rgba(255,255,255,.7);
  font-weight: 500; font-size: .895rem;
  letter-spacing: -.005em;
  transition: color .2s ease, background .2s ease;
}
.nav ul a:hover{ color: #fff; background: rgba(255,255,255,.05); }
.nav ul a.active{
  color: #fff;
  background: rgba(255,255,255,.09);
  box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 1px 0 rgba(255,255,255,.06) inset;
}
.nav-cta{ display:flex; align-items:center; gap: 6px;}
.nav-cta .btn{
  padding: 7px 15px;
  font-size: .865rem;
  font-weight: 600;
  letter-spacing: -.005em;
}
.nav-cta .btn-ghost{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-cta .btn-ghost:hover{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.22);
  transform: translateY(-1px);
}
.nav-login-mobile{ display: none; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size:.95rem;
  border: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
  font-family: inherit;
}
.btn:hover{ transform: translateY(-1px);}
.btn-primary{
  background: linear-gradient(180deg, var(--action-blue) 0%, var(--p-600) 100%);
  color: #fff;
  box-shadow: 0 14px 32px rgba(32,60,145,.45), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn-primary:hover{ color: #fff; box-shadow: 0 18px 40px rgba(32,60,145,.6); }
.btn-ghost{
  background: rgba(255,255,255,.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}
.btn-ghost:hover{ background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff;}
.btn-lg{ padding: 16px 28px; font-size: 1.02rem;}

.nav-toggle{ display:none; background:transparent; border:none; width:42px; height:42px; cursor:pointer; align-items:center; justify-content:center; }
.nav-toggle span{ display:block; width:22px; height:2px; background: #fff; position:relative;}
.nav-toggle span::before, .nav-toggle span::after{ content:""; position:absolute; left:0; width:100%; height:2px; background:#fff;}
.nav-toggle span::before{ top:-7px;} .nav-toggle span::after{ top:7px;}

/* ============================================================
   Hero
   ============================================================ */
.hero{
  position: relative;
  margin-top: -86px;
  padding: 166px 0 80px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 50% 0%, #2c5fde 0%, transparent 70%),
    linear-gradient(180deg, var(--p-600) 0%, var(--p-700) 60%, var(--p-800) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero > .container{ position: relative; z-index: 2; }
.hero h1 .grad{
  background: linear-gradient(90deg, #ffffff 0%, #86a5ff 50%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede{
  max-width: 640px; margin: 18px auto 32px;
  font-size: 1.15rem; color: var(--text-dim);
}
.hero .ctas{ display:flex; gap: 14px; justify-content: center; flex-wrap: wrap;}
.hero .hero-instant{
  margin: 14px 0 0;
  font-size: .92rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: .02em;
}
.hero .guarantee{
  margin-top: 22px;
  display: inline-flex; align-items:center; gap:10px;
  font-size: .82rem; letter-spacing:.12em; text-transform:uppercase;
  color: var(--text-mute);
}
.hero .guarantee .ico{
  display:inline-flex; width: 22px; height: 22px;
  border-radius: 50%; background: rgba(34,197,94,.15);
  color: var(--green);
  align-items:center; justify-content:center;
}
.hero .guarantee .ico svg{ width: 12px; height: 12px;}

/* 3D scrolling poster wall background */
.hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg::after{
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(32,60,145,.55) 0%, rgba(20,38,89,.88) 55%, var(--p-800) 95%),
    linear-gradient(180deg, var(--p-700) 0%, transparent 18%, transparent 78%, var(--p-800) 100%);
}
.hero-bg-stage{
  position: absolute;
  inset: -10%;
  perspective: 1400px;
  perspective-origin: 50% 70%;
}
.hero-bg-grid{
  position: absolute;
  top: 50%; left: 50%;
  display: flex;
  gap: 10px;
  justify-content: center;
  transform: translate(-50%, -50%) rotateX(10deg) rotateY(-5deg) rotateZ(6deg);
  transform-style: preserve-3d;
  will-change: transform;
}
.hero-col{
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: hero-up 50s linear infinite;
  will-change: transform;
}
.hero-col.reverse{ animation: hero-down 60s linear infinite; }
@keyframes hero-up{
  from{ transform: translateY(0); }
  to  { transform: translateY(-50%); }
}
@keyframes hero-down{
  from{ transform: translateY(-50%); }
  to  { transform: translateY(0); }
}
.hero-col img{
  width: 14vw;
  max-width: 180px;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  box-shadow: 0 8px 22px rgba(0,0,0,.45);
  opacity: .92;
}

/* Hero TV mockup (foreground above poster wall) */
.hero-tv{
  margin: 56px auto 0;
  max-width: 920px;
  position: relative;
  z-index: 3;
}
.hero-tv .tv{
  border-radius: 22px;
  background: linear-gradient(180deg, #0a1432, #050d24);
  padding: 14px 14px 30px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08), inset 0 1px 0 rgba(255,255,255,.05);
  position: relative;
}
.hero-tv .screen{
  border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; background:#000;
  position: relative;
}
.hero-tv .screen img{ width:100%; height:100%; object-fit: cover;}
.hero-tv::after{
  content:""; position:absolute; left:50%; bottom:-22px; transform: translateX(-50%);
  width: 140px; height: 8px; background: #0f1c44; border-radius: 0 0 8px 8px;
}
.hero-tv .glow{
  position: absolute; inset: -40px; z-index: -1;
  background: radial-gradient(closest-side, rgba(59,125,255,.4), transparent 70%);
  filter: blur(40px);
}

/* ============================================================
   Brand strip (catalog logos like cccambox)
   ============================================================ */
.brand-strip{
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  padding: 36px 0;
  overflow: hidden;
}
.brand-strip .row{
  display:flex; gap: 56px; align-items:center; justify-content: center; flex-wrap: wrap;
  color: var(--text-dim); font-weight: 800; letter-spacing:.04em;
  font-size: 1.1rem;
  opacity: .85;
}
.brand-strip .b{ white-space: nowrap;}

/* ============================================================
   Reviews band
   ============================================================ */
.reviews-band{
  padding: 88px 0 72px;
  text-align: center;
}
.review-meta{
  display:flex; justify-content:center; align-items:center; gap: 18px; flex-wrap: wrap;
  margin-top: 22px; margin-bottom: 36px;
  color: var(--text-dim); font-weight: 600;
}
.review-meta .stars{ display:inline-flex; gap: 4px; color: #ffd166;}
.review-meta .stars svg{ width: 22px; height: 22px;}
.review-meta b{ color: #fff;}

.reviews-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 24px;
}
.review{
  text-align:left;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.review .stars{ display:inline-flex; gap: 3px; color: #ffd166; margin-bottom: 10px;}
.review .stars svg{ width: 16px; height: 16px;}
.review p{ color: var(--text-dim); font-size:.95rem; line-height: 1.55; margin-bottom: 16px;}
.review .who{
  display:flex; align-items:center; gap:10px;
  font-size:.88rem; color: var(--text-dim);
}
.review .who .avatar{
  width:32px; height:32px; border-radius:50%;
  background: linear-gradient(135deg, var(--action-blue), var(--p-700));
  color: #fff; font-weight: 700;
  display:flex; align-items:center; justify-content:center;
  font-size:.82rem;
}
.review .who b{ color: #fff;}
.review .who .src{
  margin-left: auto; padding: 3px 9px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid var(--border);
  font-size:.72rem; color: var(--text-mute);
}

/* ============================================================
   Channels showcase (big number + boxes + marquee)
   ============================================================ */
.channels-showcase{
  padding: 100px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.channels-showcase h2{ max-width: 880px; margin: 0 auto 14px; }
.channels-showcase .lede{ max-width: 720px; margin: 0 auto 24px; color: var(--text-dim); font-size: 1.1rem;}

/* Channels marquee */
.ch-marquee{
  position: relative;
  margin: 56px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
          mask: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.ch-row{
  display: flex; gap: 20px; flex-wrap: nowrap;
  width: max-content;
  animation: ch-scroll 50s linear infinite;
  will-change: transform;
}
.ch-row.reverse{ animation-direction: reverse; animation-duration: 60s; }
.ch-marquee:hover .ch-row{ animation-play-state: paused; }

@keyframes ch-scroll{
  from{ transform: translateX(0);}
  to{ transform: translateX(-50%);}
}

.ch-card{
  flex: none;
  width: 254px; height: 185px;
  border-radius: 15px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.06);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.ch-card:hover{
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(32,60,145,.4);
}
.ch-thumb{
  position: relative;
  height: 144px; width: 100%;
  overflow: hidden;
  background: #050b1f;
}
.ch-thumb img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.ch-meta{
  flex: 1;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px;
  color: #fff; font-weight: 700; font-size: .92rem;
}
.ch-name{
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 60%;
}
.live{
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
}
.live i{
  width: 10px; height: 10px; border-radius: 50%;
  background: #FF2121;
  box-shadow: 0 0 8px rgba(255,33,33,.7);
  animation: live-pulse 1.6s ease-in-out infinite;
}
@keyframes live-pulse{
  0%, 100%{ opacity: 1; transform: scale(1);}
  50%{ opacity: .35; transform: scale(.85);}
}

/* ============================================================
   Cinematic / posters strip
   ============================================================ */
.cinema{
  padding: 96px 0 32px;
  text-align: center;
  overflow: hidden;
}
.cinema h2{ margin-bottom: 14px;}
.cinema .lede{ max-width: 640px; margin: 0 auto 36px; font-size: 1.1rem;}
.posters{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 48px;
}
.poster{
  aspect-ratio: 2/3;
  border-radius: 12px;
  background: #0a1232;
  position: relative; overflow: hidden;
  box-shadow: 0 12px 24px rgba(0,0,0,.4);
  transition: transform .3s ease;
}
.poster:hover{ transform: translateY(-4px) scale(1.02);}
.poster img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   Money back / guarantee section
   ============================================================ */
.guarantee-section{
  padding: 96px 0;
  text-align: center;
}
.guarantee-section h2{ max-width: 760px; margin: 0 auto 60px;}
.gb-card{
  max-width: 760px; margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 56px 40px;
  position: relative;
  overflow: hidden;
}
.gb-card::before{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(400px 200px at 30% 0%, rgba(59,125,255,.3), transparent 70%),
    radial-gradient(400px 200px at 80% 100%, rgba(32,60,145,.25), transparent 70%);
  pointer-events: none;
}
.gb-card .badge-shield{
  width: 110px; height: 110px;
  margin: 0 auto 22px;
  background: linear-gradient(135deg, var(--action-blue), var(--p-700));
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 20px 50px rgba(32,60,145,.5);
  position: relative; z-index: 1;
}
.gb-card .badge-shield::after{
  content: "30"; font-weight: 900; font-size: 2.4rem; color: #fff;
}
.gb-card .badge-shield .days{
  position:absolute; bottom:-10px;
  font-size:.7rem; letter-spacing:.18em; padding: 4px 12px;
  background: var(--gold); color: #000;
  border-radius: 999px; font-weight: 800;
}
.gb-card h3{ font-size: 1.7rem; position: relative; z-index: 1;}
.gb-card p{ max-width: 520px; margin: 0 auto 28px; position: relative; z-index: 1;}
.gb-card .btn{ position: relative; z-index: 1;}

/* ============================================================
   Plans
   ============================================================ */
.plans-section{ padding: 96px 0;}
.plans-section .head{ text-align:center; margin-bottom: 48px;}
.plans-section .head .eyebrow{
  display:inline-block; padding: 6px 14px;
  background: rgba(59,125,255,.15); color: #ffffff;
  border: 1px solid rgba(59,125,255,.25);
  border-radius: 999px; font-weight: 700; font-size:.78rem; letter-spacing:.1em; text-transform:uppercase;
  margin-bottom: 14px;
}
.plans{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.plan{
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px 28px;
  display:flex; flex-direction: column;
  transition: border-color .2s, transform .2s;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.plan:hover{ transform: translateY(-4px); border-color: rgba(59,125,255,.4);}
.plan.featured{
  background: linear-gradient(180deg, rgba(59,125,255,.18), rgba(32,60,145,.04));
  border-color: rgba(59,125,255,.45);
  box-shadow: 0 30px 60px rgba(32,60,145,.25);
  transform: scale(1.02);
}
.plan.featured:hover{ transform: scale(1.02) translateY(-4px);}
.plan .badge{
  position:absolute; top:-13px; left:50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--action-blue), var(--p-600));
  color: #fff; font-weight: 800; font-size:.74rem; letter-spacing:.12em; text-transform:uppercase;
  padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(32,60,145,.4);
}
.plan .name{
  text-transform: uppercase; letter-spacing:.08em;
  font-weight: 800; font-size:.86rem; color: #ffffff;
  margin-bottom: 10px;
}
.plan .price{
  font-size: 3rem; font-weight: 800; color: #fff; line-height:1;
  display:flex; align-items:baseline; gap: 2px;
}
.plan .price .cur{ font-size: 1.4rem; margin-left: 4px;}
.plan .sub{ color: var(--text-mute); font-size:.92rem; margin-bottom: 22px;}
.plan ul{ list-style:none; padding:0; margin: 0 0 22px; flex: 1;}
.plan ul li{
  display:flex; gap: 10px; align-items: flex-start;
  padding: 6px 0; color: var(--text-dim); font-size:.93rem;
}
.plan ul li::before{
  content:""; flex-shrink:0;
  width:18px; height:18px; border-radius:50%;
  background: rgba(59,125,255,.2);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8b4fe' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
  margin-top: 2px;
}
.plan .btn{ width: 100%;}

/* ============================================================
   Footer
   ============================================================ */
.site-footer{
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  margin-top: 60px;
  background: rgba(0,0,0,.25);
}
.foot-top{ text-align:center; padding-bottom: 36px; border-bottom: 1px solid var(--border);}
.foot-top img{ height: 44px; margin: 0 auto 16px;}
.foot-top p{ max-width: 540px; margin: 0 auto; color: var(--text-mute); font-size:.95rem;}
.foot-grid{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px;
  padding: 40px 0 30px;
}
.foot-grid h4{
  font-size:.78rem; letter-spacing:.16em; text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 16px;
}
.foot-grid ul{ list-style:none; padding:0; margin:0;}
.foot-grid li{ padding: 5px 0;}
.foot-grid a{ color: var(--text-dim); font-size:.95rem;}
.foot-grid a:hover{ color: #fff;}
.foot-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top: 22px; border-top: 1px solid var(--border);
  color: var(--text-mute); font-size:.85rem; flex-wrap: wrap; gap: 14px;
}

/* ============================================================
   Page header (channels, etc)
   ============================================================ */
.page-header{
  padding: 60px 0 28px; text-align: center;
}
.page-header .breadcrumb{
  font-size:.86rem; color: var(--text-mute); margin-bottom: 10px;
}
.page-header .breadcrumb a{ color: var(--text-mute);}
.page-header .breadcrumb a:hover{ color: #fff;}
.page-header .breadcrumb .sep{ margin: 0 8px; opacity:.5;}
.page-header h1{ margin-bottom: 10px;}
.page-header .lede{ color: var(--text-dim); max-width: 640px; margin: 0 auto; font-size: 1.08rem;}

/* ============================================================
   Channels — search + tabs + grid
   ============================================================ */
.channels-toolbar{
  display:flex; align-items:center; gap: 18px; flex-wrap: wrap;
  margin: 32px 0 28px;
}
.search-box{
  flex: 1; min-width: 240px;
  position: relative;
}
.search-box input{
  width: 100%;
  padding: 14px 18px 14px 46px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: #fff; font-size: 1rem; font-family: inherit;
  outline: none;
  transition: border-color .2s, background .2s;
}
.search-box input::placeholder{ color: var(--text-mute);}
.search-box input:focus{ border-color: var(--p-400); background: var(--bg-card-2);}
.search-box svg{
  position:absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--text-mute);
}
.tabs{
  display:flex; gap: 8px; flex-wrap: wrap;
}
.tab{
  padding: 10px 18px; border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-weight: 600; font-size:.9rem;
  cursor: pointer; transition: all .15s;
  font-family: inherit;
}
.tab:hover{ color: #fff; border-color: rgba(59,125,255,.4);}
.tab.active{
  background: linear-gradient(180deg, var(--p-500), var(--p-700));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(32,60,145,.4);
}

.country-grid{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 64px;
}
.country-card{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px 20px;
  display:flex; align-items:center; gap: 14px;
  transition: all .18s;
  cursor: pointer;
}
.country-card:hover{ transform: translateY(-2px); border-color: rgba(59,125,255,.4); background: var(--bg-card-2);}
.country-card .flag{
  width: 44px; height: 30px; border-radius: 5px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background-size: cover; background-position: center;
}
.country-card .info{ flex: 1; min-width: 0;}
.country-card .info b{ display:block; color: #fff; font-size:.98rem;}
.country-card .info span{ display:block; color: var(--text-mute); font-size:.82rem;}
.country-card .count{
  background: rgba(59,125,255,.15);
  border: 1px solid rgba(59,125,255,.3);
  color: #ffffff;
  padding: 4px 10px; border-radius: 999px;
  font-size:.78rem; font-weight: 700;
}

/* Logo grid (channels of selected country) */
.channels-grid{
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px;
  margin-bottom: 64px;
}
.channel-tile{
  aspect-ratio: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  display:flex; align-items:center; justify-content: center;
  transition: all .15s;
  position: relative;
  font-weight: 800; color: #fff; font-size:.74rem;
  text-align: center; padding: 6px;
}
.channel-tile:hover{
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(59,125,255,.5);
  background: var(--bg-card-2);
}
.channel-tile.live::after{
  content: "LIVE";
  position:absolute; top: 6px; right: 6px;
  background: #ef4444; color: #fff;
  font-size: .58rem; padding: 1px 6px; border-radius: 4px; font-weight: 800;
  letter-spacing: .08em;
}

/* ============================================================
   Apps page
   ============================================================ */
.apps-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.app-card{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  text-align: center;
  transition: all .18s;
}
.app-card:hover{ transform: translateY(-4px); border-color: rgba(59,125,255,.4);}
.app-card .ico{
  width: 76px; height: 76px;
  margin: 0 auto 18px;
  display:flex; align-items:center; justify-content: center;
  background: linear-gradient(135deg, var(--action-blue), var(--p-700));
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(32,60,145,.4);
}
.app-card .ico svg{ width: 36px; height: 36px; color: #fff;}
.app-card h3{ font-size: 1.25rem; margin-bottom: 6px;}
.app-card p{ font-size:.92rem; margin-bottom: 18px;}

/* ============================================================
   Resellers page features
   ============================================================ */
.feat-grid-3{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: 36px;
}
.feat-item{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: all .18s;
}
.feat-item:hover{ border-color: rgba(59,125,255,.4); transform: translateY(-3px);}
.feat-item .ico{
  width: 52px; height: 52px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--action-blue), var(--p-700));
  border-radius: 14px;
  margin-bottom: 16px;
  box-shadow: 0 12px 24px rgba(32,60,145,.3);
}
.feat-item .ico svg{ width: 26px; height: 26px; color: #fff;}
.feat-item h3{ font-size: 1.1rem; margin-bottom: 6px;}
.feat-item p{ font-size:.92rem; margin: 0;}

/* ============================================================
   Guides hub (apps.html)
   ============================================================ */
.guides-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 8px;
}
.guide-card{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex; gap: 22px; align-items: flex-start;
  text-decoration: none; color: inherit;
  transition: all .18s ease;
}
.guide-card:hover{
  transform: translateY(-3px);
  border-color: rgba(59,125,255,.4);
  background: var(--bg-card-2);
}
.guide-card .ico{
  flex-shrink: 0;
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--action-blue), var(--p-700));
  color: #fff;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 24px rgba(32,60,145,.3);
}
.guide-card .ico svg{ width: 30px; height: 30px;}
.guide-card h3{ margin: 0 0 6px; color: #fff;}
.guide-card p{ margin: 0; font-size: .95rem; color: var(--text-dim);}
.guide-card .arrow{
  margin-left: auto;
  color: var(--p-300);
  font-size: 1.4rem;
  align-self: center;
}

/* ============================================================
   Guide article body (guia-*.html)
   ============================================================ */
.guide-body{
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
  padding: 48px 0 80px;
}
.guide-toc{
  position: sticky; top: 96px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px;
}
.guide-toc h4{
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: 12px;
}
.guide-toc ol{ padding-left: 20px; margin: 0; font-size: .95rem;}
.guide-toc ol li{ padding: 4px 0;}
.guide-toc a{ color: var(--text-dim); font-weight: 600;}
.guide-toc a:hover{ color: #fff;}

.guide-article{ max-width: 780px; }
.guide-article h2{
  margin-top: 40px; font-size: 1.6rem; color: #fff;
  scroll-margin-top: 96px;
}
.guide-article h2:first-child{ margin-top: 0;}
.guide-article p,
.guide-article li{
  color: var(--text-dim); font-size: 1rem; line-height: 1.7;
}
.guide-article b{ color: #fff;}
.guide-article a{ color: var(--p-300); }
.guide-article a:hover{ color: #fff;}
.guide-article ol,
.guide-article ul{ padding-left: 24px;}
.guide-article li{ padding: 4px 0;}

.guide-article .callout{
  background: linear-gradient(135deg, rgba(59,125,255,.12), rgba(32,60,145,.06));
  border: 1px solid rgba(59,125,255,.25);
  border-left: 4px solid var(--p-500);
  padding: 18px 22px;
  border-radius: var(--r);
  margin: 28px 0;
  font-size: .98rem;
  color: var(--text);
}
.guide-article .callout a{ color: var(--p-300); font-weight: 700;}

.guide-article .screenshot{
  background: #050b1f;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px;
  margin: 24px 0;
  color: var(--text-dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  font-size: .92rem;
  line-height: 1.7;
  white-space: pre-wrap;
}
.guide-article .screenshot .field{ color: var(--p-300);}
.guide-article .screenshot .value{
  color: #fff;
  background: rgba(59,125,255,.18);
  padding: 2px 8px;
  border-radius: 4px;
}

.guide-cta{
  background: linear-gradient(135deg, rgba(59,125,255,.12), rgba(32,60,145,.04));
  border: 1px solid rgba(59,125,255,.3);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  margin: 32px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.guide-cta h4{ margin: 0 0 4px; color: #fff; font-size: 1.05rem;}
.guide-cta p{ margin: 0; color: var(--text-dim); font-size: .92rem;}

/* ============================================================
   Steps (3-step onboarding)
   ============================================================ */
.steps{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}
.step{
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 28px 28px;
  text-align: center;
  transition: all .18s ease;
}
.step:hover{ transform: translateY(-3px); border-color: rgba(59,125,255,.4); }
.step .n{
  position: absolute;
  top: 16px; right: 22px;
  font-weight: 800; font-size: 1.4rem;
  color: rgba(59,125,255,.45);
  letter-spacing: .04em;
}
.step .ico{
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--action-blue), var(--p-700));
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(32,60,145,.3);
}
.step .ico svg{ width: 28px; height: 28px; }
.step h3{ font-size: 1.2rem; margin-bottom: 8px; }
.step p{ font-size: .95rem; color: var(--text-dim); margin: 0; }

/* ============================================================
   Section dark variant
   ============================================================ */
.section-dark{
  background: linear-gradient(180deg, rgba(32,60,145,.08), rgba(20,38,89,.04));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* ============================================================
   Light/white section (estilo cccambox claro)
   Aplicar a <section class="section-light"> donde quieras tramo blanco
   ============================================================ */
.section-light{
  background:
    radial-gradient(900px 500px at 80% 0%, rgba(135,165,255,.18), transparent 70%),
    radial-gradient(700px 400px at 0% 100%, rgba(168,194,255,.14), transparent 70%),
    linear-gradient(180deg, #f4f6ff 0%, #ffffff 50%, #eef1ff 100%);
  color: #161616;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.section-light .container{ position: relative; z-index: 1; }
.section-light h2,
.section-light h3,
.section-light h4{ color: #0c0d12; }
.section-light p,
.section-light li{ color: #4b5563; }
.section-light .eyebrow{ color: var(--p-600); }
.section-light a{ color: var(--p-600); }
.section-light a:hover{ color: var(--action-blue); }
.section-light .feat-item{
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 8px 24px rgba(32,60,145,.06);
}
.section-light .feat-item:hover{
  border-color: rgba(32,60,145,.25);
  box-shadow: 0 18px 40px rgba(32,60,145,.12);
}
.section-light .feat-item h3{ color: #0c0d12; }
.section-light .feat-item p{ color: #4b5563; }
.section-light .callout{
  background: linear-gradient(135deg, rgba(32,60,145,.06), rgba(59,125,255,.04));
  border-left-color: var(--p-600);
  color: #0c0d12;
}
.section-light .num{ /* gradiente del número se mantiene azul */ }
}
.section-dark::before{
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(59,125,255,.18), transparent 70%),
    radial-gradient(500px 300px at 0% 90%, rgba(32,60,145,.12), transparent 70%);
  pointer-events: none;
}
.section-dark > .container{ position: relative; z-index: 1; }

/* ============================================================
   Feature 2-column block (image + text)
   ============================================================ */
.feat{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin: 64px 0;
}
.feat.reverse{ direction: rtl; }
.feat.reverse > *{ direction: ltr; }
.feat .num{
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--action-blue), var(--p-700));
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
  box-shadow: 0 12px 24px rgba(32,60,145,.3);
}
.feat h3{ font-size: 1.7rem; line-height: 1.2; margin-bottom: 10px; }
.feat p{ color: var(--text-dim); font-size: 1rem; }
.feat-img{
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #050d24;
  box-shadow: 0 20px 50px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.06);
}
.feat-img img{ width: 100%; height: auto; display: block; }
.feat-img .accent{
  position: absolute;
  width: 130px; height: 130px;
  background: linear-gradient(135deg, var(--p-400), var(--p-700));
  clip-path: polygon(0 0, 100% 0, 0 100%);
  top: -20px; right: -20px;
  z-index: 1;
  pointer-events: none;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq{
  max-width: 820px; margin: 32px auto 0;
  display:flex; flex-direction: column; gap: 10px;
}
.faq-item{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open]{ border-color: rgba(59,125,255,.4);}
.faq-item summary{
  list-style: none;
  padding: 18px 22px;
  font-weight: 700; color: #fff;
  display:flex; justify-content:space-between; align-items:center; gap: 16px;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker{ display:none;}
.faq-item summary::after{
  content:"+"; font-weight: 400; color: var(--p-300); font-size: 1.6rem; line-height:1;
  width: 28px; height: 28px; display:flex; align-items:center; justify-content:center;
  border-radius: 50%; background: rgba(59,125,255,.15);
  transition: transform .2s;
}
.faq-item[open] summary::after{ content:"−";}
.faq-item .ans{
  padding: 0 22px 20px; color: var(--text-dim); font-size:.96rem;
}

/* ============================================================
   Section / utility
   ============================================================ */
section{ padding: 80px 0;}
.section-head{ text-align:center; max-width: 760px; margin: 0 auto 48px;}
.section-head .eyebrow{
  display:inline-block; padding: 6px 14px;
  background: rgba(59,125,255,.15); color: #ffffff;
  border: 1px solid rgba(59,125,255,.25);
  border-radius: 999px; font-weight: 700; font-size:.78rem; letter-spacing:.1em; text-transform:uppercase;
  margin-bottom: 14px;
}
.section-head p{ color: var(--text-dim); font-size: 1.05rem;}

/* CTA band */
.cta-band{
  text-align:center;
  padding: 64px 24px;
  background: linear-gradient(135deg, rgba(59,125,255,.2), rgba(32,60,145,.1));
  border: 1px solid rgba(59,125,255,.3);
  border-radius: var(--r-xl);
  margin: 40px 0;
  position: relative; overflow: hidden;
}
.cta-band::before{
  content:""; position: absolute; inset: 0;
  background:
    radial-gradient(400px 200px at 20% 20%, rgba(59,125,255,.25), transparent 70%),
    radial-gradient(400px 200px at 80% 80%, rgba(192,132,252,.25), transparent 70%);
  pointer-events: none;
}
.cta-band > *{ position: relative; z-index: 1;}
.cta-band h2{ max-width: 720px; margin: 0 auto 12px;}
.cta-band p{ max-width: 560px; margin: 0 auto 24px; color: var(--text-dim);}
.cta-band .ctas{ display:flex; gap: 12px; justify-content: center; flex-wrap: wrap;}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px){
  .site-header{ top: 10px; width: calc(100% - 20px); }
  .nav{ padding: 6px 6px 6px 14px; gap: 8px; }
  .brand img{ height: 26px; }
  .nav ul{
    position: fixed; top: 76px; left: 10px; right: 10px;
    background: rgba(12,13,18,.92);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    flex-direction: column; align-items: stretch;
    gap: 2px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;
    box-shadow: 0 24px 48px rgba(0,0,0,.45);
    transform: translateY(-110%) scale(.96);
    opacity: 0;
    transition: transform .28s ease, opacity .2s ease;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    pointer-events: none;
  }
  .nav ul.open{ transform: translateY(0) scale(1); opacity: 1; pointer-events: auto;}
  .nav ul li{ width: 100%; }
  .nav ul a{ display:block; padding: 12px 16px; border-radius: 14px; font-size: .95rem;}
  .nav-toggle{ display:flex;}
  .nav-cta .btn-ghost{ display: none;}

  /* Login button injected into mobile menu by JS */
  .nav-login-mobile{
    display: block;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .nav-login-mobile a{
    display: block;
    text-align: center;
    background: linear-gradient(180deg, var(--action-blue), var(--p-700));
    color: #fff !important;
    font-weight: 700;
    padding: 13px 18px;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(32,60,145,.35);
  }
  .nav-login-mobile a:hover{ background: linear-gradient(180deg, var(--p-500), var(--p-700));}

  body.nav-open{ overflow: hidden; }

  .reviews-grid{ grid-template-columns: 1fr; }
  .posters{ grid-template-columns: repeat(3, 1fr);}
  .ch-card{ width: 220px; height: 165px;}
  .ch-thumb{ height: 124px;}
  .plans{ grid-template-columns: 1fr;}
  .plan.featured{ transform: none;}
  .plan.featured:hover{ transform: translateY(-4px);}
  .country-grid{ grid-template-columns: 1fr 1fr;}
  .channels-grid{ grid-template-columns: repeat(4, 1fr);}
  .apps-grid{ grid-template-columns: 1fr;}
  .feat-grid-3{ grid-template-columns: 1fr;}
  .steps{ grid-template-columns: 1fr;}
  .feat{ grid-template-columns: 1fr; gap: 32px; margin: 40px 0;}
  .feat.reverse{ direction: ltr;}
  .section-dark{ padding: 56px 0;}
  .guides-grid{ grid-template-columns: 1fr;}
  .guide-body{ grid-template-columns: 1fr; gap: 32px; padding: 32px 0 64px;}
  .guide-toc{ position: static;}
  .foot-grid{ grid-template-columns: 1fr 1fr;}
  section{ padding: 56px 0;}
  .gb-card{ padding: 40px 24px;}
  .hero{ padding: 80px 0 60px; min-height: calc(100vh - 70px);}
  .hero-col img{ width: 24vw; max-width: none;}
}
@media (max-width: 560px){
  .country-grid{ grid-template-columns: 1fr;}
  .channels-grid{ grid-template-columns: repeat(3, 1fr);}
  .posters{ grid-template-columns: repeat(2, 1fr);}
  .foot-grid{ grid-template-columns: 1fr;}
  .hero{ padding: 60px 0 50px; min-height: calc(100vh - 70px);}
  .hero-col img{ width: 32vw;}
}

/* ============================================================
   Blog grid + cards
   ============================================================ */
.blog-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 36px;
}
.blog-card{
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .18s, border-color .18s, box-shadow .18s;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover{
  transform: translateY(-4px);
  border-color: rgba(59,125,255,.45);
  box-shadow: 0 20px 40px rgba(32,60,145,.18);
}
.blog-card .thumb{
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(59,125,255,.18), rgba(5,10,30,.6));
  position: relative;
  overflow: hidden;
  display:flex; align-items:center; justify-content:center;
}
.blog-card .thumb svg:not(.cover){ width: 64px; height: 64px; color: rgba(255,255,255,.45);}
.blog-card .thumb svg.cover{ position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.blog-card .thumb img{ width:100%; height:100%; object-fit: cover; display:block; }
.blog-card .tag{
  position: absolute; top: 12px; left: 12px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
}
.blog-card .tag.ext{ background: linear-gradient(90deg, var(--p-500), var(--p-700)); border-color: transparent; }
.blog-card .body{ padding: 22px 22px 24px; flex:1; display:flex; flex-direction:column; }
.blog-card h3{ font-size: 1.1rem; line-height: 1.3; margin-bottom: 10px; }
.blog-card p{ color: var(--text-dim); font-size: .92rem; flex:1; margin-bottom: 16px; }
.blog-card .more{
  font-size: .88rem; font-weight: 700; color: var(--info-blue);
  display: inline-flex; align-items: center; gap: 6px;
}
.blog-card .more::after{ content: "→"; transition: transform .18s; }
.blog-card:hover .more::after{ transform: translateX(4px); }

/* Single post: backlink CTA */
.post-backlink{
  margin: 28px 0;
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(59,125,255,.12), rgba(32,60,145,.04));
  border: 1px solid rgba(59,125,255,.3);
  border-radius: var(--r-lg);
}
.post-backlink h4{ font-size: 1rem; margin-bottom: 6px; }
.post-backlink p{ color: var(--text-dim); font-size: .92rem; margin: 0 0 12px;}

@media (max-width: 920px){
  .blog-grid{ grid-template-columns: repeat(2, 1fr);}
}
@media (max-width: 560px){
  .blog-grid{ grid-template-columns: 1fr;}
}

/* === SEO copy block (index, blog posts) === */
.seo-copy{
  max-width: 980px;
  margin: 0 auto;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
}
.seo-copy h3{
  margin: 28px 0 10px;
  font-size: 1.35rem;
  color: #fff;
}
.seo-copy p, .seo-copy ul, .seo-copy ol{
  margin: 0 0 14px;
  color: var(--text-dim);
}
.seo-copy ul, .seo-copy ol{ padding-left: 22px; }
.seo-copy ul li, .seo-copy ol li{ margin: 6px 0; }
.seo-copy a{
  color: #86a5ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.seo-copy a:hover{ color: #3b7dff; }
.seo-copy details{
  margin: 10px 0;
  padding: 12px 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-md);
}
.seo-copy details summary{
  cursor: pointer;
  color: #fff;
  font-weight: 600;
}
.seo-copy details[open]{
  background: rgba(59,125,255,.06);
  border-color: rgba(59,125,255,.25);
}
.seo-foot{
  margin-top: 22px;
  padding: 16px 18px;
  background: rgba(59,125,255,.06);
  border-left: 3px solid #3b7dff;
  border-radius: 6px;
  font-size: .88rem;
  line-height: 1.6;
}

/* Cross-domain SEO link block at end of posts */
.seo-links-block{
  margin: 32px 0;
  padding: 24px;
  background: linear-gradient(135deg, rgba(59,125,255,.10), rgba(32,60,145,.05));
  border: 1px solid rgba(59,125,255,.28);
  border-radius: var(--r-lg);
}
.seo-links-block h4{
  font-size: 1.05rem;
  margin: 0 0 12px;
  color: #fff;
}
.seo-links-block p{
  color: var(--text-dim);
  font-size: .94rem;
  margin: 0 0 10px;
}
.seo-links-block ul{
  list-style: none;
  padding: 0;
  margin: 0;
}
.seo-links-block ul li{
  margin: 6px 0;
  padding-left: 18px;
  position: relative;
}
.seo-links-block ul li::before{
  content: "▸";
  position: absolute;
  left: 0;
  color: #3b7dff;
}
.seo-links-block a{
  color: #86a5ff;
  text-decoration: none;
  font-weight: 600;
}
.seo-links-block a:hover{
  color: #3b7dff;
  text-decoration: underline;
}
