:root {
    --ink: #17202a;
    --muted: #64707d;
    --soft: #f4f7f6;
    --paper: #ffffff;
    --line: #dfe6e8;
    --line-strong: #c5d0d5;
    --blue: #1f5d86;
    --blue-dark: #143f5c;
    --orange: #e46f2c;
    --orange-dark: #bd5520;
    --green: #2e7d56;
    --graphite: #24313a;
    --graphite-2: #33434d;
    --shadow: 0 22px 60px rgba(23, 32, 42, 0.12);
    --shadow-soft: 0 12px 34px rgba(23, 32, 42, 0.08);
    --radius: 8px;
    --shell: 1180px;
    --font: "Inter", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--soft);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body[data-segment="agro"] {
    --blue: #2e6b4b;
    --blue-dark: #1f4e36;
    --orange: #d96f2b;
}

body[data-segment="sport"] {
    --blue: #1d638e;
    --blue-dark: #123f5f;
    --orange: #ec7f2e;
}

body[data-segment="industry"] {
    --blue: #315f7a;
    --blue-dark: #243f50;
    --orange: #db6930;
}

a {
    color: inherit;
}

button,
input,
select {
    font: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 1000;
    padding: 12px 16px;
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--radius);
}

.skip-link:focus {
    top: 16px;
}

.shell {
    width: min(calc(100% - 40px), var(--shell));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    border-bottom: 1px solid rgba(223, 230, 232, 0.85);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
}

.header-shell {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 0;
}

.brand {
    min-width: 250px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
}

.brand-mark {
    width: 50px;
    height: 50px;
    display: block;
    flex: 0 0 50px;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(23, 32, 42, 0.12);
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    line-height: 1.1;
}

.brand small {
    color: var(--muted);
    font-size: 12px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.nav a,
.header-phone {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    border-radius: 6px;
    padding: 0 10px;
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 650;
}

.nav a:hover,
.header-phone:hover {
    color: var(--blue-dark);
    background: #edf4f6;
}

.header-phone {
    color: var(--ink);
    white-space: nowrap;
}

.header-call-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(228, 111, 44, 0.22);
    border-radius: 999px;
    padding: 0 16px;
    background: var(--orange);
    color: var(--paper);
    cursor: pointer;
    font-size: 13px;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(228, 111, 44, 0.18);
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.header-call-button:hover {
    transform: translateY(-1px);
    border-color: var(--orange-dark);
    background: var(--orange-dark);
    box-shadow: 0 12px 26px rgba(228, 111, 44, 0.24);
}

.header-messengers {
    display: flex;
    align-items: center;
    gap: 6px;
}

.messenger-button {
    position: relative;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--paper);
    color: var(--blue-dark);
    cursor: pointer;
    line-height: 1;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.messenger-button:hover {
    transform: translateY(-1px);
    border-color: var(--orange);
    background: #fff5ef;
    color: var(--orange-dark);
}

.messenger-button img {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}

.messenger-button::before,
.messenger-button::after {
    position: absolute;
    left: 50%;
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 140ms ease, transform 140ms ease;
}

.messenger-button::before {
    content: "";
    top: calc(100% + 5px);
    border: 6px solid transparent;
    border-bottom-color: var(--graphite);
    transform: translate(-50%, -2px);
}

.messenger-button::after {
    content: attr(data-tooltip);
    top: calc(100% + 16px);
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    border-radius: 6px;
    padding: 0 10px;
    background: var(--graphite);
    color: var(--paper);
    box-shadow: 0 12px 26px rgba(23, 32, 42, 0.18);
    font-size: 12px;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
    transform: translate(-50%, -2px);
}

.messenger-button-telegram::after {
    left: auto;
    right: 0;
    transform: translateY(-2px);
}

.messenger-button:hover::before,
.messenger-button:focus-visible::before {
    opacity: 1;
    transform: translate(-50%, 0);
}

.messenger-button:hover::after,
.messenger-button:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, 0);
}

