/* =====================================================================
   AZUNGA247 — Global Support Services
   Brand design system  ·  dark + light themes
   Palette sampled directly from the logo:
     navy   #001953   ·  electric blue #0049FC  ·  magenta #EB0187
   ---------------------------------------------------------------------
   Theme is controlled by data-theme="dark" | "light" on <html>.
   With no attribute set the page follows the visitor's OS preference.
   ===================================================================== */

/* ---------- 1. Brand constants (identical in both themes) ------------ */
:root {
  --navy-900: #01081c;
  --navy-800: #050e2b;
  --navy-700: #001953;
  --navy-600: #032370;
  --blue-600: #0034c0;
  --blue-500: #0049fc;
  --blue-400: #2f74ff;
  --blue-300: #6fa2ff;
  --magenta-600: #b60169;
  --magenta-500: #eb0187;
  --magenta-400: #ff3ba7;

  --grad-brand: linear-gradient(100deg, var(--blue-500), var(--magenta-500));
  --grad-brand-soft: linear-gradient(100deg, var(--blue-400), var(--magenta-400));

  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1180px;
  --nav-h: 84px;

  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 2. Dark theme (default) ---------------------------------- */
:root {
  color-scheme: dark;

  --bg: #030a1e;
  --heading: #ffffff;
  --text: #eaf0ff;
  --text-soft: #a9b8dc;
  --text-dim: #7f8fb8;
  --link: var(--blue-300);

  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(120, 160, 255, 0.16);
  --line-strong: rgba(120, 160, 255, 0.34);

  --ambient:
    radial-gradient(900px 520px at 12% -8%, rgba(0, 73, 252, 0.30), transparent 62%),
    radial-gradient(760px 460px at 92% 4%, rgba(235, 1, 135, 0.18), transparent 60%),
    radial-gradient(700px 700px at 60% 100%, rgba(0, 25, 83, 0.85), transparent 65%);

  --grid-line: rgba(111, 162, 255, 0.055);
  --band: linear-gradient(180deg, transparent, rgba(0, 25, 83, .45), transparent);

  --header-bg: rgba(3, 10, 30, .72);
  --header-bg-stuck: rgba(2, 7, 22, .93);
  --menu-bg: rgba(2, 7, 22, .98);

  --card-bg: var(--surface);
  --card-bg-hover: var(--surface-2);
  --card-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
  --stat-bg: rgba(3, 10, 30, .82);

  --icon-bg: linear-gradient(140deg, rgba(0, 73, 252, .22), rgba(235, 1, 135, .18));
  --panel-bg: linear-gradient(150deg, rgba(0, 73, 252, .16), rgba(235, 1, 135, .10));
  --panel-glow: radial-gradient(circle, rgba(235, 1, 135, .3), transparent 62%);
  --orb: radial-gradient(circle, rgba(0, 73, 252, .18) 0%, transparent 68%);

  --pill-bg: rgba(255, 255, 255, .045);
  --pill-bg-hover: rgba(255, 255, 255, .09);
  --field-bg: rgba(255, 255, 255, .04);
  --field-bg-focus: rgba(255, 255, 255, .07);

  --ghost-bg: rgba(255, 255, 255, .04);
  --ghost-bg-hover: rgba(255, 255, 255, .1);
  --ghost-text: #ffffff;

  --footer-bg: rgba(1, 6, 20, .7);
  --tick: var(--magenta-400);
}

/* follow the OS when the visitor has not chosen -------------------------- */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;

    --bg: #f5f7fc;
    --heading: #001040;
    --text: #1a2647;
    --text-soft: #4a5878;
    --text-dim: #6b7899;
    --link: var(--blue-600);

    --surface: #ffffff;
    --surface-2: #ffffff;
    --line: rgba(0, 25, 83, 0.12);
    --line-strong: rgba(0, 25, 83, 0.24);

    --ambient:
      radial-gradient(900px 520px at 12% -8%, rgba(0, 73, 252, 0.14), transparent 62%),
      radial-gradient(760px 460px at 92% 4%, rgba(235, 1, 135, 0.10), transparent 60%),
      radial-gradient(700px 700px at 60% 100%, rgba(0, 73, 252, 0.07), transparent 65%);

    --grid-line: rgba(0, 25, 83, 0.06);
    --band: linear-gradient(180deg, transparent, rgba(0, 73, 252, .06), transparent);

    --header-bg: rgba(255, 255, 255, .78);
    --header-bg-stuck: rgba(255, 255, 255, .95);
    --menu-bg: rgba(255, 255, 255, .99);

    --card-bg: #ffffff;
    --card-bg-hover: #ffffff;
    --card-shadow: 0 18px 40px -26px rgba(0, 25, 83, 0.35);
    --stat-bg: #ffffff;

    --icon-bg: linear-gradient(140deg, rgba(0, 73, 252, .12), rgba(235, 1, 135, .10));
    --panel-bg: linear-gradient(150deg, rgba(0, 73, 252, .09), rgba(235, 1, 135, .07));
    --panel-glow: radial-gradient(circle, rgba(235, 1, 135, .16), transparent 62%);
    --orb: radial-gradient(circle at 38% 32%, #04256e 0%, #011140 55%, #010c30 100%);
    --orb-shadow: 0 26px 60px -24px rgba(0, 25, 83, .55);

    --pill-bg: #ffffff;
    --pill-bg-hover: #ffffff;
    --field-bg: #ffffff;
    --field-bg-focus: #ffffff;

    --ghost-bg: #ffffff;
    --ghost-bg-hover: #eef3ff;
    --ghost-text: var(--navy-700);

    --footer-bg: rgba(255, 255, 255, .72);
    --tick: var(--magenta-500);
  }
}

