/* ==========================================================================
   Mitie — concept redesign
   ========================================================================== */

:root {
  --navy: #002855;
  --navy-950: #00122b;
  --navy-900: #001b3d;
  --navy-800: #00234a;
  --navy-600: #1a4d7a;
  --magenta: #a90061;
  --magenta-700: #84074f;
  --purple: #5b1f69;
  --orange: #ee712e;
  --amber: #f8b133;
  --red: #e31018;
  --cyan: #009fdf;
  --cyan-300: #57c8f6;
  --success: #0f9d58;
  --error: #d71920;

  --ink: #0b1b33;
  --ink-2: #2a3037;
  --muted: #5b6573;
  --line: #e3e6ea;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #eef1f5;

  --grad: linear-gradient(105deg, #f8b133 0%, #e84e14 28%, #cd2073 58%, #662683 100%);
  --grad-cool: linear-gradient(135deg, #002855 0%, #5b1f69 100%);

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(0, 27, 61, .06), 0 2px 10px rgba(0, 27, 61, .05);
  --shadow: 0 14px 34px -14px rgba(0, 27, 61, .22);
  --shadow-lg: 0 30px 70px -24px rgba(0, 27, 61, .4);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.025em; font-weight: 800; color: inherit; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--magenta); color: #fff; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ic-sm { width: 16px; height: 16px; }
.ic-lg { width: 30px; height: 30px; }
.ic-fill { fill: currentColor; stroke: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section-sm { padding-block: clamp(48px, 6vw, 80px); }
.section-white { background: var(--surface); }
.section-tint { background: var(--surface-2); }
.section-dark { background: var(--navy-900); color: #fff; }
.section-dark .lead, .section-dark p { color: rgba(255, 255, 255, .78); }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head > div { max-width: 720px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center > div { margin-inline: auto; }

.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Type ---------- */
.display { font-size: clamp(2.5rem, 6vw, 4.75rem); line-height: 1.02; letter-spacing: -.035em; }
.h1 { font-size: clamp(2.2rem, 4.8vw, 3.75rem); line-height: 1.05; letter-spacing: -.03em; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -.015em; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); line-height: 1.6; margin-top: 18px; }
.muted { color: var(--muted); }
.text-grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--magenta); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--grad); }
.section-dark .eyebrow, .eyebrow-light { color: var(--amber); }
.prose p + p { margin-top: 1em; }
.prose p { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 2px solid transparent;
  font-weight: 700; font-size: .98rem; line-height: 1.2; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-primary { --btn-bg: var(--magenta); }
.btn-primary:hover { --btn-bg: var(--magenta-700); }
.btn-grad { background: var(--grad); background-size: 140% 100%; background-position: 0 0; }
.btn-grad:hover { background-position: 100% 0; }
.btn-light { --btn-bg: #fff; --btn-fg: var(--navy); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--navy); border-color: rgba(0, 40, 85, .2); }
.btn-outline:hover { border-color: var(--navy); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading::after {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite;
}
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--magenta); }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .ic, a:hover > .link-arrow .ic, .card:hover .link-arrow .ic { transform: translateX(4px); }
.section-dark .link-arrow { color: var(--amber); }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--navy); transition: background-color .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { background: var(--surface-2); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; background: var(--surface-2); color: var(--navy);
}
.chip-light { background: rgba(0, 18, 43, .62); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.chip-magenta { background: rgba(169, 0, 97, .1); color: var(--magenta); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); isolation: isolate; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled::before { border-bottom-color: var(--line); box-shadow: 0 6px 24px -14px rgba(0, 27, 61, .25); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }
.promo .eyebrow { color: rgba(255, 255, 255, .9); }
.promo .eyebrow::before { background: currentColor; }

.main-nav { margin-left: auto; height: 100%; }
.nav-list { display: flex; align-items: stretch; height: 100%; gap: 4px; }
.nav-item { display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  font-weight: 600; font-size: .96rem; color: var(--ink); transition: background-color .2s, color .2s;
}
.nav-link:hover, .nav-item.is-open > .nav-link { background: var(--surface-2); color: var(--navy); }
.nav-link[data-active] { color: var(--magenta); }
.nav-link .chev { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.nav-item.is-open > .nav-link .chev { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.menu-toggle { display: none; }
.nav-mobile-cta { display: none; }

/* Mega menu */
.mega {
  position: absolute; top: 100%; left: 50%; width: min(1180px, calc(100vw - 32px));
  transform: translate(-50%, 10px); opacity: 0; visibility: hidden;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  pointer-events: none;
}
.mega-inner {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 28px; display: grid; gap: 28px;
  grid-template-columns: 1.15fr 1.15fr .85fr;
}
.nav-item.is-small { position: relative; }
.nav-item.is-small .mega { width: 340px; }
.nav-item.is-small .mega-inner { grid-template-columns: 1fr; padding: 14px; }
.mega-title { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px 12px; }
.mega-links { display: grid; gap: 2px; }
.mega-links.two-col { grid-template-columns: 1fr 1fr; }
.mega-links a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .93rem; line-height: 1.3; transition: background-color .2s, color .2s;
}
.mega-links a .ic { width: 20px; height: 20px; color: var(--magenta); }
.mega-links a:hover { background: var(--surface-2); color: var(--navy); }
.mega-links small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.mega-feature {
  position: relative; overflow: hidden; border-radius: var(--radius-sm); color: #fff; min-height: 260px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 22px; isolation: isolate;
}
.mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.mega-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 18, 43, .1) 0%, rgba(0, 18, 43, .92) 100%); }
.mega-feature:hover img { transform: scale(1.05); }
.mega-feature strong { font-size: 1.2rem; line-height: 1.25; }
.mega-feature span { font-size: .9rem; color: rgba(255, 255, 255, .8); }
.mega-feature .link-arrow { color: var(--amber); margin-top: 6px; }