.messenger-button-telegram:hover::after,
.messenger-button-telegram:focus-visible::after {
    transform: translateY(0);
}

.hero {
    position: relative;
    overflow: clip;
    padding: 44px 0 38px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.91) 48%, rgba(255, 255, 255, 0.72) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(237, 243, 245, 0.88)),
        url("../img/hangar-hero.png") center / cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(244, 247, 246, 0.52));
    pointer-events: none;
}

.hero::after {
    display: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 430px);
    grid-template-areas: "copy form";
    gap: 26px 34px;
    align-items: start;
}

.hero-copy {
    grid-area: copy;
    padding-top: 18px;
}

.segment-pill {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    padding: 7px 10px;
    border: 1px solid rgba(31, 93, 134, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--blue-dark);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.segment-pill b {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 999px;
    padding: 0 9px;
    background: var(--orange);
    color: var(--paper);
    font-size: 11px;
}

h1 {
    max-width: 820px;
    margin: 20px 0 18px;
    color: var(--ink);
    font-size: clamp(36px, 4.1vw, 58px);
    line-height: 1.06;
    font-weight: 780;
    letter-spacing: 0;
}

.hero-subtitle {
    max-width: 760px;
    margin-bottom: 20px;
    color: #465461;
    font-size: clamp(17px, 1.7vw, 21px);
    line-height: 1.58;
}

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 820px;
    margin: 0 0 26px;
}

.hero-benefits span {
    min-height: 62px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.82);
    color: #34414c;
    font-size: 14px;
    box-shadow: 0 8px 20px rgba(23, 32, 42, 0.04);
}

.hero-benefits span::before {
    content: "";
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin-top: 2px;
    border-radius: 50%;
    border: 5px solid var(--paper);
    background: var(--green);
    box-shadow: 0 0 0 1px rgba(46, 125, 86, 0.28);
}

.hero-actions,
.calc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    max-width: 100%;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 13px 18px;
    text-decoration: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.14;
    text-align: center;
    white-space: nowrap;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button:focus-visible,
.header-call-button:focus-visible,
.messenger-button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(228, 111, 44, 0.34);
    outline-offset: 3px;
}

.button-primary {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--paper);
    box-shadow: 0 12px 24px rgba(228, 111, 44, 0.22);
}

.button-primary:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
}

.button-secondary {
    background: var(--paper);
    border-color: var(--line-strong);
    color: var(--blue-dark);
}

.button-secondary:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.button-small {
    width: fit-content;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 14px;
    box-shadow: none;
}

.lead-form .button {
    width: 100%;
}

.construction-section {
    background: var(--paper);
}

.construction-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: stretch;
}

.construction-grid .section-heading {
    grid-column: 1 / -1;
    margin-bottom: 4px;
}

.section-heading p {
    max-width: 780px;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.construction-visual {
    position: relative;
    width: 100%;
    min-height: 420px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--graphite);
    box-shadow: var(--shadow);
    padding: 0;
    color: inherit;
    text-align: left;
}

.photo-placeholder {
    position: absolute;
    inset: 0;
    display: block;
    background:
        linear-gradient(90deg, rgba(23, 32, 42, 0.38), rgba(23, 32, 42, 0.05) 56%),
        url("../img/hangar-hero.png") center / cover no-repeat;
}

.photo-placeholder span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    gap: 6px;
    padding: 22px 26px;
    background: linear-gradient(180deg, rgba(23, 32, 42, 0), rgba(23, 32, 42, 0.86));
    color: var(--paper);
    font-size: 16px;
}

.construction-visual .photo-placeholder span {
    top: 0;
    bottom: auto;
    padding: 26px 28px 82px;
    background: linear-gradient(180deg, rgba(23, 32, 42, 0.88), rgba(23, 32, 42, 0.56) 58%, rgba(23, 32, 42, 0));
}

.photo-placeholder strong {
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.08;
}

.photo-placeholder small {
    max-width: 820px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.45;
}

