:root {
  color-scheme: light;
  --ink: #172743;
  --muted: #4e607b;
  --night: #101f3a;
  --page: #f5f8fd;
  --white: #fff;
  --line: #dce5f3;
  --accent: #275cc1;
  --accent-ink: #224b8b;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--page); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.62; }
img { max-width: 100%; display: block; }
a { color: #224d91; text-underline-offset: .18em; }
a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible { outline: 3px solid #285fc9; outline-offset: 3px; }
.wrap { width: min(1160px, calc(100% - 44px)); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; transform: translateY(-180%); z-index: 30; padding: .55rem 1rem; background: white; }
.skip:focus { transform: none; }
.site-header { position: relative; z-index: 2; color: #172b4f; background: #ffffff; border-bottom: 1px solid var(--line); }
.header-row { min-height: 75px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: #142c59; text-decoration: none; font-size: .98rem; font-weight: 800; letter-spacing: .06em; flex: none; }
.brand b { display: grid; width: 2.25rem; aspect-ratio: 1; place-items: center; border: 1px solid var(--accent); color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-size: 1.14rem; }
.brand span { line-height: 1.1; }
.brand small { display: block; color: #49658f; font-size: .62rem; margin-top: .25rem; }
.nav { display: flex; align-items: center; gap: clamp(.72rem, 1.8vw, 1.55rem); }
.nav a, .nav summary { color: #1b3559; font-size: .91rem; font-weight: 650; text-decoration: none; }
.nav a[aria-current=page], .nav a:hover, .nav summary:hover { color: var(--accent); }
.nav details { position: relative; }
.nav summary { cursor: pointer; }
.submenu { position: absolute; top: calc(100% + .6rem); left: 0; width: max-content; max-width: min(22rem, 88vw); display: grid; padding: .45rem; border-radius: .55rem; background: #ffffff; box-shadow: 0 14px 40px #14274f2b; border: 1px solid var(--line); z-index: 3; }
.nav details:not([open]) .submenu { display: none; }
.submenu a { padding: .6rem .8rem; border-radius: .35rem; }
.submenu a:hover { background: #edf4ff; }
.nav a.button, .nav a.button:hover, .nav a.button[aria-current=page] { color: #ffffff; }
.menu-toggle { display: none; color: #182e56; border: 1px solid #9db6d9; background: transparent; padding: .42rem .66rem; font: inherit; cursor: pointer; border-radius: .35rem; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: .68rem 1rem; border: 1px solid transparent; border-radius: .36rem; background: var(--accent); color: #ffffff; font: inherit; font-weight: 800; text-decoration: none; line-height: 1.3; cursor: pointer; min-height: 44px; }
.button:hover { background: #194da9; color: #ffffff; }
.button.secondary { color: #f6f9ff; background: transparent; border-color: #82a6e4; }
.button.secondary:hover { background: #ffffff14; }
.kicker { display: inline-block; font-size: .78rem; color: var(--accent-ink); font-weight: 800; letter-spacing: .115em; text-transform: uppercase; }
h1, h2, h3 { margin: .15em 0 .4em; font-weight: 550; line-height: 1.08; font-family: Georgia, "Times New Roman", serif; letter-spacing: -.022em; }
h1 { font-size: clamp(2.65rem, 6vw, 5.65rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.85rem); }
p { margin: .35rem 0 1rem; }
.hero { background: linear-gradient(90deg, #102244fa 0%, #142d5bd9 48%, #17356570 100%), url('consultation.webp') 50% 54% / cover no-repeat; color: #f9fbff; }
.hero-layout { min-height: 610px; display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.71fr); align-items: center; gap: clamp(1.6rem, 5vw, 5rem); padding-block: clamp(2.65rem, 6vw, 5rem); }
.hero h1 { max-width: 14ch; }
.hero .kicker, .wide-dark .kicker { color: #b9d2ff; }
.hero-copy p { max-width: 49ch; color: #e0eaff; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.section { padding-block: clamp(2.35rem, 6vw, 5rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 50rem; margin-bottom: 1.6rem; }
.section-head p { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.05rem; }
.card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: .73rem; box-shadow: 0 12px 32px #1726300a; }
.card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.card > div { padding: 1.12rem 1.25rem; }
.card p { color: var(--muted); }
.card a { font-weight: 750; }
.wide-dark { background: var(--night); color: #f6f9ff; }
.wide-dark p { color: #d9e6fb; max-width: 58ch; }
.wide-dark a:not(.button) { color: #b9d2ff; }
.layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(225px,.38fr); gap: clamp(1rem, 4vw, 3.4rem); align-items: start; }
.page-hero { background: linear-gradient(126deg,#e6eefc,#f7f9fe 63%); padding-block: clamp(2.5rem,6vw,5rem); }
.page-hero h1 { max-width: 19ch; font-size: clamp(2.35rem,5vw,4.55rem); overflow-wrap: anywhere; }
.page-hero p { max-width: 63ch; color: var(--muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.1rem; font-size: .86rem; }
.feature-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(215px,.55fr); gap: clamp(1rem,4vw,3rem); align-items: center; }
.feature-row img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: .78rem; }
.prose { max-width: 49rem; }
.prose p { color: var(--muted); }
.prose section + section { margin-top: 1.45rem; }
.aside { border: 1px solid var(--line); padding: 1.25rem; background: white; border-radius: .7rem; }
.aside h2 { font-size: 1.5rem; }
.aside a { overflow-wrap: anywhere; font-weight: 700; }
.form-card { min-width: 0; padding: clamp(1.15rem,3.2vw,2rem); border: 1px solid var(--line); border-radius: .8rem; background: #fff; color: var(--ink); box-shadow: 0 13px 37px #12263124; }
.form-card h2 { font-size: clamp(1.6rem,3vw,2.14rem); }
.form-card p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .73rem .9rem; }
form label { display: block; font-size: .93rem; font-weight: 700; min-width: 0; }
form input:not([type=checkbox]),form select,form textarea { display: block; width: 100%; min-width: 0; min-height: 43px; padding: .55rem .65rem; margin: .22rem 0 .58rem; border: 1px solid #b6c7e0; border-radius: .32rem; background: #f9fbff; color: var(--ink); font: inherit; }
form textarea { min-height: 6rem; resize: vertical; }
.consent { display: grid; grid-template-columns: 1.14rem minmax(0,1fr); gap: .58rem; align-items: start; margin: .65rem 0 .9rem; font-size: .87rem; font-weight: 550; overflow-wrap: anywhere; }
.consent input { width: 1rem; height: 1rem; margin: .21rem 0 0; }
.form-status:not(:empty) { padding: .66rem; background: #eaf2ff; margin: .7rem 0 0; border-radius: .3rem; }
.form-status[data-error]:not(:empty) { background: #fff1eb; color: #8e2618; }
.screen-hide { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.footer { background: #101f3a; color: #e4eeff; }
.foot { display: grid; grid-template-columns: 1.16fr 1fr .9fr; gap: 1rem; padding-block: 2.15rem; }
.footer a { color: #b9d2ff; overflow-wrap: anywhere; }
.footer h2 { font-size: 1.25rem; }
.footer-end { display: flex; flex-wrap: wrap; gap: .65rem 1.3rem; padding: .85rem 0 1.4rem; font-size: .85rem; border-top: 1px solid #ffffff27; }
@media (max-width: 940px) {
  .header-row { flex-wrap: wrap; padding-block: .65rem; }
  .menu-toggle { display: block; }
  .nav { display: grid; width: 100%; gap: .25rem; }
  .js .nav:not(.open) { display: none; }
  .nav > a,.nav summary { padding: .5rem 0; }
  .nav .button { justify-self: start; padding-inline: .75rem; }
  .submenu { position: static; width: 100%; max-width: 100%; box-shadow: none; }
  .hero-layout { min-height: 0; grid-template-columns: 1fr; }
  .hero { background-position: 67% center; }
  .hero .form-card { max-width: 42rem; }
}
@media (max-width: 740px) {
  .layout, .feature-row { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 505px) {
  .wrap { width: calc(100% - 30px); }
  .cards, .form-grid, .foot { grid-template-columns: 1fr; }
  .hero { background-image: linear-gradient(90deg,#102244fa,#142d5bd9 52%,#193665c9),url('consultation.webp'); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.menu-group {
  display: block;
  padding: .5rem .8rem .25rem;
  color: #4a628a;
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.menu-group:not(:first-child) { border-top: 1px solid var(--line); margin-top: .25rem; }
.detail-checklist { padding: 1.12rem 1.35rem; background: #eaf1fc; border-inline-start: 3px solid var(--accent); border-radius: .36rem; }
.detail-checklist h2 { font-size: clamp(1.45rem, 2.5vw, 1.9rem); }
.detail-checklist ul { padding-inline-start: 1.1rem; margin: .45rem 0 0; color: var(--muted); }
.detail-checklist li + li { margin-top: .34rem; }
