/* ============================================================
   MAVJI SOMON — Design System
   Dark cinema theme · Blue/Cyan accent · Manrope
   ============================================================ */

:root {
  --bg: #0b1120;
  --bg-soft: #0f172a;
  --surface: #131c31;
  --surface-2: #1a2540;
  --border: rgba(148, 163, 184, 0.14);
  --text: #e6edf7;
  --text-soft: #94a3b8;
  --text-dim: #64748b;
  --primary: #3b82f6;
  --primary-strong: #2563eb;
  --accent: #22d3ee;
  --gradient: linear-gradient(100deg, #2563eb 0%, #22d3ee 100%);
  --gradient-soft: linear-gradient(100deg, rgba(37, 99, 235, 0.18), rgba(34, 211, 238, 0.18));
  --success: #34d399;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(2, 6, 23, 0.8);
  --shadow-accent: 0 12px 40px -10px rgba(37, 99, 235, 0.45);
  --header-h: 76px;
  --container: 1180px;
  --transition: 0.3s cubic-bezier(0.2, 0.7, 0.3, 1);
  --header-bg: rgba(11, 17, 32, 0.72);
  --header-solid: rgba(11, 17, 32, 0.9);
  --menu-bg: rgba(11, 17, 32, 0.98);
  --chip-bg: rgba(148, 163, 184, 0.09);
  --ghost-bg: rgba(255, 255, 255, 0.03);
  --tint: rgba(34, 211, 238, 0.08);
  --tint-border: rgba(34, 211, 238, 0.22);
  --hover-border: rgba(34, 211, 238, 0.35);
  --feat-tint: rgba(37, 99, 235, 0.12);
  --feat-border: rgba(34, 211, 238, 0.45);
  --grid-line: rgba(148, 163, 184, 0.05);
  --blob1: rgba(37, 99, 235, 0.35);
  --blob2: rgba(34, 211, 238, 0.22);
  --blob3: rgba(124, 58, 237, 0.2);
  --float-bg: rgba(19, 28, 49, 0.92);
  --warn: #fbbf24;
  --warn-bg: rgba(251, 191, 36, 0.07);
  --warn-border: rgba(251, 191, 36, 0.25);
  --hero-glow: rgba(37, 99, 235, 0.22);
  --cta-glow: rgba(34, 211, 238, 0.25);
  --err: #fb7185;
}


:root[data-theme="light"] {
  --bg: #f5f7fb;
  --bg-soft: #edf1f8;
  --surface: #ffffff;
  --surface-2: #e9eff8;
  --border: rgba(100, 116, 139, 0.22);
  --text: #0f172a;
  --text-soft: #46556b;
  --text-dim: #64748b;
  --accent: #0891b2;
  --gradient: linear-gradient(100deg, #1d4ed8 0%, #0891b2 100%);
  --gradient-soft: linear-gradient(100deg, rgba(29, 78, 216, 0.12), rgba(8, 145, 178, 0.12));
  --success: #059669;
  --shadow: 0 20px 50px -20px rgba(15, 23, 42, 0.18);
  --shadow-accent: 0 12px 40px -10px rgba(37, 99, 235, 0.3);
  --header-bg: rgba(255, 255, 255, 0.75);
  --header-solid: rgba(255, 255, 255, 0.92);
  --menu-bg: rgba(245, 247, 251, 0.98);
  --chip-bg: rgba(15, 23, 42, 0.05);
  --ghost-bg: rgba(15, 23, 42, 0.03);
  --tint: rgba(8, 145, 178, 0.08);
  --tint-border: rgba(8, 145, 178, 0.28);
  --hover-border: rgba(8, 145, 178, 0.4);
  --feat-tint: rgba(37, 99, 235, 0.07);
  --feat-border: rgba(8, 145, 178, 0.45);
  --grid-line: rgba(100, 116, 139, 0.1);
  --blob1: rgba(37, 99, 235, 0.16);
  --blob2: rgba(8, 145, 178, 0.14);
  --blob3: rgba(124, 58, 237, 0.1);
  --float-bg: rgba(255, 255, 255, 0.94);
  --warn: #d97706;
  --warn-bg: rgba(217, 119, 6, 0.07);
  --warn-border: rgba(217, 119, 6, 0.3);
  --hero-glow: rgba(37, 99, 235, 0.12);
  --cta-glow: rgba(8, 145, 178, 0.14);
  --err: #e11d48;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
  background: var(--tint);
  border: 1px solid var(--tint-border);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 18px;
}
.section-head p { color: var(--text-soft); margin-top: 14px; font-size: 1.05rem; }

.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 700; font-size: 0.98rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn--primary { background: var(--gradient); color: #fff; box-shadow: var(--shadow-accent); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -10px rgba(34, 211, 238, 0.5); }
.btn--ghost { border: 1.5px solid var(--border); color: var(--text); background: var(--ghost-bg); }
.btn--ghost:hover { border-color: var(--hover-border); background: var(--tint); transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: 0.9rem; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.header.scrolled { border-bottom-color: var(--border); background: var(--header-solid); }
.header .container { display: flex; align-items: center; gap: 20px; width: min(1360px, 100% - 40px); }

.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; flex: none; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--gradient);
  display: grid; place-items: center;
  box-shadow: 0 6px 20px -6px rgba(34, 211, 238, 0.6);
}
.logo-mark svg { width: 24px; height: 24px; }
.logo-mark img { width: 82%; height: 82%; object-fit: contain; }
.logo small { display: block; font-size: 0.62rem; font-weight: 600; color: var(--text-soft); letter-spacing: 0.12em; text-transform: uppercase; }

.nav { display: flex; gap: 4px; margin-inline: auto; }
.nav a {
  padding: 9px 12px; border-radius: 10px;
  font-size: 0.93rem; font-weight: 600; color: var(--text-soft);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav a:hover { color: var(--text); background: var(--chip-bg); }
.nav a.active { color: var(--text); background: var(--gradient-soft); }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }

.iptv-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px;
  font-size: 0.88rem; font-weight: 800;
  color: #fff; background: linear-gradient(100deg, #7c3aed, #db2777);
  box-shadow: 0 8px 24px -8px rgba(219, 39, 119, 0.5);
  transition: transform var(--transition), box-shadow var(--transition);
}
.iptv-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -8px rgba(219, 39, 119, 0.65); }
.iptv-btn svg { width: 16px; height: 16px; }

