/* Ворсцех — швейцарская/редакционная система. Белый, чёрный, один красный. */
:root {
  --ink: #0b0b0b;
  --paper: #ffffff;
  --grey: #f4f4f1;
  --mute: #5f5f5b;
  --line: #d9d9d4;
  --red: #E63B2E;
  --red-d: #c42c20;
  --gut: 16px;
  --col: 16px;
  --f: "Golos Text", "Golos Text fb", "Golos UI", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --gut: 32px; --col: 24px; } }
@media (min-width: 1280px) { :root { --gut: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.55 var(--f); font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 12px 16px; z-index: 100; }
.skip:focus { top: 8px; }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 var(--gut); }

/* ───── Header ───── */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--ink); }
.top-in { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand-mark { width: 30px; height: 30px; transition: transform .5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-90deg); }
.brand-word { font-weight: 800; font-size: 22px; letter-spacing: -.045em; line-height: 1; }
.brand-word b { font-weight: 800; color: var(--red); }
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 12px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.top-phone { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 16px; min-height: 44px; font-variant-numeric: tabular-nums; }
.top-phone svg { width: 18px; height: 18px; color: var(--red); }
@media (max-width: 420px) { .top-phone span { font-size: 14px; } }
@media (min-width: 1024px) { .nav { display: flex; } .top-phone { margin-left: 12px; } }

/* ───── Buttons ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border: 2px solid var(--ink); border-radius: 0;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; background: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn span[aria-hidden] { transition: transform .3s var(--ease); display: inline-block; }
.btn:hover span[aria-hidden] { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); color: #fff; font-variant-numeric: tabular-nums; }
.btn-ink:hover { background: var(--red); border-color: var(--red); }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.btn-red:hover { background: var(--ink); border-color: var(--ink); }
.btn-red:disabled { opacity: .35; cursor: not-allowed; }
.btn-onink { border-color: #fff; color: #fff; }
.btn-onink:hover { background: #fff; color: var(--ink); }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--ink); font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background .2s, color .2s;
}
.chip:hover { background: var(--ink); color: #fff; }
.chip-ink { border-color: rgba(255,255,255,.5); }
.chip-ink:hover { background: #fff; color: var(--ink); }
.msg-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ───── Hero ───── */
.hero { border-bottom: 1px solid var(--ink); }
.hero-grid { display: grid; gap: 40px; padding-top: 32px; padding-bottom: 40px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px; }
.sq { width: 10px; height: 10px; background: var(--red); flex: none; }
h1 { font-size: clamp(42px, 10.5vw, 92px); line-height: .94; letter-spacing: -.045em; font-weight: 800; }
.h1-sub { display: block; font-size: clamp(20px, 4.6vw, 30px); line-height: 1.15; letter-spacing: -.02em; font-weight: 500; color: var(--mute); margin-top: 18px; max-width: 26ch; position: relative; padding-top: 18px; }
.h1-sub::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 64px; background: var(--red); transform-origin: left; animation: grow .9s .2s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.hero-lead { font-size: 18px; max-width: 46ch; margin-top: 24px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 32px 0 0; border-top: 1px solid var(--ink); }
.facts > div { padding: 14px 12px 0 0; border-right: 1px solid var(--line); }
.facts > div + div { padding-left: 12px; }
.facts > div:last-child { border-right: 0; }
.facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); font-weight: 600; min-height: 2.6em; }
.facts dd { margin: 4px 0 0; font-weight: 800; font-size: clamp(30px, 8vw, 52px); letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.facts small { display: block; font-size: 13px; letter-spacing: 0; font-weight: 600; color: var(--mute); margin-top: 6px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }
.hero-note { font-size: 14px; color: var(--mute); margin-top: 14px; }

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--col); padding-top: 56px; padding-bottom: 64px; align-items: start; }
  .hero-copy { grid-column: 1 / span 7; padding-right: 16px; }
  .calc { grid-column: 8 / span 5; position: sticky; top: 84px; }
}