@media (min-width: 1101px) {
  .nav-item:hover > .mega, .nav-item.is-open > .mega, .nav-item:focus-within > .mega {
    opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto;
  }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; color: #fff; background: var(--navy-950); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(205, 32, 115, .35) 0%, transparent 60%),
    linear-gradient(90deg, rgba(0, 18, 43, .96) 0%, rgba(0, 18, 43, .82) 45%, rgba(0, 18, 43, .35) 100%);
}
.hero-inner { min-height: min(86vh, 820px); display: grid; align-items: center; padding-block: clamp(72px, 10vw, 120px) clamp(120px, 14vw, 170px); }
.hero-copy { max-width: 760px; }
.hero .lead { color: rgba(255, 255, 255, .82); max-width: 620px; }
.hero .btn-group { margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 46px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .16); }
.hero-proof div { display: grid; }
.hero-proof strong { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.hero-proof span { font-size: .88rem; color: rgba(255, 255, 255, .7); }
.hero-badge { position: absolute; right: var(--gutter); bottom: clamp(130px, 15vw, 180px); width: 340px; }

.glass-card {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  padding: 22px; color: #fff; box-shadow: var(--shadow-lg);
}
.glass-card .row { display: flex; align-items: center; gap: 14px; }
.glass-card .row + .row { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); }
.glass-card .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); flex-shrink: 0; }
.glass-card .ico .ic { width: 20px; height: 20px; }
.glass-card strong { display: block; font-size: .98rem; }
.glass-card small { color: rgba(255, 255, 255, .7); font-size: .82rem; }

/* Quick links strip under hero */
.quick-strip { position: relative; z-index: 2; margin-top: clamp(-96px, -9vw, -70px); }
.quick-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.quick-grid a {
  display: flex; flex-direction: column; gap: 12px; padding: 24px 22px; border-right: 1px solid var(--line);
  transition: background-color .25s var(--ease);
}
.quick-grid a:last-child { border-right: 0; }
.quick-grid a:hover { background: var(--surface-2); }
.quick-grid .ic { color: var(--magenta); width: 28px; height: 28px; }
.quick-grid strong { font-size: 1rem; line-height: 1.3; }
.quick-grid span { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; color: #fff; background: var(--navy-950); overflow: hidden; isolation: isolate; }
.page-hero .hero-media img { animation: none; transform: none; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(205, 32, 115, .4) 0%, transparent 60%),
    linear-gradient(90deg, rgba(0, 18, 43, .97) 0%, rgba(0, 18, 43, .85) 50%, rgba(0, 18, 43, .5) 100%);
}
.page-hero-inner { padding-block: clamp(64px, 9vw, 120px); max-width: 820px; }
.page-hero .lead { color: rgba(255, 255, 255, .82); }
.page-hero .btn-group { margin-top: 30px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .86rem; color: rgba(255, 255, 255, .65); margin-bottom: 22px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .ic { width: 14px; height: 14px; }

.anchor-nav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.anchor-nav ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 12px; }
.anchor-nav ul::-webkit-scrollbar { display: none; }
.anchor-nav a { display: inline-block; white-space: nowrap; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--muted); transition: background-color .2s, color .2s; }
.anchor-nav a:hover { color: var(--navy); background: var(--surface-2); }
.anchor-nav a.is-active { background: var(--navy); color: #fff; }

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-media .chip { position: absolute; left: 16px; top: 16px; }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 1.22rem; line-height: 1.3; letter-spacing: -.015em; }
.card-body p { color: var(--muted); font-size: .96rem; }
.card-body .link-arrow { margin-top: auto; padding-top: 8px; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .82rem; color: var(--muted); }
.card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.card-meta .ic { width: 15px; height: 15px; }