/* Language switcher */
.lang-switch {
  display: flex; gap: 2px; padding: 4px;
  background: var(--chip-bg);
  border: 1px solid var(--border); border-radius: 999px;
}
.lang-switch button, .lang-switch a {
  padding: 5px 11px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em;
  color: var(--text-dim);
  transition: color 0.2s, background 0.2s;
}
.lang-switch button.active, .lang-switch a.active { color: #fff; background: var(--primary-strong); }
.lang-switch button:not(.active):hover, .lang-switch a:not(.active):hover { color: var(--text); }


/* Theme toggle */
.theme-toggle {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  border: 1px solid var(--border); display: grid; place-items: center;
  color: var(--text-soft);
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}
.theme-toggle:hover { border-color: var(--hover-border); color: var(--text); transform: translateY(-1px); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .ic-sun { display: none; }
:root[data-theme="light"] .theme-toggle .ic-sun { display: block; }
:root[data-theme="light"] .theme-toggle .ic-moon { display: none; }

/* Burger */
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); place-items: center; flex: none; }
.burger svg { width: 22px; height: 22px; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--menu-bg);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  padding: 22px 24px; display: none; flex-direction: column; gap: 2px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; animation: menu-in 0.45s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
.mobile-menu.open > * { animation: menu-item-in 0.5s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.mobile-menu.open > *:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu.open > *:nth-child(2) { animation-delay: 0.1s; }
.mobile-menu.open > *:nth-child(3) { animation-delay: 0.15s; }
.mobile-menu.open > *:nth-child(4) { animation-delay: 0.2s; }
.mobile-menu.open > *:nth-child(5) { animation-delay: 0.25s; }
.mobile-menu.open > *:nth-child(6) { animation-delay: 0.3s; }
.mobile-menu.open > *:nth-child(7) { animation-delay: 0.35s; }
.mobile-menu.open > *:nth-child(8) { animation-delay: 0.4s; }
.mobile-menu.open > *:nth-child(9) { animation-delay: 0.45s; }
@keyframes menu-item-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.mobile-menu a { padding: 11px 18px; border-radius: 12px; font-weight: 700; font-size: 1rem; color: var(--text-soft); }
.mobile-menu a.active { color: var(--text); background: var(--gradient-soft); }
.mobile-menu a:hover { background: var(--chip-bg); color: var(--text); }
.mobile-menu .iptv-btn { margin-top: 14px; justify-content: center; padding: 14px; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 72px) 0 96px;
  min-height: 92vh; display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg .blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
  animation: blob-float 14s ease-in-out infinite alternate;
}
.hero-bg .blob--1 { width: 560px; height: 560px; background: var(--blob1); top: -180px; right: -120px; }
.hero-bg .blob--2 { width: 460px; height: 460px; background: var(--blob2); bottom: -160px; left: -140px; animation-delay: -6s; }
.hero-bg .blob--3 { width: 320px; height: 320px; background: var(--blob3); top: 40%; left: 42%; animation-delay: -3s; }
.hero-bg .grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
@keyframes blob-float {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, -50px) scale(1.12); }
}

