 :root{--navy:#172c2a;--green:#1c765b;--green2:#e7f3ec;--orange:#f4a34f;--ink:#20302e;--muted:#77837e;--line:#e3e9e5;--bg:#f7f9f6;--white:#fff;--shadow:0 18px 60px rgba(26,55,43,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Manrope,Arial,sans-serif;color:var(--ink);background:#fff;font-size:15px}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 max(5vw,24px);border-bottom:1px solid #eef1ed;background:#fff}.brand{display:inline-flex;align-items:center;gap:10px;font-size:19px;font-weight:600;letter-spacing:-.6px}.brand b{color:var(--green)}.brand-mark{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:var(--green);color:#fff;font-size:25px}.top-phone{font-weight:800;color:var(--navy)}
.hero{display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:5%;padding:70px max(7vw,28px) 86px;background:linear-gradient(115deg,#f6f9f5 0%,#f6f9f5 54%,#edf4ed 54%,#edf4ed 100%);overflow:hidden}.hero-copy{max-width:650px}.eyebrow{font-size:11px;letter-spacing:1.7px;font-weight:800;color:var(--green);margin-bottom:18px}.eyebrow-dot{display:inline-block;width:7px;height:7px;background:var(--orange);border-radius:50%;margin-right:7px}h1{font-size:clamp(35px,4.2vw,61px);line-height:1.1;letter-spacing:-2.4px;margin:0 0 24px;color:var(--navy)}h1 em{font-style:normal;color:var(--green)}.hero-lead{font-size:17px;line-height:1.8;color:#64716b;max-width:560px;margin:0 0 27px}.hero-benefits{display:flex;flex-wrap:wrap;gap:12px 22px}.hero-benefits>div{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700}.benefit-icon{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#dceee2;color:var(--green);font-size:12px}.hero-art{min-height:370px;position:relative;display:flex;align-items:center;justify-content:center}.sun{position:absolute;width:290px;height:290px;background:#dcebdc;border-radius:50%;top:15px;right:12%}.house-illustration{position:relative;z-index:1;width:300px;margin-top:55px}.roof{width:0;height:0;border-left:165px solid transparent;border-right:165px solid transparent;border-bottom:120px solid #1c765b;margin-left:-15px;filter:drop-shadow(0 8px 0 rgba(23,75,56,.08))}.house-body{height:190px;background:#fff;box-shadow:0 20px 35px #1a51301a;display:flex;align-items:center;justify-content:space-evenly;border-bottom:12px solid #d5b18b}.window{width:55px;height:65px;background:#b8d9d8;border:7px solid #f1f2e9;box-shadow:inset 0 0 0 2px #91b6b4}.door{width:49px;height:93px;background:#d5b18b;align-self:flex-end;border:5px solid #f1f2e9;border-bottom:0}.house-base{height:13px;background:#9ab69e;width:360px;margin-left:-30px}.floating-card{position:absolute;z-index:2;left:2%;bottom:46px;background:#fff;padding:16px 20px;border-radius:14px;box-shadow:var(--shadow);display:flex;align-items:center;gap:12px}.float-check{width:38px;height:38px;border-radius:12px;background:#e2f1e5;color:var(--green);display:grid;place-items:center;font-size:20px}.floating-card b,.floating-card small{display:block}.floating-card b{font-size:13px}.floating-card small{font-size:11px;color:var(--muted);margin-top:3px}.art-caption{position:absolute;right:0;top:20px;font-size:12px;line-height:1.6;color:#6c8075;text-align:right}
.quiz-section{padding:88px max(5vw,24px) 94px;background:#fff}.section-heading{text-align:center;margin:0 auto 38px}.section-heading .eyebrow{margin-bottom:12px}.section-heading h2{font-size:clamp(28px,3vw,40px);letter-spacing:-1.2px;color:var(--navy);margin:0 0 12px}.section-heading p{color:var(--muted);margin:0}.quiz-shell{max-width:1120px;margin:auto;display:grid;grid-template-columns:285px 1fr;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:var(--shadow);min-height:560px}.quiz-aside{background:#f1f6f0;padding:36px 28px;display:flex;flex-direction:column}.aside-number{font-size:35px;letter-spacing:-1.5px;font-weight:800;color:var(--green)}.aside-number span{font-size:14px;color:#9aa9a0;letter-spacing:0}.quiz-aside h3{font-size:22px;line-height:1.35;color:var(--navy);margin:24px 0 10px}.quiz-aside>p{font-size:13px;line-height:1.7;color:#718078;margin:0 0 30px}.progress-list{display:grid;gap:16px}.progress-item{display:flex;align-items:center;gap:11px;color:#89958e;font-size:12px;font-weight:700}.progress-item span{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;border:1px solid #d0dbd2;font-size:11px}.progress-item.active{color:var(--green)}.progress-item.active span,.progress-item.done span{background:var(--green);border-color:var(--green);color:#fff}.privacy-note{margin-top:auto;padding-top:34px;color:#8b9890;font-size:10px;line-height:1.6}.quiz-content{padding:40px 42px;display:flex;flex-direction:column;min-width:0}.step{display:none;animation:fade .22s ease}.step.active{display:block}@keyframes fade{from{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.step-kicker{font-size:10px;letter-spacing:1.5px;font-weight:800;color:var(--green);margin-bottom:13px}.step h3{font-size:27px;letter-spacing:-.7px;color:var(--navy);margin:0 0 9px}.step-desc{color:var(--muted);font-size:13px;margin:0 0 27px;line-height:1.7}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.image-choice{position:relative;text-align:left;border:1px solid var(--line);background:#fff;border-radius:15px;padding:12px;cursor:pointer;transition:.2s;display:flex;flex-direction:column}.image-choice:hover,.image-choice.selected{border-color:var(--green);box-shadow:0 0 0 2px #1c765b18}.choice-visual{height:155px;border-radius:10px;display:flex;align-items:center;justify-content:center;overflow:hidden;margin-bottom:15px}.apartment-visual{background:linear-gradient(135deg,#e6f0e9,#c6ddd0)}.building{height:112px;width:100px;background:#f7f5e9;border:5px solid #8cae9a;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:11px}.building i{background:#9bc5c2;display:block}.house-visual{background:linear-gradient(135deg,#f8ead9,#f4d5ae)}.mini-house{position:relative;width:105px;height:70px;background:#fff8eb;border:4px solid #c58d54;margin-top:25px;display:flex;align-items:center;justify-content:space-evenly}.mini-house:before{content:"";position:absolute;left:-12px;top:-48px;width:0;height:0;border-left:60px solid transparent;border-right:60px solid transparent;border-bottom:49px solid #c58d54}.mini-house i{width:18px;height:25px;background:#8ebbb4;z-index:1}.mini-house i:last-child{height:37px;background:#d5a16c;align-self:flex-end}.choice-label{font-size:16px;font-weight:800;color:var(--navy);margin-bottom:5px}.choice-sub{font-size:11px;color:var(--muted);padding-bottom:4px}.choice-radio{position:absolute;right:17px;bottom:19px;width:17px;height:17px;border:1px solid #cbd5ce;border-radius:50%}.selected .choice-radio{border:5px solid var(--green)}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field-grid label{display:flex;flex-direction:column;gap:9px;font-size:12px;font-weight:800;color:#52615a}.field-grid input:not([type=checkbox]):not([type=radio]),.field-grid select{width:100%;height:48px;border:1px solid #dce4de;border-radius:9px;padding:0 13px;background:#fff;color:var(--ink);outline:none;font-size:13px;font-weight:500}.field-grid input:focus,.field-grid select:focus{border-color:var(--green);box-shadow:0 0 0 3px #1c765b14}.full-width{grid-column:1/-1}fieldset{border:0;padding:0;margin:0;min-width:0}legend{font-size:12px;font-weight:800;color:#52615a;margin-bottom:12px}.check-grid{display:flex;gap:9px;flex-wrap:wrap}.check-option input,.payment-option input,.contact-options input{position:absolute;opacity:0;pointer-events:none}.check-option span{display:inline-flex;border:1px solid var(--line);border-radius:9px;padding:12px 14px;font-size:12px;background:#fff;cursor:pointer}.check-option input:checked+span{border-color:var(--green);background:#edf6ef;color:var(--green)}.payment-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.payment-option{border:1px solid var(--line);border-radius:12px;padding:16px;display:grid;grid-template-columns:40px 1fr;column-gap:10px;align-items:center;cursor:pointer}.payment-option:has(input:checked){border-color:var(--green);background:#f6fbf7;box-shadow:0 0 0 1px var(--green)}.payment-icon{grid-row:span 2;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#e7f3e9;color:var(--green);font-size:22px;font-weight:800}.payment-option b{font-size:13px}.payment-option small{font-size:10px;color:var(--muted);margin-top:4px}.mortgage-fields{margin-top:20px;padding:18px;background:#f7faf7;border-radius:12px}.map-heading{display:flex;align-items:center;justify-content:space-between;margin:23px 0 10px;font-size:12px}.map-heading span{color:#9aa59e;font-size:11px}#map{height:260px;border-radius:12px;border:1px solid var(--line);z-index:1}.map-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:9px;font-size:10px;color:#8a9690}.text-button{border:0;background:none;color:var(--green);font-weight:800;cursor:pointer;padding:5px 0}.contact-options{display:flex;gap:9px;flex-wrap:wrap}.contact-options label span{display:inline-flex;border:1px solid var(--line);padding:12px 16px;border-radius:9px;cursor:pointer;font-size:12px;font-weight:700}.contact-options input:checked+span{background:#eaf5ec;border-color:var(--green);color:var(--green)}.consent{flex-direction:row!important;align-items:flex-start;gap:10px!important;font-weight:500!important;color:#77837e!important;font-size:10px!important;line-height:1.6}.consent input{margin-top:3px;accent-color:var(--green)}.submit-note{font-size:10px;color:#8b9790;line-height:1.6;margin-top:20px}.form-error{color:#b23c32;font-size:12px;margin-top:10px}.success-message{display:flex;align-items:center;gap:14px;padding:18px;border-radius:12px;background:#eaf6ed;margin-top:18px;color:#225a3e}.success-check{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#d2ebd8;font-size:22px}.success-message b{font-size:15px}.success-message p{margin:5px 0 0;font-size:12px;line-height:1.5}.quiz-footer{margin-top:auto;padding-top:30px;display:flex;justify-content:space-between;align-items:center;gap:15px}.back-button{border:0;background:none;color:#65736a;font-weight:800;cursor:pointer;padding:13px 0}.back-button:disabled{opacity:.3;cursor:default}.footer-right{display:flex;align-items:center;gap:17px}.footer-right>span{font-size:11px;color:#9aa59e}.primary-button{display:inline-flex;justify-content:center;align-items:center;gap:16px;border:0;border-radius:9px;background:var(--green);color:#fff;padding:15px 21px;font-size:12px;font-weight:800;cursor:pointer;transition:background .2s,transform .2s}.primary-button:hover{background:#155e47;transform:translateY(-1px)}.primary-button span{font-size:18px;line-height:12px}.hidden{display:none!important}.how-section{padding:75px max(6vw,24px) 90px;background:var(--bg)}.how-grid{max-width:1100px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.how-card{position:relative;background:#fff;border:1px solid #e8eee8;border-radius:16px;padding:28px 26px}.how-num{position:absolute;right:23px;top:20px;color:#cbd9cf;font-size:13px;font-weight:800}.how-icon{width:49px;height:49px;display:grid;place-items:center;border-radius:15px;background:#e7f3e9;color:var(--green);font-size:24px;margin-bottom:20px}.how-card h3{font-size:16px;margin:0 0 9px;color:var(--navy)}.how-card p{font-size:12px;color:var(--muted);line-height:1.8;margin:0}.bottom-cta{margin:75px auto;max-width:1120px;border-radius:22px;background:#183b30;color:#fff;padding:44px 48px;display:flex;align-items:center;justify-content:space-between;gap:30px}.bottom-cta .eyebrow{color:#a8d5b6}.bottom-cta h2{font-size:clamp(25px,3vw,36px);letter-spacing:-1px;line-height:1.2;margin:0 0 13px}.bottom-cta p{color:#c2d5ca;font-size:13px;margin:0}.bottom-cta .primary-button{background:#f2a65b;color:#25352c;white-space:nowrap}footer{padding:28px max(5vw,24px);border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:18px;color:#8a968e;font-size:10px}footer .brand{font-size:15px;color:var(--ink)}footer .brand-mark{width:30px;height:30px;font-size:20px;border-radius:9px}footer a:last-child{text-decoration:underline}
@media(max-width:850px){.hero{grid-template-columns:1fr .7fr;padding-top:55px}.hero-art{transform:scale(.8);margin:0 -30px}.hero-benefits{gap:10px}.quiz-shell{grid-template-columns:220px 1fr}.quiz-aside{padding:28px 20px}.quiz-content{padding:32px 25px}.bottom-cta{margin:50px 24px}.sun{right:0}}
@media(max-width:650px){.topbar{height:65px;padding:0 20px}.top-phone{font-size:12px}.hero{display:block;padding:48px 23px 35px;background:linear-gradient(180deg,#f6f9f5 0%,#f6f9f5 75%,#edf4ed 75%)}h1{font-size:39px;letter-spacing:-1.7px}.hero-lead{font-size:14px}.hero-art{min-height:270px;transform:scale(.78);margin:-10px 0 -25px}.floating-card{left:-5%;bottom:35px}.quiz-section{padding:60px 14px}.section-heading{padding:0 8px}.section-heading h2{font-size:29px}.quiz-shell{display:block;border-radius:17px}.quiz-aside{padding:17px 20px}.aside-number{font-size:24px}.quiz-aside h3{font-size:16px;margin:7px 0 4px}.quiz-aside>p,.privacy-note{display:none}.progress-list{display:flex;justify-content:space-between;gap:3px;margin-top:17px}.progress-item{display:flex;flex-direction:column;gap:5px;font-size:8px;text-align:center;flex:1}.progress-item span{width:24px;height:24px}.quiz-content{padding:25px 18px}.step h3{font-size:23px}.choice-grid{gap:10px}.choice-visual{height:115px}.choice-label{font-size:14px}.choice-sub{font-size:10px}.field-grid{grid-template-columns:1fr;gap:15px}.full-width{grid-column:auto}.payment-grid{gap:9px}.payment-option{padding:12px 9px;grid-template-columns:31px 1fr;column-gap:8px}.payment-icon{width:31px;height:31px;font-size:18px}.payment-option b{font-size:11px}.payment-option small{font-size:9px}.quiz-footer{padding-top:24px}.primary-button{padding:14px 15px;gap:9px}.footer-right{gap:9px}.footer-right>span{font-size:10px}.back-button{font-size:12px}.how-section{padding:55px 18px}.how-grid{grid-template-columns:1fr;gap:12px}.how-card{padding:23px}.how-icon{margin-bottom:13px}.bottom-cta{display:block;margin:40px 14px;padding:30px 24px}.bottom-cta .primary-button{margin-top:23px;width:100%}footer{padding:25px 20px;flex-wrap:wrap}footer>span{order:3;width:100%}}

/* Витрина акций новостроек — стили изолированы от квиза */
.promotions-section{padding:78px max(5vw,24px) 84px;background:#f7f9f6;border-top:1px solid #e8eee8}
.promotions-inner{max-width:1120px;margin:0 auto}
.promotions-heading{margin-bottom:28px}
.promotions-heading p{max-width:660px;margin:0 auto;line-height:1.7}
.promotions-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 22px;min-height:38px}
.promotions-filters{display:flex;gap:8px;flex-wrap:wrap}
.promotion-filter{border:1px solid #dce7df;border-radius:999px;background:#fff;color:#52615a;padding:9px 15px;font-size:11px;font-weight:800;cursor:pointer;transition:.2s}
.promotion-filter:hover,.promotion-filter.is-active{background:#1c765b;border-color:#1c765b;color:#fff}
.promotions-counter{font-size:11px;color:#829087;white-space:nowrap}
.promotions-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.promotion-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;background:#fff;border:1px solid #e5ece6;border-radius:17px;box-shadow:0 10px 30px rgba(26,55,43,.055);transition:transform .2s,box-shadow .2s}
.promotion-card:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(26,55,43,.10)}
.promotion-card-media{height:190px;overflow:hidden;background:#e9f0eb}
.promotion-card-image{display:block;width:100%;height:100%;object-fit:cover}
.promotion-image-placeholder{width:100%;height:100%;display:grid;place-items:center;padding:20px;text-align:center;color:#7d9185;font-size:12px;font-weight:700;background:linear-gradient(135deg,#edf4ef,#dfece3)}
.promotion-card-content{display:flex;flex:1;flex-direction:column;padding:19px 20px 17px}
.promotion-region{align-self:flex-start;margin-bottom:10px;padding:6px 10px;border-radius:7px;background:#edf6ef;color:#1c765b;font-size:10px;font-weight:800}
.promotion-card-title{margin:0 0 10px;color:#172c2a;font-size:17px;line-height:1.35;letter-spacing:-.3px}
.promotion-card-text{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;margin:0;color:#748078;font-size:12px;line-height:1.75;white-space:normal}
.promotion-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:18px}
.promotion-date{color:#9aa59e;font-size:9px}
.promotion-more{color:#1c765b;font-size:11px;font-weight:800;white-space:nowrap}
.promotion-more:hover,.promotions-back:hover{text-decoration:underline}
.promotions-state{grid-column:1/-1;padding:35px 20px;border:1px dashed #d5e2d8;border-radius:15px;text-align:center;color:#829087;background:rgba(255,255,255,.7);font-size:13px;line-height:1.7}
.promotions-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:22px;color:#8a968e;font-size:10px;line-height:1.6}
.promotions-back{color:#1c765b;font-weight:800;white-space:nowrap}
/* Панель управления картой */
.map-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    margin-top: 12px;
    background: #f1f7f4;
    border: 1px solid #cfe3d8;
    border-radius: 12px;
}

/* Контейнер кнопок */
.map-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Общий стиль кнопок */
.map-tools .text-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 46px;
    padding: 12px 18px;
    border: 2px solid #197653;
    border-radius: 9px;
    background: #fff;
    color: #176c50;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}

/* Основные действия */
#mapPointBtn,
#mapPolygonBtn {
    background: #197653;
    color: #fff;
    border-color: #197653;
    box-shadow: 0 3px 8px rgba(25, 118, 83, .18);
}

/* Наведение */
#mapPointBtn:hover,
#mapPolygonBtn:hover {
    background: #125b40;
    border-color: #125b40;
    transform: translateY(-2px);
}

/* Кнопка готовности */
#finishPolygonBtn {
    background: #e6f4ec;
    color: #176c50;
}

#finishPolygonBtn:not(:disabled) {
    background: #176c50;
    color: #fff;
}

/* Очистка */
#clearMap {
    color: #c62828;
    border-color: #e5baba;
    background: #fff;
}

#clearMap:hover {
    background: #fff0f0;
    border-color: #c62828;
}

/* Неактивная кнопка */
.map-tools .text-button:disabled {
    opacity: .4;
    cursor: not-allowed;
    transform: none;
}

/* Статус карты */
#mapStatus {
    display: block;
    padding: 10px 13px;
    background: #fff;
    border-radius: 7px;
    color: #52645b;
    font-size: 14px;
    font-weight: 500;
}

/* Мобильная версия */
@media (max-width: 600px) {
    .map-tools {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .map-tools .text-button {
        width: 100%;
        padding: 11px 8px;
        font-size: 13px;
    }

    #mapStatus {
        font-size: 13px;
    }
}
@media(max-width:850px){.promotions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.promotions-section{padding:65px 24px}}
@media(max-width:600px){.promotions-section{padding:55px 15px}.promotions-grid{grid-template-columns:1fr;gap:13px}.promotion-card-media{height:205px}.promotions-toolbar{align-items:flex-start;flex-direction:column}.promotions-footer{align-items:flex-start;flex-direction:column}.promotion-card-content{padding:17px}.promotion-card-title{font-size:16px}}
