*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:88px}body{margin:0;background:#f5f4ef;color:#151515;font-family:Manrope,Arial,sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}.site-header{height:82px;background:#111;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 5.5vw;position:sticky;top:0;z-index:20;border-bottom:1px solid #333}.brand{display:flex;align-items:center;gap:11px;font-weight:800;letter-spacing:.13em;font-size:20px}.brand-mark{display:grid;place-items:center;width:31px;height:31px;background:#f3d12b;color:#111;font-family:Oswald,sans-serif;font-size:22px;font-weight:700;letter-spacing:0}.main-nav{display:flex;gap:32px;color:#c9c9c9;font-size:12px}.main-nav a:hover,.text-link:hover{color:#f3d12b}.header-cta{font-size:12px;font-weight:700;border:1px solid #6c6c6c;padding:13px 17px}.header-cta span,.btn span{margin-left:14px;color:#f3d12b}.menu-toggle{display:none;background:none;border:0;color:#fff;font-size:24px}.hero{min-height:680px;background:#111;color:white;display:grid;grid-template-columns:1fr .94fr;position:relative;overflow:hidden;padding:70px 5.5vw 64px;gap:5vw}.hero-copy{align-self:center;max-width:680px;z-index:2}.eyebrow,.section-kicker{font-size:10px;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.eyebrow{color:#bdbdbd;display:flex;align-items:center;gap:12px}.eyebrow span{width:30px;height:3px;background:#f3d12b}.hero h1,.section h2,.payment-band h2,.contact-copy h2{font-family:Oswald,Impact,sans-serif;text-transform:uppercase;font-weight:600;letter-spacing:-.025em;line-height:.98}.hero h1{font-size:clamp(58px,7.5vw,112px);margin:28px 0 22px}.hero h1 em{font-style:normal;color:#f3d12b}.hero-lead{max-width:490px;color:#c5c5c5;line-height:1.8;font-size:15px}.hero-actions{display:flex;align-items:center;gap:28px;margin-top:34px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:17px 22px;font-size:12px;font-weight:800;border:0;cursor:pointer}.btn-yellow{background:#f3d12b;color:#111}.btn-yellow:hover{background:#ffe15b}.btn-yellow span{color:#111}.text-link{font-size:12px;color:#ddd}.text-link span{color:#f3d12b;margin-left:8px}.hero-facts{display:flex;gap:38px;margin-top:66px;padding-top:22px;border-top:1px solid #454545;max-width:540px}.hero-facts div{display:flex;flex-direction:column;gap:5px}.hero-facts strong{font-family:Oswald,sans-serif;font-size:22px;color:#f3d12b}.hero-facts span{font-size:10px;color:#aaa}.hero-visual{position:relative;min-height:500px;align-self:stretch}.hero-visual:before{content:"";position:absolute;inset:0 8% 0 0;border:1px solid #777;transform:translate(16px,16px);z-index:0}.hero-visual img{width:100%;height:100%;max-height:560px;object-fit:cover;position:relative;z-index:1;filter:saturate(.78)}.hero-stamp{position:absolute;z-index:2;bottom:36px;right:-18px;background:#f3d12b;color:#111;padding:16px 20px;display:flex;flex-direction:column;min-width:170px}.hero-stamp span{font-size:9px;letter-spacing:.18em;font-weight:800}.hero-stamp b{font-family:Oswald,sans-serif;font-size:24px;text-transform:uppercase}.hero-stamp i{font-style:normal;font-size:9px;letter-spacing:.12em;margin-top:7px}.hero-index{position:absolute;right:5.5vw;bottom:20px;color:#f3d12b;font-family:Oswald,sans-serif;font-size:15px}.hero-index span{color:#777}.section{padding:112px 8vw}.section-kicker{color:#8b8b80;margin-bottom:26px}.intro{background:#f5f4ef}.intro-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:8vw}.section h2,.payment-band h2{font-size:clamp(42px,5.3vw,74px);margin:0}.section h2 span{color:#9b9a90}.intro-text{max-width:530px;padding-top:8px}.big-copy{font-size:21px;line-height:1.5;font-weight:600;margin:0 0 20px}.intro-text p:not(.big-copy){color:#696961;font-size:13px;line-height:1.9}.arrow-link{display:inline-block;margin-top:16px;padding-bottom:8px;border-bottom:1px solid #151515;font-size:12px;font-weight:800}.arrow-link span{color:#b79a00;margin-left:20px}.advantages{background:#e9e8e1}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;margin-bottom:52px}.section-head>p{max-width:360px;color:#6f6f68;font-size:13px;line-height:1.8;margin:0 0 5px}.adv-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #c9c8c0;border-left:1px solid #c9c8c0}.adv-grid article{padding:25px 24px 30px;min-height:190px;border-right:1px solid #c9c8c0;border-bottom:1px solid #c9c8c0}.adv-grid article>b{font-family:Oswald,sans-serif;font-size:13px;color:#a58e14}.adv-grid h3,.steps-list h3{font-size:16px;margin:30px 0 10px}.adv-grid p,.steps-list p{font-size:12px;line-height:1.8;color:#707068;margin:0}.projects-section{background:#141414;color:#fff}.projects-section .section-kicker{color:#aaa}.projects-head h2 span{color:#f3d12b}.projects-head>p{color:#aaa}.project-toolbar{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #444;padding:18px 0 22px}.filters{display:flex;gap:8px;flex-wrap:wrap}.filter{background:transparent;color:#aaa;border:1px solid #555;padding:9px 13px;font-size:10px;cursor:pointer}.filter.active,.filter:hover{background:#f3d12b;color:#111;border-color:#f3d12b}.project-count{font-size:10px;color:#aaa}.project-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.project-card{background:#222;cursor:pointer;min-width:0;transition:transform .25s,background .25s}.project-card:hover{transform:translateY(-5px);background:#2c2c2c}.project-card img{width:100%;height:265px;object-fit:cover;object-position:top center;display:block;background:#ddd}.project-info{padding:16px 17px 18px;display:flex;align-items:flex-end;justify-content:space-between}.project-info small{display:block;color:#aaa;font-size:9px;letter-spacing:.13em;margin-bottom:6px}.project-info strong{font-family:Oswald,sans-serif;font-size:23px}.project-area{color:#f3d12b;font-family:Oswald,sans-serif;font-size:21px}.catalog-note{font-size:10px;line-height:1.7;color:#888;margin:24px 0 0;max-width:900px}.finish-section{background:#f5f4ef}.finish-section .section-head{align-items:flex-end}.finish-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.finish-card{position:relative;background:#e6e4dc;padding-bottom:28px}.finish-card img{width:100%;height:310px;object-fit:cover;display:block}.finish-label{display:flex;align-items:center;gap:15px;margin:22px 25px 0;color:#a38b0d;font-family:Oswald,sans-serif;font-size:20px}.finish-label span{font-family:Manrope,sans-serif;font-size:10px;font-weight:800;letter-spacing:.12em;color:#777}.finish-card h3{font-family:Oswald,sans-serif;text-transform:uppercase;font-size:27px;margin:15px 25px 8px}.finish-card p{font-size:12px;line-height:1.8;color:#6e6e67;margin:0 25px;max-width:550px}.finish-footnote{font-size:11px;color:#74746d;margin-top:22px}.steps-section{background:#e9e8e1}.steps-list{border-top:1px solid #c8c7be}.steps-list article{display:grid;grid-template-columns:90px 1fr 30px;gap:20px;padding:26px 0;border-bottom:1px solid #c8c7be;align-items:start}.steps-list article>span{font-family:Oswald,sans-serif;font-size:27px;color:#a58e14}.steps-list h3{margin:2px 0 9px;font-size:18px}.steps-list p{max-width:720px}.steps-list article>b{font-size:19px;color:#a58e14}.payment-band{background:#f3d12b;padding:72px 8vw;display:grid;grid-template-columns:.8fr 1.2fr;gap:8vw}.payment-band .section-kicker{color:#5b4d00}.payment-band h2{font-size:clamp(42px,5vw,66px)}.payment-options{display:grid;grid-template-columns:1fr 1fr;gap:28px}.payment-options article{border-top:1px solid #8c7610;padding-top:17px}.payment-options article>span{font-family:Oswald,sans-serif;font-size:14px}.payment-options h3{font-family:Oswald,sans-serif;text-transform:uppercase;font-size:24px;margin:32px 0 10px}.payment-options p{font-size:12px;line-height:1.8;max-width:290px}.faq-section{background:#f5f4ef}.faq-list{border-top:1px solid #c9c8c0;max-width:950px;margin-left:auto}.faq-list details{border-bottom:1px solid #c9c8c0;padding:0 5px}.faq-list summary{list-style:none;cursor:pointer;padding:22px 0;font-size:14px;font-weight:700;display:flex;justify-content:space-between;gap:20px}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary span{font-size:22px;font-weight:400;color:#a58e14;transition:transform .2s}.faq-list details[open] summary span{transform:rotate(45deg)}.faq-list details p{font-size:12px;line-height:1.8;color:#6f6f68;max-width:750px;margin:0 0 22px}.contact-section{background:#111;color:#fff;padding:105px 8vw;display:grid;grid-template-columns:1fr .8fr;gap:10vw}.contact-copy .section-kicker{color:#aaa}.contact-copy h2{font-size:clamp(55px,7vw,92px);margin:0}.contact-copy h2 span{color:#f3d12b}.contact-copy>p{color:#aaa;line-height:1.8;font-size:13px;max-width:440px;margin:28px 0 45px}.contact-promise{border-top:1px solid #454545;padding-top:18px;display:flex;flex-direction:column;gap:7px;max-width:300px}.contact-promise span{color:#f3d12b;font-weight:800;letter-spacing:.16em}.contact-promise b{font-family:Oswald,sans-serif;text-transform:uppercase;font-size:17px}.lead-form{background:#222;padding:32px 34px;align-self:start}.lead-form h3{font-family:Oswald,sans-serif;text-transform:uppercase;font-size:28px;margin:0 0 5px}.lead-form>p{color:#aaa;font-size:11px;margin:0 0 26px}.lead-form label:not(.consent){display:block;color:#aaa;font-size:10px;margin-bottom:16px}.lead-form input:not([type=checkbox]),.lead-form select{display:block;width:100%;margin-top:8px;padding:13px 12px;background:#171717;border:1px solid #444;color:#fff;outline:none;font-size:12px}.lead-form input:focus,.lead-form select:focus{border-color:#f3d12b}.consent{display:flex;gap:9px;align-items:flex-start;color:#aaa;font-size:9px;line-height:1.6;margin:20px 0}.consent input{accent-color:#f3d12b;margin-top:2px}.submit-btn{width:100%}.lead-form small{display:block;color:#777;font-size:9px;line-height:1.6;margin-top:14px}.form-status{font-size:11px;line-height:1.6;margin-top:12px;color:#f3d12b}footer{background:#090909;color:#888;padding:27px 5.5vw;display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:.12em}footer .brand{color:#fff;font-size:16px}footer .brand-mark{width:25px;height:25px;font-size:18px}.modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.92);z-index:50;padding:30px;overflow:auto;align-items:center;justify-content:center}.modal.open{display:flex}.modal-close{position:fixed;top:18px;right:25px;border:0;background:none;color:white;font-size:42px;cursor:pointer}.modal-content{width:min(1100px,100%);margin:auto}.modal-content>img{width:100%;height:auto;display:block}.modal-caption{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#222;color:white;padding:17px 20px}.modal-caption span{font-weight:800;letter-spacing:.12em}.modal-caption strong{font-family:Oswald,sans-serif;font-size:22px;color:#f3d12b}.modal-cta{padding:12px 16px;font-size:10px}
@media(max-width:1000px){.main-nav{gap:17px}.hero{grid-template-columns:1fr .8fr;padding-left:5vw;padding-right:5vw}.hero h1{font-size:70px}.project-grid{grid-template-columns:repeat(3,1fr)}.section{padding:90px 6vw}.adv-grid{grid-template-columns:repeat(2,1fr)}.contact-section{padding:85px 6vw;gap:5vw}.hero-visual{min-height:430px}}
@media(max-width:700px){.site-header{height:68px;padding:0 20px}.main-nav,.header-cta{display:none}.menu-toggle{display:block}.main-nav.mobile-open{display:flex;position:absolute;top:68px;left:0;right:0;background:#111;padding:22px;flex-direction:column;gap:20px;border-top:1px solid #333}.hero{display:flex;flex-direction:column;padding:58px 22px 58px;gap:35px}.hero h1{font-size:clamp(55px,15vw,80px)}.hero-lead{font-size:13px}.hero-facts{gap:18px;margin-top:42px}.hero-facts strong{font-size:18px}.hero-facts span{font-size:9px}.hero-visual{min-height:360px}.hero-visual img{height:390px}.hero-stamp{right:0;bottom:18px}.hero-index{right:22px}.section{padding:76px 22px}.intro-grid,.payment-band,.contact-section{grid-template-columns:1fr;gap:35px}.section-head{display:block;margin-bottom:35px}.section-head>p{margin-top:22px}.section h2{font-size:52px}.adv-grid{grid-template-columns:1fr 1fr}.adv-grid article{padding:18px 15px;min-height:185px}.adv-grid h3{font-size:14px;margin-top:23px}.adv-grid p{font-size:11px}.project-grid{grid-template-columns:repeat(2,1fr);gap:9px}.project-card img{height:220px}.project-info{padding:12px}.project-info strong{font-size:18px}.project-area{font-size:17px}.project-toolbar{align-items:flex-start;gap:12px;flex-direction:column}.filters{gap:6px}.filter{font-size:9px;padding:8px 10px}.finish-grid{grid-template-columns:1fr}.finish-card img{height:240px}.steps-list article{grid-template-columns:44px 1fr 15px;gap:12px;padding:22px 0}.steps-list article>span{font-size:23px}.steps-list h3{font-size:15px}.payment-band{padding:65px 22px}.payment-options{gap:17px}.payment-options h3{font-size:20px}.payment-options p{font-size:11px}.faq-list summary{font-size:12px}.contact-section{padding:75px 22px}.contact-copy h2{font-size:64px}.lead-form{padding:25px 20px}.modal{padding:15px}.modal-caption{flex-wrap:wrap}.modal-cta{width:100%}footer{padding:23px 20px;gap:15px}footer>span{display:none}}
@media(max-width:390px){.project-grid{grid-template-columns:1fr}.project-card img{height:300px}.hero-actions{gap:15px;flex-wrap:wrap}.hero-facts{gap:12px}.adv-grid{grid-template-columns:1fr}.payment-options{grid-template-columns:1fr}}


/* YUZHNO final landing update */
.project-grid{grid-template-columns:repeat(3,1fr)}
.project-copy{min-width:0;max-width:calc(100% - 88px)}
.project-info{align-items:flex-start;gap:16px}
.project-info strong{display:block;line-height:1.05;margin-bottom:8px}
.project-info p{margin:0;color:#b9b9b9;font-size:11px;line-height:1.6}
.project-area{white-space:nowrap;margin-top:4px}
.lead-form small a,footer span a{color:#f3d12b;text-decoration:none}
.modal-layout{display:grid;grid-template-columns:minmax(320px,1.05fr) .95fr;background:#222;color:#fff}
.modal-layout img{width:100%;height:100%;min-height:420px;object-fit:cover;display:block}
.modal-caption{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;padding:28px 28px 30px;background:#222;color:#fff}
.modal-caption span#modal-code{font-size:10px;letter-spacing:.18em;color:#aaa;font-weight:800}
.modal-caption h3{font-family:Oswald,Impact,sans-serif;text-transform:uppercase;font-size:46px;line-height:1;margin:18px 0 10px}
.modal-caption p{margin:0}
#modal-description{color:#c9c9c9;font-size:14px;line-height:1.7;margin-bottom:22px}
.modal-specs{display:grid;grid-template-columns:1fr 1fr;gap:14px;width:100%;margin-bottom:18px}
.modal-specs div{padding:15px 16px;border:1px solid #3d3d3d;background:#181818}
.modal-specs small{display:block;color:#9f9f9f;font-size:10px;letter-spacing:.12em;text-transform:uppercase;margin-bottom:7px}
.modal-specs strong{font-family:Oswald,sans-serif;font-size:28px;color:#f3d12b}
.modal-features{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.modal-features span{border:1px solid #444;padding:8px 10px;font-size:11px;color:#f0f0f0}
.modal-note{font-size:12px;line-height:1.7;color:#bdbdbd;margin-bottom:20px!important}
.modal-cta{margin-top:auto}
@media(max-width:1000px){.project-grid{grid-template-columns:repeat(2,1fr)}.modal-layout{grid-template-columns:1fr}.modal-layout img{min-height:340px}.modal-caption h3{font-size:40px}}
@media(max-width:700px){.project-grid{grid-template-columns:repeat(2,1fr)}.project-copy{max-width:none}.project-info{flex-direction:column}.project-area{margin-top:2px}.modal-caption{padding:20px}.modal-caption h3{font-size:34px}.modal-specs{grid-template-columns:1fr}}
@media(max-width:390px){.project-grid{grid-template-columns:1fr}}

/* Визуальные исправления на базе исходного лендинга */
.brand-original{display:block;width:134px;height:64px;object-fit:contain;object-position:left center}
.site-header .brand{height:72px;overflow:hidden}
footer .brand-original{width:116px;height:57px}
.hero-visual{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;isolation:isolate;padding:10px;background:#1b1b1b;border:1px solid #4b4b4b;border-radius:12px;box-shadow:0 18px 48px rgba(0,0,0,.3)}
.hero-visual:before{display:none!important;content:none!important}
.hero-visual img{width:100%;height:100%;min-height:430px;max-height:560px;object-fit:cover;object-position:center center;border-radius:7px;filter:none}
.hero-stamp{right:24px;bottom:24px;border-radius:3px}
.project-card img{height:250px;object-fit:cover;object-position:center center}
.project-card{overflow:hidden;border:1px solid #353535;border-radius:9px}
.project-info{min-height:138px}
.modal-layout img{object-fit:contain;background:#151515}
@media(max-width:700px){
.site-header .brand{height:62px}.brand-original{width:116px;height:55px}
.hero-visual{padding:7px;min-height:0}.hero-visual img{height:auto;min-height:0;max-height:none;aspect-ratio:1.55;object-fit:cover}
.hero-stamp{right:14px;bottom:14px}
.project-card img{height:205px}
}

/* Каталог-лента: оригинальный дизайн ЮЖНО */
.catalog-slider{position:relative;margin:0 -42px}
.project-grid{display:flex!important;grid-template-columns:none!important;gap:20px!important;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding:10px 42px 28px;overscroll-behavior-x:contain}
.project-grid::-webkit-scrollbar{display:none}
.project-card{flex:0 0 clamp(285px,33vw,435px);scroll-snap-align:start;display:flex;flex-direction:column;border:1px solid #373737;background:#1c1c1c;border-radius:10px;overflow:hidden}
.project-card img{width:100%;height:auto!important;aspect-ratio:1.46!important;object-fit:contain!important;object-position:center!important;background:#e9e9e9}
.project-info{flex:1;min-height:154px;padding:21px!important;align-items:flex-start;gap:14px}
.project-copy{max-width:unset}
.project-info strong{font-size:27px}
.project-info p{font-size:12px;line-height:1.55}
.catalog-arrow{position:absolute;z-index:3;top:36%;width:45px;height:45px;border-radius:50%;border:1px solid #777;background:#f3d12b;color:#111;font-size:34px;line-height:1;display:grid;place-items:center;cursor:pointer;box-shadow:0 8px 20px #0008}
.catalog-arrow:hover{background:#fff}
.catalog-prev{left:12px}.catalog-next{right:12px}
.catalog-progress{display:flex;align-items:center;gap:20px;margin-top:8px;color:#aaa;font-size:11px;letter-spacing:.12em}
.catalog-progress-track{height:2px;background:#494949;flex:1;max-width:260px;overflow:hidden}
.catalog-progress-track span{display:block;height:100%;width:20%;background:#f3d12b;transition:width .2s}
.catalog-hint{font-size:10px}
.site-header .brand,.site-header .brand-original{overflow:visible}
.brand-original{width:154px;height:66px;object-fit:contain;object-position:left center;mix-blend-mode:normal}
footer .brand-original{width:132px;height:58px}
@media(max-width:700px){.catalog-slider{margin:0 -22px}.project-grid{padding:10px 22px 25px;gap:12px!important}.project-card{flex-basis:83vw}.catalog-arrow{width:36px;height:36px;font-size:27px;top:30%}.catalog-prev{left:5px}.catalog-next{right:5px}.catalog-hint{display:none}.project-info{min-height:142px}}

/* YUZHNO architectural catalog refresh — consistent project cards and project detail view */
.project-card{transition:transform .2s ease,border-color .2s ease}
.project-card:hover{transform:translateY(-4px);border-color:#c9a746}
.project-card-visual{position:relative;background:#e6e4de;overflow:hidden}
.project-card-visual img{width:100%;height:auto!important;aspect-ratio:1.48!important;object-fit:cover!important;display:block;transition:transform .35s ease}
.project-card:hover .project-card-visual img{transform:scale(1.025)}
.project-photo-label{position:absolute;bottom:12px;left:12px;background:#17191bdd;border:1px solid #fff3;color:#fff;padding:8px 10px;font-size:9px;letter-spacing:.12em;font-weight:700}
.project-area{display:flex;flex-direction:column;align-items:flex-end;gap:7px;font-family:Oswald,Impact,sans-serif!important;font-size:24px!important;color:#fff}
.project-area small{font-family:Arial,sans-serif;font-size:10px;white-space:nowrap;color:#aaa;font-weight:400}
.project-card .project-info{min-height:164px}
.modal{overflow:auto}
.modal-content{max-width:1160px;width:min(96vw,1160px);margin:5vh auto}
.modal-layout{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)}
.modal-visual{background:#161718;min-width:0;display:flex;flex-direction:column}
.modal-visual #modal-image{width:100%;height:auto!important;min-height:0!important;aspect-ratio:16/10;object-fit:contain!important;background:#17191b}
.modal-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:12px}
.modal-thumb{border:1px solid #525252;background:#292929;color:#ddd;padding:4px;cursor:pointer;border-radius:5px;min-width:0;text-align:left}
.modal-thumb.active{border-color:#e0c342}
.modal-thumb img{width:100%;height:75px;object-fit:cover;display:block;background:#e5e5e5}
.modal-thumb span{display:block;font-size:10px;padding:5px 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.modal-plan-block{width:100%;margin:0 0 17px}
.modal-plan-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;font-weight:700;letter-spacing:.13em;margin-bottom:9px}
.modal-plan-head a{color:#ecd04d;text-transform:none;letter-spacing:0;font-size:11px;font-weight:500}
.modal-plan-block img{display:block;width:100%;height:auto;max-height:255px;object-fit:contain;background:#f4f4f1;border-radius:3px}
.modal-caption{padding:24px 26px 26px}
.modal-caption h3{font-size:42px;margin:12px 0 9px}
.modal-caption .modal-specs{margin-top:14px}
@media(max-width:800px){.modal-layout{grid-template-columns:1fr}.modal-caption{padding:22px}.modal-visual #modal-image{aspect-ratio:16/11}.modal-gallery{padding:10px}.modal-thumb img{height:65px}}
@media(max-width:520px){.modal-thumb span{font-size:8px}.project-card{flex-basis:85vw}.project-area small{font-size:9px}}


/* YUZHNO RELEASE v3 — brand strip based on user-supplied original pixels */
.site-header{padding-left:3.6vw;min-height:83px;background:linear-gradient(135deg,#101113 0%,#202226 68%,#111214 100%)}
.site-header .brand-shell{position:relative;isolation:isolate;flex:0 0 auto;height:82px!important;padding:9px 39px 9px 12px;overflow:visible!important}
.site-header .brand-shell::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(125deg,#0b0c0e 45%,#292b30);clip-path:polygon(0 0,100% 0,88% 100%,0 100%)}
.site-header .brand-shell::after{content:"";position:absolute;right:11%;top:16%;height:65%;width:3px;background:#e5c62d;transform:skewX(-22deg)}
.site-header .brand-original{width:232px;height:64px;object-fit:contain;object-position:left center}
footer{background:#111315!important}footer .brand-shell{position:relative;isolation:isolate;padding:16px 37px 16px 0;min-width:250px}
footer .brand-shell::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,#111214,#282a2d);clip-path:polygon(0 0,100% 0,89% 100%,0 100%)}
footer .brand-shell::after{content:"";position:absolute;right:10%;top:28%;height:45%;width:3px;background:#e5c62d}
footer .brand-original{width:225px!important;height:63px!important;object-fit:contain}
/* All architectural images shown without distortion or clipping in details */
.modal.open{z-index:99;background:rgba(12,13,15,.88);backdrop-filter:blur(5px)}
.modal-content{width:min(96vw,1420px)!important;max-width:1420px!important;margin:3vh auto 4vh!important;box-shadow:0 30px 110px #0009;border:1px solid #48494a;border-radius:12px;overflow:hidden}
.modal-layout{grid-template-columns:minmax(0,1.12fr) minmax(370px,.88fr)!important;background:#141618}
.modal-visual{min-width:0;background:#141618}
.modal-hero-frame{position:relative;width:100%;min-height:470px;display:flex;align-items:center;justify-content:center;background:#151619}
.modal-visual #modal-image{display:block;width:100%;height:auto!important;max-height:min(73vh,780px);min-height:0!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center;cursor:zoom-in}
.modal-expand{position:absolute;bottom:15px;right:15px;display:flex;gap:8px;align-items:center;padding:11px 14px;background:#131518e8;color:#fff;border:1px solid #a6a8a8;border-radius:6px;cursor:pointer;font-size:12px;font-weight:700}
.modal-expand:hover{border-color:#e5c62d}
.modal-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:15px;background:#202226}
.modal-thumb{padding:7px;min-width:0;display:flex;flex-direction:column;gap:6px;background:#16181b;border:1px solid #3d4044;border-radius:8px;color:#dedede;cursor:pointer;text-align:center}
.modal-thumb.active{border:2px solid #e3c03f;padding:6px;background:#292a2c}
.modal-thumb-media{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1.55;background:#eee;border-radius:5px;overflow:hidden}
.modal-thumb .modal-thumb-media img{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;display:block;background:#dedede}
.modal-thumb > span:last-child{font-size:10px;line-height:1.35;font-weight:600;white-space:normal;min-height:26px}
.modal-caption{padding:36px 38px 32px!important;background:#f7f6f2;color:#17191b!important}
.modal-caption span#modal-code{font-size:11px;color:#76777b;letter-spacing:.15em}
.modal-caption h3{color:#141517;font-family:Oswald,Impact,sans-serif;font-size:clamp(45px,4vw,65px)!important;margin:12px 0 8px!important}
#modal-description{color:#55595e!important;font-size:14px;line-height:1.7;margin-bottom:22px;max-width:48ch}
.modal-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:100%;margin:0 0 25px!important}
.modal-specs .modal-spec{padding:16px 13px!important;background:#fff!important;border:1px solid #e1e1de!important;border-left:4px solid #cba83e!important;border-radius:9px;display:flex;align-items:center;gap:12px;min-width:0;box-shadow:0 8px 20px #2424240b}
.modal-spec-icon{font-size:29px!important;color:#25282a!important;min-width:29px;line-height:1}
.modal-specs small{font-size:10px;color:#7b7c7c!important;margin-bottom:4px;letter-spacing:.05em}
.modal-specs strong{font-size:clamp(22px,2.4vw,34px);font-family:Oswald,sans-serif;color:#17191b!important;white-space:nowrap}
.modal-details-label{font-size:10px;letter-spacing:.18em;color:#777;font-weight:800;margin-bottom:10px}
.modal-features{gap:8px!important;margin:0 0 27px!important}
.modal-features .feature-chip{border:1px solid #e0dfda;background:white;color:#383a3d!important;font-size:12px;font-weight:700;padding:10px 12px;display:flex;gap:9px;align-items:center;border-radius:7px}
.feature-chip i{font-size:20px;font-style:normal;color:#bb9636;line-height:1}
.modal-plan-block{padding:16px;border:1px solid #e0dfda;background:#fff;border-radius:10px;margin-bottom:22px!important}
.modal-plan-head{font-size:11px;color:#252629;margin-bottom:13px}
.modal-plan-head a{color:#a17e1c!important;font-weight:700}
.modal-plan-block img{display:block;width:100%;height:auto;max-height:415px!important;object-fit:contain;background:#f9f9f8;cursor:zoom-in}
.modal-note-box{border-left:4px solid #cba83e;padding:2px 0 2px 15px;margin-bottom:23px}
.modal-note-box b{font-size:13px;color:#181a1c}
.modal-note-box .modal-note{margin:7px 0 0!important;color:#5a5e62;font-size:12px}
.modal-cta{margin-top:0!important;align-self:stretch;text-align:center;border-radius:5px}
.project-lightbox{position:fixed;inset:0;display:none;align-items:center;justify-content:center;flex-direction:column;padding:64px 20px 27px;background:rgba(9,10,12,.97);z-index:500;gap:12px}
.project-lightbox.open{display:flex}
.project-lightbox img{display:block;max-width:100%;max-height:calc(100vh - 135px);width:auto;height:auto;object-fit:contain}
.project-lightbox p{color:#fff;font-size:13px;text-align:center;margin:0}
.lightbox-close{position:absolute;top:12px;right:25px;font-size:40px;line-height:1;background:transparent;border:0;color:white;cursor:pointer}
@media(max-width:1050px){.site-header .brand-original{width:185px}.site-header .brand-shell{padding-right:28px}.modal-layout{grid-template-columns:1fr!important}.modal-hero-frame{min-height:0}.modal-visual #modal-image{max-height:65vh}.modal-caption{padding:28px!important}}
@media(max-width:700px){.site-header{padding-left:12px;padding-right:12px}.site-header .brand-shell{height:68px!important;padding:6px 25px 6px 5px}.site-header .brand-original{width:168px;height:55px}.modal-content{width:100vw!important;margin:0!important;border-radius:0}.modal-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.modal-thumb .modal-thumb-media{aspect-ratio:1.65}.modal-caption{padding:23px 19px!important}.modal-caption h3{font-size:41px!important}.modal-specs{grid-template-columns:repeat(2,minmax(0,1fr))!important}.modal-specs .modal-spec{padding:11px 8px!important;gap:5px}.modal-spec-icon{font-size:20px!important;min-width:20px}.modal-specs strong{font-size:24px}.modal-visual #modal-image{max-height:53vh}.modal-expand{bottom:8px;right:8px}.modal-thumb>span:last-child{font-size:10px}footer .brand-original{width:180px!important}}


/* v4: Detail dialog rebuild. Deliberately scoped to override legacy global modal selectors. */
#project-modal.modal{position:fixed!important;inset:0;z-index:150!important;display:none;align-items:center!important;justify-content:center!important;padding:clamp(12px,2vw,30px)!important;overflow:hidden!important;background:rgba(7,8,9,.88)!important}
#project-modal.modal.open{display:flex!important}
#project-modal .modal-content{position:relative;width:min(1500px,calc(100vw - 70px))!important;height:min(850px,calc(100dvh - 45px))!important;max-width:none!important;max-height:none!important;margin:0!important;border-radius:15px!important;overflow:hidden!important;background:#f7f6f2!important;box-shadow:0 32px 100px rgba(0,0,0,.5)}
#project-modal .modal-layout{display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;height:100%!important;min-height:0!important;overflow:hidden!important}
#project-modal .modal-visual{display:flex!important;flex-direction:column!important;min-height:0!important;min-width:0!important;overflow:hidden!important;background:#181a1d!important}
#project-modal .modal-hero-frame{position:relative!important;min-height:0!important;flex:1 1 auto!important;overflow:hidden!important;display:grid!important;place-items:center!important;background:radial-gradient(ellipse at center,#323436,#151619)!important}
#project-modal .modal-hero-frame #modal-image{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;min-height:0!important;object-fit:contain!important;aspect-ratio:auto!important;display:block!important;cursor:zoom-in}
#project-modal .modal-gallery{flex:0 0 auto!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;background:#161719!important;padding:15px!important;max-height:180px!important;min-height:0!important}
#project-modal .modal-thumb{padding:6px!important;display:flex!important;flex-direction:column!important;gap:5px!important;min-width:0!important;min-height:0!important;background:#222427!important;border:1px solid #55585a!important;border-radius:9px!important;color:#e7e7e7!important;box-shadow:none!important}
#project-modal .modal-thumb.active{border:2px solid #d6b044!important;padding:5px!important;background:#34312b!important}
#project-modal .modal-thumb .modal-thumb-media{display:block!important;width:100%!important;height:99px!important;min-height:0!important;aspect-ratio:auto!important;overflow:hidden!important;background:#d6d6d2!important;border-radius:5px!important}
#project-modal .modal-thumb .modal-thumb-media img{display:block!important;width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;background:#303236!important}
#project-modal .modal-thumb>span:last-child{display:block!important;font-size:10px!important;line-height:1.28!important;min-height:26px!important;text-align:center!important;white-space:normal!important;overflow:visible!important;padding:1px!important;color:#ececec!important}
#project-modal .modal-caption{display:block!important;height:100%!important;min-width:0!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;scrollbar-gutter:stable!important;padding:36px 40px 36px!important;background:#f7f6f2!important;color:#141619!important}
#project-modal .modal-caption h3{font-size:clamp(42px,4.4vw,66px)!important;line-height:1.06!important;margin:11px 0 8px!important;letter-spacing:.01em!important}
#project-modal #modal-description{font-size:15px!important;line-height:1.57!important;color:#55595a!important;margin:0 0 22px!important}
#project-modal .modal-specs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:0 0 24px!important;width:100%!important}
#project-modal .modal-specs .modal-spec{display:flex!important;align-items:center!important;gap:13px!important;min-width:0!important;padding:15px!important;background:#fff!important;border:1px solid #e2e0db!important;border-left:4px solid #cba83e!important;border-radius:12px!important}
#project-modal .modal-specs .modal-spec>div{flex:1!important;min-width:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
#project-modal .modal-specs .modal-spec small{color:#626367!important;display:block!important;font-size:10px!important;font-weight:700!important;line-height:1.4!important;letter-spacing:.035em!important;margin:0 0 4px!important;white-space:normal!important}
#project-modal .modal-specs .modal-spec strong{display:block!important;font-size:clamp(27px,3vw,37px)!important;line-height:1.08!important;color:#1b1d1f!important;white-space:nowrap!important}
#project-modal .modal-spec-icon{width:43px!important;height:43px!important;min-width:43px!important;display:grid!important;place-items:center!important;font-size:26px!important;line-height:1!important;background:#f3efe3!important;border-radius:9px!important;color:#33363a!important}
#project-modal .modal-details-label{margin:0 0 12px!important;font-size:11px!important;color:#777!important}
#project-modal .modal-features{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin:0 0 24px!important}
#project-modal .modal-features .feature-chip{display:inline-flex!important;align-items:center!important;padding:10px 12px!important;background:#fff!important;color:#333!important;border:1px solid #e3e0da!important;border-radius:9px!important;font-weight:700!important;font-size:12px!important;gap:9px!important}
#project-modal .modal-features .feature-chip i{font-style:normal!important;color:#b49130!important;font-size:17px!important}
#project-modal .modal-plan-block{padding:16px!important;background:#fff!important;border-radius:12px!important;margin:0 0 20px!important;border:1px solid #e5e3de!important}
#project-modal .modal-plan-block #modal-plan{display:block!important;width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;object-fit:contain!important;background:#fff!important;cursor:zoom-in}
#project-modal .modal-note-box{margin:0 0 22px!important;border-left:4px solid #cba83e!important;padding:2px 0 2px 15px!important}
#project-modal .modal-cta{display:block!important;text-align:center!important;width:100%!important}
#project-modal .modal-expand{position:absolute!important;right:16px!important;bottom:16px!important;z-index:3!important;background:#151719e8!important;border-radius:7px!important}
#project-modal .modal-close{position:fixed!important;top:12px!important;right:12px!important;z-index:170!important;width:45px!important;height:45px!important;display:grid!important;place-items:center!important;color:#fff!important;background:#1f2125!important;border:1px solid #75767a!important;border-radius:50%!important;font-size:31px!important;line-height:1!important}
#project-lightbox.project-lightbox{z-index:300!important}
#project-lightbox img{max-height:calc(100dvh - 120px)!important;min-height:0!important;max-width:min(1600px,98vw)!important;object-fit:contain!important}
@media(max-width:900px){
 #project-modal.modal{padding:0!important;align-items:stretch!important}
 #project-modal .modal-content{width:100vw!important;height:100dvh!important;border-radius:0!important;border:0!important}
 #project-modal .modal-layout{display:block!important;height:100%!important;overflow-y:auto!important;overscroll-behavior:contain!important}
 #project-modal .modal-visual{height:auto!important;overflow:visible!important}
 #project-modal .modal-hero-frame{height:min(53vh,490px)!important;flex:none!important}
 #project-modal .modal-gallery{max-height:none!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;padding:10px!important;gap:7px!important}
 #project-modal .modal-thumb .modal-thumb-media{height:clamp(55px,12vw,90px)!important}
 #project-modal .modal-caption{height:auto!important;overflow:visible!important;padding:27px 22px 45px!important}
 #project-modal .modal-close{right:10px!important;top:10px!important}
}
@media(max-width:530px){
 #project-modal .modal-hero-frame{height:41vh!important}
 #project-modal .modal-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #project-modal .modal-thumb .modal-thumb-media{height:100px!important}
 #project-modal .modal-caption{padding:23px 17px 35px!important}
 #project-modal .modal-specs{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 #project-modal .modal-specs .modal-spec{padding:10px 7px!important;gap:6px!important}
 #project-modal .modal-spec-icon{width:29px!important;height:31px!important;min-width:29px!important;font-size:21px!important}
 #project-modal .modal-specs .modal-spec small{font-size:8px!important}
 #project-modal .modal-specs .modal-spec strong{font-size:25px!important}
 #project-modal .modal-caption h3{font-size:42px!important}
}

/* v5 facade gallery: respect full image when active. */
.modal-hero-frame img, #modal-image{object-fit:contain!important;object-position:center center!important;}
.modal-thumb-media img{object-fit:contain!important;object-position:center center!important;}
.modal-thumb-media{background:#22262b!important;}

/* ЮЖНО v10: не обрезать фасады и архитектурные визуализации в карточках.
   Утверждённые оригинальные изображения не изменяются. */
.project-card-visual img {object-fit:contain!important;object-position:center!important;background:#e6e4de!important;}
.project-card:hover .project-card-visual img {transform:none!important;}