/* Feature (pillar) cards with image */
.feature-card { min-height: 460px; color: #fff; border: 0; isolation: isolate; justify-content: flex-end; }
.feature-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.feature-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 18, 43, 0) 20%, rgba(0, 18, 43, .92) 85%); transition: background .4s; }
.feature-card:hover > img { transform: scale(1.06); }
.feature-card .card-body { flex: 0; padding: 30px; }
.feature-card .card-body p { color: rgba(255, 255, 255, .82); }
.feature-card .num { font-size: .85rem; font-weight: 800; letter-spacing: .1em; color: var(--amber); }
.feature-card .link-arrow { color: #fff; }

/* Service tile */
.service-tile { padding: 28px; gap: 14px; }
.service-tile .icon-badge { margin-bottom: 6px; }
.service-tile h3 { font-size: 1.2rem; }
.service-tile p { color: var(--muted); font-size: .95rem; }
.service-tile .link-arrow { margin-top: auto; }
.icon-badge {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff;
  background: var(--grad-cool); box-shadow: 0 10px 24px -10px rgba(91, 31, 105, .6);
  transition: transform .35s var(--ease), background .35s;
}
.icon-badge .ic { width: 26px; height: 26px; }
.card:hover .icon-badge { transform: rotate(-6deg) scale(1.05); background: var(--grad); }

/* Split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .glass-card { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 18px; }
.split-copy .btn-group { margin-top: 30px; }
.check-list { display: grid; gap: 14px; margin-top: 26px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list .ic { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: rgba(169, 0, 97, .1); color: var(--magenta); stroke-width: 2.6; margin-top: 1px; }
.section-dark .check-list .ic { background: rgba(248, 177, 51, .15); color: var(--amber); }
.check-list strong { display: block; }
.check-list span { color: var(--muted); font-size: .95rem; }
.section-dark .check-list span { color: rgba(255, 255, 255, .72); }

/* Spotlight banner */
.spotlight { position: relative; border-radius: var(--radius-lg); overflow: hidden; color: #fff; isolation: isolate; min-height: 480px; display: flex; align-items: flex-end; }
.spotlight > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.spotlight::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 18, 43, .94) 0%, rgba(0, 18, 43, .7) 50%, rgba(0, 18, 43, .1) 100%); }
.spotlight-copy { padding: clamp(28px, 5vw, 64px); max-width: 640px; }
.spotlight-copy p { color: rgba(255, 255, 255, .82); margin-top: 16px; font-size: 1.08rem; }
.spotlight-copy .btn-group { margin-top: 28px; }

