:root {
  --navy: #0c2341;
  --navy-2: #16345c;
  --ink: #142033;
  --muted: #526074;
  --line: #e3e8f0;
  --paper: #f5f7fb;
  --white: #ffffff;
  --header-h: 84px;
  --shadow: 0 16px 40px rgba(12, 35, 65, 0.08);
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  color-scheme: light;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3, p { text-wrap: pretty; }

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 12px; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.05rem); margin: 0 0 12px; }
h3 { font-size: 1.15rem; margin: 0 0 8px; }

p { margin: 0 0 1rem; }

::selection {
  background: var(--navy);
  color: white;
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: white;
  color: var(--navy);
  padding: 8px 12px;
  z-index: 80;
  border-radius: 8px;
}

.skip:focus { top: 12px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  min-height: var(--header-h);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(12, 35, 65, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  flex: 0 0 auto;
}

.logo {
  height: 56px;
  width: auto;
}

.site-footer .logo { height: 58px; }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav > a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
}

.nav > a:hover,
.nav > a[aria-current="page"] {
  color: var(--navy);
}

.nav > a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--navy);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

.menu-btn {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  place-items: center;
  cursor: pointer;
  border-radius: 8px;
}

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease, top 0.2s ease, background 0.2s ease;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger::before { top: -7px; }
.burger::after { top: 7px; }

.is-open .burger { background: transparent; }
.is-open .burger::before { top: 0; transform: rotate(45deg); }
.is-open .burger::after { top: 0; transform: rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: -0.01em;
}

.btn-solid {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.btn-solid:hover { background: var(--navy-2); }

.btn-outline {
  background: white;
  color: var(--navy);
  border-color: #c9d2df;
}

.btn-outline:hover { border-color: var(--navy); }

.btn-light {
  background: white;
  color: var(--navy);
  border-color: white;
}

.btn-light:hover { background: #f4f7fb; }

.btn-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.hero {
  background:
    radial-gradient(820px 380px at 100% 0%, rgba(255, 255, 255, 0.08), transparent 60%),
    var(--navy);
  color: white;
}

.hero :is(h1, h2) { color: white; }

.hero-grid {
  display: block;
  padding: 84px 0 36px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.5rem, 4.6vw, 4.15rem);
  max-width: 12ch;
}

.hero-copy > p {
  max-width: 38ch;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-card {
  background: white;
  color: var(--ink);
  border-radius: 16px;
  padding: 28px 28px 10px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
}

.hero-card h2 {
  color: var(--navy);
  font-size: 1.45rem;
  margin: 0 0 6px;
}

.kicker {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-card ol {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.hero-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.hero-card a:hover strong { text-decoration: underline; }

.hero-card li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.hero-card strong {
  display: block;
  color: var(--navy);
  margin-bottom: 2px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  font-size: 0.95rem;
}

.section { padding: 84px 0; }

.section-head { text-align: center; margin-bottom: 36px; }

.section-head h2,
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 12px;
}

.lede {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 42rem;
}

.section-head .lede { margin-inline: auto; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}


.service-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 210px;
  padding: 22px;
  border: 1px solid #e6ebf2;
  border-radius: 14px;
  background: white;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.icon-wrap {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--navy);
}

.icon { width: 26px; height: 26px; }

.service-card h3 {
  margin: 4px 0 0;
  font-size: 1.15rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.more {
  margin-top: auto;
  padding-top: 14px;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.92rem;
}

.about-grid,
.split,
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}

.about-grid h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0 0 16px; }

.principal {
  background: var(--paper);
  border-radius: 16px;
  padding: 32px 32px 28px;
}

.principal h2,
.principal h3 {
  margin: 0 0 8px;
  font-size: 1.7rem;
}

.credential {
  margin: 0 0 16px;
  font-weight: 700;
  color: var(--navy);
}

.principal p { color: var(--muted); }

.rule {
  border: 0;
  border-top: 1px solid #d9e0ea;
  margin: 20px 0 16px;
}

.contact-line { color: var(--ink); }
.contact-line a { color: var(--navy); font-weight: 600; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.step span {
  display: block;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  margin-bottom: 10px;
}

.step h3 { margin: 0 0 8px; font-size: 1.15rem; }
.step p { margin: 0; color: var(--muted); }

.band { background: var(--paper); }

.cta-panel {
  background: var(--navy);
  color: white;
  border-radius: 18px;
  text-align: center;
  padding: 64px 32px;
}

.cta-panel h2 {
  color: white;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 12px;
}

.cta-panel p {
  max-width: 38rem;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.86);
  padding: 56px 0 28px;
}

.site-footer .brand { color: white; }

.socials {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.socials a,
.socials .social {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: grid;
  place-items: center;
  color: white;
}

.socials svg { width: 18px; height: 18px; }

.socials a:hover {
  background: white;
  color: var(--navy);
  text-decoration: none;
}

.socials .is-idle {
  opacity: 0.4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 0.8fr;
  gap: 32px;
}

.footer-tag { max-width: 36ch; margin-top: 16px; }

.footer-label {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
}

.site-footer a { color: white; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .socials a:hover { text-decoration: none; }

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li { margin: 0 0 8px; }

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.92rem;
}

.footer-base p { margin: 0; }

.page-hero {
  background: var(--navy);
  color: white;
  padding: 64px 0 56px;
}

.page-hero h1 { color: white; max-width: 16ch; }
.page-hero .lede { color: rgba(255, 255, 255, 0.84); margin: 0; }

.crumb {
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}

.crumb a { color: white; }

.subnav-wrap {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  background: white;
  border-bottom: 1px solid var(--line);
}

.subnav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
}

.subnav a {
  text-decoration: none;
  white-space: nowrap;
  font-weight: 650;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  padding: 8px 12px;
  border-radius: 999px;
}

.subnav a:hover { background: var(--paper); }

.service-block {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px 22px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 140px;
}

.service-block .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--paper);
}