.hero-visual-more {
    position: absolute;
    z-index: 4;
    inset: 0;
    min-height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    padding: 0 18px;
    background: rgba(23, 32, 42, 0.54);
    color: var(--paper);
    font-size: clamp(24px, 3vw, 42px);
    font-weight: 850;
    opacity: 0;
    transform: none;
    transition: opacity 180ms ease, background 180ms ease;
}

.construction-visual:hover .photo-placeholder,
.construction-visual:focus-within .photo-placeholder {
    filter: saturate(1.08) contrast(1.04);
}

.hotspot {
    position: absolute;
    z-index: 5;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(17, 25, 31, 0.26);
}

.hotspot::before {
    content: "";
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 50%;
}

.hotspot i {
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background: var(--orange);
}

.hotspot.is-active,
.hotspot:hover {
    background: var(--orange);
}

.hotspot.is-active i,
.hotspot:hover i {
    background: var(--paper);
}

.hotspot-pvc {
    left: 59%;
    top: 34%;
}

.hotspot-frame {
    left: 38%;
    top: 43%;
}

.hotspot-gates {
    left: 50%;
    bottom: 21%;
}

.hotspot-base {
    left: 20%;
    bottom: 15%;
}

.hotspot-info {
    display: grid;
    align-content: stretch;
}

.hotspot-info article {
    display: none;
    min-height: 100%;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f8faf9;
    box-shadow: var(--shadow-soft);
}

.hotspot-info article.is-active {
    display: block;
}

