/* ============================
   TS-MEDIA — landing styles
   ============================ */

:root {
  --bg: #060816;
  --bg-2: #0a1030;
  --bg-3: #0d1438;
  --surface: #111a45;
  --surface-2: #19245a;
  --line: #233074;
  --text: #e9edff;
  --muted: #b1bcec;
  --muted-2: #8a96c8;

  --accent: #58b4ff;
  --accent-2: #3e6cff;
  --accent-3: #8a6bff;
  --pink: #ff7ac0;
  --green: #5fe3a1;
  --amber: #ffc26b;
  --cyan: #69e8ff;

  --light-bg: #f6f8ff;
  --light-bg-2: #eef2ff;
  --light-text: #121a3a;
  --light-muted: #4d5985;
  --light-line: #dfe5ff;

  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;

  --shadow-card: 0 18px 42px rgba(20, 36, 93, 0.10);
  --shadow-card-dark: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

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

a { color: var(--accent); }

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.narrow { max-width: 820px; }

.skip-link {
  position: absolute;
  left: -9999px;
  background: #fff;
  color: var(--light-text);
  padding: .5rem .8rem;
  border-radius: 6px;
}
.skip-link:focus { left: 1rem; top: 1rem; z-index: 1000; }

/* ============================
   Header / Nav
   ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 12, 36, 0.6);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(80, 110, 200, 0.10);
  transition: background .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  background: rgba(6, 9, 28, 0.85);
  border-bottom-color: rgba(80, 110, 200, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .04em;
}
.logo-mark { display: inline-flex; }
.logo-text { font-size: 1rem; }
.logo-light .logo-text { color: var(--text); }

.nav-links {
  display: flex;
  gap: 1.4rem;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  position: relative;
  padding: .25rem 0;
  transition: color .2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a.active::after,
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: .6rem; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(120, 150, 230, .25);
  border-radius: 8px;
  width: 38px; height: 38px;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  margin: 5px auto;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================
   Buttons
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: white;
  padding: .7rem 1.05rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  font-size: .95rem;
  box-shadow: 0 8px 22px rgba(62, 108, 255, 0.35);
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(62, 108, 255, 0.45); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .55rem .9rem; font-size: .88rem; }
.btn-lg { padding: .9rem 1.35rem; font-size: 1rem; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  outline: 1px solid rgba(120, 160, 250, 0.45);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(120, 160, 250, 0.10); box-shadow: none; }

.btn-block { display: flex; width: 100%; }

/* ============================
   Hero
   ============================ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 0%, #1e2c7a 0, transparent 38%),
    radial-gradient(circle at 80% 10%, #1f4ea8 0, transparent 42%),
    var(--bg);
  border-bottom: 1px solid rgba(80, 110, 200, 0.10);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 50%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 50%, transparent 80%);
}
.hero-orb {
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
}
.orb-a {
  top: -80px; left: -60px;
  background: radial-gradient(circle, #5b7cff, transparent 65%);
  animation: float 14s ease-in-out infinite;
}
.orb-b {
  bottom: -120px; right: -80px;
  background: radial-gradient(circle, #58b4ff, transparent 60%);
  animation: float 18s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(30px, -20px); }
}

.hero-content {
  position: relative;
  padding: 6rem 0 5rem;
}
.hero-orb { will-change: transform; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-transform: none;
  font-weight: 600;
  letter-spacing: 0;
  color: #c3d6ff;
  font-size: .85rem;
  background: rgba(80, 130, 240, 0.15);
  border: 1px solid rgba(120, 160, 250, 0.25);
  padding: .35rem .75rem;
  border-radius: 999px;
  margin: 0;
}
.kicker .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(95, 227, 161, 0.20);
}

h1 {
  font-size: clamp(2rem, 5.2vw, 4rem);
  line-height: 1.08;
  max-width: 18ch;
  margin: 1.1rem 0 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.grad {
  background: linear-gradient(90deg, #8ed1ff, #6e8bff 60%, #b08bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 64ch;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin: 2rem 0 2.5rem;
}

.stats {
  list-style: none;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(120, 150, 230, .15);
  padding-top: 1.6rem;
}
.stats li strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(180deg, #fff, #b8c5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats li span {
  color: var(--muted);
  font-size: .9rem;
}

/* ============================
   Logos strip
   ============================ */
.logos {
  background: var(--bg);
  padding: 2.5rem 0 2.5rem;
  border-bottom: 1px solid rgba(80, 110, 200, 0.10);
}
.logos-title {
  text-align: center;
  color: var(--muted-2);
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.2rem 3rem;
  color: #aab6e5;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .02em;
  opacity: .8;
  transition: opacity .2s ease, transform .2s ease;
}
.brand:hover { opacity: 1; transform: translateY(-1px); }

/* ============================
   Sections
   ============================ */
.section {
  padding: 6rem 0;
  background: var(--light-bg);
  color: var(--light-text);
}
.section-alt { background: var(--light-bg-2); }

.section-head {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent-2);
  margin: 0 0 .6rem;
}
.eyebrow-light { color: #8ec8ff; }

.section h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 800;
}
.section-subtitle {
  color: var(--light-muted);
  margin-top: .8rem;
  font-size: 1.02rem;
  line-height: 1.6;
}

