:root {
  --white: #ffffff; --navy: #13233a; --navy-2: #1d3352; --jade: #2e7d6b; --jade-d: #22604f; --mist: #eef2f1;
  --gold: #b9975b; --ink: #172030; --muted: #586273; --line: #dde3e6;
  --display: "Spectral", Georgia, serif; --body: "IBM Plex Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font: 16.5px/1.65 var(--body); color: var(--ink); background: var(--white); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.12; color: var(--navy); }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 23px; }
.muted { color: var(--muted); margin-top: 12px; max-width: 58ch; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 3px; background: var(--jade); color: #fff; font: 500 15.5px var(--body); border: 0; cursor: pointer; transition: background 0.2s; }
.btn:hover { background: var(--jade-d); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--line { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.btn--line:hover { background: var(--mist); }
.btn:disabled { background: var(--navy-2); }

.header { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 30px; height: 76px; }
.logo { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-size: 22px; font-weight: 500; line-height: 1.1; color: var(--navy); }
.logo small { display: block; font-family: var(--body); font-size: 12.5px; color: var(--muted); }
.logo__mark { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--gold); color: var(--navy); font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.nav a { padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-color: var(--gold); }
.burger { display: none; }

.hero { padding: 0; border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: stretch; }
.hero__text { padding: clamp(56px, 8vw, 104px) 0; align-self: center; }
.hero h1 { font-size: clamp(38px, 4.6vw, 58px); max-width: 16ch; }
.lead { font-size: 18.5px; color: var(--muted); margin: 22px 0 32px; max-width: 46ch; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { margin-top: 30px; padding-left: 16px; border-left: 2px solid var(--gold); color: var(--muted); font-size: 15px; max-width: 46ch; }
.hero__img { margin-right: calc((100vw - min(1180px, 100vw - 40px)) / -2); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; min-height: 520px; }

.section { padding: clamp(72px, 9vw, 112px) 0; }
.head { margin-bottom: 44px; }
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
.areas article { padding: 26px 0 30px; border-top: 1px solid var(--gold); }
.areas p { color: var(--muted); margin-top: 10px; font-size: 15.5px; }

.fees { background: var(--navy); color: #fff; padding: clamp(72px, 9vw, 112px) 0; }
.fees h2 { color: #fff; }
.fees__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.fees__grid > div > p { color: #c2cbd8; margin-top: 16px; max-width: 44ch; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 17px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); text-align: left; font-weight: 400; }
.table tr:first-child > * { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.table td { text-align: right; font-family: var(--display); font-size: 21px; color: #e7d3ad; white-space: nowrap; padding-left: 20px; }

.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.partner { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; }
.partner img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.role { color: var(--jade-d); font-weight: 500; font-size: 15px; margin: 6px 0 12px; }
.partner p:not(.role):not(.langs) { color: var(--muted); font-size: 15.5px; }
.langs { margin-top: 12px; font-size: 14px; color: var(--muted); padding-top: 10px; border-top: 1px solid var(--line); }

.how { background: var(--mist); }
.how__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.how__grid > img { width: 100%; height: 100%; object-fit: cover; min-height: 460px; margin-left: calc((100vw - min(1180px, 100vw - 40px)) / -2); width: calc(100% + (100vw - min(1180px, 100vw - 40px)) / 2); max-width: none; }
.how__grid > div { padding: clamp(56px, 7vw, 96px) 0; }
.steps { list-style: none; margin-top: 30px; display: grid; gap: 22px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; }
.steps li::before { content: counter(s); grid-row: span 2; font-family: var(--display); font-size: 30px; line-height: 1; color: var(--jade); }
.steps b { font-weight: 600; }
.steps span { color: var(--muted); font-size: 15.5px; }

.quotes__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.quotes blockquote p { font-family: var(--display); font-size: clamp(21px, 2.2vw, 26px); line-height: 1.4; color: var(--navy); }
.quotes cite { display: block; margin-top: 16px; font-style: normal; font-size: 14.5px; color: var(--muted); }

.contact { background: var(--mist); }
.contact__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.office { margin-top: 30px; border-top: 1px solid var(--line); }
.office div { display: grid; grid-template-columns: 90px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); }
.office dt { color: var(--muted); font-size: 14.5px; }
.office a { color: var(--jade-d); font-weight: 500; }
.form { background: var(--white); padding: 34px; display: grid; gap: 16px; border-top: 3px solid var(--jade); }
.form label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 500; }
.form input, .form select, .form textarea { height: 48px; border: 1px solid #c8d0d6; border-radius: 3px; padding: 0 12px; font: 16px var(--body); color: var(--ink); background: var(--white); }
.form textarea { height: auto; padding: 12px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--jade); box-shadow: 0 0 0 3px rgba(46, 125, 107, 0.15); }
.form fieldset { border: 0; }
.form legend { font-size: 14.5px; font-weight: 500; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { min-height: 40px; padding: 0 16px; border-radius: 3px; border: 1px solid #c8d0d6; background: var(--white); font: 500 14.5px var(--body); cursor: pointer; color: var(--ink); }
.chips button[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.form .btn { justify-self: start; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.footer { padding: 30px 0 96px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.footer__in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer b { color: var(--navy); }

@media (max-width: 960px) {
  .hero__grid, .fees__grid, .how__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__text { padding-bottom: 0; }
  .hero__img { margin: 0 -20px; }
  .hero__img img { min-height: 0; aspect-ratio: 16 / 10; }
  .how__grid > img { min-height: 0; aspect-ratio: 16 / 10; margin: 0 -20px; width: calc(100% + 40px); }
  .how__grid > div { padding-top: 0; }
  .areas { grid-template-columns: 1fr 1fr; }
  .partners, .quotes__grid { grid-template-columns: 1fr; gap: 40px; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--white); padding: 4px 20px 16px; border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transition: opacity 0.2s; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  body.nav-open .nav { opacity: 1; visibility: visible; }
  .header .btn--sm { margin-left: auto; }
  .burger { display: grid; gap: 5px; width: 44px; height: 44px; place-content: center; background: none; border: 0; cursor: pointer; }
  .burger span { width: 22px; height: 1.5px; background: var(--navy); }
}
@media (max-width: 600px) {
  .header .btn--sm { display: none; }
  .burger { margin-left: auto; }
  .logo small { display: none; }
  .areas, .row { grid-template-columns: 1fr; }
  .partner { grid-template-columns: 110px 1fr; gap: 18px; }
  .table th { padding-right: 10px; }
  .table td { font-size: 18px; }
  .form { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
