:root {
  color-scheme: light;
  --graphite: #1d2227;
  --night: #171c21;
  --blue: #799dff;
  --bright: #a8bdff;
  --link: #284fae;
  --ink: #20252a;
  --muted: #525f69;
  --paper: #f5f6f6;
  --line: #d4d9de;
  --white: #f6f8fa;
  --gutter: clamp(20px, 5vw, 78px);
  font: 16px/1.55 "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
button, input { font: inherit; }
a { color: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #436bea; outline-offset: 4px; }
[id] { scroll-margin-block-start: 24px; }
.wrap { width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; }
.skip { position: absolute; z-index: 10; top: 12px; left: 12px; padding: 10px 16px; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }

.site-header { background: var(--graphite); color: var(--white); border-bottom: 1px solid #ffffff23; }
.header-row { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; flex: 0 0 auto; }
.brand strong { display: block; font-size: 20px; letter-spacing: .15em; line-height: 1.05; }
.brand small { display: block; margin-top: 4px; color: #c2cbd3; font-size: 8px; letter-spacing: .11em; font-weight: 700; }
.header-row nav { display: flex; gap: clamp(14px, 2.5vw, 36px); }
.header-row nav a, .header-phone { text-decoration: none; font-size: 14px; }
.header-row nav a { color: #e0e5eb; }
.header-row nav a:hover, .header-phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-actions { display: flex; align-items: center; gap: clamp(11px, 1.8vw, 24px); }
.header-phone { font-weight: 700; white-space: nowrap; }
.header-cta { white-space: nowrap; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--white); }
.hero-image {
  position: absolute; inset: 0 0 0 auto; z-index: -3; width: min(80%, 1460px); height: 100%;
  background: url("hero-plan.jpg") 73% 54% / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, #171c21 13%, #171c21f5 28%, #171c21cb 43%, #171c2163 59%, #171c2119 79%), linear-gradient(0deg, #171c2166, transparent 28%); }
.hero::after {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background-image: linear-gradient(#a8bdff1b 1px, transparent 1px), linear-gradient(90deg, #a8bdff1b 1px, transparent 1px);
  background-size: 36px 36px; mask-image: linear-gradient(90deg, #000 2%, transparent 60%);
}
.hero-content { padding-block: clamp(51px, 6vw, 90px) clamp(58px, 7vw, 98px); }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--link); font-size: 11px; font-weight: 750; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }
.hero .eyebrow { color: #d8e3ff; }
.signal { width: 7px; height: 7px; background: var(--blue); border-radius: 50%; box-shadow: 0 0 0 4px #799dff2b; margin-inline: 4px 2px; }
.hero h1 { max-width: 760px; margin-block: 19px 16px; font-size: clamp(41px, 5.2vw, 77px); font-weight: 760; line-height: .99; letter-spacing: -.063em; text-wrap: balance; }
.hero h1 em { color: var(--bright); font-style: normal; }
.hero-intro { max-width: 490px; color: #e6ebf2; font-size: clamp(16px, 1.55vw, 21px); line-height: 1.44; }
.hero-benefits { padding: 0; margin-block: 18px 24px; list-style: none; display: grid; gap: 7px; font-size: 14px; }
.hero-benefits li { display: flex; gap: 9px; align-items: baseline; }
.hero-benefits li::before { content: ""; width: 6px; height: 6px; flex: 0 0 6px; background: var(--blue); transform: translateY(-2px); }
.hero-note { margin-top: 10px; color: #d5dce4; font-size: 13px; }
.hero-credit { position: absolute; right: var(--gutter); bottom: 15px; color: #fff; background: #171c21d9; padding: 3px 8px; font-size: 11px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 47px;
  border: 1px solid transparent; border-radius: 4px; padding: 10px 17px;
  font-weight: 700; font-size: 14px; line-height: 1.3; text-decoration: none;
}
.button-primary { background: var(--blue); color: #111b2b; }
.button-primary:hover { background: var(--bright); }
.button:disabled { opacity: .5; cursor: not-allowed; }
.hero .button { min-height: 53px; padding-inline: 22px; font-size: 16px; }
.button-secondary { background: transparent; color: var(--ink); border-color: #b6c2ce; }
.button-secondary:hover { background: #e6edf5; }
.text-link { color: var(--link); font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: #16316d; }

.proof-band { background: #252e38; color: var(--white); }
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.proof-grid div { min-width: 0; padding: 19px clamp(11px, 2.4vw, 34px); border-inline-start: 1px solid #ffffff2e; }
.proof-grid div:first-child { padding-inline-start: 0; border: 0; }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid strong { font-size: 16px; line-height: 1.25; }
.proof-grid span { margin-top: 5px; font-size: 13px; color: #c2cdd9; }

.section { padding-block: clamp(48px, 6vw, 84px); }
.section-heading { margin-bottom: 27px; }
.section-heading h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.03; letter-spacing: -.055em; margin-block: 11px 10px; max-width: 880px; text-wrap: balance; }
.section-heading > p:not(.eyebrow) { max-width: 65ch; color: var(--muted); }
.services-section { background: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 26px); }
.service {
  display: flex; flex-direction: column; padding: clamp(19px, 2.4vw, 31px);
  border: 1px solid #e2e7ec; border-radius: 14px; background: #fff;
  box-shadow: 0 5px 18px #20252a0a;
}
.service h3 { margin-bottom: 9px; font-size: clamp(21px, 2.05vw, 29px); line-height: 1.16; letter-spacing: -.035em; text-wrap: balance; }
.service p { color: var(--muted); margin-bottom: 19px; }
.service .text-link {
  display: flex; align-items: center; margin-top: auto; padding-top: 9px;
  min-height: 40px; border-top: 1px solid #e7ebef; text-decoration: none;
}
.service .text-link:hover, .service .text-link:focus-visible { text-decoration: underline; }
.all-services { margin-top: 14px; }
.all-services summary { display: inline-flex; justify-content: flex-start; gap: 10px; color: var(--link); font-size: 14px; }
summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; font-weight: 650; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 21px; font-weight: 400; line-height: 1; color: var(--link); flex: 0 0 auto; }
details[open] > summary::after { content: "−"; }
.all-services dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 25px; padding: 6px 0 19px; }
dt { font-weight: 750; }
dd { color: var(--muted); }

.quiz-section { background: linear-gradient(115deg, #263342, var(--graphite) 68%); color: var(--white); }
.quiz-layout, .faq-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(24px, 5vw, 78px); align-items: start; }
.quiz-layout .section-heading { padding-top: 13px; margin-bottom: 0; }
.quiz-layout .section-heading .eyebrow { color: var(--bright); }
.quiz-layout .section-heading > p:not(.eyebrow) { color: #d4dde7; }
.quiz-alt { margin-top: 20px; font-size: 14px; }
.quiz-alt a { color: var(--bright); white-space: nowrap; }
.quiz-shell {
  color: var(--ink); background: #fff; padding: clamp(19px, 3vw, 38px);
  border-radius: 16px; box-shadow: 0 16px 38px #10192452;
}
.quiz-top { display: grid; gap: 7px; margin-bottom: 20px; }
.quiz-top span { font-size: 13px; font-weight: 650; color: var(--muted); }
.quiz-top progress { appearance: none; width: 100%; height: 6px; border: 0; border-radius: 6px; background: #e4ebf4; color: #436bea; }
.quiz-top progress::-webkit-progress-bar { background: #e4ebf4; border-radius: 6px; }
.quiz-top progress::-webkit-progress-value { background: #436bea; border-radius: 6px; transition: width .24s ease; }
.quiz-top progress::-moz-progress-bar { background: #436bea; border-radius: 6px; }
.quiz-step-title { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.16; letter-spacing: -.035em; font-weight: 750; }
.quiz-step-title:focus { outline: none; }
.quiz-help { color: var(--muted); font-size: 14px; margin-block: 6px 13px; }
#quiz-step { min-height: 231px; }
.quiz-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.quiz-option {
  text-align: left; min-height: 58px; padding: 10px 13px; border: 1px solid #e0e6ee; border-radius: 8px;
  background: #f5f7fa; color: var(--ink); font-size: 15px; line-height: 1.35;
  transition: background-color .16s ease, border-color .16s ease;
}
.quiz-option:hover, .quiz-option.is-previous { background: #edf2ff; border-color: #96afff; }
.quiz-actions { min-height: 38px; margin-top: 13px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.quiz-actions .button { min-height: 40px; border-radius: 7px; }
.quiz-actions .button-primary { margin-inline-start: auto; }
.quiz-actions .button-secondary { border-color: #d9e1e9; }
.quiz-contact { display: grid; gap: 12px; margin-top: 12px; }
.quiz-contact label { display: grid; gap: 4px; font-weight: 650; font-size: 14px; }
.quiz-contact input { width: 100%; min-width: 0; padding: 9px 11px; border: 1px solid #c5ced9; border-radius: 7px; font-size: 16px; }
.personal-consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 15px; font-size: 13px; font-weight: 400; line-height: 1.5; }
.personal-consent input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; accent-color: #436bea; }
.personal-consent a { text-underline-offset: 3px; }
.form-status { margin-top: 15px; font-size: 14px; }
@media (prefers-reduced-motion: no-preference) {
  #quiz-step > .quiz-screen:not(.is-initial) { animation: quiz-reveal .24s ease-out both; }
  @keyframes quiz-reveal {
    from { opacity: .25; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

.process-section { background: #fff; }
.process-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; gap: clamp(10px, 1.8vw, 22px); }
.process-grid li { padding: clamp(16px, 2.2vw, 27px); border: 1px solid #e2e7ec; border-radius: 14px; box-shadow: 0 5px 18px #20252a0a; }
.step-number { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--graphite); color: #fff; font-weight: 750; }
.process-grid h3 { margin-block: 11px 6px; font-size: clamp(19px, 1.75vw, 24px); line-height: 1.2; letter-spacing: -.025em; }
.process-grid p, .process-note { color: var(--muted); font-size: 15px; }
.process-note { margin-top: 20px; }
.process-note strong { color: var(--ink); }
.process-note a { margin-inline-start: 4px; }

.case-section { background: #e8edf1; border-block: 1px solid #dbe1e6; }
.case-card { display: grid; grid-template-columns: .9fr 1.1fr; background: white; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.plan { min-width: 0; color: #a8bdff; background: #202932; padding: clamp(15px, 2.9vw, 36px); display: grid; align-content: center; }
.case-object { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-inline: 8%; color: #e5edff; }
.case-object strong { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.15; letter-spacing: -.035em; }
.case-object span { flex-basis: 100%; font-size: 13px; margin-bottom: 7px; color: #b6c8e4; }
.plan svg { width: 100%; height: auto; }
.plan svg path { fill: none; stroke: currentColor; vector-effect: non-scaling-stroke; }
.plan-fill { fill: #799dff31; }
.plan-wall { stroke-width: 2; }
.plan-dim, .plan-door { opacity: .65; stroke-width: 1; }
.plan-change { stroke: #d6e2ff !important; stroke-width: 2; stroke-dasharray: 5 4; }
.plan-point { fill: #d6e2ff; }
.plan figcaption { font-size: 12px; margin-left: 8%; }
.plan figcaption span { display: inline-block; width: 8px; height: 8px; background: var(--blue); margin-right: 5px; }
.case-copy { padding: clamp(18px, 3vw, 38px); }
.case-copy dl { margin-bottom: 19px; }
.case-copy dl div { padding-block: 12px; border-bottom: 1px solid #e4e9ee; }
.case-copy dl div:first-child { padding-top: 0; }
.case-copy dt { font-size: 17px; }
.case-copy dd { margin-top: 3px; }
.case-preparation { margin-top: 20px; max-width: 900px; color: var(--muted); }
.case-preparation strong { color: var(--ink); }
.questions details { border-top: 1px solid var(--line); }
.questions details:last-child { border-bottom: 1px solid var(--line); }
.questions details p { color: var(--muted); padding-bottom: 13px; }

.inquiry-section { color: var(--white); background: linear-gradient(115deg, #263342, var(--graphite) 68%); }
.inquiry-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-areas: "form intro"; gap: clamp(20px, 5vw, 74px); align-items: start; }
.inquiry-layout .section-heading { grid-area: intro; margin-bottom: 0; padding-block: 12px; }
.inquiry-layout .eyebrow, .inquiry-alt a { color: var(--bright); }
.inquiry-layout .section-heading > p:not(.eyebrow) { color: #d4dde7; }
.inquiry-alt { margin-top: 17px; font-size: 14px; }
.inquiry-alt a { white-space: nowrap; }
.audit-outcome { margin-top: 22px; border-top: 1px solid #ffffff26; padding-top: 18px; }
.audit-outcome h3 { font-size: 17px; line-height: 1.4; margin-bottom: 10px; }
.audit-outcome ul { padding-left: 19px; color: #d4dde7; }
.audit-outcome li + li { margin-top: 6px; }
.inquiry-panel { grid-area: form; padding: clamp(18px, 3vw, 38px); border: 1px solid #ffffff26; border-radius: 16px; background: #171c2166; }
.inquiry-panel form { display: grid; gap: 14px; }
.inquiry-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.inquiry-panel label { display: grid; gap: 6px; font-size: 14px; font-weight: 650; }
.inquiry-panel :is(input, textarea) { width: 100%; min-width: 0; min-height: 44px; padding: 10px 11px; border: 1px solid #67798d; border-radius: 7px; color: var(--white); background: #222b35; font: 400 16px/1.45 "Segoe UI", Arial, sans-serif; }
.inquiry-panel :is(input, textarea)::placeholder { color: #b5c3d0; }
.inquiry-panel textarea { resize: vertical; }
.inquiry-panel form .button { justify-self: start; }
.inquiry-panel p { color: #d4dde7; font-size: 13px; margin-top: 11px; }
.inquiry-panel .personal-consent { display: flex; font-weight: 400; }
.inquiry-panel .personal-consent input { min-height: 18px; padding: 0; }

.contacts-section { background: #fff; }
.contacts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.contacts-grid > div { border: 1px solid #e2e7ec; border-radius: 14px; padding: clamp(17px, 2.3vw, 28px); }
.contacts-grid h3 { margin-bottom: 5px; font-size: 15px; font-weight: 650; color: var(--muted); }
.contact-value { font-size: clamp(17px, 1.85vw, 25px); font-style: normal; font-weight: 750; line-height: 1.25; overflow-wrap: anywhere; }
.contacts-grid a.contact-value { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.contacts-grid p { margin-block: 7px; color: var(--muted); font-size: 14px; }
.copy-contact { display: block; background: transparent; border: 0; padding: 8px 0; margin-top: 5px; min-height: 36px; color: var(--link); font-size: 13px; }
.copy-contact:hover { text-decoration: underline; }
.copy-status { color: var(--muted); font-size: 13px; }

.footer { background: var(--graphite); color: var(--white); padding-block: 27px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: start; }
.footer address, .footer-meta { display: grid; gap: 3px; font-style: normal; }
.footer a:not(.brand), .footer span, .footer p { font-size: 13px; color: #d6dfe9; }
.footer p { margin-top: 7px; }
.company-details { margin-top: 10px; max-width: 380px; }
.company-details summary { font-size: 13px; color: #d6dfe9; padding: 4px 0; }
.company-details p { line-height: 1.7; }
.cookie-settings { background: transparent; border: 0; padding: 0; color: #d6dfe9; font-size: 13px; text-align: left; text-decoration: underline; }
.cookie-notice {
  position: fixed; z-index: 10; right: 14px; bottom: max(14px, env(safe-area-inset-bottom));
  width: min(370px, calc(100% - 28px)); border: 1px solid #d4d9de; border-radius: 10px;
  padding: 14px 16px; background: #fff; color: var(--ink); box-shadow: 0 5px 25px #15253625; font-size: 13px;
}
.cookie-notice div { display: flex; gap: 10px; margin-top: 10px; }
.cookie-notice button { border: 1px solid #c7d2e6; border-radius: 5px; min-height: 38px; padding: 6px 11px; background: #eef3ff; color: #1b3a72; font-size: 13px; }
.cookie-notice button + button { background: #fff; }

@media (max-width: 1000px) {
  .header-phone { display: none; }
}
@media (max-width: 900px) {
  .hero-image { width: 100%; }
  .hero::before { background: linear-gradient(90deg, #171c21fa 2%, #171c21e6 32%, #171c21b3 53%, #171c2126 100%); }
  .hero h1 { max-width: 590px; }
}
@media (max-width: 720px) {
  .header-row { flex-wrap: wrap; gap: 6px 13px; padding-block: 9px; }
  .header-row nav { order: 3; flex-basis: 100%; gap: 18px; flex-wrap: wrap; }
  .header-row nav a { display: inline-flex; align-items: center; min-height: 32px; font-size: 13px; }
  .header-row nav .nav-faq { display: none; }
  .hero h1 { font-size: clamp(39px, 7.5vw, 55px); }
  .services-grid, .case-card, .quiz-layout, .faq-layout { grid-template-columns: 1fr; }
  .inquiry-layout { grid-template-columns: 1fr; grid-template-areas: "intro" "form"; }
  .inquiry-layout .section-heading { padding: 0; }
  .contacts-grid { grid-template-columns: 1fr 1fr; }
  .contacts-grid > div:last-child { grid-column: 1 / -1; }
  .quiz-layout .section-heading { padding-top: 0; }
  .faq-layout { gap: 0; }
  .proof-grid strong { font-size: 14px; }
  .proof-grid span { font-size: 12px; }
  .process-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .hero::before {
    background:
      linear-gradient(90deg, #171c21ed, #171c21c9 45%, #171c2178),
      linear-gradient(180deg, #171c2152, #171c2175 47%, #171c2133 65%, transparent 86%);
  }
}
@media (max-width: 430px) {
  .header-row { gap: 6px 7px; }
  .header-row nav { gap: 4px 15px; }
  .header-row nav a { min-height: 38px; }
  .header-cta { min-height: 44px; padding-inline: 11px; font-size: 13px; }
  .brand { gap: 5px; }
  .brand img { width: 32px; height: 32px; }
  .brand strong { font-size: 17px; }
  .brand small { font-size: 6.5px; }
  .hero-content { padding-block: 43px 54px; }
  .hero h1 { font-size: clamp(33px, 9vw, 39px); }
  .hero-credit { bottom: 10px; }
  .hero-benefits { font-size: 13px; }
  .proof-grid { grid-template-columns: 1fr; padding-block: 5px; }
  .proof-grid div, .proof-grid div:first-child { padding: 10px 0; border: 0; }
  .proof-grid div + div { border-top: 1px solid #ffffff2e; }
  .all-services dl { grid-template-columns: 1fr; }
  #quiz-step { min-height: 278px; }
  .quiz-options { grid-template-columns: 1fr; }
  .quiz-option { min-height: 46px; }
  .process-grid, .contacts-grid, .inquiry-fields { grid-template-columns: 1fr; }
  .process-grid li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 11px; align-items: center; }
  .process-grid h3 { margin-block: 0; }
  .process-grid p { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (pointer: coarse) {
  .header-row nav a, .service .text-link { min-height: 44px; }
}