/* ============================
   Grid & cards
   ============================ */
.grid { display: grid; gap: 1.2rem; }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--light-line);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(20, 36, 93, 0.14);
  border-color: #c8d3ff;
}
.card h3 {
  margin: .2rem 0 .5rem;
  font-size: 1.15rem;
}
.card p { color: var(--light-muted); line-height: 1.6; margin: 0; }

.feature .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .9rem;
  color: white;
}
.icon-blue   { background: linear-gradient(135deg, #58b4ff, #3e6cff); }
.icon-violet { background: linear-gradient(135deg, #8a6bff, #5b3df0); }
.icon-pink   { background: linear-gradient(135deg, #ff7ac0, #c54aa1); }
.icon-cyan   { background: linear-gradient(135deg, #69e8ff, #2bb7d3); }
.icon-green  { background: linear-gradient(135deg, #5fe3a1, #1ea874); }
.icon-amber  { background: linear-gradient(135deg, #ffc26b, #e09128); }

/* ============================
   How it works
   ============================ */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
  counter-reset: step;
}
.steps li {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  border: 1px solid var(--light-line);
  position: relative;
  box-shadow: var(--shadow-card);
}
.step-num {
  display: inline-block;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--accent-2);
  background: #e7eeff;
  border-radius: 999px;
  padding: .25rem .6rem;
  margin-bottom: .8rem;
}
.steps li h3 { margin: .2rem 0 .4rem; font-size: 1.08rem; }
.steps li p { color: var(--light-muted); line-height: 1.6; margin: 0; }

/* ============================
   Coverage
   ============================ */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.checklist {
  padding-left: 0;
  list-style: none;
  margin: 1rem 0 1.5rem;
}
.checklist li {
  position: relative;
  padding-left: 1.7rem;
  line-height: 1.7;
  color: var(--light-text);
}
.checklist li + li { margin-top: .35rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .55rem;
  width: 16px; height: 16px;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 38%, var(--accent-2) 40%, var(--accent-2) 55%, transparent 57%);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 4px; top: .8rem;
  width: 8px; height: 4px;
  border-left: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(-45deg);
}

.kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: .75rem;
  margin-top: 1rem;
}
.kpis div {
  background: white;
  border: 1px solid var(--light-line);
  border-radius: var(--radius-md);
  padding: .85rem 1rem;
}
.kpis strong {
  display: block;
  font-size: 1.4rem;
  color: var(--light-text);
}
.kpis span { color: var(--light-muted); font-size: .85rem; }

.map-card {
  background: linear-gradient(180deg, #0c1438, #0a1230);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  border: 1px solid #1d2a6e;
  box-shadow: var(--shadow-card-dark);
}
.map-card-head {
  display: flex; align-items: center; gap: .55rem;
  font-weight: 600;
  font-size: .9rem;
  color: #c2d3ff;
  margin-bottom: .8rem;
}
.map-card-head .dot.live {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(95, 227, 161, 0.6);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(95, 227, 161, 0.55); }
  100% { box-shadow: 0 0 0 14px rgba(95, 227, 161, 0); }
}
.kz-map { width: 100%; height: auto; }
.kz-map text { fill: #d8e2ff; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; }
.kz-map .pop {
  fill: var(--accent);
  filter: drop-shadow(0 0 6px rgba(88, 180, 255, 0.7));
  animation: pop-pulse 2.4s ease-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.kz-map g.pops > g:nth-child(2) .pop { animation-delay: .4s; }
.kz-map g.pops > g:nth-child(3) .pop { animation-delay: .8s; }
.kz-map g.pops > g:nth-child(4) .pop { animation-delay: 1.2s; }
.kz-map g.pops > g:nth-child(5) .pop { animation-delay: 1.6s; }
.kz-map g.pops > g:nth-child(6) .pop { animation-delay: 2.0s; }
@keyframes pop-pulse {
  0%   { r: 5;   opacity: 1; }
  60%  { r: 11;  opacity: 0; }
  100% { r: 5;   opacity: 0; }
}
.map-foot {
  margin: .8rem 0 0;
  font-size: .82rem;
  color: var(--muted-2);
}

/* ============================
   Pricing
   ============================ */
.pricing-toggle {
  display: inline-flex;
  margin-top: 1.4rem;
  background: white;
  border: 1px solid var(--light-line);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.pricing-toggle button {
  border: 0;
  background: transparent;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
  color: var(--light-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: background .2s ease, color .2s ease;
}
.pricing-toggle button.active {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 6px 14px rgba(62, 108, 255, .3);
}
.pricing-toggle .save {
  font-size: .7rem;
  background: rgba(95, 227, 161, .2);
  color: #149a64;
  padding: .1rem .4rem;
  border-radius: 6px;
  font-weight: 700;
}
.pricing-toggle button.active .save {
  background: rgba(255,255,255,.2);
  color: white;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  position: relative;
}
.price-card h3 { font-size: 1.2rem; margin: 0; }
.price {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: .2rem 0 .1rem;
  color: var(--light-text);
  display: inline-flex;
  align-items: baseline;
  gap: .15rem;
}
.price .cur { font-size: 1.2rem; font-weight: 700; color: var(--light-muted); }
.price .per { font-size: .9rem; font-weight: 600; color: var(--light-muted); margin-left: .25rem; }
.amount-text { font-size: 1.8rem; }
.price-sub { color: var(--light-muted); font-size: .9rem; margin: 0; }

.price-card ul {
  padding-left: 0;
  list-style: none;
  margin: .3rem 0 .6rem;
}
.price-card ul li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.7;
  color: var(--light-text);
  font-size: .95rem;
}
.price-card ul li + li { margin-top: .15rem; }
.price-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .65rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.pricing .featured {
  border: 2px solid transparent;
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, #58b4ff, #8a6bff) border-box;
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(62, 108, 255, .18);
}
.badge {
  position: absolute;
  top: -12px; right: 16px;
  font-size: .72rem;
  text-transform: uppercase;
  font-weight: 800;
  color: white;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  border-radius: 999px;
  padding: .25rem .65rem;
  letter-spacing: .06em;
  margin: 0;
}

/* ============================
   Testimonials
   ============================ */
.section-dark {
  background: linear-gradient(180deg, #0a1130, #0d1a4e);
  color: var(--text);
}
.section-dark .section-subtitle { color: var(--muted); }

.quote {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(120, 150, 230, .18);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  margin: 0;
  backdrop-filter: blur(6px);
}
.quote blockquote {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: #e6ecff;
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--muted);
  font-size: .9rem;
}
.quote figcaption strong { color: var(--text); font-weight: 700; }
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .85rem;
  color: white;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
  flex: 0 0 auto;
}

/* ============================
   FAQ
   ============================ */
.faq {
  display: grid;
  gap: .7rem;
  margin-top: 1.5rem;
}
.faq details {
  background: white;
  border: 1px solid var(--light-line);
  border-radius: var(--radius-md);
  padding: .2rem 1.1rem;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.faq details[open] {
  box-shadow: var(--shadow-card);
  border-color: #c8d3ff;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 2rem 1rem 0;
  font-weight: 700;
  position: relative;
  color: var(--light-text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: translateY(-65%) rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq details p {
  margin: 0 0 1rem;
  color: var(--light-muted);
  line-height: 1.65;
  max-width: 70ch;
}

/* ============================
   Contact
   ============================ */
.contact-split { grid-template-columns: 1.2fr 1fr; }

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}
.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form label {
  display: grid;
  gap: .35rem;
  font-size: .88rem;
  color: var(--light-text);
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  color: var(--light-text);
  background: white;
  border: 1px solid var(--light-line);
  border-radius: 10px;
  padding: .75rem .85rem;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(62, 108, 255, .15);
}
.contact-form input.invalid,
.contact-form textarea.invalid {
  border-color: #e2557a;
  box-shadow: 0 0 0 4px rgba(226, 85, 122, .12);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button { justify-self: start; }
.form-note {
  margin: 0;
  color: var(--light-muted);
  font-size: .8rem;
}

.contact-info { display: grid; gap: 1rem; align-content: start; }
.info-card {
  background: white;
  border: 1px solid var(--light-line);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
}
.info-card h3 {
  margin: 0 0 .35rem;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent-2);
}
.info-card p { margin: 0; line-height: 1.7; color: var(--light-text); }
.info-card a { color: var(--light-text); text-decoration: none; border-bottom: 1px dashed var(--light-line); }
.info-card a:hover { color: var(--accent-2); border-bottom-color: var(--accent-2); }

.map-stub {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--light-line);
  line-height: 0;
}

/* ============================
   Toast
   ============================ */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translate(-50%, 30px);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: #0e1740;
  color: white;
  padding: .8rem 1.1rem;
  border-radius: 12px;
  border: 1px solid #2c3a85;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  z-index: 200;
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { color: var(--green); }

/* ============================
   Footer
   ============================ */
.footer {
  background: #04060f;
  color: #c2caf0;
  padding: 4rem 0 1.4rem;
  border-top: 1px solid rgba(60, 80, 160, .18);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
}
.footer h4 {
  margin: 0 0 .8rem;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #8aa0e8;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .45rem;
}
.footer a {
  color: #d8defc;
  text-decoration: none;
  font-size: .95rem;
}
.footer a:hover { color: var(--accent); }
.footer-blurb { color: #aab6e5; max-width: 38ch; line-height: 1.6; margin: .8rem 0 1rem; font-size: .95rem; }
.footer-meta { color: #8a96c8; font-size: .82rem; line-height: 1.6; margin: 0; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(80, 100, 180, .18);
  color: #8a96c8;
  font-size: .85rem;
}
.back-top { color: var(--accent); text-decoration: none; font-weight: 600; }

/* ============================
   Reveal animation
   ============================ */
.reveal-group > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
  transition-delay: var(--d, 0ms);
}
.reveal-group.in-view > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-group > *:nth-child(1) { --d: 0ms; }
.reveal-group > *:nth-child(2) { --d: 80ms; }
.reveal-group > *:nth-child(3) { --d: 160ms; }
.reveal-group > *:nth-child(4) { --d: 240ms; }
.reveal-group > *:nth-child(5) { --d: 320ms; }
.reveal-group > *:nth-child(6) { --d: 400ms; }

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

/* ============================
   Responsive
   ============================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 1.6rem 2rem; }
  .footer-grid > div:nth-child(1) { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .container { width: min(1180px, 94%); }
  .split,
  .contact-split { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
  .footer-grid > div:nth-child(1) { grid-column: 1 / -1; }
  .section { padding: 4.5rem 0; }
  .hero-content { padding: 5rem 0 4rem; }

  .hero-orb { width: 240px; height: 240px; opacity: .45; filter: blur(70px); }
}

@media (max-width: 720px) {
  .container { width: min(1180px, 92%); }

  /* ---- Header & nav ---- */
  .nav { padding: .65rem 0; gap: .6rem; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(8, 12, 36, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: stretch;
    padding: .6rem 1rem 1rem;
    gap: .2rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    border-bottom: 1px solid rgba(80, 110, 200, 0.18);
  }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links a { padding: .75rem .25rem; font-size: 1rem; }
  .nav-links a::after { display: none; }
  .nav-actions .btn-sm { display: none; }

  /* ---- Hero ---- */
  .hero-content { padding: 3.5rem 0 2.75rem; }
  h1 { max-width: none; margin: .9rem 0 1rem; line-height: 1.12; }
  .lead { font-size: 1rem; line-height: 1.6; }
  .kicker { font-size: .78rem; padding: .3rem .65rem; }
  .hero-actions { gap: .6rem; margin: 1.6rem 0 2rem; }
  .hero-actions .btn { flex: 1 1 auto; min-width: 0; }
  .btn-lg { padding: .8rem 1rem; font-size: .95rem; }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem .9rem;
    padding-top: 1.2rem;
  }
  .stats li strong { font-size: 1.5rem; }
  .stats li span { font-size: .82rem; line-height: 1.35; display: block; }

  /* ---- Logos strip ---- */
  .logos { padding: 2rem 0; }
  .logos-title { margin: 0 0 1rem; font-size: .75rem; letter-spacing: .12em; }
  .logo-strip { gap: 1rem 1.4rem; }
  .brand { font-size: .9rem; gap: .4rem; }
  .brand svg { width: 18px; height: 18px; }

  /* ---- Sections ---- */
  .section { padding: 3.25rem 0; }
  .section-head { margin-bottom: 1.75rem; }
  .section-head h2 { text-wrap: balance; }
  .section-subtitle { font-size: .98rem; }
  .grid { gap: .9rem; }
  .cards-3, .cards-4 { grid-template-columns: 1fr; }

  .card { padding: 1.2rem; }
  .card h3 { font-size: 1.05rem; }
  .card p { font-size: .95rem; }
  .feature .icon { width: 38px; height: 38px; margin-bottom: .65rem; }

  /* ---- Steps ---- */
  .steps { gap: .9rem; grid-template-columns: 1fr; }
  .steps li { padding: 1.1rem 1.15rem; }
  .steps li h3 { font-size: 1.02rem; }

  /* ---- Coverage ---- */
  .checklist { margin: .8rem 0 1.2rem; }
  .checklist li { line-height: 1.55; font-size: .95rem; }
  .kpis { grid-template-columns: 1fr 1fr 1fr; gap: .55rem; }
  .kpis div { padding: .7rem .8rem; }
  .kpis strong { font-size: 1.1rem; }
  .kpis span { font-size: .76rem; line-height: 1.3; }
  .map-card { padding: 1rem; }
  .kz-map text { font-size: 18px; }
  .kz-map .pop { filter: drop-shadow(0 0 5px rgba(88, 180, 255, 0.7)); }

  /* ---- Pricing ---- */
  .pricing-toggle { width: 100%; max-width: 320px; }
  .pricing-toggle button { flex: 1 1 50%; justify-content: center; padding: .55rem .7rem; font-size: .85rem; }
  .pricing { gap: 1rem; }
  .pricing .featured { transform: none; box-shadow: 0 18px 36px rgba(62, 108, 255, .2); }
  .price-card { padding: 1.3rem; }
  .price { font-size: 1.7rem; }
  .badge { right: 14px; }

  /* ---- Quotes ---- */
  .quote { padding: 1.2rem; }
  .quote blockquote { font-size: .98rem; }

  /* ---- FAQ ---- */
  .faq details { padding: 0 1rem; }
  .faq summary { padding: .9rem 1.6rem .9rem 0; font-size: .98rem; }
  .faq details p { font-size: .95rem; }

  /* ---- Contact ---- */
  .contact-form { gap: .85rem; margin-top: 1rem; }
  .contact-form .row { grid-template-columns: 1fr; gap: .85rem; }
  .contact-form input,
  .contact-form textarea { padding: .7rem .8rem; }
  .contact-form button { justify-self: stretch; }
  .info-card { padding: 1rem 1.1rem; }
  .info-card p { font-size: .95rem; line-height: 1.55; }

  /* ---- Footer ---- */
  .footer { padding: 3rem 0 1.2rem; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem 1.2rem;
  }
  .footer-grid > div:nth-child(1) { grid-column: 1 / -1; }
  .footer h4 { margin-bottom: .55rem; }
  .footer ul { gap: .35rem; }
  .footer-blurb { margin: .6rem 0 .8rem; }
  .footer-bottom {
    flex-direction: column;
    gap: .55rem;
    text-align: center;
    margin-top: 2.2rem;
    padding-top: 1rem;
  }

  /* ---- Toast ---- */
  .toast {
    left: 1rem; right: 1rem;
    bottom: 1rem;
    transform: translateY(30px);
    justify-content: center;
  }
  .toast.show { transform: translateY(0); }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 2rem); }
  .nav { padding: .55rem 0; }
  .logo-text { font-size: .95rem; }

  .hero-content { padding: 2.75rem 0 2.25rem; }
  h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .lead { font-size: .96rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: .9rem .8rem;
  }
  .stats li strong { font-size: 1.35rem; }

  .section { padding: 2.75rem 0; }
  .section-head { margin-bottom: 1.5rem; }
  .section h2 { font-size: clamp(1.5rem, 6vw, 2rem); }

  .logo-strip { gap: .8rem 1.1rem; }
  .brand { font-size: .85rem; }

  .kpis { grid-template-columns: 1fr 1fr; }

  /* Smaller KZ map labels won't fit on a tiny screen — hide them, dots stay */
  .kz-map text { display: none; }
  .map-card-head { font-size: .82rem; }

  .pricing-toggle { max-width: 100%; }
  .price-card { padding: 1.15rem; }

  .footer { padding: 2.5rem 0 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:nth-child(1) { grid-column: auto; }
}
