:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #eef3f8;
  --text: #17212b;
  --muted: #5d6b7a;
  --line: #dce5ef;
  --brand: #12395a;
  --brand-2: #0b6fa4;
  --brand-3: #dcecf6;
  --accent: #b8872e;
  --shadow: 0 18px 50px rgba(16, 38, 61, 0.11);
  --radius: 22px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  background: var(--brand);
  color: #fff;
  padding: 10px 14px;
  z-index: 1000;
  border-radius: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(220, 229, 239, 0.8);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.brand-lockup:hover { text-decoration: none; }
.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: 0 10px 22px rgba(11, 111, 164, 0.22);
}
.brand-text strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  color: var(--brand);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
}
.primary-nav a { color: var(--text); }
.primary-nav a[aria-current="page"] {
  color: var(--brand-2);
  font-weight: 700;
}
.primary-nav .button-small { color: #fff; }

.button,
.button-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
  border: 0;
}
.button:hover,
.button-small:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.button {
  min-height: 50px;
  padding: 13px 22px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 28px rgba(18, 57, 90, 0.22);
}
.button.secondary {
  background: #fff;
  color: var(--brand);
  border: 1px solid var(--line);
  box-shadow: none;
}
.button.ghost {
  background: transparent;
  color: var(--brand);
  box-shadow: none;
  border: 1px solid var(--line);
}
.button-small {
  min-height: 42px;
  padding: 10px 16px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(18, 57, 90, 0.18);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at 18% 16%, rgba(11, 111, 164, 0.15), transparent 34%),
    linear-gradient(135deg, #f9fbfd 0%, #edf4f9 100%);
}
.hero:after {
  content: "";
  position: absolute;
  inset: auto -80px -170px auto;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: rgba(184, 135, 46, 0.10);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 42px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--brand-2);
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.eyebrow:before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--accent);
}
h1,
h2,
h3 {
  margin: 0;
  color: var(--brand);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2.45rem, 5vw, 4.9rem);
  max-width: 820px;
}
h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 18px;
}
h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}
.lead {
  margin: 22px 0 0;
  color: #3a4856;
  font-size: clamp(1.08rem, 1.7vw, 1.33rem);
  max-width: 760px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}
.fact {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}
.fact strong {
  display: block;
  font-size: 1.03rem;
  color: var(--brand);
}
.fact span {
  display: block;
  margin-top: 3px;
  font-size: 0.91rem;
  color: var(--muted);
}

.profile-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}
.profile-initials {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  margin-bottom: 20px;
}
.profile-card ul {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.profile-card li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  margin: 12px 0;
  color: #334250;
}
.profile-card li:before {
  content: "✓";
  color: var(--brand-2);
  font-weight: 900;
}

.section {
  padding: 74px 0;
}
.section.compact { padding: 48px 0; }
.section-alt { background: #fff; }
.section-head {
  max-width: 800px;
  margin-bottom: 34px;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.07rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.card,
.service-card,
.contact-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 12px 32px rgba(16, 38, 61, 0.07);
}
.service-card p,
.card p { margin: 0; color: var(--muted); }
.service-card .icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--brand-3);
  color: var(--brand);
  font-weight: 900;
}

.two-col {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.feature-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 17px 18px;
}
.feature-list strong {
  display: block;
  color: var(--brand);
  margin-bottom: 2px;
}
.feature-list span { color: var(--muted); }

.process {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.step:before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  margin-bottom: 18px;
}
.step p { margin: 0; color: var(--muted); }

.cta-band {
  background: linear-gradient(135deg, var(--brand), #0d5278);
  color: #fff;
  border-radius: 30px;
  padding: 38px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; }
.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  max-width: 760px;
}
.cta-band .button { background: #fff; color: var(--brand); box-shadow: none; }

.page-hero {
  padding: 70px 0 48px;
  background: linear-gradient(135deg, #f9fbfd 0%, #edf4f9 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.25rem, 4.4vw, 4.2rem); }
.page-hero p { max-width: 820px; }

.service-detail {
  display: grid;
  grid-template-columns: 0.35fr 0.65fr;
  gap: 26px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.service-detail:first-child { border-top: 0; padding-top: 0; }
.service-detail p { color: var(--muted); margin-top: 0; }
.service-detail ul { margin: 0; color: #334250; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}
.contact-panel h2 { margin-bottom: 14px; }
.contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.contact-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.contact-list strong { display: block; color: var(--brand); }
.contact-list span { color: var(--muted); }
.notice {
  background: #fff8e9;
  border: 1px solid #efd8a6;
  color: #5c4316;
  border-radius: 16px;
  padding: 14px 16px;
}

.footer {
  padding: 42px 0;
  background: #0d1d2c;
  color: rgba(255, 255, 255, 0.72);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px;
}
.footer a { color: #fff; }
.footer h2,
.footer h3 { color: #fff; font-size: 1.08rem; margin-bottom: 12px; }
.footer p { margin: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 8px 0; }
.copyright {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 10px 12px; }
  .primary-nav .button-small { margin-top: 4px; }
  .hero-grid,
  .two-col,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .card-grid,
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--max)); }
  .header-inner { min-height: 68px; }
  .brand-text span { display: none; }
  .hero { padding: 62px 0 50px; }
  .quick-facts,
  .card-grid,
  .process { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .cta-band { padding: 26px; border-radius: 22px; }
  .profile-card,
  .card,
  .service-card,
  .contact-panel { padding: 22px; }
}
