@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #f4efe3;
  --bg-soft: #ece4d4;
  --paper: #fffdf8;
  --paper-soft: #f7f2e8;
  --ink: #13263e;
  --ink-soft: #2f4660;
  --muted: #617285;
  --line: rgba(19, 38, 62, .14);
  --line-strong: rgba(19, 38, 62, .24);
  --navy: #12395e;
  --navy-deep: #0d2a45;
  --gold: #b98f3f;
  --gold-soft: rgba(185, 143, 63, .24);
  --ok: #0c6957;
  --err: #991b1b;
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 10px 28px rgba(6, 20, 35, .08);
  --shadow-md: 0 20px 44px rgba(6, 20, 35, .12);
  --shadow-lg: 0 36px 90px rgba(6, 20, 35, .18);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 520px at -10% -12%, rgba(18, 57, 94, .16), transparent 56%),
    radial-gradient(800px 460px at 108% 4%, rgba(185, 143, 63, .18), transparent 58%),
    linear-gradient(180deg, var(--bg), #f9f5ec 42%, #fbf8f1 100%);
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { text-decoration-color: rgba(18, 57, 94, .45); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(11, 106, 89, .72);
  outline-offset: 2px;
}

p { margin: 0 0 12px; }

.container {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

.muted { color: var(--muted); }
.small { font-size: 13px; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -50px;
  z-index: 160;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
  padding: 8px 14px;
  text-decoration: none;
  font-weight: 900;
}

.skip-link:focus-visible {
  top: 12px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(12px) saturate(160%);
  background: rgba(252, 248, 239, .92);
  border-bottom: 1px solid var(--line);
}

.header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .45;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 96px;
  max-height: 82px;
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(6, 20, 35, .12));
}

.brand-sub strong {
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .01em;
}

.brand-sub span {
  display: none;
  font-size: 11px;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .76);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .02em;
  cursor: pointer;
}

.nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .01em;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}

.nav a:hover { background: rgba(18, 57, 94, .08); }
.nav a.is-active {
  background: rgba(18, 57, 94, .14);
  color: var(--navy);
}

.nav a.btn,
.nav a.btn:visited {
  color: #fff;
}

.nav a.btn:hover {
  color: #fff;
  background: linear-gradient(145deg, var(--navy), var(--navy-deep));
}

.nav .btn.is-active {
  color: #fff;
  background: linear-gradient(145deg, var(--navy), var(--navy-deep));
  box-shadow: 0 18px 30px rgba(18, 57, 94, .25);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(18, 57, 94, .18);
  border-radius: 999px;
  padding: 11px 18px;
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .02em;
  color: #fff;
  background: linear-gradient(145deg, var(--navy), var(--navy-deep));
  box-shadow: 0 16px 30px rgba(18, 57, 94, .22);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 22px 34px rgba(18, 57, 94, .25);
}

.btn:visited { color: #fff; }

.btn-ghost {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, .66);
  box-shadow: none;
}

.btn-ghost:visited { color: var(--ink); }

.btn-ghost:hover {
  background: rgba(18, 57, 94, .06);
  box-shadow: none;
}

.btn-small {
  padding: 8px 12px;
  font-size: 12px;
}

.kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -.01em;
}

h1 {
  font-size: clamp(34px, 5.2vw, 56px);
  letter-spacing: -.018em;
}

h2 {
  font-size: clamp(28px, 3.1vw, 38px);
}

h3 {
  font-size: 22px;
  line-height: 1.18;
}

.lead {
  font-size: clamp(18px, 2.1vw, 22px);
  color: var(--ink-soft);
  line-height: 1.62;
}

.section {
  position: relative;
  padding: 66px 0;
}

.section::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.section-alt {
  background:
    radial-gradient(620px 180px at 50% -8%, rgba(185, 143, 63, .14), transparent 66%),
    var(--paper-soft);
}

