*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
}

img,
picture,
svg,
video {
    max-width: 100%;
    display: block;
}

img {
    height: auto;
}

button,
input {
    font: inherit;
    font-style: normal;
}

a {
    color: inherit;
}

:root {
    --paper: #F3EEE6;
    --paper-2: #E8E0D4;
    --foam: #F8F5F0;
    --ink: #171614;
    --graphite: #2C2926;
    --mute: #6E6860;
    --line: rgba(23, 22, 20, 0.12);
    --clay: #A26542;
    --clay-2: #864F32;
    --river: #3E5153;
    --night: #121110;
    --white: #FBF8F3;
    --header: 72px;
    --promo: 42px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --serif: "Playfair Display", "Times New Roman", serif;
    --sans: Onest, system-ui, sans-serif;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0.01em;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

[hidden] {
    display: none !important;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 80;
    background: var(--ink);
    color: var(--white);
    padding: 8px 12px;
}

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

.promo-bar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 51;
    height: var(--promo);
    background: var(--clay);
    color: var(--white);
}

.promo-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 100%;
    font-size: 13px;
}

.promo-bar p {
    margin: 0;
}

.promo-bar__short {
    display: none;
}

.promo-bar strong {
    font-weight: 700;
}

.promo-bar button {
    flex-shrink: 0;
    margin: 0;
    padding: 6px 12px;
    border: 1px solid rgba(251, 248, 243, 0.45);
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.promo-bar button:hover {
    background: rgba(251, 248, 243, 0.12);
}

.wrap {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

section[id] {
    scroll-margin-top: calc(var(--promo) + var(--header) + 12px);
}

.cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eyebrow {
    margin: 0 0 12px;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mute);
}

h1,
h2,
h3 {
    font-family: var(--serif);
    font-style: normal;
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3.4rem, 14vw, 10.5rem);
    margin: 0;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2.1rem, 5.4vw, 4.4rem);
    margin: 0 0 18px;
}

h3 {
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    margin: 0 0 8px;
}

.lede,
p {
    margin: 0 0 14px;
}

.lede {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--graphite);
    max-width: 42rem;
}

.fine {
    font-size: 13px;
    color: var(--mute);
}

.btn,
.burger,
.apt-item {
    touch-action: manipulation;
}

input {
    accent-color: var(--clay);
}

html {
    overflow-x: hidden;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--sans);
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn--sm {
    min-height: 42px;
    padding: 8px 16px;
    font-size: 14px;
}

.btn--clay {
    background: var(--clay);
    color: var(--white);
}

.btn--clay:hover,
.btn--clay:focus-visible {
    background: var(--clay-2);
}

.btn--light {
    background: var(--white);
    color: var(--ink);
}

.btn--light:hover,
.btn--light:focus-visible {
    background: var(--paper-2);
}

.btn--ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(251, 248, 243, 0.45);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
    background: rgba(251, 248, 243, 0.12);
}

.btn:focus-visible,
.burger:focus-visible,
.apt-item:focus-visible,
.modal__close:focus-visible,
input:focus-visible {
    outline: 2px solid var(--clay);
    outline-offset: 3px;
}

.scroll-progress {
    position: fixed;
    inset: 0 0 auto;
    height: 2px;
    z-index: 60;
    background: transparent;
}

.scroll-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--clay);
    transform-origin: left;
}

.site-header {
    position: fixed;
    inset: var(--promo) 0 auto;
    z-index: 50;
    height: var(--header);
    color: var(--white);
    transition: background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-solid,
.page-inner .site-header {
    background: rgba(243, 238, 230, 0.92);
    color: var(--ink);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--line);
}

