/* =========================================================
   Arveam Global — Meridian Blue
   Self-contained styles · light + dark · no build step
   ========================================================= */

/* ---------- Theme tokens ---------- */
:root {
  --maxw: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

:root[data-theme="light"] {
  --bg: #ffffff;
  --surface: #f9fbff;
  --surface-alt: #f1f6fc;
  --text: #0c1a2e;
  --text-muted: #566479;
  --primary: #2176bc;
  --primary-dark: #14598e;
  --accent: #3ba7e6;
  --border: #e3eaf3;
  --border-strong: #d4deec;
  --footer-bg: #0b1426;
  --footer-text: #cdd9ec;
  --on-primary: #ffffff;
  --glow-1: rgba(33, 118, 188, .18);
  --glow-2: rgba(59, 167, 230, .16);
  --shadow: 0 1px 2px rgba(12, 26, 46, .06), 0 14px 34px rgba(12, 26, 46, .05);
  --shadow-hover: 0 1px 2px rgba(12, 26, 46, .08), 0 22px 48px rgba(12, 26, 46, .11);
  --nav-bg: rgba(255, 255, 255, .72);
  --grid-line: rgba(33, 118, 188, .05);
}

:root[data-theme="dark"] {
  --bg: #070b16;
  --surface: #0d142a;
  --surface-alt: #121c39;
  --text: #eaf1fb;
  --text-muted: #8da0be;
  --primary: #4d9de0;
  --primary-dark: #2176bc;
  --accent: #5fc0f5;
  --border: #1e2c4a;
  --border-strong: #2a3c61;
  --footer-bg: #04070f;
  --footer-text: #9fb1cc;
  --on-primary: #ffffff;
  --glow-1: rgba(77, 157, 224, .22);
  --glow-2: rgba(95, 192, 245, .14);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 34px rgba(0, 0, 0, .45);
  --shadow-hover: 0 1px 2px rgba(0, 0, 0, .5), 0 24px 52px rgba(0, 0, 0, .55);
  --nav-bg: rgba(7, 11, 22, .72);
  --grid-line: rgba(120, 170, 230, .06);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
:root[data-theme="light"] :focus-visible { outline-color: var(--primary); }

.skip-link {
  position: fixed;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  z-index: 200;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 12px; }

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

/* Offset anchored scroll targets for the fixed header */
:where(section[id]), #top, #main { scroll-margin-top: 88px; }

.section { padding-block: clamp(64px, 9vw, 116px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong) 22%, var(--border-strong) 78%, transparent);
  margin-top: clamp(56px, 8vw, 104px);
}

.grad-text {
  background: linear-gradient(115deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Eyebrow + section heads ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}
.eyebrow__num { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.eyebrow__mark { width: 15px; height: 15px; }

.section__head { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head--left { margin-inline: 0; text-align: left; }
.section__title { font-size: clamp(1.9rem, 4vw, 2.75rem); }
.section__lead { margin-top: 16px; color: var(--text-muted); font-size: 1.125rem; }

/* faint grid guideline behind centered heads */
.section__head:not(.section__head--left)::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-pad-y: 11px;
  --btn-pad-x: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), filter .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--lg { --btn-pad-y: 15px; --btn-pad-x: 28px; font-size: 1rem; }
.btn--block { width: 100%; --btn-pad-y: 15px; }

.btn--primary {
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  color: var(--on-primary);
  box-shadow: 0 8px 22px -8px var(--primary);
}
.btn--primary:hover { transform: translateY(-2px); filter: saturate(1.08) brightness(1.05); box-shadow: 0 14px 30px -8px var(--primary); }

.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover { background: var(--surface-alt); transform: translateY(-2px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--border); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav { background: var(--bg); }
}
.nav__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand-logo { height: 30px; width: auto; color: var(--text); }
.nav__brand { display: inline-flex; }

.nav__links { display: flex; gap: clamp(18px, 2.2vw, 30px); }
.nav__links a {
  position: relative;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }
.nav__links a.active { color: var(--text); }

.nav__actions { display: flex; align-items: center; gap: 14px; }

.theme-toggle {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: background .2s var(--ease), transform .2s var(--ease), border-color .2s;
}
.theme-toggle:hover { transform: translateY(-1px); border-color: var(--border-strong); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle__moon { display: none; }
:root[data-theme="dark"] .theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle__moon { display: block; }

.nav__burger {
  display: none;
  width: 42px; height: 42px;
  place-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}
.nav__burger svg { width: 22px; height: 22px; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--bg);
  padding: 18px 24px 40px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__close {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--surface); color: var(--text);
}
.mobile-menu__close svg { width: 22px; height: 22px; }
.mobile-menu__links { display: flex; flex-direction: column; gap: 6px; margin-top: 36px; }
.mobile-menu__links a {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu__links .btn { margin-top: 22px; font-size: 1.05rem; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 3px;
  width: 0%;
  z-index: 120;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(120px, 16vw, 168px);
  padding-bottom: clamp(48px, 7vw, 88px);
  overflow: hidden;
}
.hero__glow { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}
.orb--1 { width: 460px; height: 460px; top: -120px; right: -80px; background: var(--glow-1); animation: drift 18s var(--ease) infinite alternate; }
.orb--2 { width: 380px; height: 380px; top: 120px; left: -120px; background: var(--glow-2); animation: drift 22s var(--ease) infinite alternate-reverse; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__title { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.04; letter-spacing: -.03em; }
.hero__sub { margin-top: 22px; max-width: 560px; font-size: 1.18rem; color: var(--text-muted); }
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero panel / window mockup */
.hero__panel { position: relative; }
.hero__panel-glow {
  position: absolute; inset: -10% -6% -14% -6%;
  background: radial-gradient(60% 60% at 70% 30%, var(--glow-1), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.window {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  overflow: hidden;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.window__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.window__bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.window__bar span:nth-child(1) { background: #ec6a5e; }
.window__bar span:nth-child(2) { background: #f4bf4f; }
.window__bar span:nth-child(3) { background: #61c554; }
.window__bar em {
  margin-left: auto;
  font-style: normal;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.window__body { padding: 26px 26px 30px; position: relative; }
.window__mark { width: 56px; height: 44px; margin-bottom: 22px; opacity: .95; }
.codeline { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.codeline.indent { padding-left: 26px; }
.codeline i { height: 9px; border-radius: 6px; display: block; }
.codeline .ln { background: var(--border-strong); flex: 0 0 auto; width: 120px; }
.codeline .kw { width: 46px; background: linear-gradient(90deg, var(--primary), var(--primary-dark)); }
.codeline .ac { width: 30px; background: var(--accent); opacity: .7; }
.w-15 { width: 15% !important; }
.w-30 { width: 30% !important; }
.w-40 { width: 40% !important; }
.w-55 { width: 55% !important; }
.w-70 { width: 70% !important; }
.w-80 { width: 80% !important; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 92px; margin-top: 26px; }
.bars span {
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  opacity: .85;
}
.bars span:nth-child(even) { background: linear-gradient(180deg, var(--accent), var(--primary)); opacity: .55; }

/* ---------- Stat strip ---------- */
.stat-strip {
  margin-top: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stat {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 1px solid var(--border);
}
.stat:first-child { border-left: 0; }
.stat__value { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.1; }
.stat__label { font-size: .9rem; color: var(--text-muted); }

/* ---------- Grids + cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--border-strong); }
.card__icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(33, 118, 188, .12);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--primary);
  margin-bottom: 22px;
}
.card__icon svg { width: 26px; height: 26px; }
.card__title { font-size: 1.3rem; margin-bottom: 10px; }
.card__text { color: var(--text-muted); font-size: 1rem; }

/* ---------- Why ---------- */
.why__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}
.why__list { display: grid; gap: 14px; list-style: none; padding: 0; }
.why__item {
  display: flex;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.why__item:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--border-strong); }
.why__bullet { flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; margin-top: 2px; }
.why__bullet svg { width: 26px; height: 21px; }
.why__item h3 { font-size: 1.16rem; margin-bottom: 6px; }
.why__item p { color: var(--text-muted); font-size: 1rem; }

/* ---------- Process ---------- */
.process {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  top: 22px; left: 6%; right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  z-index: 0;
}
.process__step { position: relative; z-index: 1; }
.process__num {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
}
.process__step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.process__step p { color: var(--text-muted); font-size: .98rem; }

/* ---------- Work ---------- */
.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex;
  flex-direction: column;
}
.work-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--border-strong); }
.work-card__body { padding: 24px 26px 28px; }
.work-card__cat {
  font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--primary);
}
.work-card h3 { font-size: 1.25rem; margin: 8px 0 10px; }
.work-card p { color: var(--text-muted); font-size: .98rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags span {
  font-size: .76rem; font-weight: 500;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.work__note { text-align: center; margin-top: 30px; color: var(--text-muted); font-size: .92rem; }

/* Work thumbnails (pure CSS abstract UI) */
.work-thumb {
  height: 158px;
  position: relative;
  padding: 22px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-alt);
  background:
    radial-gradient(120% 120% at 80% 0%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 60%),
    var(--surface-alt);
  overflow: hidden;
}
.work-thumb > div { position: relative; height: 100%; }
.work-thumb span { display: block; background: var(--bg); border: 1px solid var(--border); border-radius: 7px; }
:root[data-theme="dark"] .work-thumb span { background: rgba(255,255,255,.05); }

.wt-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 10px; }
.wt-phone { display: grid; gap: 9px; width: 88px; margin-inline: auto; height: 100%; align-content: center; }
.wt-phone .wt-cal { height: 46px; border-radius: 9px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border: 0; }
.wt-phone .wt-row { height: 12px; }
.wt-phone .wt-row.short { width: 60%; }
.wt-chart { display: flex; align-items: flex-end; gap: 12px; height: 100%; }
.wt-chart span { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--primary), var(--primary-dark)); border: 0; }
.wt-chart span:nth-child(even) { background: linear-gradient(180deg, var(--accent), var(--primary)); opacity: .6; }
.wt-list { display: grid; gap: 11px; align-content: center; height: 100%; }
.wt-list .wt-search { height: 26px; border-radius: 8px; background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 20%, var(--bg)), var(--bg)); }
.wt-list .wt-li { height: 16px; }
.wt-page { display: grid; gap: 10px; height: 100%; align-content: center; }
.wt-page .wt-hero { height: 60px; border-radius: 9px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border: 0; }
.wt-page .wt-txt { height: 12px; }
.wt-page .wt-txt.short { width: 55%; }
.wt-table { display: grid; gap: 10px; align-content: center; height: 100%; }
.wt-table span { height: 18px; }
.wt-table span:first-child { background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 22%, var(--bg)), var(--bg)); }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  flex: 0 0 auto;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.about__panel {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(90% 90% at 30% 20%, var(--glow-1), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow-hover);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  overflow: hidden;
}
.about__panel::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}
.about__mark { width: 96px; height: auto; position: relative; }
.about__tagline { position: relative; font-family: var(--font-head); font-weight: 600; color: var(--text-muted); letter-spacing: .01em; }
.about__copy p { margin-top: 18px; color: var(--text-muted); }
.about__copy .section__title { margin-top: 6px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-block: 1px solid var(--border);
}
.cta-band__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 120% at 50% 0%, var(--glow-1), transparent 60%),
    radial-gradient(40% 100% at 80% 100%, var(--glow-2), transparent 60%);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  text-align: center;
  padding-block: clamp(64px, 9vw, 104px);
  max-width: 760px;
}
.cta-band__title { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.cta-band__sub { margin: 18px auto 32px; color: var(--text-muted); font-size: 1.15rem; max-width: 600px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 52px); align-items: start; }
.contact__body { color: var(--text-muted); font-size: 1.08rem; margin-bottom: 26px; }
.contact__line {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.contact__line:last-of-type { border-bottom: 1px solid var(--border); }
.contact__line-icon {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(33, 118, 188, .12);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--primary);
}
.contact__line-icon svg { width: 22px; height: 22px; }
.contact__line span strong { display: block; font-family: var(--font-head); font-size: .96rem; margin-bottom: 2px; }
a.contact__line { color: inherit; transition: color .2s var(--ease); }
a.contact__line:hover { color: var(--primary); }
.contact__line > span { font-size: 1rem; color: var(--text-muted); }
.contact__line > span strong { color: var(--text); }