.section-soft {
  background:
    radial-gradient(560px 220px at 10% -12%, rgba(18, 57, 94, .10), transparent 62%),
    linear-gradient(180deg, #f5eee2, #f2ebdf);
}

.section-navy {
  background:
    radial-gradient(720px 380px at 98% -12%, rgba(185, 143, 63, .20), transparent 60%),
    linear-gradient(170deg, #153a5e, #0c2741 58%, #0a2035);
  color: #ecf3ff;
}

.section-navy h1,
.section-navy h2,
.section-navy h3 { color: #f5f9ff; }

.pagehead {
  padding: 76px 0 42px;
  background:
    radial-gradient(520px 200px at 12% -4%, rgba(185, 143, 63, .20), transparent 66%),
    radial-gradient(680px 220px at 92% 4%, rgba(18, 57, 94, .18), transparent 68%),
    linear-gradient(180deg, #efe6d6, #f6efe2);
  border-bottom: 1px solid var(--line);
}

.pagehead h1 { margin-bottom: 8px; }

.page-services .pagehead-services {
  padding: 62px 0 34px;
}

.page-services .services-table-wrap {
  padding: 0;
  overflow: hidden;
}

.page-services .services-table {
  width: 100%;
  border-collapse: collapse;
}

.page-services .services-table th,
.page-services .services-table td {
  vertical-align: top;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.page-services .services-table thead th {
  text-align: left;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  background: linear-gradient(180deg, rgba(18, 57, 94, .06), rgba(255, 255, 255, .94));
}

.page-services .services-table tbody tr:last-child th,
.page-services .services-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-services .services-table .services-table-title {
  width: 28%;
  font-size: clamp(28px, 2.2vw, 36px);
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -.005em;
}

.page-services .services-table .services-table-focus {
  width: 30%;
  font-size: 16px;
  line-height: 1.56;
  color: var(--ink-soft);
}

.page-services .services-table .check-compact {
  margin: 0;
  gap: 7px;
}

.page-services .services-table .check-compact li {
  font-size: 15px;
  line-height: 1.48;
  padding-left: 27px;
}

.page-services .services-table .check-compact li::before {
  top: 2px;
}

.page-services .services-table .check-compact li::after {
  top: 8px;
}

.page-services .service-card {
  height: 100%;
}

.page-services .services-split {
  align-items: stretch;
}

.page-services .services-split .service-card h2 {
  font-size: clamp(30px, 2.3vw, 36px);
  line-height: 1.14;
}

.page-services .services-split .service-card h3 {
  font-size: clamp(28px, 2.1vw, 33px);
  line-height: 1.16;
}

.grid-2,
.grid-3,
.split,
.quotes {
  display: grid;
  gap: 18px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split { grid-template-columns: 1.2fr .8fr; }
.quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card,
.quote,
.step {
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .92));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.card,
.quote { padding: 22px; }

.quote blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
}

.quote figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.divider {
  height: 1px;
  margin: 16px 0;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.check {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.check li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  line-height: 1.62;
}

.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 19px;
  height: 19px;
  border-radius: 7px;
  border: 1px solid rgba(18, 57, 94, .26);
  background: linear-gradient(145deg, rgba(18, 57, 94, .16), rgba(185, 143, 63, .30));
}

.check li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.timeline { display: grid; gap: 14px; }

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: start;
  gap: 14px;
  padding: 18px;
}

.step-no {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(18, 57, 94, .26);
  background: linear-gradient(145deg, rgba(18, 57, 94, .16), rgba(185, 143, 63, .34));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
}

.panel {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}

.box {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-sm);
}

.panel-title {
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}

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

.legal-card {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .9));
  box-shadow: var(--shadow-sm);
}

.stat-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
}

.stat {
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .7);
}

.stat strong {
  display: block;
  font-size: 22px;
  color: var(--navy);
  line-height: 1.12;
}

.stat span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.footer {
  margin-top: 64px;
  padding: 46px 0 26px;
  color: #dce7f7;
  background:
    radial-gradient(620px 360px at 6% -12%, rgba(185, 143, 63, .20), transparent 62%),
    linear-gradient(170deg, #0f2a46, #0a1d31 66%);
}

.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.3fr 1fr 1fr;
}

.footer a {
  color: #e8f1ff;
  text-decoration: none;
}

.footer a:hover { text-decoration: underline; }

.footer-brand {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 28px;
  letter-spacing: .01em;
}

.footer-title {
  margin-bottom: 10px;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-size: 12px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(226, 232, 240, .20);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.mini {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, .22);
  background: rgba(226, 232, 240, .10);
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 900;
}

@keyframes fade-lift {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pagehead,
.card,
.quote,
.step {
  animation: fade-lift .62s ease both;
}

.js .reveal-target {
  opacity: 0;
  transform: translateY(16px);
}

.js .reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .56s ease, transform .56s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.grid-2 > *:nth-child(2),
.grid-3 > *:nth-child(2),
.quotes > *:nth-child(2),
.timeline > *:nth-child(2) { animation-delay: .06s; }

.grid-3 > *:nth-child(3),
.quotes > *:nth-child(3),
.timeline > *:nth-child(3) { animation-delay: .12s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1060px) {
  .header-row { align-items: center; }
  .brand-logo { width: 88px; max-height: 72px; }
  .brand-sub strong { font-size: 11px; }
  .grid-3,
  .quotes,
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .page-services .services-table-wrap { overflow-x: auto; }
  .page-services .services-table { min-width: 840px; }
  .page-services .services-table .services-table-title { font-size: clamp(24px, 2.9vw, 30px); }
}

@media (max-width: 820px) {
  .container { padding: 0 16px; }
  .section { padding: 50px 0; }
  .grid-2,
  .grid-3,
  .quotes,
  .legal-grid,
  .stat-grid { grid-template-columns: 1fr; }
  .page-services .pagehead-services { padding: 50px 0 26px; }
  .page-services .services-table { min-width: 760px; }
  .page-services .services-table th,
  .page-services .services-table td { padding: 13px 14px; }
  .page-services .services-table .services-table-title { font-size: clamp(22px, 5.2vw, 28px); }
  .page-services .services-table .services-table-focus,
  .page-services .services-table .check-compact li { font-size: 14px; }
  .header-row {
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 8px;
  }
  .brand-sub { display: none; }
  .brand-logo { width: 96px; max-height: 78px; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav { width: 100%; }
  .js .nav {
    display: none;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .9);
    padding: 8px;
    box-shadow: var(--shadow-sm);
  }
  .js .nav.is-open { display: grid; gap: 6px; }
  .nav a {
    width: 100%;
    text-align: left;
    border-radius: 11px;
    padding: 10px 12px;
  }
  .footer-grid { grid-template-columns: 1fr; }
}
