/* 31.10 — карточка проекта на баннере главной (утверждён вариант 1: раздел, название, м² и цена); /?hb=2…6 — остальные варианты баннера */
.mdd-hero .mhb-card{gap:20px;padding-right:44px}
@media(min-width:992px){.mdd-hero:not([class*="mdd-hero--hb"]) .mhb-card{width:clamp(420px,30vw,520px)}.mhb-row{flex-wrap:nowrap}}
.mhb-tx{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0;line-height:1.15}
.mhb-sec{color:#b9ec85;font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.mhb-nm{color:#fff;font-size:clamp(20px,1.55vw,26px);font-weight:600;letter-spacing:-.01em}
.mhb-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin-top:4px}
.mhb-row i{font-style:normal;color:rgba(255,255,255,.9);font-size:clamp(16px,1.2vw,19px);white-space:nowrap}
.mhb-row .mhb-pr{color:#fff;font-weight:700;font-size:clamp(18px,1.4vw,22px)}
.mhb-m2{color:rgba(255,255,255,.62);font-size:12.5px}
.mhb-stats{display:none}
@media(min-width:992px){
/* 2 — одна стеклянная полоса внизу: преимущества в ряд + карточка внутри полосы */
.mdd-hero--hb2 .mdd-hero__bottom{padding:14px 14px 14px 26px;border-radius:24px;background:linear-gradient(135deg,rgba(255,255,255,.16),rgba(255,255,255,.05));-webkit-backdrop-filter:blur(20px) saturate(1.6);backdrop-filter:blur(20px) saturate(1.6);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 0 0 1px rgba(255,255,255,.12),0 18px 40px rgba(0,0,0,.25);gap:24px}
.mdd-hero--hb2 .mdd-hero__features{grid-template-columns:repeat(6,minmax(0,1fr));column-gap:14px}
.mdd-hero--hb2 .mdd-hero__features li{flex-direction:column;align-items:flex-start;gap:8px;min-height:0;font-size:13.5px}
.mdd-hero--hb2 .mdd-hero__features li br{display:none}
.mdd-hero--hb2 .mdd-hero__features svg{width:30px;height:30px;flex-basis:30px}
.mdd-hero--hb2 .mhb-card{background:rgba(0,0,0,.28)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)!important;-webkit-backdrop-filter:none;backdrop-filter:none}
/* 3 — карточка-витрина: большое фото сверху, справа над преимуществами */
.mdd-hero--hb3 .mdd-hero__bottom{align-items:flex-end}
.mdd-hero--hb3 .mhb-card{flex-direction:column;align-items:stretch;width:clamp(280px,19vw,330px);padding:10px 10px 14px;gap:10px}
.mdd-hero--hb3 .mhb-card .mdd-hero__card-img{width:100%;aspect-ratio:16/8;border-radius:12px}.mdd-hero--hb3 .mhb-m2{display:none}
.mdd-hero--hb3 .mhb-tx{padding:0 8px}
.mdd-hero--hb3 .mhb-nm{font-size:22px}
.mdd-hero--hb3 .mhb-card .mdd-hero__arrow{position:absolute;right:20px;bottom:22px}
/* 4 — заголовок компактнее, преимущества стеклянными «пилюлями» под кнопками; внизу только карточка */
.mdd-hero--hb4 .mdd-hero__title{font-size:clamp(38px,min(4.3vw,8vh),78px)!important}
.mdd-hero--hb4 .mdd-hero__features{display:flex;flex-wrap:wrap;gap:10px;flex:1 1 auto;align-self:flex-end;max-width:820px}
.mdd-hero--hb4 .mdd-hero__features li{min-height:0;gap:10px;padding:9px 16px 9px 10px;border-radius:999px;background:rgba(255,255,255,.1);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);font-size:14px}
.mdd-hero--hb4 .mdd-hero__features li br{display:none}
.mdd-hero--hb4 .mdd-hero__features svg{width:24px;height:24px;flex-basis:24px}
.mdd-hero--hb4 .mhb-card{width:clamp(400px,30vw,500px)}
/* 5 — цифры вместо преимуществ */
.mdd-hero--hb5 .mdd-hero__features{display:none}
.mdd-hero--hb5 .mhb-stats{display:grid;grid-template-columns:repeat(4,auto);justify-content:start;gap:0;margin:0;padding:0;list-style:none}
.mhb-stats li{display:flex;flex-direction:column;gap:6px;padding:4px 34px 4px 0;margin-right:34px;border-right:1px solid rgba(255,255,255,.2)}
.mhb-stats li:last-child{border-right:0;margin-right:0}
.mhb-stats b{color:#fff;font:700 clamp(24px,2.1vw,36px)/1 'Unbounded',system-ui,sans-serif;letter-spacing:-.02em;white-space:nowrap}
.mhb-stats li:last-child b{color:#b9ec85}
.mhb-stats span{color:rgba(255,255,255,.75);font-size:14px;line-height:1.3}
/* 6 — левая часть на тёмной стеклянной плашке, заголовок мельче; преимущества одной строкой */
.mdd-hero--hb6 .mdd-hero__main{align-self:flex-start;justify-content:center;max-width:min(780px,52vw);margin:auto 0;padding:clamp(28px,3vw,44px);border-radius:30px;background:linear-gradient(160deg,rgba(10,14,10,.62),rgba(10,14,10,.38));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),inset 0 0 0 1px rgba(255,255,255,.08),0 24px 60px rgba(0,0,0,.3);flex:0 0 auto}
.mdd-hero--hb6 .mdd-hero__title{font-size:clamp(36px,min(4vw,7.5vh),72px)!important}
.mdd-hero--hb6 .mdd-hero__features{grid-template-columns:repeat(6,auto);column-gap:0}
.mdd-hero--hb6 .mdd-hero__features li{gap:10px;padding:4px 18px;min-height:0;font-size:13.5px;border-left:1px solid rgba(255,255,255,.18)}
.mdd-hero--hb6 .mdd-hero__features li:first-child{border-left:0;padding-left:0}
.mdd-hero--hb6 .mdd-hero__features svg{width:28px;height:28px;flex-basis:28px}
}
@media(max-width:991px){
.mdd-hero .mhb-card{padding-right:20px}
.mdd-hero--hb5 .mdd-hero__features{display:none}
.mdd-hero--hb5 .mhb-stats{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0;padding:0;list-style:none}
.mdd-hero--hb5 .mhb-stats li{border:0;margin:0;padding:0}
.mdd-hero--hb4 .mdd-hero__features li,.mdd-hero--hb2 .mdd-hero__features li{font-size:13px}
.mdd-hero--hb3 .mhb-card{flex-direction:column;align-items:stretch}.mdd-hero--hb3 .mhb-card .mdd-hero__card-img{width:100%;aspect-ratio:16/9}
.mdd-hero--hb6 .mdd-hero__main{padding:22px;border-radius:22px;background:rgba(10,14,10,.5);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
}
.mhb-stats li{display:flex!important;flex-direction:column!important;align-items:flex-start!important}.mhb-stats li:before,.mhb-stats li:after{display:none!important;content:none!important}
@media(max-width:991px){.mdd-hero--hb5 .mhb-stats b{font-size:20px}.mdd-hero--hb5 .mhb-stats span{font-size:12.5px}}
.mhb-row{display:flex!important;flex-direction:row!important}.mhb-row i{display:inline-block!important;width:auto!important}
@media(min-width:992px){.mdd-hero:not([class*="mdd-hero--hb"]) .mhb-card{width:clamp(440px,32vw,560px)!important}.mdd-hero:not([class*="mdd-hero--hb"]) .mhb-row{flex-wrap:nowrap}}