/* ---------- 3. Light theme (explicit choice) -------------------------- */
:root[data-theme="light"] {
  color-scheme: light;

  --bg: #f5f7fc;
  --heading: #001040;
  --text: #1a2647;
  --text-soft: #4a5878;
  --text-dim: #6b7899;
  --link: var(--blue-600);

  --surface: #ffffff;
  --surface-2: #ffffff;
  --line: rgba(0, 25, 83, 0.12);
  --line-strong: rgba(0, 25, 83, 0.24);

  --ambient:
    radial-gradient(900px 520px at 12% -8%, rgba(0, 73, 252, 0.14), transparent 62%),
    radial-gradient(760px 460px at 92% 4%, rgba(235, 1, 135, 0.10), transparent 60%),
    radial-gradient(700px 700px at 60% 100%, rgba(0, 73, 252, 0.07), transparent 65%);

  --grid-line: rgba(0, 25, 83, 0.06);
  --band: linear-gradient(180deg, transparent, rgba(0, 73, 252, .06), transparent);

  --header-bg: rgba(255, 255, 255, .78);
  --header-bg-stuck: rgba(255, 255, 255, .95);
  --menu-bg: rgba(255, 255, 255, .99);

  --card-bg: #ffffff;
  --card-bg-hover: #ffffff;
  --card-shadow: 0 18px 40px -26px rgba(0, 25, 83, 0.35);
  --stat-bg: #ffffff;

  --icon-bg: linear-gradient(140deg, rgba(0, 73, 252, .12), rgba(235, 1, 135, .10));
  --panel-bg: linear-gradient(150deg, rgba(0, 73, 252, .09), rgba(235, 1, 135, .07));
  --panel-glow: radial-gradient(circle, rgba(235, 1, 135, .16), transparent 62%);
  --orb: radial-gradient(circle at 38% 32%, #04256e 0%, #011140 55%, #010c30 100%);
  --orb-shadow: 0 26px 60px -24px rgba(0, 25, 83, .55);

  --pill-bg: #ffffff;
  --pill-bg-hover: #ffffff;
  --field-bg: #ffffff;
  --field-bg-focus: #ffffff;

  --ghost-bg: #ffffff;
  --ghost-bg-hover: #eef3ff;
  --ghost-text: var(--navy-700);

  --footer-bg: rgba(255, 255, 255, .72);
  --tick: var(--magenta-500);
}

/* ---------- 4. Reset / base ------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-soft);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s ease, color .3s ease;
}

/* ambient brand glow behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--ambient);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--heading); }

h1, h2, h3, h4 {
  color: var(--heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--magenta-500); color: #fff; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--blue-500); color: #fff; padding: 12px 20px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- 5. Layout helpers ---------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: clamp(64px, 9vw, 116px) 0; position: relative; }
.section--alt { background: var(--band); }
.section--tight { padding: clamp(48px, 6vw, 76px) 0; }

.rule {
  height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.center { text-align: center; }
.narrow { max-width: 760px; margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--link);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--grad-brand);
}
.center .eyebrow::after {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--magenta-500), var(--blue-500));
}

.lead { font-size: 1.1rem; color: var(--text-soft); }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); }

/* ---------- 6. Buttons ----------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  font: inherit; font-size: .95rem; font-weight: 700; letter-spacing: .01em;
  border: 1px solid transparent; border-radius: 999px;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--grad-brand); color: #fff;
  box-shadow: 0 14px 34px -14px rgba(0, 73, 252, .95);
}
.btn--primary:hover { color: #fff; box-shadow: 0 18px 42px -14px rgba(235, 1, 135, .85); }

.btn--ghost {
  background: var(--ghost-bg);
  border-color: var(--line-strong);
  color: var(--ghost-text);
}
.btn--ghost:hover { background: var(--ghost-bg-hover); border-color: var(--blue-500); color: var(--ghost-text); }

.btn--sm { padding: 11px 22px; font-size: .85rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .9rem; color: var(--link);
}
.card .arrow-link { margin-top: auto; padding-top: 18px; }
.arrow-link svg { transition: transform .2s ease; }
.arrow-link:hover svg { transform: translateX(4px); }

/* ---------- 7. Header / nav ------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, height .3s ease;
}
.site-header.is-stuck {
  background: var(--header-bg-stuck);
  border-bottom-color: var(--line);
}

.site-header .wrap {
  display: flex; align-items: center; gap: 20px;
}

.brand { display: flex; align-items: center; flex: 0 0 auto; margin-right: auto; }
.brand img { height: 46px; width: auto; transition: height .3s ease; }
.site-header.is-stuck .brand img { height: 40px; }

/* logo swaps with the theme */
.logo-on-light { display: none; }
:root[data-theme="light"] .logo-on-dark { display: none; }
:root[data-theme="light"] .logo-on-light { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .logo-on-dark { display: none; }
  :root:not([data-theme="dark"]) .logo-on-light { display: block; }
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 10px 14px;
  font-size: .84rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-soft); border-radius: 10px;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; border-radius: 2px; background: var(--grad-brand);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:hover { color: var(--heading); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--heading); }

