/* Карлсон, divany-i-kresla-po-eskizu: стили холста Claude Design один в один (+ правила из <helmet> холста). Общие стили в k.css и page.css. */
body { margin: 0; background: #0B232D; }
html { scroll-behavior: smooth; }
.pin.pa { left: 66%; top: 22%; }
.pin.pb { left: 42%; top: 47%; }
.pin.pc { left: 20%; top: 76%; }

/* Карлсон, страница «Диваны и кресла по эскизу» (/divany-i-kresla-po-eskizu/). Дополняет home.css и page.css, те же токены и сетка. */

/* логотип на кириллице (06.10): знак и надпись «КАРЛСОН» */
.logo svg { height: 24px; }

/* первый экран: кресло с точками «что внутри» */
.hc-stage { position: relative; aspect-ratio: 1 / 1; background: #FFFFFF; overflow: hidden; border-bottom: 1px solid var(--line); }
.hc-stage img { width: 100%; height: 100%; object-fit: contain; padding: 30px; }
.hc-tag { position: absolute; left: 16px; top: 16px; background: var(--pink); padding: 7px 10px; }
.kw .pin { position: absolute; z-index: 2; width: 48px; height: 48px; margin: -24px 0 0 -24px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .94); box-shadow: 0 8px 24px rgba(11, 35, 45, .28); display: grid; place-items: center; cursor: pointer; transition: background .25s, transform .25s; }
.kw .pin:hover { transform: scale(1.08); }
.pin i { width: 12px; height: 12px; border-radius: 999px; background: var(--red); transition: background .25s; }
.pin::after { content: ''; position: absolute; inset: -7px; border-radius: 999px; border: 1px solid rgba(254, 55, 37, .55); animation: pinp 2.2s ease-out infinite; }
.kw .pin.on { background: var(--steel); }
.pin.on i { background: #FFFFFF; }
.pin.on::after { animation: none; border-color: transparent; }
@keyframes pinp { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.hc-b { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 14px; }
.hc-b .seg { align-self: flex-start; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.hc-b .disp { font-size: 26px; line-height: 1; }
.hc-b .p { font-size: 15px; line-height: 1.5; min-height: 68px; }

/* 01 с чем приходят */
.starts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.st { background: var(--white); padding: 34px 32px 36px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.st-ico { display: grid; place-items: center; width: 64px; height: 64px; background: var(--pink); color: var(--steel); }
.st-ico .ico { width: 30px; height: 30px; stroke-width: 1.4; }
.st .lbl { color: var(--corten); }
.st .disp { font-size: 30px; line-height: 1; }
.st .p { font-size: 16px; line-height: 1.55; }
.st-f { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* 02 материалы: студийный кадр каркаса целиком */
.rimg.fitw { background: #FFFFFF; }
.rimg.fitw img { box-sizing: border-box; object-fit: contain; padding: 40px 32px 40px calc(38.9% + 32px); }

/* 04 цифры */
.eq.eq5 .eqi { grid-column: span 2; }
.eq.eq5 .eqi.wide { grid-column: span 4; }

/* 05 модели */
.mhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.mhead .seg { background: var(--white); }
.seg button small { margin-left: 6px; font-size: 11px; opacity: .7; }
.mgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mc { margin: 0; background: var(--white); display: flex; flex-direction: column; }
.mc .ph { aspect-ratio: 1 / 1; overflow: hidden; background: #FFFFFF; }
.mc .ph img { width: 100%; height: 100%; object-fit: contain; padding: 22px; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.mc:hover .ph img { transform: scale(1.05); }
.mc figcaption { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; border-top: 1px solid var(--line2); }
.mc figcaption b { font-weight: 500; font-size: 16px; line-height: 1.3; }
.mc figcaption .lbl { color: var(--muted); font-size: 11px; }
.mnote { margin-top: 28px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* 06 объекты */
.objs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 290px; gap: 16px; }
.oc { position: relative; overflow: hidden; display: block; text-decoration: none; color: var(--ink); background: var(--ti); }
.oc img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.oc:hover img { transform: scale(1.05); }
.oc.o1 { grid-column: 1 / 8; grid-row: span 2; }
.oc.o2 { grid-column: 8 / 13; grid-row: span 2; }
.oc.o3 { grid-column: 1 / 6; grid-row: span 2; }
.oc.o4 { grid-column: 6 / 13; grid-row: span 2; }
.oc-pl { position: absolute; left: 16px; bottom: 16px; width: 380px; max-width: calc(100% - 32px); background: var(--white); padding: 18px 22px 20px; display: flex; flex-direction: column; gap: 8px; }
.oc-pl .lbl { color: var(--corten); }
.oc-pl .disp { font-size: 26px; line-height: .98; }
.oc-pl .p { font-size: 14px; line-height: 1.45; }
.oc-pl .go { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; margin-top: 4px; }
.oc-arr { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; background: var(--white); transition: background .3s, transform .45s; }
.oc:hover .oc-arr { background: var(--red); transform: rotate(45deg); }
.more-obj { margin-top: 56px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; border-top: 1px solid var(--ink); padding-top: 22px; }
.more-obj .lbl { grid-column: 1 / 4; }
.names { grid-column: 4 / 13; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.names li { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; line-height: 1.3; background: var(--white); }

/* 07 документы: копирование реквизитов */
.req .copied { color: var(--corten); }

/* форма: выбор изделий */
.fgrid .chips .chip { background: var(--white); }
.kw .chip.on { color: var(--white); }
.fhint { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- средние ширины ---------- */
@container k (min-width: 821px) and (max-width: 1200px) {
  .mgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .st { padding: 28px 24px 30px; }
  .st .disp { font-size: 26px; }
  .eq.eq5 .eqi .disp { font-size: 48px; }
}

/* ---------- телефон ---------- */
@container k (max-width: 820px) {
  .logo svg { height: 19px; }
  .hc-stage img { padding: 18px; }
  .hc-b { padding: 18px 16px 20px; }
  .hc-b .disp { font-size: 22px; }
  .hc-b .p { min-height: 0; }
  .kw .pin { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .starts { grid-template-columns: 1fr; gap: 10px; }
  .st { padding: 24px 20px 26px; gap: 14px; }
  .st-ico { width: 52px; height: 52px; }
  .st .disp { font-size: 24px; }
  .st .p { font-size: 15px; }
  .rimg.fitw img { padding: 12px 16px; }
  .eq.eq5 .eqi, .eq.eq5 .eqi.wide { grid-column: span 1; }
  .eq.eq5 .eqi.wide { grid-column: 1 / -1; }
  .mhead { flex-direction: column; align-items: stretch; gap: 18px; }
  .mhead .seg { overflow-x: auto; scrollbar-width: none; }
  .mhead .seg button { flex: none; white-space: nowrap; }
  .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .mc .ph img { padding: 10px; }
  .mc figcaption { padding: 12px 12px 14px; }
  .mc figcaption b { font-size: 14px; }
  .mnote .btn { flex: 1 1 100%; }
  .objs { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 12px; }
  .oc.o1, .oc.o2, .oc.o3, .oc.o4 { grid-column: auto; grid-row: auto; height: 440px; }
  .oc-pl { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; padding: 16px 18px; }
  .oc-pl .disp { font-size: 22px; }
  .oc-arr { width: 44px; height: 44px; top: 12px; right: 12px; }
  .more-obj { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
  .names li { font-size: 13px; padding: 8px 12px; }
}

/* ===== Продающие блоки мягкой мебели (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; }
}
@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); }

.mc .ph.cv img { object-fit: cover; padding: 0; }
.mc:hover .ph.cv img { transform: scale(1.04); }