.hotspot-info span {
    display: block;
    color: var(--blue);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.hotspot-info h3 {
    margin: 10px 0 12px;
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.13;
    font-weight: 720;
}

.hotspot-info p {
    color: var(--muted);
}

.blueprint-card,
.hero-stat {
    display: none;
}

.blueprint-card {
    left: 18px;
    padding: 12px 14px;
}

.blueprint-card-top {
    top: 18px;
}

.blueprint-card-bottom {
    bottom: 74px;
}

.blueprint-card small,
.hero-stat span,
.trust-item span,
.section-heading span,
.solution-body > span,
.project-card span,
.production-copy > span,
.final-cta span,
.footer-grid span,
.calc-summary span,
.calc-intro span {
    display: block;
    color: var(--blue);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.blueprint-card strong {
    display: block;
    margin-top: 2px;
    color: var(--ink);
}

.hero-stat {
    min-width: 128px;
    padding: 12px 14px;
}

.hero-stat strong {
    display: block;
    color: var(--ink);
    font-size: 22px;
    line-height: 1.05;
}

.hero-stat-1 {
    top: 18px;
    right: 18px;
}

.hero-stat-2 {
    right: 18px;
    top: 116px;
}

.hero-stat-3 {
    right: 18px;
    bottom: 18px;
}

.lead-form {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.hero-form {
    grid-area: form;
    position: sticky;
    top: 92px;
    max-height: calc(100vh - 112px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    display: grid;
    gap: 14px;
    padding: 24px;
}

.hero-form h2,
.hero-form p,
.hero-form .form-status {
    margin-bottom: 0;
}

.lead-form h2 {
    font-size: 25px;
    line-height: 1.16;
    font-weight: 720;
}

.lead-form p {
    color: var(--muted);
}

.lead-form label {
    display: grid;
    gap: 6px;
}

.lead-form label span {
    color: #44515c;
    font-size: 13px;
    font-weight: 750;
}

.lead-form input,
.lead-form select {
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: #fbfcfc;
    padding: 12px;
    color: var(--ink);
}

.lead-form .consent-field,
.quiz-final-form .consent-field {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    line-height: 1.35;
}

.lead-form .consent-field input,
.quiz-final-form .consent-field input {
    width: 18px;
    height: 18px;
    min-height: 18px;
    flex: 0 0 18px;
    margin: 2px 0 0;
    padding: 0;
    cursor: pointer;
    accent-color: var(--orange);
}

.lead-form .consent-field span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
}

.form-status {
    min-height: 20px;
    color: var(--green);
    font-size: 13px;
}

.trust-band {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    background: transparent;
    padding: 18px 0;
}

.trust-item {
    min-height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.trust-item strong {
    max-width: none;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.16;
    font-weight: 720;
}

.trust-item span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.42;
    text-transform: none;
}

.section {
    padding: 86px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 32px;
}

.section-heading h2,
.calc-intro h2,
.production-copy h2,
.final-cta h2 {
    margin: 8px 0 0;
    color: var(--ink);
    font-size: clamp(29px, 3.1vw, 44px);
    line-height: 1.12;
    font-weight: 760;
    letter-spacing: 0;
}

.section-heading.split {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.task-layout {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.task-card {
    position: relative;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.task-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--orange), var(--blue));
}

.task-index {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 34px;
    border-radius: 50%;
    background: #eef4f5;
    color: var(--blue-dark);
    font-weight: 850;
}

.task-card h3 {
    margin-bottom: 10px;
    font-size: 25px;
    line-height: 1.16;
    font-weight: 720;
}

.task-card p {
    margin-bottom: 18px;
    color: var(--muted);
}

.task-card > span {
    margin-top: auto;
    color: var(--blue);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.solutions {
    background: #eef3f4;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 18px;
}

.solution-card {
    height: 100%;
    min-height: 100%;
    display: grid;
    grid-template-rows: 210px 1fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.solution-media,
.project-photo,
.production-media div {
    position: relative;
    min-height: 100%;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: 16px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 12px;
    background:
        linear-gradient(180deg, rgba(23, 32, 42, 0.02), rgba(23, 32, 42, 0.68)),
        url("../img/hangar-hero.png") center / cover no-repeat;
}

.solution-card:nth-child(2n) .solution-media,
.project-card:nth-child(2n) .project-photo {
    background-position: 62% center;
}

.solution-card:nth-child(3n) .solution-media,
.project-card:nth-child(3n) .project-photo {
    background-position: 35% center;
}

.solution-media::after,
.project-photo::after,
.production-media div::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(31, 93, 134, 0.22), transparent 50%);
    pointer-events: none;
}

.solution-body {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 22px;
}

.solution-body h3 {
    margin: 8px 0 10px;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 720;
}

.solution-body p {
    margin-bottom: 18px;
    color: var(--muted);
}

.solution-body dl {
    margin-top: auto;
    margin-bottom: 16px;
}

.solution-body .button {
    width: 100%;
    align-self: stretch;
}

dl {
    display: grid;
    gap: 0;
    margin: 18px 0;
    border-top: 1px solid var(--line);
}

dl div {
    display: grid;
    grid-template-columns: 0.86fr 1fr;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
}

dt {
    color: var(--muted);
}

dd {
    margin: 0;
    text-align: right;
    font-weight: 800;
}

.text-button {
    margin-top: auto;
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--orange-dark);
    cursor: pointer;
    font: inherit;
    font-weight: 850;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.text-button:hover {
    color: var(--blue-dark);
}

.calculator-section {
    background:
        linear-gradient(135deg, rgba(31, 93, 134, 0.94), rgba(20, 63, 92, 0.98)),
        var(--blue-dark);
    color: var(--paper);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 0.7fr minmax(0, 1fr) 0.58fr;
    gap: 18px;
    align-items: start;
}

.calc-intro h2,
.final-cta h2 {
    color: var(--paper);
}

.calc-intro p {
    color: rgba(255, 255, 255, 0.76);
}

.calc-intro span,
.calc-summary span {
    color: #ffd1b8;
}

.calculator,
.calc-summary {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.calculator {
    padding: 24px;
}

.calc-summary {
    position: sticky;
    top: 94px;
    min-height: 280px;
    padding: 22px;
}

.calc-progress {
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.75);
}

.calc-progress > div {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.calc-progress i {
    display: block;
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: var(--orange);
    transition: width 220ms ease;
}

.calc-perks {
    display: grid;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.calc-perks li {
    position: relative;
    padding-left: 28px;
    color: rgba(255, 255, 255, 0.82);
}

.calc-perks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 5px rgba(228, 111, 44, 0.18);
}

.calc-question h3 {
    margin-bottom: 8px;
    font-size: 30px;
    line-height: 1.14;
    font-weight: 720;
}

.calc-question p {
    color: rgba(255, 255, 255, 0.72);
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.quiz-option {
    min-height: 58px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    padding: 14px;
    color: var(--paper);
    text-align: left;
    cursor: pointer;
}

.quiz-option:hover,
.quiz-option.is-selected {
    border-color: var(--orange);
    background: rgba(228, 111, 44, 0.22);
}

.calc-input {
    width: 100%;
    min-height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.12);
    padding: 12px 14px;
    color: var(--paper);
}

.calc-input::placeholder {
    color: rgba(255, 255, 255, 0.62);
}

.calc-actions {
    margin-top: 24px;
}

.quiz-final-form {
    display: grid;
    gap: 14px;
    margin-top: 22px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
}

.quiz-final-form label {
    display: grid;
    gap: 6px;
}

.quiz-final-form label span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 750;
}

.quiz-final-form input {
    width: 100%;
    min-height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.12);
    padding: 12px 14px;
    color: var(--paper);
}

.quiz-final-form input::placeholder {
    color: rgba(255, 255, 255, 0.62);
}

.quiz-final-form .consent-field span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 650;
}

.field-error {
    color: #ffd1b8;
    font-size: 13px;
}

.is-invalid input,
input.is-invalid {
    border-color: #ffb199 !important;
    box-shadow: 0 0 0 3px rgba(255, 177, 153, 0.18);
}

.messenger-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: -4px;
}

