@font-face {
    font-family: "NT Somic";
    src: url("./NTSomic-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "NT Somic";
    src: url("./NTSomic-Bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --navy: #1c2533;
    --navy-deep: #0d171d;
    --wine: #45181d;
    --wine-dark: #351116;
    --sand: #f8b45e;
    --sand-light: #ffc477;
    --green: #172923;
    --green-soft: #294b40;
    --ink: #170804;
    --paper: #f0eee8;
    --paper-light: #faf9f5;
    --white: #f8f8f8;
    --muted-light: rgba(248, 248, 248, 0.7);
    --muted-dark: rgba(23, 8, 4, 0.62);
    --line-light: rgba(255, 255, 255, 0.2);
    --line-dark: rgba(23, 8, 4, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--green); color: var(--ink); font-family: "NT Somic", sans-serif; margin: 0; }
body.modal-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; }

.container { margin: 0 auto; max-width: 1360px; padding: 0 32px; width: 100%; }

.header {
    background: rgba(13, 23, 29, 0);
    border-bottom: 1px solid rgba(255, 255, 255, 0);
    color: var(--white);
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 50;
    transition: background-color 900ms ease, border-color 900ms ease, -webkit-backdrop-filter 900ms ease, backdrop-filter 900ms ease;
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);
}

.header.is-scrolled { background: rgba(13, 23, 29, 0.88); border-bottom-color: rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

.header__inner {
    align-items: center;
    display: grid;
    gap: 28px;
    grid-template-columns: auto auto 1fr auto;
    margin: 0 auto;
    max-width: 1360px;
    min-height: 72px;
    padding: 0 32px;
}

.brand { font-size: 21px; font-weight: 700; letter-spacing: 0.12em; white-space: nowrap; }
.header-award { align-items: center; background: rgba(23, 41, 35, 0.58); border: 1px solid rgba(255, 255, 255, 0.28); display: flex; font-size: 9px; gap: 8px; line-height: 1.08; padding: 5px 10px 5px 5px; white-space: nowrap; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.header-award__mark { align-items: center; background: var(--ink); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 50%; display: flex; flex: 0 0 30px; font-size: 15px; font-weight: 700; height: 30px; justify-content: center; }
.header__nav { align-items: center; display: flex; gap: clamp(18px, 2.4vw, 34px); justify-content: center; }
.header__nav a { font-size: 12px; opacity: 0.78; position: relative; transition: color 180ms ease, opacity 180ms ease; }
.header__nav a::after { background: var(--sand); bottom: -9px; content: ""; height: 1px; left: 0; position: absolute; transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; width: 100%; }
.header__nav a:hover { opacity: 1; }
.header__nav a:hover::after { transform: scaleX(1); }
.header__actions { align-items: center; display: flex; gap: 18px; justify-self: end; }
.header__phone { font-size: 13px; white-space: nowrap; }

.header__button, .primary-button, .footer__button, .text-button, .lead-form > button {
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.header__button { background: transparent; border: 1px solid rgba(255, 255, 255, 0.72); color: var(--white); font-size: 11px; padding: 11px 17px; text-transform: uppercase; }
.header__button:hover { background: var(--sand); border-color: var(--sand); color: var(--ink); }

.hero { background: var(--navy-deep); color: var(--white); isolation: isolate; min-height: max(720px, 100svh); overflow: hidden; position: relative; }
.hero__media, .hero__media-shade { inset: 0; position: absolute; }
.hero__media { z-index: -2; }
.hero__media video { height: 100%; object-fit: cover; object-position: center; width: 100%; }
.hero__media-shade {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.18) 72%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 46%, rgba(0, 0, 0, 0.62) 100%);
}

.hero__content { align-items: flex-start; display: flex; flex-direction: column; justify-content: flex-end; margin: 0 auto; max-width: 1360px; min-height: max(720px, 100svh); padding: 128px 32px 34px; position: relative; width: 100%; z-index: 1; }
.hero-award { align-items: center; background: rgba(23, 41, 35, 0.58); border: 1px solid rgba(255, 255, 255, 0.28); display: flex; font-size: 12px; gap: 10px; left: 32px; line-height: 1.15; padding: 8px 14px 8px 8px; position: absolute; top: 102px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hero-award__mark { align-items: center; background: var(--ink); border: 2px solid rgba(255, 255, 255, 0.9); border-radius: 50%; display: flex; flex: 0 0 40px; font-size: 22px; font-weight: 700; height: 40px; justify-content: center; }
.hero__eyebrow, .section-label, .footer__label, .modal__label { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.hero__eyebrow { color: var(--sand-light); margin: 0 0 18px; }
h1, .section h2, .project-card h3, .footer__phone, .modal h2 { font-weight: 400; }
h1 { font-size: clamp(48px, 5.4vw, 78px); letter-spacing: -0.045em; line-height: 0.94; margin: 0; max-width: 980px; text-transform: uppercase; }
h1 span { display: block; }
.hero__subtitle { color: rgba(248, 248, 248, 0.82); font-size: 17px; line-height: 1.5; margin: 24px 0 28px; max-width: 650px; }

.primary-button, .footer__button { align-items: center; background: var(--sand); border: 1px solid var(--sand); color: var(--ink); display: inline-flex; font-size: 13px; font-weight: 700; justify-content: center; min-height: 48px; padding: 13px 22px; }
.primary-button:hover, .footer__button:hover { background: var(--sand-light); border-color: var(--sand-light); transform: translateY(-2px); }
.hero__note { color: rgba(248, 248, 248, 0.58); font-size: 11px; margin: 12px 0 0; }

.hero__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.primary-button--ghost { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.72); color: var(--white); }
.primary-button--ghost:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.hero__benefits { align-self: stretch; display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 34px 0 0; max-width: none; width: 100%; }
.hero__benefits p { align-items: center; background: rgba(23, 41, 35, 0.78); border: 0; border-radius: 4px; display: flex; font-size: 13px; line-height: 1.35; margin: 0; min-height: 72px; padding: 15px 18px 15px 42px; position: relative; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.hero__benefits p::before { background: var(--sand); border-radius: 50%; content: ""; height: 7px; left: 21px; position: absolute; width: 7px; }

.section { overflow: hidden; padding: 112px 0; position: relative; }
.section-heading { margin-bottom: 58px; }
.section-heading--row { align-items: flex-end; display: flex; justify-content: space-between; }
.section-label { color: var(--wine); margin: 0 0 18px; }
.section h2 { color: var(--ink); font-size: 40px; letter-spacing: -0.035em; line-height: 1; margin: 0; max-width: 760px; text-transform: uppercase; }
.section-intro { color: var(--muted-dark); font-size: 14px; line-height: 1.55; margin: 0 0 4px; max-width: 390px; }

.section--navy { background: var(--green); color: var(--white); min-height: 720px; }
.section--navy::after { background: linear-gradient(90deg, var(--green) 0%, rgba(23, 41, 35, 0.76) 20%, rgba(23, 41, 35, 0.02) 70%), url("./assets/gorizont.jpg") center / cover no-repeat; bottom: 0; content: ""; left: 46%; position: absolute; right: 0; top: 0; }
.section--navy .container { align-content: center; display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr); min-height: 496px; position: relative; z-index: 1; }
.section--navy .section-heading, .section--navy .advantages-grid { grid-column: 1; }
.section--navy .section-heading { margin-bottom: 44px; }
.section--navy .section-label { color: var(--sand); }
.section--navy h2 { color: var(--white); max-width: 520px; }
.advantages-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 570px; }
.advantage-card { align-content: start; border: 0; display: grid; grid-template-rows: auto 56px auto; min-height: 164px; padding: 20px 24px 18px 0; row-gap: 13px; }
.advantage-card:nth-child(even) { padding-left: 24px; }
.card-number { color: var(--sand); display: block; font-size: 10px; letter-spacing: 0.16em; margin: 0; visibility: hidden; }
.advantage-card h3, .layout-card h3, .purchase-card h3 { font-size: 21px; line-height: 1.08; margin: 0; }
.advantage-card p { color: var(--muted-light); font-size: 12px; line-height: 1.5; margin: 0; }

.section--numbers { min-height: 260px; padding: 16px 0; }
.section--numbers::after { display: none; }
.section--numbers .container { align-items: center; display: flex; min-height: 228px; }
.section--numbers .advantages-grid { grid-column: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; position: relative; width: 100%; z-index: 1; }
.section--numbers .advantage-card { align-content: center; border: 0; grid-template-rows: minmax(86px, auto) auto; min-height: 210px; padding: 24px; }
.section--numbers .card-number { display: none; }
.section--numbers .advantage-card + .advantage-card { border-left: 0; }
.section--numbers .advantage-card h3 { color: var(--sand-light); font-size: clamp(52px, 6vw, 82px); font-weight: 400; letter-spacing: -0.05em; }
.section--numbers .advantage-card p { color: var(--white); font-size: 14px; }

.render-break { height: min(72vw, 820px); margin: 0; overflow: hidden; width: 100%; }
.render-break img { height: 100%; object-fit: cover; width: 100%; }
.render-break--compact { height: min(54vw, 620px); }
.render-slider { background: var(--green); isolation: isolate; position: relative; }
.render-slider__slides, .render-slider__slide { inset: 0; position: absolute; }
.render-slider__slide { margin: 0; opacity: 0; transition: opacity 1000ms ease; z-index: 0; }
.render-slider__slide.is-active { opacity: 1; z-index: 1; }
.render-slider__slide img { transform: scale(1.01); }
.render-slider::after { background: linear-gradient(180deg, transparent 48%, rgba(13, 23, 29, 0.72) 100%); content: ""; inset: 0; pointer-events: none; position: absolute; z-index: 2; }
.render-slider__overlay { align-items: flex-end; display: flex; inset: 0; justify-content: flex-end; padding-bottom: 48px; position: absolute; pointer-events: none; z-index: 3; }
.render-slider__content { color: var(--white); pointer-events: auto; text-align: right; }
.render-slider__title { font-size: clamp(38px, 5vw, 68px); font-weight: 400; letter-spacing: -0.045em; line-height: 0.95; margin: 0; text-transform: uppercase; }
.render-slider__description { color: rgba(248, 248, 248, 0.86); font-size: 15px; line-height: 1.5; margin: 16px 0 24px auto; max-width: 680px; }
.render-slider__controls { align-items: center; display: flex; gap: 10px; justify-content: flex-end; }
.render-slider__controls button { align-items: center; background: rgba(23, 41, 35, 0.78); border: 1px solid rgba(255, 255, 255, 0.44); color: var(--white); cursor: pointer; display: flex; font-size: 24px; height: 48px; justify-content: center; transition: background 180ms ease, border-color 180ms ease, color 180ms ease; width: 54px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.render-slider__controls button:hover { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.render-slider__controls .render-slider__toggle { font-size: 18px; }
.render-slider__controls .render-slider__toggle.is-paused { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.render-slider__counter { background: rgba(23, 41, 35, 0.78); border: 1px solid rgba(255, 255, 255, 0.3); font-size: 11px; letter-spacing: 0.16em; padding: 16px 18px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

.section--projects { background: var(--paper-light); }
.projects-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr); grid-template-rows: repeat(2, minmax(330px, 1fr)); min-height: 760px; }
.project-card { color: var(--white); min-height: 0; overflow: hidden; position: relative; }
.project-card:first-child { grid-row: 1 / 3; }
.project-card__media { inset: 0; margin: 0; position: absolute; }
.project-card__media img { height: 100%; object-fit: cover; transition: transform 700ms ease; width: 100%; }
.project-card:hover .project-card__media img { transform: scale(1.035); }
.project-card__media > span { background: rgba(23, 41, 35, 0.78); border: 1px solid rgba(255, 255, 255, 0.3); font-size: 10px; left: 20px; letter-spacing: 0.04em; padding: 8px 11px; position: absolute; text-transform: uppercase; top: 20px; z-index: 2; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.project-card__content { background: linear-gradient(180deg, transparent 20%, rgba(13, 23, 29, 0.94) 100%); display: flex; flex-direction: column; inset: 0; justify-content: flex-end; padding: 30px; position: absolute; z-index: 1; }
.project-card:first-child .project-card__content { padding: 42px; }
.project-card__eyebrow { color: var(--sand-light); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; margin: 0 0 10px; text-transform: uppercase; }
.project-card h3 { font-size: 30px; letter-spacing: -0.03em; line-height: 1; margin: 0; }
.project-card:first-child h3 { font-size: 42px; }
.project-card__content > p:not(.project-card__eyebrow) { color: rgba(248, 248, 248, 0.72); font-size: 12px; line-height: 1.5; margin: 14px 0 18px; max-width: 520px; }
.project-card__footer { align-items: center; border-top: 1px solid rgba(255, 255, 255, 0.22); display: flex; gap: 16px; justify-content: space-between; padding-top: 17px; }
.project-card__footer > span { font-size: 11px; }
.text-button { background: var(--sand); border: 1px solid var(--sand); color: var(--ink); font-size: 11px; font-weight: 700; padding: 10px 13px; white-space: nowrap; }
.text-button:hover { background: var(--sand-light); border-color: var(--sand-light); }

.section--location { background: var(--green-soft); color: var(--white); }
.location-layout { align-items: center; display: grid; gap: clamp(46px, 6vw, 86px); grid-template-columns: minmax(300px, 0.62fr) minmax(520px, 1.38fr); }
.location-copy .section-label { color: var(--sand); }
.location-copy h2 { color: var(--white); max-width: 480px; }
.location-copy > p:not(.section-label) { color: var(--muted-light); font-size: 14px; line-height: 1.6; margin: 26px 0 32px; max-width: 490px; }
.map-filter-controls, .complex-switcher > div { display: flex; flex-wrap: wrap; gap: 7px; }
.map-filter-button, .complex-button { border: 1px solid rgba(255, 255, 255, 0.28); cursor: pointer; font-size: 11px; font-weight: 700; padding: 9px 13px; transition: background 180ms ease, border-color 180ms ease, color 180ms ease; }
.map-filter-button { background: transparent; color: var(--white); }
.map-filter-button:hover, .map-filter-button.is-active, .complex-button:hover, .complex-button.is-active { background: var(--sand-light); border-color: var(--sand-light); color: var(--ink); }
.location-map-column { min-width: 0; }
.complex-switcher { align-items: center; display: flex; gap: 18px; justify-content: space-between; margin-bottom: 12px; }
.complex-switcher > span { color: rgba(248, 248, 248, 0.62); flex: 0 0 auto; font-size: 11px; }
.complex-switcher > div { justify-content: flex-end; }
.complex-button { background: rgba(255, 255, 255, 0.07); color: var(--white); }
.location-map { background: transparent; border: 0; margin: 0; overflow: hidden; position: relative; }
.location-map iframe { border: 0; display: block; height: 620px; width: 100%; }
.map-interaction-overlay { align-items: center; background: rgba(13, 23, 29, 0.2); border: 0; cursor: pointer; display: flex; inset: 0; justify-content: center; padding: 24px; position: absolute; transition: background 180ms ease; z-index: 3; }
.map-interaction-overlay:hover { background: rgba(13, 23, 29, 0.12); }
.map-interaction-overlay:focus-visible { outline: 2px solid var(--sand-light); outline-offset: -5px; }
.map-interaction-overlay[hidden] { display: none; }
.map-interaction-overlay span { background: rgba(23, 41, 35, 0.9); border: 1px solid rgba(255, 255, 255, 0.36); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; max-width: 360px; padding: 15px 20px; text-align: center; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.location-map figcaption { background: rgba(13, 23, 29, 0.82); bottom: 14px; color: var(--white); font-size: 11px; left: 14px; padding: 9px 12px; position: absolute; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

.section--layouts { background: var(--paper); }
.layouts-grid { background: transparent; display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.layouts-quiz-trigger { background: var(--paper); height: 1px; margin-bottom: -1px; pointer-events: none; position: relative; width: 100%; z-index: 2; }
.layout-card { background: var(--paper-light); }
.layout-card figure { background: #fff; cursor: zoom-in; height: 330px; margin: 0; overflow: hidden; padding: 0; position: relative; }
.layout-card figure img { display: block; height: 100%; object-fit: contain; transition: opacity 180ms ease; width: 100%; }
.layout-card:hover figure img { opacity: 0.96; }
.layout-card figure::after { background: rgba(23, 41, 35, 0.88); bottom: 14px; color: var(--white); content: "Увеличить"; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; opacity: 0; padding: 9px 12px; position: absolute; right: 14px; text-transform: uppercase; transform: translateY(7px); transition: opacity 180ms ease, transform 180ms ease; }
.layout-card figure:hover::after, .layout-card figure:focus-visible::after { opacity: 1; transform: translateY(0); }
.layout-card figure:focus-visible { outline: 2px solid var(--wine); outline-offset: -4px; }
.layout-card__content { padding: 27px; }
.layout-card__content > p { color: var(--wine); font-size: 10px; font-weight: 700; letter-spacing: 0.13em; margin: 0 0 12px; text-transform: uppercase; }
.layout-card h3 { color: var(--ink); font-size: 26px; }
.layout-card__content > span { color: var(--muted-dark); display: block; font-size: 13px; margin: 12px 0 24px; }
.layout-card .primary-button { background: transparent; border-color: var(--wine); color: var(--wine); min-height: 44px; width: 100%; }
.layout-card .primary-button:hover { background: var(--wine); color: var(--white); }

.section--lifestyle .projects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(560px, 1fr); min-height: 0; }
.section--lifestyle .project-card, .section--lifestyle .project-card:first-child { grid-row: auto; }
.section--lifestyle .project-card__content, .section--lifestyle .project-card:first-child .project-card__content { align-items: flex-start; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; text-align: left; }
.section--lifestyle .project-card__eyebrow { display: none; }
.section--lifestyle .project-card h3, .section--lifestyle .project-card:first-child h3 { font-size: 28px; }
.section--lifestyle .project-card__content > p:not(.project-card__eyebrow) { margin: 0; }

.section--tech { min-height: 0; }
.section--tech::after { display: none; }
.section--tech .container { display: block; min-height: 0; }
.section--tech .advantages-grid { background: rgba(255, 255, 255, 0.22); gap: 1px; grid-column: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
.section--tech .advantage-card { background: var(--green); border: 0; min-height: 230px; padding: 26px; }
.section--tech .advantage-card:nth-child(even) { padding-left: 26px; }
.section--tech .card-number { visibility: visible; }
.section--tech .advantage-card h3 { font-size: 24px; max-width: 310px; }
.section--tech .advantage-card p { max-width: 330px; }

.kiparis-feature { color: var(--white); height: min(72vw, 820px); min-height: 680px; overflow: hidden; position: relative; }
.kiparis-feature__media { inset: 0; margin: 0; position: absolute; }
.kiparis-feature__media img { height: 100%; object-fit: cover; object-position: center 55%; width: 100%; }
.kiparis-feature::after { background: linear-gradient(180deg, transparent 42%, rgba(13, 23, 29, 0.08) 57%, rgba(13, 23, 29, 0.84) 100%); content: ""; inset: 0; pointer-events: none; position: absolute; }
.kiparis-feature__overlay { align-items: flex-end; display: flex; height: 100%; padding-bottom: 48px; position: relative; z-index: 1; }
.kiparis-feature__content { width: min(100%, 980px); }
.kiparis-feature .section-label { color: var(--sand-light); margin-bottom: 18px; }
.kiparis-feature__stat { align-items: flex-end; display: flex; gap: 32px; }
.kiparis-feature__number { font-size: clamp(112px, 15vw, 210px); font-weight: 400; letter-spacing: -0.08em; line-height: 0.72; margin: 0 0 -3px -8px; }
.kiparis-feature h2 { color: var(--white); font-size: 48px; line-height: 0.96; margin: 0; max-width: 650px; }
.kiparis-feature__benefits { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 34px; max-width: 860px; }
.kiparis-feature__benefits p { background: rgba(23, 41, 35, 0.76); border: 1px solid rgba(255, 255, 255, 0.24); font-size: 12px; margin: 0; min-height: 56px; padding: 19px 20px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

.finishing-layout { display: grid; gap: 12px; grid-template-columns: minmax(300px, 0.7fr) minmax(520px, 1.3fr); }
.finishing-layout > .purchase-card { border: 1px solid var(--line-dark); min-height: 620px; padding: 42px; }
.finishing-layout > .finishing-copy { display: flex; flex-direction: column; }
.finishing-layout > .finishing-copy > span { margin-bottom: 28px; }
.finishing-option-picker { margin-top: auto; padding-top: 54px; }
.finishing-option-picker > span { color: var(--wine); display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.finishing-option-picker > div { display: grid; gap: 8px; margin-top: 14px; }
.finishing-option-picker button { background: transparent; border: 1px solid var(--line-dark); color: var(--ink); cursor: pointer; font-size: 12px; font-weight: 700; padding: 13px 15px; text-align: left; transition: background 180ms ease, border-color 180ms ease, color 180ms ease; }
.finishing-option-picker button:hover, .finishing-option-picker button.is-active { background: var(--green); border-color: var(--green); color: var(--white); }
.finishing-preview { background: var(--green); color: var(--white); padding: 16px; }
.finishing-preview__toolbar { align-items: center; display: flex; gap: 18px; justify-content: space-between; margin-bottom: 16px; }
.finishing-preview__toolbar > span { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.finishing-preview__controls { align-items: center; display: flex; gap: 8px; }
.finishing-preview__controls[hidden] { display: none; }
.finishing-preview__controls button { align-items: center; background: transparent; border: 1px solid rgba(255, 255, 255, 0.24); color: var(--white); cursor: pointer; display: flex; height: 36px; justify-content: center; transition: background 180ms ease, border-color 180ms ease, color 180ms ease; width: 40px; }
.finishing-preview__controls button:hover { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.finishing-preview__controls span { border: 1px solid rgba(255, 255, 255, 0.24); color: rgba(255, 255, 255, 0.7); font-size: 9px; letter-spacing: 0.12em; padding: 12px 13px; }
.finishing-preview__media { height: 440px; margin: 0; overflow: hidden; position: relative; }
.finishing-preview__media img { display: block; height: 100%; object-fit: cover; width: 100%; }
.finishing-preview__media img.is-entering { animation: finishing-image-in 360ms ease both; }
.finishing-preview__media figcaption { background: rgba(13, 23, 29, 0.78); bottom: 14px; font-size: 11px; left: 14px; padding: 9px 12px; position: absolute; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.finishing-preview > p { color: var(--muted-light); font-size: 13px; line-height: 1.55; margin: 18px 4px 4px; max-width: 680px; }

.section--finishing { background: var(--wine-dark); color: var(--white); }
.section--finishing .section-label { color: var(--sand); }
.section--finishing h2 { color: #170804; }
.section--finishing .finishing-layout > .purchase-card { background: var(--wine); border-color: rgba(255, 255, 255, 0.24); }
.section--finishing .finishing-copy > span,
.section--finishing .finishing-option-picker > span { color: var(--sand); }
.section--finishing .finishing-copy h3 { color: var(--white); }
.section--finishing .finishing-copy p { color: var(--muted-light); }
.section--finishing .finishing-option-picker button { border-color: rgba(255, 255, 255, 0.28); color: var(--white); }
.section--finishing .finishing-option-picker button:hover,
.section--finishing .finishing-option-picker button.is-active { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.section--finishing .finishing-preview { background: var(--wine); }

@keyframes finishing-image-in {
    from { opacity: 0.35; transform: scale(1.015); }
    to { opacity: 1; transform: scale(1); }
}

.section--purchase { background: var(--paper-light); }
.purchase-layout .section-heading { margin-bottom: 54px; }
.purchase-grid { border-bottom: 1px solid var(--line-dark); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.purchase-card { border-top: 1px solid var(--line-dark); min-height: 240px; padding: 28px 34px 28px 0; }
.purchase-grid .purchase-card { display: flex; flex-direction: column; justify-content: center; }
.purchase-card + .purchase-card { border-left: 1px solid var(--line-dark); padding-left: 34px; }
.purchase-card > span { color: var(--wine); display: block; font-size: 10px; letter-spacing: 0.16em; margin-bottom: 54px; }
.purchase-card h3 { color: var(--ink); font-size: 26px; }
.purchase-card p { color: var(--muted-dark); font-size: 13px; line-height: 1.55; margin: 16px 0 0; max-width: 340px; }
.purchase-layout > .primary-button { margin-top: 34px; }

.section--construction { background: var(--green); color: var(--white); padding-bottom: 32px; }
.section--construction .section-label { color: var(--sand); }
.section--construction h2 { color: var(--white); }
.section--construction .section-intro { color: var(--muted-light); }
.construction-gallery { background: var(--green); display: grid; grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr); }
.construction-gallery__sidebar { border-right: 1px solid rgba(255, 255, 255, 0.16); color: var(--white); display: flex; flex-direction: column; min-height: 0; padding: 38px; }
.construction-gallery__label { color: var(--sand); display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.construction-gallery__sidebar h3 { font-size: 32px; font-weight: 400; letter-spacing: -0.035em; line-height: 1; margin: 24px 0 16px; }
.construction-gallery__sidebar p { color: var(--muted-light); font-size: 13px; line-height: 1.55; margin: 0; max-width: 250px; }
.construction-complex-picker { display: grid; gap: 8px; margin-top: 38px; }
.construction-complex-picker button { background: transparent; border: 1px solid rgba(255, 255, 255, 0.22); color: var(--white); cursor: pointer; font-size: 12px; font-weight: 700; padding: 14px 16px; text-align: left; transition: background 180ms ease, border-color 180ms ease, color 180ms ease; }
.construction-complex-picker button:hover, .construction-complex-picker button.is-active { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.construction-grid-panel { min-width: 0; padding: 16px; }
.construction-grid-panel__toolbar { align-items: center; color: var(--white); display: flex; gap: 18px; justify-content: space-between; margin-bottom: 16px; }
.construction-grid-panel__toolbar > span:first-child { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.construction-grid-panel__toolbar > span:last-child { border: 1px solid rgba(255, 255, 255, 0.24); color: rgba(248, 248, 248, 0.72); font-size: 10px; letter-spacing: 0.12em; padding: 10px 12px; text-transform: uppercase; }
.construction-tiles { aspect-ratio: 2 / 1; display: grid; gap: 10px; grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.construction-tile { background: var(--navy-deep); border: 0; color: var(--white); cursor: pointer; min-height: 0; overflow: hidden; padding: 0; position: relative; text-align: left; }
.construction-tiles > .construction-tile:first-child { grid-column: 1; grid-row: 1 / span 2; }
.construction-tiles > .construction-tile:nth-child(2) { grid-column: 2; grid-row: 1; }
.construction-tiles > .construction-tile:nth-child(3) { grid-column: 2; grid-row: 2; }
.construction-tile::after { background: linear-gradient(180deg, rgba(5, 11, 15, 0.02) 48%, rgba(5, 11, 15, 0.58) 100%); content: ""; inset: 0; pointer-events: none; position: absolute; }
.construction-tile img { display: block; height: 100%; object-fit: cover; transition: transform 600ms ease; width: 100%; }
.construction-tiles > .construction-tile:first-child img { object-position: center top; }
.construction-tile:hover img { transform: scale(1.035); }
.construction-tile:focus-visible { outline: 2px solid var(--sand); outline-offset: 2px; }
.construction-tile__date { background: var(--sand); bottom: 14px; color: var(--ink); font-size: 10px; font-weight: 700; left: 14px; letter-spacing: 0.08em; padding: 9px 11px; position: absolute; text-transform: uppercase; z-index: 1; }
.construction-tile__index { color: rgba(255, 255, 255, 0.82); font-size: 9px; letter-spacing: 0.12em; position: absolute; right: 14px; top: 14px; z-index: 1; }
.construction-extra { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 10px; }
.construction-extra:empty { display: none; }
.construction-extra .construction-tile { aspect-ratio: 4 / 3; }
.construction-more { align-items: center; background: transparent; border: 1px solid rgba(255, 255, 255, 0.28); color: var(--white); cursor: pointer; display: flex; font-size: 11px; font-weight: 700; justify-content: space-between; letter-spacing: 0.08em; margin-top: 12px; padding: 15px 17px; text-transform: uppercase; transition: background 180ms ease, border-color 180ms ease, color 180ms ease; width: 100%; }
.construction-more:hover { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.construction-more > span:last-child { font-size: 9px; opacity: 0.68; }
.construction-more[hidden] { display: none; }

.section--quiz { background: var(--wine); color: var(--white); isolation: isolate; min-height: 500px; }
.section--quiz::before { background: url("./assets/nakhimov.jpg") center right / cover no-repeat; content: ""; inset: 0; position: absolute; z-index: -2; }
.section--quiz::after { background: linear-gradient(90deg, var(--wine) 0%, rgba(69, 24, 29, 0.98) 38%, rgba(69, 24, 29, 0.84) 50%, rgba(69, 24, 29, 0.52) 68%, rgba(69, 24, 29, 0.12) 100%); content: ""; inset: 0; position: absolute; z-index: -1; }
.quiz-card { align-items: flex-end; display: flex; gap: 54px; justify-content: space-between; min-height: 276px; }
.quiz-card > div { max-width: 760px; }
.quiz-card .section-label { color: var(--sand); }
.section--quiz h2 { color: var(--white); }
.quiz-card p:not(.section-label) { color: var(--muted-light); font-size: 14px; line-height: 1.55; margin: 22px 0 0; max-width: 650px; }
.quiz-card > .primary-button { flex: 0 0 auto; }
.quiz-card > div > .primary-button { margin-top: 30px; }
.final-phone { color: var(--white); display: inline-block; font-size: clamp(26px, 3vw, 42px); letter-spacing: -0.03em; margin-top: 30px; }

#project-gallery .modal__dialog { grid-template-columns: minmax(0, 1.2fr) minmax(380px, 0.8fr); max-width: 1180px; }
#project-gallery .modal__content { align-content: center; display: grid; }
.project-lead__media { margin: 0; min-height: 620px; overflow: hidden; position: relative; }
.project-lead__media img { display: block; height: 100%; object-fit: cover; width: 100%; }
.project-lead__media figcaption { background: rgba(13, 23, 29, 0.82); bottom: 18px; font-size: 11px; left: 18px; letter-spacing: 0.05em; padding: 9px 12px; position: absolute; }

.footer { background: var(--green); color: var(--white); padding: 72px max(32px, calc((100vw - 1440px) / 2)) 28px; }
.footer__top { align-items: flex-start; display: flex; justify-content: space-between; }
.footer__brand { font-size: 32px; font-weight: 700; letter-spacing: 0.06em; }
.footer__socials { display: flex; gap: 8px; }
.footer__socials a { align-items: center; background: rgba(255, 255, 255, 0.08); display: flex; font-size: 12px; font-weight: 700; height: 40px; justify-content: center; transition: background 180ms ease, color 180ms ease; width: 40px; }
.footer__socials a:hover { background: var(--sand); color: var(--ink); }
.footer__social-icon { fill: currentColor; height: 20px; width: 20px; }
.footer__social-icon--max { height: 22px; width: 22px; }
.footer__main { display: grid; gap: clamp(54px, 6vw, 96px); grid-template-columns: minmax(620px, 1.2fr) minmax(440px, 0.8fr); margin-top: 52px; }
.footer__label { color: var(--sand); display: block; margin-bottom: 26px; }
.footer__contact-list { display: grid; gap: clamp(36px, 4vw, 72px); grid-template-columns: minmax(360px, 1.2fr) minmax(250px, 0.8fr); }
.footer__contact-methods { align-content: start; display: grid; gap: 30px; }
.footer__contact-item { align-items: start; color: rgba(248, 248, 248, 0.76); display: grid; gap: 16px; grid-template-columns: 40px minmax(0, 1fr); }
.footer__contact-item strong { color: var(--white); display: block; font-size: 11px; letter-spacing: 0.1em; margin-bottom: 7px; text-transform: uppercase; }
.footer__contact-item p, .footer__contact-item a { font-size: 14px; line-height: 1.55; margin: 0; }
.footer__contact-item p + p { margin-top: 9px; }
.footer__contact-item a { transition: color 180ms ease; }
.footer__contact-item a:hover { color: var(--sand); }
.footer__icon { align-items: center; background: rgba(255, 255, 255, 0.08); color: var(--white); display: flex; font-size: 21px; height: 40px; justify-content: center; width: 40px; }
.footer__icon svg { fill: currentColor; height: 19px; width: 19px; }
.footer__company { align-content: start; color: rgba(248, 248, 248, 0.6); display: grid; gap: 38px; }
.footer__entities { display: grid; gap: 42px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer__entities p, .footer__legal { font-size: 13px; line-height: 1.6; margin: 0; }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 30px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.34); color: rgba(248, 248, 248, 0.84); font-size: 12px; margin-top: 42px; padding-top: 24px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 14px 34px; justify-content: flex-start; }
.footer__links a { text-decoration: underline; text-underline-offset: 3px; }
.footer__links a:hover { color: var(--sand); }
.footer__links span { color: inherit; }

.cookie-banner { bottom: 18px; left: 18px; max-width: 760px; position: fixed; right: 18px; z-index: 90; }
.cookie-banner__content { align-items: center; background: rgba(23, 41, 35, 0.97); border: 1px solid rgba(255, 255, 255, 0.28); box-shadow: 0 18px 48px rgba(5, 11, 15, 0.34); color: var(--white); display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) auto; padding: 20px 22px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.cookie-banner p { font-size: 12px; line-height: 1.45; margin: 0; }
.cookie-banner p strong, .cookie-banner p span { display: block; }
.cookie-banner p strong { color: var(--sand-light); font-size: 13px; margin-bottom: 4px; }
.cookie-banner p span { color: rgba(248, 248, 248, 0.76); }
.cookie-banner a { text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__actions { display: flex; gap: 8px; }
.cookie-banner__actions button { border: 1px solid rgba(255, 255, 255, 0.5); cursor: pointer; font-size: 11px; font-weight: 700; min-height: 42px; padding: 10px 14px; }
#btn-cookie-essential { background: transparent; color: var(--white); }
#btn-cookie-accept { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.cookie-banner__actions button:hover { transform: translateY(-1px); }

.modal { align-items: center; display: flex; inset: 0; justify-content: center; opacity: 0; padding: 20px; pointer-events: none; position: fixed; transition: opacity 180ms ease; visibility: hidden; z-index: 100; }
.modal.is-open { opacity: 1; pointer-events: auto; visibility: visible; }
.modal__backdrop { background: rgba(5, 11, 15, 0.84); border: 0; cursor: pointer; inset: 0; position: absolute; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal__dialog { background: var(--green); border: 1px solid rgba(255, 255, 255, 0.2); color: var(--white); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr); max-height: calc(100svh - 40px); max-width: 960px; overflow: hidden; position: relative; transform: translateY(12px); transition: transform 180ms ease; width: 100%; }
.modal.is-open .modal__dialog { transform: translateY(0); }
.modal__close { align-items: center; background: rgba(23, 41, 35, 0.78); border: 1px solid rgba(255, 255, 255, 0.34); border-radius: 50%; color: var(--white); cursor: pointer; display: flex; font-size: 22px; height: 40px; justify-content: center; position: absolute; right: 16px; top: 16px; width: 40px; z-index: 3; }
.modal__gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(0, 1.15fr) minmax(0, 0.85fr); min-height: 580px; }
.modal__gallery figure { margin: 0; min-height: 0; overflow: hidden; position: relative; }
.modal__gallery-main { grid-column: 1 / -1; }
.modal__gallery img { height: 100%; object-fit: cover; width: 100%; }
.modal__gallery figcaption { background: rgba(13, 23, 29, 0.72); bottom: 10px; font-size: 10px; left: 10px; padding: 7px 10px; position: absolute; }
.modal__content { overflow-y: auto; padding: 42px; }
.modal__label { color: var(--sand); margin: 0 0 16px; }
.modal h2 { font-size: 34px; letter-spacing: -0.035em; line-height: 1; margin: 0; padding-right: 24px; text-transform: uppercase; }
.modal__text { color: var(--muted-light); font-size: 13px; line-height: 1.5; margin: 18px 0 26px; }
.lead-form { display: grid; gap: 14px; }
.lead-form label span { display: block; font-size: 11px; margin-bottom: 7px; }
.lead-form input:not([type="checkbox"]) { background: rgba(255, 255, 255, 0.96); border: 1px solid rgba(255, 255, 255, 0.3); color: var(--ink); outline: none; padding: 14px 15px; width: 100%; }
.lead-form input:not([type="checkbox"]):focus { border-color: var(--sand); box-shadow: 0 0 0 3px rgba(248, 180, 94, 0.18); }
.lead-form__consent { align-items: flex-start; cursor: pointer; display: grid; gap: 10px; grid-template-columns: 18px minmax(0, 1fr); margin-top: 2px; }
.lead-form__consent input { accent-color: var(--sand); cursor: pointer; height: 18px; margin: 1px 0 0; width: 18px; }
.lead-form__consent span { color: rgba(248, 248, 248, 0.72); font-size: 10px; line-height: 1.4; margin: 0; }
.lead-form__consent a { text-decoration: underline; text-underline-offset: 2px; }
.lead-form__consent a:hover { color: var(--sand-light); }
.lead-form > button { background: var(--sand); border: 1px solid var(--sand); color: var(--ink); font-weight: 700; margin-top: 3px; padding: 15px 20px; }
.lead-form > button:hover { background: var(--sand-light); border-color: var(--sand-light); }
.lead-form > button:disabled { cursor: not-allowed; opacity: 0.48; }
.lead-form > button:disabled:hover { background: var(--sand); border-color: var(--sand); }
.lead-form > button[data-submitting="true"] { cursor: wait; opacity: 0.65; }
.lead-form__policy, .lead-form__status { color: rgba(248, 248, 248, 0.58); font-size: 10px; line-height: 1.4; margin: 0; text-align: center; }
.lead-form__policy a { text-decoration: underline; text-underline-offset: 2px; }
.lead-form__status { color: var(--white); min-height: 14px; }
.lead-form__status.is-error { color: #ff9d9d; }

.callback-modal__dialog {
    background:
        linear-gradient(135deg, rgba(248, 180, 94, 0.08), transparent 42%),
        linear-gradient(180deg, var(--wine) 0%, #351217 100%);
    display: block;
    max-width: 560px;
}
.callback-modal__dialog::before { background: var(--sand); content: ""; height: 4px; left: 0; position: absolute; right: 0; top: 0; }
.callback-modal__content { padding: 58px 48px 44px; }
.callback-modal__content .lead-form { margin-top: 28px; }

.quiz-modal__dialog {
    background:
        radial-gradient(circle at 12% 0%, rgba(248, 180, 94, 0.12), transparent 36%),
        linear-gradient(145deg, var(--green-soft) 0%, var(--green) 58%, #0d1d18 100%);
    display: block;
    max-width: 760px;
    min-height: 610px;
    overflow-y: auto;
    padding: 44px 54px 40px;
}
.quiz-modal__dialog::before { background: var(--sand); content: ""; height: 4px; left: 0; position: absolute; right: 0; top: 0; }
.quiz-modal__progress { margin-bottom: 34px; padding-right: 54px; }
.quiz-modal__meta { color: rgba(248, 248, 248, 0.7); display: flex; font-size: 12px; font-weight: 700; justify-content: space-between; margin-bottom: 10px; text-transform: uppercase; }
.quiz-modal__track { background: rgba(255, 255, 255, 0.16); height: 4px; overflow: hidden; }
.quiz-modal__track span { background: var(--sand); display: block; height: 100%; transition: width 240ms ease; width: 33%; }
.quiz-modal__content { min-height: 402px; }
.quiz-modal__step { animation: quiz-step-in 260ms ease both; }
.quiz-modal__step .modal__label { margin-bottom: 14px; }
.quiz-modal__step h2 { font-size: clamp(32px, 4.2vw, 46px); max-width: 620px; padding: 0; text-transform: none; }
.quiz-modal__options { display: grid; gap: 10px; margin-top: 30px; }
.quiz-modal__options button {
    align-items: center;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: var(--white);
    cursor: pointer;
    display: flex;
    font-weight: 700;
    gap: 14px;
    min-height: 58px;
    padding: 13px 18px;
    text-align: left;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
    width: 100%;
}
.quiz-modal__options button > span { border: 1px solid rgba(255, 255, 255, 0.54); border-radius: 50%; height: 18px; position: relative; width: 18px; }
.quiz-modal__options button > span::after { background: var(--ink); border-radius: 50%; content: ""; inset: 4px; opacity: 0; position: absolute; transform: scale(0.6); transition: opacity 160ms ease, transform 160ms ease; }
.quiz-modal__options button:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--sand); transform: translateX(3px); }
.quiz-modal__options button.is-selected { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.quiz-modal__options button.is-selected > span { border-color: var(--ink); }
.quiz-modal__options button.is-selected > span::after { opacity: 1; transform: scale(1); }
.quiz-modal__navigation { align-items: center; display: flex; justify-content: space-between; margin-top: 24px; }
.quiz-modal__navigation[hidden] { display: none; }
.quiz-modal__navigation button { background: transparent; border: 1px solid rgba(255, 255, 255, 0.34); color: var(--white); cursor: pointer; font-weight: 700; min-width: 118px; padding: 13px 18px; }
.quiz-modal__navigation button:last-child { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.quiz-modal__navigation button:disabled { cursor: default; opacity: 0.35; }
.quiz-modal__result { margin: 28px auto 0; max-width: 580px; text-align: center; }
.quiz-modal__result .modal__text { font-size: 14px; margin-left: auto; margin-right: auto; max-width: 520px; }
.quiz-modal__result .lead-form { margin: 28px auto 0; max-width: 520px; text-align: left; }
.quiz-modal__result .lead-form__policy, .quiz-modal__result .lead-form__status { text-align: center; }

@keyframes quiz-step-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.construction-lightbox { padding: 24px; }
.construction-lightbox__dialog { background: var(--navy-deep); border: 1px solid rgba(255, 255, 255, 0.2); color: var(--white); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: calc(100svh - 48px); max-width: 1280px; overflow: hidden; position: relative; transform: translateY(12px); transition: transform 180ms ease; width: 100%; }
.construction-lightbox.is-open .construction-lightbox__dialog { transform: translateY(0); }
.construction-lightbox__header { align-items: flex-end; display: flex; justify-content: space-between; padding: 24px 76px 20px 24px; }
.construction-lightbox__header p { color: var(--sand); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; margin: 0 0 10px; text-transform: uppercase; }
.construction-lightbox__header h2 { font-size: 30px; margin: 0; padding: 0; }
.construction-lightbox__header > span { border: 1px solid rgba(255, 255, 255, 0.24); font-size: 10px; letter-spacing: 0.12em; padding: 11px 13px; }
.construction-lightbox__media { background: #080d11; margin: 0; min-height: 0; overflow: hidden; position: relative; }
.construction-lightbox__media img { display: block; height: 100%; object-fit: contain; width: 100%; }
.construction-lightbox__media img.is-entering { animation: construction-lightbox-in 300ms ease both; }
.construction-lightbox__media figcaption { background: var(--sand); bottom: 18px; color: var(--ink); font-size: 10px; font-weight: 700; left: 18px; letter-spacing: 0.08em; padding: 10px 13px; position: absolute; text-transform: uppercase; }
.construction-lightbox__controls { align-items: center; display: flex; gap: 14px; justify-content: center; padding: 16px 24px; }
.construction-lightbox__controls button { align-items: center; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.28); color: var(--white); cursor: pointer; display: flex; font-size: 18px; height: 42px; justify-content: center; width: 46px; }
.construction-lightbox__controls button:hover { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.construction-lightbox__controls span { color: var(--muted-light); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }

.layout-lightbox { padding: 24px; }
.layout-lightbox__dialog { background: var(--paper); color: var(--ink); display: grid; grid-template-rows: auto minmax(0, 1fr); height: calc(100svh - 48px); max-width: 1120px; overflow: hidden; position: relative; transform: translateY(12px); transition: transform 180ms ease; width: 100%; }
.layout-lightbox.is-open .layout-lightbox__dialog { transform: translateY(0); }
.layout-lightbox__header { padding: 24px 76px 18px 24px; }
.layout-lightbox__header p { color: var(--wine); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; margin: 0 0 9px; text-transform: uppercase; }
.layout-lightbox__header h2 { color: var(--ink); font-size: 30px; margin: 0; padding: 0; }
.layout-lightbox__media { align-items: center; background: #fff; display: flex; justify-content: center; margin: 0; min-height: 0; overflow: hidden; padding: 24px; position: relative; }
.layout-lightbox__media img { display: block; height: 100%; object-fit: contain; width: 100%; }
.layout-lightbox__media figcaption { background: rgba(23, 41, 35, 0.88); bottom: 16px; color: var(--white); font-size: 10px; left: 16px; letter-spacing: 0.06em; padding: 9px 12px; position: absolute; text-transform: uppercase; }

@keyframes construction-lightbox-in {
    from { opacity: 0.35; transform: scale(1.01); }
    to { opacity: 1; transform: scale(1); }
}

@media (min-width: 701px) {
    .hero__content > :not(.hero__benefits) { animation: reveal 650ms both; }
    .hero__content > :nth-child(3) { animation-delay: 80ms; }
    .hero__content > :nth-child(4), .hero__content > :nth-child(5) { animation-delay: 150ms; }
    .hero__benefits { animation: reveal 700ms 220ms both; }
}

@keyframes reveal {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition:
        opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}
.scroll-reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

.scroll-text-reveal {
    transform: translate3d(0, 14px, 0);
    transition-duration: 760ms;
}

@media (max-width: 1100px) {
    .header__nav { gap: 16px; }
    .header__nav a { font-size: 11px; }
    .header__phone { display: none; }
    .header-award { font-size: 8px; }
    .section--navy .container { grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr); }
    .projects-grid { grid-template-columns: 1fr 1fr; }
    .project-card__content, .project-card:first-child .project-card__content { padding: 26px; }
    .project-card:first-child h3 { font-size: 36px; }
    .location-layout { grid-template-columns: 1fr; }
    .location-copy { max-width: 700px; }
    .section--lifestyle .projects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .section--tech .advantages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .finishing-layout { grid-template-columns: 1fr 1.35fr; }
    .construction-extra { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .header__inner { grid-template-columns: auto auto 1fr; }
    .header__nav { display: none; }
    .header__actions { grid-column: 3; }
    .header__phone { display: block; }
    .section-heading--row { align-items: flex-start; flex-direction: column; gap: 22px; }
    .section--navy::after { left: 32%; opacity: 0.42; }
    .section--navy .container { display: block; }
    .section--navy .section-heading, .advantages-grid { max-width: 620px; }
    .layouts-grid { grid-template-columns: 1fr 1fr; }
    .purchase-grid { grid-template-columns: 1fr; }
    .purchase-card, .purchase-card + .purchase-card { border-left: 0; min-height: 0; padding: 28px 0; }
    .purchase-card > span { margin-bottom: 26px; }
    .section--numbers .advantages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .section--lifestyle .projects-grid { grid-template-columns: 1fr; grid-template-rows: none; }
    .section--lifestyle .project-card { min-height: 500px; }
    .finishing-layout { grid-template-columns: 1fr; }
    .finishing-layout > .purchase-card { min-height: 340px; }
    .finishing-option-picker { padding-top: 40px; }
    .quiz-card { align-items: flex-start; flex-direction: column; }
    .footer__main { gap: 54px; grid-template-columns: 1fr; }
    .footer__contact-list { grid-template-columns: minmax(340px, 1.15fr) minmax(250px, 0.85fr); }
}

@media (max-width: 700px) {
    .container, .header__inner, .hero__content { padding-left: 18px; padding-right: 18px; }
    .header__inner { min-height: 64px; }
    .brand { font-size: 18px; }
    .header-award { display: none; }
    .header__button { display: none; }
    .header__phone { font-size: 13px; }
    .hero, .hero__content { min-height: 820px; }
    .hero__content { padding-bottom: 42px; padding-top: 112px; }
    .hero__media video { object-position: 58% center; }
    .hero-award { left: 18px; top: 82px; }
    h1 { font-size: clamp(39px, 11.5vw, 54px); line-height: 0.96; }
    .hero__subtitle { font-size: 15px; }
    .hero__benefits { grid-template-columns: 1fr; margin: 28px 0 0; }
    .hero__benefits p { font-size: 11px; min-height: 62px; padding: 12px 12px 12px 31px; }
    .hero__benefits p::before { left: 15px; }
    .render-break { height: 76svh; min-height: 520px; }
    .render-slider__overlay { padding-bottom: 24px; }
    .render-slider__title { font-size: 36px; }
    .render-slider__description { font-size: 13px; margin-bottom: 18px; margin-top: 12px; max-width: 520px; }
    .hero__buttons { display: grid; width: 100%; }
    .hero__buttons .primary-button { width: 100%; }
    .section { padding: 76px 0; }
    .section--construction { padding-bottom: 24px; }
    .section--numbers { min-height: 0; padding: 32px 0; }
    .section--numbers .container { min-height: 0; }
    .section--numbers .advantage-card { min-height: 140px; }
    .section-heading { margin-bottom: 40px; }
    .section h2 { font-size: 34px; }
    .section--navy { min-height: 0; }
    .section--navy::after { display: none; }
    .advantages-grid { grid-template-columns: 1fr; }
    .advantage-card, .advantage-card:nth-child(even) { min-height: 0; padding: 20px 0 24px; }
    .section--numbers .advantages-grid, .section--tech .advantages-grid { grid-template-columns: 1fr; }
    .section--numbers .advantage-card, .section--numbers .advantage-card:nth-child(even), .section--tech .advantage-card, .section--tech .advantage-card:nth-child(even) { padding: 24px; }
    .section--numbers .advantage-card + .advantage-card { border-left: 0; }
    .projects-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; }
    .project-card, .project-card:first-child { grid-row: auto; min-height: 480px; }
    .project-card:not(:first-child) { min-height: 420px; }
    .project-card__content, .project-card:first-child .project-card__content { padding: 24px; }
    .project-card h3, .project-card:first-child h3 { font-size: 32px; }
    .project-card__footer { align-items: flex-start; flex-direction: column; }
    .location-layout { gap: 38px; }
    .complex-switcher { align-items: flex-start; flex-direction: column; }
    .complex-switcher > div { display: grid; grid-template-columns: 1fr; width: 100%; }
    .complex-button { width: 100%; }
    .location-map iframe { height: 520px; }
    .layouts-grid { grid-template-columns: 1fr; }
    .layout-card figure { height: 290px; }
    .kiparis-feature { height: 76svh; min-height: 680px; }
    .kiparis-feature__media img { object-position: 58% center; }
    .kiparis-feature__overlay { padding-bottom: 28px; }
    .kiparis-feature__stat { align-items: flex-start; flex-direction: column; gap: 22px; }
    .kiparis-feature__number { font-size: clamp(104px, 36vw, 150px); }
    .kiparis-feature h2 { font-size: 34px; }
    .kiparis-feature__benefits { grid-template-columns: 1fr; margin-top: 26px; }
    .kiparis-feature__benefits p { min-height: 0; padding: 14px 16px; }
    .finishing-preview__toolbar { align-items: flex-start; flex-direction: column; }
    .finishing-preview__media { height: 320px; }
    .construction-gallery { grid-template-columns: 1fr; }
    .construction-gallery__sidebar { border-bottom: 1px solid rgba(255, 255, 255, 0.16); border-right: 0; min-height: 0; padding: 26px; }
    .construction-complex-picker { margin-top: 34px; }
    .construction-grid-panel { padding: 12px 0 0; }
    .construction-grid-panel__toolbar { padding: 0 8px; }
    .construction-tiles { aspect-ratio: auto; grid-template-columns: 1fr; grid-template-rows: none; }
    .construction-tiles > .construction-tile, .construction-tiles > .construction-tile:first-child, .construction-tiles > .construction-tile:nth-child(2), .construction-tiles > .construction-tile:nth-child(3) { aspect-ratio: 4 / 3; grid-column: auto; grid-row: auto; }
    .construction-extra { grid-template-columns: 1fr; }
    .construction-lightbox { padding: 0; }
    .construction-lightbox__dialog { border: 0; height: 100svh; }
    .construction-lightbox__header { align-items: flex-start; flex-direction: column; gap: 14px; padding: 70px 18px 16px; }
    .construction-lightbox__header h2 { font-size: 26px; }
    .construction-lightbox__media figcaption { bottom: 12px; left: 12px; }
    .construction-lightbox__controls { justify-content: space-between; padding: 12px 18px; }
    .layout-lightbox { padding: 0; }
    .layout-lightbox__dialog { height: 100svh; }
    .layout-lightbox__header { padding: 68px 18px 16px; }
    .layout-lightbox__header h2 { font-size: 25px; }
    .layout-lightbox__media { padding: 12px; }
    .layout-lightbox__media figcaption { bottom: 12px; left: 12px; }
    .section--quiz { min-height: 0; }
    .section--quiz::before { inset: 0; opacity: 0.3; }
    .section--quiz::after { background: rgba(69, 24, 29, 0.82); }
    .quiz-card { gap: 32px; min-height: 0; }
    .quiz-card > .primary-button { width: 100%; }
    .footer { padding: 46px 18px 24px; }
    .footer__top { align-items: center; }
    .footer__main { gap: 46px; grid-template-columns: 1fr; margin-top: 42px; }
    .footer__contact-list { gap: 32px; grid-template-columns: 1fr; }
    .footer__contact-methods { gap: 24px; }
    .footer__entities { gap: 24px; grid-template-columns: 1fr; }
    .footer__bottom { margin-top: 44px; }
    .footer__links { flex-direction: column; gap: 10px; }
    .cookie-banner { bottom: 10px; left: 10px; right: 10px; }
    .cookie-banner__content { align-items: stretch; gap: 14px; grid-template-columns: 1fr; padding: 16px; }
    .cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; }
    .modal { padding: 12px; }
    .modal__dialog { grid-template-columns: 1fr; max-height: calc(100svh - 24px); }
    #project-gallery .modal__dialog { grid-template-columns: 1fr; grid-template-rows: minmax(180px, 32svh) minmax(0, 1fr); }
    .project-lead__media { min-height: 0; }
    .modal__gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 150px; min-height: 0; }
    .modal__gallery-main { grid-column: auto; }
    .modal__gallery figcaption { display: none; }
    .modal__content { padding: 30px 22px 24px; }
    .modal h2 { font-size: 28px; }
    .quiz-modal__dialog { min-height: 0; padding: 66px 22px 24px; }
    .quiz-modal__progress { margin-bottom: 26px; padding-right: 0; }
    .quiz-modal__content { min-height: 390px; }
    .quiz-modal__step h2 { font-size: 30px; }
    .quiz-modal__options { margin-top: 24px; }
    .quiz-modal__options button { min-height: 54px; }
    .quiz-modal__navigation { margin-top: 18px; }
    .quiz-modal__navigation button { min-width: 104px; }
    .quiz-modal__result { margin-top: 0; }
}

@media (max-width: 390px) {
    .hero, .hero__content { min-height: 780px; }
    h1 { font-size: 38px; }
    .hero__eyebrow { font-size: 9px; line-height: 1.5; }
    .hero__benefits p { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .scroll-reveal { opacity: 1 !important; transform: none !important; }
}