.hero .hero-stage { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero-copy p.lead { color: var(--text-soft); font-size: 1.12rem; margin: 22px 0 34px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 40px; margin-top: 52px; flex-wrap: wrap; }
.hero-stats .stat b { font-size: 1.9rem; font-weight: 800; display: block; letter-spacing: -0.02em; }
.hero-stats .stat span { color: var(--text-dim); font-size: 0.86rem; font-weight: 600; }

/* TV illustration */
.hero-visual { position: relative; width: 100%; }
.tv-frame {
  position: relative; border-radius: 22px; padding: 14px;
  background: linear-gradient(150deg, #1e293b, #0f172a);
  border: 1px solid var(--border);
  box-shadow: var(--shadow), 0 0 80px -20px var(--blob1);
  transform: perspective(1200px) rotateY(-7deg) rotateX(2deg);
  transition: transform 0.6s var(--transition);
}
.hero-visual:hover .tv-frame { transform: perspective(1200px) rotateY(-2deg) rotateX(0deg); }
.tv-screen {
  border-radius: 12px; aspect-ratio: 16 / 10; overflow: hidden; position: relative;
  background: radial-gradient(120% 120% at 20% 10%, #1d4ed8 0%, #0e7490 45%, #0b1120 100%);
}
.tv-screen::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.14) 48%, transparent 60%);
  animation: screen-shine 5s ease-in-out infinite;
}
@keyframes screen-shine { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.tv-screen .play-circle {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px;
  border-radius: 50%; background: rgba(255,255,255,0.14);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.35);
  display: grid; place-items: center;
  animation: pulse-soft 2.6s ease-in-out infinite;
}
.tv-screen .play-circle svg { width: 30px; height: 30px; margin-left: 4px; }
@keyframes pulse-soft { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: var(--float-bg);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: 16px;
  padding: 13px 18px; box-shadow: var(--shadow);
  font-size: 0.88rem; font-weight: 700;
  animation: float-y 5s ease-in-out infinite;
}
.float-card small { display: block; color: var(--text-dim); font-weight: 600; font-size: 0.74rem; }
.float-card .ic {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: grid; place-items: center; background: var(--gradient-soft);
}
.float-card .ic svg { width: 20px; height: 20px; }
.float-card--tl { top: -24px; left: -34px; animation-delay: -1.5s; }
.float-card--br { bottom: -26px; right: -18px; }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Channel marquee ---------- */
.marquee { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--border); background: var(--bg-soft); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .chip {
  padding: 9px 20px; border-radius: 999px; white-space: nowrap;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.88rem; font-weight: 700; color: var(--text-soft);
}
@keyframes marquee { to { transform: translateX(-50%); } }



/* ---------- Hero: CineStream stage + channel deck ---------- */
.hero-cine {
  padding: calc(var(--header-h) + 48px) 0 34px;
  min-height: 100vh;
  display: flex; flex-direction: column; gap: 34px;
}
.hero-cine::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 130% at 78% 0%, color-mix(in srgb, var(--b2) 26%, transparent), transparent 60%);
  transition: background 0.6s;
}
.hero-cine .hero-stage { flex: 1; position: relative; }
.hero-stage > .hero-copy, .hero-stage > .hero-visual { transition: opacity 0.3s ease, transform 0.3s ease; }
.hero-cine.switching .hero-copy, .hero-cine.switching .hero-visual { opacity: 0; transform: translateY(14px); }
.hero-chip {
  display: inline-block; padding: 6px 16px; border-radius: 999px; margin-bottom: 20px;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; background: color-mix(in srgb, var(--b2) 60%, rgba(90, 110, 150, 0.35));
  transition: background 0.4s;
}
.hero-title { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
.hero-cine .hero-title { min-height: 3.45em; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-cine .hero-copy .lead { min-height: 6.8em; }
/* hero poster: programme still in a screen-like frame, channel logo as a badge */
.hero-poster {
  position: relative; width: min(100%, 620px); aspect-ratio: 16 / 11; margin-inline: auto;
  border-radius: 26px; overflow: hidden; background: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 34px 80px -24px color-mix(in srgb, var(--b2) 55%, rgba(0, 0, 0, 0.5));
  animation: float-y 5s ease-in-out infinite;
}
.hero-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-poster::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(5, 10, 24, 0.72), transparent 55%);
}
.hero-poster-logo {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
}
.hero-poster-logo img { display: block; height: 44px; width: auto; max-width: 160px; object-fit: contain; }


/* Compact hero for shorter screens (13" laptops) */
@media (min-width: 681px) and (max-height: 900px) {
  .hero-cine { padding: calc(var(--header-h) + 22px) 0 22px; gap: 18px; }
  .hero-title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
  .hero-copy p.lead { font-size: 1rem; margin: 14px 0 22px; }
  .hero-cine .hero-title { min-height: 2.3em; }
  .hero-cine .hero-copy .lead { min-height: 5.1em; }
  .hero-chip { margin-bottom: 12px; }
  .hero-stats { margin-top: 28px; }
  .hero-stats .stat b { font-size: 1.4rem; }
  .hero-poster { width: min(100%, 500px); }
  .hero-poster-logo img { height: 38px; }
  .hero-deck .chan-card { flex-basis: 122px; border-radius: 14px; }
  .hero-deck .chan-logo { padding: 4px 6px; }
  .hero-deck .chan-logo img { height: 17px; max-width: 60px; }
  .hero-deck .chan-meta b { font-size: 0.74rem; }
  .hero-deck .chan-genre { font-size: 0.56rem; }
  .hero-deck .chan-card--cta b { font-size: 1.3rem; }
  .hero-deck .chan-card--cta span { font-size: 0.7rem; }
}