.site-header__inner {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    height: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 18px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo__mark {
    width: 14px;
    height: 22px;
    background: var(--clay);
}

.logo__word {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.nav ul {
    display: flex;
    justify-content: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav a {
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.86;
}

.nav a:hover {
    opacity: 1;
}

.burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.burger span {
    display: block;
    width: 22px;
    height: 1px;
    margin: 6px auto;
    background: currentColor;
    transition: transform 0.3s var(--ease);
}

.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 45;
    background: var(--paper);
    color: var(--ink);
    overflow: auto;
}

.burger[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

.burger[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav__panel {
    min-height: 100dvh;
    padding: 96px 24px 48px;
    padding-top: calc(var(--promo) + var(--header) + 24px);
}

.mobile-nav a {
    text-decoration: none;
    font-family: var(--serif);
    font-size: clamp(2rem, 8vw, 3rem);
}

.mobile-nav ul {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: grid;
    gap: 10px;
}

.hero {
    position: relative;
    min-height: 100svh;
    color: var(--white);
    display: flex;
    align-items: flex-end;
}

.hero__media,
.hero__veil {
    position: absolute;
    inset: 0;
}

.hero__media {
    overflow: hidden;
}

.hero__media picture,
.river__media picture,
.final-cta__media picture {
    width: 100%;
    height: 100%;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    transform: scale(1.06);
}

.hero__veil {
    background: linear-gradient(180deg, rgba(18, 17, 16, 0.18) 0%, rgba(18, 17, 16, 0.18) 38%, rgba(18, 17, 16, 0.72) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-bottom: 88px;
    padding-top: calc(var(--promo) + var(--header) + 24px);
}

.hero__label {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(13px, 1.2vw, 17px);
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.4;
    opacity: 1;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.8rem, 8vw, 7.2rem);
    max-width: 11ch;
}

.hero__h1-line {
    display: block;
    margin-top: 0.18em;
    font-family: var(--sans);
    font-size: clamp(1rem, 2.2vw, 1.45rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.25;
    max-width: 16em;
    opacity: 0.92;
}

.hero__offer {
    margin: 4px 0 10px;
    font-family: var(--serif);
    font-size: clamp(1.45rem, 3.4vw, 2.35rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero__lead {
    max-width: 34rem;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    margin: 8px 0 28px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.hero__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 0 0 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.86);
}

.hero__contacts a {
    color: #fff;
    font-weight: 700;
    text-underline-offset: 3px;
}

.hero__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 18px 0 0;
    border-top: 1px solid rgba(251, 248, 243, 0.18);
    max-width: 720px;
    font-size: 14px;
}

.hero__facts span {
    display: block;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 4px;
}

.scroll-hint {
    position: absolute;
    right: 24px;
    bottom: 28px;
    z-index: 2;
    color: var(--white);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-hint__line {
    width: 1px;
    height: 42px;
    background: rgba(251, 248, 243, 0.7);
    animation: pulse 1.8s var(--ease) infinite;
}

.about,
.advantages,
.architecture,
.landscape,
.living,
.apartments,
.specs,
.location,
.infra {
    padding: 96px 0;
}

.about {
    padding: 0 0 96px;
}

.ticker {
    overflow: hidden;
    border-block: 1px solid var(--line);
    margin: 0 0 72px;
    padding: 16px 0;
}

.ticker__track {
    display: flex;
    gap: 48px;
    width: max-content;
    animation: ticker 36s linear infinite;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mute);
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.stat__num {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 5vw, 4.6rem);
    line-height: 0.9;
    margin: 0 0 8px;
}

.stat__num span {
    font-size: 0.4em;
    margin-left: 4px;
}

.about__grid,
.mort-grid,
.lead-split,
.footer-grid,
.loc-layout {
    display: grid;
    gap: 40px;
}

.about__grid,
.lead-split,
.mort-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
}

.adv-head,
.arch-head,
.apt-head,
.loc-head,
.infra-head,
.living__intro {
    margin-bottom: 48px;
}

.adv-editorial {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 56px;
}

.adv-editorial__photo {
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.adv-editorial figcaption,
.living-mosaic figcaption {
    margin-top: 10px;
    font-size: 13px;
    color: var(--mute);
}

.adv-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 22px;
}

.adv-list li {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.adv-list span {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--clay);
}

.adv-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 0 0 72px;
}

.adv-strip article {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.adv-strip img {
    position: absolute;
    inset: 0;
}

.adv-strip article::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(18, 17, 16, 0.78));
}

.adv-strip h3,
.adv-strip p {
    position: relative;
    z-index: 1;
    padding: 0 24px;
}

.adv-strip h3 {
    margin: 0 0 8px;
}

.adv-strip p {
    padding-bottom: 24px;
}

.lead-split {
    padding: 48px 0 0;
    border-top: 1px solid var(--line);
    align-items: stretch;
}

.lead-split__text {
    display: grid;
    align-content: start;
    gap: 4px;
}

.lead-split__text p:last-child {
    margin-bottom: 0;
}

.lead-split__form {
    background: var(--foam);
    border: 1px solid var(--line);
    padding: 28px 24px;
    color: var(--ink);
}

.lead-split--tight {
    margin-top: 56px;
}

.lead-split--dark {
    margin-top: 48px;
    padding: 32px 0 0;
    border-top: 1px solid rgba(251, 248, 243, 0.12);
}

.lead-split--dark .lead-split__form {
    border-color: transparent;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.arch-panels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.arch-panels article {
    position: relative;
    min-height: 78vh;
    overflow: hidden;
    color: var(--white);
}

.arch-panels img {
    position: absolute;
    inset: 0;
}

.arch-panels article::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(18, 17, 16, 0.82));
}

.arch-panels div {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 28px;
    z-index: 1;
}

.arch-panels div p:first-child {
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 12px;
    opacity: 0.7;
}

.landscape__intro {
    max-width: 46rem;
    margin-bottom: 40px;
}

.landscape__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.landscape__photo,
.landscape__court-photo {
    margin: 0;
    overflow: hidden;
    background: var(--paper-2);
}

.landscape__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.landscape__photo .landscape__img {
    aspect-ratio: 4 / 5;
}

.landscape__court {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px 48px;
    align-items: center;
    margin-top: 56px;
}

.landscape__court-photo .landscape__img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--paper-2);
}

