:root {
  color-scheme: light;
  --ink: #162536;
  --muted: #4b5c6e;
  --dark: #132233;
  --darker: #101d2b;
  --accent: #f6e54d;
  --accent-hover: #fff071;
  --accent-ink: #6a5400;
  --accent-soft: #fbf5d6;
  --line: #dce4ec;
  --wash: #f3f6f9;
  --paper: #fff;
  --wrap: 1184px;
  --side: clamp(20px, 4vw, 52px);
  --radius: 14px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, summary, select { cursor: pointer; }
p, h1, h2, h3, h4 { margin: 0; }
fieldset { min-inline-size: 0; padding: 0; margin: 0; border: 0; }
legend { padding: 0; }
:focus-visible { outline: 3px solid #197b9e; outline-offset: 4px; }
.hero :focus-visible, .footer :focus-visible { outline-color: var(--accent-hover); }
:target { scroll-margin-block-start: 24px; }
.wrap { width: min(var(--wrap), 100% - var(--side) * 2); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { flex: 0 0 auto; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 20; transform: translateY(-200%); padding: 10px 15px; background: white; }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 3; background: var(--paper); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; min-width: 0; gap: 13px; align-items: center; text-decoration: none; }
.brand-logo { flex: 0 0 auto; width: 128px; height: auto; }
.brand-descriptor { max-width: 155px; padding-inline-start: 13px; border-inline-start: 1px solid var(--line); font-size: .82rem; font-weight: 650; line-height: 1.32; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.45vw, 34px); }
.site-nav > a:not(.button) { padding: 10px 0; font-size: .91rem; font-weight: 640; text-decoration: none; white-space: nowrap; }
.site-nav > a:not(.button):hover { color: var(--accent-ink); }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  min-height: 47px;
  padding: 11px 20px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .93rem;
  font-weight: 720;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.button .icon { width: 18px; height: 18px; }
.button-primary { color: var(--darker); background: var(--accent); }
.button-primary:hover { background: var(--accent-hover); }
.button-outline { color: var(--ink); background: var(--paper); border-color: #c9d4df; }
.button-outline:hover { background: var(--wash); border-color: #9babba; }
.site-nav .button { min-height: 43px; padding: 10px 16px; }
.site-phone { white-space: nowrap; }
.button-hero-outline { color: #fff; background: #14263866; border-color: #e7eff281; }
.button-hero-outline:hover { background: #223b52dd; border-color: #edf2f7; }

.hero { display: grid; position: relative; isolation: isolate; overflow: hidden; align-items: center; min-height: clamp(460px, 39.5vw, 585px); background: var(--darker); color: var(--paper); }
.hero-visual, .hero-visual img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-visual { z-index: -2; }
.hero-visual img { object-fit: cover; object-position: center 54%; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(90deg, #0c1928 0%, #0c1928f2 26%, #0c1928b5 49%, #0c19283c 70%, #0c19280a 100%), linear-gradient(0deg, #0b18284d, transparent 47%); }
.hero-inner { padding-block: 70px 82px; }
.hero h1 { max-width: 780px; font-size: clamp(2.9rem, 5.4vw, 5.05rem); line-height: 1.02; font-weight: 730; letter-spacing: -.059em; text-wrap: balance; }
.hero p { max-width: 545px; margin-top: 23px; color: #e0e8f0; font-size: clamp(1.05rem, 1.55vw, 1.21rem); line-height: 1.54; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-actions .button { min-height: 51px; }

.strengths { background: var(--wash); border-bottom: 1px solid var(--line); }
.strengths-inner { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin-block: 0; padding: 0; }
.strengths-inner li { min-height: 75px; display: flex; align-items: center; justify-content: center; gap: 11px; padding: 14px 12px; font-size: .92rem; font-weight: 650; }
.strengths-inner li + li { border-inline-start: 1px solid var(--line); }
.strengths-inner .icon { color: var(--accent-ink); }

.section { padding-block: clamp(54px, 6vw, 86px); }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 26px; margin-bottom: 31px; }
h2 { font-size: clamp(2.15rem, 4.1vw, 3.6rem); font-weight: 740; line-height: 1.03; letter-spacing: -.055em; text-wrap: balance; }
.section-intro > p { max-width: 545px; color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.service-card { min-width: 0; display: flex; flex-direction: column; align-items: start; padding: clamp(19px, 2.05vw, 29px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.service-card:focus-within, .service-card:hover { border-color: #a4b5c7; }
.service-icon { display: grid; width: 46px; height: 46px; margin-bottom: 16px; place-items: center; border-radius: 9px; color: var(--accent-ink); background: var(--accent-soft); }
.service-card h3, .process h3 { font-size: clamp(1.12rem, 1.55vw, 1.31rem); line-height: 1.19; font-weight: 730; letter-spacing: -.023em; }
.service-card p, .process-list p { margin-top: 10px; color: var(--muted); line-height: 1.48; }
.service-card p { margin-bottom: 17px; }
.service-link { margin-top: auto; padding-block: 8px 0; font-size: .9rem; font-weight: 710; text-decoration-color: #a8b7c5; text-underline-offset: 4px; }
.service-link:hover { color: var(--accent-ink); text-decoration-color: currentColor; }
.profile { margin-top: -30px; margin-bottom: clamp(50px, 6vw, 84px); }
.profile-inner { display: grid; grid-template-columns: minmax(200px, .75fr) minmax(0, 2fr); align-items: start; gap: 24px; padding: clamp(24px, 3.2vw, 42px); background: var(--wash); border-left: 4px solid #d5b921; border-radius: 3px var(--radius) var(--radius) 3px; }
.profile h2 { font-size: clamp(1.7rem, 2.7vw, 2.35rem); text-wrap: unset; }
.profile p { color: var(--muted); }
.profile .profile-experience { margin-top: 10px; font-weight: 650; }
.profile p + p { margin-top: 9px; }
.profile strong { color: var(--ink); }

.selector-section { padding-block: clamp(50px, 6vw, 86px); background: var(--dark); color: var(--paper); }
.selector-layout { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.42fr); align-items: start; gap: clamp(25px, 5vw, 76px); }
.selector-intro { padding-top: 15px; }
.selector-intro h2 { text-wrap: unset; }
.selector-intro > p { margin-top: 19px; color: #dce6ef; }
.selector-benefits { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.selector-benefits li { display: flex; align-items: center; gap: 9px; color: #f0f4f8; }
.selector-benefits .icon { width: 21px; height: 21px; color: var(--accent); }
.wizard { min-width: 0; padding: clamp(16px, 2.8vw, 34px); background: var(--paper); color: var(--ink); border-radius: var(--radius); box-shadow: 0 14px 36px #07132240; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 20px; padding: 0 0 15px; list-style: none; border-bottom: 1px solid var(--line); }
.steps li { display: flex; align-items: center; gap: 7px; color: #546576; font-size: .875rem; font-weight: 620; }
.steps li > span { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid #d8e1e9; border-radius: 50%; font-size: .8rem; }
.steps [aria-current] { color: var(--ink); font-weight: 750; }
.steps [aria-current] > span { color: var(--darker); background: var(--accent); border-color: var(--accent); }
.steps .done > span { background: #e9f2f5; color: #244b5a; }
.wizard legend:not(.document-field legend), .wizard h3 { margin-bottom: 12px; font-size: clamp(1.29rem, 2.5vw, 1.7rem); font-weight: 750; line-height: 1.15; letter-spacing: -.036em; }
.situation-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.situation-option { display: flex; align-items: center; min-height: 53px; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; font-size: .875rem; line-height: 1.29; cursor: pointer; }
.situation-option:hover { border-color: #a2b2c3; }
.situation-option:has(input:checked) { color: var(--ink); background: var(--accent-soft); border-color: #a48a1e; }
.situation-option input, .document-options input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: var(--accent-ink); }
.wizard-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.form-intro, .result .form-intro { margin-bottom: 14px; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 12px; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; font-size: .9rem; font-weight: 650; line-height: 1.35; }
.field input, .field select, .field textarea { min-width: 0; width: 100%; min-height: 44px; padding: 9px 10px; border: 1px solid #bdc9d5; border-radius: 6px; background-color: var(--paper); color: var(--ink); font-size: 1rem; font-weight: 450; line-height: 1.35; }
.field input::placeholder, .field textarea::placeholder { color: #647587; }
.field select { appearance: none; padding-inline-end: 29px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m5 7 5 5 5-5' stroke='%234b5c6e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: right 7px center; }
.field textarea { resize: vertical; }
.field-wide, .document-field { grid-column: 1 / -1; }
.document-field legend { margin-bottom: 6px; font-size: .9rem; font-weight: 650; }
.document-options { display: flex; flex-wrap: wrap; gap: 3px 15px; }
.document-options label { display: flex; align-items: center; min-height: 31px; gap: 6px; font-size: .88rem; cursor: pointer; }
.result-label { display: flex; gap: 6px; align-items: center; margin-bottom: 9px; color: var(--accent-ink); font-size: .875rem; font-weight: 750; }
.result-label .icon { width: 19px; height: 19px; }
.result h3 { font-size: clamp(1.3rem, 2.55vw, 1.75rem); margin-bottom: 8px; }
.result h4 { font-size: 1rem; margin-bottom: 4px; }
.result p, .checklist { color: var(--muted); }
.result .result-label { color: var(--accent-ink); }
.result-note { margin: 16px 0; padding: 12px 14px; border: 1px solid #dce6ea; background: #f1f6f8; border-radius: 7px; }
.checklist { margin: 5px 0 13px; padding-inline-start: 21px; }
.checklist li + li { margin-top: 3px; }
.result .form-intro { margin: 0; }
.result-actions { margin-top: 13px; }
.text-button { min-height: 42px; margin-top: 5px; padding: 0; border: 0; background: none; color: var(--ink); text-align: left; text-decoration: underline; text-underline-offset: 4px; font-size: .9rem; font-weight: 650; }
.text-button:hover { color: var(--accent-ink); }
#copy-status { margin-top: 8px; font-size: .9rem; }

.process-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; gap: 16px; margin: 0; padding: 0; }
.process-list li { border-top: 1px solid var(--line); padding-block-start: 19px; padding-inline-end: 10px; }
.process-number { display: grid; width: 35px; height: 35px; margin-bottom: 15px; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-weight: 740; }
.questions-section { padding-block: clamp(48px, 6vw, 83px); background: var(--wash); border-top: 1px solid #e6ecf1; }
.questions-layout { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.6fr); gap: clamp(19px, 5vw, 75px); }
.questions-layout h2 { text-wrap: unset; }
.questions-layout h2 + p { color: var(--muted); margin-top: 12px; }
.accordions details { border-bottom: 1px solid #cdd8e3; }
.accordions details:first-child { border-top: 1px solid #cdd8e3; }
.accordions summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 57px; padding: 13px 0; list-style: none; font-weight: 680; }
.accordions summary::-webkit-details-marker { display: none; }
.accordions summary:hover { color: var(--accent-ink); }
.accordions .icon { width: 20px; height: 20px; color: var(--accent-ink); }
.accordions .minus, .accordions details[open] .plus { display: none; }
.accordions details[open] .minus { display: block; }
.accordions details > p { max-width: 610px; padding-bottom: 16px; padding-inline-end: 20px; color: var(--muted); }
.contacts { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.6fr); gap: 20px clamp(19px, 5vw, 75px); align-items: start; }
.contact-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin: 0; }
.contact-details dt { margin-bottom: 4px; color: var(--muted); font-size: .9rem; }
.contact-details dd { margin: 0; font-weight: 650; }
.contact-phone { color: var(--ink); text-underline-offset: 4px; }
.contact-phone:hover { color: var(--accent-ink); }
.contact-map { grid-column: 2; }

.footer { background: var(--darker); color: white; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 26px; min-height: 116px; padding-block: 20px; }
.footer .brand-logo { width: 116px; }
.footer .brand-descriptor { color: #c5d3e2; border-inline-start-color: #7890a259; }
.footer-link { color: #fff1a4; font-size: .9rem; font-weight: 650; text-underline-offset: 4px; }
.footer-link:hover { color: white; }

@media (max-width: 1120px) {
  .site-nav { gap: 15px; }
  .site-nav > a:not(.button) { font-size: .875rem; }
}

@media (max-width: 960px) {
  .section-intro > p { max-width: 430px; }
  .selector-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.55fr); gap: 24px; }
}

@media (max-width: 1070px) {
  .header-inner { min-height: 72px; gap: 12px; }
  .brand { gap: 10px; }
  .brand-logo { width: 104px; }
  .brand-descriptor { max-width: 136px; padding-inline-start: 10px; font-size: .76rem; }
  .menu-toggle { display: grid; width: 44px; height: 44px; flex: 0 0 auto; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--paper); }
  .menu-toggle .menu-close, .menu-toggle[aria-expanded="true"] .menu-open { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-close { display: block; }
  .site-nav { display: none; position: absolute; inset: 100% 0 auto; padding: 12px var(--side) 19px; align-items: stretch; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 12px 20px #13223322; }
  .menu-toggle[aria-expanded="true"] + .site-nav { display: grid; gap: 3px; }
  .site-nav > a:not(.button) { padding: 10px 4px; font-size: 1rem; }
  .site-nav .button { justify-self: start; margin-top: 5px; }
}

@media (max-width: 825px) {
  .hero { min-height: 444px; }
  .hero h1 { font-size: clamp(2.55rem, 7.65vw, 3.8rem); max-width: 630px; }
  .hero-inner { padding-block: 61px; }
  .hero-visual img { object-position: 64% center; }
  .strengths-inner li { padding-inline: 8px; gap: 8px; font-size: .875rem; align-items: center; justify-content: start; }
  .strengths-inner .icon { width: 21px; height: 21px; }
  .section-intro { display: grid; align-items: start; gap: 10px; margin-bottom: 22px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .selector-layout, .questions-layout, .contacts { grid-template-columns: 1fr; }
  .contact-map { grid-column: 1; }
  .selector-intro { padding-top: 0; }
  .selector-intro h2 br { display: none; }
  .selector-intro > p { max-width: 540px; margin-top: 12px; }
  .selector-benefits { display: flex; flex-wrap: wrap; gap: 5px 14px; margin-top: 14px; font-size: .875rem; }
  .process-list { gap: 11px; }
}

@media (max-width: 520px) {
  .desktop-break { display: none; }
  .hero { min-height: 500px; align-items: end; }
  .hero-visual img { object-position: 62% top; }
  .hero-inner { padding-block: 64px 32px; }
  .hero::after { background: linear-gradient(0deg, #0c1928 0%, #0c1928ec 33%, #0c192877 63%, #0c192828 100%), linear-gradient(90deg, #0c192846, #0c192803); }
  .hero h1 { font-size: clamp(2.4rem, 10.1vw, 3.55rem); text-wrap: unset; }
  .hero p { margin-top: 15px; }
  .hero-actions { gap: 8px; margin-top: 22px; }
  .hero-actions .button { padding-inline: 13px; min-height: 47px; font-size: .875rem; }
  .strengths-inner { grid-template-columns: 1fr; }
  .strengths-inner li { min-height: 0; padding: 11px 0; gap: 10px; }
  .strengths-inner li + li { border-inline-start: 0; border-top: 1px solid var(--line); }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 18px; }
  .service-card p { margin-bottom: 9px; }
  .service-icon { margin-bottom: 11px; }
  .service-link { padding-block: 9px 3px; }
  .profile { margin-top: -20px; }
  .profile-inner { grid-template-columns: 1fr; gap: 11px; }
  .steps { gap: 5px; }
  .steps li { gap: 4px; font-size: .81rem; }
  .steps li > span { width: 22px; height: 22px; }
  .situation-options, .form-grid { grid-template-columns: 1fr; }
  .situation-option { min-height: 46px; }
  .wizard .button { padding-inline: 13px; }
  .process-list { grid-template-columns: 1fr; gap: 15px; }
  .process-list li { padding-block-start: 14px; }
  .process-number { margin-bottom: 8px; }
  .contact-details { grid-template-columns: 1fr; gap: 13px; }
  .footer-inner { display: grid; justify-items: start; gap: 13px; }
}

@media (max-width: 360px) {
  .steps li { flex-direction: column; align-items: start; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

.wizard { scroll-margin-block-start: 20px; }
#manual-copy { margin-block: 10px 0; }