/* Extra-compact hero for real 13" browser viewports (~700-800px tall) */
@media (min-width: 681px) and (max-height: 800px) {
  .hero-cine { padding: calc(var(--header-h) + 12px) 0 16px; gap: 10px; min-height: auto; }
  .hero-title { font-size: clamp(1.5rem, 3vw, 2rem); }
  .hero-cine .hero-title { min-height: 2.15em; }
  .hero-copy p.lead { font-size: 0.92rem; margin: 10px 0 16px; }
  .hero-cine .hero-copy .lead { min-height: 4.5em; }
  .hero-chip { margin-bottom: 8px; font-size: 0.66rem; }
  .hero-stats { margin-top: 14px; gap: 22px; }
  .hero-stats .stat b { font-size: 1.15rem; }
  .hero-stats .stat span { font-size: 0.74rem; }
  .hero-cta .btn { padding: 11px 22px; font-size: 0.9rem; }
  .hero-poster { width: min(100%, 400px); border-radius: 20px; }
  .hero-poster-logo { left: 12px; bottom: 12px; padding: 7px 10px; border-radius: 10px; }
  .hero-poster-logo img { height: 28px; }
  .hero-deck .chan-arrow { top: -46px; width: 38px; height: 38px; }
  .hero-deck .chan-card { flex-basis: 102px; border-radius: 12px; }
  .hero-deck .chan-logo { top: 8px; left: 8px; padding: 3px 5px; }
  .hero-deck .chan-logo img { height: 15px; max-width: 52px; }
  .hero-deck .chan-meta { padding: 6px 9px 9px; gap: 3px; }
  .hero-deck .chan-meta b { font-size: 0.66rem; }
  .hero-deck .chan-genre { font-size: 0.5rem; padding: 1px 6px; }
  .hero-deck .chan-card--cta b { font-size: 1.1rem; }
  .hero-deck .chan-card--cta span { font-size: 0.62rem; }
}

/* deck (poster row inside hero) */
.hero-deck { display: block; position: relative; }
.hero-deck .chan-arrow { position: absolute; top: -58px; z-index: 6; }
.hero-deck .chan-arrow[data-dir="1"] { right: 0; }
.hero-deck .chan-arrow[data-dir="-1"] { right: 58px; }
.hero-deck .chan-track { padding-top: 10px; padding-bottom: 10px; }
.hero-deck .chan-card { flex: 0 0 150px; border-radius: 16px; cursor: pointer; }
.hero-deck .chan-card:hover { transform: translateY(-6px); }
.hero-deck .chan-card.active {
  border: 2px solid var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 18px 40px -14px color-mix(in srgb, var(--ctint) 60%, transparent);
}
.hero-deck .chan-logo { top: 10px; left: 10px; padding: 5px 7px; border-radius: 8px; }
.hero-deck .chan-logo img { height: 20px; max-width: 72px; }
.hero-deck .chan-meta { padding: 8px 12px 12px; gap: 4px; }
.hero-deck .chan-meta b { font-size: 0.82rem; }
.hero-deck .chan-genre { font-size: 0.6rem; padding: 2px 8px; }
.hero-deck .chan-card--cta b { font-size: 1.7rem; }
.hero-deck .chan-card--cta span { font-size: 0.78rem; }
.hero-deck .chan-arrow { flex: none; }

@media (max-width: 680px) {
  .hero-cine { min-height: auto; }
  .hero-deck .chan-arrow { display: none; }
  .hero-cine .hero-title { min-height: 0; display: block; }
  .hero-cine .hero-copy .lead { min-height: 0; }
  .hero-deck .chan-card { flex-basis: 128px; }
  .hero-poster { width: 100%; border-radius: 20px; }
  .hero-poster-logo img { height: 34px; }
}

/* ---------- Channel carousel (CineStream-style posters) ---------- */
.chan-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.chan-head h2 { margin: 0; }
.chan-nav { display: flex; gap: 10px; flex: none; }
.chan-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface);
  display: grid; place-items: center; color: var(--text-soft);
  transition: border-color var(--transition), color var(--transition), transform var(--transition), background var(--transition);
}
.chan-arrow:hover { border-color: var(--hover-border); color: var(--text); transform: translateY(-2px); }
.chan-arrow svg { width: 20px; height: 20px; }
.chan-viewport { overflow: hidden; }
.chan-track {
  display: flex; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-top: 8px; padding-bottom: 28px;
  scrollbar-width: none;
}
.chan-track::-webkit-scrollbar { display: none; }
.chan-track { cursor: grab; }
.chan-track.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.chan-card img { -webkit-user-drag: none; user-select: none; }