.landscape__court-copy h3 {
    margin: 0 0 16px;
}

.landscape__court-copy p {
    margin: 0;
}

.landscape__photo picture,
.landscape__court-photo picture {
    display: block;
    width: 100%;
}

.ticks {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ticks li {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.river {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: flex-end;
    color: var(--white);
}

.river__media {
    position: absolute;
    inset: 0;
}

.river__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.river__content {
    position: relative;
    z-index: 1;
    padding: 80px 0 72px;
    max-width: 640px;
    margin-left: max(20px, calc((100% - 1180px) / 2));
}

.river::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(18, 17, 16, 0.72), rgba(18, 17, 16, 0.18) 70%);
}

.living-mosaic {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    grid-template-rows: auto auto;
    gap: 12px;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.living-mosaic figure {
    margin: 0;
    overflow: hidden;
}

.living-mosaic figure:first-child {
    grid-row: span 2;
}

.living-mosaic figure {
    min-height: 280px;
}

.living-mosaic figure:first-child {
    min-height: 640px;
}

.apt-stage {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: stretch;
}

.apt-visual {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: var(--paper-2);
}

.apt-visual picture {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}

.apt-visual picture.is-active {
    opacity: 1;
    z-index: 1;
}

.apt-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apt-visual img.plan {
    object-fit: contain;
    padding: clamp(18px, 4vw, 54px);
    background: var(--white);
}

.apt-list {
    display: grid;
}

.apt-item {
    display: grid;
    grid-template-columns: 1.1fr 0.7fr;
    gap: 6px 16px;
    text-align: left;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px 8px;
    cursor: pointer;
    color: inherit;
}

.apt-item__name {
    font-family: var(--serif);
    font-size: 28px;
}

.apt-item__area {
    text-align: right;
    color: var(--mute);
    align-self: center;
}

.apt-item__note {
    grid-column: 1 / -1;
    font-size: 14px;
    color: var(--mute);
}

.apt-item.is-active,
.apt-item:hover {
    color: var(--clay-2);
}

.specs-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
}

.spec-table {
    margin: 0;
}

.spec-table div {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.spec-table dt {
    color: var(--mute);
}

.loc-layout {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
}

.scheme {
    overflow: hidden;
}

.scheme svg {
    width: 100%;
    height: auto;
}

.loc-points {
    list-style: none;
    margin: 0;
    padding: 0;
}

.loc-points li {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.loc-points strong {
    display: block;
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
}

.infra-mosaic {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    grid-auto-rows: minmax(240px, auto);
    gap: 12px;
}

.infra-card {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    color: var(--white);
}

.infra-card img {
    position: absolute;
    inset: 0;
}

.infra-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(18, 17, 16, 0.78));
}

