/* =========================================================
   Hemen IPTV — Design System
   Premium dark, fast, mobile-first
   ========================================================= */

:root {
  --bg: #05070c;
  --bg-soft: #080d16;
  --surface: #0b1220;
  --surface-2: #0e1728;
  --surface-3: #121d31;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #eef3fb;
  --muted: #97a3b8;
  --muted-2: #6f7d94;
  --brand: #2eea8b;
  --brand-2: #14c973;
  --brand-ink: #04140b;
  --gold: #f6c453;
  --gold-2: #e0a92e;
  --danger: #ff6b6b;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow: 0 24px 70px -20px rgba(0, 0, 0, .75);
  --shadow-brand: 0 18px 50px -18px rgba(46, 234, 139, .55);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
  --maxw: 1180px;
  --header-h: 74px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { padding-left: 1.2rem; }
::selection { background: var(--brand); color: var(--brand-ink); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.14;
  letter-spacing: -.025em;
  margin: 0 0 .55em;
  font-weight: 800;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(2.1rem, 5.6vw, 4.15rem); }
h2 { font-size: clamp(1.65rem, 3.7vw, 2.75rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.45rem); }
p { margin: 0 0 1.1em; }
strong { color: #fff; font-weight: 700; }

.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.container--narrow { width: min(100% - 40px, 860px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section--tight { padding: 44px 0; }
.section--soft { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 40%, var(--bg) 100%); }

.grid { display: grid; gap: 18px; }
.grid > * { min-width: 0; }
.split > * { min-width: 0; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--brand); color: var(--brand-ink); padding: 10px 18px;
  border-radius: 10px; font-weight: 800; transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Ambient glows ---------- */
.glow-bg {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.glow-bg::before, .glow-bg::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
}
.glow-bg::before {
  width: 560px; height: 560px; background: rgba(46, 234, 139, .18);
  top: -220px; left: -120px;
}
.glow-bg::after {
  width: 520px; height: 520px; background: rgba(246, 196, 83, .12);
  top: -140px; right: -160px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: linear-gradient(90deg, #0b1b14, #0a1220 55%, #191408);
  border-bottom: 1px solid var(--line);
  font-size: .82rem;
  color: #d7e2f1;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  min-height: 36px; text-align: center; flex-wrap: wrap; padding: 6px 0;
}
.topbar a { color: var(--brand); font-weight: 700; }
.topbar__dot { color: var(--muted-2); }
.topbar__pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(46, 234, 139, .12); border: 1px solid rgba(46, 234, 139, .3);
  color: var(--brand); border-radius: 99px; padding: 2px 10px; font-weight: 700;
  font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(5, 7, 12, .82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-width: 0;
}

.logo { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; min-width: 0; }
.logo__mark {
  width: 42px; height: 42px; border-radius: 13px; flex-shrink: 0;
  background: linear-gradient(145deg, var(--brand), #0ea65f 80%);
  color: var(--brand-ink); display: grid; place-items: center;
  box-shadow: 0 10px 26px -10px rgba(46, 234, 139, .8);
}
.logo__mark svg { width: 21px; height: 21px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.logo__name { font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; letter-spacing: -.03em; white-space: nowrap; }
.logo__name span { color: var(--brand); }
.logo__tag { font-size: .61rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 12px; border-radius: 9px; font-size: .89rem; font-weight: 600;
  color: #c8d3e3; transition: .18s; white-space: nowrap;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav a[aria-current="page"] { color: var(--brand); background: rgba(46, 234, 139, .09); }

.header__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header__phone {
  display: none; font-size: .84rem; font-weight: 700; color: #dbe6f5; white-space: nowrap;
}
.lang-switch {
  display: inline-flex; align-items: center; border: 1px solid var(--line-strong);
  border-radius: 9px; overflow: hidden; background: rgba(255, 255, 255, .04);
  font-size: .74rem; font-weight: 800; flex-shrink: 0;
}
.lang-switch a { padding: 8px 9px; color: var(--muted); line-height: 1; }
.lang-switch a[aria-current="true"] { background: var(--brand); color: var(--brand-ink); }
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current="true"]:hover { color: var(--brand-ink); }

.burger {
  display: none; width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  background: var(--surface-2); border: 1px solid var(--line);
  align-items: center; justify-content: center;
}
.burger span {
  display: block; width: 19px; height: 2px; background: #dbe6f5; border-radius: 2px;
  position: relative; transition: .25s;
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 2px;
  background: #dbe6f5; border-radius: 2px; transition: .25s;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 110; background: rgba(3, 5, 9, .97);
  padding: calc(var(--header-h) + 24px) 22px 40px;
  transform: translateY(-100%); transition: transform .32s ease; overflow-y: auto;
}
.drawer.is-open { transform: none; }
.drawer a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 4px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 1.06rem;
}
.drawer a span { color: var(--brand); }
.drawer__cta { margin-top: 24px; display: grid; gap: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 800; font-size: .94rem; line-height: 1.2; transition: .2s;
  white-space: nowrap; text-align: center;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn--primary { background: linear-gradient(135deg, var(--brand), #12bd6b); color: var(--brand-ink); box-shadow: var(--shadow-brand); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 60px -16px rgba(46, 234, 139, .7); }
.btn--ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-strong); color: #e8eef8; }
.btn--ghost:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .28); }
.btn--gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1b1303; box-shadow: 0 18px 50px -18px rgba(246, 196, 83, .5); }
.btn--gold:hover { transform: translateY(-2px); }
.btn--wa { background: #25d366; color: #04220f; }
.btn--tg { background: #229ed9; color: #04141c; }
.btn--sm { padding: 10px 15px; font-size: .84rem; border-radius: 10px; }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; border-radius: 14px; }
.btn--block { width: 100%; }
.btn--outline-brand { border-color: rgba(46, 234, 139, .45); color: var(--brand); background: rgba(46, 234, 139, .05); }
.btn--outline-brand:hover { background: rgba(46, 234, 139, .12); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(46px, 7vw, 86px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: rgba(46, 234, 139, .09); border: 1px solid rgba(46, 234, 139, .28);
  color: var(--brand); border-radius: 99px; padding: 7px 14px;
  font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 20px;
}
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(46, 234, 139, .2); animation: pulse 2.2s infinite; }

.hero h1 .grad {
  background: linear-gradient(100deg, #b9ffd8 0%, var(--brand) 38%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: clamp(1rem, 1.7vw, 1.14rem); color: #b9c5d8; max-width: 550px; }
.hero__lead strong { color: #fff; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 11px; margin: 26px 0 22px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center;
  color: var(--muted); font-size: .84rem;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero__meta svg { width: 15px; height: 15px; color: var(--brand); }

.hero__rating {
  display: flex; align-items: center; gap: 12px; margin-top: 26px;
  padding-top: 20px; border-top: 1px solid var(--line); max-width: 430px;
}
.avatars { display: flex; }
.avatars span {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--bg);
  margin-left: -9px; display: grid; place-items: center;
  font-size: .65rem; font-weight: 800; color: var(--brand-ink);
  background: linear-gradient(140deg, #7dffbe, #12b76a);
}
.avatars span:first-child { margin-left: 0; }
.hero__rating p { margin: 0; font-size: .8rem; color: var(--muted); line-height: 1.35; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: .82rem; display: block; }

/* ---------- Photo media ---------- */
.hero__media {
  position: relative; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  aspect-ratio: 16 / 11; background: var(--surface-2);
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 12, .05) 30%, rgba(5, 7, 12, .82) 100%);
}
.hero__live {
  position: absolute; z-index: 2; top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  background: #e0364a; color: #fff; font-size: .64rem; font-weight: 900;
  letter-spacing: .1em; padding: 5px 10px; border-radius: 6px;
}
.hero__live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
.hero__media-card {
  position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 11px;
  background: rgba(8, 14, 24, .72); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 13px; padding: 11px 13px; backdrop-filter: blur(12px);
}
.hero__media-card b { display: block; font-size: .84rem; line-height: 1.25; }
.hero__media-card small { color: #b9c7d9; font-size: .68rem; }
.hero__media-card .play {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--brand); color: var(--brand-ink); display: grid; place-items: center;
}
.hero__media-card .play svg { width: 14px; height: 14px; margin-left: 2px; }

.photo-band {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 320px;
  display: flex; align-items: flex-end;
}
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4, 8, 14, .92) 0%, rgba(4, 8, 14, .55) 55%, rgba(4, 8, 14, .15) 100%);
}
.photo-band__body { position: relative; z-index: 2; padding: clamp(22px, 4vw, 40px); max-width: 560px; }
.photo-band__body p { color: #c3d0e1; margin-bottom: 0; }

.media-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.media-grid > * { flex: 1 1 240px; min-width: 0; }
.media-tile {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--surface-2);
  display: flex; align-items: flex-end;
}
.media-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.media-tile:hover img { transform: scale(1.04); }
.media-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(4, 8, 14, .9)); }
.media-tile span { position: relative; z-index: 2; padding: 14px 16px; font-weight: 800; font-size: .92rem; }

.post__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post__thumb { position: relative; background: var(--surface-2); }
.post__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4, 8, 14, .55)); }