/* ───── Calculator ───── */
.calc { border: 2px solid var(--ink); background: #fff; box-shadow: 10px 10px 0 var(--ink); margin-right: 10px; }
.calc-head { display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: #fff; padding: 14px 18px; }
.calc-head h2 { font-size: 17px; letter-spacing: -.01em; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.7); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.calc-body { padding: 4px 18px 18px; }
.rugs { display: grid; }
.rug { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 16px 0; min-width: 0; }
.rug.new { animation: slidein .45s var(--ease); }
@keyframes slidein { from { opacity: 0; transform: translateY(-8px); } }
.rug legend { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0; margin-bottom: 10px; float: left; }
.rug legend + * { clear: both; }
.rug-n { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.rug-n::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--red); margin-right: 8px; vertical-align: 1px; }
.rug-x { width: 44px; height: 44px; margin: -12px -12px -12px 0; border: 0; background: none; font-size: 24px; line-height: 1; cursor: pointer; color: var(--mute); }
.rug-x:hover { color: var(--red); }
.dims { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: end; }
.dims-x { font-size: 22px; font-weight: 300; padding-bottom: 10px; }
.rug-sum { grid-column: 1 / -1; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; text-align: right; color: var(--mute); }
@media (min-width: 420px) { .dims { grid-template-columns: 1fr auto 1fr minmax(90px, auto); } .rug-sum { grid-column: auto; padding-bottom: 12px; } }

.fld { display: grid; gap: 6px; min-width: 0; }
.fld-l { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; color: var(--mute); }
.fld input, .fld select, .fld textarea {
  width: 100%; min-height: 48px; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0;
  background: transparent; padding: 8px 0; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums;
  transition: border-color .2s, background .2s; appearance: none; -webkit-appearance: none;
}
.fld select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 28px; cursor: pointer; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--red); background: rgba(230,59,46,.04); }
.fld input::placeholder, .fld textarea::placeholder { color: #a6a6a0; font-weight: 400; }
.fld textarea { resize: vertical; font-size: 16px; font-weight: 400; }

.segs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; border: 1px solid var(--ink); }
.seg { position: relative; cursor: pointer; }
.seg + .seg { border-left: 1px solid var(--ink); }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 6px 8px; font-size: 13px; font-weight: 600; line-height: 1.15; transition: background .2s, color .2s; }
.seg em { font-style: normal; font-size: 12px; font-weight: 500; color: var(--mute); margin-top: 2px; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:checked + span em { color: rgba(255,255,255,.7); }
.seg input:focus-visible + span { outline: 2px solid var(--red); outline-offset: -4px; }
.seg:hover span { background: var(--grey); }
.seg:hover input:checked + span { background: var(--ink); }
.minis { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; }
.mini, .tick { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-size: 14px; font-weight: 500; }
.mini input, .tick input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; border: 2px solid var(--ink); border-radius: 0; display: grid; place-items: center; flex: none; cursor: pointer; transition: background .15s; }
.mini input::after, .tick input::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s var(--ease); }
.mini input:checked, .tick input:checked { background: var(--red); border-color: var(--red); }
.mini input:checked::after, .tick input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.tick em, .furn-opt em { font-style: normal; color: var(--mute); }
.tick.off { opacity: .35; }
.add-rug { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 0; font-weight: 700; font-size: 15px; cursor: pointer; text-align: left; }
.add-rug span { display: grid; place-items: center; width: 26px; height: 26px; border: 2px solid var(--ink); font-size: 18px; line-height: 1; transition: background .2s, color .2s, transform .3s var(--ease); }
.add-rug:hover span { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(90deg); }
.calc-row { display: grid; gap: 4px 16px; padding: 14px 0 6px; align-items: end; }
@media (min-width: 420px) { .calc-row { grid-template-columns: 1fr auto; } }
.calc-total { border-top: 2px solid var(--ink); margin-top: 10px; padding-top: 12px; }
.ct-lines p { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--mute); padding: 3px 0; }
.ct-lines b { color: var(--ink); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ct-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 8px; }
.ct-label { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.ct-label small { text-transform: none; letter-spacing: 0; color: var(--mute); font-weight: 500; font-size: 14px; }
#ct-total, #ft-total { font-size: clamp(34px, 9vw, 48px); font-weight: 800; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.pulse { animation: pulse .5s var(--ease); }
@keyframes pulse { 40% { color: var(--red); } }
.ct-note { font-size: 13px; color: var(--mute); margin-top: 10px; }
.calc-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 16px; }
.share { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.share-l { grid-column: 1 / -1; font-size: 13px; color: var(--mute); }
.share .chip { justify-content: center; background: none; color: inherit; font-family: inherit; cursor: pointer; padding: 0 8px; }
.share .chip:hover { background: var(--ink); color: #fff; }
.rating-line a { color: var(--ink); font-weight: 700; text-decoration-color: var(--red); text-underline-offset: 3px; }
.rating-line a:hover { color: var(--red); }

/* ───── Ticker ───── */
.ticker { border-top: 1px solid var(--ink); overflow: hidden; background: var(--ink); color: #fff; }
.ticker-in { display: flex; width: max-content; animation: tick 48s linear infinite; }
.ticker span { padding: 14px 28px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; display: flex; align-items: center; gap: 28px; }
.ticker span::after { content: ""; width: 8px; height: 8px; background: var(--red); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ───── Sections ───── */
.sec { padding: 56px 0 64px; }
@media (min-width: 1024px) { .sec { padding: 96px 0 104px; } }
.sec-ink { background: var(--ink); color: #fff; }
.sec-grey { background: var(--grey); }
.sec-head { display: grid; gap: 8px; border-top: 2px solid currentColor; padding-top: 16px; margin-bottom: 40px; }
.sec-num { font-weight: 800; font-size: clamp(88px, 26vw, 200px); line-height: .78; letter-spacing: -.07em; font-variant-numeric: tabular-nums; margin-left: -.04em; }
.sec-ink .sec-num { color: #fff; }
.kicker { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--red); margin-bottom: 12px; }
.kicker::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.sec-title h2 { font-size: clamp(30px, 6.4vw, 56px); line-height: 1; letter-spacing: -.04em; font-weight: 800; max-width: 18ch; }
.sec-lead { font-size: 18px; margin-top: 20px; max-width: 60ch; color: var(--mute); }
.sec-ink .sec-lead { color: rgba(255,255,255,.72); }
@media (min-width: 1024px) {
  .sec-head { grid-template-columns: repeat(12, 1fr); column-gap: var(--col); margin-bottom: 64px; padding-top: 20px; }
  .sec-num { grid-column: 1 / span 4; }
  .sec-title { grid-column: 5 / span 8; padding-top: 6px; }
}

/* 01 Process */
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 4px 12px; padding: 20px 0; border-bottom: 1px solid var(--line); position: relative; }
.steps li::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--red); transition: width .6s var(--ease); }
.steps li:hover::before { width: 100%; }
.st-n { font-weight: 800; font-size: 15px; color: var(--red); font-variant-numeric: tabular-nums; padding-top: 4px; grid-row: span 3; }
.steps h3 { font-size: 22px; letter-spacing: -.025em; line-height: 1.15; }
.steps p { color: var(--mute); font-size: 16px; }
.st-t { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; justify-self: start; border: 1px solid var(--ink); padding: 3px 8px; margin-top: 4px; }
@media (min-width: 1024px) {
  .steps li { grid-template-columns: repeat(12, 1fr); column-gap: var(--col); padding: 26px 0; align-items: baseline; }
  .st-n { grid-column: 1 / span 1; grid-row: auto; font-size: 18px; }
  .steps h3 { grid-column: 2 / span 3; font-size: 24px; }
  .steps p { grid-column: 5 / span 6; font-size: 17px; }
  .st-t { grid-column: 12; justify-self: end; margin-top: 0; }
}
.plate { margin: 48px 0 0; }
.plate svg { width: 100%; height: auto; border: 1px solid var(--ink); }
.plate .flow { animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -32; } }
.plate figcaption { display: flex; gap: 16px; font-size: 14px; color: var(--mute); margin-top: 12px; }
.plate figcaption span { font-weight: 700; color: var(--ink); white-space: nowrap; }

/* 02 Compare */
.cmp { border-top: 1px solid #fff; }
.cmp-row { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.cmp-row > span:first-child { font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.cmp-row > span:nth-child(2) { color: rgba(255,255,255,.55); font-size: 15px; padding-left: 26px; position: relative; }
.cmp-row > span:nth-child(2)::before { content: "—"; position: absolute; left: 0; }
.cmp-row > span:nth-child(3) { font-size: 16px; font-weight: 600; padding-left: 26px; position: relative; }
.cmp-row > span:nth-child(3)::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 12px; background: var(--red); }
.cmp-h { display: none; }
@media (min-width: 768px) {
  .cmp-row { grid-template-columns: 3fr 4.5fr 4.5fr; column-gap: var(--col); align-items: baseline; padding: 22px 0; }
  .cmp-h { display: grid; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.55); padding: 12px 0; }
  .cmp-h > span:first-child { font-size: 12px; font-weight: 600; }
  .cmp-h > span::before { display: none; }
  .cmp-h > span:nth-child(3) { color: var(--red); font-size: 12px; font-weight: 700; }
  .cmp-row > span:nth-child(2), .cmp-row > span:nth-child(3) { padding-left: 26px; }
  .cmp-h > span:nth-child(2), .cmp-h > span:nth-child(3) { padding-left: 26px; }
}

/* 03 Types */
.types { display: grid; border-top: 1px solid var(--ink); }
.type { padding: 28px 0; border-bottom: 1px solid var(--line); }
.type svg { width: 120px; height: 80px; color: var(--ink); margin-bottom: 18px; transition: transform .5s var(--ease); }
.type:hover svg { transform: translateX(6px); }
.type-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 10px; }
.type h3 { font-size: 22px; letter-spacing: -.025em; line-height: 1.15; }
.tag { font-size: 13px; font-weight: 700; white-space: nowrap; color: var(--red); font-variant-numeric: tabular-nums; }
.type p { color: var(--mute); font-size: 16px; }
@media (min-width: 768px) {
  .types { grid-template-columns: repeat(2, 1fr); }
  .type { padding: 32px 28px 36px 0; }
  .type:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line); }
}
@media (min-width: 1100px) {
  .types { grid-template-columns: repeat(3, 1fr); }
  .type, .type:nth-child(2n) { padding: 36px 28px 40px; border-left: 1px solid var(--line); }
  .type:nth-child(3n+1) { padding-left: 0; border-left: 0; }
}