.infra-card div,
.infra-card-text,
.infra-card--text {
    position: relative;
    z-index: 1;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.infra-card--lg {
    grid-row: span 2;
    min-height: 540px;
}

.infra-card--text {
    background: var(--ink);
    color: var(--white);
}

.infra-card--text::after {
    display: none;
}

.infra-card--text ul {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.infra-card--text li + li {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(251, 248, 243, 0.12);
}

.mortgage,
.final-cta {
    background: var(--night);
    color: var(--white);
    padding: 96px 0;
}

.calc-board {
    background: var(--foam);
    color: var(--ink);
    padding: 44px 36px 32px;
}

.calc-board__title {
    margin: 0 0 28px;
    color: var(--ink);
}

.calc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}

.calc-form {
    display: grid;
    gap: 14px;
    align-content: start;
    padding: 24px 22px 22px;
    background: var(--white);
    border: 1px solid var(--line);
}

.calc-field {
    display: grid;
    gap: 8px;
}

.calc-field__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.calc-chip {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--graphite);
    background: var(--paper-2);
    padding: 4px 8px;
    white-space: nowrap;
}

.calc-form label,
.field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--mute);
}

.field label.check,
.check {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 0;
    align-items: start;
    font-family: var(--sans);
    font-style: normal;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    color: var(--mute);
    cursor: pointer;
}

.calc-form label {
    color: var(--mute);
}

.calc-form input[type="number"],
.calc-form input[type="text"],
.calc-form select {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    padding: 12px 14px;
    font-size: 16px;
    font-variant-numeric: tabular-nums;
}

.field input[type="text"],
.field input[type="tel"] {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    padding: 12px 14px;
    font-size: 16px;
    font-variant-numeric: tabular-nums;
}

.calc-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23171614' d='M1 1l5 5 5-5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.calc-form input[type="range"] {
    width: 100%;
    height: 28px;
    margin: 0;
    padding: 0;
    min-height: 28px;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
}

.calc-form input[type="range"]::-webkit-slider-runnable-track {
    height: 3px;
    background: rgba(23, 22, 20, 0.18);
}

.calc-form input[type="range"]::-moz-range-track {
    height: 3px;
    background: rgba(23, 22, 20, 0.18);
    border: 0;
}

.calc-form input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    margin-top: -10px;
    background: var(--clay);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.calc-form input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: var(--clay);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.calc-form input:focus,
.calc-form select:focus,
.field input[type="text"]:focus,
.field input[type="tel"]:focus {
    outline: 2px solid var(--clay);
    outline-offset: 2px;
    border-color: var(--clay);
}

.calc-card {
    background: var(--white);
    color: var(--ink);
    padding: 26px 24px 22px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
}

.calc-card__label {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mute);
}

.calc-card__rate {
    margin: 18px 0 8px;
    font-family: var(--serif);
    font-size: clamp(2.6rem, 4.2vw, 3.5rem);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.03em;
}

.calc-card__rate span {
    font-size: 0.42em;
    margin-left: 2px;
    letter-spacing: 0;
}

.calc-card__caption {
    margin: 0 0 22px;
    font-size: 13px;
    color: var(--mute);
}