.map-card {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  line-height: 0;
}
.map-card iframe { width: 100%; height: 260px; border: 0; }

.contact__form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label .req { color: var(--primary); }
.form-note { font-size: .85rem; color: var(--text-muted); margin-bottom: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); opacity: 1; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 167, 230, .35);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent);
}
.contact-form__status { margin-top: 14px; font-size: .95rem; font-weight: 500; min-height: 1.2em; }
.contact-form__status.is-ok { color: #157f45; }
.contact-form__status.is-err { color: #c0392b; }
:root[data-theme="dark"] .contact-form__status.is-ok { color: #4fd089; }
:root[data-theme="dark"] .contact-form__status.is-err { color: #ef6b6b; }

/* ---------- Footer ---------- */
.footer { background: var(--footer-bg); color: var(--footer-text); padding-top: clamp(48px, 6vw, 72px); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer__logo { height: 32px; color: #fff; margin-bottom: 18px; }
.footer__tagline { font-size: .96rem; max-width: 320px; margin-bottom: 16px; }
.footer__email { color: #fff; font-weight: 600; border-bottom: 1px solid transparent; transition: border-color .2s; }
.footer__email:hover { border-bottom-color: var(--accent); }
.footer__col h3 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer__col a { display: block; padding: 5px 0; color: var(--footer-text); transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__addr p { font-size: .95rem; line-height: 1.7; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .85rem;
  color: var(--footer-text);
}

/* ---------- Legal pages ---------- */
.legal-logo { height: 30px; width: auto; }
.legal-logo--dark { display: none; }
:root[data-theme="dark"] .legal-logo--light { display: none; }
:root[data-theme="dark"] .legal-logo--dark { display: block; }

.legal { padding-top: clamp(120px, 14vw, 160px); padding-bottom: clamp(56px, 8vw, 96px); }
.legal__head { max-width: 760px; margin-inline: auto; text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.legal__head h1 { font-size: clamp(2.1rem, 5vw, 3rem); }
.legal__head p { margin-top: 14px; color: var(--text-muted); }
.legal__body { max-width: 760px; margin-inline: auto; }
.legal__body h2 { font-size: 1.35rem; margin-top: 40px; margin-bottom: 12px; }
.legal__body p, .legal__body li { color: var(--text-muted); margin-bottom: 12px; }
.legal__body ul { padding-left: 22px; }
.legal__body a { color: var(--primary); border-bottom: 1px solid transparent; }
.legal__body a:hover { border-bottom-color: var(--primary); }
.legal__note {
  margin-top: 48px; padding: 20px 24px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); font-size: .92rem; color: var(--text-muted);
}
.legal__back { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; font-weight: 600; color: var(--primary); }
.legal__back svg { width: 18px; height: 18px; transform: rotate(180deg); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { max-width: 460px; margin-inline: auto; }
  .hero__sub { margin-inline: 0; }
  .why__grid, .about__grid { grid-template-columns: 1fr; }
  .section__head--left { text-align: center; margin-inline: auto; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process::before { display: none; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: grid; }
  .theme-toggle, .nav__burger, .mobile-menu__close { width: 44px; height: 44px; }
}

@media (max-width: 620px) {
  .container { padding-inline: 18px; }
  .grid--3 { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .process { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .orb, .marquee__track { animation: none !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee__track span[aria-hidden="true"] { display: none; }
  * { transition-duration: .01ms !important; }
}