.messenger-row a,
.messenger-row button {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: #f6faf9;
    color: var(--blue-dark);
    cursor: pointer;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 780;
    text-decoration: none;
}

.calculator-section .messenger-row a,
.calculator-section .messenger-row button {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--paper);
}

.messenger-row a:hover,
.messenger-row button:hover {
    border-color: var(--orange);
}

.summary-line {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.summary-line b {
    display: block;
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    text-transform: uppercase;
}

.summary-line span {
    color: var(--paper);
    font-size: 14px;
}

.calc-summary p {
    color: rgba(255, 255, 255, 0.72);
}

.project-slider {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    gap: 14px;
    align-items: center;
}

.project-card {
    min-width: 100%;
    display: grid;
    grid-template-columns: minmax(280px, 0.46fr) minmax(0, 1fr);
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.project-viewport {
    overflow: hidden;
    border-radius: var(--radius);
}

.project-track {
    display: flex;
    gap: 0;
    transition: transform 280ms ease;
}

.slider-button {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: var(--paper);
    color: var(--blue-dark);
    cursor: pointer;
    font-size: 34px;
    line-height: 1;
    box-shadow: var(--shadow-soft);
}

.slider-button:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.slider-dots {
    grid-column: 2;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-top: 2px;
}

.slider-dot {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 50%;
    background: var(--line-strong);
    cursor: pointer;
}

.slider-dot.is-active {
    width: 28px;
    border-radius: 999px;
    background: var(--orange);
}

.project-photo {
    min-height: 320px;
}

.project-card > div:last-child {
    padding: 28px;
}

.project-card h3 {
    margin: 8px 0 10px;
    font-size: 31px;
    line-height: 1.1;
    font-weight: 720;
}

.project-card p,
.production-copy p,
.final-cta p {
    color: var(--muted);
}

.project-card ul,
.production-copy ul {
    margin: 18px 0;
    padding-left: 20px;
}

.project-card li,
.production-copy li {
    margin-bottom: 8px;
}

.certificates {
    background: var(--graphite);
    color: var(--paper);
}

.certificates .section-heading h2 {
    color: var(--paper);
}

.certificates .section-heading span {
    color: #ffd1b8;
}

.cert-grid {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 34px;
}

.cert-slider {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.cert-viewport {
    grid-column: 2;
    grid-row: 1 / span 3;
    height: 520px;
    overflow: hidden;
    border-radius: var(--radius);
}

.cert-track {
    display: flex;
    flex-direction: column;
    transition: transform 280ms ease;
}

.cert-arrow {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--paper);
    cursor: pointer;
    font-size: 26px;
}

.cert-arrow:hover {
    border-color: rgba(255, 255, 255, 0.38);
}

.cert-dots {
    grid-column: 1;
    grid-row: 2;
    flex-direction: column;
    align-items: center;
    padding: 0;
}

.cert-card {
    flex: 0 0 520px;
    min-height: 158px;
    display: grid;
    gap: 10px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.07);
    color: inherit;
    text-align: left;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.cert-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.11);
}