.calc-card__pay {
    display: grid;
    gap: 6px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.calc-card__pay span,
.calc-card__save-row span {
    font-size: 13px;
    color: var(--mute);
}

.calc-card__pay strong {
    font-family: var(--serif);
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.calc-card__save-row {
    margin-top: 16px;
    padding: 12px 14px;
    background: rgba(226, 59, 59, 0.08);
    display: grid;
    gap: 4px;
}

.calc-card--accent {
    background: var(--night);
    color: var(--white);
    border-color: transparent;
}

.calc-card--accent .calc-card__label,
.calc-card--accent .calc-card__caption,
.calc-card--accent .calc-card__pay span,
.calc-card--accent .calc-card__save-row span {
    color: rgba(251, 248, 243, 0.62);
}

.calc-card--accent .calc-card__rate,
.calc-card--accent .calc-card__pay strong {
    color: var(--white);
}

.calc-card--accent .calc-card__pay {
    border-top-color: rgba(251, 248, 243, 0.14);
}

.calc-card--accent .calc-card__save-row {
    background: rgba(226, 59, 59, 0.16);
}

.calc-card__save {
    color: #e23b3b !important;
    font-family: var(--serif);
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.calc-note {
    margin: 24px 0 0;
    font-size: 12px;
    color: var(--mute);
}

.installment-card {
    margin-top: 24px;
    padding: 24px 26px;
    background: var(--white);
    border: 1px solid var(--line);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px 28px;
    align-items: center;
}

.calc-board > .installment-card:first-child {
    margin-top: 0;
}

.installment-card h3 {
    margin: 0 0 8px;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.installment-card p {
    margin: 0;
}

.installment-card .btn {
    white-space: nowrap;
}

.calc__cta {
    width: 100%;
    margin-top: 4px;
}

.lead-form--dark input,
.lead-form--modal input {
    background: rgba(251, 248, 243, 0.06);
    border-color: rgba(251, 248, 243, 0.16);
    color: var(--white);
}

.lead-form--dark .field label,
.lead-form--modal .field label {
    color: rgba(251, 248, 243, 0.62);
}

.final-cta {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
}

.final-cta__media {
    position: absolute;
    inset: 0;
}

.final-cta__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.final-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(18, 17, 16, 0.38) 0%, rgba(18, 17, 16, 0.14) 52%, rgba(18, 17, 16, 0.22) 100%),
        linear-gradient(180deg, rgba(18, 17, 16, 0.08) 0%, rgba(18, 17, 16, 0.28) 100%);
}

.final-cta .wrap {
    position: relative;
    z-index: 1;
}

.final-cta__panel {
    width: min(520px, 100%);
    background: var(--foam);
    color: var(--ink);
    padding: 36px 32px;
    box-shadow: 0 28px 80px rgba(8, 7, 6, 0.45);
}

.final-cta__panel h2 {
    color: var(--ink);
}

.final-cta__panel > p {
    color: var(--graphite);
}

.lead-form {
    display: grid;
    gap: 16px;
    position: relative;
}

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

.lead-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.lead-form__row > *,
.calc-field,
.hero__facts li {
    min-width: 0;
}

.field__error {
    margin: 6px 0 0;
    color: #b42318;
    font-size: 13px;
}

.field--check {
    margin-top: 2px;
}

.field label.check,
.check {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 0;
    align-items: start;
    font-family: var(--sans);
    font-style: normal;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    color: var(--mute);
    cursor: pointer;
}

.check__control {
    position: relative;
    width: 22px;
    height: 22px;
    margin-top: 2px;
}

.check input {
    position: absolute;
    inset: 0;
    z-index: 1;
    margin: 0;
    width: 22px;
    height: 22px;
    opacity: 0;
    cursor: pointer;
}

.check__box {
    display: block;
    width: 22px;
    height: 22px;
    border: 1.5px solid rgba(23, 22, 20, 0.28);
    background: var(--white);
    position: relative;
}

.check__text {
    min-width: 0;
}

.check input:checked + .check__box {
    background: var(--clay);
    border-color: var(--clay);
}

.check input:checked + .check__box::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.check input:focus-visible + .check__box {
    outline: 2px solid var(--clay);
    outline-offset: 2px;
}

.lead-form--dark .check,
.lead-form--modal .check {
    color: rgba(251, 248, 243, 0.72);
}

.lead-form--dark .check__box,
.lead-form--modal .check__box {
    background: rgba(251, 248, 243, 0.06);
    border-color: rgba(251, 248, 243, 0.28);
}

.check a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hp {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    pointer-events: none;
}

.lead-form__status {
    margin: 0;
    min-height: 1.2em;
}

.flash {
    background: rgba(125, 154, 110, 0.18);
    padding: 12px 14px;
    margin-bottom: 16px;
}

.site-footer {
    background: var(--paper);
    padding: 56px 0 32px;
    border-top: 1px solid var(--line);
}

.footer-grid {
    grid-template-columns: 1.4fr 0.6fr;
    margin-bottom: 32px;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.site-footer a {
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.site-footer a:hover {
    border-bottom-color: currentColor;
}

.footer-legal {
    display: grid;
    gap: 8px;
    color: var(--mute);
    font-size: 13px;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 70;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 17, 16, 0.62);
}

.modal:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal__dialog {
    position: relative;
    z-index: 1;
    width: min(480px, 100%);
    max-height: calc(100dvh - 32px);
    overflow: auto;
    margin: 0;
    background: var(--night);
    color: var(--white);
    padding: 36px 28px 28px;
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.modal__close span {
    position: absolute;
    left: 10px;
    right: 10px;
    height: 1px;
    background: var(--white);
    top: 50%;
}

.modal__close span:first-child {
    transform: rotate(45deg);
}

.modal__close span:last-child {
    transform: rotate(-45deg);
}

.modal__lead {
    margin-bottom: 24px;
}

.modal__title {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}

.cookie {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 55;
    background: var(--ink);
    color: var(--white);
    padding: 16px;
    display: grid;
    gap: 12px;
    max-width: 420px;
}

.legal {
    padding: calc(var(--promo) + var(--header) + 48px) 0 96px;
}

.legal-body {
    max-width: 720px;
}

.legal-body h1 {
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    margin-bottom: 20px;
}

.legal-body .btn {
    margin-top: 8px;
    display: inline-flex;
}

.reveal {
    opacity: 1;
    transform: none;
}

.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-in {
    opacity: 1;
    transform: none;
}

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

    .burger {
        display: block;
    }

    .site-header__inner {
        grid-template-columns: auto 1fr auto;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
    }

    .header-cta {
        justify-self: end;
    }

    .lead-split__form,
    .final-cta__panel,
    .calc-board {
        padding: 28px 24px;
    }
}

@media (max-width: 767px) {
    .wrap {
        width: min(100% - 28px, 1180px);
    }

    .about,
    .advantages,
    .architecture,
    .landscape,
    .living,
    .apartments,
    .specs,
    .location,
    .infra,
    .mortgage,
    .final-cta {
        padding: 64px 0;
    }

    .hero__content {
        padding-bottom: 56px;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 12vw, 3.8rem);
        max-width: none;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__facts {
        font-size: 13px;
        gap: 12px;
    }

    .hero__actions,
    .hero__facts,
    .lead-form__row,
    .calc-layout,
    .landscape__split,
    .landscape__court,
    .about__grid,
    .adv-editorial,
    .apt-stage,
    .specs-grid,
    .loc-layout,
    .mort-grid,
    .lead-split,
    .footer-grid,
    .arch-panels,
    .adv-strip,
    .infra-mosaic,
    .living-mosaic,
    .spec-table div {
        grid-template-columns: 1fr;
    }

    .living-mosaic figure:first-child,
    .infra-card--lg,
    .arch-panels article {
        min-height: 420px;
        grid-row: auto;
    }

    .landscape__photo .landscape__img,
    .landscape__court-photo .landscape__img {
        aspect-ratio: 3 / 2;
        object-fit: cover;
    }

    .lead-split {
        gap: 24px;
        padding-top: 32px;
    }

    .lead-split__form,
    .final-cta__panel,
    .calc-board {
        padding: 20px 16px;
    }

    .final-cta {
        min-height: auto;
        align-items: flex-end;
        padding-top: 168px;
        padding-bottom: 24px;
    }

    .final-cta__panel {
        width: 100%;
    }

    .final-cta::after {
        background: linear-gradient(180deg, rgba(18, 17, 16, 0.28) 0%, rgba(18, 17, 16, 0.5) 52%, rgba(18, 17, 16, 0.68) 100%);
    }

    .check {
        font-size: 12px;
        column-gap: 10px;
    }

    .modal__dialog {
        padding: 28px 18px 20px;
        width: 100%;
    }

    .adv-strip {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        padding: 0 16px 8px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .adv-strip article {
        flex: 0 0 78%;
        scroll-snap-align: start;
        min-height: 380px;
    }

    .scroll-hint {
        display: none;
    }

    .apt-visual {
        min-height: 280px;
    }

    .apt-item__name {
        font-size: 24px;
    }

    .about {
        padding: 0 0 72px;
    }

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

    .promo-bar__inner {
        font-size: 12px;
        gap: 10px;
    }

    .promo-bar button {
        padding: 5px 8px;
        font-size: 11px;
    }
}

@media (max-width: 430px) {
    .promo-bar__full {
        display: none;
    }

    .promo-bar__short {
        display: inline;
    }

    .promo-bar button {
        display: none;
    }

    .header-cta {
        min-height: 40px;
        padding-inline: 10px;
        font-size: 12px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    h2 {
        font-size: clamp(1.85rem, 9vw, 2.6rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scaleY(1);
        opacity: 0.4;
    }
    50% {
        transform: scaleY(0.55);
        opacity: 1;
    }
}