/* Promo trio */
.promo { display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: var(--radius); color: #fff; min-height: 280px; position: relative; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.promo:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.promo::after { content: ""; position: absolute; width: 240px; height: 240px; right: -80px; top: -80px; border-radius: 50%; background: rgba(255, 255, 255, .08); z-index: -1; transition: transform .6s var(--ease); }
.promo:hover::after { transform: scale(1.3); }
.promo .ic-lg { opacity: .9; }
.promo h3 { font-size: 1.35rem; line-height: 1.25; }
.promo .link-arrow { color: #fff; margin-top: auto; }
.promo-navy { background: var(--navy); }
.promo-purple { background: var(--purple); }
.promo-grad { background: var(--grad); }
.promo-magenta { background: var(--magenta); }

/* ---------- Stats ---------- */
.stats-band { position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%; right: -260px; top: -320px; background: radial-gradient(circle, rgba(205, 32, 115, .35), transparent 65%); pointer-events: none; }
.stats-band::after { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; left: -260px; bottom: -340px; background: radial-gradient(circle, rgba(0, 159, 223, .25), transparent 65%); pointer-events: none; }
.stats-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, .12); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--navy-900); padding: clamp(24px, 3vw, 40px); }
.stat-value { font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.stat-label { font-weight: 700; margin-top: 12px; color: #fff; }
.stat p { font-size: .92rem; margin-top: 6px; color: rgba(255, 255, 255, .68); }

/* ---------- Carousel ---------- */
.carousel { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(420px, 86%); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding: 6px 4px 24px; margin: -6px -4px 0;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-controls { display: flex; gap: 10px; }
.carousel-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--line); background: #fff; color: var(--navy); transition: all .25s var(--ease);
}
.carousel-btn:hover:not(:disabled) { background: var(--navy); color: #fff; border-color: var(--navy); }
.carousel-btn:disabled { opacity: .35; cursor: not-allowed; }
.carousel-progress { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; margin-top: 8px; }
.carousel-progress span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 3px; transition: width .2s linear; }

/* ---------- Tabs ---------- */
.tabs { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.tab-list { display: grid; gap: 6px; }
.tab {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 16px 18px;
  border-radius: var(--radius-sm); font-weight: 700; color: var(--muted); transition: all .25s var(--ease);
  border: 1px solid transparent;
}
.tab .ic { color: inherit; }
.tab:hover { color: var(--navy); background: #fff; }
.tab[aria-selected="true"] { background: #fff; color: var(--navy); border-color: var(--line); box-shadow: var(--shadow-sm); }
.tab[aria-selected="true"] .ic { color: var(--magenta); }
.tab-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 440px; }
.tab-panel[hidden] { display: none; }
.tab-panel.is-entering { animation: fadeUp .45s var(--ease); }
.tab-panel-media { position: relative; min-height: 280px; }
.tab-panel-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tab-panel-copy { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.tab-panel-copy p { color: var(--muted); }
.tab-panel-copy .check-list { margin-top: 6px; gap: 10px; }
.tab-panel-copy .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Video band ---------- */
.video-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; color: #fff; min-height: 520px; display: grid; place-items: center; text-align: center; padding: 48px 24px; }
.video-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.video-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 18, 43, .55), rgba(0, 18, 43, .85)); }
.video-band h2 { max-width: 760px; margin-inline: auto; }
.play-btn {
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 28px;
  background: var(--grad); color: #fff; position: relative; transition: transform .3s var(--ease);
}
.play-btn::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); animation: pulse 2.2s ease-out infinite; }
.play-btn:hover { transform: scale(1.08); }
.play-btn .ic { width: 32px; height: 32px; margin-left: 4px; }
.video-band .btn-group { justify-content: center; margin-top: 28px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; width: 100%; background: #000; border-radius: var(--radius-sm); overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Filters ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter-btn {
  padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--muted);
  border: 1.5px solid var(--line); background: #fff; transition: all .2s var(--ease);
}
.filter-btn:hover { color: var(--navy); border-color: var(--navy); }
.filter-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-count { opacity: .6; margin-left: 4px; font-weight: 600; }
.is-filtered-out { display: none !important; }
.empty-state { text-align: center; padding: 48px 16px; color: var(--muted); }

/* ---------- Service detail blocks ---------- */
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.service-block + .service-block { margin-top: clamp(72px, 10vw, 120px); }
.service-block:nth-of-type(even) .service-media { order: 2; }
.service-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-media .icon-badge { position: absolute; left: 20px; top: 20px; }
.sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.sub-card { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--surface-2); }
.sub-card strong { display: block; font-size: .98rem; color: var(--navy); }
.sub-card span { display: block; font-size: .88rem; color: var(--muted); margin-top: 4px; line-height: 1.5; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); counter-increment: step; }
.step::before { content: "0" counter(step); display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 18px; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: .94rem; }