/* 04 Prices */
.price-grid { display: grid; gap: 56px; }
@media (min-width: 1024px) { .price-grid { grid-template-columns: 5fr 7fr; column-gap: 56px; align-items: start; } }
.ptab-h { display: flex; align-items: center; gap: 14px; font-size: 24px; letter-spacing: -.03em; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.ptab-h span { display: grid; place-items: center; width: 36px; height: 36px; background: var(--red); color: #fff; font-size: 18px; flex: none; }
.tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; vertical-align: middle; }
.tbl th { font-weight: 500; padding-right: 16px; }
.tbl td { font-weight: 700; white-space: nowrap; text-align: right; }
.tbl thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); font-weight: 600; padding: 10px 0; }
.tbl thead th:not(:first-child) { text-align: right; }
.tbl tbody tr { transition: background .2s; }
.tbl tbody tr:hover { background: var(--grey); }
.tr-sep th, .tr-sep td { border-top: 2px solid var(--ink); }
.tr-group th { font-size: 12px !important; text-transform: uppercase; letter-spacing: .1em; color: var(--red); font-weight: 700 !important; padding-top: 22px !important; border-bottom: 1px solid var(--ink) !important; }
.tr-group:hover { background: none !important; }
.tbl-f td:last-child { width: 1%; padding-left: 14px; }
.tbl-f tr.picked th { font-weight: 700; }
.tbl-f tr.picked th::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--red); margin-right: 8px; vertical-align: 2px; }
.qty { display: inline-grid; grid-template-columns: 44px 36px 44px; align-items: center; border: 1px solid var(--ink); }
.qty button { height: 42px; border: 0; background: none; font-size: 20px; font-weight: 500; cursor: pointer; transition: background .15s, color .15s; }
.qty button:hover:not(:disabled) { background: var(--ink); color: #fff; }
.qty button:disabled { opacity: .25; cursor: default; }
.qty output { text-align: center; font-weight: 700; font-size: 16px; }
.price-why { margin-top: 32px; background: var(--grey); padding: 24px; }
.price-why h4 { font-size: 18px; margin-bottom: 12px; letter-spacing: -.02em; }
.price-why ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.price-why li { font-size: 15px; color: var(--mute); padding-left: 18px; position: relative; }
.price-why li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 2px; background: var(--red); }
.price-why b { color: var(--ink); }
.furn-opts { display: grid; gap: 8px 24px; padding: 18px 0 6px; align-items: center; }
.furn-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 500; }
@media (min-width: 600px) { .furn-opts { grid-template-columns: 1fr 1fr; } .fld-inline { grid-column: 1 / -1; } }
.leather { font-size: 14px; color: var(--mute); margin-top: 6px; }
.furn-total { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; border-top: 2px solid var(--ink); margin-top: 18px; padding-top: 14px; }
.furn-total small { display: block; font-size: 13px; color: var(--mute); margin-top: 4px; }

