/* Карлсон, myagkaya-mebel-dlya-horeca: стили холста Claude Design один в один (+ правила из <helmet> холста). Общие стили в k.css и page.css. */
body { margin: 0; background: #0B232D; }
html { scroll-behavior: smooth; }

/* Карлсон, страницы мягкой мебели. Дополняет home.css и page.css теми же токенами. */

/* логотип кириллицей (решение 06.10): картинка вместо латинского знака */
.logo img { display: block; height: 24px; width: auto; }
.ft-logo img { display: block; width: 100%; height: auto; opacity: .16; }
.hero-tag svg, .req-h svg { fill: var(--red); }
.hero-tag svg { width: 31px; height: 20px; }
.lh-mark svg { width: 100%; height: auto; fill: none; stroke: currentColor; stroke-width: 1px; vector-effect: non-scaling-stroke; }

/* ---------- первый экран: мозаика из зала и двух изделий ---------- */
.mh { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); grid-template-rows: 300px 300px; gap: 12px; }
.mh figure { position: relative; margin: 0; overflow: hidden; background: var(--ti); }
.mh img { width: 100%; height: 100%; object-fit: cover; }
.mh .a { grid-row: 1 / 3; }
.mh .st { background: var(--white); }
.mh .st img { object-fit: contain; padding: 18px; }
.mh .tag { position: absolute; left: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; background: var(--white); font-size: 13px; line-height: 1.3; }
.mh .tag b { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--corten); }
.mh-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- изделия ---------- */
.item .ph.studio { background: var(--white); }
.item .ph.studio img { object-fit: contain; padding: 20px; }
.item .ph.tall img { object-position: center 60%; }
.item .p { font-size: 15px; line-height: 1.5; }
.item .btn.on { background: var(--steel); color: var(--white); border-color: var(--steel); }
.items-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.items-foot .p { max-width: 720px; }

/* ---------- ткани ---------- */
.fab { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 24px; }
.fab-sw { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.15fr); gap: 12px; }
.sw { position: relative; margin: 0; height: 360px; overflow: hidden; background: var(--white); }
.sw img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.sw:hover img { transform: scale(1.05); }
.sw figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; background: var(--white); }
.sw figcaption b { font-size: 16px; font-weight: 500; }
.sw figcaption span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.sw-cta { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 28px; background: var(--steel); color: var(--white); }
.sw-cta .disp { font-size: 34px; line-height: .95; }
.sw-cta p { margin: 0; color: #C3CED3; font-size: 15px; line-height: 1.5; }
.sw-cta .btn { align-self: flex-start; }
.crit { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.cr { display: flex; flex-direction: column; gap: 12px; padding: 24px 22px 26px 0; }
.cr + .cr { padding-left: 22px; border-left: 1px solid var(--line); }
.cr .n { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--corten); }
.cr h3 { margin: 0; font-size: 21px; font-weight: 500; line-height: 1.25; }
.cr p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.cr .chip { align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; gap: 8px; }
.cr .chip i { width: 12px; height: 12px; border: 1px solid currentColor; flex: none; }
.cr .chip.on i { background: var(--red); border-color: var(--red); }

/* ---------- один подрядчик ---------- */
.one-bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; background: var(--white); }
.one-bar > div { display: flex; flex-direction: column; gap: 8px; padding: 26px 28px; }
.one-bar > div + div { border-left: 1px solid var(--line); }
.one-bar .disp { font-size: 30px; line-height: 1; }
.one-bar .p { font-size: 15px; }
.one-links { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 28px; }
.fac .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.fac .meta span { padding: 6px 10px; border: 1px solid var(--line); font-size: 13px; }