/* the CTA inside the nav is a button, not a nav link */
.nav a.btn--primary,
.nav a.btn--primary:hover { color: #fff; }
.nav a.btn::after { content: none; }
.nav-cta { margin-left: 10px; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

/* theme switch */
.theme-toggle {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  background: var(--pill-bg);
  border: 1px solid var(--line); border-radius: 12px;
  color: var(--heading); cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.theme-toggle:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .i-sun { display: none; }
.theme-toggle .i-moon { display: block; }
:root[data-theme="light"] .theme-toggle .i-sun { display: block; }
:root[data-theme="light"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="dark"]) .theme-toggle .i-moon { display: none; }
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: var(--pill-bg);
  border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer; color: var(--heading);
}
.nav-toggle span {
  position: relative; display: block; width: 20px; height: 2px;
  background: currentColor; border-radius: 2px; transition: background .2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  background: currentColor; border-radius: 2px; transition: transform .25s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 18px 24px 28px;
    background: var(--menu-bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -20px rgba(0, 10, 40, .45);
    transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 4px; font-size: .95rem; }
  .nav a::after { left: 4px; right: 4px; bottom: 8px; }
  .nav-cta { margin: 14px 0 0; }
  .nav .btn { width: 100%; }
}

/* ---------- 8. Hero --------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(72px, 11vw, 140px) 0 clamp(64px, 9vw, 110px);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 78%);
}

.hero__grid {
  display: grid; align-items: center; gap: clamp(40px, 6vw, 72px);
  grid-template-columns: 1.12fr .88fr;
}
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; } }

.hero h1 span { display: block; }
.hero h1 .accent {
  background: var(--grad-brand-soft);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
:root[data-theme="light"] .hero h1 .accent { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .hero h1 .accent { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; }
}

.hero__sub {
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  max-width: 56ch; margin-bottom: 34px;
}

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px; margin-bottom: 24px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text);
  background: var(--pill-bg);
  border: 1px solid var(--line); border-radius: 999px;
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #14b866; box-shadow: 0 0 0 4px rgba(20, 184, 102, .18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(20, 184, 102, .2); }
  50%      { box-shadow: 0 0 0 8px rgba(20, 184, 102, 0); }
}

/* hero visual — orbiting mark */
.hero__visual { position: relative; display: grid; place-items: center; min-height: 360px; }
/* square, centred stage so the disc and orbits stay circular at any width */
.hero__visual::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: min(360px, 80%); aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--orb);
  box-shadow: var(--orb-shadow, none);
}
.hero__visual img {
  position: relative; z-index: 2;
  width: min(290px, 66%);
  filter: drop-shadow(0 24px 60px rgba(0, 73, 252, .45));
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
.orbit {
  position: absolute; top: 50%; left: 50%;
  aspect-ratio: 1 / 1; border-radius: 50%;
  border: 1px solid var(--line-strong);
  animation: spin 26s linear infinite;
}
.orbit--1 { width: min(430px, 96%); translate: -50% -50%; }
.orbit--2 {
  width: min(392px, 88%); translate: -50% -50%;
  border-style: dashed; animation-duration: 38s; animation-direction: reverse;
}
.orbit::after {
  content: ""; position: absolute; top: -4px; left: 50%;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--magenta-500); box-shadow: 0 0 20px rgba(235, 1, 135, .5);
}
.orbit--2::after { background: var(--blue-500); box-shadow: 0 0 20px rgba(0, 73, 252, .6); }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .hero__visual img, .orbit, .badge .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 9. Stats -------------------------------------------------- */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px; overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.stat { background: var(--stat-bg); padding: 30px 24px; text-align: center; }
.stat__n {
  display: block; font-size: clamp(2rem, 3.6vw, 2.7rem); font-weight: 800; line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__l {
  display: block; margin-top: 10px;
  font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- 10. Cards ------------------------------------------------- */
.card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 32px 28px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  transition: transform .28s ease, border-color .28s ease, background .28s ease, box-shadow .28s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--grad-brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); background: var(--card-bg-hover); }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: .5em; }
.card p { font-size: .96rem; }