/* 05 Order */
.flow { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--ink); }
.flow li { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fl-n { font-weight: 800; font-size: 40px; letter-spacing: -.05em; line-height: 1; color: var(--red); font-variant-numeric: tabular-nums; min-width: 60px; }
.fl-t { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
@media (min-width: 900px) {
  .flow { grid-template-columns: repeat(5, 1fr); border-top: 0; }
  .flow li { flex-direction: column; gap: 40px; border-bottom: 0; border-top: 2px solid var(--ink); padding: 16px 20px 0 0; position: relative; }
  .flow li + li { padding-left: 20px; border-left: 1px solid var(--line); }
  .fl-n { font-size: 64px; }
}
.care { margin-top: 64px; }
.care h3 { font-size: clamp(24px, 4vw, 32px); letter-spacing: -.035em; max-width: 26ch; margin-bottom: 24px; }
.care-grid { display: grid; gap: 20px; }
.care-grid p { font-size: 16px; color: var(--mute); border-top: 1px solid var(--ink); padding-top: 14px; }
.care-grid b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 6px; letter-spacing: -.01em; }
@media (min-width: 768px) { .care-grid { grid-template-columns: repeat(2, 1fr); column-gap: var(--col); } }
@media (min-width: 1100px) { .care-grid { grid-template-columns: repeat(4, 1fr); } }

/* 06 Reviews */
.reviews { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.rev { margin: 0; padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 16px; align-content: start; }
.rev-n { font-weight: 800; font-size: 14px; color: var(--red); }
.rev blockquote { margin: 0; font-size: 19px; line-height: 1.45; letter-spacing: -.01em; position: relative; }
.rev blockquote::before { content: "«"; font-size: 64px; line-height: .6; font-weight: 800; color: var(--red); display: block; margin-bottom: 8px; }
.rev figcaption { display: flex; justify-content: space-between; align-items: center; }
.stars { display: inline-flex; gap: 4px; }
.stars i { width: 10px; height: 10px; background: var(--line); }
.stars i.on { background: var(--ink); }
.rating-line b { color: var(--ink); }
@media (min-width: 900px) {
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .rev { padding: 32px 28px 32px 0; border-bottom: 0; }
  .rev + .rev { padding-left: 28px; border-left: 1px solid var(--line); }
}

/* 07 Area */
.area-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .area-grid { grid-template-columns: 7fr 5fr; column-gap: 56px; align-items: start; } }
.tbl-area td { font-weight: 500; text-align: left; white-space: normal; font-size: 15px; padding-right: 10px; }
.tbl-area td:last-child { font-weight: 700; text-align: right; white-space: nowrap; padding-right: 0; }
.tbl-area thead th:not(:first-child) { text-align: left; }
.tbl-area thead th:last-child { text-align: right; }
.tbl-area th { font-weight: 700; }
.tr-main th, .tr-main td { background: var(--ink); color: #fff; }
.tr-main th { padding-left: 12px; }
.tr-main td:last-child { padding-right: 12px; }
.tbl-area tbody tr.tr-main:hover { background: none; }
@media (max-width: 560px) {
  .tbl-area thead th:nth-child(3), .tbl-area td:nth-child(3) { display: none; }
}
.addr { background: var(--ink); color: #fff; padding: 28px 24px; position: relative; overflow: hidden; }
.addr::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border: 28px solid var(--red); opacity: .9; }
.addr > * { position: relative; z-index: 1; }
.addr-k { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--red); font-weight: 700; }
.addr-big { font-size: clamp(34px, 8vw, 52px); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin-top: 14px; }
.addr-city { font-size: 20px; color: rgba(255,255,255,.7); margin-top: 6px; }
.sched { list-style: none; margin: 28px 0 28px; padding: 0; border-top: 1px solid rgba(255,255,255,.3); max-width: 300px; }
.sched li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.3); font-variant-numeric: tabular-nums; }