.cert-preview {
    width: 100%;
    height: 306px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 0;
    border-radius: 6px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(232, 237, 239, 0.9)),
        repeating-linear-gradient(0deg, rgba(36, 49, 58, 0.1) 0 1px, transparent 1px 17px);
    color: var(--graphite);
    cursor: pointer;
    text-align: center;
}

.cert-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: var(--paper);
}

.cert-preview:focus-visible {
    outline: 3px solid rgba(255, 209, 184, 0.55);
    outline-offset: 3px;
}

.cert-preview i {
    width: 70%;
    min-height: 86px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(36, 49, 58, 0.18);
    border-radius: 4px;
    background: var(--paper);
    padding: 12px;
    font-size: 12px;
    font-style: normal;
    text-align: center;
}

.cert-card strong {
    display: block;
    color: var(--paper);
    font-size: 20px;
    line-height: 1.2;
}

.cert-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
}

.cert-card em {
    color: #ffd1b8;
    font-style: normal;
    font-weight: 850;
}

.production {
    background: var(--paper);
}

.production-grid {
    display: grid;
    grid-template-columns: 0.92fr 0.9fr;
    gap: 34px;
    align-items: center;
}

.production-media {
    display: block;
}

.production-media div {
    min-height: 500px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.inline-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
    margin-top: 24px;
    padding: 18px;
    box-shadow: var(--shadow-soft);
}

.inline-form .form-status {
    grid-column: 1 / -1;
}

.inline-form .messenger-row,
.inline-form .consent-field {
    grid-column: 1;
}

.inline-form > .button {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: stretch;
}

.faq {
    background: #f8faf9;
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.72fr 1fr;
    gap: 38px;
}

.faq-list {
    display: grid;
    gap: 10px;
}

details {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: 0 6px 18px rgba(23, 32, 42, 0.04);
}

summary {
    min-height: 62px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    cursor: pointer;
    font-weight: 850;
}

details p {
    margin: 0;
    padding: 0 18px 18px;
    color: var(--muted);
}

.final-cta {
    padding: 64px 0;
    background:
        linear-gradient(120deg, rgba(20, 63, 92, 0.96), rgba(31, 93, 134, 0.9)),
        var(--blue-dark);
    color: var(--paper);
}

.final-cta-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.final-cta p,
.final-cta span {
    color: rgba(255, 255, 255, 0.78);
}

.site-footer {
    padding: 48px 0;
    background: #11191f;
    color: var(--paper);
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal.is-open {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 25, 31, 0.66);
    backdrop-filter: blur(8px);
}

.modal-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    max-height: min(860px, calc(100dvh - 48px));
    overflow: auto;
    border-radius: 10px;
    background: var(--paper);
    box-shadow: 0 30px 90px rgba(17, 25, 31, 0.32);
    padding: 28px;
}

.modal-close {
    position: absolute;
    right: 14px;
    top: 12px;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper);
    color: var(--ink);
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
}

.modal-panel h2 {
    margin: 8px 42px 10px 0;
    color: var(--ink);
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.12;
}

.modal-panel p {
    color: var(--muted);
}

.modal-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    border: 0;
    box-shadow: none;
}

