:root {
  color-scheme: light;
  --page: #f7f8fd;
  --white: #fff;
  --ink: #121b36;
  --muted: #485370;
  --blue: #2348cc;
  --deep: #173499;
  --navy: #111e4e;
  --tint: #e9eeff;
  --line: #d5dced;
  --acid: #ebfb96;
  --sans: 'Arial', 'Helvetica Neue', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 17px/1.57 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
h1, h2 { font-weight: 750; letter-spacing: -.059em; line-height: 1.02; }
h2 { font-size: clamp(2.05rem, 4.1vw, 3.85rem); text-wrap: balance; }
h3 { font-size: 1.23rem; line-height: 1.21; letter-spacing: -.022em; }
p { color: var(--muted); }
section[id] { scroll-margin-top: 24px; }
:focus-visible { outline: 3px solid #b33c14; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 96px, 1176px); margin-inline: auto; }
.section { padding-block: clamp(58px, 7vw, 105px); }
.skip-link { position: fixed; z-index: 5; top: 8px; left: 8px; padding: 9px 14px; background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.header { position: relative; z-index: 2; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(20px, 4vw, 64px); }
.brand { width: max-content; display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 800; font-size: .98rem; line-height: .98; letter-spacing: -.025em; text-decoration: none; white-space: nowrap; }
.mark { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; overflow: hidden; color: #fff; background: var(--blue); }
.mark span { width: 19px; height: 21px; border: 2px solid currentColor; transform: translate(1px, 1px); }
.mark::before { content: ''; position: absolute; top: 7px; left: 7px; width: 18px; height: 20px; border-top: 2px solid currentColor; border-left: 2px solid currentColor; opacity: .55; }
.mark::after { content: ''; position: absolute; left: 15px; top: 17px; width: 9px; height: 5px; border-block: 1px solid currentColor; }
.header nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 35px); }
.header nav a, .header-action { color: var(--ink); font-size: .9rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header nav a:hover, .text-link:hover, .header-action:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-action { justify-self: end; color: var(--deep); display: flex; align-items: center; gap: 12px; padding: 8px 0 8px 18px; border-left: 1px solid var(--line); }
.header-action span { font-size: 1.15em; }
.menu-button, .header nav .mobile-contact { display: none; }

.hero { position: relative; isolation: isolate; overflow: hidden; text-align: center; }
.hero::before { position: absolute; z-index: -2; content: ''; inset: 0 0 104px; background: var(--blue); }
.hero::after { position: absolute; z-index: -1; content: ''; inset: 0 0 104px; pointer-events: none; background: radial-gradient(circle at -3% 52%, transparent 0 190px, #ffffff24 191px, transparent 192px 226px, #ffffff20 227px, transparent 228px), radial-gradient(circle at 103% 50%, transparent 0 210px, #ffffff24 211px, transparent 212px 244px, #ffffff22 245px, transparent 246px); }
.hero-grid { display: grid; justify-items: center; }
.hero-copy { padding: 58px 0 39px; color: var(--white); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 17px; color: #e2eaff; font-size: .78rem; font-weight: 700; letter-spacing: .09em; line-height: 1.4; text-transform: uppercase; }
.eyebrow span { width: 8px; height: 8px; background: var(--acid); }
.hero h1 { font-size: clamp(3.1rem, 7.2vw, 6.6rem); line-height: .99; letter-spacing: -.068em; }
.hero-description { max-width: 690px; margin: 22px auto 0; color: #f1f4ff; font-size: clamp(1.02rem, 1.8vw, 1.21rem); text-wrap: pretty; }
.hero-actions { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 13px 24px; }
.button { border: 1px solid var(--blue); display: inline-flex; align-items: center; justify-content: space-between; gap: 19px; min-height: 52px; padding: 10px 16px; background: var(--blue); color: var(--white); text-decoration: none; text-align: center; font-size: .96rem; line-height: 1.32; font-weight: 700; transition: background-color .16s, border-color .16s; }
.button:hover { background: var(--deep); border-color: var(--deep); }
.button:disabled { cursor: not-allowed; opacity: .7; }
.lead-form[aria-busy='true'] .button { cursor: wait; }
.button span { font-size: 1.13em; }
.hero .button { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.hero .button:hover { background: #f4ffc6; border-color: #f4ffc6; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--deep); font-size: .9rem; font-weight: 700; line-height: 1.35; text-decoration: none; }
.text-link span { flex: none; }
.hero .text-link { color: #fff; }
.hero :focus-visible, .document-band :focus-visible, .footer :focus-visible { outline-color: var(--acid); }
.hero-visual { width: 100%; min-width: 0; background: #ccd8f2; box-shadow: 0 10px 28px #18254424; }
.hero-visual img { width: 100%; height: auto; aspect-ratio: 4.3; object-fit: cover; object-position: 50% 53%; }

.lead { max-width: 515px; margin-top: 15px; font-size: 1.06rem; }
.hero-general h1 { font-size: clamp(2.65rem, 6.35vw, 5.85rem); }
.practice-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.practice-heading h2 { text-wrap: initial; }
.practice-heading .lead { max-width: 365px; }
.practice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.practice-card { display: flex; min-height: 184px; flex-direction: column; align-items: flex-start; padding: 21px; border: 1px solid var(--line); background: var(--white); }
.practice-card p { margin: 8px 0 15px; font-size: .96rem; }
.practice-card .text-link { margin-top: auto; }
.practice-card-pension { border-color: #b7c5f8; background: var(--tint); }
.situation-layout { display: grid; grid-template-columns: .79fr 1.65fr; align-items: start; gap: clamp(25px, 6vw, 94px); }
.section-heading h2 { text-wrap: initial; }
.section-heading .lead { max-width: 300px; }
.service-list { border-top: 2px solid var(--blue); }
.service { display: grid; grid-template-columns: 43px minmax(0, 1fr) max-content; align-items: start; gap: 15px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.icon-box { display: grid; place-items: center; width: 43px; height: 43px; background: var(--tint); }
.icon { display: inline-block; position: relative; flex: none; width: 17px; height: 20px; color: var(--blue); }
.icon-file, .icon-calc, .icon-chat { border: 1.5px solid currentColor; border-radius: 1px; }
.icon-file::before, .icon-calc::before, .icon-chat::before { content: ''; position: absolute; top: 5px; left: 3px; right: 3px; border-top: 1px solid currentColor; }
.icon-file::after { content: ''; position: absolute; left: 3px; right: 3px; top: 9px; height: 5px; border-block: 1px solid currentColor; }
.icon-calc::after { content: '⋮⋮'; position: absolute; left: 2px; top: 6px; font: 13px/1 var(--sans); }
.icon-chat { width: 21px; height: 16px; margin-bottom: 3px; }
.icon-chat::after { content: ''; position: absolute; left: 3px; bottom: -4px; width: 5px; height: 5px; transform: skewY(-36deg); background: var(--tint); border-bottom: 1.5px solid currentColor; border-left: 1.5px solid currentColor; }
.service p { margin-top: 6px; font-size: .97rem; }
.service .text-link { margin-top: 3px; }

.process { background: var(--tint); }
.process-heading { text-align: center; }
.process-heading .lead { margin-inline: auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin-top: 36px; }
.steps li { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 13px; padding-right: clamp(14px, 5vw, 70px); }
.steps li::before { position: absolute; top: 21px; left: 0; right: 0; z-index: 0; content: ''; height: 1px; background: #8da0e6; }
.steps li:last-child::before { right: 18%; }
.steps li > span { position: relative; z-index: 1; display: grid; place-items: center; width: 43px; height: 43px; background: var(--blue); color: var(--white); font-size: .91rem; line-height: 1; font-weight: 700; }
.steps p { margin-top: 8px; font-size: .96rem; }

.price { display: grid; grid-template-columns: 1.2fr .94fr; align-items: start; gap: clamp(26px, 7vw, 109px); }
.price h2 { text-wrap: initial; }
.check-list, .document-list { padding: 0; list-style: none; }
.check-list { margin-top: 25px; border-top: 1px solid var(--line); }
.check-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.check-list li span { display: grid; place-items: center; width: 23px; height: 23px; flex: 0 0 23px; color: var(--deep); font-size: .86rem; line-height: 1; background: var(--tint); }
.price-panel { border-top: 5px solid var(--blue); border-bottom: 1px solid var(--line); background: var(--white); padding: clamp(22px, 3.2vw, 38px); }
.price-panel .price-value { margin-top: 11px; font-size: clamp(1.45rem, 2.6vw, 2.05rem); font-weight: 750; color: var(--deep); letter-spacing: -.04em; line-height: 1.16; }
.price-panel p { margin-top: 9px; }
.price-panel .button { display: flex; margin-top: 19px; }
.price-panel .aside-note { margin-top: 13px; font-size: .87rem; }

.document-band { background: var(--navy); color: #fff; padding: clamp(36px, 6vw, 80px) 0; }
.document-grid h2 { font-size: clamp(1.9rem, 3.55vw, 3.35rem); text-wrap: initial; }
.document-grid p { color: #dfe7ff; margin-top: 13px; }
.document-list { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 25px; gap: 18px; }
.document-list li { display: flex; align-items: flex-start; gap: 12px; border-top: 1px solid #7181b4; padding: 15px 11px 0 0; }
.document-list .icon { color: #d6e0ff; margin-top: 2px; }

.faq { max-width: 822px; }
.faq h2 { text-align: center; }
.questions { margin-top: 26px; border-top: 2px solid var(--blue); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; min-height: 59px; padding: 14px 47px 14px 0; display: flex; align-items: center; list-style: none; font-weight: 700; font-size: 1.02rem; line-height: 1.37; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; background: var(--tint); color: var(--deep); font: 1.18rem/1 var(--sans); }
details[open] summary::after { content: '−'; }
details p { padding: 0 38px 18px 0; font-size: .97rem; }
details p a { color: var(--deep); text-underline-offset: 3px; }

.appointment { background: var(--tint); padding-block: clamp(42px, 6vw, 85px); }
.appointment-grid { max-width: 994px; }
.appointment-intro { display: grid; grid-template-columns: 1fr .86fr; align-items: end; gap: 15px 30px; margin-bottom: 23px; }
.appointment-intro h2 { text-wrap: initial; }
.appointment-intro p { font-size: 1.06rem; }
.appointment-contact { grid-row: 2; grid-column: 2; }
.appointment-contact:empty { display: none; }
.appointment-contact a { color: var(--deep); font-weight: 700; text-underline-offset: 4px; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; position: relative; padding: clamp(19px, 3.8vw, 39px); background: var(--white); border-top: 4px solid var(--blue); }
.field { display: grid; align-content: start; gap: 5px; min-width: 0; }
.field label { font-weight: 700; font-size: .94rem; }
.field label span { font-weight: 400; font-size: .81rem; color: var(--muted); }
.field input, .field select { width: 100%; min-height: 49px; padding: 8px 11px; border: 1px solid #aeb9d6; border-radius: 0; background: #fff; color: var(--ink); }
.field input::placeholder { color: #66738c; }
.consent { display: grid; grid-template-columns: 21px 1fr; align-items: start; gap: 9px; }
.consent input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--blue); }
.consent label, .consent a { font-size: .86rem; line-height: 1.38; }
.consent label { display: block; }
.consent a { color: var(--deep); text-underline-offset: 3px; }
.lead-form button { grid-column: -2 / -1; align-self: start; }
.field-error { display: block; color: #a1392a; font-size: .83rem; }
.lead-form [aria-invalid='true']:not([type='checkbox']) { border-color: #a1392a; }
.form-status:empty { display: none; }
.form-status { grid-column: 1 / -1; padding: 9px 11px; font-size: .9rem; background: #edf5d0; }
.form-status[data-error='true'] { background: #f8e9e5; color: #882a1e; }
.hidden-field { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contacts-heading { display: flex; justify-content: space-between; align-items: start; gap: 24px; }
.contacts-heading h2 { text-wrap: initial; }
.contacts-heading p { margin-top: 2px; max-width: 450px; }
.contact-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px 23px; margin-top: 24px; }
.contact-details > div { padding: 13px 0 4px; border-top: 1px solid var(--line); }
.contact-details dt { color: var(--muted); font-size: .9rem; }
.contact-details dd { margin: 3px 0 0; font-size: .98rem; font-weight: 700; overflow-wrap: anywhere; }
.contact-details dd a { color: var(--deep); }
.footer { padding: 25px 0; background: var(--navy); color: #fff; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.footer .brand, .footer .text-link { color: #fff; }
.footer .mark { background: #e6edff; color: var(--deep); }
.footer-links { display: flex; flex-wrap: wrap; gap: 5px 20px; font-size: .82rem; }
.footer-links a { color: #e1e8ff; text-underline-offset: 3px; }
.top-link { white-space: nowrap; }
.legal { padding-block: clamp(38px, 7vw, 88px); max-width: 820px; }
.legal h1 { margin-block: 23px; font-size: clamp(2.1rem, 6.5vw, 4.4rem); }
.legal h2 { margin-top: 19px; font-size: 1.31rem; letter-spacing: 0; }
.legal p { margin-top: 10px; }
.thanks { display: grid; place-items: center; min-height: calc(100vh - 76px); padding-block: 36px; }
.thanks-panel { width: min(100%, 630px); padding: clamp(24px, 7vw, 61px); border: 1px solid var(--line); border-top: 5px solid var(--blue); background: var(--white); }
.thanks-mark { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 20px; background: var(--tint); color: var(--deep); font-size: 1.3rem; }
.thanks h1 { font-size: clamp(2.15rem, 5vw, 4rem); }
.thanks p { margin-top: 15px; }
.thanks .button { margin-top: 23px; }

@media (max-width: 1030px) {
  .wrap { width: min(100% - 64px, 1176px); }
  .service { grid-template-columns: 43px minmax(0, 1fr); }
  .service .text-link { grid-column: 2; margin-top: -4px; }
}

@media (max-width: 780px) {
  .wrap { width: min(100% - 44px, 1176px); }
  .header-inner { min-height: 65px; grid-template-columns: 1fr auto; }
  .menu-button { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line); background: #fff; color: var(--deep); font-weight: 700; font-size: .88rem; }
  .menu-button span { width: 14px; height: 8px; border-block: 1.5px solid currentColor; }
  .header nav { display: none; grid-column: 1 / -1; gap: 0; align-items: stretch; flex-direction: column; padding-bottom: 8px; }
  .header-inner:has(.menu-button[aria-expanded='true']) { row-gap: 0; }
  .menu-button[aria-expanded='true'] + nav, .header nav .mobile-contact { display: flex; }
  .header nav a { padding: 9px 0; }
  .header-action { display: none; }
  .hero-copy { padding: 42px 0 29px; }
  .hero::before, .hero::after { bottom: 70px; }
  .hero-visual img { aspect-ratio: 3.15; }
  .hero::after { opacity: .48; }
  .practice-heading { align-items: start; }
  .practice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .situation-layout { grid-template-columns: .82fr 1.35fr; }
  .price { gap: 26px; }
  .footer-inner { align-items: flex-start; }
}

@media (max-width: 580px) {
  .wrap { width: calc(100% - 36px); }
  .section { padding-block: 53px; }
  .hero::before, .hero::after { bottom: 47px; }
  .hero-copy { padding: 34px 0 25px; }
  .eyebrow { font-size: .68rem; margin-bottom: 13px; }
  .hero h1 { font-size: clamp(2.45rem, 10vw, 3.4rem); text-wrap: balance; }
  .hero-general h1 { font-size: clamp(2.1rem, 9.5vw, 3.35rem); }
  .hero-description { margin-top: 16px; }
  .hero-actions { margin-top: 18px; gap: 12px 15px; }
  .hero-visual img { aspect-ratio: 2.15; object-position: center; }
  .situation-layout, .price, .appointment-intro, .lead-form { grid-template-columns: 1fr; gap: 20px; }
  .practice-heading { display: block; margin-bottom: 20px; }
  .practice-heading .lead { margin-top: 10px; }
  .practice-grid { grid-template-columns: 1fr; gap: 10px; }
  .practice-card { min-height: 0; padding: 17px; }
  .service { padding: 15px 0; gap: 12px; }
  .steps { grid-template-columns: 1fr; margin-top: 23px; }
  .steps li { grid-template-columns: 43px 1fr; grid-template-rows: auto; gap: 12px; padding: 0 0 18px; }
  .steps li::before { top: 0; left: 21px; right: auto; width: 1px; height: 100%; }
  .steps li:last-child::before { display: none; }
  .steps li:last-child { padding-bottom: 0; }
  .steps h3 { padding-top: 2px; }
  .document-list { grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
  .document-list li { padding-top: 10px; }
  .questions { margin-top: 20px; }
  .appointment-intro { gap: 9px; margin-bottom: 18px; }
  .appointment-contact { grid-row: auto; grid-column: auto; }
  .lead-form { gap: 14px; }
  .contacts-heading { display: block; }
  .contacts-heading p { margin-top: 12px; }
  .contact-details { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 13px; }
  .footer-inner { flex-wrap: wrap; }
  .footer-links { order: 3; }
}

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