/* 08 FAQ */
.faq { border-top: 1px solid var(--ink); }
@media (min-width: 1024px) { .faq { margin-left: calc((100% + var(--col)) / 3); } }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 64px; padding: 14px 0; font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 18px; height: 18px; background: linear-gradient(var(--ink), var(--ink)) center/100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center/2px 100% no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); background: linear-gradient(var(--red), var(--red)) center/100% 2px no-repeat, linear-gradient(var(--red), var(--red)) center/2px 100% no-repeat; }
.faq summary:hover { color: var(--red); }
.faq details p { color: var(--mute); padding: 0 40px 22px 0; max-width: 64ch; }
.faq details[open] p { animation: slidein .35s var(--ease); }

/* 09 Lead */
.lead-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .lead-grid { grid-template-columns: 7fr 4fr; column-gap: 72px; } }
.lead { background: #fff; color: var(--ink); padding: 24px 18px; position: relative; }
@media (min-width: 600px) { .lead { padding: 36px; } }
.lf-grid { display: grid; gap: 22px 24px; }
@media (min-width: 600px) { .lf-grid { grid-template-columns: 1fr 1fr; } .fld-wide { grid-column: 1 / -1; } }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-foot { display: grid; gap: 14px; margin-top: 28px; align-items: center; }
@media (min-width: 600px) { .lead-foot { grid-template-columns: auto 1fr; gap: 24px; } }
.btn-big { min-height: 60px; font-size: 17px; padding: 0 32px; }
.agree { font-size: 13px; color: var(--mute); }
.b-busy { display: none; }
.lead[data-state="sending"] .b-idle { display: none; }
.lead[data-state="sending"] .b-busy { display: inline; }
.lead[data-state="sending"] button[type=submit] { opacity: .7; pointer-events: none; }
.states .s { display: none; margin-top: 18px; padding: 14px 16px; font-size: 15px; border-left: 4px solid var(--ink); background: var(--grey); animation: slidein .35s var(--ease); }
.lead[data-state="ok"] .s-ok { display: block; border-color: #1c8b4a; }
.lead[data-state="bad-phone"] .s-bad-phone, .lead[data-state="error"] .s-error { display: block; border-color: var(--red); background: rgba(230,59,46,.08); }
.lead[data-state="bad-phone"] input[name=phone] { border-color: var(--red); }
.quote { border: 2px solid var(--ink); margin-bottom: 26px; }
.quote-h { display: flex; justify-content: space-between; align-items: center; background: var(--red); color: #fff; padding-left: 14px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.quote-h button { width: 44px; height: 44px; border: 0; background: none; color: #fff; font-size: 22px; cursor: pointer; }
.quote pre { margin: 0; padding: 14px; font: 500 14px/1.6 var(--f); white-space: pre-wrap; font-variant-numeric: tabular-nums; }
.contact .c-k { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--red); font-weight: 700; margin: 0 0 10px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.3); }
.contact .c-k:not(:first-child) { margin-top: 28px; }
.c-phone { display: inline-block; font-size: clamp(28px, 7vw, 40px); font-weight: 800; letter-spacing: -.04em; text-decoration: none; font-variant-numeric: tabular-nums; line-height: 1.1; }
.c-phone:hover { color: var(--red); }
.c-v { color: rgba(255,255,255,.8); }

/* ───── Footer ───── */
.foot { background: #fff; border-top: 2px solid var(--ink); padding: 48px 0 0; font-size: 15px; }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: 2fr 1.4fr 1.4fr 1fr; column-gap: var(--col); } }
.foot-brand p { color: var(--mute); margin-top: 12px; max-width: 30ch; }
.f-k { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--mute); margin-bottom: 10px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--red); }
.foot p + p { margin-top: 10px; }
.f-links a { display: inline-block; padding: 6px 0; }
.foot-bottom { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 16px; padding-bottom: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.foot-bottom a { min-height: 44px; display: inline-flex; align-items: center; margin-top: -12px; }
.brand-inv .brand-mark { color: var(--ink); }

/* ───── Mobile bar ───── */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); background: #fff; padding-bottom: env(safe-area-inset-bottom); }
.mbar a, .mbar button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; }
.mbar-call { background: var(--red); color: #fff; }
.mbar-call svg { width: 18px; height: 18px; }
.mbar-write { background: #fff; color: var(--ink); }
.mbar-sheet { position: absolute; bottom: 100%; right: 0; left: 50%; background: #fff; border: 2px solid var(--ink); border-bottom: 0; display: grid; animation: slidein .25s var(--ease); }
.mbar-sheet[hidden] { display: none; }
.mbar-sheet a { justify-content: flex-start; padding: 0 16px; border-bottom: 1px solid var(--line); min-height: 52px; }
.mbar-sheet a:hover { background: var(--grey); }
body { padding-bottom: 58px; }
@media (min-width: 1024px) { .mbar { display: none; } body { padding-bottom: 0; } }

/* ───── Reveal ───── */
.js-rv .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-rv .rv.in { opacity: 1; transform: none; }
.js-rv .steps .rv:nth-child(2n), .js-rv .types .rv:nth-child(3n+2), .js-rv .reviews .rv:nth-child(2) { transition-delay: .08s; }
.js-rv .types .rv:nth-child(3n), .js-rv .reviews .rv:nth-child(3) { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .ticker-in { transform: none; }
}

/* ───── Правки после визуальной проверки ───── */
@media (min-width: 1024px) { .price-grid > :first-child { position: sticky; top: 96px; } }
.furn-opts { grid-template-columns: 1fr !important; }
.fld-inline { margin-top: 10px; }
@media (max-width: 599px) {
  .calc-actions { grid-template-columns: 1fr; }
  .tbl-f tbody tr:not(.tr-group) { display: grid; grid-template-columns: 1fr auto auto; align-items: center; column-gap: 12px; border-bottom: 1px solid var(--line); }
  .tbl-f tbody tr:not(.tr-group) > * { border-bottom: 0; padding-left: 0; padding-right: 0; }
  .tbl-f tbody tr.tr-group { display: block; }
  .tbl-f tbody tr.tr-group th { display: block; }
  .tbl-f thead { display: none; }
  .qty { grid-template-columns: 44px 30px 44px; }
}
[hidden]{display:none!important}

/* общий расчёт «ковры + мебель» */
.add-furn { text-decoration: none; color: var(--ink); flex-wrap: wrap; }
.xtag { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .02em; background: var(--red); color: #fff; padding: 3px 8px; margin-left: auto; }
.xtag[hidden] { display: none; }
.ct-lines p.ct-grp { color: var(--ink); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding-top: 8px; }
.ct-lines p.ct-grp:first-child { padding-top: 0; }
.ct-lines p.ct-grp a { color: var(--red); text-transform: none; letter-spacing: 0; font-weight: 600; }
.ft-lines { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.ft-lines[hidden] { display: none; }

/* perf: off-screen sections */
@supports (content-visibility:auto){html:not(.cv-off) main>section~section{content-visibility:auto;contain-intrinsic-size:auto 1000px}}

/* perf: metric-matched local fallbacks (less layout shift while web fonts load) */
@font-face{font-family:"Golos Text fb";src:local("Arial");font-weight:1 550;size-adjust:104.83%;ascent-override:93.49%;descent-override:20.99%;line-gap-override:0%;unicode-range:U+0020-007E,U+00A0-00FF,U+0401-045F,U+2013-2014,U+2018-201E,U+2022,U+2026,U+2116}
@font-face{font-family:"Golos Text fb";src:local("Arial Bold");font-weight:551 1000;size-adjust:102.08%;ascent-override:96.00%;descent-override:21.55%;line-gap-override:0%;unicode-range:U+0020-007E,U+00A0-00FF,U+0401-045F,U+2013-2014,U+2018-201E,U+2022,U+2026,U+2116}

/* правки 26.09: оверлок, самовывоз, мебель */
.tbl-sub { display: block; font-size: 13px; color: var(--mute); font-weight: 400; margin-top: 2px; }
.calc-row .tick-self { grid-column: 1 / -1; }
.furn-facts { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 14px; color: var(--mute); }
.furn-facts b { color: var(--ink); font-weight: 600; }