.chan-card {
  flex: 0 0 216px; aspect-ratio: 3 / 4; border-radius: 22px;
  scroll-snap-align: start; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background:
    radial-gradient(130% 90% at 50% -20%, color-mix(in srgb, var(--ctint) 55%, transparent), transparent 60%),
    linear-gradient(165deg, #1b2440 0%, #0d1526 78%);
  border: 1px solid rgba(148, 163, 184, 0.18);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.chan-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: color-mix(in srgb, var(--ctint) 65%, transparent);
  box-shadow: 0 24px 50px -18px color-mix(in srgb, var(--ctint) 55%, transparent);
}
/* programme still fills the card; logo sits in a small badge on top */
.chan-still {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.chan-card:hover .chan-still { transform: scale(1.06); }
.chan-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 10, 24, 0.5) 0%, transparent 34%),
    linear-gradient(0deg, rgba(5, 10, 24, 0.94) 0%, rgba(5, 10, 24, 0.6) 30%, transparent 62%);
}
.chan-card--cta::before { display: none; }
.chan-logo {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  display: grid; place-items: center; padding: 6px 9px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.6);
}
.chan-logo img { display: block; height: 26px; width: auto; max-width: 92px; object-fit: contain; }
.chan-meta {
  position: relative; z-index: 2; margin-top: auto;
  padding: 14px 18px 18px;
  display: grid; gap: 6px;
}
.chan-meta b { color: #fff; font-size: 1rem; line-height: 1.2; }
.chan-genre {
  justify-self: start; padding: 3px 11px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; background: color-mix(in srgb, var(--ctint) 65%, rgba(255,255,255,0.08));
}
.chan-card--cta {
  align-items: center; justify-content: center; gap: 10px; text-align: center;
  color: var(--text); font-weight: 700; padding: 20px;
}
.chan-card--cta b { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; }
.chan-card--cta span { color: #cbd5e1; font-size: 0.95rem; }
.chan-card--cta svg { color: #cbd5e1; }
@media (max-width: 680px) {
  .chan-head { flex-direction: column; align-items: flex-start; }
  .chan-card { flex-basis: 172px; }
  .chan-logo img { height: 22px; }
}

/* ---------- Cards / features ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; position: relative; overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-6px); border-color: var(--hover-border); box-shadow: var(--shadow); }
.card .card-icon {
  width: 52px; height: 52px; border-radius: 15px; margin-bottom: 20px;
  background: var(--gradient-soft); border: 1px solid var(--tint-border);
  display: grid; place-items: center;
}
.card .card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: 0.95rem; }

/* ---------- Tariffs ---------- */
.tariffs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 460px)); justify-content: center; gap: 26px; }
.tariff {
  background: var(--surface); border: 1px solid var(--border); border-radius: 24px;
  padding: 38px 34px; position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.tariff:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.tariff--featured { border-color: var(--feat-border); background: linear-gradient(170deg, var(--feat-tint), var(--surface) 45%); }
.tariff--featured::before {
  content: ""; position: absolute; inset: -2px; border-radius: 24px; padding: 1.5px;
  background: var(--gradient); opacity: 0.55;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.tariff-badge {
  position: absolute; top: 22px; right: 22px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--gradient); color: #fff;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.tariff .t-name { font-size: 1.35rem; font-weight: 800; }
.tariff .t-desc { color: var(--text-soft); font-size: 0.92rem; margin-top: 6px; }
.tariff .t-price { display: flex; align-items: baseline; gap: 8px; margin: 26px 0 6px; }
.tariff .t-price b { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.tariff .t-price span { color: var(--text-dim); font-weight: 600; }
.t-channels {
  display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 24px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--tint); border: 1px solid var(--tint-border);
  color: var(--accent); font-weight: 800; font-size: 0.9rem;
}
.tariff ul { display: grid; gap: 12px; margin-bottom: 30px; }
.tariff ul li { display: flex; gap: 11px; align-items: flex-start; color: var(--text-soft); font-size: 0.94rem; }
.tariff ul li svg { width: 19px; height: 19px; flex: none; margin-top: 2px; color: var(--success); }
.tariff .btn { width: 100%; }


/* Compact single-tariff strip on the home page */
.tariff-strip {
  display: flex; align-items: center; gap: 34px; flex-wrap: wrap;
  background: linear-gradient(170deg, var(--feat-tint), var(--surface) 55%);
  border: 1px solid var(--feat-border); border-radius: 22px;
  padding: 28px 36px; position: relative;
}
.tariff-strip .tariff-badge { position: static; display: inline-block; margin-bottom: 8px; }
.tariff-strip .ts-name b { display: block; font-size: 1.45rem; font-weight: 800; }
.tariff-strip .ts-desc { color: var(--text-soft); font-size: 0.9rem; }
.tariff-strip .t-channels { margin: 0; }
.tariff-strip .ts-price { display: flex; align-items: baseline; gap: 8px; margin-left: auto; }
.tariff-strip .ts-price b { font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.tariff-strip .ts-price span { color: var(--text-dim); font-weight: 600; font-size: 0.9rem; }
.tariff-strip .ts-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
@media (max-width: 900px) {
  .tariff-strip { flex-direction: column; align-items: flex-start; gap: 18px; }
  .tariff-strip .ts-price { margin-left: 0; }
}

/* Equipment */
.equip-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 460px)); justify-content: center; gap: 22px; margin-top: 26px; }
.equip {
  display: flex; gap: 20px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 26px;
  transition: transform var(--transition), border-color var(--transition);
}
.equip:hover { transform: translateY(-4px); border-color: var(--hover-border); }
.equip .eq-icon {
  width: 64px; height: 64px; flex: none; border-radius: 16px;
  background: var(--gradient-soft); display: grid; place-items: center;
}
.equip .eq-icon svg { width: 32px; height: 32px; }
.equip b.eq-price { margin-left: auto; font-size: 1.3rem; white-space: nowrap; }
.equip p { color: var(--text-dim); font-size: 0.85rem; }