/* Sector cards */
.sector-card .card-media { aspect-ratio: 16 / 9; }
.sector-card .icon-badge { position: absolute; left: 16px; bottom: 16px; z-index: 2; width: 52px; height: 52px; border-radius: 14px; }
.sector-card:target { box-shadow: 0 0 0 3px var(--magenta), var(--shadow); }
.split + .split { margin-top: clamp(64px, 8vw, 110px); }
.section-flush-top { padding-top: 0; }
.form-intro { margin: 8px 0 26px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

/* Value cards */
.value-card { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.value-card .icon-badge { margin-bottom: 20px; }
.value-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: .95rem; }

/* Link list cards (investors etc.) */
.link-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px;
  border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); font-weight: 700;
  transition: all .25s var(--ease);
}
.link-card .ic { color: var(--magenta); transition: transform .25s var(--ease); }
.link-card:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.link-card:hover .ic { transform: translate(3px, -3px); }
.link-card small { display: block; font-weight: 500; color: var(--muted); font-size: .85rem; margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: rgba(0, 40, 85, .25); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .3s var(--ease); color: var(--magenta); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Newsletter ---------- */
.newsletter { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); background: var(--navy); color: #fff; padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.newsletter::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 100% 100%, rgba(205, 32, 115, .55), transparent 60%), radial-gradient(50% 70% at 0% 0%, rgba(0, 159, 223, .25), transparent 60%); }
.newsletter p { color: rgba(255, 255, 255, .78); }
.newsletter .h2 { margin-top: 4px; }
.newsletter .lead { color: rgba(255, 255, 255, .8); }
.subscribe-form { display: grid; gap: 14px; }
.input-row { display: flex; gap: 10px; background: #fff; padding: 6px; border-radius: 999px; box-shadow: var(--shadow); }
.input-row input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 18px; color: var(--ink); outline: none; font-size: 1rem; }
.input-row input::placeholder { color: #8b8d8e; }
.input-row:focus-within { outline: 3px solid var(--cyan-300); outline-offset: 2px; }
.newsletter .field input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.newsletter .field input::placeholder { color: rgba(255, 255, 255, .55); }
.newsletter .field input:focus { border-color: var(--cyan-300); background: rgba(255, 255, 255, .12); }
.interest-group { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.interest-group legend { font-size: .85rem; font-weight: 600; color: rgba(255, 255, 255, .78); margin-bottom: 10px; padding: 0; }
.pill-check { position: relative; }
.pill-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill-check span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .25); font-size: .86rem; font-weight: 600; cursor: pointer; transition: all .2s var(--ease); user-select: none; }
.pill-check span:hover { border-color: #fff; }
.pill-check input:checked + span { background: #fff; color: var(--navy); border-color: #fff; }
.pill-check input:focus-visible + span { outline: 3px solid var(--cyan-300); outline-offset: 2px; }
.form-note { font-size: .82rem; color: rgba(255, 255, 255, .62); }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: .9rem; color: var(--ink-2); }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font-size: 1rem;
  transition: border-color .2s, background-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23002855' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(0, 159, 223, .15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); background: #fff8f8; }
.field-error { font-size: .84rem; color: var(--error); font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
.newsletter .field-error { color: #ffb3b6; }
.check-field { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); cursor: pointer; }
.check-field input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--magenta); flex-shrink: 0; cursor: pointer; }
.check-field a { color: var(--magenta); text-decoration: underline; text-underline-offset: 3px; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: .94rem; }
.form-status.is-visible { display: flex; animation: fadeUp .35s var(--ease); }
.form-status .ic { width: 20px; height: 20px; margin-top: 1px; }
.form-status.success { background: #e8f7ef; color: #0b6b3c; }
.form-status.error { background: #fdecec; color: #a3141a; }
.newsletter .form-status.success { background: rgba(15, 157, 88, .2); color: #c7f5dc; }
.newsletter .form-status.error { background: rgba(215, 25, 32, .22); color: #ffd1d3; }

/* Contact layout */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.info-stack { display: grid; gap: 16px; }
.info-card { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.info-card .icon-badge { width: 48px; height: 48px; border-radius: 14px; }
.info-card .icon-badge .ic { width: 22px; height: 22px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 4px; letter-spacing: -.01em; }
.info-card p { color: var(--muted); font-size: .94rem; }
.info-card a { color: var(--magenta); font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); background: var(--grad); color: #fff; padding: clamp(36px, 6vw, 80px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 0% 100%, rgba(0, 18, 43, .45), transparent 60%); }
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -120px; top: -200px; border: 60px solid rgba(255, 255, 255, .08); z-index: -1; }
.cta-band h2 { max-width: 720px; }
.cta-band p { color: rgba(255, 255, 255, .9); margin-top: 12px; max-width: 620px; font-size: 1.08rem; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: #fff; padding-block: 20px; -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; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track ul { display: flex; gap: 48px; padding-right: 48px; }
.marquee-track li { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; font-weight: 700; font-size: 1.05rem; color: var(--navy); }
.marquee-track li .ic { color: var(--magenta); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); padding-top: clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px 32px; padding-bottom: 56px; }
.footer-brand p { margin-top: 18px; font-size: .95rem; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); color: #fff; transition: all .25s var(--ease); }
.footer-social a:hover { background: #fff; color: var(--navy); }
.footer-social .ic { width: 18px; height: 18px; }
.footer-col h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 800; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: .94rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.legal-links a:hover { color: #fff; }

/* ---------- Overlays ---------- */
.search-modal { position: fixed; inset: 0; z-index: 300; display: none; }
.search-modal.is-open { display: block; }
.search-backdrop { position: absolute; inset: 0; background: rgba(0, 18, 43, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fadeIn .2s ease; }
.search-panel { position: relative; width: min(720px, calc(100vw - 32px)); margin: clamp(16px, 10vh, 120px) auto 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; animation: fadeUp .3s var(--ease); }
.search-input-wrap { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 22px; border-bottom: 1px solid var(--line); }
.search-input-wrap > .ic { color: var(--muted); }
.search-input-wrap input { flex: 1; min-width: 0; border: 0; outline: none; padding: 16px 0; font-size: 1.1rem; background: transparent; }
.search-results { max-height: min(60vh, 480px); overflow-y: auto; padding: 10px; }
.search-results a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--radius-sm); }
.search-results a:hover, .search-results a.is-active { background: var(--surface-2); }
.search-results .ic { color: var(--magenta); }
.search-results strong { display: block; font-size: .98rem; }
.search-results small { color: var(--muted); font-size: .82rem; }
.search-results mark { background: rgba(248, 177, 51, .35); color: inherit; border-radius: 3px; }
.search-empty { padding: 28px; text-align: center; color: var(--muted); }
.search-hint { display: flex; gap: 16px; padding: 12px 22px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); background: var(--bg); }
kbd { font-family: inherit; font-size: .75rem; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line); background: #fff; box-shadow: 0 1px 0 var(--line); }

dialog.modal { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); color: var(--ink); overflow: hidden; }
dialog.modal[open] { animation: fadeUp .35s var(--ease); display: flex; flex-direction: column; }
dialog.modal::backdrop { background: rgba(0, 18, 43, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal-media { aspect-ratio: 16 / 7; overflow: hidden; background: var(--surface-2); flex-shrink: 0; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: clamp(22px, 4vw, 40px); overflow-y: auto; }
.modal-body h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 12px 0 14px; }
.modal-body p { color: var(--muted); }
.modal-body p + p { margin-top: 12px; }
.modal-body .btn-group { margin-top: 26px; }
.modal-close { position: absolute; right: 14px; top: 14px; z-index: 2; background: rgba(255, 255, 255, .95); box-shadow: var(--shadow-sm); }
.modal-video { width: min(1000px, calc(100vw - 32px)); background: #000; }
.modal-video .modal-body { padding: 0; }

.toast-region { position: fixed; z-index: 400; right: 16px; bottom: 16px; display: grid; gap: 10px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.toast { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--navy-900); color: #fff; box-shadow: var(--shadow-lg); pointer-events: auto; animation: toastIn .35s var(--ease); font-size: .94rem; font-weight: 600; }
.toast .ic { width: 20px; height: 20px; margin-top: 1px; }
.toast.success .ic { color: #5be39a; }
.toast.error .ic { color: #ff8a8f; }
.toast.is-leaving { animation: toastOut .3s var(--ease) forwards; }

.cookie-banner { position: fixed; z-index: 350; left: 16px; bottom: 16px; width: min(420px, calc(100vw - 32px)); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 22px; animation: fadeUp .4s var(--ease); }
.cookie-banner h2 { font-size: 1.05rem; letter-spacing: -.01em; margin-bottom: 6px; }
.cookie-banner p { font-size: .9rem; color: var(--muted); }
.cookie-banner a { color: var(--magenta); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner .btn-group { margin-top: 16px; }

.back-to-top { position: fixed; z-index: 90; right: 16px; bottom: 16px; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--magenta); }

/* ---------- Legal / prose page ---------- */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; }
.legal-toc a { padding: 10px 14px; border-radius: var(--radius-xs); font-weight: 600; color: var(--muted); }
.legal-toc a:hover { background: #fff; color: var(--navy); }
.legal-content section { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.legal-content section + section { margin-top: 20px; }
.legal-content h2 { font-size: 1.5rem; margin-bottom: 14px; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content p + p, .legal-content ul { margin-top: 12px; }
.legal-content ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; }

/* Small centered page (404 / unsubscribe) */
.center-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.center-page .inner { max-width: 560px; }
.big-code { font-size: clamp(6rem, 18vw, 10rem); font-weight: 800; line-height: 1; letter-spacing: -.06em; }
.center-page .btn-group { justify-content: center; margin-top: 30px; }
.center-page .form-card { text-align: left; margin-top: 32px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: .08s; }
.js .reveal-delay-2 { transition-delay: .16s; }
.js .reveal-delay-3 { transition-delay: .24s; }

/* ---------- Animations ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .hero-badge { display: none; }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1100px) {
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; height: auto;
    background: #fff; overflow-y: auto; overscroll-behavior: contain;
    padding: 12px var(--gutter) 32px; transform: translateX(100%); visibility: hidden;
    transition: transform .35s var(--ease), visibility .35s;
    border-top: 1px solid var(--line);
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .main-nav { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; height: auto; gap: 0; }
  .nav-item { display: block; border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 18px 4px; border-radius: 0; font-size: 1.08rem; }
  .nav-link:hover, .nav-item.is-open > .nav-link { background: none; }
  .mega, .nav-item.is-small .mega { position: static; width: auto; transform: none; opacity: 1; visibility: visible; pointer-events: auto; display: none; transition: none; }
  .nav-item.is-open > .mega { display: block; }
  .mega-inner, .nav-item.is-small .mega-inner { grid-template-columns: 1fr; border: 0; box-shadow: none; padding: 0 0 18px; gap: 18px; border-radius: 0; }
  .mega-feature { display: none; }
  .mega-links a { padding: 10px 8px; }
  .mega-title { margin-left: 8px; }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 24px; }

  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quick-grid a { border-bottom: 1px solid var(--line); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tabs { grid-template-columns: 1fr; }
  .tab-list { display: flex; overflow-x: auto; scrollbar-width: none; gap: 8px; padding-bottom: 4px; }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab { width: auto; white-space: nowrap; flex-shrink: 0; background: #fff; border-color: var(--line); padding: 12px 16px; }
  .tab[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
  .tab[aria-selected="true"] .ic { color: var(--amber); }
  .newsletter { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .service-block { grid-template-columns: 1fr; }
  .split.reverse .split-media, .service-block:nth-of-type(even) .service-media { order: 0; }
  .tab-panel { grid-template-columns: 1fr; }
  .tab-panel-media { aspect-ratio: 16 / 9; min-height: 0; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; display: flex; flex-wrap: wrap; }
  .feature-card { min-height: 400px; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .brand img { height: 32px; }
  .display { font-size: clamp(2.05rem, 9.4vw, 2.5rem); }
  .h1 { font-size: clamp(1.95rem, 8.6vw, 2.4rem); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .quick-grid a { padding: 18px 16px; }
  .quick-grid a:nth-child(odd):last-child { grid-column: 1 / -1; }
  .stats-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .sub-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-proof strong { font-size: 1.4rem; }
  .input-row { flex-direction: column; border-radius: var(--radius); padding: 8px; }
  .input-row input { min-height: 48px; padding: 0 12px; }
  .btn-group .btn { flex: 1 1 auto; }
  .section-head { align-items: flex-start; }
  .carousel-controls { display: none; }
  .spotlight { min-height: 520px; }
  .spotlight::before { background: linear-gradient(180deg, rgba(0, 18, 43, .2) 0%, rgba(0, 18, 43, .95) 70%); }
  .video-band { min-height: 440px; }
  .search-hint { display: none; }
}

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

@media print {
  .site-header, .site-footer, .cookie-banner, .back-to-top, .toast-region, .newsletter { display: none !important; }
  body { background: #fff; }
}