.service-block h2 { margin: 6px 0 8px; font-size: 1.7rem; }
.service-block .lede { margin-bottom: 8px; }

.ticks {
  list-style: none;
  padding: 0;
  margin: 8px 0 16px;
}

.ticks li {
  position: relative;
  padding-left: 18px;
  margin: 8px 0;
}

.ticks li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--navy);
  position: absolute;
  left: 0;
  top: 0.55em;
}

.text-link {
  color: var(--navy);
  font-weight: 700;
  text-underline-offset: 3px;
}

.facts {
  background: var(--paper);
  border-radius: 16px;
  padding: 28px;
}

.facts h2 { margin-top: 0; font-size: 1.35rem; }

.facts a { color: var(--navy); font-weight: 700; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 20px;
}

.guide-card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  background: white;
  min-height: 180px;
}

.guide-card:hover { border-color: var(--navy); }

.guide-card span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.guide-card h2 { margin: 0 0 8px; font-size: 1.3rem; }
.guide-card p { margin: 0; color: var(--muted); }

article.guide {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
  max-width: 760px;
}

article.guide h2 { font-size: 1.8rem; margin-bottom: 8px; }

.note {
  background: var(--paper);
  border-radius: 12px;
  padding: 16px 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-card,
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.form-row { margin-bottom: 14px; }
.span-2 { grid-column: span 2; }

label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--navy);
}

input, select, textarea {
  width: 100%;
  border: 1px solid #d5dce6;
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: white;
}

textarea { min-height: 140px; resize: vertical; }

.was-validated input:invalid,
.was-validated select:invalid,
.was-validated textarea:invalid {
  border-color: #9b2c2c;
}

.fine {
  color: var(--muted);
  font-size: 0.9rem;
}

.map {
  margin-top: 28px;
  height: 380px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.map iframe { width: 100%; height: 100%; border: 0; }

.portal-list { margin: 0; padding-left: 18px; }
.portal-list li { margin: 8px 0; }

.thanks {
  min-height: 52vh;
  display: grid;
  align-items: center;
}

.hero :focus-visible,
.site-footer :focus-visible,
.cta-panel :focus-visible,
.page-hero :focus-visible {
  outline-color: white;
}

@media (max-width: 980px) {
  .menu-btn { display: grid; }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 22px 22px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(12, 35, 65, 0.06);
  }

  .site-header.is-open .nav { display: flex; }

  .nav > a {
    padding: 12px 2px;
    font-size: 1.05rem;
    box-shadow: none;
  }

  .nav > a[aria-current="page"] { box-shadow: none; }

  .nav-cta {
    flex-direction: column;
    align-items: stretch;
    margin: 12px 0 0;
    gap: 10px;
  }

  .nav-cta .btn { width: 100%; }

  .hero-grid,
  .about-grid,
  .split,
  .contact-grid,
  .service-grid,
  .steps,
  .work-grid,
  .guide-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .span-2 { grid-column: auto; }

  .hero-grid { padding: 48px 0 28px; gap: 28px; }

  .hero h1 { max-width: 11ch; }

  .service-block { grid-template-columns: 1fr; }

  .footer-grid { gap: 28px; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .section { padding: 56px 0; }
  .hero-actions .btn {
    flex: 1;
    font-size: 0.88rem;
    padding: 0 10px;
    white-space: nowrap;
  }
  .cta-panel { padding: 42px 20px; }
  .principal, .form-card, .panel, .facts { padding: 22px; }
  .logo { height: 38px; }
  .site-footer .logo { height: 48px; }
  .page-hero { padding: 42px 0 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service-card,
  .burger,
  .burger::before,
  .burger::after { transition: none; }
}