/* Channel list panel */
.channels-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; margin-top: 30px; }
.channels-panel h3 { margin-bottom: 20px; }
.channel-tags { display: flex; flex-wrap: wrap; gap: 9px; }
.channel-tags span {
  padding: 7px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 600;
  background: var(--chip-bg); border: 1px solid var(--border); color: var(--text-soft);
  transition: border-color 0.2s, color 0.2s;
}
.channel-tags span:hover { border-color: var(--hover-border); color: var(--text); }

.channel-tags .ch { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 7px; }
.channel-tags .ch img {
  width: 26px; height: 26px; object-fit: contain; flex: none;
  background: #fff; border-radius: 7px; padding: 2px;
}
.channel-tags .ch i {
  width: 26px; height: 26px; border-radius: 7px; flex: none;
  display: grid; place-items: center; font-style: normal;
  font-size: 0.72rem; font-weight: 800; color: #fff;
  background: color-mix(in srgb, var(--m) 78%, #0b1120);
}

.channel-tags span.plus-only { background: rgba(124, 58, 237, 0.12); border-color: rgba(124, 58, 237, 0.3); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 28px; position: relative;
  transition: transform var(--transition), border-color var(--transition);
}
.step:hover { transform: translateY(-6px); border-color: var(--hover-border); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; font-size: 1.1rem; }
.step p { color: var(--text-soft); font-size: 0.93rem; }

/* ---------- IPTV banner ---------- */
.iptv-banner {
  position: relative; overflow: hidden; border-radius: 28px;
  background: linear-gradient(115deg, #4c1d95 0%, #7c3aed 45%, #db2777 100%);
  padding: 64px 56px;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center;
  box-shadow: 0 30px 80px -30px rgba(124, 58, 237, 0.55);
}
.iptv-banner::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255,255,255,0.12); filter: blur(70px); top: -160px; right: -80px;
}
.iptv-banner h2 { color: #fff; }
.iptv-banner p { color: rgba(255,255,255,0.85); margin: 14px 0 28px; max-width: 480px; }
.iptv-banner .btn--white { background: #fff; color: #6d28d9; box-shadow: 0 14px 40px -12px rgba(0,0,0,0.4); }
.iptv-banner .btn--white:hover { transform: translateY(-2px); }
.iptv-devices { display: flex; gap: 16px; justify-content: center; }
.iptv-devices .dev {
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); border-radius: 16px;
  padding: 18px; display: grid; place-items: center; gap: 8px;
  color: #fff; font-size: 0.78rem; font-weight: 700;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: float-y 5s ease-in-out infinite;
}
.iptv-devices .dev:nth-child(2) { animation-delay: -1.6s; }
.iptv-devices .dev:nth-child(3) { animation-delay: -3.2s; }
.iptv-devices .dev svg { width: 34px; height: 34px; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; transition: border-color var(--transition); }
.faq-item.open { border-color: var(--hover-border); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 26px; text-align: left; font-weight: 700; font-size: 1.02rem;
}
.faq-q .chev { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; transition: transform var(--transition), background var(--transition); }
.faq-q .chev svg { width: 16px; height: 16px; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); background: var(--gradient-soft); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--transition); }
.faq-a-inner { padding: 0 26px 24px; color: var(--text-soft); font-size: 0.95rem; }
.faq-a-inner ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; margin-top: 8px; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + 72px) 0 64px;
  position: relative; overflow: hidden; text-align: center;
  background: radial-gradient(90% 120% at 50% -20%, var(--hero-glow), transparent 60%);
}
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero p { color: var(--text-soft); max-width: 640px; margin: 16px auto 0; font-size: 1.06rem; }
.breadcrumbs { display: flex; gap: 8px; justify-content: center; margin-bottom: 22px; font-size: 0.85rem; color: var(--text-dim); font-weight: 600; }
.breadcrumbs a:hover { color: var(--accent); }