/* ---------- подбор ---------- */
.qsteps.s6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.qs .qn { margin-right: 6px; }
.qhint { margin: -14px 0 18px; font-size: 14px; color: var(--muted); }
.qsub { margin: 26px 0 12px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.qform .fdz { grid-column: 1 / -1; }

/* ---------- объекты ---------- */
.og { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.oc { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.oc .ophoto { height: 420px; }
.oc:hover .ophoto img { transform: scale(1.05); }
.oc .ometa { flex-direction: column; gap: 6px; align-items: flex-start; }
.oc .ometa .p { font-size: 14px; line-height: 1.45; }
.oc .go { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.o-note { margin: 28px 0 0; font-size: 14px; color: var(--muted); max-width: 760px; }

@container k (min-width: 821px) and (max-width: 1200px) {
  .mh { grid-template-rows: 240px 240px; }
  .fab-sw { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sw-cta { grid-column: 1 / -1; }
  .crit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cr:nth-child(3) { padding-left: 0; border-left: 0; }
  .cr:nth-child(n+3) { border-top: 1px solid var(--line); }
  .og { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- телефон ---------- */
@container k (max-width: 820px) {
  .logo img { height: 18px; }
  .mh { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: 150px 150px; gap: 8px; }
  .mh .st img { padding: 8px; }
  .mh .tag { left: 8px; bottom: 8px; padding: 7px 9px; font-size: 11px; }
  .mh .tag b { font-size: 9px; }
  .items-foot { margin-top: 24px; }
  .items-foot .btn { align-self: stretch; }
  .fab { display: block; }
  .fab-sw { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .sw { height: 220px; }
  .sw figcaption { left: 8px; right: 8px; bottom: 8px; padding: 8px 10px; }
  .sw figcaption b { font-size: 14px; }
  .sw figcaption span { display: none; }
  .sw-cta { grid-column: 1 / -1; padding: 22px 20px; }
  .sw-cta .disp { font-size: 26px; }
  .sw-cta .btn { align-self: stretch; }
  .crit { grid-template-columns: 1fr; margin-top: 28px; }
  .cr, .cr + .cr { padding: 20px 0 22px; border-left: 0; }
  .cr + .cr { border-top: 1px solid var(--line); }
  .cr h3 { font-size: 19px; }
  .one-bar { grid-template-columns: 1fr; margin-top: 24px; }
  .one-bar > div { padding: 20px; }
  .one-bar > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .one-bar .disp { font-size: 24px; }
  .qsteps.s6 { gap: 4px; margin-bottom: 22px; }
  .qsteps.s6 .qs { font-size: 11px; }
  .qsteps.s6 .qs .qt { display: none; }
  .og { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -20px; padding: 0 20px 6px; scrollbar-width: none; }
  .og::-webkit-scrollbar { display: none; }
  .oc { flex: 0 0 78%; scroll-snap-align: start; }
  .oc .ophoto { height: 300px; }
}

/* ===== Продающие блоки мягкой мебели (06.10): форма на первом экране, боль и выгода, цифры фабрики, кейсы с цифрами ===== */

/* форма на первом экране */
.hq { margin-top: 4px; background: var(--white); padding: 22px 22px 18px; max-width: 620px; box-shadow: 0 30px 60px -40px rgba(11,35,45,.45); border-top: 3px solid var(--red); }
.hq-t { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.hq-t b { font-size: 17px; font-weight: 600; }
.hq-t span { font-size: 13px; color: var(--muted); }
.hq-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.hq .inp { height: 48px; font-size: 16px; }
.hq .btn { min-height: 48px; white-space: nowrap; }
.hq .chk { margin-top: 12px; font-size: 12px; }
.hq .ferr { margin: 10px 0 0; font-size: 13px; color: var(--corten); }
.hq-ok { display: flex; gap: 14px; align-items: flex-start; }
.hq-ok .ok { display: grid; place-items: center; width: 40px; height: 40px; flex: none; background: var(--steel); color: var(--white); }
.hq-ok p { margin: 4px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.hq-ok b { font-size: 17px; font-weight: 600; }
.hmsg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.hmsg a { color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
.hmsg a:hover { border-color: var(--red); }

/* боль и выгода */
.pain { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--white); }
.pn > div { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.pn .was { border-right: 1px solid var(--line2); }
.pn .lbl { font-size: 11px; }
.pn .was .lbl { color: var(--muted); }
.pn .now .lbl { color: var(--corten); }
.pn h3 { margin: 0; font-size: 19px; font-weight: 500; line-height: 1.3; }
.pn .was h3 { color: var(--muted); font-weight: 400; }
.pn p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.pain-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }

/* цифры фабрики */
.fx { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.fx > div { padding: 22px 20px 26px 0; display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid var(--line); }
.fx > div:not(:nth-child(4n+1)) { padding-left: 20px; border-left: 1px solid var(--line); }
.fx .disp { font-size: 52px; line-height: .95; letter-spacing: -.04em; white-space: nowrap; }
.fx .disp small { font-size: 18px; letter-spacing: 0; margin-left: 4px; }
.fx .p { font-size: 14px; line-height: 1.45; max-width: 260px; }
.fx-ph { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; margin-bottom: 40px; }
.fx-ph figure { position: relative; margin: 0; height: 340px; overflow: hidden; background: var(--ti); }
.fx-ph img { width: 100%; height: 100%; object-fit: cover; }
.fx-ph figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--white); padding: 7px 10px; }

/* кейсы с цифрами */
.cn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 40px; }
.cnc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); background: var(--steel); color: var(--white); text-decoration: none; min-height: 300px; }
.cnc .ph { position: relative; overflow: hidden; background: #163542; }
.cnc .ph img { width: 100%; height: 100%; object-fit: cover; }
.cnc .bd { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 12px; }
.cnc .lbl { color: #9FB1B9; }
.cnc .big { font-size: 56px; line-height: .9; letter-spacing: -.04em; }
.cnc .big small { display: block; font-size: 16px; letter-spacing: 0; margin-top: 8px; color: #C3CED3; font-weight: 400; }
.cnc .t { font-size: 20px; font-weight: 500; line-height: 1.25; }
.cnc p { margin: 0; color: #C3CED3; font-size: 14.5px; line-height: 1.5; }
.cnc .go { margin-top: auto; display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 500; color: var(--white); }
.cnc.solo { grid-template-columns: 1fr; }
.cnc.solo .bd { justify-content: flex-start; }
.cnc.red { background: var(--corten); }
.cnc.red .lbl, .cnc.red p, .cnc.red .big small { color: #F1D3D0; }

/* ещё по теме: шесть ссылок в три колонки */
.rel.r3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rel.r3 a:nth-child(3n+1) { padding-left: 0; border-left: 0; }

@container k (min-width: 821px) and (max-width: 1200px) {
  .pain { grid-template-columns: 1fr; }
  .fx { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx > div:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
  .fx > div:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
  .cn { grid-template-columns: 1fr; }
}

@container k (max-width: 820px) {
  .hq { padding: 18px 16px 16px; }
  .hq-row { grid-template-columns: 1fr; gap: 6px; }
  .hq .btn { width: 100%; margin-top: 8px; }
  .pain { grid-template-columns: 1fr; gap: 10px; }
  .pn { grid-template-columns: 1fr; }
  .pn > div { padding: 18px 18px 20px; }
  .pn .was { border-right: 0; border-bottom: 1px solid var(--line2); padding-bottom: 14px; }
  .pn h3 { font-size: 17px; }
  .pain-cta .btn { flex: 1 1 100%; }
  .fx { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx > div { padding: 16px 12px 18px 0; }
  .fx > div:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
  .fx > div:nth-child(2n) { padding-left: 12px; border-left: 1px solid var(--line); }
  .fx .disp { font-size: 36px; }
  .fx .disp small { font-size: 14px; }
  .fx .p { font-size: 13px; }
  .fx-ph { grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 28px; }
  .fx-ph figure { height: 200px; }
  .fx-ph figure:first-child { grid-column: 1 / -1; height: 240px; }
  .cn { grid-template-columns: 1fr; gap: 10px; margin-bottom: 28px; }
  .cnc { grid-template-columns: 1fr; min-height: 0; }
  .cnc .ph { height: 220px; }
  .cnc .bd { padding: 20px 18px 22px; }
  .cnc .big { font-size: 44px; }
  .rel.r3 { grid-template-columns: 1fr; }
}

/* список объектов по именам */
.nlist { margin-top: 48px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; border-top: 1px solid var(--ink); padding-top: 22px; }
.nlist .nl-h { grid-column: 1 / 4; display: flex; flex-direction: column; gap: 10px; }
.nlist .nl-h .p { font-size: 14px; max-width: 260px; }
.nlist ul { grid-column: 4 / 13; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nlist li { padding: 9px 14px; border: 1px solid var(--line); background: var(--white); font-size: 14px; line-height: 1.3; }
.nlist li small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
@container k (max-width: 820px) {
  .nlist { display: block; margin-top: 32px; }
  .nlist ul { margin-top: 16px; gap: 6px; }
  .nlist li { font-size: 13px; padding: 8px 10px; }
}

.item .ph.top img { object-position: center 20%; }

@container k (max-width: 820px) {
  .pn .was p { display: none; }
  .pn .was { padding-bottom: 12px; }
  .pn .was h3 { font-size: 15px; }
}

.cnc, .cnc .big, .cnc .t { color: var(--white); }
/* аудит 06.10: кнопка «Попросить образцы» в тёмной плашке «Ткани» была белой на белом */
.kw .sw-cta .btn.btn-white { background: #FFFFFF; color: #0B232D; border-color: #FFFFFF; }
.kw .sw-cta .btn.btn-white:hover { background: #FBEDEB; color: #0B232D; }
