/* ==========================================================================
   Nirnāśā — YSN (Your Solutions Network)
   Main stylesheet
   ========================================================================== */

:root {
  /* Brand */
  --navy-900: #0b1640;
  --navy-800: #122751;
  --navy-700: #192273;
  --indigo-600: #424eae;
  --blue-600: #2563eb;
  --blue-500: #3b74f2;
  --blue-400: #618afb;
  --blue-300: #8f9ffd;
  --blue-100: #d3ddff;
  --blue-50: #eef3ff;
  --cyan-400: #00d4ff;
  --cyan-500: #00b4d8;
  --teal-400: #43d5cb;
  --teal-500: #1accbf;
  --teal-600: #38b2aa;
  --mint-50: #ecf3f2;

  /* Neutrals */
  --ink: #0f1b3d;
  --text: #3d4a6b;
  --muted: #6b7794;
  --line: #e3e9f7;
  --surface: #ffffff;
  --surface-2: #f6f8ff;
  --bg: #ffffff;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #2563eb 0%, #00b4d8 100%);
  --grad-deep: linear-gradient(135deg, #192273 0%, #2563eb 60%, #00b4d8 100%);
  --grad-night: linear-gradient(160deg, #0b1640 0%, #122751 45%, #192273 100%);
  --grad-soft: linear-gradient(180deg, #f3f7ff 0%, #ffffff 100%);
  --grad-text: linear-gradient(90deg, #2563eb 0%, #00b4d8 55%, #1accbf 100%);

  /* Type */
  --font-head: "Teachers", "Segoe UI", system-ui, sans-serif;
  --font-body: "Wix Madefor Text", "Segoe UI", system-ui, sans-serif;

  /* Shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(25, 34, 115, .06);
  --shadow-md: 0 12px 32px rgba(25, 34, 115, .10);
  --shadow-lg: 0 24px 60px rgba(25, 34, 115, .16);
  --shadow-glow: 0 18px 40px rgba(37, 99, 235, .30);

  --container: 1240px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy-700); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue-100); color: var(--navy-700); }
:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 2000;
  background: var(--navy-700); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 70px 0; }
.bg-soft { background: var(--surface-2); }
.bg-grad-soft { background: var(--grad-soft); }
.bg-night { background: var(--grad-night); color: #c9d4f5; }
.bg-night h1, .bg-night h2, .bg-night h3, .bg-night h4 { color: #fff; }
.text-center { text-align: center; }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }

/* ---------- Section heading ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600);
  background: var(--blue-50); border: 1px solid var(--blue-100);
  padding: 7px 16px 7px 12px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad-brand); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15);
}
.bg-night .eyebrow { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: var(--cyan-400); }
.section-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-title { font-size: clamp(32px, 4.2vw, 50px); }
.section-lead { font-size: 18px; color: var(--muted); }
.bg-night .section-lead { color: #a9b6de; }
.grad-text {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--grad-brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1;
  color: #fff; background: var(--btn-bg); background-size: 160% 100%;
  box-shadow: var(--shadow-glow); transition: transform .25s var(--ease), box-shadow .25s, background-position .4s;
  white-space: nowrap;
}
.btn:hover { color: #fff; transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 22px 44px rgba(37,99,235,.38); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-outline {
  background: #fff; color: var(--navy-700); box-shadow: inset 0 0 0 1.5px var(--blue-100), var(--shadow-sm);
}
.btn-outline:hover { color: var(--blue-600); box-shadow: inset 0 0 0 1.5px var(--blue-400), var(--shadow-md); }
.btn-light { background: #fff; color: var(--navy-700); box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.btn-light:hover { color: var(--blue-600); }
.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head);
  font-weight: 700; color: var(--blue-600);
}
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-800); color: #b9c5ea; font-size: 13.5px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 16px; }
.topbar a { color: #dfe7ff; }
.topbar a:hover { color: var(--cyan-400); }
.topbar-info { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 8px; }
.topbar-info svg { width: 15px; height: 15px; color: var(--cyan-400); }
.topbar-social { display: flex; gap: 8px; }
.topbar-social a {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); transition: background .2s;
}
.topbar-social a:hover { background: var(--blue-600); color: #fff; }
.topbar-social svg { width: 13px; height: 13px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
/* Blur lives on a pseudo-element so the header doesn't become the containing
   block for the fixed-position mobile menu. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  transition: background .3s;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(25,34,115,.08); border-color: var(--line); }
.site-header.scrolled::before { background: rgba(255,255,255,.95); }
main { overflow-x: clip; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 58px; width: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 16.5px; color: var(--ink);
  transition: color .2s, background .2s;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.active { color: var(--blue-600); background: var(--blue-50); }
.main-nav .caret { width: 14px; height: 14px; transition: transform .25s; }
.has-mega:hover .caret, .has-mega.open .caret { transform: rotate(180deg); }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 720px;
  transform: translate(-50%, 10px); opacity: 0; visibility: hidden;
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-mega:hover .mega, .has-mega.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a {
  display: flex; gap: 14px; padding: 14px; border-radius: var(--r-md); color: var(--text);
  transition: background .2s;
}
.mega a:hover { background: var(--surface-2); }
.mega-ico {
  flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-600); transition: background .25s, color .25s;
}
.mega a:hover .mega-ico { background: var(--grad-brand); color: #fff; }
.mega-ico svg { width: 22px; height: 22px; }
.mega strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 16px; line-height: 1.3; }
.mega small { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 3px; }
.mega-foot {
  grid-column: 1 / -1; margin-top: 8px; padding: 16px 18px; border-radius: var(--r-md);
  background: var(--grad-deep); color: #dbe6ff; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.mega-foot b { color: #fff; font-family: var(--font-head); font-size: 16px; }
.mega-foot a { padding: 0; color: #fff; font-family: var(--font-head); font-weight: 700; display: inline-flex; align-items: center; }
.mega-foot a:hover { background: none; color: var(--cyan-400); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--navy-700);
  transition: transform .3s, opacity .3s, top .3s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; padding: 90px 0 120px;
  background: url("../img/nirnasa-banner.png") center/cover no-repeat, #eaf2ff;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 400px at 12% 20%, rgba(255,255,255,.75), transparent 70%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px;
  background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--blue-100);
  font-size: 14px; font-weight: 600; color: var(--navy-700); margin-bottom: 26px;
}
.hero-badge b {
  background: var(--grad-brand); color: #fff; padding: 4px 12px; border-radius: 999px;
  font-family: var(--font-head); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase;
}
.hero h1 { font-size: clamp(38px, 5vw, 66px); line-height: 1.04; letter-spacing: -.025em; margin-bottom: 24px; }
.hero-lead { font-size: 19px; color: var(--text); max-width: 590px; margin-bottom: 34px; }
.hero-rotator { display: inline-block; position: relative; min-width: 4ch; }
.hero-rotator .word { display: inline-block; animation: wordIn .6s var(--ease) both; }
@keyframes wordIn { from { opacity: 0; transform: translateY(40%); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.hero-trust { display: flex; align-items: center; gap: 18px; margin-top: 40px; flex-wrap: wrap; }
.hero-trust-item {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--navy-700);
}
.hero-trust-item svg { width: 20px; height: 20px; color: var(--teal-500); }

/* Hero visual: live platform mock */
.hero-visual { position: relative; min-height: 540px; }
.orbit {
  position: absolute; border-radius: 50%; border: 1.5px dashed rgba(37,99,235,.28);
  left: 50%; top: 50%; transform: translate(-50%, -50%);
}
.orbit-1 { width: 520px; height: 520px; animation: spin 60s linear infinite; }
.orbit-2 { width: 380px; height: 380px; border-style: solid; border-color: rgba(0,180,216,.18); animation: spin 40s linear infinite reverse; }
.orbit .dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--grad-brand); box-shadow: 0 0 0 6px rgba(37,99,235,.14); }
.orbit-1 .dot { top: -7px; left: calc(50% - 7px); }
.orbit-2 .dot { bottom: 30px; left: 18px; background: var(--teal-500); box-shadow: 0 0 0 6px rgba(26,204,191,.16); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.dash {
  position: relative; z-index: 2; margin: 40px auto 0; max-width: 470px;
  background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 22px; overflow: hidden;
}
.dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 10px; height: 10px; border-radius: 50%; background: #e1e7f7; }
.dash-dots i:first-child { background: #ff8a8a; } .dash-dots i:nth-child(2) { background: #ffd36b; } .dash-dots i:nth-child(3) { background: #62d99a; }
.dash-title { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 15px; }
.dash-live { font-size: 12px; font-weight: 700; color: var(--teal-600); display: inline-flex; align-items: center; gap: 6px; }
.dash-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(26,204,191,.5); } 100% { box-shadow: 0 0 0 10px rgba(26,204,191,0); } }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.kpi { background: var(--surface-2); border-radius: 12px; padding: 12px; }
.kpi span { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.kpi b { font-family: var(--font-head); font-size: 22px; color: var(--ink); }
.kpi em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--teal-600); }
.dash-chart { background: var(--surface-2); border-radius: 12px; padding: 12px 12px 6px; margin-bottom: 14px; }
.dash-chart-head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--navy-700); margin-bottom: 6px; }
.dash-chart-head span { color: var(--muted); font-weight: 600; }
.dash-chart svg { width: 100%; height: 90px; }
.dash-chart .line { fill: none; stroke: url(#lg1); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s .4s var(--ease) forwards; }
.dash-chart .area { fill: url(#lg2); opacity: 0; animation: fade 1s 1.4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.pipeline { display: grid; gap: 8px; }
.pipe-row { display: grid; grid-template-columns: 92px 1fr 40px; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; color: var(--navy-700); }
.pipe-bar { height: 8px; border-radius: 99px; background: #e8eefc; overflow: hidden; }
.pipe-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--grad-brand); transition: width 1.6s var(--ease); }
.pipe-row b { text-align: right; font-family: var(--font-head); color: var(--ink); }

.float-card {
  position: absolute; z-index: 3; background: #fff; border-radius: 16px; box-shadow: var(--shadow-md);
  padding: 12px 16px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line);
  animation: float 6s ease-in-out infinite;
}
.float-card .fc-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad-brand); }
.float-card .fc-ico svg { width: 20px; height: 20px; }
.float-card strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 15px; line-height: 1.2; }
.float-card small { color: var(--muted); font-size: 12px; font-weight: 600; }
.fc-1 { top: 10px; left: -10px; }
.fc-2 { bottom: 40px; right: -16px; animation-delay: -2s; }
.fc-2 .fc-ico { background: linear-gradient(135deg, #1accbf, #00b4d8); }
.fc-3 { bottom: -6px; left: 10px; animation-delay: -4s; }
.fc-3 .fc-ico { background: linear-gradient(135deg, #192273, #424eae); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Compliance marquee ---------- */
.trust-strip { padding: 34px 0; border-bottom: 1px solid var(--line); background: #fff; overflow: hidden; }
.trust-strip p { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.marquee { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.trust-strip:hover .marquee { animation-play-state: paused; }
.marquee-group { display: flex; gap: 18px; padding-right: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line); white-space: nowrap;
  font-family: var(--font-head); font-weight: 700; color: var(--navy-700); font-size: 15.5px;
}
.chip svg { width: 18px; height: 18px; color: var(--blue-600); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Lifecycle / platform flow ---------- */
.lifecycle { position: relative; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; margin-bottom: 26px; }
.flow::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 46px; height: 3px; z-index: 0;
  background: repeating-linear-gradient(90deg, var(--blue-400) 0 12px, transparent 12px 22px);
  opacity: .5;
}
.flow-step {
  position: relative; z-index: 1; text-align: center; padding: 0 8px; cursor: pointer;
  background: none; border: 0;
}
.flow-node {
  width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 28px; display: grid; place-items: center;
  background: #fff; color: var(--blue-600); border: 1.5px solid var(--blue-100); box-shadow: var(--shadow-md);
  transition: transform .35s var(--ease), background .35s, color .35s, box-shadow .35s;
  position: relative;
}
.flow-node svg { width: 38px; height: 38px; }
.flow-node .num {
  position: absolute; top: -10px; right: -10px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy-700); color: #fff; font-family: var(--font-head); font-size: 13px; font-weight: 700;
  display: grid; place-items: center; border: 3px solid #fff;
}
.flow-step h4 { font-size: 20px; margin-bottom: 4px; transition: color .3s; }
.flow-step p { font-size: 14px; color: var(--muted); margin: 0; }
.flow-step:hover .flow-node, .flow-step.active .flow-node {
  background: var(--grad-brand); color: #fff; border-color: transparent; transform: translateY(-6px); box-shadow: var(--shadow-glow);
}
.flow-step.active h4 { color: var(--blue-600); }
.flow-base {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  padding: 18px 24px; border-radius: var(--r-md); background: var(--grad-night); color: #cdd8fb; text-align: center;
  cursor: pointer; transition: box-shadow .3s, transform .3s; border: 0; width: 100%;
}
.flow-base:hover, .flow-base.active { box-shadow: 0 0 0 3px var(--cyan-400), var(--shadow-md); }
.flow-base b { color: #fff; font-family: var(--font-head); font-size: 18px; }
.flow-base svg { width: 24px; height: 24px; color: var(--cyan-400); }
.flow-panel-wrap { margin-top: 36px; }
.flow-panel {
  display: none; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  padding: 40px; background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-md); border: 1px solid var(--line);
}
.flow-panel.active { display: grid; animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.flow-panel h3 { font-size: 30px; }
.flow-panel .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: var(--blue-50); color: var(--blue-600); border: 1px solid var(--blue-100);
}
.tag.teal { background: #e6faf8; color: #138f86; border-color: #bfeee9; }
.tag.navy { background: #eceefa; color: var(--navy-700); border-color: #d7dbf3; }

/* ---------- Checklist ---------- */
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: 0 0 24px; height: 24px; border-radius: 50%; margin-top: 2px;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat;
  border: 1px solid var(--blue-100);
}
.checklist.two { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.bg-night .checklist li::before { background-color: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300d4ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* ---------- Mini-visual (panel illustration) ---------- */
.mini-visual {
  background: var(--grad-deep); border-radius: var(--r-lg); padding: 26px; color: #dbe6ff; position: relative; overflow: hidden; min-height: 280px;
}
.mini-visual::before {
  content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; right: -90px; top: -90px;
  background: radial-gradient(circle, rgba(0,212,255,.45), transparent 65%);
}
.mv-row {
  position: relative; display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14); padding: 12px 14px; border-radius: 12px; margin-bottom: 10px; font-size: 14px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.mv-row b { color: #fff; font-family: var(--font-head); font-weight: 700; }
.mv-row .st { margin-left: auto; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(26,204,191,.2); color: #8ff3ea; white-space: nowrap; }
.mv-row .st.warn { background: rgba(255,196,87,.2); color: #ffd98a; }
.mv-row .st.info { background: rgba(97,138,251,.25); color: #cbd8ff; }
.mv-ico { flex: 0 0 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.14); display: grid; place-items: center; color: var(--cyan-400); }
.mv-ico svg { width: 18px; height: 18px; }

/* ---------- Service cards ---------- */
.svc-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px 30px 30px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0; background: var(--grad-deep); opacity: 0; transition: opacity .45s; z-index: 0;
}
.svc-card::after {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -80px; bottom: -80px;
  background: radial-gradient(circle, rgba(0,212,255,.5), transparent 65%); opacity: 0; transition: opacity .45s; z-index: 0;
}
.svc-card > * { position: relative; z-index: 1; }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover::before, .svc-card:hover::after { opacity: 1; }
.svc-card:hover h3, .svc-card:hover .svc-num { color: #fff; }
.svc-card:hover p, .svc-card:hover li { color: #d6e0ff; }
.svc-card:hover .link-arrow { color: var(--cyan-400); }
.svc-card:hover .svc-ico { background: rgba(255,255,255,.15); color: #fff; }
.svc-card:hover .tag { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); color: #fff; }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.svc-ico {
  width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-600); transition: background .4s, color .4s;
}
.svc-ico svg { width: 32px; height: 32px; }
.svc-num { font-family: var(--font-head); font-weight: 800; font-size: 42px; line-height: 1; color: var(--blue-100); transition: color .4s; }
.svc-card h3 { font-size: 25px; margin-bottom: 10px; transition: color .4s; }
.svc-card p { color: var(--muted); transition: color .4s; }
.svc-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 22px; }
.svc-card .tag { transition: all .4s; }
.svc-card .link-arrow { margin-top: auto; transition: color .4s; }
.svc-card.featured { grid-column: span 2; }

/* ---------- Feature cards ---------- */
.feat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  height: 100%;
}
.feat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.feat-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--grad-brand); color: #fff; box-shadow: 0 10px 22px rgba(37,99,235,.25);
}
.feat-ico svg { width: 24px; height: 24px; }
.feat:nth-child(3n+2) .feat-ico { background: linear-gradient(135deg, #1accbf, #00b4d8); box-shadow: 0 10px 22px rgba(26,204,191,.25); }
.feat:nth-child(3n+3) .feat-ico { background: linear-gradient(135deg, #192273, #618afb); box-shadow: 0 10px 22px rgba(25,34,115,.25); }
.feat h4 { font-size: 20px; margin-bottom: 8px; }
.feat p { font-size: 15px; color: var(--muted); margin: 0; }
.bg-night .feat { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.bg-night .feat:hover { background: rgba(255,255,255,.07); border-color: rgba(0,212,255,.35); }
.bg-night .feat p { color: #a9b6de; }

/* ---------- Stats ---------- */
.stats-band { position: relative; margin-top: -70px; z-index: 5; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden;
}
.stat { padding: 36px 28px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 26%; bottom: 26%; width: 1px; background: var(--line); }
.stat b { display: block; font-family: var(--font-head); font-size: 50px; line-height: 1; margin-bottom: 8px; }
.stat span { font-weight: 600; color: var(--muted); font-size: 15px; }

/* ---------- About / image composite ---------- */
.img-stack { position: relative; padding: 20px 20px 60px 0; }
.img-stack .main { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--grad-soft); }
.img-stack .main img { width: 100%; height: auto; }
.img-stack .badge-card {
  position: absolute; right: 0; bottom: 0; background: var(--grad-deep); color: #fff; border-radius: var(--r-lg);
  padding: 22px 26px; box-shadow: var(--shadow-lg); max-width: 250px;
}
.img-stack .badge-card b { font-family: var(--font-head); font-size: 40px; display: block; line-height: 1; }
.img-stack .badge-card span { font-size: 14px; color: #d6e0ff; }

.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 32px; }
.value {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-md);
  background: var(--surface-2); border: 1px solid var(--line);
}
.value .v-ico { flex: 0 0 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--blue-600); box-shadow: var(--shadow-sm); }
.value .v-ico svg { width: 20px; height: 20px; }
.value h5 { font-size: 17px; margin: 0 0 2px; }
.value p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.5; }

/* ---------- Tabs ---------- */
.tabs-nav {
  display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-bottom: 40px;
}
.tabs-nav button {
  border: 0; background: none; cursor: pointer; padding: 12px 24px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--text);
  display: inline-flex; align-items: center; gap: 8px; transition: color .25s, background .25s, box-shadow .25s;
}
.tabs-nav button svg { width: 18px; height: 18px; }
.tabs-nav button:hover { color: var(--blue-600); }
.tabs-nav button.active { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow); }
.bg-night .tabs-nav { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.bg-night .tabs-nav button { color: #c9d4f5; }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: panelIn .5s var(--ease); }

/* ---------- Process timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps.five { grid-template-columns: repeat(5, 1fr); }
.steps.six { grid-template-columns: repeat(3, 1fr); }
.step {
  position: relative; padding: 30px 24px 26px; border-radius: var(--r-lg); background: #fff;
  border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-weight: 800; font-size: 46px; line-height: 1;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  display: block; margin-bottom: 16px;
}
.step h4 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; }
.bg-night .step { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.bg-night .step p { color: #a9b6de; }

/* Vertical timeline */
.vtimeline { position: relative; padding-left: 36px; }
.vtimeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--blue-400), var(--teal-500)); }
.vt-item { position: relative; padding-bottom: 26px; }
.vt-item:last-child { padding-bottom: 0; }
.vt-item::before {
  content: ""; position: absolute; left: -36px; top: 4px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 4px solid var(--blue-600); box-shadow: 0 0 0 5px var(--blue-50);
}
.vt-item h5 { font-size: 18px; margin-bottom: 4px; }
.vt-item p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; padding: 80px 0 90px;
  background: url("../img/nirnasa-banner.png") center/cover no-repeat, #eaf2ff;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--navy-700); }
.crumbs a:hover { color: var(--blue-600); }
.crumbs .sep { opacity: .5; }
.page-hero h1 { font-size: clamp(38px, 5vw, 62px); letter-spacing: -.02em; margin-bottom: 20px; }
.page-hero .lead { font-size: 19px; max-width: 620px; margin-bottom: 30px; }
.page-hero.simple { text-align: center; padding: 90px 0 100px; }
.page-hero.simple .crumbs { justify-content: center; }
.page-hero.simple .lead { margin-left: auto; margin-right: auto; }

.hero-panel {
  background: rgba(255,255,255,.92); border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  border: 1px solid #fff; padding: 26px; position: relative;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.hero-panel-head b { font-family: var(--font-head); color: var(--ink); font-size: 17px; }
.hp-row {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2);
  margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--navy-700);
  opacity: 0; transform: translateX(20px); animation: rowIn .6s var(--ease) forwards;
}
.hp-row:nth-child(2) { animation-delay: .15s; } .hp-row:nth-child(3) { animation-delay: .3s; }
.hp-row:nth-child(4) { animation-delay: .45s; } .hp-row:nth-child(5) { animation-delay: .6s; } .hp-row:nth-child(6) { animation-delay: .75s; }
@keyframes rowIn { to { opacity: 1; transform: none; } }
.hp-row .hp-ico { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--blue-600); box-shadow: var(--shadow-sm); }
.hp-row .hp-ico svg { width: 18px; height: 18px; }
.hp-row .pill { margin-left: auto; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #e6faf8; color: #138f86; white-space: nowrap; }
.hp-row .pill.blue { background: var(--blue-50); color: var(--blue-600); }
.hp-row .pill.amber { background: #fff5e0; color: #b7791f; }
.hp-row .pill.navy { background: #eceefa; color: var(--navy-700); }

/* ---------- Compliance cards ---------- */
.comp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.comp {
  padding: 22px; border-radius: var(--r-md); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  transition: background .3s, border-color .3s, transform .3s;
}
.comp:hover { background: rgba(255,255,255,.09); border-color: rgba(0,212,255,.4); transform: translateY(-4px); }
.comp svg { width: 28px; height: 28px; color: var(--cyan-400); margin-bottom: 12px; }
.comp h5 { color: #fff; font-size: 18px; margin-bottom: 4px; }
.comp p { font-size: 14px; margin: 0; color: #a9b6de; line-height: 1.55; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 880px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq-item.open { box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; text-align: left;
  padding: 22px 26px; border: 0; background: none; cursor: pointer; font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--ink);
}
.faq-q .pm { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--blue-50); position: relative; transition: background .3s, transform .3s; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--blue-600); transform: translate(-50%, -50%); transition: transform .3s, background .3s; }
.faq-q .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .pm { background: var(--grad-brand); transform: rotate(180deg); }
.faq-item.open .pm::before, .faq-item.open .pm::after { background: #fff; }
.faq-item.open .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { display: none; padding: 0 26px 24px; color: var(--muted); }
.faq-a p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--r-xl); overflow: hidden; padding: 64px; background: var(--grad-deep); color: #dbe6ff; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; }
.cta-band::before { width: 420px; height: 420px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(0,212,255,.45), transparent 65%); }
.cta-band::after { width: 300px; height: 300px; left: -100px; bottom: -150px; background: radial-gradient(circle, rgba(26,204,191,.35), transparent 65%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 10px; }
.cta-band p { font-size: 18px; margin: 0; max-width: 620px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.c-card { display: flex; gap: 18px; align-items: flex-start; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); transition: box-shadow .3s, transform .3s; }
.c-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.c-card .c-ico { flex: 0 0 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; }
.c-card .c-ico svg { width: 24px; height: 24px; }
.c-card h5 { font-size: 18px; margin: 0 0 4px; }
.c-card p, .c-card a { margin: 0; font-size: 15.5px; color: var(--text); }
.c-card a:hover { color: var(--blue-600); }

.form-card { background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 40px; }
.form-card h3 { font-size: 28px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--navy-700); margin-bottom: 7px; }
.field label .req { color: #e0475b; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface-2);
  transition: border-color .2s, box-shadow .2s, background .2s; outline: none; font-size: 15.5px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-400); background: #fff; box-shadow: 0 0 0 4px rgba(97,138,251,.15); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e0475b; box-shadow: 0 0 0 4px rgba(224,71,91,.1); }
.field .err { display: none; font-size: 13px; color: #d23a4f; margin-top: 6px; font-weight: 600; }
.field.invalid .err { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue-600); }
.interest-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.interest-chips label {
  cursor: pointer; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface-2);
  font-size: 14px; font-weight: 700; color: var(--navy-700); transition: all .2s; margin: 0;
}
.interest-chips input { position: absolute; opacity: 0; pointer-events: none; }
.interest-chips input:checked + span { color: #fff; }
.interest-chips label:has(input:checked) { background: var(--grad-brand); border-color: transparent; color: #fff; }
.interest-chips input:focus-visible + span { outline: 3px solid var(--cyan-400); outline-offset: 6px; border-radius: 99px; }
.form-success {
  display: none; text-align: center; padding: 30px 10px;
}
.form-success .ok { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow); }
.form-success .ok svg { width: 36px; height: 36px; }
.map-wrap { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); height: 420px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Newsletter ---------- */
.newsletter { display: flex; gap: 10px; max-width: 460px; }
.newsletter input {
  flex: 1; min-width: 0; padding: 14px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06); color: #fff; outline: none;
}
.newsletter input::placeholder { color: #8e9cc7; }
.newsletter input:focus { border-color: var(--cyan-400); }

/* ---------- Footer ---------- */
.site-footer { background: var(--grad-night); color: #a9b6de; position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.35), transparent 65%);
}
.footer-top { position: relative; padding: 80px 0 50px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 20px; background: #fff; padding: 8px 14px; border-radius: 14px; }
.footer-brand p { font-size: 15px; max-width: 340px; }
.site-footer h6 { color: #fff; font-size: 18px; margin-bottom: 20px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: #a9b6de; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; transition: color .2s, transform .2s; }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 15px; }
.footer-contact svg { flex: 0 0 18px; height: 18px; color: var(--cyan-400); margin-top: 4px; }
.footer-contact a { color: #dbe4ff; }
.footer-contact a:hover { color: var(--cyan-400); }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .25s, transform .25s; }
.footer-social a:hover { background: var(--grad-brand); transform: translateY(-3px); }
.footer-social svg { width: 16px; height: 16px; }
.footer-news { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.1); }
.footer-news h6 { margin: 0 0 4px; }
.footer-news p { margin: 0; font-size: 15px; }
.footer-bottom { position: relative; border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: 14px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom a { color: #a9b6de; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: all .35s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 22px; height: 22px; }
.to-top .ring { position: absolute; inset: -4px; }
.to-top .ring circle { fill: none; stroke: var(--cyan-400); stroke-width: 3; stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.from-left { transform: translateX(-40px); }
.reveal.from-right { transform: translateX(40px); }
.reveal.zoom { transform: scale(.94); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Product nav (sibling products at bottom of service pages) ---------- */
.prod-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.prod-nav a {
  display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line);
  color: var(--ink); transition: all .3s var(--ease);
}
.prod-nav a:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.prod-nav a.current { background: var(--grad-brand); color: #fff; border-color: transparent; pointer-events: none; }
.prod-nav .pn-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; }
.prod-nav a.current .pn-ico { background: rgba(255,255,255,.18); color: #fff; }
.prod-nav .pn-ico svg { width: 20px; height: 20px; }
.prod-nav b { font-family: var(--font-head); font-size: 17px; }
.prod-nav small { font-size: 13px; color: var(--muted); line-height: 1.4; }
.prod-nav a.current small { color: #dbe6ff; }

/* ---------- Module chips (on service pages) ---------- */
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.module {
  position: relative; padding: 30px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.module:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.module .m-top { height: 5px; position: absolute; left: 0; right: 0; top: 0; background: var(--grad-brand); }
.module:nth-child(2) .m-top { background: linear-gradient(90deg, #1accbf, #00b4d8); }
.module:nth-child(3) .m-top { background: linear-gradient(90deg, #192273, #618afb); }
.module h3 { font-size: 24px; margin: 8px 0 8px; }
.module .abbr { font-family: var(--font-head); font-weight: 800; font-size: 14px; letter-spacing: .12em; color: var(--blue-600); }
.module p { color: var(--muted); }
.module .checklist { font-size: 15px; margin-top: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .main-nav > ul > li > a { padding: 10px 12px; font-size: 15.5px; }
  .header-cta .btn { padding: 12px 20px; }
  .prod-nav { grid-template-columns: repeat(3, 1fr); }
  .comp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1023px) {
  :root { --header-h: 74px; }
  .section { padding: 84px 0; }
  .nav-toggle { display: block; }
  .header-cta .btn { display: none; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, var(--header-h)); bottom: 0; background: #fff;
    padding: 18px 20px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--ease);
    border-top: 1px solid var(--line);
  }
  .nav-open .main-nav { transform: none; }
  .nav-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav > ul > li > a { padding: 14px 16px; border-radius: 12px; font-size: 18px; justify-content: space-between; }
  .mega {
    position: static; width: auto; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0;
    padding: 4px 0 8px 8px; display: none; grid-template-columns: 1fr;
  }
  .has-mega:hover .mega { transform: none; }
  .has-mega.open .mega { display: grid; transform: none; }
  .mega-foot { display: none; }
  .mobile-cta { display: block !important; margin-top: 18px; }
  .mobile-cta .btn { width: 100%; }

  .hero { padding: 60px 0 110px; }
  .hero-grid, .page-hero-grid, .split, .contact-grid, .flow-panel { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .hero-visual { min-height: 480px; max-width: 520px; margin: 0 auto; width: 100%; }
  .grid-3, .module-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .steps, .steps.five { grid-template-columns: repeat(2, 1fr); }
  .svc-card.featured { grid-column: span 2; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .flow::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 48px 36px; }
  .topbar-info span.hide-md { display: none; }
}

@media (max-width: 767px) {
  body { font-size: 15.5px; }
  .container { padding: 0 16px; }
  .section { padding: 70px 0; }
  .section-head { margin-bottom: 40px; }
  .topbar { display: none; }
  .brand img { height: 48px; }
  .hero h1 { font-size: 40px; }
  .hero-lead, .page-hero .lead { font-size: 17px; }
  .hero-visual { min-height: 420px; }
  .orbit-1 { width: 360px; height: 360px; }
  .orbit-2 { width: 260px; height: 260px; }
  .dash { padding: 16px; }
  .kpi b { font-size: 18px; }
  .fc-1 { left: 0; top: -10px; }
  .fc-2 { right: 0; }
  .float-card { padding: 9px 12px; }
  .float-card .fc-ico { width: 34px; height: 34px; }
  .grid-2, .grid-3, .grid-4, .module-grid, .steps, .steps.five, .steps.six, .value-grid, .checklist.two, .form-grid, .comp-grid { grid-template-columns: 1fr; }
  .svc-card.featured { grid-column: auto; }
  .stat { padding: 26px 16px; }
  .stat b { font-size: 38px; }
  .flow { grid-template-columns: 1fr 1fr; gap: 16px; row-gap: 28px; }
  .flow-node { width: 76px; height: 76px; border-radius: 22px; }
  .flow-node svg { width: 30px; height: 30px; }
  .flow-step h4 { font-size: 17px; }
  .flow-step p { display: none; }
  .flow-panel { padding: 26px 20px; }
  .tabs-nav { border-radius: var(--r-md); display: flex; }
  .tabs-nav button { flex: 1 1 auto; justify-content: center; padding: 11px 14px; font-size: 15px; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; padding-top: 60px; }
  .form-card { padding: 26px 20px; }
  .cta-band { padding: 40px 22px; }
  .prod-nav { grid-template-columns: 1fr 1fr; }
  .img-stack { padding: 0 0 50px; }
  .map-wrap { height: 320px; }
  .page-hero { padding: 56px 0 70px; }
  .faq-q { font-size: 17px; padding: 18px 20px; }
  .faq-a { padding: 0 20px 20px; }
}

@media (max-width: 420px) {
  .hero-trust { gap: 12px; }
  .prod-nav { grid-template-columns: 1fr; }
  .stat { padding: 22px 12px; }
  .stat b { font-size: 32px; }
  .stat span { font-size: 13.5px; line-height: 1.4; display: block; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-group[aria-hidden] { display: none; }
}

/* ---------- Decorative molecules ---------- */
.deco-mol { position: absolute; left: 0; top: 0; width: 360px; opacity: .7; pointer-events: none; z-index: 1; }
.deco-mol.right { left: auto; right: 0; top: 40px; width: 300px; opacity: .8; }
.section > .container { position: relative; z-index: 2; }

/* ---------- CTA card inside service grid ---------- */
.svc-card.cta-card { background: var(--grad-deep); border-color: transparent; }
.svc-card.cta-card::before { display: none; }
.svc-card.cta-card::after { opacity: 1; }
.svc-card.cta-card h3 { color: #fff; }
.svc-card.cta-card p { color: #d6e0ff; }
.svc-card.cta-card .svc-ico { background: rgba(255,255,255,.14); color: #fff; }
.svc-card.cta-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Hub diagram ---------- */
.hub { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1; margin: 0 auto; }
.hub::before {
  content: ""; position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(97,138,251,.22), rgba(97,138,251,0) 70%);
}
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-lines line { stroke: var(--blue-400); stroke-width: 2; stroke-dasharray: 6 8; animation: dash 1.4s linear infinite; opacity: .7; }
.hub-ring { fill: none; stroke: var(--blue-100); stroke-width: 1.5; }
.hub-ring.inner { stroke-dasharray: 3 6; stroke: var(--blue-300); }
@keyframes dash { to { stroke-dashoffset: -28; } }
.hub-core {
  position: absolute; left: 50%; top: 50%; width: 29%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg), 0 0 0 12px rgba(37,99,235,.08), 0 0 0 26px rgba(37,99,235,.04);
}
.hub-core img { width: 58%; height: auto; }
.hub-node {
  position: absolute; width: 19%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 26%;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--blue-600);
  transition: transform .35s var(--ease), background .35s, color .35s;
  animation: nodeFloat 5s ease-in-out infinite;
}
.hub-node svg { width: 34%; height: 34%; }
.hub-node em { font-style: normal; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--ink); }
.hub-node:hover { background: var(--grad-brand); color: #fff; }
.hub-node:hover em { color: #fff; }
.hub-node.n1 { left: 50%; top: 12.5%; }
.hub-node.n2 { left: 82.5%; top: 31.25%; animation-delay: -1s; }
.hub-node.n3 { left: 82.5%; top: 68.75%; animation-delay: -2s; }
.hub-node.n4 { left: 50%; top: 87.5%; animation-delay: -3s; }
.hub-node.n5 { left: 17.5%; top: 68.75%; animation-delay: -4s; }
.hub-node.n6 { left: 17.5%; top: 31.25%; animation-delay: -5s; }
@keyframes nodeFloat { 0%, 100% { margin-top: 0; } 50% { margin-top: -8px; } }

@media (max-width: 767px) {
  .deco-mol { width: 220px; }
  .hub-node em { font-size: 11px; }
}

/* ---------- Inner hero followed by stats ---------- */
.page-hero:has(+ .stats-band) { padding-bottom: 150px; }

/* ---------- Signal stage track ---------- */
.stage-track {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; counter-reset: none;
}
.stage-track li {
  position: relative; text-align: center; padding: 18px 6px 16px; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 14.5px; line-height: 1.25;
  transition: background .3s, border-color .3s, transform .3s;
}
.stage-track li span { display: block; font-size: 12px; letter-spacing: .1em; color: var(--cyan-400); margin-bottom: 6px; }
.stage-track li:hover { background: var(--grad-brand); border-color: transparent; transform: translateY(-4px); }
.stage-track li:hover span { color: #fff; }
.stage-track li:not(:last-child)::after {
  content: ""; position: absolute; right: -8px; top: 50%; width: 8px; height: 2px; background: rgba(0,212,255,.5);
}

/* ---------- Product rows (services page) ---------- */
.product-rows { display: grid; gap: 22px; }
.prow {
  display: grid; grid-template-columns: 170px 1fr auto; gap: 36px; align-items: center;
  padding: 34px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line);
  transition: box-shadow .35s, transform .35s var(--ease), border-color .35s;
}
.prow:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--blue-100); }
.prow-media {
  position: relative; aspect-ratio: 1; border-radius: 28px; background: var(--grad-deep); display: grid; place-items: center; overflow: hidden; color: #fff;
}
.prow-media::after { content: ""; position: absolute; width: 140px; height: 140px; right: -50px; bottom: -50px; border-radius: 50%; background: radial-gradient(circle, rgba(0,212,255,.6), transparent 65%); }
.prow:nth-child(even) .prow-media { background: linear-gradient(135deg, #0f6f8a, #1accbf); }
.prow-ico svg { width: 64px; height: 64px; position: relative; z-index: 1; }
.prow-num { position: absolute; top: 14px; left: 18px; font-family: var(--font-head); font-weight: 800; font-size: 18px; opacity: .7; }
.prow-body h2 { font-size: 32px; margin-bottom: 8px; }
.prow-body .eyebrow { margin-bottom: 12px; }
.prow-body p { color: var(--muted); }
.prow-body .checklist { font-size: 15px; font-weight: 600; color: var(--navy-700); }

/* ---------- About visual ---------- */
.about-visual { padding: 26px; background: var(--grad-deep) !important; position: relative; }
.about-visual::before { content: ""; position: absolute; inset: 0; background: url("../img/about-png2.webp") right top / 60% no-repeat; opacity: .25; }
.av-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.av-tile {
  padding: 26px 20px; border-radius: var(--r-md); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  color: #d6e0ff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .3s, transform .3s;
}
.av-tile:hover { background: rgba(255,255,255,.18); transform: translateY(-4px); }
.av-tile svg { width: 34px; height: 34px; color: var(--cyan-400); margin-bottom: 14px; }
.av-tile b { display: block; color: #fff; font-family: var(--font-head); font-size: 19px; }
.av-tile span { font-size: 14px; }

/* ---------- Dark timeline ---------- */
.vt-dark .vt-item::before { background: var(--navy-800); border-color: var(--cyan-400); box-shadow: 0 0 0 5px rgba(0,212,255,.12); }
.vt-dark .vt-item p { color: #a9b6de; }

@media (max-width: 1199px) {
  .stage-track { grid-template-columns: repeat(5, 1fr); }
  .stage-track li:nth-child(5)::after { display: none; }
}
@media (max-width: 1023px) {
  .prow { grid-template-columns: 120px 1fr; gap: 26px; }
  .prow-cta { grid-column: 2; }
  .prow-ico svg { width: 46px; height: 46px; }
  .page-hero:has(+ .stats-band) { padding-bottom: 130px; }
}
@media (max-width: 767px) {
  .stage-track { grid-template-columns: repeat(2, 1fr); }
  .stage-track li::after { display: none; }
  .prow { grid-template-columns: 1fr; padding: 24px; gap: 18px; }
  .prow-media { width: 96px; border-radius: 22px; }
  .prow-cta { grid-column: auto; }
  .prow-body h2 { font-size: 26px; }
  .av-grid { grid-template-columns: 1fr; }
  .page-hero:has(+ .stats-band) { padding-bottom: 110px; }
}

/* ---------- Late additions: CTA layout & mobile panels ---------- */
.cta-inner > div:first-child { flex: 1 1 480px; max-width: 720px; }
@media (max-width: 767px) {
  .fc-3 { display: none; }
  .fc-2 { bottom: 10px; }
  .mini-visual { padding: 16px; }
  .mv-row { flex-wrap: wrap; row-gap: 8px; }
  .mv-row > span:nth-child(2) { flex: 1 1 0; min-width: 0; }
  .mv-row .st { margin-left: 46px; }
  .hp-row { flex-wrap: wrap; row-gap: 6px; }
  .hp-row .pill { margin-left: 46px; }
  .hero-panel { padding: 18px; }
}

/* ---------- Signal page: method cards, source concordance, score ---------- */
.method {
  position: relative; height: 100%; padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.method::after { content: ""; position: absolute; right: -60px; top: -60px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(97,138,251,.18), transparent 70%); }
.method:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.m-abbr {
  display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: 30px; line-height: 1; margin-bottom: 16px;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.method h4 { font-size: 19px; margin-bottom: 8px; }
.method p { font-size: 15px; color: var(--muted); margin: 0; }

.source-card { background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 28px; }
.src-row { display: grid; grid-template-columns: 118px 1fr 70px auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.src-name { font-weight: 700; color: var(--navy-700); }
.src-bar { height: 8px; border-radius: 99px; background: #e8eefc; overflow: hidden; }
.src-bar i { display: block; height: 100%; border-radius: 99px; background: var(--grad-brand); }
.src-val { font-family: var(--font-head); font-weight: 700; color: var(--ink); text-align: right; }
.src-row .pill { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #e6faf8; color: #138f86; white-space: nowrap; }
.src-row .pill.blue { background: var(--blue-50); color: var(--blue-600); }
.src-total { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding: 16px 18px; border-radius: var(--r-md); background: var(--surface-2); font-size: 14px; font-weight: 600; color: var(--muted); }
.src-total b { font-family: var(--font-head); font-size: 34px; line-height: 1; }
.src-total span:first-child { color: var(--navy-700); }
.source-card .pipeline { gap: 12px; }
.source-card .pipe-row { grid-template-columns: 120px 1fr 40px; font-size: 13.5px; }
.score-badge { font-family: var(--font-head); font-weight: 800; color: #fff; background: var(--grad-brand); padding: 6px 14px; border-radius: 999px; font-size: 15px; box-shadow: var(--shadow-glow); }
.score-note { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.score-note svg { color: var(--blue-600); }

/* Six products: mega menu + product nav */
.prod-nav { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1199px) { .prod-nav { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) {
  .prod-nav { grid-template-columns: 1fr 1fr; }
  .src-row { grid-template-columns: 1fr auto; row-gap: 6px; }
  .src-bar { grid-column: 1 / -1; grid-row: 2; }
  .src-val { text-align: left; }
  .src-row .pill { grid-column: 2; grid-row: 1; }
  .src-row .src-val { grid-column: 1; grid-row: 3; }
  .source-card { padding: 20px; }
}
@media (max-width: 420px) { .prod-nav { grid-template-columns: 1fr; } }

/* ==========================================================================
   v3 additions: product tones, hero slider, screenshots, clients, voice,
   cookie preference centre, legal pages
   ========================================================================== */

/* ---------- Product colour tones (gradient icon tiles) ---------- */
.tone-intake    { --t1: #2563eb; --t2: #00c2ff; }
.tone-icsr      { --t1: #6d28d9; --t2: #a78bfa; }
.tone-aggregate { --t1: #0e7490; --t2: #22d3ee; }
.tone-signal    { --t1: #ea580c; --t2: #fb7185; }
.tone-psmf      { --t1: #047857; --t2: #34d399; }
.tone-qms       { --t1: #192273; --t2: #618afb; }
.tone-voice     { --t1: #be185d; --t2: #f472b6; }
[class*="tone-"] {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--t1), var(--t2)) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px -8px var(--t1), inset 0 1px 0 rgba(255,255,255,.35);
}
[class*="tone-"]::after {
  content: ""; position: absolute; left: -30%; top: -60%; width: 90%; height: 120%;
  background: linear-gradient(120deg, rgba(255,255,255,.38), rgba(255,255,255,0) 60%);
  transform: rotate(-12deg); pointer-events: none;
}
[class*="tone-"] .ph-duotone { position: relative; z-index: 1; }
.mega a:hover .mega-ico[class*="tone-"] { transform: translateY(-2px) scale(1.04); }
.mega-ico { transition: transform .25s var(--ease); border-radius: 14px; }
.mega-foot a.nowrap, .nowrap { white-space: nowrap; }
.mega-foot span { min-width: 0; }
.prod-nav .pn-ico { border-radius: 12px; }
.prod-nav a.current .pn-ico[class*="tone-"] { box-shadow: 0 0 0 3px rgba(255,255,255,.5); }
.prod-nav { grid-template-columns: repeat(4, 1fr) !important; }
.prod-nav a.pn-all { background: var(--surface-2); border-style: dashed; }

.svc-grid .svc-card { padding: 28px 24px 24px; }
.svc-grid .svc-card h3 { font-size: 22px; }
.svc-grid .svc-card p { font-size: 15px; }
.svc-card .svc-ico[class*="tone-"] { width: 60px; height: 60px; border-radius: 18px; }
.svc-card:hover .svc-ico[class*="tone-"] { box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.svc-grid .svc-card.cta-card .btn { padding: 13px 20px; font-size: 15px; }

a.feat-link { display: block; color: inherit; }
a.feat-link:hover h4 { color: var(--blue-600); }

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; overflow: hidden; background: #0b1640; isolation: isolate; }
.slides { display: grid; }
.slide {
  grid-area: 1 / 1; position: relative; padding: 76px 0 170px; min-height: 700px;
  opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s;
  display: flex; align-items: center; overflow: hidden;
}
.slide > .container { position: relative; z-index: 2; width: 100%; }
.slide.active { opacity: 1; visibility: visible; z-index: 1; }
.slide .hero-copy > * { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.slide.active .hero-copy > * { opacity: 1; transform: none; }
.slide.active .hero-copy > *:nth-child(2) { transition-delay: .1s; }
.slide.active .hero-copy > *:nth-child(3) { transition-delay: .2s; }
.slide.active .hero-copy > *:nth-child(4) { transition-delay: .3s; }
.slide.active .hero-copy > *:nth-child(5) { transition-delay: .4s; }
.slide .slide-media, .slide .hero-visual { opacity: 0; transform: translateX(40px) scale(.97); transition: opacity 1s .15s var(--ease), transform 1s .15s var(--ease); }
.slide.active .slide-media, .slide.active .hero-visual { opacity: 1; transform: none; }

.s-light { background: url("../img/nirnasa-banner.png") center/cover no-repeat, #eaf2ff; }
.s-light::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 400px at 12% 20%, rgba(255,255,255,.75), transparent 70%); }
.s-light h1 { font-size: clamp(38px, 5vw, 66px); line-height: 1.04; letter-spacing: -.025em; margin-bottom: 24px; }

.s-dark { background: radial-gradient(700px 500px at 85% 20%, rgba(0,180,216,.28), transparent 60%), radial-gradient(600px 500px at 10% 90%, rgba(97,138,251,.25), transparent 60%), var(--grad-night); }
.s-deep { background: radial-gradient(800px 500px at 70% 50%, rgba(37,99,235,.35), transparent 65%), linear-gradient(135deg, #070f33 0%, #0f2366 60%, #123a8a 100%); }
.s-photo { background: #0b1640; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center right; transform: scale(1.08); transition: transform 8s linear; }
.slide.active .slide-bg { transform: scale(1); }
.s-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11,22,64,.96) 0%, rgba(11,22,64,.86) 42%, rgba(11,22,64,.35) 75%, rgba(11,22,64,.2) 100%); }
.s-dark .slide-title, .s-deep .slide-title, .s-photo .slide-title { color: #fff; }
.s-dark .hero-lead, .s-deep .hero-lead, .s-photo .hero-lead { color: #c9d4f5; }
.slide .eyebrow { margin-bottom: 20px; }
.s-dark .eyebrow, .s-deep .eyebrow, .s-photo .eyebrow { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: var(--cyan-400); }
.slide-title { font-size: clamp(36px, 4.8vw, 62px); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 22px; }

/* slider controls */
.slider-ui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; }
.slider-ui-inner { display: flex; align-items: stretch; gap: 16px; padding-bottom: 26px; }
.slider-tabs {
  flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); border-radius: 18px; overflow: hidden;
  background: rgba(11,22,64,.62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.12);
}
.slider-tabs button {
  position: relative; border: 0; background: none; cursor: pointer; text-align: left; color: #b8c4ea;
  padding: 18px 18px 16px; font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.25;
  transition: color .3s, background .3s;
}
.slider-tabs button + button { border-left: 1px solid rgba(255,255,255,.08); }
.slider-tabs button em { display: block; font-style: normal; font-size: 12px; letter-spacing: .12em; color: var(--cyan-400); margin-bottom: 4px; }
.slider-tabs button:hover { color: #fff; background: rgba(255,255,255,.05); }
.slider-tabs button.active { color: #fff; background: rgba(255,255,255,.08); }
.slider-tabs button .bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: rgba(255,255,255,.1); }
.slider-tabs button .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan-400), var(--teal-400)); }
.slider-tabs button.active .bar i { animation: sliderProgress var(--dur, 7s) linear forwards; }
.hero-slider.paused .slider-tabs button.active .bar i { animation-play-state: paused; }
.hero-slider.static .slider-tabs button.active .bar i { animation: none; width: 100%; }
@keyframes sliderProgress { from { width: 0; } to { width: 100%; } }
.slider-arrows { display: flex; gap: 8px; align-items: center; }
.slider-arrows button {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); cursor: pointer;
  background: rgba(11,22,64,.62); color: #fff; font-size: 22px; display: grid; place-items: center;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: background .25s, transform .25s;
}
.slider-arrows button:hover { background: var(--blue-600); transform: translateY(-2px); }

/* slide visuals */
.browser { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -20px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #eef2fb; border-bottom: 1px solid #dfe5f3; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd7ea; }
.browser-bar i:nth-child(1) { background: #ff8a8a; } .browser-bar i:nth-child(2) { background: #ffd36b; } .browser-bar i:nth-child(3) { background: #62d99a; }
.browser-bar span { margin-left: 10px; flex: 1; padding: 4px 12px; border-radius: 8px; background: #fff; font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; height: auto; display: block; }
.slide-media { position: relative; }
.browser.tilt { transform: perspective(1400px) rotateY(-10deg) rotateX(4deg); transition: transform .8s var(--ease); }
.slide-media:hover .browser.tilt { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.fc-slide { left: -24px; bottom: -22px; }

.map-media { aspect-ratio: 1000 / 460; }
.map-media .map-dots { width: 100%; height: auto; opacity: .55; }
.ping { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 16px var(--cyan-400); }
.ping::before, .ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--cyan-400); animation: ping 2.4s ease-out infinite; }
.ping::after { animation-delay: 1.2s; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(4.5); opacity: 0; } }
.signal-card {
  position: absolute; right: 0; bottom: -30px; min-width: 230px; padding: 18px 20px; border-radius: 18px; color: #d6e0ff;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  animation: float 6s ease-in-out infinite;
}
.signal-card > b { display: block; color: #fff; font-family: var(--font-head); margin-bottom: 8px; }
.sc-row { display: flex; justify-content: space-between; gap: 20px; font-size: 14px; padding: 5px 0; border-top: 1px solid rgba(255,255,255,.1); }
.sc-row strong { font-family: var(--font-head); color: #fff; font-size: 16px; }

.voice-card {
  width: 100%; max-width: 440px; margin-left: auto; padding: 22px; border-radius: 22px; color: #d6e0ff;
  background: rgba(11,22,64,.55); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
}
.vc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.vc-top b { display: block; color: #fff; font-family: var(--font-head); }
.vc-top small { color: #a9b6de; font-size: 12.5px; }
.vc-top .dash-live { margin-left: auto; color: #8ff3ea; }
.vc-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: #fff; background: linear-gradient(135deg, #be185d, #f472b6); }
.wave { display: flex; align-items: center; gap: 5px; height: 70px; margin-bottom: 16px; }
.wave i { flex: 1; border-radius: 99px; background: linear-gradient(180deg, var(--cyan-400), #f472b6); height: 20%; animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.2s; } .wave i:nth-child(3n+1) { animation-delay: -.5s; } .wave i:nth-child(4n) { animation-delay: -.8s; } .wave i:nth-child(5n) { animation-delay: -1s; }
@keyframes wave { 0%, 100% { height: 18%; } 50% { height: 95%; } }
.vc-line { padding: 11px 14px; border-radius: 14px; font-size: 14px; margin-top: 8px; }
.vc-line.caller { background: rgba(255,255,255,.1); color: #fff; }
.vc-line.agent { background: linear-gradient(135deg, rgba(37,99,235,.55), rgba(0,180,216,.45)); color: #fff; margin-left: 30px; }

.stack-cards { max-width: 470px; margin-left: auto; padding: 22px; border-radius: 22px; background: rgba(255,255,255,.92); box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.slide.active .stack-cards .hp-row { animation: rowIn .6s var(--ease) forwards; }

/* ---------- Client logo strip (home) ---------- */
.clients-strip { padding: 50px 0 10px; background: #fff; }
.cs-label { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.cs-logos { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }
.cs-logo {
  display: grid; place-items: center; width: 260px; height: 110px; padding: 20px 30px; border-radius: 20px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s;
}
.cs-logo img { max-height: 64px; width: auto; }
.cs-logo.dark { background: var(--grad-night); border-color: transparent; }
.cs-logo:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cs-more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; padding: 0 10px; }

/* ---------- Showcase ---------- */
.showcase .browser.big { max-width: 1100px; margin: 0 auto; }
.showcase .tab-pane.active { animation: panelIn .5s var(--ease); }
.shot-grid figure { margin: 0; }
.shot-grid figcaption { margin-top: 14px; font-size: 15px; color: #a9b6de; text-align: center; }

/* ---------- Photos ---------- */
.rounded-photo { width: 100%; height: auto; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.photo-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.photo-frame > img { width: 100%; height: auto; display: block; }
.photo-frame .voice-card.overlay { position: absolute; left: 18px; right: 18px; bottom: 18px; max-width: none; margin: 0; }
.photo-band { position: relative; padding: 110px 0; background-size: cover; background-position: center; color: #fff; text-align: center; }
.photo-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,22,64,.9), rgba(25,34,115,.7)); }
.photo-band .container { position: relative; }
.photo-band p { margin: 0 auto; max-width: 820px; font-family: var(--font-head); font-weight: 700; font-size: clamp(24px, 3vw, 36px); line-height: 1.25; }
.img-stack .main img { display: block; }

/* ---------- Voice page: call flow ---------- */
.call-flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; }
.call-flow::before { content: ""; position: absolute; left: 6%; right: 6%; top: 36px; height: 3px; background: linear-gradient(90deg, #f472b6, #22d3ee, #34d399); opacity: .5; border-radius: 3px; }
.cf-step { position: relative; text-align: center; padding: 0 6px; }
.cf-ico { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 22px; display: grid; place-items: center; font-size: 32px; }
.cf-step h4 { font-size: 19px; margin-bottom: 6px; }
.cf-step p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Clients page ---------- */
.client-hero-logos { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.footprint .section-head { margin-bottom: 40px; }
.world-map { position: relative; max-width: 1100px; margin: 0 auto; }
.world-map > img { width: 100%; height: auto; opacity: .5; }
.map-pin { position: absolute; transform: translate(-50%, -50%); border: 0; background: none; padding: 0; cursor: pointer; }
.pin-dot { display: block; width: 18px; height: 18px; border-radius: 50%; border: 3px solid #fff; background: var(--pin, #00d4ff); box-shadow: 0 0 0 6px color-mix(in srgb, var(--pin, #00d4ff) 30%, transparent), 0 0 24px var(--pin, #00d4ff); position: relative; }
.pin-dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--pin, #00d4ff); animation: ping 2.6s ease-out infinite; }
.map-pin.mito { --pin: #1accbf; }
.map-pin.both { --pin: #ffd36b; }
.map-pin.both .pin-dot { width: 24px; height: 24px; }
.pin-label {
  position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translateX(-50%); white-space: nowrap;
  padding: 8px 12px; border-radius: 12px; background: #fff; color: var(--text); font-size: 12.5px; line-height: 1.35; text-align: left;
  box-shadow: 0 12px 30px rgba(0,0,0,.3); pointer-events: none;
}
.pin-label b { display: block; font-family: var(--font-head); color: var(--ink); font-size: 14px; }
.pin-label::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 7px solid transparent; border-top-color: #fff; }
.map-pin.lbl-left .pin-label { left: auto; right: calc(100% + 10px); bottom: auto; top: 50%; transform: translateY(-50%); }
.map-pin.lbl-left .pin-label::after { left: 100%; top: 50%; transform: translateY(-50%); border-top-color: transparent; border-left-color: #fff; }
.map-pin.lbl-up .pin-label { bottom: calc(100% + 34px); left: 70%; }
.map-pin:hover .pin-label, .map-pin:focus .pin-label { background: var(--grad-brand); color: #e6ecff; }
.map-pin:hover .pin-label b, .map-pin:focus .pin-label b { color: #fff; }
.map-legend { display: flex; justify-content: center; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 30px; color: #c9d4f5; font-weight: 600; font-size: 15px; }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; }
.lg.mito { background: #1accbf; } .lg.both { background: #ffd36b; }
.lg-count b { color: #fff; font-family: var(--font-head); font-size: 20px; }

.client-card { display: grid; grid-template-columns: 380px 1fr; border-radius: var(--r-xl); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.client-card.reverse { grid-template-columns: 1fr 380px; }
.client-card.reverse .cc-side { order: 2; }
.cc-side { padding: 40px 34px; display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; }
.cc-side.dark { background: var(--grad-night); color: #c9d4f5; }
.cc-side.light { background: linear-gradient(160deg, #eef3ff, #ffffff); }
.cc-side::after { content: ""; position: absolute; width: 260px; height: 260px; right: -110px; bottom: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(0,212,255,.35), transparent 65%); }
.cc-side > * { position: relative; z-index: 1; }
.cc-side img { max-width: 240px; height: auto; }
.cc-tag { font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.35; margin: 0; }
.cc-side.dark .cc-tag { color: #fff; }
.cc-side.light .cc-tag { color: var(--navy-700); }
.cc-facts { display: grid; gap: 10px; font-size: 14.5px; }
.cc-facts li { display: flex; gap: 10px; align-items: flex-start; }
.cc-facts .ph-duotone { font-size: 20px; color: var(--cyan-400); flex: 0 0 20px; margin-top: 1px; }
.cc-side.light .cc-facts .ph-duotone { color: var(--blue-600); }
.cc-side .btn { align-self: flex-start; margin-top: auto; }
.cc-main { padding: 44px 44px 40px; }
.cc-main h2 { font-size: clamp(30px, 3.4vw, 42px); }
.cc-main h4 { margin: 26px 0 12px; font-size: 17px; }
.cc-main .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.hl { padding: 18px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }
.hl b { display: block; font-family: var(--font-head); font-size: 36px; line-height: 1; margin-bottom: 6px; }
.hl span { font-size: 13.5px; font-weight: 600; color: var(--muted); line-height: 1.4; display: block; }
.source-note { text-align: center; font-size: 13.5px; color: var(--muted); margin: 28px 0 0; }

/* ---------- Cookie preference centre ---------- */
body.modal-open { overflow: hidden; }
.cookie-modal { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 16px; }
.cookie-modal[hidden] { display: none; }
.ck-backdrop { position: absolute; inset: 0; background: rgba(8,14,40,.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.ck-dialog {
  position: relative; width: 100%; max-width: 640px; max-height: calc(100vh - 32px); display: flex; flex-direction: column;
  background: #fff; border-radius: 22px; box-shadow: 0 40px 100px rgba(0,0,0,.35); outline: none;
  opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .25s, transform .3s var(--ease);
}
.cookie-modal.show .ck-backdrop { opacity: 1; }
.cookie-modal.show .ck-dialog { opacity: 1; transform: none; }
.ck-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.ck-head img { height: 40px; width: auto; }
.ck-x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface-2); font-size: 26px; line-height: 1; cursor: pointer; color: var(--navy-700); }
.ck-x:hover { background: var(--blue-50); }
.ck-body { padding: 22px 24px; overflow-y: auto; }
.ck-body h2 { font-size: 24px; margin-bottom: 10px; }
.ck-body h3 { font-size: 18px; margin: 22px 0 12px; }
.ck-body p { font-size: 14.5px; color: var(--text); }
.ck-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; margin-bottom: 16px; }
.ck-cats { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ck-cat + .ck-cat { border-top: 1px solid var(--line); }
.ck-cat-head { display: flex; align-items: center; gap: 12px; padding: 15px 16px; cursor: pointer; user-select: none; }
.ck-cat-head:hover { background: var(--surface-2); }
.ck-cat-head b { font-family: var(--font-head); font-size: 16px; color: var(--ink); flex: 1; }
.ck-plus { width: 22px; height: 22px; position: relative; flex: 0 0 22px; }
.ck-plus::before, .ck-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; border-radius: 2px; background: var(--navy-700); transform: translate(-50%, -50%); transition: transform .25s; }
.ck-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.ck-cat.open .ck-plus::after { transform: translate(-50%, -50%) rotate(0); }
.ck-always { font-size: 13.5px; font-weight: 700; color: var(--blue-600); }
.ck-cat-body { display: none; padding: 0 16px 14px 50px; }
.ck-cat-body p { margin: 0; font-size: 14px; color: var(--muted); }
.ck-switch { position: relative; width: 52px; height: 30px; flex: 0 0 52px; cursor: pointer; }
.ck-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.ck-switch span { position: absolute; inset: 0; border-radius: 99px; background: #c5cde0; transition: background .25s; }
.ck-switch span::after { content: ""; position: absolute; left: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .25s var(--ease); }
.ck-switch input:checked + span { background: var(--grad-brand); }
.ck-switch input:checked + span::after { transform: translateX(22px); }
.ck-switch input:focus-visible + span { outline: 3px solid var(--cyan-400); outline-offset: 2px; }
.ck-foot { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; padding: 16px 24px; border-top: 1px solid var(--line); background: var(--surface-2); border-radius: 0 0 22px 22px; }

/* ---------- Legal pages & 404 ---------- */
.legal { max-width: 900px; }
.legal h2 { font-size: 26px; margin-top: 34px; }
.legal h2:first-child { margin-top: 0; }
.legal-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; margin: 10px 0 14px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.legal-table th, .legal-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-table th { background: var(--surface-2); font-family: var(--font-head); color: var(--ink); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal code { font-size: 13px; background: var(--blue-50); color: var(--navy-700); padding: 2px 6px; border-radius: 6px; }
.legal-note { font-size: 14px; color: var(--muted); }
.nf-code { font-family: var(--font-head); font-weight: 800; font-size: clamp(90px, 16vw, 180px); line-height: 1; margin-bottom: 10px; }

/* ---------- Responsive (v3) ---------- */
@media (max-width: 1199px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .call-flow { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .call-flow::before { display: none; }
  .client-card, .client-card.reverse { grid-template-columns: 320px 1fr; }
  .client-card.reverse .cc-side { order: 0; }
}
@media (max-width: 1023px) {
  .slide { min-height: 0; padding: 56px 0 150px; }
  .slide .slide-media { max-width: 560px; margin: 10px auto 0; width: 100%; }
  .voice-card, .stack-cards { margin: 0 auto; }
  .slider-tabs button { padding: 14px 12px; font-size: 13.5px; }
  .prod-nav { grid-template-columns: repeat(2, 1fr) !important; }
  .client-card, .client-card.reverse { grid-template-columns: 1fr; }
  .signal-card { bottom: -40px; }
}
@media (max-width: 767px) {
  .slide { padding: 40px 0 130px; }
  .slide-title { font-size: 34px; }
  .s-light h1 { font-size: 38px; }
  .slider-ui-inner { gap: 8px; padding-bottom: 16px; }
  .slider-tabs button { padding: 14px 6px 10px; text-align: center; font-size: 0; }
  .slider-tabs button em { font-size: 13px; margin: 0; }
  .slider-arrows .js-pause { display: none; }
  .slider-arrows button { width: 46px; height: 46px; font-size: 20px; }
  .browser.tilt { transform: none; }
  .fc-slide { left: 8px; bottom: -18px; }
  .svc-grid { grid-template-columns: 1fr; }
  .cs-logo { width: 100%; max-width: 300px; }
  .call-flow { grid-template-columns: 1fr 1fr; }
  .cc-main { padding: 28px 22px; }
  .cc-side { padding: 30px 22px; }
  .cc-highlights { grid-template-columns: 1fr; }
  .pin-label { display: none; }
  .map-pin:focus .pin-label, .map-pin:hover .pin-label { display: block; }
  .ck-cat-body { padding-left: 16px; }
  .ck-foot .btn { flex: 1; }
  .photo-band { padding: 70px 0; }
  .prod-nav { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 420px) {
  .prod-nav { grid-template-columns: 1fr !important; }
}
@media (prefers-reduced-motion: reduce) {
  .slide-bg { transition: none; transform: none; }
}

/* Home: stats band sits below the slider (the slider tabs occupy the bottom edge) */
.hero-slider + .stats-band { margin-top: 0; padding-top: 56px; }
.map-pin.lbl-down .pin-label { bottom: auto; top: calc(100% + 12px); }
.map-pin.lbl-down .pin-label::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: #fff; }

/* Product cards: no numbers, black body text */
.svc-card p { color: #111827; }
.svc-card:hover p { color: #d6e0ff; }
.svc-card.cta-card p { color: #d6e0ff; }

/* Forms (PHP backend) */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: none; margin: 0; padding: 12px 14px; border-radius: 12px; background: #fdecee; color: #b4233a; font-size: 14.5px; font-weight: 600; }
.form-error a { color: #b4233a; text-decoration: underline; }
.btn.is-loading { opacity: .7; pointer-events: none; }

/* No numbering: slider tabs, process steps, stage chips */
.slider-tabs { grid-template-columns: repeat(6, 1fr); }
.slider-tabs button { padding: 20px 18px; display: flex; align-items: center; }
.step::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; margin-bottom: 18px; background: var(--grad-brand); -webkit-background-clip: border-box; background-clip: border-box; }
.stage-track li { padding: 16px 6px; }
@media (max-width: 767px) {
  .slider-tabs { grid-template-columns: repeat(6, 1fr); }
  .slider-tabs button { font-size: 0; padding: 18px 0; justify-content: center; }
  .slider-tabs button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.45); }
  .slider-tabs button.active::before { background: var(--cyan-400); box-shadow: 0 0 0 4px rgba(0,212,255,.2); }
}

/* ==========================================================================
   Card system: one active card in blue, the rest white
   ========================================================================== */
:root { --grad-active: linear-gradient(150deg, #1d3aa8 0%, #2563eb 52%, #14a3e3 100%); }

/* ---------- Product cards ---------- */
.pcard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pcard {
  position: relative; display: flex; flex-direction: column; padding: 30px 30px 28px; border-radius: 28px; overflow: hidden;
  background: #fff var(--grad-active) no-repeat bottom / 100% 0%;
  border: 1px solid var(--line); box-shadow: 0 18px 44px -24px rgba(25,34,115,.25);
  transition: background-size .5s var(--ease), box-shadow .4s, transform .4s var(--ease), border-color .4s;
  isolation: isolate;
}
.pcard::before {
  content: ""; position: absolute; width: 340px; height: 340px; right: -120px; top: -140px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(0,212,255,.42), transparent 62%); opacity: 0; transition: opacity .5s;
}
.pcard.is-active { background-size: 100% 100%; border-color: transparent; transform: translateY(-6px); box-shadow: 0 34px 70px -28px rgba(37,99,235,.7); }
.pcard.is-active::before { opacity: 1; }
.pc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 22px; position: relative; z-index: 2; }
.pc-ico { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; font-size: 36px; flex: 0 0 72px; }
.pc-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; white-space: nowrap;
  font-size: 13px; font-weight: 700; color: var(--navy-700); background: var(--blue-50); border: 1px solid var(--blue-100);
  transition: background .4s, color .4s, border-color .4s;
}
.pc-badge i { width: 9px; height: 9px; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 3px rgba(37,99,235,.18); }
.pcard.is-active .pc-badge { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); color: #fff; }
.pcard.is-active .pc-badge i { background: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,.25); }

/* decorative glass illustration */
.pc-art { position: absolute; right: 22px; top: 70px; width: 130px; height: 130px; pointer-events: none; z-index: 0; opacity: .55; transition: opacity .4s, transform .6s var(--ease); }
.pcard.is-active .pc-art { opacity: 1; transform: translateY(-4px) rotate(-2deg); }
.pc-art .sheet { position: absolute; border-radius: 14px; background: linear-gradient(160deg, rgba(210,225,255,.95), rgba(170,195,255,.55)); border: 1px solid rgba(255,255,255,.85); box-shadow: 0 16px 30px -12px rgba(37,99,235,.35); }
.pc-art .s1 { width: 74px; height: 94px; right: 34px; top: 4px; transform: rotate(-12deg); opacity: .7; }
.pc-art .s2 { width: 80px; height: 100px; right: 12px; top: 14px; transform: rotate(6deg); padding: 12px 10px; }
.pc-art .s2 b { display: block; font-family: var(--font-head); font-size: 11px; color: var(--navy-700); letter-spacing: .04em; margin-bottom: 8px; overflow: hidden; white-space: nowrap; text-overflow: clip; }
.pc-art .s2 i { display: block; height: 5px; border-radius: 4px; background: rgba(37,99,235,.28); margin-bottom: 6px; }
.pc-art .s2 i:nth-of-type(2) { width: 70%; } .pc-art .s2 i:nth-of-type(3) { width: 85%; }
.pc-art .seal { position: absolute; right: 0; bottom: 6px; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; transform: rotate(8deg); }
.pcard.is-active .pc-art .sheet { background: linear-gradient(160deg, rgba(255,255,255,.55), rgba(255,255,255,.18)); border-color: rgba(255,255,255,.5); }
.pcard.is-active .pc-art .s2 b { color: #fff; }
.pcard.is-active .pc-art .s2 i { background: rgba(255,255,255,.55); }

.pcard h3 { position: relative; z-index: 1; font-size: 28px; line-height: 1.12; margin: 0 0 8px; max-width: 78%; transition: color .4s; }
.pc-sub { position: relative; z-index: 1; margin: 0; font-size: 15px; color: #1f2937; transition: color .4s; max-width: 78%; }
.pc-line { display: block; width: 36px; height: 3px; border-radius: 3px; background: var(--blue-600); margin: 16px 0 18px; transition: background .4s; }
.pcard h4 { font-size: 19px; line-height: 1.3; margin: 0 0 10px; transition: color .4s; }
.pc-text { font-size: 15px; line-height: 1.6; color: #111827; margin: 0 0 20px; transition: color .4s; }
.pc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.pc-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 14px; font-size: 13.5px; font-weight: 700;
  background: var(--chip-bg); color: var(--chip-fg); border: 1px solid transparent; transition: background .4s, color .4s, border-color .4s;
}
.pc-chip .ph-duotone { width: 28px; height: 28px; border-radius: 50%; display: inline-block; line-height: 28px; text-align: center; font-size: 16px; background: var(--chip-ico); }
.c-red    { --chip-bg: #fdeef0; --chip-fg: #b4233a; --chip-ico: #fbd5da; }
.c-green  { --chip-bg: #e7f8f1; --chip-fg: #0f7a55; --chip-ico: #c6efdd; }
.c-violet { --chip-bg: #efedfd; --chip-fg: #4c3bb5; --chip-ico: #dcd7fb; }
.c-amber  { --chip-bg: #fff4e2; --chip-fg: #a15c07; --chip-ico: #fde3b6; }
.c-blue   { --chip-bg: #eaf1ff; --chip-fg: #1d4fd6; --chip-ico: #d3e1ff; }
.pcard.is-active .pc-chip { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); color: #fff; }
.pcard.is-active .pc-chip .ph-duotone { background: rgba(255,255,255,.18); }
.pc-cta { margin-top: auto; width: 100%; justify-content: space-between; padding: 17px 26px; border-radius: 16px; font-size: 16.5px; }
.pc-cta .arrow { margin-left: auto; }
.pcard.is-active h3, .pcard.is-active h4 { color: #fff; }
.pcard.is-active .pc-sub, .pcard.is-active .pc-text { color: #dbe6ff; }
.pcard.is-active .pc-line { background: #5eead4; }
.pcard.is-active .pc-cta { background: #fff; color: var(--blue-600); box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.pcard.is-active .pc-cta:hover { color: var(--navy-700); }

/* wide "talk to us" card */
.pc-wide { grid-column: span 2; }
.pc-wide::after {
  content: ""; position: absolute; right: -40px; bottom: -30px; width: 62%; aspect-ratio: 1000 / 460; z-index: -1;
  background: url("../img/world-dots.svg") center / contain no-repeat; opacity: .35;
}
.pc-wide h3, .pc-wide .pc-sub { max-width: none; }
.pc-wide .pc-text { max-width: 620px; }
.pc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin: 0 0 26px; max-width: 700px; }
.pc-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; color: #111827; }
.pc-list .ph-duotone { flex: 0 0 38px; width: 38px; height: 38px; line-height: 38px; text-align: center; border-radius: 12px; font-size: 19px; background: var(--blue-50); color: var(--blue-600); }
.pc-wide-actions { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; }
.pc-wide-actions .pc-cta { width: auto; flex: 1 1 220px; }
.pc-wide-actions .btn-outline { justify-content: center; }
.pc-wide.is-active .pc-list li { color: #fff; }
.pc-wide.is-active .pc-list .ph-duotone { background: rgba(255,255,255,.16); color: #fff; }

/* ---------- Every other card group: one active in blue ---------- */
.feat, .module, .method, .step, .c-card, .comp {
  position: relative; overflow: hidden;
  background-image: var(--grad-active); background-repeat: no-repeat; background-position: bottom; background-size: 100% 0%;
  transition: background-size .5s var(--ease), transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.bg-night .feat, .bg-night .step { background-image: var(--grad-active); background-repeat: no-repeat; background-position: bottom; background-size: 100% 0%; }
.feat.is-active, .module.is-active, .method.is-active, .step.is-active, .c-card.is-active, .comp.is-active,
.bg-night .feat.is-active, .bg-night .step.is-active {
  background-size: 100% 100%; border-color: transparent; transform: translateY(-6px);
  box-shadow: 0 30px 60px -26px rgba(37,99,235,.65);
}
.is-active h3, .is-active h4, .is-active h5 { color: #fff !important; }
.feat.is-active p, .module.is-active p, .method.is-active p, .step.is-active p, .c-card.is-active p, .c-card.is-active a, .comp.is-active p { color: #dbe6ff !important; }
.feat.is-active .feat-ico, .c-card.is-active .c-ico { box-shadow: 0 0 0 4px rgba(255,255,255,.22); }
.module.is-active .abbr { color: #5eead4; }
.module.is-active .m-top { background: rgba(255,255,255,.5); }
.module.is-active .checklist li { color: #fff; }
.module.is-active .checklist li::before { background-color: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.method.is-active .m-abbr { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.method.is-active::after { background: radial-gradient(circle, rgba(0,212,255,.45), transparent 70%); }
.step.is-active::before { background: #5eead4; }
.comp.is-active .ph-duotone { color: #fff; }
.feat p, .module p, .method p, .step p, .c-card p { transition: color .4s; }
/* default text on white cards: standard black */
.feat p, .module p, .method p, .step p { color: #1f2937; }
.bg-night .feat p, .bg-night .step p { color: #a9b6de; }

@media (max-width: 1199px) {
  .pcard-grid { grid-template-columns: repeat(2, 1fr); }
  .pc-wide { grid-column: span 2; }
}
@media (max-width: 767px) {
  .pcard-grid { grid-template-columns: 1fr; }
  .pc-wide { grid-column: auto; }
  .pc-list { grid-template-columns: 1fr; }
  .pcard { padding: 24px 22px; }
  .pcard h3 { font-size: 24px; }
  .pc-art { width: 100px; height: 100px; top: 66px; right: 10px; transform: scale(.8); }
}

/* Footer tagline on its own line */
.footer-brand .footer-tagline { margin: 0 0 8px; }
.footer-brand .footer-tagline strong { color: #fff; font-family: var(--font-head); font-size: 17px; }

/* ---------- Contrast: all headings readable in dark sections ---------- */
.bg-night h5, .bg-night h6, .vt-dark .vt-item h5 { color: #fff; }
.dash-live { color: #0f766e; }
.bg-night .dash-live, .s-dark .dash-live, .s-deep .dash-live, .s-photo .dash-live { color: #8ff3ea; }

/* ---------- 24/7 support highlight (every page) ---------- */
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: livePulse 1.8s infinite; flex: 0 0 8px; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.6); } 100% { box-shadow: 0 0 0 9px rgba(52,211,153,0); } }
.topbar-247 {
  margin-left: auto; margin-right: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(52,211,153,.18), rgba(0,212,255,.18)); border: 1px solid rgba(94,234,212,.35);
  color: #e6fffb !important; font-size: 13px; font-weight: 600; white-space: nowrap;
}
.topbar-247 b { color: #5eead4; font-family: var(--font-head); font-weight: 800; }
.topbar-247:hover { background: linear-gradient(90deg, rgba(52,211,153,.3), rgba(0,212,255,.3)); }

.support-247 { padding: 0 0 70px; background: transparent; position: relative; z-index: 3; }
.s247-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center;
  padding: 34px 40px; border-radius: 28px; color: #d6e0ff;
  background: radial-gradient(500px 260px at 90% 0%, rgba(0,212,255,.35), transparent 70%), linear-gradient(135deg, #0b1640, #192273 55%, #1d3aa8);
  box-shadow: 0 30px 70px -30px rgba(25,34,115,.7);
}
.s247-card::after { content: ""; position: absolute; left: -80px; bottom: -120px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(52,211,153,.25), transparent 65%); }
.s247-card > * { position: relative; z-index: 1; }
.s247-badge {
  width: 118px; height: 118px; border-radius: 32px; display: grid; place-items: center; align-content: center; gap: 2px;
  background: linear-gradient(135deg, #10b981, #06b6d4); color: #fff; box-shadow: 0 18px 40px -12px rgba(16,185,129,.7), inset 0 1px 0 rgba(255,255,255,.4);
}
.s247-badge .ph-duotone { font-size: 40px; }
.s247-badge span { font-family: var(--font-head); font-weight: 800; font-size: 24px; line-height: 1; }
.s247-live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5eead4; margin-bottom: 8px; }
.s247-copy h2 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 8px; }
.s247-copy p { margin: 0 0 14px; color: #c9d4f5; max-width: 640px; }
.s247-list { display: flex; flex-wrap: wrap; gap: 8px; }
.s247-list li { padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 13px; font-weight: 600; color: #e6ecff; }
.s247-list li::before { content: "✓ "; color: #5eead4; font-weight: 800; }
.s247-actions { display: flex; flex-direction: column; gap: 10px; }
.s247-actions .btn { justify-content: center; }

@media (max-width: 1023px) {
  .s247-card { grid-template-columns: auto 1fr; }
  .s247-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .s247-actions .btn { flex: 1 1 220px; }
}
@media (max-width: 767px) {
  .support-247 { padding-bottom: 50px; }
  .s247-card { grid-template-columns: 1fr; padding: 28px 22px; gap: 20px; text-align: left; }
  .s247-badge { width: 84px; height: 84px; border-radius: 24px; }
  .s247-badge .ph-duotone { font-size: 30px; } .s247-badge span { font-size: 18px; }
}

/* ---------- AI visuals ---------- */
.ai-figure { position: relative; margin: 0; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(25,34,115,.55); }
.ai-figure img { display: block; width: 100%; height: auto; }
.ai-figure figcaption {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--navy-700); font-size: 12.5px; font-weight: 700; box-shadow: var(--shadow-sm);
}
.ai-hero .hero-fig { box-shadow: 0 40px 80px -30px rgba(25,34,115,.6); }
.ai-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; margin: 26px 0 26px; }
.ai-point { display: flex; gap: 14px; align-items: flex-start; }
.ai-point-ico { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: #fff; background: var(--grad-brand); box-shadow: 0 10px 22px -8px rgba(37,99,235,.6); }
.ai-point h4 { font-size: 16.5px; margin: 2px 0 4px; }
.ai-point p { font-size: 14.5px; margin: 0; color: #1f2937; line-height: 1.55; }
.ai-inside { background: linear-gradient(180deg, #fff 0%, #f3f7ff 100%); }
.nav-ai-ico { font-size: 17px; color: var(--blue-600); margin-right: 2px; }
.main-nav > ul > li > a.active .nav-ai-ico { color: var(--blue-600); }

.ai-svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ai-svc {
  display: flex; flex-direction: column; gap: 12px; padding: 26px 24px; border-radius: 24px; background: #fff; border: 1px solid var(--line);
  color: var(--text); box-shadow: 0 18px 40px -28px rgba(25,34,115,.35); transition: transform .35s var(--ease), box-shadow .35s;
}
.ai-svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--text); }
.ai-svc .pc-ico { width: 56px; height: 56px; flex-basis: 56px; border-radius: 18px; font-size: 28px; }
.ai-svc h3 { font-size: 21px; margin: 4px 0 0; }
.ai-svc .checklist { font-size: 14.5px; gap: 8px; color: #1f2937; }
.ai-svc .link-arrow { margin-top: auto; }
.ai-svc-cta { background: var(--grad-deep); border-color: transparent; color: #d6e0ff; }
.ai-svc-cta h3 { color: #fff; }
.ai-svc-cta p { margin: 0; font-size: 14.5px; }
.ai-svc-cta .link-arrow { color: #5eead4; }
.tech-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 16px; }
.tech-chips .ph-duotone { font-size: 18px; color: var(--blue-600); }

.contact-photo { position: relative; margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-md); }
.contact-photo img { display: block; width: 100%; height: 220px; object-fit: cover; }
.contact-photo figcaption { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(11,22,64,.78); color: #fff; font-size: 13px; font-weight: 700; }

@media (max-width: 1199px) { .ai-svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
  .ai-points { grid-template-columns: 1fr; }
  .ai-svc-grid { grid-template-columns: 1fr; }
  .ai-figure { border-radius: 20px; }
}

/* ---------- Service navigation: sticky bar + previous/next ---------- */
.svc-bar { position: sticky; top: var(--header-h); z-index: 950; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.svc-bar-inner { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 9px 0; }
.svc-bar-inner::-webkit-scrollbar { display: none; }
.svc-bar a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--navy-700); white-space: nowrap; border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s; }
.svc-bar a:hover { background: var(--blue-50); color: var(--blue-600); }
.svc-bar a.current { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 18px -8px rgba(37,99,235,.7); }
.svc-bar .sb-ico { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-size: 15px; }
.svc-bar a.current .sb-ico { box-shadow: 0 0 0 2px rgba(255,255,255,.55); }
.svc-bar a.svc-bar-all { padding-left: 12px; border-color: var(--line); margin-right: 6px; }
.svc-bar a.svc-bar-all .ph-duotone { font-size: 16px; color: var(--blue-600); }

.svc-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 54px; }
.svc-pager-card { display: flex; flex-direction: column; gap: 14px; padding: 22px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); color: var(--ink); box-shadow: 0 18px 40px -30px rgba(25,34,115,.4); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.svc-pager-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); color: var(--ink); }
.svc-pager-card.next { text-align: right; align-items: flex-end; }
.sp-dir { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600); }
.svc-pager-card.next .sp-dir { flex-direction: row-reverse; }
.sp-main { display: flex; align-items: center; gap: 14px; }
.svc-pager-card.next .sp-main { flex-direction: row-reverse; }
.sp-main .pc-ico { width: 54px; height: 54px; flex: 0 0 54px; border-radius: 16px; font-size: 26px; }
.sp-main b { display: block; font-family: var(--font-head); font-size: 20px; }
.sp-main small { display: block; font-size: 14px; color: #1f2937; }

/* ---------- Voice knowledge-base visual ---------- */
.kb-visual { position: relative; padding: 30px; border-radius: 28px; background: var(--grad-deep); display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; box-shadow: var(--shadow-lg); overflow: hidden; }
.kb-visual::before { content: ""; position: absolute; width: 300px; height: 300px; right: -100px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(0,212,255,.4), transparent 65%); }
.kb-files { display: grid; gap: 10px; position: relative; }
.kb-file { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: #fff; font-size: 13.5px; font-weight: 600; }
.kb-file .ph-duotone { font-size: 20px; color: #5eead4; }
.kb-arrow { color: #5eead4; font-size: 28px; position: relative; }
.kb-index { position: relative; display: grid; gap: 10px; padding: 18px; border-radius: 16px; background: #fff; }
.kb-index b { font-family: var(--font-head); color: var(--ink); font-size: 16px; }
.kb-index span { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #1f2937; }
.kb-index span i { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-brand); flex: 0 0 8px; }
.kb-call { grid-column: 1 / -1; max-width: none; margin: 6px 0 0; }
.kb-call .wave { height: 44px; margin: 0; }

@media (max-width: 1023px) { :root { --svc-bar-top: 74px; } }
@media (max-width: 767px) {
  .svc-pager { grid-template-columns: 1fr; gap: 12px; margin-bottom: 40px; }
  .svc-pager-card.next { text-align: left; align-items: flex-start; }
  .svc-pager-card.next .sp-dir, .svc-pager-card.next .sp-main { flex-direction: row; }
  .kb-visual { grid-template-columns: 1fr; padding: 22px; }
  .kb-arrow { transform: rotate(90deg); justify-self: center; }
  .svc-bar a { font-size: 13px; }
}

.ai-figure figcaption { top: 16px; bottom: auto; }
