/*
 * Страница проекта. Контрольные ширины макета: 1920, 1440, 990, 375.
 * Сверху вниз: hero, слайдер + карточка характеристик, «Что входит
 * в стоимость дома», «Хочу этот дом», «Подберём для вас проект».
 */

/* --- Hero: фото на всю ширину, название внизу по центру --- */
.w-project-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 851px;
    overflow: hidden;
    background: #1f3f31;
    color: #fff;
}

.w-project-hero--plain { height: 420px; }

.w-project-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 60%;
}

.w-project-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .55) 100%);
}

.w-project-hero .w-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding-bottom: 65px;
}

/* Крошки — как в каталоге (14px, «Главная / Проекты / …»), но поверх фото:
   белые, текущий пункт приглушён. Отступ сверху — как у крошек каталога. */
.w-project-hero__crumbs {
    margin-top: 157px;
    color: #fff;
    font-size: 14px;
    line-height: 1;
}

.w-project-hero__crumbs .w-crumbs__link { color: inherit; text-decoration: none; transition: color var(--w-ease); }
.w-project-hero__crumbs .w-crumbs__current { color: rgba(255, 255, 255, .6); }

.w-project-hero__title {
    margin: 0;
    font-family: var(--w-font-display);
    font-size: 100px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

/* --- Слайдер и карточка характеристик --- */
.w-project-top {
    display: grid;
    grid-template-columns: 1fr 421px;
    gap: 20px;
    align-items: stretch;
    height: 661px;
    margin-top: 30px;
}


.w-gallery {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #e9e9e9;
}

.w-gallery__track {
    display: flex;
    height: 100%;
    transition: transform .4s ease;
}

.w-gallery__slide { flex: 0 0 100%; height: 100%; }
.w-gallery__img { display: block; width: 100%; height: 100%; object-fit: cover; }

.w-gallery__arrow {
    position: absolute;
    top: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
    color: #212121;
    transform: translateY(-50%);
    transition: background-color var(--w-ease), color var(--w-ease);
}

.w-gallery__arrow--prev { left: 20px; }
.w-gallery__arrow--next { right: 20px; }
.w-gallery__arrow .w-icon--chevron { width: 14px; height: 14px; }
.w-gallery__arrow--prev .w-icon--chevron { transform: rotate(90deg); }
.w-gallery__arrow--next .w-icon--chevron { transform: rotate(-90deg); }
.w-gallery__arrow:focus-visible { outline: 2px solid var(--w-green); outline-offset: 2px; }

.w-gallery__dots {
    position: absolute;
    left: 50%;
    bottom: 20px;
    z-index: 1;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.w-gallery__dot {
    width: 15px;
    height: 15px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
    transition: background-color var(--w-ease);
}

.w-gallery__dot.is-active { background: #fff; }
.w-gallery__dot:focus-visible { outline: 2px solid var(--w-green); outline-offset: 2px; }

.w-specs {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
    padding: 30px 30px 20px;
    border-radius: 10px;
    background: #fff;
}

/* Сетка характеристик: две колонки, между ячейками пунктирные линии. */
.w-specs__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 0;
}

.w-specs__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 20px 6px;
    border-bottom: 1px dashed #d3d3d3;
    text-align: center;
}

.w-specs__item:nth-child(odd) { border-right: 1px dashed #d3d3d3; }
.w-specs__item:nth-child(-n+2) { padding-top: 0; }
.w-specs__item:nth-last-child(-n+2) { border-bottom: 0; }
.w-specs__item:last-child:nth-child(odd) { border-right: 0; }

.w-specs__label {
    margin: 0;
    color: #6d6d6d;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}

.w-specs__value {
    margin: 0;
    color: var(--w-ink);
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.w-specs__value sup { font-size: .645em; line-height: 0; vertical-align: .35em; }
.w-specs__item--accent .w-specs__value { color: var(--w-green); }

.w-specs__offer { display: flex; flex-direction: column; gap: 30px; }

.w-specs__price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 10px;
}

.w-specs__price {
    color: var(--w-green);
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.w-specs__price--request { font-size: 36px; }
.w-specs__old-price { color: #9a9a9a; font-size: 20px; font-weight: 600; }

.w-specs__actions { display: flex; flex-direction: column; gap: 14px; }

.w-specs__btn { width: 100%; height: 62px; padding: 0 30px; font-size: 26px; }

/* Контурная кнопка: зелёная рамка и текст, при наведении заливается. */
.w-button--outline {
    border: 1px solid var(--w-green);
    background: transparent;
    color: var(--w-green);
}

/* План этажа — чертёж: на белом, целиком, без обрезки; подпись в углу. */
.w-gallery__slide--plan { background: #fff; }
.w-gallery__slide--plan .w-gallery__img { object-fit: contain; padding: 30px 30px 60px; }

.w-gallery__caption {
    position: absolute;
    left: 20px;
    bottom: 20px;
    padding: 8px 14px;
    border-radius: 40px;
    background: rgba(33, 33, 33, .72);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.w-gallery__slide { position: relative; }
.w-gallery__slide--plan .w-gallery__caption { background: var(--w-green); }

.w-gallery__slide--video { background: #111; }
.w-gallery__video { display: block; width: 100%; height: 100%; border: 0; }

/* --- Слайды из макета: ипотека с банками и офис города --- */
.w-gallery__slide--card { background: #fff; }

.w-banks {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 46px 40px 40px;
    color: #1b1f1b;
    text-align: center;
}

.w-banks__title {
    margin: 0;
    font-family: var(--w-font-display);
    font-size: 55px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}

.w-banks__badge {
    margin: 8px 0 0;
    padding: 9px 18px;
    background: var(--w-green);
    color: #fff;
    font-family: var(--w-font-display);
    font-size: 39px;
    line-height: 1;
    text-transform: uppercase;
}

.w-banks__grid {
    display: grid;
    grid-template-columns: repeat(3, 267px);
    gap: 18px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.w-banks__item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 163px;
    border: 1.5px solid var(--w-green);
    border-radius: 11px;
    background: rgba(40, 142, 98, .06);
}

.w-banks__logo { display: block; max-width: 70%; max-height: 62%; object-fit: contain; }
.w-banks__logo--sber, .w-banks__logo--vbrr { max-width: 100%; max-height: 92%; }
.w-banks__logo--metallinvest { max-width: 88%; max-height: 66%; }
.w-banks__logo--centrinvest { max-width: 78%; max-height: 80%; }

.w-banks__escrow {
    width: 836px;
    max-width: 100%;
    margin: auto 0 0;
    padding: 16px 0;
    border-top: 1px dashed #adadad;
    border-bottom: 1px dashed #adadad;
    font-family: var(--w-font-display);
    font-size: 40px;
    line-height: 1;
    text-transform: uppercase;
}

.w-banks__escrow span { color: var(--w-green); }

.w-office {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 40px;
    overflow: hidden;
    color: #1b1f1b;
}

/* Карта — повёрнутый кадр со скруглённым правым верхним углом, как в макете;
   слева и сверху растворяется в белый, чтобы текст читался. */
.w-office__map {
    position: absolute;
    left: 37.5%;
    top: -3%;
    width: 64.6%;
    aspect-ratio: 852 / 682;
    overflow: hidden;
    border-top-right-radius: 32%;
    transform: rotate(-8.59deg);
}

/* Живой виджет не наклоняем: косую карту неудобно двигать, а его подписи
   и бабл поиска висели бы под углом. Наклон — только у кадра из макета. */
.w-office__map:has(.w-office__map-frame) { top: 6%; border-radius: 10px; transform: none; }

.w-office__map-img, .w-office__map-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.w-office__map::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 19%), linear-gradient(185deg, #fff 6%, rgba(255, 255, 255, 0) 24%);
}

.w-office__pin {
    position: absolute;
    left: 42%;
    top: 47%;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 6px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
    color: #636262;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.w-office__pin-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--w-green);
    box-shadow: 0 0 0 4px rgba(40, 142, 98, .25);
}

.w-office__title {
    position: relative;
    z-index: 1;
    max-width: 60%;
    margin: 0;
    font-family: var(--w-font-display);
    font-size: 60px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}

.w-office__address {
    position: relative;
    z-index: 1;
    max-width: 460px;
    margin: 32px 0 0;
    color: #363636;
    font-size: 34px;
    font-weight: 500;
    line-height: 1;
}

.w-office__phone {
    position: relative;
    z-index: 1;
    margin-top: auto;
    align-self: flex-start;
    color: var(--w-green);
    font-size: 34px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

/* --- Что входит в стоимость дома --- */
/*
 * О проекте: описание из карточки товара, сразу под галереей.
 *
 * Две колонки — основной текст и дополнительный; при одном заполненном
 * поле колонка остаётся одна и текст не растягивается на всю ширину.
 */
.w-about { margin-top: 80px; }

.w-about__card {
    padding: 50px 60px 40px;
    border-radius: 10px;
    background: #fff;
}

.w-about__title {
    margin: 0;
    color: var(--w-ink);
    font-family: var(--w-font-display);
    font-size: 60px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.w-about__title span { color: var(--w-green); }

.w-about__columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.w-inclusions { margin-top: 80px; }

.w-inclusions__card {
    padding: 50px 60px 40px;
    border-radius: 10px;
    background: #fff;
}

.w-inclusions__title {
    margin: 0 auto;
    max-width: 651px;
    color: var(--w-ink);
    font-family: var(--w-font-display);
    font-size: 60px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.w-inclusions__title span { color: var(--w-green); }

.w-inclusions__list { display: flex; flex-direction: column; gap: 24px; margin-top: 80px; }

.w-inclusion { border-bottom: 1px dashed #adadad; padding-bottom: 20px; }

.w-inclusion__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    text-align: left;
    color: #212121;
    transition: color var(--w-ease);
}

.w-inclusion__head:focus-visible { outline: 2px solid var(--w-green); outline-offset: 4px; border-radius: 4px; }
.w-inclusion.is-open .w-inclusion__head { color: var(--w-green); }

.w-inclusion__name {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.w-inclusion__more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #b1b1b1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.w-inclusion__more .w-icon--chevron { width: 10px; height: 8px; transition: transform var(--w-ease); }
.w-inclusion.is-open .w-inclusion__more .w-icon--chevron { transform: scaleY(-1); }

.w-inclusion__body { display: flex; flex-direction: column; gap: 26px; margin-top: 26px; }
/* display: flex перебил бы атрибут hidden — закрытая секция осталась бы видимой. */
.w-inclusion__body[hidden] { display: none; }

.w-inclusion__picture { display: block; }

.w-inclusion__img {
    display: block;
    width: 100%;
    height: 580px;
    border-radius: 10px;
    object-fit: cover;
}

.w-inclusion__group + .w-inclusion__group { margin-top: 12px; }

.w-inclusion__heading {
    margin: 0 0 12px;
    color: var(--w-ink);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
    text-transform: uppercase;
}

.w-inclusion__items {
    margin: 0;
    padding-left: 27px;
    color: #6d6d6d;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
}

.w-inclusion__item + .w-inclusion__item { margin-top: 16px; }
.w-inclusion__item::marker { color: var(--w-ink); font-weight: 700; }
.w-inclusion__item-name { color: var(--w-ink); font-weight: 700; }
.w-inclusion__item-text { margin-left: .25em; }

.w-inclusion__item--list .w-inclusion__item-name { display: block; font-size: 20px; line-height: 1.4; }

.w-inclusion__sub {
    margin: 16px 0 0;
    padding-left: 24px;
    color: var(--w-ink);
    font-weight: 400;
    list-style: disc;
}

.w-inclusion__sub li + li { margin-top: 16px; }

.w-inclusions__cta { width: 100%; height: 62px; margin-top: 20px; padding: 0 30px; font-size: 26px; }

/* --- Подберём для вас проект --- */
.w-pick {
    position: relative;
    height: 817px;
    margin: 100px 0 64px;
    overflow: hidden;
    border-radius: 10px;
    background: #257351;
    color: #fff;
    text-align: center;
}

/* Кадр из макета: 1760×1003 в блоке 817, сдвинут на 28px вверх — дом
   сидит крупно внизу, а верх кадра с лесом уходит под зелёную заливку. */
.w-pick__img {
    position: absolute;
    left: 0;
    top: -3.4%;
    width: 100%;
    height: 122.8%;
    object-fit: cover;
    object-position: 50% 0;
}

/* Сверху фото гасится в зелёный: 5% сплошной, к 37% прозрачно — как в макете. */
.w-pick::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, #257351 5%, rgba(37, 115, 81, 0) 37.255%);
}

.w-pick__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 62px;
}

.w-pick__title {
    margin: 0;
    font-family: var(--w-font-display);
    font-size: 60px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}

.w-pick__text { max-width: 409px; margin: 24px 0 0; font-size: 16px; line-height: 1.2; }

.w-pick__form { display: flex; flex-direction: column; gap: 24px; width: 418px; max-width: 100%; margin-top: 30px; }

.w-pick__fields { display: flex; gap: 12px; align-items: flex-start; }

.w-pick__field { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.w-pick__field--floors { flex: 0 0 68px; }
.w-pick__field--area { flex: 0 0 auto; }
.w-pick__field--phone { flex: 1 1 0; min-width: 0; }

.w-pick__field-label { font-size: 12px; line-height: 1; }

.w-pick__select { position: relative; display: block; }

.w-pick__select select,
.w-pick__input {
    display: block;
    width: 100%;
    height: 42px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 6px;
    background: #1c6545;
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
}

.w-pick__select select {
    padding-right: 28px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.w-pick__select .w-icon--chevron {
    position: absolute;
    right: 10px;
    top: 50%;
    width: 10px;
    height: 8px;
    transform: translateY(-50%);
    pointer-events: none;
}

.w-pick__input::placeholder { color: rgba(255, 255, 255, .5); }
.w-pick__input:focus, .w-pick__select select:focus { outline: 2px solid #fff; outline-offset: -1px; }
.w-pick__input.is-invalid { border-color: #ffb4a8; }

.w-pick__error { margin: -12px 0 0; color: #ffd2cb; font-size: 13px; line-height: 1.3; text-align: left; }

.w-pick__submit {
    width: 100%;
    height: 52px;
    padding: 0 12px;
    border: 0;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 4px 21px rgba(0, 0, 0, .25);
    color: #257351;
    font-family: var(--w-font-display);
    font-size: 24px;
    line-height: 1;
    text-transform: uppercase;
    transition: background-color var(--w-ease), color var(--w-ease), box-shadow var(--w-ease);
}

.w-pick__submit[disabled] { opacity: .7; }
.w-pick__done { max-width: 409px; margin: 30px 0 0; font-size: 18px; line-height: 1.3; }

@media (hover: hover) {
    .w-project-hero__crumbs .w-crumbs__link:hover { color: var(--w-green-light); }
    .w-gallery__arrow:hover { background: #fff; color: var(--w-green); }
    .w-gallery__dot:hover { background: #fff; }
    .w-inclusion__head:hover { color: var(--w-green); }
    .w-inclusion__head:hover .w-inclusion__more { color: #8a8a8a; }
    .w-button--outline:hover { background: var(--w-green); color: #fff; box-shadow: 0 8px 20px rgba(40, 142, 98, .28); }
    .w-pick__submit:not([disabled]):hover { background: #eef7f2; box-shadow: 0 6px 24px rgba(0, 0, 0, .3); }
}

/* --- 1440 --- */
@media (max-width: 1919px) {
    .w-project-hero { height: 660px; }
    .w-project-hero .w-container { padding-bottom: 22px; }
    .w-project-hero__crumbs { margin-top: 148px; }
    .w-project-hero__title { font-size: 80px; }
    .w-project-top { height: 589px; margin-top: 30px; }
    .w-gallery__arrow { width: 34px; height: 34px; }
    .w-gallery__arrow--prev { left: 18px; }
    .w-gallery__arrow--next { right: 18px; }
    .w-gallery__dots { bottom: 16px; gap: 6px; }
    .w-gallery__dot { width: 12px; height: 12px; }
    .w-specs { gap: 24px; padding: 24px 24px 20px; }
    .w-banks { padding: 34px 30px 30px; }
    .w-banks__title { font-size: 40px; }
    .w-banks__badge { font-size: 28px; padding: 7px 14px; }
    .w-banks__grid { grid-template-columns: repeat(3, 190px); gap: 14px; margin-top: 16px; }
    .w-banks__item { height: 116px; }
    .w-banks__escrow { width: 600px; padding: 12px 0; font-size: 30px; }
    .w-office { padding: 30px; }
    .w-office__title { font-size: 48px; }
    .w-office__address { margin-top: 24px; font-size: 26px; max-width: 360px; }
    .w-office__phone { font-size: 28px; }
    .w-specs__item { padding: 16px 4px; gap: 12px; }
    .w-specs__value { font-size: 28px; }
    .w-specs__price { font-size: 40px; }
    .w-specs__btn { height: 56px; font-size: 24px; }
    .w-about__card { padding: 40px 40px 30px; }
    .w-about__title { font-size: 48px; }
    .w-inclusions__card { padding: 40px 40px 30px; }
    .w-inclusions__title { font-size: 48px; }
    .w-inclusions__list { margin-top: 60px; }
    .w-inclusion__img { height: 480px; }
    .w-pick { margin: 80px 0 48px; }
    .w-pick__title { font-size: 48px; }
}

/* --- 990: карточка характеристик под слайдером, четыре колонки --- */
@media (max-width: 1439px) {
    .w-project-hero { height: 524px; }
    .w-project-hero .w-container { padding-bottom: 30px; }
    .w-project-hero__crumbs { margin-top: 118px; }
    .w-project-hero__title { font-size: 60px; }
    .w-project-top { grid-template-columns: 1fr; height: auto; gap: 10px; }
    .w-gallery { height: 466px; }
    .w-banks { padding: 28px 24px 24px; }
    .w-banks__title { font-size: 40px; }
    .w-banks__badge { font-size: 26px; }
    .w-banks__grid { grid-template-columns: repeat(3, 200px); gap: 12px; margin-top: 14px; }
    .w-banks__item { height: 96px; }
    .w-banks__escrow { width: 620px; padding: 10px 0; font-size: 28px; }
    .w-office { padding: 24px 25px; }
    .w-office__map { left: 29%; top: -17%; width: 80%; }
    .w-office__title { font-size: 40px; }
    .w-office__address { margin-top: 20px; font-size: 20px; max-width: 272px; }
    .w-office__phone { font-size: 24px; }
    .w-office__pin { font-size: 12px; }
    .w-specs { flex-direction: column-reverse; gap: 20px; padding: 30px 30px 20px; }
    .w-specs__grid { grid-template-columns: repeat(4, 1fr); padding-top: 10px; border-top: 1px dashed #d3d3d3; }
    .w-specs__item { padding: 16px 4px; border-right: 1px dashed #d3d3d3; }
    .w-specs__item:nth-child(-n+4) { padding-top: 10px; }
    .w-specs__item:nth-child(4n) { border-right: 0; }
    .w-specs__item:nth-last-child(-n+4) { border-bottom: 0; }
    .w-specs__item:last-child { border-right: 0; }
    .w-specs__label { font-size: 12px; }
    .w-specs__value { font-size: 28px; }
    .w-specs__offer { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; }
    .w-specs__price-block { padding-bottom: 0; }
    .w-specs__price { font-size: 36px; }
    .w-specs__actions { flex-direction: row; width: 456px; max-width: 60%; }
    .w-specs__btn { height: 52px; padding: 0 20px; font-size: 20px; }
    .w-about { margin-top: 60px; }
    .w-about__card { padding: 30px 30px 24px; }
    .w-about__title { font-size: 40px; }
    .w-about__columns { gap: 30px; margin-top: 30px; }
    .w-inclusions { margin-top: 60px; }
    .w-inclusions__card { padding: 30px 30px 24px; }
    .w-inclusions__title { font-size: 40px; }
    .w-inclusions__list { margin-top: 40px; }
    .w-inclusion__name { font-size: 20px; }
    .w-inclusion__more { font-size: 16px; }
    .w-inclusion__img { height: 360px; }
    .w-inclusion__heading { font-size: 18px; }
    .w-inclusion__items { font-size: 16px; }
    .w-inclusion__item--list .w-inclusion__item-name { font-size: 18px; }
    .w-inclusions__cta { height: 52px; font-size: 20px; }
    .w-pick { height: 565px; margin: 60px 0 40px; }
    .w-pick__title { font-size: 40px; }
    .w-pick__content { padding-top: 40px; }
}

/* --- Мобильный --- */
@media (max-width: 989px) {
    .w-project-hero { height: 357px; }
    .w-project-hero .w-container { padding-bottom: 30px; }
    .w-project-hero__crumbs { margin-top: 108px; }
    .w-project-hero__title { font-size: 52px; }
    .w-project-top { margin-top: 30px; }
    /* Выше макетных 194px: слайды с банками и офисом не влезли бы. */
    .w-gallery { height: 320px; }
    .w-gallery__arrow { display: none; }
    .w-gallery__slide--plan .w-gallery__img { padding: 14px 14px 40px; }
    .w-gallery__caption { left: 12px; bottom: 34px; font-size: 12px; }
    .w-banks { padding: 18px 12px 14px; }
    .w-banks__title { font-size: 24px; }
    .w-banks__badge { margin-top: 6px; padding: 5px 10px; font-size: 16px; }
    .w-banks__grid { grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; margin-top: 12px; }
    .w-banks__item { height: 60px; border-radius: 8px; }
    .w-banks__escrow { width: 100%; margin-top: 12px; padding: 8px 0; font-size: 18px; }
    .w-office { padding: 18px 14px; }
    .w-office__map { left: 30%; top: 20%; width: 90%; }
    .w-office__title { max-width: 75%; font-size: 26px; }
    .w-office__address { max-width: 200px; margin-top: 14px; font-size: 15px; line-height: 1.2; }
    .w-office__phone { font-size: 20px; }
    .w-office__pin { padding: 3px 8px 3px 5px; font-size: 11px; }
    .w-office__pin-dot { width: 9px; height: 9px; }
    .w-gallery__dots { bottom: 10px; }
    .w-gallery__dot { width: 12px; height: 12px; }
    .w-specs { gap: 30px; padding: 20px 14px; }
    .w-specs__grid { grid-template-columns: 1fr 1fr; padding-top: 0; border-top: 0; }
    .w-specs__item { padding: 20px 4px; border-right: 0; }
    .w-specs__item:nth-child(odd) { border-right: 1px dashed #d3d3d3; }
    .w-specs__item:nth-child(-n+2) { padding-top: 0; }
    .w-specs__item:nth-last-child(-n+2) { border-bottom: 0; }
    .w-specs__item:nth-last-child(n+3) { border-bottom: 1px dashed #d3d3d3; }
    .w-specs__value { font-size: 26px; }
    .w-specs__offer { flex-direction: column; align-items: stretch; gap: 14px; }
    .w-specs__price-block { padding-bottom: 10px; }
    .w-specs__price { font-size: 36px; }
    .w-specs__actions { flex-direction: column; width: 100%; max-width: none; gap: 12px; }
    .w-specs__btn { height: 52px; font-size: 20px; }
    .w-about { margin-top: 40px; }
    .w-about__card { padding: 30px 14px; }
    .w-about__title { font-size: 32px; }
    .w-about__columns { gap: 24px; margin-top: 24px; }
    .w-inclusions { margin-top: 40px; }
    .w-inclusions__card { padding: 30px 14px; }
    .w-inclusions__title { font-size: 32px; }
    .w-inclusions__list { margin-top: 38px; }
    .w-inclusion__name { font-size: 18px; }
    .w-inclusion__more-text { display: none; }
    .w-inclusion__body { gap: 18px; margin-top: 18px; }
    .w-inclusion__img { height: 171px; }
    .w-inclusion__heading { font-size: 18px; }
    .w-inclusion__items { padding-left: 22px; font-size: 16px; }
    .w-inclusion__item--list .w-inclusion__item-name { font-size: 17px; }
    .w-inclusion__sub { padding-left: 20px; }
    .w-pick { height: 565px; margin: 40px 0 30px; }
    /* На мобильном кадр узкий: 776×442 от 192px сверху, центр сдвинут на 15px вправо. */
    .w-pick__img { left: calc(50% + 15px); top: 192px; width: 776px; height: 442px; transform: translateX(-50%); object-position: 50% 0; }
    .w-pick__content { padding: 36px 14px 0; }
    .w-pick__title { font-size: 32px; }
    .w-pick__text { margin-top: 4px; font-size: 14px; max-width: 281px; }
    .w-pick__form { width: 311px; margin-top: 32px; gap: 24px; }
    .w-pick__fields { flex-wrap: wrap; gap: 12px; }
    .w-pick__field--floors, .w-pick__field--area { flex: 1 1 0; }
    .w-pick__field--phone { flex: 1 1 100%; }
    .w-pick__submit { font-size: 20px; }
    .w-pick__done { font-size: 16px; }
}