.cta-band--photo { overflow: hidden; }
.cta-band--photo > .cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.cta-band--photo > * { position: relative; z-index: 2; }

/* ---------- TV mockup ---------- */
.hero__visual { position: relative; }
.tv {
  position: relative; border-radius: 20px; padding: 10px;
  background: linear-gradient(160deg, #1a2740, #0a101c 70%);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, .4) inset;
  transform: perspective(1200px) rotateY(-7deg) rotateX(2deg);
}
.tv::after {
  content: ""; position: absolute; inset: 10px; border-radius: 12px; pointer-events: none;
  background: linear-gradient(200deg, rgba(255, 255, 255, .13), transparent 45%);
}
.tv__screen {
  border-radius: 12px; overflow: hidden; background: #03060a;
  aspect-ratio: 16 / 9; position: relative; border: 1px solid rgba(255, 255, 255, .06);
}
.tv__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 15% 10%, rgba(46, 234, 139, .28), transparent 55%),
    radial-gradient(100% 80% at 85% 85%, rgba(246, 196, 83, .18), transparent 60%),
    #060b13;
}
.tv__ui { position: absolute; inset: 0; padding: 14px; display: flex; flex-direction: column; }
.tv__top { display: flex; justify-content: space-between; align-items: center; font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; color: #9fb0c7; }
.tv__live { display: inline-flex; align-items: center; gap: 5px; background: #e0364a; color: #fff; font-weight: 800; padding: 3px 8px; border-radius: 4px; letter-spacing: .08em; }
.tv__live i { width: 5px; height: 5px; background: #fff; border-radius: 50%; animation: pulse 1.4s infinite; }
.tv__center { margin: auto; text-align: center; }
.tv__play {
  width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 50%;
  background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .3);
  display: grid; place-items: center; backdrop-filter: blur(4px);
}
.tv__play svg { width: 20px; height: 20px; color: #fff; margin-left: 2px; }
.tv__title { font-family: var(--font-display); font-weight: 800; font-size: .92rem; color: #fff; letter-spacing: -.01em; }
.tv__sub { font-size: .6rem; color: #9fb0c7; }
.tv__foot { margin-top: auto; }
.tv__bar { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.tv__bar i { display: block; height: 100%; width: 62%; background: var(--brand); }
.tv__chips { display: flex; gap: 4px; margin-top: 7px; }
.tv__chips span { font-size: .48rem; padding: 2px 6px; border-radius: 3px; background: rgba(255, 255, 255, .1); color: #c7d4e4; }

.tv__stand { width: 34%; height: 9px; margin: 12px auto 0; border-radius: 0 0 8px 8px; background: #16233a; }

.float-card {
  position: absolute; z-index: 3; border-radius: 13px; padding: 10px 13px;
  background: rgba(10, 17, 29, .92); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow); backdrop-filter: blur(12px); font-size: .72rem;
}
.float-card b { display: block; font-size: .84rem; color: #fff; }
.float-card small { color: var(--muted); font-size: .66rem; }
.float-card--a { top: 8%; right: -6%; animation: floaty 6s ease-in-out infinite; }
.float-card--b { bottom: 7%; left: -7%; animation: floaty 7s ease-in-out infinite reverse; }
.float-card__row { display: flex; align-items: center; gap: 8px; }
.float-card__icon { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(46, 234, 139, .15); color: var(--brand); flex-shrink: 0; }
.float-card__icon svg { width: 15px; height: 15px; }

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: var(--bg-soft); }
.trust__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 22px 0; }
.trust__item { display: flex; align-items: center; gap: 10px; justify-content: center; color: #c6d2e3; font-size: .82rem; font-weight: 600; text-align: left; }
.trust__item svg { width: 21px; height: 21px; color: var(--brand); flex-shrink: 0; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: #04070c; padding: 13px 0; }
.marquee__track { display: flex; gap: 34px; width: max-content; animation: scrollx 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-display); font-weight: 800; font-size: .85rem; letter-spacing: .12em;
  text-transform: uppercase; color: #4c5a70; display: inline-flex; align-items: center; gap: 34px; white-space: nowrap;
}
.marquee span::after { content: "◆"; color: rgba(46, 234, 139, .55); font-size: .6rem; }

/* ---------- Section heads ---------- */
.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: .73rem; font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 12px;
}
.section-head p { color: var(--muted); font-size: 1.02rem; margin-bottom: 0; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: linear-gradient(165deg, var(--surface), #080f1b 80%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: .25s; position: relative; overflow: hidden;
}
.card:hover { border-color: rgba(46, 234, 139, .32); transform: translateY(-3px); }
.card__icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(46, 234, 139, .11); border: 1px solid rgba(46, 234, 139, .25);
  color: var(--brand); margin-bottom: 16px;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; font-size: 1.12rem; }
.card p { color: var(--muted); font-size: .91rem; margin: 0; }

/* Channels */
.channel-group { margin-bottom: 30px; }
.channel-group h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.channel-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.channel-tags li {
  list-style: none; background: var(--surface-2); border: 1px solid var(--line);
  color: #c3cfdf; border-radius: 8px; padding: 7px 12px; font-size: .82rem; font-weight: 600;
}
.channel-tags li:hover { border-color: rgba(46, 234, 139, .35); color: #fff; }

/* ---------- Pricing ---------- */
.pricing-tabs {
  display: inline-flex; background: var(--surface); border: 1px solid var(--line);
  padding: 5px; border-radius: 13px; gap: 4px; margin-bottom: 30px;
}
.pricing-tabs button {
  border: 0; background: transparent; color: var(--muted); padding: 9px 20px;
  border-radius: 9px; font-weight: 800; font-size: .85rem; transition: .18s;
}
.pricing-tabs button[aria-selected="true"] { background: var(--brand); color: var(--brand-ink); }
.pricing-pane[hidden] { display: none; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
  background: linear-gradient(180deg, var(--surface-2), #070d18);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 24px; display: flex; flex-direction: column; position: relative;
}
.plan--featured {
  border-color: rgba(46, 234, 139, .55);
  box-shadow: 0 0 0 1px rgba(46, 234, 139, .2), var(--shadow-brand);
  background: linear-gradient(180deg, #0d2419, #071310 75%);
}
.plan__badge {
  position: absolute; top: -11px; left: 24px; background: var(--brand); color: var(--brand-ink);
  font-size: .66rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 99px;
}
.plan__badge--gold { background: var(--gold); color: #231804; }
.plan__name { font-size: .84rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.plan__price { font-family: var(--font-display); font-size: 2.7rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; margin-bottom: 4px; }
.plan__price small { font-size: .82rem; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.plan__per { color: var(--muted-2); font-size: .8rem; margin-bottom: 18px; }
.plan__list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; font-size: .87rem; color: #c6d2e2; }
.plan__list li { display: flex; gap: 9px; }
.plan__list svg { width: 16px; height: 16px; color: var(--brand); flex-shrink: 0; margin-top: 3px; }
.plan__list .off { color: var(--muted-2); }
.plan__list .off svg { color: var(--muted-2); }
.plan .btn { margin-top: auto; }
.plan__note { font-size: .72rem; color: var(--muted-2); text-align: center; margin: 10px 0 0; }

.pricing-foot { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between; margin-top: 26px; }
.pricing-foot p { margin: 0; font-size: .84rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.pricing-foot svg { width: 16px; height: 16px; color: var(--brand); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { position: relative; padding-top: 18px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--brand);
  display: block; margin-bottom: 10px;
}
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: .87rem; color: var(--muted); margin: 0; }

/* ---------- Feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 5vw, 60px); align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; color: #cbd7e7; }
.checklist svg { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; margin-top: 2px; }

.device-panel {
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: radial-gradient(120% 100% at 20% 0%, #10233c, #060b13 65%);
  padding: 28px; box-shadow: var(--shadow);
}
.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.device-grid div {
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  border-radius: 12px; padding: 15px 10px; text-align: center; font-size: .75rem; color: #b9c7d9; font-weight: 600;
}
.device-grid svg { width: 24px; height: 24px; margin: 0 auto 8px; color: var(--brand); }
.device-panel__foot { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .8rem; color: var(--muted); }
.device-panel__foot .dot { width: 8px; height: 8px; background: var(--brand); border-radius: 50%; }

/* ---------- Channels preview ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.logo-wall div {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  display: grid; place-items: center; aspect-ratio: 16/8; font-family: var(--font-display);
  font-weight: 800; color: #b7c4d6; font-size: .92rem; letter-spacing: -.02em; text-align: center; padding: 8px;
}
.logo-wall div:nth-child(3n) { color: var(--brand); }
.logo-wall div:nth-child(4n) { color: var(--gold); }

/* ---------- Testimonials ---------- */
.quote {
  background: linear-gradient(170deg, var(--surface), #070d16);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.quote__stars { color: var(--gold); font-size: .8rem; letter-spacing: 2px; margin-bottom: 12px; }
.quote p { font-size: .93rem; color: #c5d0e0; margin-bottom: 18px; }
.quote__who { display: flex; align-items: center; gap: 11px; }
.quote__who span {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(140deg, #2eea8b, #0b7d4b); color: #04140b; font-weight: 900; font-size: .8rem;
}
.quote__who b { display: block; font-size: .85rem; }
.quote__who small { color: var(--muted-2); font-size: .72rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 13px; padding: 0 20px; transition: .2s;
}
.faq details[open] { border-color: rgba(46, 234, 139, .35); background: var(--surface-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 30px 18px 0; font-weight: 700;
  font-size: .98rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 7px; background: rgba(46, 234, 139, .12);
  color: var(--brand); display: grid; place-items: center; font-size: 1rem; font-weight: 700;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); font-size: .91rem; padding-bottom: 6px; }
.faq details p:last-child { padding-bottom: 18px; }

/* ---------- CTA band ---------- */
.cta-band {
  border: 1px solid rgba(46, 234, 139, .3); border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 160% at 10% 10%, rgba(46, 234, 139, .2), transparent 60%),
    linear-gradient(135deg, #0d1e18, #080e18 65%);
  padding: clamp(30px, 5vw, 52px); text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: #b7c5d7; max-width: 560px; margin: 0 auto 24px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- City grid / search ---------- */
.city-search { position: relative; max-width: 460px; margin-bottom: 24px; }
.city-search input {
  width: 100%; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 16px 13px 44px; color: #fff; outline: none;
}
.city-search input:focus { border-color: var(--brand); }
.city-search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted-2); }
.city-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.city-grid a {
  background: var(--surface); border: 1px solid var(--line); border-radius: 9px;
  padding: 9px 10px; font-size: .78rem; color: #bcc9da; text-align: center;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: .18s;
}
.city-grid a:hover { border-color: var(--brand); color: var(--brand); background: rgba(46, 234, 139, .07); }
.city-grid a[hidden] { display: none; }

/* ---------- Breadcrumbs ---------- */
.crumbs { padding: 16px 0; font-size: .78rem; color: var(--muted-2); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #3b465a; }
.crumbs a:hover { color: var(--brand); }
.crumbs [aria-current="page"] { color: #c3cfdf; }

/* ---------- Prose ---------- */
.prose { color: #bcc8d9; font-size: 1rem; }
.prose h2 { color: #fff; margin-top: 1.9em; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.prose h3 { color: #fff; margin-top: 1.5em; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { margin-bottom: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose blockquote {
  margin: 1.4em 0; padding: 16px 20px; border-left: 3px solid var(--brand);
  background: var(--surface); border-radius: 0 10px 10px 0; color: #d3dded;
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .9rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 13px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface-2); color: #fff; }
.prose code { background: var(--surface-3); padding: 2px 6px; border-radius: 5px; font-size: .88em; color: var(--brand); }
.prose img { border-radius: 14px; }

.article-cover {
  margin: 28px auto 8px; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 16 / 8; background: var(--surface-2);
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: .2s;
}
.post:hover { border-color: rgba(46, 234, 139, .35); transform: translateY(-3px); }
.post__thumb {
  aspect-ratio: 16/9; position: relative; display: grid; place-items: center;
  background: radial-gradient(120% 100% at 20% 10%, rgba(46, 234, 139, .3), transparent 60%), #0a1420;
  border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 800;
  color: rgba(255, 255, 255, .5); font-size: 2.2rem; letter-spacing: -.04em;
}
.post__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.post__tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); font-weight: 800; margin-bottom: 8px; }
.post h3 { font-size: 1.05rem; margin-bottom: 8px; }
.post p { font-size: .86rem; color: var(--muted); flex: 1; }
.post__meta { font-size: .72rem; color: var(--muted-2); margin-top: 12px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; min-width: 0; }
.field { min-width: 0; }
.field label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 6px; color: #d3ddec; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; max-width: 100%;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 11px; padding: 12px 14px; color: #fff; outline: none; transition: .18s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(46, 234, 139, .12); }
.field textarea { min-height: 110px; resize: vertical; }
.field small { color: var(--muted-2); font-size: .72rem; }
.form__row { display: flex; flex-wrap: wrap; gap: 14px; }
.form__row > .field { flex: 1 1 200px; }
.form__note { font-size: .75rem; color: var(--muted-2); }
.form__status { font-size: .86rem; padding: 11px 14px; border-radius: 10px; display: none; }
.form__status.is-ok { display: block; background: rgba(46, 234, 139, .1); border: 1px solid rgba(46, 234, 139, .35); color: #a9ffd1; }
.form__status.is-err { display: block; background: rgba(255, 107, 107, .1); border: 1px solid rgba(255, 107, 107, .35); color: #ffc0c0; }

/* ---------- Contact tiles ---------- */
.contact-tile {
  display: flex; gap: 14px; align-items: center; padding: 18px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
}
.contact-tile svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--brand); }
.contact-tile b { display: block; font-size: .92rem; }
.contact-tile small { color: var(--muted-2); font-size: .76rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: #04060b; padding: 54px 0 26px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 34px; }
.footer__brand p { color: var(--muted); font-size: .85rem; max-width: 300px; margin: 16px 0 18px; }
.footer h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: #fff; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer ul a { color: var(--muted); font-size: .84rem; }
.footer ul a:hover { color: var(--brand); }
.footer__social { display: flex; gap: 8px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 10px; background: var(--surface-2);
  border: 1px solid var(--line); display: grid; place-items: center; transition: .18s;
}
.footer__social a:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.footer__social svg { width: 17px; height: 17px; }
.footer__bottom {
  border-top: 1px solid var(--line); padding-top: 20px; display: flex;
  flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; font-size: .76rem; color: var(--muted-2);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Floating actions ---------- */
.fab-stack {
  position: fixed; right: 18px; bottom: 18px; z-index: 140;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
  animation: fab-in .55s cubic-bezier(.22, 1, .36, 1) .9s both;
}
@keyframes fab-in {
  from { opacity: 0; transform: translateY(70px); }
  to { opacity: 1; transform: none; }
}
.fab {
  display: inline-flex; align-items: center; gap: 9px; border-radius: 99px;
  padding: 10px 16px 10px 11px; font-weight: 800; font-size: .83rem;
  box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .85); border: 1px solid rgba(255, 255, 255, .18);
  transition: .2s;
}
.fab:hover { transform: translateY(-2px) scale(1.02); }
.fab svg { width: 21px; height: 21px; }
.fab--wa { background: #25d366; color: #04220f; }
.fab--tg { background: #229ed9; color: #03141d; }
.fab__dot {
  width: 9px; height: 9px; border-radius: 50%; background: #ff3b3b;
  box-shadow: 0 0 0 0 rgba(255, 59, 59, .7); animation: pulse 2s infinite; margin-left: 2px;
}
.fab--wa .fab__label { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.fab--wa .fab__label small { font-size: .6rem; font-weight: 700; opacity: .8; }
.fab--bubble { padding: 13px; border-radius: 50%; }
.fab--bubble .fab__label { display: none; }
.fab--bubble:hover .fab__label { display: block; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  background: #0e1a2b; border: 1px solid var(--line-strong); color: #e9f1fb;
  padding: 12px 18px; border-radius: 12px; font-size: .86rem; z-index: 200;
  opacity: 0; pointer-events: none; transition: .25s; box-shadow: var(--shadow); max-width: 90vw;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Page hero (inner) ---------- */
.page-hero { padding: 40px 0 34px; border-bottom: 1px solid var(--line); background: var(--bg-soft); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(1.85rem, 4.4vw, 3.1rem); margin-bottom: 12px; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0; }

/* ---------- Tables / compare ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.compare { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 620px; }
.compare th, .compare td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { background: var(--surface-2); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--brand); font-weight: 700; }
.compare .no { color: var(--muted-2); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Animations ---------- */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 234, 139, .55); }
  70% { box-shadow: 0 0 0 10px rgba(46, 234, 139, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 234, 139, 0); }
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 560px; margin: 12px auto 0; width: 100%; }
  .tv { transform: none; }
  .float-card--a { right: -2%; }
  .float-card--b { left: -2%; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
  .header__phone { display: inline-flex; }
}

@media (max-width: 900px) {
  .header__actions > .btn--ghost { display: none; }
}

@media (max-width: 860px) {
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin-inline: auto; }
  .plan--featured { order: -1; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .trust__inner { grid-template-columns: 1fr 1fr; gap: 16px; }
  .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .container, .container--narrow { width: min(100% - 28px, var(--maxw)); }
  .header__inner { gap: 8px; }
  .logo__mark { width: 38px; height: 38px; border-radius: 11px; }
  .logo__name { font-size: 1.12rem; }
  .logo__tag { font-size: .55rem; letter-spacing: .16em; }
  .header__actions > .btn--wa { padding: 0; width: 42px; height: 42px; border-radius: 11px; }
  .header__actions > .btn--wa svg { width: 20px; height: 20px; }
  .header__actions > .btn--wa { font-size: 0; gap: 0; }
  .grid--3, .grid--2, .grid--4, .post-grid { grid-template-columns: minmax(0, 1fr); }
  .device-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__meta { gap: 8px 14px; font-size: .78rem; }
  .float-card { display: none; }
  .city-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .topbar { font-size: .72rem; }
  .topbar__inner { gap: 6px 10px; }
  .topbar__hide-sm { display: none; }
  .fab-stack { right: 14px; bottom: 14px; gap: 8px; }
  .fab { width: 52px; height: 52px; padding: 0; border-radius: 50%; justify-content: center; gap: 0; }
  .fab .fab__label, .fab .fab__dot { display: none; }
  .fab svg { width: 23px; height: 23px; }
  .fab--bubble:hover .fab__label { display: none; }
  .trust__item { justify-content: flex-start; font-size: .76rem; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .pricing-tabs { display: flex; width: 100%; }
  .pricing-tabs button { flex: 1; padding: 10px; }
  .plan__price { font-size: 2.3rem; }
  .cta-band__actions .btn { flex: 1 1 100%; }
  .hero__media { aspect-ratio: 4 / 3; }
  .photo-band { min-height: 400px; }
  .photo-band::after { background: linear-gradient(180deg, rgba(4, 8, 14, .2) 0%, rgba(4, 8, 14, .92) 62%); }
}

@media (max-width: 400px) {
  .logo__tag { display: none; }
  .header__actions { gap: 6px; }
  .header__actions > .btn--wa { width: 38px; height: 38px; }
  .burger { width: 38px; height: 38px; }
  .hero__actions { gap: 8px; }
  .city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
