/* Shared visual rules for the premium prototype. */
:root{
  --font:Manrope,"Helvetica Neue",Arial,sans-serif;
  --type-display:clamp(48px,4.8vw,76px);
  --type-section:clamp(38px,3.8vw,60px);
  --type-body:16px;
  --type-body-mobile:15px;
  --type-label:11px;
  --leading-copy:1.72;
  --tracking-display:-.045em;
}
body{font-family:var(--font)}
.space-gallery .space-gallery-title h2{text-align:left;text-wrap:wrap}
.eyebrow,.factory-image-caption,.drawing-label,.catalog-footer span:last-child{font-size:var(--type-label);letter-spacing:.12em}
.hero-desc,.factory-copy p,.section-right p,.drawing-heading>p,.consult-editorial .consult-intro>p{font-size:var(--type-body);line-height:var(--leading-copy)}
.space-gallery h2{max-width:900px;margin-inline:auto;text-align:center;font-size:var(--type-section);line-height:1.08;letter-spacing:var(--tracking-display)}
.factory-copy h2,.drawing-heading h2,.consult-editorial h2,.catalog .section-title-row h2,.portfolio h2{letter-spacing:var(--tracking-display)}

/* Final CTA: two equal editorial planes — a focused enquiry and a complete interior still. */
.consult-editorial{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(350px,.68fr);grid-template-rows:1fr;gap:clamp(42px,7vw,128px);min-height:clamp(720px,58vw,940px);padding:clamp(54px,7vw,118px) var(--pad);isolation:isolate;overflow:hidden;background:#d7caba;color:#263126}
.consult-editorial:after{content:"";position:absolute;inset:-3%;z-index:-2;background:linear-gradient(90deg,rgba(247,244,237,.9) 0%,rgba(247,244,237,.55) 40%,rgba(231,222,208,.18) 75%),url("/assets/ai-consult-background.webp") center / cover no-repeat;transform:scale(1);transition:transform 1.6s cubic-bezier(.2,.7,.2,1);pointer-events:none}
.consult-editorial:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(247,244,237,.24),transparent 65%);pointer-events:none}
.consult-editorial.is-revealed:after{transform:scale(1.06)}
.consult-editorial .consult-intro{position:relative;z-index:1;align-self:center;width:min(100%,820px);padding:0;background:transparent;transform:translateY(28px);opacity:0;transition:opacity .8s ease .15s,transform .9s cubic-bezier(.2,.7,.2,1) .15s;text-align:left}
.consult-editorial.is-revealed .consult-intro{opacity:1;transform:none}
.consult-editorial .eyebrow{display:block;margin-bottom:clamp(18px,2vw,32px);color:#66725e}
.consult-editorial h2{max-width:780px;margin:0;font-size:clamp(46px,4.9vw,82px);font-weight:500;line-height:1.02;letter-spacing:-.068em;color:#263126;text-wrap:balance}
.consult-editorial h2 em{color:#6e8069;font:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;text-transform:none}
.consult-editorial .consult-intro>p{max-width:530px;margin:clamp(25px,3vw,38px) 0 0;color:#536050;font-size:15px;line-height:1.75}
.consult-editorial .consult-card{position:relative;z-index:1;align-self:center;width:min(100%,470px);max-width:none;margin:0;padding:clamp(26px,3vw,42px);transform:translateY(34px);opacity:0;background:rgba(255,255,255,.52);border:1px solid rgba(255,255,255,.7);border-radius:6px;box-shadow:0 20px 60px rgba(86,72,53,.15);backdrop-filter:blur(14px);transition:opacity .8s ease .32s,transform .9s cubic-bezier(.2,.7,.2,1) .32s}
.consult-editorial.is-revealed .consult-card{opacity:1;transform:none}
.consult-editorial .consult-card form{padding:0;max-width:640px}.consult-editorial .brief-contact-title{margin-bottom:28px;color:#2e382e;font-size:20px;font-weight:600;letter-spacing:-.04em}.consult-editorial .consult-card label{color:#52604f}
.consult-editorial .consult-card input:not([type=checkbox]){color:#263126;background:rgba(255,255,255,.48);border-color:rgba(83,96,80,.4)}
.consult-editorial .consult-card input::placeholder{color:#7d8779}.consult-editorial .consult-card .btn{width:100%;margin-top:28px;background:#364536;color:#fff}.consult-editorial .consult-card .btn span{font-size:18px;margin-left:8px}.consult-editorial .consult-card .consent{color:#667064}.consult-editorial .consent a{color:#3b4c3b}.consult-free{margin:17px 0 0;color:#596856;font-size:12px;line-height:1.5}
.consult-editorial .form-status{color:#3e563e;margin-top:14px}
.consult-editorial .form-success{min-height:245px;display:flex;flex-direction:column;justify-content:center}.consult-editorial .form-success>span{display:grid;place-items:center;width:42px;height:42px;margin-bottom:22px;border:1px solid #71836e;border-radius:50%;color:#486047;font-size:20px}.consult-editorial .form-success h3{margin:0 0 12px;color:#2e382e;font-size:28px;font-weight:550;letter-spacing:-.05em}.consult-editorial .form-success p{max-width:315px;margin:0;color:#5d6959;font-size:14px;line-height:1.6}

@media(max-width:900px){
  .consult-editorial{grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);min-height:680px;padding:52px var(--pad)}
  .consult-editorial .consult-card{width:min(100%,430px)}
}

@media(max-width:600px){
  .eyebrow,.factory-image-caption,.drawing-label,.catalog-footer span:last-child{font-size:10px}
  .hero-desc,.factory-copy p,.section-right p,.drawing-heading>p,.consult-editorial .consult-intro>p{font-size:var(--type-body-mobile);line-height:1.68}
  .space-gallery h2{font-size:clamp(36px,9.6vw,46px)}
  .consult-editorial{grid-template-columns:1fr;min-height:0;gap:36px;padding:64px var(--pad) 56px}
  .consult-editorial:after{background:linear-gradient(180deg,rgba(248,245,239,.88),rgba(248,245,239,.53)),url("/assets/ai-consult-background.webp") 58% center / auto 100% no-repeat}
  .consult-editorial .consult-card{width:100%;padding:24px 20px}
  .consult-editorial h2{font-size:clamp(43px,10.7vw,60px);line-height:1.02}
}

/* Closing scene: the enquiry lives inside the finished interior. */
.consult-editorial.final-kitchen-scene{grid-template-columns:minmax(0,1fr) minmax(360px,470px);align-items:center;gap:clamp(54px,8vw,150px);min-height:clamp(760px,54vw,920px);padding:clamp(72px,7vw,122px) var(--pad);background:#d5c8b7;color:#2c342b}.consult-editorial.final-kitchen-scene:after{inset:0;background:linear-gradient(90deg,rgba(249,247,241,.93) 0%,rgba(249,247,241,.76) 30%,rgba(249,247,241,.18) 60%,rgba(55,43,30,.1) 100%),url('/assets/ai-consult-background.webp') center/cover no-repeat;transform:scale(1)}.consult-editorial.final-kitchen-scene:before{display:none}.consult-editorial.final-kitchen-scene .consult-intro{align-self:center;width:min(100%,650px);padding:0;transform:none;opacity:1}.consult-editorial.final-kitchen-scene .eyebrow{display:flex;align-items:center;gap:12px;margin-bottom:28px;color:#6f7e6b;font-size:10px;letter-spacing:.14em}.consult-editorial.final-kitchen-scene .eyebrow:before{content:"";width:34px;height:1px;background:currentColor}.consult-editorial.final-kitchen-scene h2{max-width:650px;margin:0;color:#2d352c;font-size:clamp(48px,5.2vw,84px);font-weight:500;line-height:1.02;letter-spacing:-.065em;text-wrap:balance}.consult-editorial.final-kitchen-scene h2 em{display:block;color:#82917c;font-style:normal}.consult-editorial.final-kitchen-scene .consult-intro>p{max-width:415px;margin:30px 0 0;color:#586256;font-size:15px;line-height:1.7}.consult-editorial.final-kitchen-scene .consult-card{align-self:center;width:100%;padding:clamp(28px,3vw,46px);transform:none;opacity:1;background:rgba(253,252,249,.9);border:1px solid rgba(255,255,255,.8);border-radius:12px;box-shadow:0 24px 70px rgba(51,41,29,.18);backdrop-filter:blur(12px)}.consult-editorial.final-kitchen-scene .consult-card form{padding:0}.consult-editorial.final-kitchen-scene .brief-contact-title{margin-bottom:28px;color:#2d352c;font-size:clamp(24px,2vw,32px);font-weight:500;letter-spacing:-.045em}.consult-editorial.final-kitchen-scene .consult-card label:not(.consent){display:block;margin:18px 0 8px;color:#697268;font-size:11px}.consult-editorial.final-kitchen-scene .consult-card input:not([type=checkbox]){height:56px;padding:0 16px;border:1px solid rgba(92,102,88,.16);border-radius:6px;background:rgba(255,255,255,.7);color:#30392f}.consult-editorial.final-kitchen-scene .consult-card .btn{width:100%;min-height:60px;margin-top:24px;border-radius:999px;background:#303a2e;font-size:14px}.consult-editorial.final-kitchen-scene .consult-card .btn span{margin-left:auto;font-size:20px}.consult-editorial.final-kitchen-scene .consult-free{margin:17px 0 0;color:#6f796d;font-size:12px}.consult-editorial.final-kitchen-scene .consent{margin-top:18px;color:#70786e;font-size:10px;line-height:1.6}.consult-editorial.final-kitchen-scene .consent a{color:#4a5948}.consult-editorial.final-kitchen-scene.is-revealed:after{transform:scale(1.025)}
@media(max-width:900px){.consult-editorial.final-kitchen-scene{grid-template-columns:minmax(0,1fr) minmax(300px,.78fr);gap:42px;min-height:680px;padding:62px var(--pad)}.consult-editorial.final-kitchen-scene h2{font-size:clamp(43px,5.4vw,62px)}.consult-editorial.final-kitchen-scene .consult-card{padding:28px}}
@media(max-width:600px){.consult-editorial.final-kitchen-scene{grid-template-columns:1fr;gap:38px;min-height:0;padding:64px var(--pad) 56px}.consult-editorial.final-kitchen-scene:after{background:linear-gradient(180deg,rgba(249,247,241,.9),rgba(249,247,241,.58) 60%,rgba(249,247,241,.32)),url('/assets/ai-consult-background.webp') 58% center/auto 100% no-repeat}.consult-editorial.final-kitchen-scene h2{font-size:clamp(44px,11.4vw,60px)}.consult-editorial.final-kitchen-scene .consult-intro>p{font-size:14px}.consult-editorial.final-kitchen-scene .consult-card{padding:26px 20px}.consult-editorial.final-kitchen-scene .brief-contact-title{font-size:26px}}

.consult-editorial.final-kitchen-scene{grid-template-columns:minmax(0,.94fr) minmax(390px,.76fr);gap:clamp(62px,9vw,170px)}.consult-editorial.final-kitchen-scene h2{font-size:clamp(50px,5.45vw,88px);letter-spacing:-.07em}.consult-editorial.final-kitchen-scene .consult-intro>p{max-width:450px}.consult-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;max-width:650px;margin-top:clamp(42px,5vw,76px)}.consult-benefits span{min-height:92px;padding:0 19px;border-left:1px solid rgba(91,104,87,.2);color:#657061;font-size:12px;line-height:1.55}.consult-benefits span:first-child{padding-left:0;border-left:0}.consult-benefits b{display:block;margin-bottom:12px;color:#657c66;font-size:25px;font-weight:400;line-height:1}.consult-editorial.final-kitchen-scene .brief-contact-title{max-width:320px;font-size:clamp(27px,2.25vw,37px);line-height:1.08}.consult-editorial.final-kitchen-scene .consult-card label:not(.consent){display:none}.consult-editorial.final-kitchen-scene .consult-card input:not([type=checkbox]){margin-top:14px;height:63px;padding:0 20px;background:rgba(255,255,255,.68)}.consult-editorial.final-kitchen-scene .consult-card .btn{min-height:66px;margin-top:20px}.consult-editorial.final-kitchen-scene .consult-free{display:none}.consult-editorial.final-kitchen-scene .consent{margin-top:22px}
@media(max-width:900px){.consult-benefits{margin-top:38px}.consult-benefits span{font-size:11px;padding:0 12px}.consult-editorial.final-kitchen-scene{grid-template-columns:minmax(0,1fr) minmax(320px,.72fr);gap:42px}}
@media(max-width:600px){.consult-editorial.final-kitchen-scene{grid-template-columns:1fr}.consult-benefits{margin-top:34px;max-width:440px}.consult-benefits span{min-height:75px;padding:0 10px;font-size:10px}.consult-benefits b{font-size:20px;margin-bottom:8px}}
.consult-editorial.final-kitchen-scene:after{background:linear-gradient(90deg,rgba(250,248,242,.14),rgba(250,248,242,.03) 52%,rgba(44,35,25,.08)),url('/assets/ai-consult-background.webp') center/cover no-repeat}
.consult-editorial.final-kitchen-scene:after{background:url('/assets/final-kitchen-negative-space-v1.webp') center/cover no-repeat}
@media(max-width:600px){.consult-editorial.final-kitchen-scene:after{background:linear-gradient(180deg,rgba(249,247,241,.55),rgba(249,247,241,.16)),url('/assets/final-kitchen-negative-space-v1-900.webp') 58% center/auto 100% no-repeat}}

/* Hero: quiet architectural stage around the original full kitchen sequence. */
#hero .hero-sticky{background:radial-gradient(ellipse 56% 66% at 76% 54%,#e8e7df 0%,#f3f2ed 57%,#faf9f6 100%)}#hero .hero-visual:before{content:"";position:absolute;z-index:0;right:-5%;bottom:8%;width:68%;height:63%;border-radius:48% 52% 0 0 / 36% 44% 0 0;background:linear-gradient(144deg,rgba(234,231,222,.8),rgba(251,250,247,.08));pointer-events:none}#hero #hero-model-slot{z-index:1;top:15%;right:-1%;width:70%;height:78%}#hero .hero-stage-one{top:clamp(185px,22vh,272px);width:min(48%,710px)}#hero .hero-stage-one:before{content:"ИНДИВИДУАЛЬНАЯ  МЕБЕЛЬ  НА  ЗАКАЗ";display:flex;align-items:center;gap:12px;margin-bottom:34px;color:#788276;font-size:10px;font-weight:600;letter-spacing:.35em;line-height:1}#hero .hero-stage-one:before{border-right:38px solid #c9bcaa;padding-right:20px;width:max-content}#hero .hero-copy h1{max-width:660px;margin:0;color:#242925;font-size:clamp(58px,5.3vw,92px);font-weight:550;letter-spacing:-.078em;line-height:1.06}#hero .hero-desc{max-width:390px;margin-top:36px;color:#6d746c;font-size:15px;line-height:1.65}#hero .hero-actions{margin-top:32px;gap:32px}#hero .hero-actions .btn{min-width:275px;border-radius:999px;background:#354234;font-size:13px}#hero .hero-actions .btn-icon{display:grid;place-items:center;width:38px;height:38px;margin:-8px -8px -8px 18px;border-radius:50%;background:rgba(255,255,255,.13)}#hero .ghost-link{font-size:13px;color:#657063;border-bottom:1px solid #9fa89c;padding-bottom:7px}#hero .hero-footer{bottom:42px;gap:clamp(28px,3.8vw,72px)}#hero .hero-foot-item{font-size:13px;color:#6d756c}#hero .hero-foot-item span:first-child{width:47px;height:47px;border-color:#c7d0c3;color:#72866f}#hero .hero-progress{bottom:43px;left:var(--pad);right:auto;gap:14px;color:#7e897a;font-size:10px}#hero .hero-progress i{width:70px;background:#cbd0c8}#hero .hero-visual:after{content:"ПРОДУМАННАЯ  МЕБЕЛЬ\A ДЛЯ  НАСТОЯЩЕЙ  ЖИЗНИ";white-space:pre-line;position:absolute;z-index:2;right:clamp(38px,5vw,96px);top:clamp(84px,11vw,180px);color:#889184;font-size:10px;font-weight:600;letter-spacing:.34em;line-height:1.7;text-align:right;pointer-events:none}
@media(max-width:900px){#hero #hero-model-slot{top:22%;right:-17%;width:90%;height:72%}#hero .hero-stage-one{top:20%;width:58%}#hero .hero-copy h1{font-size:clamp(48px,6.2vw,68px)}#hero .hero-footer{bottom:30px}#hero .hero-visual:after{display:none}}
@media(max-width:600px){#hero .hero-stage-one{top:15%;width:calc(100% - 2 * var(--pad))}#hero .hero-stage-one:before{margin-bottom:19px;font-size:8px;letter-spacing:.22em;border-right-width:22px;padding-right:12px}#hero .hero-copy h1{font-size:clamp(42px,10.4vw,56px)}#hero .hero-desc{margin-top:20px;font-size:13px}#hero .hero-actions{margin-top:24px;gap:18px}#hero .hero-actions .btn{min-width:0;padding:14px 17px;font-size:11px}#hero .ghost-link{font-size:11px}#hero #hero-model-slot{top:40%;right:-17%;width:117%;height:55%}#hero .hero-footer{bottom:21px;gap:15px}#hero .hero-foot-item{font-size:9px}#hero .hero-foot-item span:first-child{width:34px;height:34px;font-size:16px}#hero .hero-progress{display:none}}

/* v4 frames are native 16:9: preserve that ratio and keep the whole kitchen in frame. */
#hero #hero-model-slot{top:22%;right:3%;width:min(59vw,1080px);height:auto}#hero #hero-model-slot picture,#hero #hero-model-slot canvas{aspect-ratio:16/9;height:auto}#hero .hero-copy h1{font-size:clamp(54px,4.8vw,82px)}
@media(max-width:900px){#hero #hero-model-slot{top:27%;right:-3%;width:min(72vw,760px)}}
@media(max-width:600px){#hero #hero-model-slot{top:44%;right:-4%;width:108%;height:auto}#hero #hero-model-slot picture,#hero #hero-model-slot canvas{aspect-ratio:16/9}}

/* Restore the original high-resolution kitchen framing. */
#hero .hero-visual:before,#hero .hero-visual:after{display:none}#hero #hero-model-slot{top:17%;right:-1%;width:67%;height:75%;aspect-ratio:auto}#hero #hero-model-slot picture,#hero #hero-model-slot canvas{aspect-ratio:4/3;height:auto}#hero .hero-stage-one{top:clamp(175px,23vh,285px);width:min(58%,775px)}#hero .hero-stage-one:before{display:none}#hero .hero-copy h1{max-width:none;font-size:clamp(51px,4.8vw,84px);letter-spacing:-.035em;line-height:1.1}#hero .hero-desc{margin-top:0;font-size:14px;line-height:1.82}#hero .hero-actions{margin-top:34px}#hero .hero-actions .btn{min-width:0;border-radius:0;background:#303e29}#hero .hero-actions .btn-icon{display:inline;width:auto;height:auto;margin:0;background:none}#hero .hero-footer{bottom:30px;gap:clamp(22px,3.5vw,60px)}#hero .hero-foot-item{font-size:13px}#hero .hero-foot-item span:first-child{width:44px;height:44px}#hero .hero-progress{bottom:32px;left:auto;right:var(--pad)}
@media(max-width:900px){#hero #hero-model-slot{top:34%;right:-13%;width:95%;height:64%}#hero .hero-stage-one{top:20%;width:70%}}
@media(max-width:600px){#hero #hero-model-slot{top:48%;right:-10%;width:120%;height:43%}#hero .hero-stage-one{top:17%;width:calc(100% - 2 * var(--pad))}#hero .hero-copy h1{font-size:clamp(38px,10vw,54px)}}
#hero .hero-floor{display:none!important}
#hero .hero-floor{visibility:hidden!important;opacity:0!important;background:none!important}#hero #hero-model-slot:before,#hero #hero-model-slot:after,#hero #hero-model-slot picture:before,#hero #hero-model-slot picture:after{content:none!important;display:none!important;background:none!important}
/* Final scene: the enquiry card occupies the quiet left wall, without a text block. */
.consult-editorial.final-kitchen-scene {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
}

.consult-editorial.final-kitchen-scene .consult-intro {
  display: none !important;
}

.consult-editorial.final-kitchen-scene .consult-card {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: center;
  width: min(100%, 500px);
  margin-left: clamp(42px, 7vw, 118px);
  padding: clamp(38px, 3.6vw, 52px) clamp(28px, 3vw, 42px);
  transform: translateY(-18px);
  background: transparent;
  border: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.consult-editorial.final-kitchen-scene .consult-card input {
  background: #fff !important;
  opacity: 1;
}

.consult-editorial.final-kitchen-scene .brief-contact-title {
  font-size: clamp(30px, 2.55vw, 42px);
  line-height: 1.08;
}


@media (max-width: 600px) {
  .consult-editorial.final-kitchen-scene {
    grid-template-columns: minmax(0, 1fr);
  }

  .consult-editorial.final-kitchen-scene .consult-card {
    width: 100%;
    margin-left: 0;
    transform: none;
    padding: 26px 22px;
  }
}