.card__icon {
  display: grid; place-items: center;
  width: 54px; height: 54px; margin-bottom: 20px;
  border-radius: 14px;
  background: var(--icon-bg);
  border: 1px solid var(--line-strong);
  color: var(--heading);
}
.card__icon svg { width: 26px; height: 26px; }

.card--flat { box-shadow: none; }

/* list inside cards */
.ticks { list-style: none; margin: 18px 0 0; padding: 0; }
.ticks li {
  position: relative; padding-left: 28px; margin-bottom: 9px;
  font-size: .94rem; color: var(--text-soft);
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 14px; height: 8px; border-left: 2px solid var(--tick);
  border-bottom: 2px solid var(--tick); transform: rotate(-45deg);
}

/* numbered process */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 22px; border-top: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; margin-bottom: 10px;
  font-size: 1.9rem; font-weight: 800; line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { margin-bottom: .45em; }
.step p { font-size: .95rem; }

/* pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.pills li:has(> a) { padding: 0; }
.pills li > a {
  display: block; padding: 9px 18px; color: inherit; font-weight: 600;
}
.pills li > a:hover { color: var(--heading); }
.pills li {
  padding: 9px 18px;
  font-size: .86rem; font-weight: 600; color: var(--text);
  background: var(--pill-bg);
  border: 1px solid var(--line); border-radius: 999px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.pills li:hover { border-color: var(--line-strong); background: var(--pill-bg-hover); transform: translateY(-2px); }

/* ---------- 11. Page hero (inner pages) ------------------------------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(60px, 8vw, 100px) 0 clamp(44px, 6vw, 70px);
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 20%, transparent 75%);
}
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.page-hero p { max-width: 62ch; font-size: 1.08rem; }

.crumbs {
  display: flex; gap: 8px; align-items: center;
  margin-bottom: 18px;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim);
}
.crumbs a { color: var(--link); }
.crumbs span { opacity: .5; }

/* ---------- 12. Split feature ----------------------------------------- */
.split {
  display: grid; align-items: center; gap: clamp(32px, 5vw, 64px);
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split--rev > :first-child { order: 0; } }