/* ---------- Payment page ---------- */
.pay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.pay-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: transform var(--transition), border-color var(--transition);
}
.pay-card:hover { transform: translateY(-5px); border-color: var(--hover-border); }
.pay-card .pay-logo {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-weight: 800; font-size: 1.1rem; color: #fff; margin-bottom: 18px;
}
.pay-card ol { padding-left: 20px; display: grid; gap: 9px; color: var(--text-soft); font-size: 0.93rem; }
.pay-card h3 { margin-bottom: 6px; }
.pay-card .pay-sub { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 16px; }

.notice {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--warn-bg); border: 1px solid var(--warn-border);
  border-radius: var(--radius-sm); padding: 22px 24px; margin-top: 34px;
}
.notice svg { width: 24px; height: 24px; flex: none; color: var(--warn); margin-top: 2px; }
.notice--info { background: rgba(52, 211, 153, 0.08); border-color: rgba(52, 211, 153, 0.35); }
.notice--info svg { color: var(--success); }
.notice--info b { color: var(--success); }
.notice p { color: var(--text-soft); font-size: 0.93rem; }

/* ---------- Coverage / branches ---------- */
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.branch {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; transition: transform var(--transition), border-color var(--transition);
}
.branch:hover { transform: translateY(-6px); border-color: var(--hover-border); }
.branch .b-city { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.branch .b-city .ic { width: 44px; height: 44px; border-radius: 13px; background: var(--gradient-soft); display: grid; place-items: center; flex: none; }
.branch .b-city .ic svg { width: 22px; height: 22px; }
.branch dl { display: grid; gap: 10px; font-size: 0.92rem; }
.branch dt { color: var(--text-dim); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.branch dd { color: var(--text-soft); }
.branch dd a:hover { color: var(--accent); }


/* HQ card + branch points */
.hq-card {
  background: var(--surface); border: 1px solid var(--tint-border); border-radius: var(--radius);
  padding: 30px 34px; margin-bottom: 26px;
  display: flex; gap: 44px; align-items: center; flex-wrap: wrap;
}
.hq-card .b-city { display: flex; align-items: center; gap: 14px; margin: 0; }
.hq-card .b-city .ic { width: 52px; height: 52px; border-radius: 15px; background: var(--gradient-soft); display: grid; place-items: center; flex: none; }
.hq-card .b-city .ic svg { width: 26px; height: 26px; }
.hq-card dl { display: flex; gap: 40px; flex-wrap: wrap; margin-left: auto; }
.hq-card dt { color: var(--text-dim); font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.hq-card dd { color: var(--text-soft); font-size: 0.94rem; }
.hq-card dd a:hover { color: var(--accent); }
.points-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.point {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 22px; display: flex; flex-direction: column; gap: 6px;
  transition: transform var(--transition), border-color var(--transition);
}
.point:hover { transform: translateY(-5px); border-color: var(--hover-border); }
.point .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--gradient-soft); display: grid; place-items: center; margin-bottom: 8px; }
.point .ic svg { width: 20px; height: 20px; }
.point b { font-size: 1.02rem; }
.point .point-sub { color: var(--text-dim); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.point .point-addr { color: var(--text-soft); font-size: 0.86rem; line-height: 1.45; flex: 1; }
.point a { color: var(--text-soft); font-size: 0.9rem; margin-top: 4px; }
.point a:hover { color: var(--accent); }
@media (max-width: 1080px) { .points-grid { grid-template-columns: repeat(2, 1fr); } .hq-card dl { margin-left: 0; } }
@media (max-width: 680px) { .points-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .point { padding: 18px 16px; } }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-top: 40px; filter: saturate(0.85); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 24px; text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}
.team-card:hover { transform: translateY(-6px); border-color: var(--hover-border); }
.team-card .avatar {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 18px;
  background: var(--gradient); display: grid; place-items: center;
  font-size: 1.6rem; font-weight: 800; color: #fff;
  box-shadow: 0 10px 30px -10px rgba(37, 99, 235, 0.6);
}
.team-card b { display: block; font-size: 1.05rem; }
.team-card span { color: var(--text-dim); font-size: 0.86rem; font-weight: 600; }

/* Timeline / about */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.about-grid p { color: var(--text-soft); margin-bottom: 16px; }
.stat-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat-tile {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}
.stat-tile:hover { transform: translateY(-4px); border-color: var(--hover-border); }
.stat-tile b { font-size: 2.1rem; font-weight: 800; display: block; letter-spacing: -0.02em; }
.stat-tile span { color: var(--text-dim); font-size: 0.85rem; font-weight: 600; }

/* ---------- Contacts / form ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 26px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.contact-tile {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 26px; transition: border-color var(--transition), transform var(--transition);
}
.contact-tile:hover { border-color: var(--hover-border); transform: translateY(-3px); }
.contact-tile .ic { width: 46px; height: 46px; flex: none; border-radius: 13px; background: var(--gradient-soft); display: grid; place-items: center; }
.contact-tile .ic svg { width: 22px; height: 22px; }
.contact-tile b { display: block; margin-bottom: 3px; }
.contact-tile p, .contact-tile a { color: var(--text-soft); font-size: 0.93rem; }
.contact-tile a:hover { color: var(--accent); }

.form-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 40px; }
.form-panel h3 { margin-bottom: 8px; font-size: 1.4rem; }
.form-panel .form-sub { color: var(--text-soft); font-size: 0.93rem; margin-bottom: 28px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 0.86rem; font-weight: 700; color: var(--text-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 18px; border-radius: 12px;
  background: var(--bg-soft); border: 1.5px solid var(--border);
  color: var(--text); font: inherit; font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
}
.field input.invalid, .field input.invalid:focus {
  border-color: var(--err);
  box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.16);
}
.form-msg { display: none; margin-top: 18px; padding: 16px 20px; border-radius: 12px; font-weight: 600; font-size: 0.92rem; }
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.form-msg.ok { display: block; background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.3); color: var(--success); }
.form-msg.err { display: block; background: rgba(251, 113, 133, 0.1); border: 1px solid rgba(251, 113, 133, 0.35); color: var(--err); }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 28px; padding: 64px 56px; text-align: center;
  background: radial-gradient(120% 160% at 50% -30%, var(--cta-glow), transparent 55%), var(--surface-2);
  border: 1px solid var(--border); position: relative; overflow: hidden;
}
.cta-band p { color: var(--text-soft); max-width: 520px; margin: 14px auto 30px; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-soft); padding: 72px 0 34px; margin-top: 96px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 52px; }
.footer .logo { margin-bottom: 16px; }
.footer-about { color: var(--text-dim); font-size: 0.9rem; max-width: 300px; }
.footer h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-dim); margin-bottom: 18px; }
.footer-links { display: grid; gap: 11px; }
.footer-links a { color: var(--text-soft); font-size: 0.92rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  color: var(--text-dim); font-size: 0.85rem;
}
.footer-phone { font-size: 1.5rem; font-weight: 800; color: var(--text); display: block; margin-top: 8px; }
.footer-phone:hover { color: var(--accent); }
.footer-msg { display: flex; flex-wrap: wrap; gap: 2px 8px; margin-top: 8px; font-size: 0.92rem; }
.footer-msg a:last-child { flex-basis: 100%; font-weight: 700; color: var(--text); }
.footer-msg a:last-child:hover { color: var(--accent); }
.msg-links a { font-weight: 600; }

/* ---------- Floating call button ---------- */
.call-fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--gradient); display: grid; place-items: center;
  box-shadow: 0 14px 40px -8px rgba(37, 99, 235, 0.7);
  transition: transform var(--transition);
}
.call-fab:hover { transform: scale(1.1); }
.call-fab svg { width: 26px; height: 26px; color: #fff; animation: ring 2.4s ease-in-out infinite; }
.call-fab::before, .call-fab::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(34, 211, 238, 0.55);
  animation: fab-pulse 2.4s ease-out infinite;
}
.call-fab::after { animation-delay: 1.2s; }
@keyframes fab-pulse { from { transform: scale(1); opacity: 1; } to { transform: scale(1.85); opacity: 0; } }
@keyframes ring {
  0%, 70%, 100% { transform: rotate(0); }
  74%, 82%, 90% { transform: rotate(-12deg); }
  78%, 86%, 94% { transform: rotate(12deg); }
}
.call-fab .fab-tip {
  position: absolute; right: calc(100% + 14px); top: 50%; transform: translateY(-50%);
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px;
  padding: 8px 14px; font-size: 0.82rem; font-weight: 700; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.call-fab:hover .fab-tip { opacity: 1; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--transition), transform 0.7s var(--transition); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

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

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .burger { display: grid; }
  .header-actions .btn-call-head { display: none; }
  .hero .hero-stage { grid-template-columns: 1fr; gap: 56px; }
  .hero { min-height: auto; }
  .hero-copy { text-align: center; }
  .hero-copy p.lead { margin-inline: auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .hero-visual { max-width: 560px; margin-inline: auto; }
  .cards-grid, .steps, .branch-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .iptv-banner { grid-template-columns: 1fr; text-align: center; padding: 48px 32px; }
  .iptv-banner p { margin-inline: auto; }
}

@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .cards-grid, .steps, .tariffs-grid, .equip-grid, .pay-grid, .branch-grid, .team-grid { grid-template-columns: 1fr; }
  .header-actions .lang-switch { display: none; }
  .mobile-menu .lang-switch { display: flex; margin-top: 18px; align-self: center; }
  .header-actions .iptv-btn { display: none; }
  .float-card--tl { left: -8px; top: -18px; }
  .float-card--br { right: -6px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-band { padding: 48px 24px; }
  .form-panel { padding: 28px 22px; }
  .call-fab { right: 18px; bottom: 18px; width: 56px; height: 56px; }
  .hero-stats { gap: 24px; }
  .iptv-banner { padding: 40px 24px; }
  .iptv-devices { flex-wrap: wrap; }
  .iptv-devices .dev { animation: none; flex: 1 1 28%; min-width: 92px; }
}
