@font-face{
  font-family:'Drevo Sans';
  src:url('../fonts/DrevoSans.ttf') format('truetype');
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
}

:root{
  --cream:#FCF9EF;
  --sand:#F4F1E9;
  --dark:#2C241B;
  --green:#8BAA42;
  --green-dark:#7A9739;
  --circle:#EAE5D7;
  --line:rgba(44,36,27,.15);
  --line-strong:rgba(44,36,27,.30);
  --muted:rgba(44,36,27,.62);
  --star:#F5A623;
  --r:16px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{
  background:var(--cream);
  color:var(--dark);
  font-family:'Drevo Sans','Noto Sans','Helvetica Neue',Arial,sans-serif;
  font-size:16px;line-height:1.45;
  font-feature-settings:'kern' 1,'liga' 1;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit;color:inherit}
button{cursor:pointer;border:0;background:none}

.wrap{width:1160px;margin:0 auto}
.wide{width:1600px;margin:0 auto}

/* ---------- typography ---------- */
strong,b{font-weight:600}
.h1{font-size:64px;line-height:1.06;font-weight:600;letter-spacing:-.01em;text-transform:uppercase}
.h2{font-size:48px;line-height:1.08;font-weight:600;letter-spacing:-.01em;text-transform:uppercase}
.h3{font-size:32px;line-height:1.15;font-weight:600}
.h4{font-size:20px;line-height:1.3;font-weight:600}
.lead{font-size:16px;line-height:1.5;color:var(--muted)}
.small{font-size:14px;line-height:1.45}
.tiny{font-size:12px;line-height:1.4}

.badge{
  display:inline-flex;align-items:center;height:34px;padding:0 20px;
  background:var(--green);color:var(--cream);
  border-radius:17px;font-size:14px;font-weight:500;
}
.sec-head{margin-bottom:40px}
.sec-head .h2{margin-top:26px}
.sec-head .lead{margin-top:14px}
.sec-head.center{text-align:center}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:12px;
  height:60px;padding:0 32px;border-radius:30px;
  font-size:16px;font-weight:600;white-space:nowrap;
  transition:background .18s,color .18s,border-color .18s,transform .12s;
}
.btn:active{transform:translateY(1px)}
.btn-green{background:var(--green);color:#fff}
.btn-green:hover{background:var(--green-dark)}
.btn-ghost{border:1px solid var(--line-strong);color:var(--dark);background:transparent}
.btn-ghost:hover{background:rgba(44,36,27,.06)}
.btn-ghost-light{border:1px solid rgba(255,255,255,.75);color:#fff;background:transparent}
.btn-ghost-light:hover{background:rgba(255,255,255,.16)}
.btn-sm{height:42px;padding:0 22px;border-radius:21px;font-size:14px}
.btn-arrow{width:25px}
.btn i{display:inline-block;width:25px;height:8px;flex:none;background:url(../icons/arrow-right.svg) center/contain no-repeat}
.btn-green i{background-image:url(../icons/arrow-right-white.svg)}

/* ---------- header ---------- */
.hdr-top{height:90px;display:flex;align-items:center}
.hdr-top .wrap{display:flex;align-items:center;width:1160px}
.logo{display:flex;align-items:center;gap:18px}
.logo img{height:60px;width:auto}
.hdr-spacer{flex:1}
.socials{display:flex;align-items:center;gap:15px}
.socials a{width:32px;height:32px;display:block;transition:opacity .15s}
.socials a:hover{opacity:.7}
.socials img{width:32px;height:32px}
.hdr-phone{display:flex;align-items:center;gap:15px;margin-left:34px}
.hdr-phone img{width:33px;height:32px}
.hdr-phone span{font-size:20px;font-weight:500;white-space:nowrap}
.hdr-cta{margin-left:25px;width:200px;height:54px;border-radius:27px;font-size:16px}
.hdr-nav{border-top:1px solid var(--line);border-bottom:1px solid var(--line);height:65px}
.hdr-nav .wrap{display:flex;align-items:center;justify-content:space-between;height:65px}
.hdr-nav a{font-size:16px;transition:color .15s}
.hdr-nav a:hover{color:var(--green)}
.burger{display:none}

/* ---------- hero ---------- */
.hero{padding:0}
.hero-card{
  position:relative;height:745px;border-radius:24px;overflow:hidden;
  background:#D9D9D9 url(../img/hero-bg.jpg) no-repeat;
  background-size:124.94% auto;background-position:100% 74.7%;
}
.hero-card::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(30,24,17,.62) 0%,rgba(30,24,17,.38) 45%,rgba(30,24,17,.18) 100%)}
.hero-inner{position:relative;z-index:2;padding:118px 0 0 220px;color:#fff}
.hero-inner .h1{color:#fff;max-width:760px}
.hero-price{margin-top:31px;font-size:32px;font-weight:400}
.hero-btns{margin-top:60px;display:flex;flex-direction:column;align-items:flex-start;gap:22px}
.hero-btns .btn{width:260px;padding:0}
.hero-feats{position:absolute;left:220px;bottom:60px;z-index:2;display:flex;gap:0;color:#fff}
.hero-feat{width:402px;display:flex;align-items:flex-start;gap:10px}
.hero-feat img{width:32px;height:32px;flex:none}
.hero-feat p{font-size:15px;line-height:1.35;font-weight:400;color:#fff;padding-top:1px}

/* ---------- sections ---------- */
section{padding:60px 0}
#calc{padding-bottom:142px}
/* precise vertical alignment to the Figma mock (1920) */
#catalog{padding-top:2px}
#options{padding-top:35px}
#why{padding-top:55px}
#reviews{padding-top:55px}
#delivery{padding-top:55px}
#gallery{padding-top:54px}
#faq{padding-top:55px;padding-bottom:40px}
.sec-sand{background:var(--sand)}

/* ---------- calculator ---------- */
.calc-bar{display:flex;gap:16px;margin:34px 0 30px}
.calc-bar span{flex:1;height:6px;border-radius:3px;background:rgba(139,170,66,.28)}
.calc-bar span.on{background:var(--green)}
.calc-q{font-size:16px;font-weight:600;margin-bottom:18px}
.chips{display:grid;grid-template-columns:repeat(4,260px);gap:15px 40px;justify-content:start}
.chip br{display:none}
.chip{
  width:260px;height:60px;border-radius:30px;background:var(--sand);
  border:1px solid var(--line);display:flex;align-items:center;justify-content:center;
  font-size:16px;transition:.15s;
}
.sec-sand .chip{background:var(--cream)}
.chip:hover{border-color:var(--green)}
.chip.on{border-color:var(--green);background:rgba(139,170,66,.14)}
.calc-nav{margin-top:40px;display:flex;gap:20px}
.calc-nav .btn{width:260px;padding:0}
.wood{display:flex;gap:20px}
.wood-opt{
  width:373px;height:135px;border-radius:16px;overflow:hidden;
  border:1px solid var(--line);display:flex;align-items:center;background:var(--sand);
  transition:.15s;
}
.sec-sand .wood-opt{background:var(--cream)}
.wood-opt:hover,.wood-opt.on{border-color:var(--green)}
.wood-opt img{width:200px;height:135px;object-fit:cover}
.wood-opt span{flex:1;text-align:center;font-size:16px}

/* ---------- calculator result (стр. 6 макета) ---------- */
.res-grid{display:grid;grid-template-columns:560px 560px;gap:40px;margin-top:20px;align-items:start}
.res-price{width:560px;height:147px;border:2px solid var(--green);border-radius:16px;background:var(--sand);padding:20px}
.res-price-lbl{font-size:16px;color:var(--dark)}
.res-price-val{font-size:40px;font-weight:600;color:var(--green);margin:6px 0 8px;letter-spacing:.5px}
.res-price-sub{font-size:16px;color:var(--dark)}
.res-note{margin-top:20px;font-size:16px;line-height:1.5;color:var(--dark)}
.res-links{margin-top:26px;display:flex;flex-direction:column;gap:16px}
.res-li{display:flex;align-items:center;gap:16px;color:var(--dark);font-size:16px}
.res-li img{width:32px;height:32px;flex:none}
.res-li-phone span{font-size:20px;font-weight:600}
.res-back{width:262px;height:62px;padding:0;gap:14px;margin-top:76px;border-radius:31px;font-size:16px;font-weight:600}
.res-back img{width:25px;height:9px;flex:none}
.ico-back{width:22px;height:10px;background:var(--dark);display:inline-block;
  -webkit-mask:url(../icons/arrow-right.svg) center/contain no-repeat;
  mask:url(../icons/arrow-right.svg) center/contain no-repeat;transform:rotate(180deg)}
.res-form{width:560px;height:499px;border:1px solid var(--line);border-radius:16px;background:var(--sand);
  padding:40px;text-align:center}
.res-form-ttl{display:block;font-size:32px;font-weight:600;margin-bottom:12px}
.res-form-sub{font-size:16px;color:var(--dark);margin-bottom:16px}
.res-form .res-field{width:480px;height:49px;margin-bottom:20px;background:var(--cream);text-align:left}
.res-select{position:relative;width:480px;margin:0 auto}
.res-select select{width:480px;appearance:none;cursor:pointer;color:var(--dark)}
.res-select .chev{position:absolute;right:22px;top:21px;pointer-events:none}
.res-cbx{justify-content:flex-start;width:480px;margin:2px auto 11px;align-items:center;font-size:14px;text-align:left}
.res-cbx input{width:22px;height:22px;border-radius:6px}
.res-cbx span{color:var(--dark);font-size:14px}
.res-send{width:360px;height:60px;padding:0;border-radius:30px}

/* ---------- catalog ---------- */
.cat-filters{display:flex;align-items:center;gap:40px;margin-bottom:38px}
.select{
  height:60px;border:1px solid var(--line);border-radius:30px;background:var(--cream);
  display:flex;align-items:center;gap:14px;padding:0 26px;position:relative;
}
/* фикс: подпись «Цена, ₽» не переносится на вторую строку, поля чуть компактнее */
.select-price .select-lbl{white-space:nowrap;flex:none}
.pill-input{width:104px;min-width:0;flex:none;padding:0 12px;text-align:center}
.select-lbl{font-size:16px}
.pill{height:34px;padding:0 16px;border-radius:17px;background:var(--sand);border:1px solid var(--line);
  display:inline-flex;align-items:center;font-size:14px;cursor:pointer;transition:.15s}
.pill:hover{border-color:var(--green)}
.pill.on{background:rgba(139,170,66,.16);border-color:var(--green)}
.chev{width:15px;height:9px;flex:none;display:inline-block;
  background:url(../icons/chevron.svg) center/contain no-repeat;transition:transform .2s}
.clear{display:flex;align-items:center;gap:12px;font-size:16px;color:var(--muted)}
.clear .x{width:11px;height:11px;flex:none;display:inline-block;background:url(../icons/close-x.svg) center/contain no-repeat}

.cards{display:grid;grid-template-columns:repeat(3,360px);gap:40px}
.card{border:1px solid var(--line);border-radius:16px;background:var(--cream);overflow:hidden;display:flex;flex-direction:column}
.card-img{height:360px;background:#D9D9D9;position:relative}
.card-img img{width:100%;height:100%;object-fit:cover}
.swatches{position:absolute;left:20px;bottom:20px;display:flex;gap:8px}
.swatches i{width:20px;height:20px;border-radius:50%;border:2px solid rgba(255,255,255,.9);display:block}
.card-body{padding:20px;display:flex;flex-direction:column;flex:1}
.card-body .h4{margin-bottom:8px}
.card-wood{font-size:14px;color:var(--muted);margin-bottom:14px}
.card-desc{font-size:16px;line-height:1.45;color:var(--dark);margin-bottom:24px}
.specs{display:flex;gap:10px;margin-bottom:22px}
.spec{height:29px;padding:0 10px;border-radius:15px;background:var(--sand);border:1px solid var(--line);
  display:inline-flex;align-items:center;gap:8px;font-size:13px;white-space:nowrap}
.spec img{width:13px;height:13px}
.card-price{font-size:24px;font-weight:600;margin-bottom:22px}
.card-btns{margin-top:auto;display:flex;gap:20px}
.card-btns .btn{flex:1;padding:0}

/* ---------- options accordion ---------- */
.acc-grid{display:grid;grid-template-columns:repeat(2,560px);gap:40px 40px}
.acc{border:1px solid var(--line);border-radius:16px;background:var(--sand);overflow:hidden}
.sec-sand .acc{background:var(--cream)}
.acc-head{width:100%;height:78px;display:flex;align-items:center;gap:20px;padding:0 21px;text-align:left}
.acc-head img.oi{width:40px;height:40px}
.acc-title{font-size:16px;font-weight:600;flex:1}
.acc-count{font-size:16px;font-weight:600;color:var(--green);margin-right:14px}
.acc-body{display:none;padding:0 20px 19px}
.acc.open .acc-body{display:block}
.acc.open .chev{transform:rotate(180deg)}
.acc-body ul{list-style:none}
.acc-body li{display:grid;grid-template-columns:61px 1fr;align-items:center;
  min-height:59px;font-size:16px;border-top:1px solid var(--line)}
.acc-body li img{width:18px;height:14px;margin-left:11px}
.acc--static .acc-head{cursor:default}
.acc--static .chev{opacity:.55}

/* ---------- why us ---------- */
.why{display:grid;grid-template-columns:repeat(3,360px);gap:40px}
.why-c{border:1px solid var(--line);border-radius:16px;background:var(--cream);height:auto;min-height:271px;
  display:flex;flex-direction:column;align-items:center;text-align:center;padding:20px 20px 24px}
.why-ic{width:100px;height:100px;border-radius:50%;background:none;display:flex;align-items:center;justify-content:center;margin-bottom:24px}
.why-ic img{width:100px;height:100px}
.why-c b{font-size:20px;font-weight:600;display:block;margin-bottom:8px}
.why-c p{font-size:16px;color:var(--dark);line-height:19px;max-width:300px;margin:0 auto}

/* ---------- benefits ---------- */
.ben-card{
  position:relative;height:745px;border-radius:24px;overflow:hidden;
  background:#D9D9D9 url(../img/benefits-bg.jpg) no-repeat;
  background-size:2128px 1116px;background-position:0px -167px;
}
.ben-card::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(30,24,17,.66) 0%,rgba(30,24,17,.42) 50%,rgba(30,24,17,.2) 100%)}
.ben-inner{position:relative;z-index:2;padding:75px 0 0 220px;color:#fff;max-width:900px}
.ben-inner .h1{color:#fff}
.ben-list{margin-top:32px;display:flex;flex-direction:column;gap:40px}
.ben-i{display:flex;align-items:flex-start;gap:20px}
.ben-i img{width:30px;height:30px;margin-top:4px;flex:none}
.ben-i b{font-size:20px;font-weight:700;display:block;line-height:29px}
.ben-i span{display:block;max-width:310px;font-size:16px;line-height:19px;color:rgba(255,255,255,.92);margin-top:5px}

/* ---------- reviews ---------- */
.rev{display:grid;grid-template-columns:repeat(3,360px);gap:40px}
.rev-c{border:1px solid var(--line);border-radius:16px;background:var(--cream);padding:20px;display:flex;flex-direction:column;height:280px}
.rev-c.open{height:auto}
.rev-top{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.ava{width:44px;height:44px;border-radius:50%;background:var(--green);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:16px}
.rev-top b{font-size:16px;font-weight:600;display:block}
.rev-top span{font-size:13px;color:var(--muted)}
.stars{height:22px;margin-bottom:14px}
.rev-txt{font-size:15px;line-height:1.5;color:var(--dark);max-height:110px;overflow:hidden;transition:max-height .25s}
.rev-c.open .rev-txt{max-height:1000px}
.rev-more{margin-top:14px;font-size:14px;color:var(--green);align-self:flex-start}
.rev-btn{display:flex;justify-content:center;margin-top:40px}
.rev-btn .btn{width:360px;padding:0}

/* ---------- delivery ---------- */
.dl-grid{display:grid;grid-template-columns:repeat(2,560px);gap:40px}
.dl-c{border:1px solid var(--line);border-radius:16px;background:var(--cream);padding:30px 30px 40px;height:auto;min-height:285px}
.dl-c .h3{font-size:32px;margin-bottom:26px}
.dl-h{display:flex;align-items:center;gap:29px;font-weight:600;line-height:1}
.dl-h img{width:40px;height:36px;flex:none;object-fit:contain}
.dl-li{display:flex;gap:20px;align-items:flex-start;padding:9px 0;font-size:16px}
.dl-li img{width:23px;height:17px;margin-top:5px;flex:none}
.ins-acc{margin-top:40px;background:var(--cream)}
.sec-sand .ins-acc{background:var(--cream)}
.ins-head{height:86px;padding:0 30px;justify-content:space-between}
.ins-ttl{font-size:24px;font-weight:600;line-height:29px;flex:1}
.ins-body{padding:0 30px 34px}
.ins-lead{font-size:16px;line-height:19px;margin:0}
.ins-list{list-style:none;margin:20px 0 0;padding:0;display:flex;flex-direction:column;gap:18px}
.ins-list li{position:relative;padding-left:26px;font-size:16px;line-height:19px}
.ins-list li::before{content:'';position:absolute;left:0;top:5px;width:9px;height:9px;border-radius:50%;background:var(--green)}
.ins-note{font-size:16px;line-height:19px;margin:24px 0 0}
.ins-out{font-size:16px;line-height:19px;margin:24px 0 0}
.map-card{margin-top:40px;border:1px solid var(--line);border-radius:16px;background:var(--cream);
  height:368px;display:flex;overflow:hidden}
.map-left{width:600px;padding:90px 0 0 30px}
.map-ttl{display:flex;align-items:center;gap:30px;margin-bottom:22px}
.map-ttl img{width:30px;height:40px}
.map-ttl b{font-size:24px;font-weight:600}
.map-left p{font-size:16px;line-height:1.55;max-width:480px}
.map-right{flex:1;background:#D9D9D9}
.map-right img{width:100%;height:100%;object-fit:cover}

/* ---------- gallery ---------- */
.gal{display:grid;grid-template-columns:repeat(4,260px);gap:40px}
.gal img{width:260px;height:260px;object-fit:cover;border-radius:16px}

/* ---------- faq ---------- */
.faq .acc{background:var(--cream);margin-bottom:20px}
.faq .acc-head{height:78px;padding:0 30px;justify-content:space-between}
.faq .acc-title{font-size:16px;font-weight:600}
.faq .acc-body{padding:0 30px 26px}
.faq .acc-body p{font-size:16px;line-height:1.55;color:var(--dark);padding-top:4px}

/* ---------- contacts ---------- */
.cn-card{
  position:relative;height:745px;border-radius:24px;overflow:hidden;
  background:#D9D9D9 url(../img/contacts-bg.jpg) no-repeat;
  background-size:1869px 2492px;background-position:-197px -763px;
}
.cn-card::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(30,24,17,.7) 0%,rgba(30,24,17,.45) 55%,rgba(30,24,17,.3) 100%)}
.cn-inner{position:relative;z-index:2;height:100%;padding:88px 220px 0 220px;display:flex;justify-content:space-between;color:#fff}
.cn-left{margin-top:50px}
.cn-left .h1{color:#fff;margin:26px 0 0}
.cn-lead{margin-top:22px;max-width:370px;font-size:16px;line-height:19px;color:rgba(255,255,255,.92)}
.cn-list{margin-top:50px;display:flex;flex-direction:column;gap:20px}
.cn-li{display:flex;align-items:center;gap:20px;font-size:16px;height:32px}
.cn-li:first-child{font-size:20px;font-weight:700}
.cn-li img{width:32px;height:32px;flex:none}
.cn-form{width:560px;background:var(--cream);color:var(--dark);border:1px solid var(--line);border-radius:16px;padding:57px 40px 32px;align-self:flex-start;margin-top:-7px}
.cn-form b{font-size:20px;font-weight:600;display:block;margin-bottom:22px}
.field{width:480px;height:51px;border:1px solid var(--line);border-radius:26px;background:var(--sand);
  padding:0 22px;font-size:16px;margin-bottom:18px;outline:none;transition:border-color .15s}
.field::placeholder{color:var(--muted)}
.field:focus{border-color:var(--green)}
.cbx{display:flex;gap:14px;align-items:flex-start;font-size:13px;color:var(--muted);margin:8px 0 20px;cursor:pointer}
.cbx input{appearance:none;width:26px;height:26px;border:1px solid var(--line-strong);border-radius:7px;flex:none;background:var(--cream);cursor:pointer}
.cbx input:checked{background:var(--green) url(../icons/check.svg) center/14px no-repeat;border-color:var(--green)}
.cn-form .btn{width:360px;padding:0}

.map-addr{font-weight:600;color:var(--dark);max-width:480px;line-height:19px}

.cn-select{position:relative;width:480px}
.cn-select select{width:480px;appearance:none;cursor:pointer;color:var(--dark);font-size:16px}
.cn-select .chev{position:absolute;right:22px;top:21px;pointer-events:none}

/* ---------- footer ---------- */
footer{background:var(--dark);color:var(--cream);padding:60px 0}
.ft{display:flex;justify-content:space-between}
.ft-logo img{height:60px}
.ft-logo p{margin-top:16px;font-size:14px;color:rgba(252,249,239,.65)}
.ft-col{display:flex;flex-direction:column;gap:14px;font-size:16px}
.ft-col a{color:rgba(252,249,239,.85)}
.ft-col a:hover{color:#fff}
.ft-right{text-align:left}
.ft-phone{display:flex;align-items:center;gap:14px}
.ft-phone img{width:33px;height:32px}
.ft-phone span{font-size:24px;font-weight:600}
.ft-addr{margin-top:18px;font-size:14px;color:rgba(252,249,239,.65);max-width:235px;line-height:1.55}
.ft-soc{margin-top:22px;display:flex;gap:20px}
.ft-soc a{width:32px;height:32px;display:block}
.ft-soc a:hover{opacity:.85}
.ft-soc img{width:32px;height:32px}

/* ---------- modal ---------- */
.ov{position:fixed;inset:0;background:rgba(20,16,11,.55);display:none;align-items:center;justify-content:center;z-index:80;padding:20px}
.ov.on{display:flex}
.modal{background:var(--cream);border-radius:20px;width:560px;height:430px;padding:40px;position:relative;text-align:center}
.m-ttl{font-size:32px;font-weight:600;line-height:1;margin-top:7px}
.m-sub{font-size:16px;color:var(--dark);margin-top:22px}
.modal .m-field{width:480px;height:49px;background:var(--sand);text-align:left;margin:0}
.modal .m-field:first-of-type{margin-top:14px}
.modal .m-field+.m-field{margin-top:20px}
.m-cbx{width:480px;margin:19px auto 0;align-items:center;justify-content:flex-start;text-align:left}
.m-cbx input{width:26px;height:26px;border-radius:7px}
.m-cbx span{font-size:14px;color:var(--dark)}
.modal .m-send{width:360px;height:60px;padding:0;border-radius:30px;margin-top:19px}
.m-close{position:absolute;right:24px;top:24px;width:14px;height:14px;background:var(--dark);
  -webkit-mask:url(../icons/close-x.svg) center/contain no-repeat;
  mask:url(../icons/close-x.svg) center/contain no-repeat}

/* =========================================================
   MOBILE  (design 320px)
   ========================================================= */
@media (max-width:1024px){
  .wrap,.wide{width:auto;margin:0;padding:0 20px}
  section{padding:40px 0}

  .h1{font-size:32px}
  .h2{font-size:28px}
  .h3{font-size:22px}
  .h4{font-size:18px}

  .hdr-top{height:64px}
  .hdr-top .wrap{width:auto}
  .logo img{height:40px}
  .socials,.hdr-phone,.hdr-cta{display:none}
  .burger{display:flex;flex-direction:column;justify-content:center;gap:5px;width:28px;height:28px;margin-left:auto}
  .burger i{display:block;height:2px;background:var(--dark);border-radius:1px}
  .hdr-nav{display:none}
  .hdr-nav.on{display:block;height:auto;padding:12px 0}
  .hdr-nav .wrap{flex-direction:column;align-items:flex-start;gap:14px;height:auto}

  .hero-card{height:auto;border-radius:16px;background-size:cover;background-position:60% 50%}
  .hero-inner{padding:36px 20px 0}
  .hero-price{font-size:22px;margin-top:16px}
  .hero-btns{flex-direction:column;gap:12px;margin-top:26px}
  .hero-btns .btn{width:100%;height:52px}
  .hero-feats{position:static;display:flex;flex-direction:column;gap:18px;padding:34px 20px 36px;left:auto;bottom:auto}

  .calc-bar{gap:20px;margin:36px 0 0}
  .chips{grid-template-columns:repeat(2,140px);gap:15px 20px;justify-content:start;margin-top:20px}
  .chip{width:calc(50% - 6px);height:48px;font-size:14px}
  .calc-nav{flex-direction:column;gap:12px}
  .calc-nav .btn{width:100%;height:52px}
  .wood{flex-direction:column;gap:12px}
  .wood-opt{width:100%;height:96px}
  .wood-opt img{width:140px;height:96px}

  .cat-filters{gap:12px}
  .cards,.why,.rev,.dl-grid,.acc-grid{grid-template-columns:1fr;gap:20px}
  .card-img{height:280px}
  .card-btns{flex-direction:column}
  .card-btns .btn{width:100%}
  .specs{flex-wrap:wrap;gap:8px}

  .ben-card{height:auto;border-radius:16px;background-size:cover;background-position:50% 50%}
  .ben-inner{padding:36px 20px 40px;max-width:none}
  .ben-list{margin-top:34px;gap:22px}

  .map-card{flex-direction:column;height:auto}
  .map-left{width:auto;padding:26px 20px}
  .map-right{height:240px}
  .gal{grid-template-columns:repeat(2,1fr);gap:12px}
  .gal img{width:100%;height:150px}

  .cn-card{height:auto;border-radius:16px;background-size:cover;background-position:50% 40%}
  .cn-inner{flex-direction:column;padding:36px 20px 40px}
  .cn-list{margin-top:30px}
  .cn-li{font-size:16px}
  .cn-form{width:100%;margin-top:30px;padding:24px 20px}
  .field{width:100%}
  .cn-form .btn{width:100%}

  .ft{flex-direction:column;gap:30px}
  .modal{width:100%;padding:24px 20px 28px}
  .rev-btn .btn{width:100%}
}

/* ---------- fit desktop mock (1920) into narrower windows ---------- */
html{overflow-x:hidden}
body{overflow-x:clip}
/* fallback for browsers without CSS zoom support */
html.fluid .wide{width:auto;max-width:1600px;margin:0 20px;}
html.fluid .wrap{width:auto;max-width:1160px;margin:0 auto;padding:0 20px}
html.fluid .hdr-top .wrap{width:auto}
html.fluid .cn-form{max-width:100%}
html.fluid .map-left{max-width:50%}

/* ---------- mobile 320 (макет стр. 13) ---------- */
@media (max-width:560px){
  html{background:var(--cream)}
  body{width:320px;margin:0 auto;overflow-x:hidden}
  .hdr-top{height:80px}
  .hdr-top .wrap{width:100%}
  .hdr-top .wrap{padding:0 8.5px}
  .logo img{height:44.5px}
  .burger{width:40px;height:30px;gap:7.5px}
  .burger i{height:5px;border-radius:2.5px;width:100%}

  .hero .wide{padding:0}
  .hero-card{position:relative;height:auto;border-radius:0;background-color:var(--dark);background-size:691px 386px;background-position:-341.5px 0;background-repeat:no-repeat}
  .hero-card::after{height:385px;inset:0 0 auto 0;background:linear-gradient(180deg,rgba(44,36,27,.42) 0%,rgba(44,36,27,0) 100%) top left/100% 192px no-repeat,linear-gradient(180deg,rgba(44,36,27,0) 0%,#2C241B 100%) bottom left/100% 131px no-repeat}
  .hero-inner{height:385px;box-sizing:border-box;padding:22px 20px 0;text-align:center}
  .hero-inner .h1{font-size:29px;line-height:34px;margin:0 auto;max-width:none}
  .hero-price{margin-top:17px;font-size:16px;font-weight:400}
  .hero-btns{position:absolute;left:0;right:0;top:327px;margin:0;align-items:center;gap:14px;z-index:3}
  .hero-btns .btn{width:220px;height:40px;font-size:13px}
  .hero-btns .btn-ghost-light{width:222px;height:42px}
  .hero-feats{position:relative;z-index:1;background:var(--dark);margin:0;padding:79px 10px 19px;display:flex;flex-direction:column;gap:15px}
  .hero-feat{width:auto;gap:20px;align-items:flex-start}
  .hero-feat img{width:32px;height:32px}
  .hero-feat p{font-size:14px;line-height:19px;color:#fff}
  .wrap,.wide{padding:0 10px}
  section{padding:40px 0}
  #calc{padding-bottom:40px}
  #catalog{padding-top:17px}
  .sec-head{margin-bottom:-20px}
  .h2{font-size:24px;line-height:29px}
  .lead{font-size:14px;line-height:19px}
  .badge{height:34px;font-size:12px}
  .calc-bar{gap:20px;margin:36px 0 0}
  .calc-bar span{height:10px;border-radius:5px}
  .calc-q{font-size:16px;font-weight:600;margin:14px 0 0}
  .chips{grid-template-columns:repeat(2,140px);gap:15px 20px;justify-content:start;margin-top:20px}
  .chip{width:140px;height:60px;font-size:14px;line-height:17px;text-align:center;padding:0 6px;border-radius:16px}
  .btn{border-radius:16px}
  .cat-mfilter{border-radius:16px}
  .clear{font-weight:600}
  .card-btns .btn-ghost{border:1.5px solid var(--dark)}
  .ben-card .h1{font-size:24px;line-height:29px;max-width:220px}
  .chip br{display:inline}
  .calc-nav{margin-top:20px;flex-direction:row;gap:10px}
  .calc-nav .btn{width:140px;height:40px;font-size:14px}
  .lead{max-width:255px}
  .sec-head .h2{margin-top:16px}
  .sec-head .lead{margin-top:14px}
  .cat-filters{gap:20px;align-items:center;margin-bottom:20px}
  .cat-filters .select{display:none}
  .cat-mfilter{display:flex;align-items:center;justify-content:space-between;width:140px;height:40px;padding:0 22px;border:1px solid var(--line-strong);border-radius:20px;background:transparent;font-size:14px;font-weight:600;color:var(--dark)}
  .clear{font-size:14px;gap:10px;color:var(--dark)}
  .clear .x{width:11px;height:11px}
  #gallery{padding-top:40px}
  #gallery .sec-head{margin-bottom:19px;text-align:left}
  #gallery .h2{max-width:160px}
  .gal{grid-template-columns:repeat(2,139px);gap:19.5px;justify-content:space-between}
  .gal img{width:139px;height:140.5px;border-radius:12px}
  #faq{padding:41px 0 39px}
  #faq .sec-head{margin-bottom:19px}
  .faq .acc{margin:0}
  .faq{display:flex;flex-direction:column;gap:15px}
  .faq .acc-head{padding:0 19px;gap:14px}
  .faq .acc-title{font-size:16px;line-height:19px}
  .faq .acc-body p{font-size:14px;line-height:19px}
  #contacts{padding:0 !important;margin-bottom:-22px}
  .sec-cn .wide,#contacts .wide{padding:0}
  .cn-card{height:auto;border-radius:0;background-size:750px 1000px;background-position:-91.5px -9px;background-repeat:no-repeat}
  .cn-inner{flex-direction:column;padding:40px 10px 30px;align-items:stretch}
  .cn-left{margin-top:0}
  .cn-left .h1{font-size:24px;line-height:29px;margin:11px 0 0}
  .cn-lead{margin-top:22px;max-width:290px;font-size:14px;line-height:19px}
  .cn-list{margin-top:36px;gap:20px}
  .cn-li{font-size:14px;height:32px;gap:20px}
  .cn-li:first-child{font-size:20px;font-weight:700}
  .cn-form{width:300px;margin:15px 0 0;padding:27px 30px 40px;align-self:flex-start}
  .cn-form b{font-size:18px;text-align:center;margin-bottom:0;display:block}
  .cn-form b{display:block;text-align:center}
  .cn-form .lead{font-size:14px;line-height:19px;text-align:center;max-width:100%;margin:14px 0 20px !important}
  .field{width:240px;height:47px;font-size:14px}
  .cn-select{width:240px}
  .cn-select select{width:240px;font-size:14px}
  .cn-select .chev{right:14px;top:19px}
  .cn-form .btn{width:240px;height:40px;font-size:14px}
  .m-cbx,.cn-cbx{width:240px}
  footer{padding:39px 0 40px}
  .ft{flex-direction:column;gap:0}
  .ft-logo img{height:43px}
  .ft-logo p{display:none}
  .ft-col{gap:0;font-size:16px;margin-top:14px}
  .ft-col+.ft-col{margin-top:0}
  .ft-col a{padding:5px 0;line-height:24px}
  .ft-right{margin-top:29px}
  .ft-phone img{width:33px;height:32px}
  .ft-phone span{font-size:20px}
  .ft-addr{margin-top:16px;font-size:14px;line-height:19px;max-width:240px}
  .ft-soc{margin-top:16px;gap:20px}
  #delivery{padding-top:40px}
  #delivery .sec-head{margin-bottom:19px}
  .dl-grid > *:last-child{height:auto;min-height:262px;padding-bottom:36px}
  .map-right{height:232px}
  #delivery .h2{max-width:270px}
  .dl-grid{gap:15px}
  .dl-grid > *{padding:30px}
  .dl-grid > * > p{font-size:14px;line-height:16px;max-width:210px}
  .dl-grid > *:first-child{min-height:327px;padding-bottom:36px}
  .dl-grid > *:last-child{min-height:262px;padding-bottom:36px}
  .dl-h{gap:21px;font-size:18px;line-height:22px}
  .dl-h img{width:30px;height:27px}
  .dl-grid p{font-size:14px;line-height:16px;max-width:210px}
  .dl-li{font-size:14px;line-height:16px;gap:17px;padding:6px 0}
  .dl-li img{width:23px;height:17px;margin-top:1px}
  .ins-acc{margin-top:15px}
  .ins-head{height:auto;min-height:68px;padding:16px 20px;gap:14px}
  .ins-ttl{font-size:18px;line-height:23px}
  .ins-body{padding:0 20px 26px}
  .ins-lead{font-size:14px;line-height:19px}
  .ins-list{margin-top:16px;gap:14px}
  .ins-list li{font-size:14px;line-height:19px;padding-left:22px}
  .ins-list li::before{width:8px;height:8px;top:6px}
  .ins-note{font-size:14px;line-height:19px;margin-top:18px}
  .ins-out{font-size:14px;line-height:19px;margin-top:16px}
  .map-card{margin-top:15px}
  .map-right{height:211px;min-height:211px;flex:none}
  .map-left{padding:30px 30px 4px}
  .map-left .h3{font-size:14px;line-height:18px}
  .map-left p,.map-addr{font-size:14px;line-height:19px;max-width:232px}

  .sec-ben{padding:0 !important}
  #reviews{padding-top:36px}
  #reviews .sec-head{margin-bottom:23px}
  .rev-more{font-size:14px;color:var(--muted)}
  .sec-ben .wide{padding:0}
  .ben-card{height:453px;border-radius:0;background-size:cover;background-position:50% 50%}
  .ben-inner{padding:39px 10px 0;max-width:none}
  .ben-inner .h2,.ben-card .h2{font-size:24px;line-height:29px;max-width:220px}
  .ben-list{margin-top:11px;gap:29px}
  .ben-i{gap:20px;align-items:flex-start}
  .ben-i img{width:30px;height:30px;margin-top:0}
  .ben-i b{font-size:16px;line-height:19px}
  .ben-i span{font-size:14px;line-height:17px;max-width:250px;margin-top:2px}
  .rev{gap:20px}
  .rev-btn{width:300px;height:40px;font-size:13px;margin-top:55px !important}
  .rev-c{height:auto;min-height:236px;padding:20px 20px 8px}
  .rev-top{gap:20px;margin-bottom:0}
  .rev-top img{width:40px;height:40px}
  .rev-top b{font-size:16px}
  .rev-top span{font-size:14px}
  .stars{height:22px;margin:12px 0 0}
  .rev-c p{font-size:14px;line-height:19px;margin-top:16px;max-width:246px}
  .why{gap:15px}
  .why-c{height:auto;min-height:203px;padding:20px 20px 26px}
  .why-ic{width:60px;height:60px;margin-bottom:18px}
  .why-ic img{width:60px;height:60px}
  .why-c b{font-size:16px;line-height:19px;margin-bottom:18px}
  .why-c p{font-size:14px;line-height:19px;max-width:255px}
  #options{padding-top:45px}
  #why{padding:35px 0 40px}
  #why .h2{max-width:210px;margin-left:auto;margin-right:auto}
  #why .sec-head{margin-bottom:19px}
  #options .sec-head{margin-bottom:19px}
  .acc-grid{display:flex;flex-direction:column;gap:15px}
  #opts .acc:nth-child(1){order:1}
  #opts .acc:nth-child(2){order:5}
  #opts .acc:nth-child(3){order:2}
  #opts .acc:nth-child(4){order:6}
  #opts .acc:nth-child(5){order:3}
  #opts .acc:nth-child(6){order:7}
  #opts .acc:nth-child(7){order:4}
  #opts .acc:nth-child(8){order:8}
  #options .lead{display:none}
  .acc-head{height:78px;padding:0 19px;gap:20px}
  .acc-head img.oi{width:40px;height:40px}
  .acc-title{font-size:16px}
  .acc-count{font-size:16px;margin-right:2px}
  .cards{gap:20px}
  .card{border-radius:16px}
  .card-img{height:300px}
  .swatches{left:16px;bottom:16px;gap:8px}
  .swatches i{width:20px;height:20px;border:none;box-shadow:none}
  .card-body{padding:20px 20px 30px}
  .card-body .h4{font-size:20px;line-height:24px;margin-bottom:0}
  .card-wood{font-size:14px;margin:15px 0 0}
  .card-desc{font-size:14px;line-height:19px;margin:11px 0 0;max-width:218px}
  .specs{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 0}
  .spec{height:27px;padding:0 12px;border-radius:14px;font-size:13px;gap:10px}
  .spec img{width:12px;height:12px}
  .card-price{font-size:26px;margin:20px 0 0}
  .card-btns{flex-direction:row;gap:20px;margin-top:11px}
  .card-btns .btn{flex:none;width:120px;height:40px;font-size:13px;padding:0}
}

@media (min-width:561px){.cat-mfilter{display:none}}
.clr-short{display:none}
@media (max-width:560px){.clr-full{display:none}.clr-short{display:inline}  .map-ttl b{font-size:18px;line-height:22px}
  .cn-form .cbx,.cn-form .cbx span{font-size:14px;line-height:17px;color:var(--dark)}
}


/* ---------- сверка с кодом макета (320-phone) ---------- */
@media (max-width:560px){
  .badge{height:34px;font-size:14px;font-weight:400}
  .chip{font-size:14px;font-weight:600}
  .btn,.btn-sm,.hero-btns .btn,.res-send,.calc-nav .btn{font-size:14px}
  .wood-i span,.opt-i span{font-size:16px;font-weight:600}
  .card-desc{font-size:16px;line-height:21px}
  .spec{font-size:14px}
  .card-price{font-size:24px}
  .dl-h,.dl-h.h3{font-size:20px;line-height:24px}
  .map-ttl b,.cn-form b{font-size:20px}
  .res-form-sub{font-size:14px;line-height:19px}
  .res-consent,.res-consent span,.consent,.consent span{font-size:12px;line-height:16px}
  .cn-li,.cn-li span{font-size:14px}
  .cn-li:first-child,.cn-li:first-child span{font-size:20px;font-weight:700}
  .hdr-phone span{font-weight:600}
}

@media (max-width:560px){
  .wood-opt span{font-size:16px;font-weight:600}
  .cn-li span{font-size:14px}
  .cn-li:first-child span{font-size:20px;font-weight:700}
  .cbx span,.res-cbx span,.m-cbx span{font-size:12px;line-height:16px}
  .btn-sm{font-size:14px}
}

@media (max-width:560px){
  #contacts .cn-li,#contacts .cn-li span{font-size:14px;font-weight:400}
  #contacts .cn-li:first-child,#contacts .cn-li:first-child span{font-size:20px;font-weight:700}
  .card-btns .btn,.card-btns .btn-sm{font-size:14px}
}

@media (max-width:560px){
  .cn-li span{font-size:14px !important;font-weight:400 !important}
  .cn-li:first-child span{font-size:20px !important;font-weight:700 !important}
}


/* ===== ЦВЕТА ТЕКСТА СТРОГО ПО МАКЕТУ (ПК + мобильная) ===== */
.hero-inner,.hero-inner .h1,.hero-feats,.hero-feat p,.hero-price{color:#FCF9EF}
.ben-inner,.ben-inner .h1,.ben-i b{color:#FCF9EF}
.ben-i span{color:#F4F1E9}
.cn-inner,.cn-left .h1,.cn-li,.cn-li span{color:#FCF9EF}
.cn-lead{color:#F4F1E9}
footer,.ft,.ft-col a,.ft-phone,.ft-phone span,.ft-logo p,.ft-addr{color:#FCF9EF}
.ft-col a:hover{color:#FCF9EF}
.lead,.clear,.rev-top span,.rev-txt,.card-desc,.spec,.cbx span,.res-cbx span,.m-cbx span{color:#2C241B}
.card-wood{color:rgba(44,36,27,.80)}
.rev-more{color:rgba(44,36,27,.60)}
.field::placeholder{color:rgba(44,36,27,.60)}
.badge,.btn-green,.btn-green:hover{color:#FCF9EF}

/* затемнение блока ПРЕИМУЩЕСТВА облегчённое (было .81/.44) */
.ben-card::after{background:linear-gradient(90deg,rgba(44,36,27,.58) 0%,rgba(44,36,27,.30) 100%)}

/* ==========================================================
   ТОЧНАЯ СВЕРКА ШРИФТОВ С МАКЕТОМ (Figma 1920 / 320)
   размеры + начертания 1:1
   ========================================================== */

/* ---- ПК (макет 1920) ---- */
.hero-inner .h1{font-weight:700}
.hero-feat p{font-size:16px;line-height:19px;font-weight:400}
.hdr-phone span{font-size:20px;font-weight:600}
.badge{font-size:16px;font-weight:400}
.chip{font-size:16px;font-weight:600}
.wood-opt span{font-size:16px;font-weight:600}
.res-li,.res-li span{font-size:16px;font-weight:400}
.res-li-phone span{font-size:20px;font-weight:700}
.cbx,.cbx span,.res-cbx,.res-cbx span,.m-cbx span{font-size:14px;font-weight:400}
.select-lbl{font-size:16px;font-weight:600}
.pill{font-size:16px;font-weight:400}
.clear,.clr-full,.clr-short{font-size:16px;font-weight:600}
.card-wood{font-size:16px;font-weight:600}
.spec{font-size:14px;font-weight:400}
.btn-sm,.card-btns .btn,.card-btns .btn-sm{font-size:16px;font-weight:600}
#opts .acc-title,#opts .acc-count{font-size:20px;font-weight:600}
.faq .acc-title{font-size:16px;font-weight:600}
.rev-top b{font-size:16px;font-weight:600}
.rev-top span{font-size:14px;font-weight:400}
.rev-txt,.rev-c p{font-size:16px;line-height:1.45;font-weight:400}
.rev-more{font-size:14px;font-weight:400}
.rev-btn .btn{font-size:16px;font-weight:600}
.small,p.small{font-size:16px;font-weight:400}
.dl-li,.ins-lead,.ins-list li,.ins-note,.ins-out{font-size:16px;font-weight:400}
.ft-phone span{font-size:20px;font-weight:600}
.ft-addr,.ft-logo p{font-size:14px;font-weight:400}
.map-addr,.map-left p{font-size:16px}
.why-c b{font-size:20px;font-weight:600}
.why-c p{font-size:16px;font-weight:400}
.ben-i b{font-size:20px;font-weight:700}
.ben-i span{font-size:16px;font-weight:400}
.cn-li,.cn-li span{font-size:16px;font-weight:400}
.cn-li:first-child,.cn-li:first-child span{font-size:20px;font-weight:700}
.cn-lead{font-size:16px;font-weight:400}
.calc-q{font-size:16px;font-weight:600}
.card-price{font-size:24px;font-weight:600}
.res-form-sub,.m-sub{font-size:16px;font-weight:400}

/* ---- Мобильная (макет 320) ---- */
@media (max-width:560px){
  .hero-inner .h1{font-size:32px;line-height:37px;font-weight:700}
  .hero-price{font-size:16px;font-weight:400}
  .hero-feat p{font-size:14px;line-height:19px;font-weight:400}
  .badge{font-size:14px;font-weight:400}
  .lead{font-size:14px;font-weight:400}
  .h2{font-size:24px;font-weight:600}
  .calc-q{font-size:16px;font-weight:600}
  .chip{font-size:14px;font-weight:600}
  .btn,.btn-sm,.hero-btns .btn,.calc-nav .btn,.res-send,.rev-btn .btn,.card-btns .btn,.card-btns .btn-sm,.cn-form .btn,.modal .m-send{font-size:14px;font-weight:600}
  .cat-mfilter{font-size:14px;font-weight:600}
  .clear,.clr-full,.clr-short{font-size:14px;font-weight:600}
  .wood-opt span{font-size:16px;font-weight:600}
  .res-li,.res-li span{font-size:14px;font-weight:400}
  .res-li-phone span{font-size:20px;font-weight:700}
  .cbx,.cbx span,.res-cbx,.res-cbx span,.m-cbx span{font-size:12px;line-height:16px;font-weight:400}
  .card-body .h4{font-size:16px;font-weight:600}
  .card-wood{font-size:16px;font-weight:600}
  .card-desc{font-size:14px;line-height:19px;font-weight:400}
  .spec{font-size:14px;font-weight:400}
  .card-price{font-size:24px;font-weight:600}
  #opts .acc-title,#opts .acc-count,.acc-title,.acc-count{font-size:16px;font-weight:600}
  .faq .acc-title{font-size:16px;font-weight:600}
  .faq .acc-body p{font-size:14px;font-weight:400}
  .why-c b{font-size:16px;font-weight:600}
  .why-c p{font-size:14px;font-weight:400}
  .ben-i b{font-size:16px;font-weight:700}
  .ben-i span{font-size:14px;font-weight:400}
  .rev-top b{font-size:16px;font-weight:600}
  .rev-top span{font-size:14px;font-weight:400}
  .rev-txt,.rev-c p{font-size:14px;line-height:19px;font-weight:400}
  .rev-more{font-size:14px;font-weight:400}
  .small,p.small{font-size:14px;font-weight:400}
  .dl-li,.ins-lead,.ins-list li,.ins-note,.ins-out{font-size:14px;font-weight:400}
  .map-addr,.map-left p{font-size:14px;font-weight:400}
  .cn-lead{font-size:14px;font-weight:400}
  .cn-li,.cn-li span{font-size:14px;font-weight:400}
  .cn-li:first-child,.cn-li:first-child span{font-size:20px;font-weight:700}
  .ft-col,.ft-col a{font-size:16px;font-weight:400}
  .ft-phone span{font-size:20px;font-weight:600}
  .ft-addr{font-size:14px;font-weight:400}
  .res-form-sub,.m-sub{font-size:14px;font-weight:400}
  .field,.cn-select select{font-size:14px}
}

/* ---- доправки после сверки ---- */
@media (max-width:560px){
  .card-desc{font-size:16px;line-height:21px;font-weight:400}
  .rev-btn{font-size:14px}
  .cn-form .cbx,.cn-form .cbx span,
  .modal .cbx,.modal .cbx span,
  .res-form .cbx,.res-form .cbx span{font-size:12px;line-height:16px;font-weight:400}
}

/* ==========================================================
   СКРУГЛЕНИЯ (border-radius) СТРОГО ПО МАКЕТУ
   ПК 1920: кнопки/карточки 20px, большие блоки 30px, малые кнопки 10px
   Мобильная 320: кнопки/поля 10px, карточки 20px, аккордеоны 10px
   ========================================================== */

/* ---- ПК ---- */
.btn,.btn-green,.btn-ghost,.btn-ghost-light{border-radius:20px}
.hdr-cta{border-radius:20px}
.chip{border-radius:20px}
.btn-sm,.card-btns .btn,.card-btns .btn-sm{border-radius:10px}
.res-send,.rev-btn .btn,.cn-form .btn,.modal .m-send,.calc-nav .btn{border-radius:20px}
.res-back{border-radius:20px}
.hero-card,.ben-card,.cn-card{border-radius:30px}
.card,.acc,.why-c,.rev-c,.dl-c,.map-card,.cn-form,.res-price,.res-form,.ins-acc,.modal{border-radius:20px}
.wood-opt{border-radius:20px}
.gal img{border-radius:20px}
.badge,.pill,.spec{border-radius:20px}
.select{border-radius:20px}
.field,.res-field,.m-field,.cn-select select,.res-select select{border-radius:20px}
.calc-bar span{height:10px;border-radius:20px}
.cbx input,.res-cbx input,.m-cbx input{border-radius:5px}
.swatches i,.ava,.why-ic{border-radius:9999px}

/* ---- Мобильная (320) ---- */
@media (max-width:560px){
  .btn,.btn-green,.btn-ghost,.btn-ghost-light,.btn-sm,
  .hero-btns .btn,.calc-nav .btn,.card-btns .btn,.card-btns .btn-sm,
  .res-send,.rev-btn .btn,.cn-form .btn,.modal .m-send{border-radius:10px}
  .cat-mfilter{border-radius:10px}
  .chip{border-radius:10px}
  .field,.res-field,.m-field,.cn-select select,.res-select select{border-radius:10px}
  .acc,.faq .acc,.ins-acc{border-radius:10px}
  .card,.why-c,.rev-c,.dl-c,.map-card,.cn-form,.res-price,.res-form,.wood-opt,.modal{border-radius:20px}
  .gal img{border-radius:20px}
  .badge,.pill,.spec{border-radius:20px}
  .calc-bar span{height:10px;border-radius:20px}
  .cbx input,.res-cbx input,.m-cbx input{border-radius:5px}
  .hero-card{border-radius:0}
  .ben-card,.cn-card{border-radius:0}
  .swatches i,.ava,.why-ic{border-radius:9999px}
}

/* ==========================================================
   ЧЕКБОКСЫ + ЦВЕТ ОПИСАНИЙ В БЛОКЕ ПРЕИМУЩЕСТВ
   ========================================================== */

/* галочка: была зелёная на зелёном — теперь светлая и видная */
.cbx input,.res-cbx input,.m-cbx input,.cn-form .cbx input{
  appearance:none;-webkit-appearance:none;
  width:24px;height:24px;flex:none;
  border:1px solid var(--line-strong);border-radius:5px;
  background:var(--cream);cursor:pointer;
  transition:background-color .15s,border-color .15s;
}
.cbx input:checked,.res-cbx input:checked,.m-cbx input:checked,.cn-form .cbx input:checked{
  background-color:var(--green);
  background-image:url(../icons/check-white.svg);
  background-repeat:no-repeat;
  background-position:center;
  background-size:14px 11px;
  border-color:var(--green);
}
.cbx input:focus-visible,.res-cbx input:focus-visible,.m-cbx input:focus-visible{outline:2px solid var(--green);outline-offset:2px}

/* описания в блоке «Преимущества» — мягче, не чисто-белые (как в макете) */
.ben-i span{color:rgba(244,241,233,.78)}
@media (max-width:560px){
  .ben-i span{color:rgba(244,241,233,.78)}
  .cbx input,.res-cbx input,.m-cbx input{width:22px;height:22px;border-radius:5px}
  .cbx input:checked,.res-cbx input:checked,.m-cbx input:checked{background-size:13px 10px}
}


/* ==========================================================
   ПРАВКИ ПО МАКЕТУ (4 замечания)
   ========================================================== */

/* --- 1. КОНТАКТЫ: подписи полупрозрачные, как в макете --- */
#contacts .cn-lead{color:rgba(244,241,233,.72)}
#contacts .cn-li,#contacts .cn-li span{color:rgba(252,249,239,.78)}
#contacts .cn-li:first-child,#contacts .cn-li:first-child span{color:#FCF9EF}
@media (max-width:560px){
  #contacts .cn-lead{color:rgba(244,241,233,.72) !important}
  #contacts .cn-li,#contacts .cn-li span{color:rgba(252,249,239,.78) !important}
  #contacts .cn-li:first-child,#contacts .cn-li:first-child span{color:#FCF9EF !important}
}

/* --- 2. КРУЖКИ ЦВЕТОВ НА КАРТОЧКЕ: 22/18 px, тонкая обводка rgba(252,249,239,.32) --- */
.swatches{left:20px;bottom:20px;gap:10px;align-items:center}
.swatches i{flex:0 0 auto;width:22px;height:22px;aspect-ratio:1;box-sizing:border-box;border-radius:50%;border:1px solid rgba(252,249,239,.55);box-shadow:0 1px 4px rgba(44,36,27,.25)}
@media (max-width:560px){
  .swatches{left:17px;bottom:17px;gap:9px}
  .swatches i{flex:0 0 auto;width:18px;height:18px;aspect-ratio:1;box-sizing:border-box;border-radius:50%;border:1px solid rgba(252,249,239,.55);box-shadow:0 1px 4px rgba(44,36,27,.25)}
}

/* --- 3. ШАГ 3 «Куда доставить?»: карточки с подписями как в макете --- */
.chips-geo{grid-template-columns:repeat(4,260px);gap:15px 40px}
.chips-geo .chip{
  width:260px;height:146px;border-radius:20px;
  flex-direction:column;justify-content:center;gap:6px;
  padding:0 16px;text-align:center;line-height:1.2;
}
.chips-geo .chip b{font-size:16px;font-weight:600}
.chips-geo .chip span{font-size:14px;font-weight:400;color:rgba(44,36,27,.62)}
@media (max-width:1024px){
  .chips-geo{display:flex;flex-direction:column;gap:10px}
  .chips-geo .chip{width:100%;height:auto;min-height:54px;padding:10px 14px}
}
@media (max-width:560px){
  .chips-geo{display:flex;flex-direction:column;gap:9px}
  .chips-geo .chip{width:100%;height:auto;min-height:54px;padding:9px 12px;border-radius:10px;gap:2px}
  .chips-geo .chip b{font-size:14px;font-weight:600}
  .chips-geo .chip span{font-size:14px;font-weight:400}
}

/* --- 4. РЕЗУЛЬТАТ РАСЧЁТА: мобильная раскладка (была ПК-версия) --- */
@media (max-width:1024px){
  .res-grid{display:flex;flex-direction:column;grid-template-columns:none;gap:20px;margin-top:20px}
  .res-price,.res-form{width:100%;height:auto}
  .res-form{padding:28px 24px 32px}
  .res-form .res-field,.res-select,.res-select select,.res-cbx,.res-send{width:100%}
  .res-back{width:100%;max-width:280px;margin-top:26px}
}
@media (max-width:560px){
  .res-grid{gap:15px;margin-top:20px}
  .res-price{padding:20px;border-radius:20px;border:2px solid var(--green)}
  .res-price-lbl{font-size:14px;line-height:19px}
  .res-price-val{font-size:32px;line-height:1.1;margin:10px 0 8px}
  .res-price-sub{font-size:14px;line-height:19px}
  .res-note{font-size:14px;line-height:19px;margin-top:18px}
  .res-links{margin-top:22px;gap:18px}
  .res-li{font-size:14px;gap:16px}
  .res-li img{width:32px;height:32px}
  .res-li-phone span{font-size:20px;font-weight:700}
  .res-back{width:270px;height:44px;margin:26px auto 0;font-size:14px;font-weight:600;border-radius:10px;gap:12px}
  .res-back img{width:22px;height:8px}
  .res-form{width:100%;padding:27px 30px 40px;border-radius:20px;text-align:center}
  .res-form-ttl{font-size:20px;font-weight:600;margin-bottom:14px}
  .res-form-sub{font-size:14px;line-height:19px;margin-bottom:20px}
  .res-form .res-field{width:100%;height:47px;font-size:14px;margin-bottom:18px;border-radius:10px}
  .res-select{width:100%;margin:0}
  .res-select select{width:100%;height:47px;font-size:14px;border-radius:10px}
  .res-select .chev{right:14px;top:19px}
  .res-cbx{width:100%;margin:2px 0 14px;text-align:left}
  .res-cbx span{font-size:12px;line-height:16px}
  .res-send{width:100%;height:40px;font-size:14px;border-radius:10px}
}

/* .res-note переносится сама по ширине колонки — жёсткий <br> убран из разметки,
   иначе на узких экранах оставался обрубок строки («уехавший» текст) */


/* ===================== v4: фильтры, опции, страницы товара и заказа ===================== */

/* --- рабочие селекты в фильтрах каталога --- */
.cat-filters .select{position:relative}
.cat-filters .select-native{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;border:0;padding:0;margin:0}
.cat-filters .select.on{border-color:var(--green);box-shadow:0 0 0 1px var(--green) inset}
.cat-filters .select.on .select-lbl{color:var(--dark);font-weight:600}

/* --- описание и цена внутри аккордеона опций --- */
#opts .acc-body li{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px}
#opts .opt-desc{display:block;width:100%;color:var(--muted);font-size:13px;line-height:1.45;margin-top:2px}
#opts .opt-price{margin-left:auto;white-space:nowrap;font-weight:700;color:var(--dark)}
@media (max-width:560px){#opts .opt-price{margin-left:0}}

/* --- общее для внутренних страниц --- */
.pd-page,.co-page{padding:26px 0 60px;background:var(--cream)}
.crumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px;color:var(--muted)}
.crumbs a{color:var(--muted);text-decoration:none}
.crumbs a:hover{color:var(--green)}
.crumbs b{color:var(--dark);font-weight:600}
.pd-title,.co-title{margin:14px 0 24px}

/* --- страница товара --- */
.pd-top{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:32px;align-items:start}
.pd-main{position:relative;border-radius:var(--r);overflow:hidden;background:var(--circle)}
.pd-main img{display:block;width:100%;height:520px;object-fit:cover;cursor:zoom-in}
.pd-arr{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;border:0;cursor:pointer;background:rgba(252,249,239,.92);box-shadow:0 4px 14px rgba(44,36,27,.14)}
.pd-arr:hover{background:#fff}
.pd-arr-l{left:14px}.pd-arr-r{right:14px}
.pd-arr::before{content:"";position:absolute;top:50%;left:50%;width:9px;height:9px;border-left:2px solid var(--dark);border-bottom:2px solid var(--dark)}
.pd-arr-l::before{transform:translate(-40%,-50%) rotate(45deg)}
.pd-arr-r::before{transform:translate(-60%,-50%) rotate(-135deg)}
.pd-thumbs{display:flex;gap:10px;margin-top:12px;overflow-x:auto;padding-bottom:4px}
.pd-th{flex:0 0 auto;width:104px;height:78px;padding:0;border:2px solid transparent;border-radius:10px;overflow:hidden;background:none;cursor:pointer}
.pd-th img{width:100%;height:100%;object-fit:contain;background:var(--cream);display:block}
.pd-th.on{border-color:var(--green)}
.pd-buy{background:var(--sand);border:1px solid var(--line);border-radius:var(--r);padding:24px}
.pd-price{font-size:32px;font-weight:800;color:var(--dark);line-height:1.1}
.pd-from{font-size:15px;font-weight:600;color:var(--muted)}
.pd-order{display:block;text-align:center;margin:16px 0 20px;text-decoration:none}
.pd-tbl{display:flex;flex-direction:column}
.pd-row{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14px}
.pd-row:last-child{border-bottom:0}
.pd-row span{color:var(--muted)}
.pd-row b{text-align:right;font-weight:600;color:var(--dark)}
.pd-allchars{margin-top:12px;background:none;border:0;padding:0;cursor:pointer;color:var(--green);font:inherit;font-weight:600;display:inline-flex;align-items:center;gap:8px}
.pd-allchars .chev{width:8px;height:8px;border-right:2px solid var(--green);border-bottom:2px solid var(--green);transform:rotate(45deg);display:inline-block;margin-bottom:3px;transition:transform .18s}
.pd-allchars.on .chev{transform:rotate(-135deg);margin-bottom:-2px}
.pd-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:40px 0 0}
.pd-tab{background:var(--sand);border:1px solid var(--line);border-radius:999px;padding:11px 18px;font:inherit;font-size:14px;font-weight:600;color:var(--dark);cursor:pointer}
.pd-tab:hover{border-color:var(--line-strong)}
.pd-tab.on{background:var(--green);border-color:var(--green);color:#fff}
.pd-tabbox{margin-top:16px;background:var(--sand);border:1px solid var(--line);border-radius:var(--r);padding:26px}
.pd-list{margin:0;padding-left:20px;columns:2;column-gap:40px}
.pd-list li{margin:0 0 9px;line-height:1.5;break-inside:avoid}
.pd-txt{margin:0;line-height:1.6}
.pd-ins-ttl{display:block;font-size:19px;margin-bottom:10px}
.pd-ins p{line-height:1.6}
.pd-ins-steps{margin:14px 0;padding-left:20px}
.pd-ins-steps li{margin-bottom:12px;line-height:1.6}
.pd-ins-imp{background:rgba(139,170,66,.12);border-left:3px solid var(--green);border-radius:10px;padding:14px 16px;margin:16px 0;line-height:1.55}
.pd-lb{position:fixed;inset:0;z-index:99;background:rgba(20,16,12,.88);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px;cursor:zoom-out}
.pd-lb img{max-width:min(1100px,94vw);max-height:80vh;object-fit:contain;border-radius:12px}
.pd-lb-cap{color:var(--cream);font-size:14px}
.pd-lb-x{position:absolute;top:18px;right:18px;width:38px;height:38px;border-radius:50%;border:0;background:rgba(252,249,239,.16);cursor:pointer}
.pd-lb-x::before,.pd-lb-x::after{content:"";position:absolute;top:50%;left:50%;width:16px;height:2px;background:var(--cream);transform:translate(-50%,-50%) rotate(45deg)}
.pd-lb-x::after{transform:translate(-50%,-50%) rotate(-45deg)}

@media (max-width:1024px){
  .pd-top{grid-template-columns:1fr;gap:22px}
  .pd-main img{height:340px}
  .pd-list{columns:1}
}
@media (max-width:560px){
  .pd-page,.co-page{padding:16px 0 44px}
  .pd-main img{height:210px}
  .pd-th{width:76px;height:58px}
  .pd-buy{padding:16px}
  .pd-price{font-size:26px}
  .pd-tabs{flex-direction:column}
  .pd-tab{width:100%;text-align:left;border-radius:12px}
  .pd-tabbox{padding:16px}
  .pd-arr{width:36px;height:36px}
}

/* --- оформление заказа --- */
.co-grid{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:28px;align-items:start}
.co-block{background:var(--sand);border:1px solid var(--line);border-radius:var(--r);padding:22px;margin-bottom:16px}
.co-step{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.co-step i{width:28px;height:28px;flex:0 0 28px;border-radius:50%;background:var(--green);color:#fff;font-style:normal;font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center}
.co-step b{font-size:18px}
.co-ways{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.co-way{text-align:left;background:var(--cream);border:1px solid var(--line);border-radius:14px;padding:16px;cursor:pointer;font:inherit;display:flex;flex-direction:column;gap:6px}
.co-way b{font-size:15px}
.co-way span{color:var(--muted);font-size:13px;line-height:1.45}
.co-way.on{border-color:var(--green);box-shadow:0 0 0 1px var(--green) inset}
.co-form .field{width:100%;margin-bottom:10px}
.co-form .field.err{border-color:#D2553F}
.co-area{min-height:96px;resize:vertical;font:inherit;padding-top:12px}
.co-hint{color:var(--muted);font-size:13px;line-height:1.45;margin-top:4px}
.co-sum{background:var(--sand);border:1px solid var(--line);border-radius:var(--r);padding:22px;position:sticky;top:16px}
.co-sum-ttl{display:block;font-size:18px;margin-bottom:14px}
.co-item{display:flex;gap:12px;align-items:center;padding-bottom:14px;border-bottom:1px solid var(--line)}
.co-item img{width:82px;height:62px;object-fit:cover;border-radius:10px}
.co-item b{display:block;font-size:15px;line-height:1.3}
.co-item span{color:var(--muted);font-size:13px}
.co-lines{padding:12px 0}
.co-line{display:flex;justify-content:space-between;gap:14px;padding:7px 0;font-size:14px}
.co-line span{color:var(--muted)}
.co-total{display:flex;justify-content:space-between;align-items:baseline;padding-top:12px;border-top:1px solid var(--line)}
.co-total b{font-size:24px;font-weight:800}
.co-send{width:100%;margin-top:16px}
.co-note{color:var(--muted);font-size:13px;line-height:1.45;margin-top:12px}
.co-done{grid-column:1/-1;background:var(--sand);border:1px solid var(--line);border-radius:var(--r);padding:44px 24px;text-align:center}
.co-done-ic{width:64px;height:64px;margin:0 auto 16px;border-radius:50%;background:var(--green);color:#fff;font-size:30px;display:flex;align-items:center;justify-content:center}
.co-done b{display:block;font-size:24px;margin-bottom:8px}
.co-done p{color:var(--muted);max-width:460px;margin:0 auto 20px;line-height:1.55}

@media (max-width:1024px){.co-grid{grid-template-columns:1fr}.co-sum{position:static}}
@media (max-width:560px){.co-ways{grid-template-columns:1fr}.co-block{padding:16px}.co-sum{padding:16px}}


/* ===================== v5: правки по макету ===================== */

/* аккордеоны опций: соседний блок больше не растягивается */
.acc-grid{align-items:start}
.acc-grid>.acc{align-self:start}

/* ---------- СТРАНИЦА ТОВАРА (по макету) ---------- */
.pd-page{padding:36px 0 70px;background:var(--sand)}
.pd-h1{font-size:24px;line-height:1.3;font-weight:700;color:var(--dark);margin:0 0 26px;text-transform:none;letter-spacing:0}
.pd-top{display:grid;grid-template-columns:minmax(0,1fr) 480px;gap:28px;align-items:start}

.pd-gal{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:12px;align-items:start}
.pd-main{position:relative;border-radius:14px;overflow:hidden;background:var(--cream);border:1px solid var(--line)}
.pd-main img{display:block;width:100%;height:436px;object-fit:contain;background:var(--cream);padding:10px;cursor:zoom-in}
.pd-thumbs{display:flex;flex-direction:column;gap:12px;margin:0;overflow:visible;max-height:436px}
.pd-th{flex:0 0 auto;width:100px;height:80px;padding:0;border:2px solid transparent;border-radius:10px;overflow:hidden;background:none;cursor:pointer}
.pd-th img{width:100%;height:100%;object-fit:contain;background:var(--cream);display:block}
.pd-th.on{border-color:var(--green)}
.pd-arr{width:38px;height:38px;background:rgba(252,249,239,.9)}

.pd-buy{background:var(--cream);border:1px solid var(--line);border-radius:14px;padding:28px}
.pd-price{font-size:30px;font-weight:700;color:var(--dark);line-height:1.1;margin-bottom:18px}
.pd-order{display:flex;align-items:center;justify-content:center;width:100%;height:52px;padding:0 24px;border-radius:26px;margin:0 0 22px;text-align:center;text-decoration:none;font-size:16px;font-weight:500;line-height:1}
.pd-tbl{display:flex;flex-direction:column;gap:9px}
.pd-row{display:flex;align-items:baseline;gap:6px;font-size:14px;border:0;padding:0}
.pd-k{color:var(--dark);white-space:nowrap}
.pd-dots{flex:1 1 auto;border-bottom:1px dotted rgba(44,36,27,.45);transform:translateY(-3px)}
.pd-v{color:var(--dark);font-weight:500;text-align:right;max-width:58%}
.pd-allchars{margin-top:16px;background:none;border:0;padding:0;cursor:pointer;color:var(--muted);font:inherit;font-size:14px;display:inline-flex;align-items:center;gap:8px}
.pd-allchars .chev{width:8px;height:8px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);display:inline-block;margin-bottom:3px;transition:transform .18s}
.pd-allchars.on .chev{transform:rotate(-135deg);margin-bottom:-2px}

.pd-tabs{display:flex;flex-wrap:wrap;gap:26px;margin:38px 0 0;border:0}
.pd-tab,.pd-tab.on{background:none;border:0;border-radius:0;padding:0 0 8px;font:inherit;font-size:15px;font-weight:500;color:var(--dark);cursor:pointer;position:relative}
.pd-tab:hover{color:var(--green)}
.pd-tab.on{color:var(--green);font-weight:600}
.pd-tab.on::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--green);border-radius:2px}
.pd-tabbox{margin-top:18px;background:var(--cream);border:1px solid var(--line);border-radius:14px;padding:30px 34px}
.pd-box-ttl{display:block;font-size:20px;font-weight:700;margin-bottom:20px}

.pd-inc{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:14px 40px}
.pd-inc li{position:relative;padding-left:30px;line-height:1.45;font-size:15px}
.pd-inc li::before{content:"";position:absolute;left:2px;top:3px;width:15px;height:9px;border-left:3.2px solid var(--green);border-bottom:3.2px solid var(--green);border-radius:1px;transform:rotate(-45deg)}

.pd-ins p{line-height:1.6;margin:0 0 14px}
.pd-ins-steps{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-direction:column;gap:14px}
.pd-ins-steps li{position:relative;padding-left:26px;line-height:1.6}
.pd-ins-steps li::before{content:"";position:absolute;left:2px;top:8px;width:9px;height:9px;border-radius:50%;background:var(--green)}
.pd-ins-imp{background:none;border:0;padding:0;margin:0 0 14px;font-weight:500}
.pd-ins-out{margin:0}

/* Характеристики — таблица-зебра (макет, стр. 21) */
.pd-chars{display:block;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--cream)}
.pd-char{display:grid;grid-template-columns:300px 1fr;gap:24px;align-items:start;padding:14px 22px;border:0}
.pd-char:nth-child(odd){background:var(--sand)}
.pd-char span{color:var(--muted);font-size:14px;line-height:1.45}
.pd-char b{font-weight:600;font-size:15px;line-height:1.45}

.pd-mobsec{display:none}
.pd-ms{background:var(--cream);border:1px solid var(--line);border-radius:14px;margin-bottom:14px;overflow:hidden}
.pd-ms-head{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;background:none;border:0;padding:18px;font:inherit;text-align:left;cursor:pointer}
.pd-ms-head b{font-size:18px;font-weight:700;line-height:1.3}
.pd-ms-head .chev{width:9px;height:9px;border-right:2px solid var(--dark);border-bottom:2px solid var(--dark);transform:rotate(45deg);flex:0 0 auto;margin-bottom:3px;transition:transform .18s}
.pd-ms.open .chev{transform:rotate(-135deg);margin-bottom:-3px}
.pd-ms-body{display:none;padding:0 18px 20px}
.pd-ms.open .pd-ms-body{display:block}

@media (max-width:1100px){
  .pd-top{grid-template-columns:1fr;gap:20px}
  .pd-main img{height:360px}
}
@media (max-width:760px){
  .pd-page{padding:18px 0 40px;background:var(--sand)}
  .pd-h1{font-size:22px;margin-bottom:16px}
  .pd-gal{grid-template-columns:1fr}
  .pd-main img{height:230px}
  .pd-thumbs{flex-direction:row;overflow-x:auto;max-height:none;gap:8px;padding-bottom:4px}
  .pd-th{width:78px;height:60px}
  .pd-buy{padding:18px;margin-top:14px}
  .pd-price{font-size:26px}
  .pd-v{max-width:50%}
  .pd-tabs,.pd-tabbox{display:none}
  .pd-mobsec{display:block;margin-top:18px}
  .pd-inc{grid-template-columns:1fr;gap:12px}
  .pd-char{grid-template-columns:1fr;gap:4px;padding:11px 14px}
}

/* ---------- ОФОРМЛЕНИЕ ЗАКАЗА ---------- */
.co-page{background:var(--sand)}
.co-block,.co-sum,.co-done{background:var(--cream)}
.co-way{background:var(--sand)}


/* ===================== v7: точная доводка по Figma ===================== */

/* 1. Карточка товара: более выразительные галочки */
.pd-inc li{padding-left:32px}
.pd-inc li::before{
  left:2px;top:2px;width:17px;height:10px;
  border-left-width:4px;border-bottom-width:4px;border-radius:1px;
}

/* 2. Цветовые образцы каталога: ровные отдельные круги из макета */
.swatches{left:20px;bottom:20px;gap:12px;align-items:center}
.swatches i{
  flex:0 0 22px;width:22px;height:22px;aspect-ratio:1;
  box-sizing:border-box;border-radius:9999px;
  border:1px solid rgba(252,249,239,.32);
  box-shadow:none;outline:0;
}

/* 3. Опции: две независимые колонки — открытая шторка не двигает соседнюю */
.acc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,560px));gap:40px;align-items:start}
.acc-col{display:flex;min-width:0;flex-direction:column;gap:40px}
#opts .acc{width:100%;align-self:flex-start}
#opts .acc-body{padding:0 20px 19px}
#opts .acc-body li{
  display:grid;grid-template-columns:24px minmax(0,1fr) auto;
  column-gap:12px;row-gap:2px;align-items:center;
  min-height:59px;padding:8px 0;border-top:1px solid var(--line);
}
#opts .acc-body li>img{grid-column:1;grid-row:1;width:24px;height:18px;margin:0;align-self:center;justify-self:start}
#opts .acc-body li>span{grid-column:2;grid-row:1;font-size:14px;line-height:1.35;min-width:0;align-self:center;display:flex;align-items:center}
#opts .opt-desc{grid-column:2;grid-row:2;width:auto!important;margin:0!important;font-size:12px!important;line-height:1.3!important;font-style:normal;color:rgba(44,36,27,.62)!important}
#opts .opt-price{grid-column:3;grid-row:1;margin:0!important;font-size:14px;line-height:1.35;white-space:nowrap;align-self:center}

/* 4. Отзывы: геометрия шапки и звёзд как в Figma */
.rev-c{border-radius:20px;padding:20px 20px 40px;height:280px;gap:15px}
.rev-top{height:40px;min-height:40px;gap:20px;margin:0;align-items:center}
.ava{flex:0 0 40px;width:40px;height:40px}
.stars{display:block;width:136px;height:23px;margin:0;object-fit:contain;object-position:left center}
.rev-txt{margin:0}
.rev-more{margin:0}

@media (max-width:1024px){
  .acc-grid{grid-template-columns:1fr;gap:20px}
  .acc-col{gap:20px}
}
@media (max-width:560px){
  .swatches{left:17px;bottom:17px;gap:12px}
  .swatches i{flex-basis:18px;width:18px;height:18px;border-color:rgba(252,249,239,.32);box-shadow:none}
  .acc-grid{display:flex;flex-direction:column;gap:15px}
  .acc-col{width:100%;gap:15px}
  #opts .acc-body li{grid-template-columns:24px minmax(0,1fr);padding:10px 0}
  #opts .opt-price{grid-column:2;grid-row:3;justify-self:start;margin-top:2px!important}
  .rev-c{padding:20px 20px 8px;gap:0}
  .rev-top{gap:20px;margin:0}
  .stars{width:136px;height:23px;margin:12px 0 0}
  .rev-txt{margin-top:16px}
  .rev-more{margin-top:14px}
}


/* ===================== v8: текст комплектации ===================== */
.pd-box-ttl{font-size:22px;line-height:1.3;margin-bottom:22px}
.pd-inc li{font-size:16px;line-height:1.45}


/* ===================== v10: фон строго по Figma ===================== */
html,body{background:#FCF9EF}
.sec-sand{background:#F4F1E9}
.hero-card{
  background-color:#D9D9D9;
  background-image:url(../img/hero-bg.jpg);
  background-repeat:no-repeat;
  background-size:1999px 1116px;
  background-position:-399px -277px;
}
@media (max-width:1024px) and (min-width:561px){
  .hero-card{background-size:cover;background-position:60% 50%}
}
@media (max-width:560px){
  html,body{background:#FCF9EF}
  .hero-card{
    background-color:#2C241B;
    background-size:690px 385px;
    background-position:-341px 0;
    background-repeat:no-repeat;
  }
}


/* Полноширинные фоновые блоки на мобильной, как во фрейме 320 px */
@media (max-width:560px){
  .hero .wide,.sec-ben .wide,#contacts .wide{
    width:100%;margin-left:0;margin-right:0;padding-left:0;padding-right:0;
  }
}

@media (max-width:560px){
  .hero>.wide,.sec-ben>.wide,#contacts>.wide{
    width:320px!important;max-width:none!important;margin:0!important;padding:0!important;
  }
}

/* фон секций-«песочниц» (Почему выбирают нас и др.) на всю ширину мобильного экрана */
@media (max-width:560px){
  /* растягиваем фон секции на всю ширину окна, контент держим по центру */
  .sec-sand{
    width:100vw!important;position:relative;left:50%;right:50%;
    margin-left:-50vw!important;margin-right:-50vw!important;
  }
  .sec-sand .wrap{width:auto!important;max-width:320px;margin:0 auto;padding:0 10px}
}

/* hero и преимущества на мобиле: фото НЕ на всю ширину, а со скруглением 20px как остальные карточки */
@media (max-width:560px){
  .hero-card{border-radius:20px}
  .ben-card{border-radius:20px}
}


/* ===================== v11: вертикальный ритм и фоны по Figma ===================== */
.sec-head .h2{margin-top:15px}

@media (min-width:1025px){
  #calc{padding-bottom:70px}
  #catalog,#options,#why,#reviews,#delivery,#gallery,#faq{padding-top:60px}
}

/* Эти пары разделов находятся на одном фоне в Figma. */
.sec-ben,#contacts{background:#F4F1E9}

@media (max-width:560px){
  #calc{padding-bottom:38px}
  #catalog,#options,#why,#reviews,#delivery,#gallery,#faq{padding-top:40px}
  .sec-head .h2{margin-top:15px}
  .sec-ben,#contacts{background:#F4F1E9}
}

/* ================= LIGHTBOX ГАЛЕРЕИ ================= */
.lb{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;
  background:rgba(20,16,11,.86);padding:20px;box-sizing:border-box}
.lb.on{display:flex}
.lb img.lb-photo{max-width:92vw;max-height:86vh;border-radius:8px;box-shadow:0 20px 60px rgba(0,0,0,.5);user-select:none}
.lb-close{position:absolute;top:18px;right:22px;background:none;border:0;cursor:pointer;padding:8px;line-height:0}
.lb-close img{width:26px;height:26px;filter:invert(1)}
.lb-arrow{position:absolute;top:50%;transform:translateY(-50%);width:52px;height:52px;border-radius:50%;
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.3);cursor:pointer;
  display:flex;align-items:center;justify-content:center;transition:.15s}
.lb-arrow:hover{background:rgba(255,255,255,.3)}
.lb-arrow img{width:20px;height:20px}
.lb-prev{left:22px}
.lb-next{right:22px}
.lb-prev img{transform:rotate(180deg)}
.gal img{cursor:zoom-in}
@media (max-width:560px){
  .lb-arrow{width:40px;height:40px}
  .lb-prev{left:10px}.lb-next{right:10px}
}

/* ================= ГАЛЕРЕЯ: СТРАНИЦЫ И ПРОКРУТКА =================
   Фото разложены по «страницам» (по 8 штук). Страницы стоят в ряд внутри
   .gal-scroll и листаются стрелками, свайпом или точками. Пока фотографий
   не больше восьми, страница одна — стрелки и точки скрыты, и блок выглядит
   ровно так же, как раньше. Сетку самих фото задают правила .gal выше. */
.gal-box{position:relative}
.gal-scroll{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;
  scrollbar-width:none;-ms-overflow-style:none}
.gal-scroll::-webkit-scrollbar{display:none}
.gal-page{flex:0 0 100%;scroll-snap-align:start}
.gal-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;
  width:52px;height:52px;border-radius:50%;border:1px solid var(--line);
  background:rgba(255,255,255,.94);box-shadow:0 6px 20px rgba(20,16,11,.16);
  cursor:pointer;display:flex;align-items:center;justify-content:center;transition:.15s}
.gal-arrow:hover{background:#fff;box-shadow:0 8px 26px rgba(20,16,11,.22)}
.gal-arrow[hidden]{display:none}
.gal-arrow img{width:20px;height:20px;filter:invert(1)}
.gal-prev{left:-26px}
.gal-prev img{transform:rotate(180deg)}
.gal-next{right:-26px}
.gal-dots{display:flex;justify-content:center;gap:8px;margin-top:24px}
.gal-dots[hidden]{display:none}
.gal-dots button{width:9px;height:9px;padding:0;border:0;border-radius:50%;
  background:var(--line);cursor:pointer;transition:.15s}
.gal-dots button.on{width:26px;border-radius:5px;background:var(--green)}
@media (max-width:1160px){
  .gal-prev{left:6px}.gal-next{right:6px}
}
/* В fluid-режиме (браузер без поддержки zoom) .wrap уже 1160, а сетка галереи
   жёсткая — 4×260 + отступы. Даём колонкам тянуться, иначе страница уезжает
   вправо. */
@media (min-width:1025px){
  html.fluid .gal{grid-template-columns:repeat(4,1fr)}
  html.fluid .gal img{width:100%}
}
@media (max-width:560px){
  .gal-arrow{width:40px;height:40px}
  .gal-dots{margin-top:16px}
}

/* ============ v12: мобильная — фоны во всю ширину экрана ============
   Блоки со своим фоном — «Каталог», «Почему выбирают нас», «Доставка»,
   «Вопросы», «Преимущества», «Контакты» и тёмный подвал — должны красить фон
   от края до края, а не полосой в 320px со светлыми поля́ми по бокам.

   Приём стандартный: width:100vw + сдвиг на -50vw. Раньше он не работал из-за
   обрезки по горизонтали на body: колонка макета body{width:320px} с
   overflow-x:hidden становится «обрезающим боксом» и срезает всё, что выходит
   за 320px. Поэтому обрезку снимаем с body — она остаётся на html
   (html{overflow-x:hidden} выше), горизонтальной прокрутки по-прежнему нет. */
@media (max-width:560px){
  body{overflow-x:visible}
  .sec-sand,.sec-ben,#contacts,footer{
    width:100vw;position:relative;left:50%;
    margin-left:-50vw;margin-right:-50vw;
  }
  /* содержимое остаётся в той же колонке 320px, что и вся страница */
  .sec-sand>.wrap,.sec-ben>.wide,#contacts>.wide,footer>.wrap{
    width:320px!important;max-width:100%;
    margin-left:auto!important;margin-right:auto!important;
  }
}

/* ============ v12: мобильная — скругление 20px у блоков с фото ============
   .hero-card, .ben-card и .cn-card — скругление, как у остальных карточек.
   Одного border-radius не хватало: и градиент-подложка (::after), и тёмный
   блок с преимуществами внутри hero — это дети карточки, они красят свой фон
   поверх скруглённых углов, и углы выглядели прямыми. Обрезаем содержимое
   карточки по её же радиусу через overflow:hidden. */
@media (max-width:560px){
  .hero-card,.ben-card,.cn-card{border-radius:20px;overflow:hidden}
}

/* Понятная кнопка возврата со страницы товара */
.pd-back{display:inline-flex;align-items:center;min-height:44px;margin:0 0 12px;padding:0 14px;border:1px solid var(--line);border-radius:12px;color:var(--dark);background:var(--cream);text-decoration:none;font-size:15px;font-weight:600;transition:.15s}
.pd-back:hover{color:var(--green);border-color:var(--green)}
.pd-back:focus-visible{outline:2px solid var(--green);outline-offset:3px}

/* ============ v13: возврат в каталог без вспышки hero ============
   При переходе со страницы товара на index.html#catalog браузер успевал
   нарисовать верх главной (большое фото hero) и только потом прыгал к
   каталогу. Логика в assets/js/nav.js, здесь только оформление. */

/* Плавная проявление страницы — переходы между каталогом, товаром и
   оформлением перестают быть резкими. */
@keyframes dpFadeIn{from{opacity:0}to{opacity:1}}
body{animation:dpFadeIn .22s ease-out both}

/* Пока nav.js не поставил страницу на нужное место — не показываем
   содержимое. Фон body прокрашивает всю страницу и при visibility:hidden,
   поэтому виден спокойный фон, а не белая вспышка. animation:none нужна,
   чтобы проявка не «сгорела» вхолостую пока страница скрыта: после
   снятия класса анимация запускается заново. */
html.nav-boot{scroll-behavior:auto!important}
html.nav-boot body{visibility:hidden;animation:none}

/* Клики по меню внутри главной (Каталог, Отзывы, Вопросы…) — плавный
   скролл вместо мгновенного прыжка. */
html{scroll-behavior:smooth}
#catalog,#options,#why,#calc,#reviews,#delivery,#gallery,#faq,#contacts{scroll-margin-top:12px}

/* Уважаем системную настройку «уменьшить анимацию». */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  body{animation:none}
}