.panel {
  position: relative; overflow: hidden;
  padding: 34px;
  background: var(--panel-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
}
.panel::after {
  content: ""; position: absolute; inset: -40% -10% auto auto;
  width: 320px; height: 320px; border-radius: 50%;
  background: var(--panel-glow);
  pointer-events: none;
}

/* ---------- 13. Contact / forms --------------------------------------- */
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

label {
  display: block; margin-bottom: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-dim);
}
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: 14px 16px;
  font: inherit; font-size: .96rem; color: var(--text);
  background: var(--field-bg);
  border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
input::placeholder, textarea::placeholder { color: var(--text-dim); opacity: .8; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--blue-500);
  background: var(--field-bg-focus);
  box-shadow: 0 0 0 4px rgba(0, 73, 252, .18);
}
textarea { resize: vertical; min-height: 150px; }

.contact-line {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.contact-line:last-child { border-bottom: 0; }
.contact-line .ico {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--icon-bg);
  border: 1px solid var(--line-strong); color: var(--heading);
}
.contact-line .ico svg { width: 20px; height: 20px; }
.contact-line strong { display: block; color: var(--heading); font-size: .95rem; }
.contact-line span { font-size: .95rem; }
.placeholder-note {
  display: block; margin-top: 4px;
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--magenta-500);
}

/* ---------- 14. CTA band ---------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  padding: clamp(46px, 6vw, 72px) clamp(28px, 5vw, 64px);
  text-align: center;
  background: linear-gradient(120deg, var(--navy-700), var(--blue-600) 55%, var(--magenta-600));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 72%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe5ff; max-width: 60ch; margin-inline: auto; }
.cta-band .btn--ghost {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}
.cta-band .btn--ghost:hover { background: rgba(255, 255, 255, .22); border-color: #fff; color: #fff; }

/* ---------- 15. Footer ------------------------------------------------- */
.site-footer {
  margin-top: clamp(60px, 8vw, 100px);
  padding: clamp(52px, 6vw, 76px) 0 0;
  background: var(--footer-bg);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer .f-logo { height: 52px; width: auto; margin-bottom: 18px; }
.site-footer h4 {
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 16px;
}
.f-links { list-style: none; margin: 0; padding: 0; }
.f-links li { margin-bottom: 10px; }
.f-links a { color: var(--text-soft); font-size: .95rem; }
.f-links a:hover { color: var(--heading); }

.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 11px; color: var(--text-soft);
  background: var(--pill-bg); border: 1px solid var(--line);
  transition: all .22s ease;
}
.socials a:hover { color: #fff; border-color: var(--blue-500); background: var(--blue-500); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

.footer-bottom {
  margin-top: 46px; padding: 22px 0;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  font-size: .85rem; color: var(--text-dim);
}

/* ---------- 16. Reveal on scroll --------------------------------------- */
/* only hide content up front when JavaScript is available to reveal it again */
.js .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22, .8, .3, 1), transform .7s cubic-bezier(.22, .8, .3, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 17. Utilities ---------------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 18px; }
.mt-4 { margin-top: 36px; }
.mt-6 { margin-top: 56px; }
.mb-4 { margin-bottom: 36px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