.document-large {
    max-height: min(72vh, 780px);
    display: grid;
    place-items: center;
    margin: 18px 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(235, 240, 242, 0.94)),
        repeating-linear-gradient(0deg, rgba(36, 49, 58, 0.08) 0 1px, transparent 1px 22px);
    color: var(--graphite);
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    overflow: auto;
}

.document-large img {
    width: 100%;
    max-height: min(70vh, 760px);
    display: block;
    object-fit: contain;
    background: var(--paper);
}

.document-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    padding: 0 16px;
    background: var(--blue);
    color: var(--paper);
    text-decoration: none;
    font-size: 14px;
    font-weight: 850;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 32px;
}

.footer-grid a,
.footer-grid p {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
}

.footer-grid a:hover {
    color: var(--paper);
}

@media (max-width: 1080px) {
    .nav {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "form";
    }

    .hero-form,
    .calc-summary {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .trust-grid,
    .solution-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .task-layout,
    .calculator-grid,
    .cert-grid,
    .construction-grid,
    .production-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        grid-template-columns: 0.78fr 1fr;
    }
}

@media (max-width: 700px) {
    .shell {
        width: min(calc(100% - 28px), var(--shell));
    }

    .header-shell {
        min-height: 104px;
        flex-wrap: wrap;
        align-content: center;
        gap: 8px 12px;
        padding: 8px 0 10px;
    }

    .brand {
        flex: 1 1 auto;
        min-width: 0;
    }

    .header-contacts {
        order: 2;
        width: 100%;
        justify-content: space-between;
        gap: 8px;
        margin-left: 0;
    }

    .header-call-button {
        flex: 1 1 auto;
        min-height: 40px;
        padding: 0 14px;
        font-size: 13px;
    }

    .brand small,
    .header-phone,
    .hero-stat,
    .blueprint-card-bottom {
        display: none;
    }

    .messenger-button {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
    }

    .hero {
        padding: 30px 0 28px;
    }

    h1 {
        font-size: clamp(34px, 10vw, 48px);
        line-height: 1.02;
    }

    .hero-benefits,
    .trust-grid,
    .solution-grid,
    .project-card,
    .inline-form,
    .footer-grid,
    .option-grid,
    .cert-slider {
        grid-template-columns: 1fr;
    }

    .construction-visual {
        min-height: 340px;
    }

    .photo-placeholder span {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .construction-visual .photo-placeholder span {
        top: 12px;
        bottom: auto;
        padding: 18px 18px 78px;
    }

    .button {
        min-height: 46px;
        padding: 12px 14px;
        font-size: 14px;
    }

    .section {
        padding: 62px 0;
    }

    .section-heading.split,
    .final-cta-grid {
        display: grid;
        align-items: start;
    }

    .project-photo,
    .production-media div {
        min-height: 250px;
    }

    .project-card > div:last-child {
        padding: 22px;
    }

    .cert-viewport {
        grid-column: 1;
        grid-row: auto;
        height: 500px;
    }

    .cert-arrow {
        display: none;
    }

    .cert-dots {
        grid-column: 1;
        grid-row: auto;
        flex-direction: row;
    }

    .cert-card {
        flex-basis: 500px;
    }

    .hotspot-info article {
        min-height: auto;
        padding: 22px;
    }

    .inline-form > .button,
    .inline-form .messenger-row,
    .inline-form .consent-field {
        grid-column: auto;
        grid-row: auto;
    }

    dl div {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    dd {
        text-align: left;
    }

    .project-slider {
        grid-template-columns: 1fr;
    }

    .slider-button {
        display: none;
    }

    .slider-dots {
        grid-column: 1;
    }

    .hero-visual-more {
        opacity: 1;
        inset: auto 14px 14px auto;
        min-height: 48px;
        border-radius: var(--radius);
        background: var(--orange);
        font-size: 16px;
    }

    .modal {
        padding: 12px;
    }

    .modal-panel {
        max-height: calc(100dvh - 24px);
        padding: 22px;
    }

    .document-large {
        min-height: 360px;
        max-height: 62vh;
    }

    .document-large img {
        max-height: 58vh;
    }
}

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