:root {
  --navy: #07142f;
  --navy-2: #0f2147;
  --ink: #14213d;
  --blue: #2457f5;
  --blue-2: #173fca;
  --cyan: #15b8c9;
  --cyan-soft: #e8f9fb;
  --sky: #edf3ff;
  --paper: #ffffff;
  --surface: #f5f7fb;
  --surface-2: #eef2f8;
  --line: #d9e1ee;
  --muted: #5d6b82;
  --muted-dark: #aebbd0;
  --success: #158467;
  --danger: #b23434;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1200px;
  --shadow-sm: 0 8px 24px rgba(7, 20, 47, 0.08);
  --shadow: 0 20px 55px rgba(7, 20, 47, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Aptos, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--cyan-soft); color: var(--navy); }

.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 9999;
  padding: 11px 16px; border-radius: 8px; background: var(--navy); color: #fff;
}
.skip-link:focus { top: 12px; }

/* Header */
.topbar { background: var(--navy); color: #c6d1e2; font-size: 13px; }
.topbar .container { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar strong { color: #fff; font-weight: 750; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(217, 225, 238, 0.9);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(7, 20, 47, .08); border-color: transparent; }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); font-size: 22px; font-weight: 850; letter-spacing: -.65px; white-space: nowrap; }
.brand-mark { display: block; width: 40px; height: auto; flex: 0 0 auto; }
.nav-links { display: flex; align-items: center; gap: 24px; color: #30405c; font-size: 14px; font-weight: 750; }
.nav-links > a, .dropdown-toggle { position: relative; display: inline-flex; align-items: center; min-height: 81px; padding: 0; border: 0; background: none; color: inherit; font-weight: inherit; cursor: pointer; }
.nav-links > a:not(.nav-cta)::after, .dropdown-toggle::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .18s ease;
}
.nav-links > a:hover, .nav-links > a[aria-current="page"], .dropdown-toggle:hover { color: var(--blue); }
.nav-links > a:hover::after, .nav-links > a[aria-current="page"]::after, .dropdown-toggle:hover::before, .dropdown-toggle[aria-current="page"]::before { transform: scaleX(1); }
.dropdown { position: relative; }
.dropdown-toggle::after { content: ""; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.dropdown-menu {
  position: absolute; left: -24px; top: 70px; width: 310px; padding: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .18s ease;
}
.dropdown-menu::before { content: "Services"; display: block; padding: 8px 12px 10px; color: #8793a7; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a { display: block; padding: 11px 12px; border-radius: 9px; color: #30405c; }
.dropdown-menu a:hover { background: var(--sky); color: var(--blue); }
.nav-toggle {
  display: none; width: 46px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: transparent; cursor: pointer; position: relative;
}
.nav-toggle::before, .nav-toggle::after { content: ""; position: absolute; left: 12px; width: 20px; height: 2px; background: var(--navy); transition: .2s ease; }
.nav-toggle::before { top: 14px; box-shadow: 0 6px 0 var(--navy); }
.nav-toggle::after { top: 26px; }
.nav-toggle[aria-expanded="true"]::before { top: 20px; box-shadow: none; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { top: 20px; transform: rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px;
  padding: 0 22px; border: 1px solid transparent; border-radius: 10px;
  font-size: 14px; font-weight: 850; letter-spacing: -.1px; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn::after { content: "→"; font-size: 17px; line-height: 1; transition: transform .18s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:hover::after { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-2); }
.btn-secondary { background: #fff; border-color: var(--line); color: var(--navy); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-text { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 850; }
.btn-text::after { content: "→"; font-size: 18px; transition: transform .18s ease; }
.btn-text:hover::after { transform: translateX(4px); }
.nav-cta { min-height: 44px !important; padding: 0 18px !important; color: #fff !important; }
.nav-cta::after { position: static !important; width: auto !important; height: auto !important; background: none !important; transform: none !important; content: "→" !important; }

/* Type */
h1, h2, h3, h4 { margin: 0; color: var(--navy); line-height: 1.08; letter-spacing: -.038em; }
h1 { font-size: clamp(48px, 6vw, 80px); font-weight: 850; }
h2 { font-size: clamp(34px, 4vw, 54px); font-weight: 830; }
h3 { font-size: 23px; font-weight: 820; }
h4 { font-size: 17px; font-weight: 800; }
p { margin-top: 0; }
.lead { max-width: 740px; margin: 0 0 32px; color: var(--muted); font-size: clamp(18px, 1.7vw, 21px); line-height: 1.65; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 4px; border-radius: 4px; background: var(--cyan); }

/* Home hero */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 104px 0 92px; background: var(--surface); border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; z-index: -1; left: -110px; bottom: -120px; width: 300px; height: 300px; border: 48px solid var(--cyan-soft); border-radius: 50%; }
.hero::after { content: ""; position: absolute; z-index: -1; top: 70px; right: 1.5%; width: 180px; height: 180px; border: 24px solid var(--sky); transform: rotate(12deg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); gap: 72px; align-items: center; }

/* Full-bleed image hero */
.hero.hero-full { padding: 0; min-height: 720px; display: flex; align-items: flex-end; background: var(--navy); border-bottom: 8px solid var(--cyan); }
.hero.hero-full::before, .hero.hero-full::after { display: none; }
.hero-media { position: absolute; inset: 0; z-index: -2; background-image: url('hero-banner.svg'); background-size: cover; background-position: center 38%; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(5,13,32,.08) 0%, rgba(5,13,32,.5) 60%, rgba(4,10,26,.94) 100%),
    linear-gradient(100deg, rgba(4,10,26,.9) 0%, rgba(4,10,26,.4) 40%, rgba(4,10,26,0) 62%);
}
.hero-full-inner { position: relative; z-index: 1; padding: 176px 0 80px; }
.hero-full .eyebrow { color: #fff; }
.hero-full .eyebrow::before { background: var(--cyan); }
.hero-full h1 { color: #fff; max-width: 780px; }
.hero-full h1::after { background: var(--cyan); }
.hero-full .lead { color: #c3cee4; max-width: 620px; }
.hero-full .hero-note { color: #9fb0cc; }
.hero-full .hero-note::before { background: rgba(255, 255, 255, .14); color: #6ee7d6; }
.hero h1 { max-width: 760px; margin-bottom: 26px; }
.hero h1::after { content: ""; display: block; width: 84px; height: 8px; margin-top: 24px; border-radius: 9px; background: var(--cyan); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 24px; color: #68758a; font-size: 14px; font-weight: 750; }
.hero-note::before { content: "✓"; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #e4f7f0; color: var(--success); font-weight: 900; }
.hero-panel {
  position: relative; overflow: hidden; padding: 36px; border-radius: var(--radius-lg);
  background: var(--navy); color: #fff; box-shadow: 18px 18px 0 #dfe7f6;
}
.hero-panel::before { content: ""; position: absolute; right: -48px; top: -48px; width: 150px; height: 150px; border: 22px solid #17346c; border-radius: 50%; }
.hero-panel::after { content: ""; position: absolute; left: 24px; bottom: -38px; width: 90px; height: 90px; background: #0e2b5d; transform: rotate(16deg); }
.hero-panel > * { position: relative; z-index: 1; }
.hero-panel .eyebrow { color: #fff !important; }
.hero-panel h2 { max-width: 500px; margin-bottom: 14px; color: #fff; font-size: clamp(28px, 2.5vw, 36px); }
.hero-panel > p { color: var(--muted-dark); }
.panel-list { margin-top: 26px; padding: 5px 18px; border: 1px solid #29406c; border-radius: 16px; background: #0c1c3d; }
.panel-row { display: grid; grid-template-columns: 45px 1fr; gap: 14px; align-items: start; padding: 18px 0; border-top: 1px solid #2a3d63; }
.panel-row:first-child { border-top: 0; }
.panel-number { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 900; }
.panel-row strong { display: block; margin-bottom: 3px; color: #fff; }
.panel-row span:last-child { color: #aab9d0; font-size: 14px; }
.capability-band { padding: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.capability-band .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.capability-item { display: flex; align-items: center; min-height: 104px; padding: 22px 28px; border-left: 1px solid var(--line); }
.capability-item:first-child { border-left: 0; }
.capability-item span { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; margin-right: 13px; border-radius: 10px; background: var(--sky); color: var(--blue); font-weight: 900; }
.capability-item strong { display: block; color: var(--navy); font-size: 14px; line-height: 1.35; }
.capability-item small { display: block; color: var(--muted); font-size: 12px; }

/* Inner page hero */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: 90px 0 78px; background: var(--navy); border-bottom: 8px solid var(--cyan); }
.page-hero::before { content: ""; position: absolute; z-index: -1; right: -70px; top: -80px; width: 280px; height: 280px; border: 44px solid #112a57; border-radius: 50%; }
.page-hero::after { content: ""; position: absolute; z-index: -1; left: 48%; bottom: -85px; width: 160px; height: 160px; background: #0e2450; transform: rotate(18deg); }
.page-hero .container { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 72px; align-items: end; }
.page-hero h1 { max-width: 870px; color: #fff; font-size: clamp(46px, 5.5vw, 72px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; color: #91a2bd; font-size: 13px; font-weight: 750; }
.breadcrumb a { color: #c7d4e8; }
.breadcrumb a:hover { color: #fff; }
.page-hero-aside { position: relative; padding: 27px 28px 27px 31px; border-radius: 16px; background: #fff; color: var(--ink); font-size: 18px; box-shadow: 12px 12px 0 #17366f; }
.page-hero-aside::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 5px; background: var(--cyan); }
.page-hero-aside::after { content: "↗"; position: absolute; right: 20px; top: -25px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--blue); color: #fff; font-weight: 900; }

/* Sections */
section { padding: 94px 0; }
.section-soft { background: var(--surface); }
.section-dark { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.section-dark::after { content: ""; position: absolute; right: -80px; bottom: -110px; width: 280px; height: 280px; border: 42px solid #102957; border-radius: 50%; }
.section-dark > .container { position: relative; z-index: 1; }
.section-blue { background: var(--blue); color: #fff; }
.section-blue h1, .section-blue h2, .section-blue h3, .section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-blue p { color: #dce6ff; }
.section-dark p, .section-dark .lead { color: var(--muted-dark); }
.section-head { max-width: 800px; margin-bottom: 44px; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { margin: 0; color: var(--muted); font-size: 18px; }
.section-dark .section-head p { color: var(--muted-dark); }
.two-col { display: grid; grid-template-columns: .88fr 1.12fr; gap: 80px; align-items: start; }
.two-col.equal { grid-template-columns: 1fr 1fr; }
.prose p { margin-bottom: 22px; color: var(--muted); font-size: 18px; }
.prose p:last-child { margin-bottom: 0; }
.quote-block { position: relative; padding: 26px 28px 26px 34px; border: 1px solid var(--line); border-left: 6px solid var(--cyan); border-radius: 0 14px 14px 0; background: var(--surface); color: var(--navy); font-size: 21px; font-weight: 760; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; overflow: hidden; min-height: 270px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(7,20,47,.02); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 5px; background: var(--blue); }
.card:nth-child(2)::before { background: var(--cyan); }
.card:nth-child(3)::before { background: var(--navy); }
.card:nth-child(4)::before { background: #5572df; }
.card:hover { transform: translateY(-6px); border-color: #c8d3e5; box-shadow: var(--shadow); }
.card.dark { background: var(--navy-2); border-color: #29406b; color: #fff; }
.card h3 { margin-bottom: 13px; }
.card.dark h3 { color: #fff; }
.card p { margin: 0 0 24px; color: var(--muted); }
.card.dark p { color: var(--muted-dark); }
.card-index { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.card-index::before { content: ""; width: 22px; height: 3px; background: currentColor; }
.card .btn-text { margin-top: auto; }
.icon-tile, .service-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 14px; background: var(--sky); color: var(--blue); font-weight: 900; }
.service-icon svg { width: 25px; height: 25px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.feature-list { border-top: 1px solid var(--line); }
.feature-row { display: grid; grid-template-columns: 58px 1fr; gap: 19px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.feature-row h3 { margin-bottom: 7px; font-size: 20px; }
.feature-row p { margin: 0; color: var(--muted); }
.feature-num { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid #d9e3f7; border-radius: 13px; background: var(--sky); color: var(--blue); font-size: 13px; font-weight: 900; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; margin-top: 28px; }
.check-item { position: relative; padding: 16px 16px 16px 48px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: #2c3a55; font-size: 14px; font-weight: 800; }
.check-item::before { content: "✓"; position: absolute; left: 16px; top: 14px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: #e6f6f1; color: var(--success); font-size: 12px; font-weight: 950; }
.tag-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.tag { padding: 10px 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: #3a4861; font-size: 13px; font-weight: 750; }
.hero-panel .tag, .section-dark .tag { border-color: #334a75; background: #10254d; color: #dbe5f5; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step { position: relative; min-height: 210px; padding: 26px 20px 20px; border: 1px solid #29406b; border-radius: 15px; background: #0d1d3d; }
.step::before { content: ""; position: absolute; left: 19px; top: 0; width: 42px; height: 4px; background: var(--cyan); }
.step small { color: #7f94b2; font-size: 11px; font-weight: 900; letter-spacing: .13em; }
.step h3 { margin: 16px 0 10px; color: #fff; font-size: 20px; }
.step p { margin: 0; color: #aebbd0; font-size: 14px; }
.process-list { counter-reset: proc; border-top: 1px solid var(--line); }
.process-item { counter-increment: proc; position: relative; display: grid; grid-template-columns: 76px 1fr; padding: 25px 0; border-bottom: 1px solid var(--line); }
.process-item::before { content: counter(proc, decimal-leading-zero); color: var(--blue); font-size: 17px; font-weight: 950; }
.process-item strong { display: block; margin-bottom: 4px; color: var(--navy); }
.process-item span { color: var(--muted); }

/* CTAs */
.split-cta { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.split-box { position: relative; overflow: hidden; padding: 54px; }
.split-box:first-child { background: var(--surface); }
.split-box:last-child { background: var(--cyan-soft); }
.split-box::after { content: ""; position: absolute; right: -42px; bottom: -42px; width: 112px; height: 112px; border: 20px solid rgba(36,87,245,.08); border-radius: 50%; }
.split-box > * { position: relative; z-index: 1; }
.split-box h2 { margin-bottom: 16px; font-size: clamp(30px, 3vw, 43px); }
.split-box p { margin-bottom: 25px; color: var(--muted); font-size: 17px; }
.cta-section { padding-top: 0; }
.cta-box { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; align-items: center; padding: 58px; border-radius: var(--radius-lg); background: var(--blue); color: #fff; }
.cta-box::before { content: ""; position: absolute; left: -55px; top: -55px; width: 150px; height: 150px; border: 25px solid rgba(255,255,255,.10); border-radius: 50%; }
.cta-box::after { content: ""; position: absolute; right: 30%; bottom: -75px; width: 130px; height: 130px; background: rgba(7,20,47,.14); transform: rotate(16deg); }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { margin-bottom: 16px; color: #fff; }
.cta-box p { margin: 0; color: #dce6ff; font-size: 18px; }
.cta-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }
.service-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-nav a { position: relative; min-height: 92px; display: flex; align-items: center; padding: 20px 50px 20px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--navy); font-weight: 850; transition: .18s ease; }
.service-nav a::after { content: "→"; position: absolute; right: 18px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: var(--sky); color: var(--blue); }
.service-nav a:hover { transform: translateY(-3px); border-color: #bfcce2; box-shadow: var(--shadow-sm); }

/* Forms */
.form-wrap { display: grid; grid-template-columns: .72fr 1.28fr; gap: 50px; }
.contact-panel { position: sticky; top: 116px; overflow: hidden; height: max-content; padding: 38px; border-radius: var(--radius); background: var(--navy); color: #fff; box-shadow: 12px 12px 0 var(--sky); }
.contact-panel::after { content: ""; position: absolute; right: -44px; bottom: -44px; width: 118px; height: 118px; border: 20px solid #143267; border-radius: 50%; }
.contact-panel > * { position: relative; z-index: 1; }
.contact-panel h2, .contact-panel h3 { color: #fff; }
.contact-panel p { color: var(--muted-dark); }
.contact-item { padding: 18px 0; border-top: 1px solid #2b416b; }
.contact-item strong { display: block; margin-bottom: 4px; color: #fff; }
.contact-item span { color: #acbad0; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label { color: #263550; font-size: 13px; font-weight: 850; }
.required { color: var(--danger); }
input, textarea, select { width: 100%; min-height: 50px; padding: 13px 14px; border: 1px solid #cad5e5; border-radius: 10px; background: #fff; color: var(--ink); transition: border .15s ease, box-shadow .15s ease; }
input::placeholder, textarea::placeholder { color: #97a3b5; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--sky); }
textarea { min-height: 150px; resize: vertical; }
.consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 13px; }
.consent input { width: 18px; min-height: 18px; margin-top: 3px; }
.form-status { display: none; grid-column: 1 / -1; padding: 14px 16px; border-radius: 10px; background: #e7f6f1; color: #08624f; font-weight: 750; }
.form-status.show { display: block; }
.notice { padding: 17px 19px; border: 1px solid #d9c68a; border-left: 5px solid #bd9f42; border-radius: 10px; background: #fffaf0; color: #695821; }
.empty-state { position: relative; overflow: hidden; padding: 44px; border: 1px dashed #b8c5d8; border-radius: var(--radius); background: #fff; text-align: center; }
.empty-state::before { content: ""; display: block; width: 58px; height: 58px; margin: 0 auto 20px; border: 12px solid var(--sky); border-radius: 50%; background: var(--blue); }
.empty-state p { max-width: 650px; margin: 0 auto 22px; color: var(--muted); }

/* Insights and legal */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .2s ease; }
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.article-thumb { position: relative; overflow: hidden; height: 180px; display: grid; place-items: center; background: var(--sky); color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.article-thumb::before { content: ""; position: absolute; left: 24px; top: 28px; width: 88px; height: 88px; border: 18px solid #dce6fb; border-radius: 50%; }
.article-thumb::after { content: ""; position: absolute; right: 26px; bottom: 24px; width: 78px; height: 78px; background: #d8f4f7; transform: rotate(15deg); }
.article-thumb { isolation: isolate; }
.article-thumb > * { z-index: 1; }
.article-body { padding: 26px; }
.article-body h3 { margin-bottom: 12px; }
.article-body p { color: var(--muted); }
.legal { max-width: 850px; }
.legal h2 { margin-top: 46px; font-size: 32px; }
.legal h3 { margin-top: 30px; font-size: 21px; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
footer { position: relative; overflow: hidden; padding: 70px 0 26px; background: #050e21; color: #fff; }
footer::after { content: ""; position: absolute; right: -90px; top: -90px; width: 250px; height: 250px; border: 40px solid #0c2148; border-radius: 50%; }
.footer-grid, .footer-bottom { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { max-width: 400px; margin-top: 22px; color: #9baac0; }
.footer-col h4 { margin-bottom: 18px; color: #7386a2; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.footer-col a { display: block; margin: 10px 0; color: #c5d0df; font-size: 14px; }
.footer-col a:hover { color: #fff; transform: translateX(2px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 22px; margin-top: 50px; padding-top: 23px; border-top: 1px solid #203354; color: #8090a7; font-size: 13px; }

/* Small enhancements */
[data-reveal] { transition: transform .5s ease, opacity .5s ease; }
.js [data-reveal] { opacity: 0; transform: translateY(18px); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
body.page-404 .page-hero { min-height: 60vh; display: grid; align-items: center; }
body.page-404 .page-hero h1 { max-width: 760px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 1060px) {
  .hero-grid, .page-hero .container, .two-col, .two-col.equal, .form-wrap { grid-template-columns: 1fr; }
  .hero-grid { gap: 54px; }
  .hero-panel { max-width: 760px; }
  .page-hero-aside { max-width: 680px; }
  .cards, .cards.four, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .service-nav { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > .footer-col:last-child { grid-column: 2 / 4; }
  .cta-box { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .contact-panel { position: relative; top: auto; max-width: 680px; }
  .capability-band .container { grid-template-columns: repeat(2, 1fr); }
  .capability-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .capability-item:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 820px) {
  .topbar { display: none; }
  .container { width: min(calc(100% - 34px), var(--max)); }
  .nav { min-height: 72px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; left: 0; right: 0; top: 72px; bottom: 0; z-index: 90;
    display: none; overflow-y: auto; padding: 18px 20px 36px; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links > a, .dropdown-toggle { min-height: auto; width: 100%; padding: 14px 0; justify-content: space-between; border-bottom: 1px solid var(--line); text-align: left; }
  .nav-links > a:not(.nav-cta)::after, .dropdown-toggle::before { display: none; }
  .nav-cta { margin-top: 18px; border-bottom: 0 !important; justify-content: center !important; }
  .dropdown-menu { position: static; display: none; width: auto; padding: 8px 0 9px 15px; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .dropdown-menu::before { display: none; }
  .dropdown.open .dropdown-menu { display: block; }
  .dropdown:hover .dropdown-menu { display: none; }
  .dropdown.open:hover .dropdown-menu { display: block; }
  .hero { padding: 76px 0 68px; }
  .hero.hero-full { min-height: 600px; }
  .hero-full-inner { padding: 132px 0 56px; }
  .page-hero { padding: 68px 0 62px; }
  section { padding: 72px 0; }
  .split-cta { grid-template-columns: 1fr; }
  .check-grid, form { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > .footer-col:last-child { grid-column: auto; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-box { padding: 44px; }
  .cards, .cards.four, .article-grid { grid-template-columns: 1fr; }
  .service-nav { grid-template-columns: 1fr; }
  .hero h1::after { height: 6px; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  h1 { font-size: 43px; }
  h2 { font-size: 34px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-panel { padding: 27px; border-radius: 20px; box-shadow: 10px 10px 0 #dfe7f6; }
  .hero.hero-full { min-height: 540px; }
  .hero-full-inner { padding: 112px 0 44px; }
  .page-hero .container { gap: 40px; }
  .page-hero-aside { padding: 24px 23px 24px 27px; font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .split-box { padding: 38px 27px; }
  .cta-box { padding: 38px 27px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .capability-band .container { grid-template-columns: 1fr; }
  .capability-item { border-left: 0; border-top: 1px solid var(--line); }
  .capability-item:first-child { border-top: 0; }
  .form-wrap { gap: 36px; }
  form { padding: 24px; }
  .contact-panel { padding: 30px; box-shadow: 8px 8px 0 var(--sky); }
}
/* Specificity fix for the header call-to-action. */
.nav-links > a.nav-cta { background: var(--blue) !important; border-color: var(--blue) !important; color: #fff !important; }
.nav-links > a.nav-cta:hover { background: var(--blue-2) !important; }
/* Keep content visible even when scripts or observers are unavailable. */
.js [data-reveal], [data-reveal] { opacity: 1; transform: none; }
