/* «Мягкий угол» — химчистка диванов. Уютный интерьерный стиль. */
:root {
  --terra: #C8643B;
  --terra-d: #A94F2C;
  --terra-l: #E08A62;
  --beige: #F3E9DC;
  --beige-d: #E9DAC6;
  --cream: #FBF6EF;
  --sage: #8A9A7B;
  --sage-d: #5F6E52;
  --ink: #3A2A20;
  --ink-2: #6B5646;
  --brown: #5B3A29;
  --line: rgba(91, 58, 41, .14);
  --r-lg: 36px;
  --r-md: 24px;
  --r-sm: 16px;
  --shadow: 0 18px 40px -22px rgba(91, 58, 41, .45);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --serif: 'Prata', "Prata fb", Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', "Manrope fb", system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--beige); color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  overflow-x: hidden;
  padding-bottom: 76px;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; letter-spacing: -.005em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sage-d); outline-offset: 3px; border-radius: 10px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; }
.skip:focus { left: 8px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn svg.ico-fill, .ico-fill { fill: currentColor; stroke: none; }
.btn--main { background: var(--terra-d); color: #fff; box-shadow: 0 12px 24px -12px rgba(200, 100, 59, .8); }
.btn--main:hover { background: var(--terra-d); transform: translateY(-2px); }
.btn--main:hover svg { transform: translateX(4px); }
.btn--main:disabled { background: #CBB7A4; box-shadow: none; cursor: not-allowed; transform: none; }
.btn--ghost { background: rgba(255, 255, 255, .6); color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { background: #fff; transform: translateY(-2px); }
.btn--wide { width: 100%; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--terra);
  margin-bottom: 14px;
}
.kicker::before { content: ""; width: 22px; height: 10px; border-radius: 10px 10px 4px 4px; background: currentColor; opacity: .85; }
.kicker--light { color: #F6C9A9; }

.sec-head { margin-bottom: 36px; max-width: 760px; }
.sec-head h2 { font-size: clamp(30px, 6vw, 50px); }
.sec-head__sub { margin-top: 16px; color: var(--ink-2); font-size: 17px; }
.sec-head--split { max-width: none; display: grid; gap: 16px; }

section { padding: 72px 0; }

/* ── Header ── */
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(243, 233, 220, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.top.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(91, 58, 41, .6); }
.top__in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.logo__mark { width: 42px; height: 42px; flex: none; transition: transform .5s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.05); }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text b { font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--ink); }
.logo__text small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-top: 3px; }
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 14px; border-radius: 999px; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover { background: rgba(255, 255, 255, .7); color: var(--ink); }
.top__phone {
  margin-left: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; min-width: 44px; padding: 0 12px; border-radius: 999px;
  background: var(--ink); color: var(--beige); text-decoration: none; font-weight: 700; font-size: 15px;
  transition: background .2s, transform .2s;
}
.top__phone svg { width: 18px; height: 18px; fill: currentColor; }
.top__phone span { display: none; }
.top__phone:hover { background: var(--terra); transform: translateY(-1px); }

/* ── Hero ── */
.hero { padding: 36px 0 64px; position: relative; }
.hero__grid { display: grid; gap: 28px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; color: var(--sage-d); background: rgba(138, 154, 123, .16); padding: 8px 14px; border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 0 rgba(138, 154, 123, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(138, 154, 123, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(138, 154, 123, 0); } }
.hero h1 { font-size: clamp(38px, 10vw, 76px); margin: 20px 0 20px; line-height: 1.04; }
.hero h1 span { display: block; color: var(--terra); }
.hero__lead { font-size: 18px; color: var(--ink-2); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__cta .btn { flex: 1 1 220px; }
.hero__facts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hero__facts li { background: var(--cream); border-radius: var(--r-sm); padding: 14px 12px; display: flex; flex-direction: column; gap: 2px; }
.hero__facts b { font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--terra-d); line-height: 1.2; }
.hero__facts span { font-size: 13px; color: var(--ink-2); line-height: 1.3; }

.hero__art { position: relative; }
.hero__blob {
  position: absolute; inset: 6% 0 0 4%; border-radius: 46% 54% 40% 60% / 55% 45% 55% 45%;
  background: radial-gradient(circle at 30% 30%, #EFD9C2, #E6CDB2 60%, #DCC0A2);
  animation: blob 14s ease-in-out infinite alternate;
}
@keyframes blob { to { border-radius: 58% 42% 52% 48% / 42% 58% 44% 56%; } }
.scene { position: relative; width: 100%; height: auto; }
.cushion { transform-box: fill-box; transform-origin: 50% 100%; animation: puff 5s ease-in-out infinite; }
.cushion.c2 { animation-delay: .6s; } .cushion.c3 { animation-delay: 1.2s; }
@keyframes puff { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.03); } }
.sheen { animation: sheen 6s var(--ease) infinite; }
@keyframes sheen { 0%, 40% { transform: translateX(0) skewX(-18deg); } 80%, 100% { transform: translateX(760px) skewX(-18deg); } }
.spark { transform-box: fill-box; transform-origin: center; animation: twinkle 3s ease-in-out infinite; }
.spark.s2 { animation-delay: 1s; } .spark.s3 { animation-delay: 2s; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }
.lamp__glow { animation: glow 4s ease-in-out infinite; }
@keyframes glow { 50% { opacity: .9; } }
.plant { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 7s ease-in-out infinite; }
@keyframes sway { 50% { transform: rotate(-2deg); } }
.hero__badge {
  position: absolute; background: #fff; border-radius: 18px; padding: 10px 14px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; line-height: 1.25; animation: float 6s ease-in-out infinite;
}
.hero__badge b { font-size: 14px; }
.hero__badge span { font-size: 12px; color: var(--ink-2); }
.hero__badge--a { left: 0; top: 8%; }
.hero__badge--b { right: 0; bottom: 2%; animation-delay: -3s; }
.hero__badge--b b { color: var(--terra); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ── Calculator ── */
.calc { background: var(--cream); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.calc__grid { display: grid; gap: 24px; align-items: start; }
.sofas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.sofa-card {
  position: relative; background: #fff; border: 2px solid transparent; border-radius: var(--r-md);
  padding: 14px 12px 12px; display: flex; flex-direction: column; gap: 8px; cursor: pointer;
  transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; box-shadow: 0 2px 0 var(--line);
}
.sofa-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.sofa-card.is-on { border-color: var(--terra); background: #FFF9F3; }
.sofa-card__pick { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 6px; border-radius: 14px; min-height: 44px; }
.sofa-card__pick:focus-visible { outline: 3px solid var(--sage-d); outline-offset: 4px; }
.sofa-card__art { background: var(--beige); border-radius: 16px; padding: 10px 6px 4px; transition: background .3s; }
.sofa-card.is-on .sofa-card__art { background: #F7DCC9; }
.sofa-card__art svg { width: 100%; height: auto; transition: transform .4s var(--ease); }
.sofa-card.bump .sofa-card__art svg { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.06, .94) translateY(3px); } 60% { transform: scale(.97, 1.04) translateY(-3px); } }
.sofa-card__name { font-weight: 700; font-size: 15px; line-height: 1.25; }
.sofa-card__price { font-size: 14px; color: var(--terra-d); font-weight: 700; }
.sofa-card__check {
  position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--terra); color: #fff;
  display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--ease);
}
.sofa-card__check svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sofa-card.is-on .sofa-card__check { transform: scale(1); }

.stepper { display: inline-flex; align-items: center; background: var(--beige); border-radius: 999px; padding: 3px; flex: none; }
.stepper__b {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; font-size: 22px; font-weight: 600; line-height: 1; color: var(--ink);
  display: grid; place-items: center; transition: background .2s, color .2s, transform .15s;
}
.stepper__b:hover { background: var(--terra); color: #fff; }
.stepper__b:active { transform: scale(.9); }
.stepper__b:disabled { opacity: .4; cursor: default; background: #fff; color: var(--ink); }
.stepper__v { min-width: 34px; text-align: center; font-weight: 800; font-size: 17px; }
.sofa-card .stepper { align-self: stretch; justify-content: space-between; }

.more { margin-top: 16px; background: #fff; border-radius: var(--r-md); overflow: hidden; }
.more summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; min-height: 60px; font-weight: 700;
}
.more summary::-webkit-details-marker { display: none; }
.more summary svg { width: 22px; height: 22px; fill: none; stroke: var(--terra); stroke-width: 2.4; stroke-linecap: round; transition: transform .3s var(--ease); flex: none; }
.more[open] summary svg { transform: rotate(180deg); }
.more summary .more__count { background: var(--terra); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 13px; margin-left: 8px; }
.more__list { padding: 0 12px 12px; display: grid; gap: 4px; }
.more__group { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-d); padding: 14px 8px 4px; }
.item-row { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 16px; transition: background .2s; }
.item-row.is-on { background: #FFF3EA; }
.item-row__ico { width: 44px; height: 44px; border-radius: 14px; background: var(--beige); display: grid; place-items: center; flex: none; }
.item-row__ico svg { width: 32px; height: 32px; }
.item-row__txt { flex: 1; min-width: 0; line-height: 1.3; }
.item-row__txt b { display: block; font-size: 15px; font-weight: 600; }
.item-row__txt span { font-size: 13px; color: var(--terra-d); font-weight: 700; }

.opts { margin-top: 16px; display: grid; gap: 10px; }
.opt { background: #fff; border-radius: var(--r-md); padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.opt__txt { display: flex; flex-direction: column; gap: 2px; flex: 1 1 200px; line-height: 1.35; }
.opt__txt b { font-size: 16px; }
.opt__txt span { font-size: 13px; color: var(--ink-2); }
.opt__txt em { font-style: normal; font-weight: 700; color: var(--terra-d); }
.opt--toggle { cursor: pointer; flex-wrap: nowrap; }
.switch {
  appearance: none; -webkit-appearance: none; width: 58px; height: 34px; border-radius: 999px; background: #E2D3C1; position: relative; cursor: pointer; flex: none; margin: 5px 0;
  transition: background .25s;
}
.switch::after { content: ""; position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.15); transition: transform .3s var(--ease); }
.switch:checked { background: var(--sage); }
.switch:checked::after { transform: translateX(24px); }
.select, .field select {
  appearance: none; -webkit-appearance: none; min-height: 48px; padding: 0 44px 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23C8643B' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
  font-weight: 600; cursor: pointer; max-width: 100%;
}
.opt .select { flex: 1 1 180px; }

.bill { position: relative; }
.bill__paper {
  background: #fff; border-radius: var(--r-lg); padding: 24px 22px; box-shadow: var(--shadow); position: relative;
  display: flex; flex-direction: column; gap: 12px;
}
.bill__paper::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 6px; border-radius: 0 0 6px 6px; background: repeating-linear-gradient(90deg, var(--terra) 0 18px, var(--sage) 18px 36px, var(--beige-d) 36px 54px); }
.bill__h { font-family: var(--serif); font-size: 26px; }
.bill__empty { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: #B9A38F; padding: 18px 0; font-weight: 600; font-size: 15px; }
.bill__empty svg { width: 110px; }
.bill__lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.bill__lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); animation: lineIn .35s var(--ease); }
.bill__lines li b { white-space: nowrap; font-weight: 700; }
.bill__lines li.is-muted { color: var(--ink-2); font-size: 14px; }
@keyframes lineIn { from { opacity: 0; transform: translateY(-4px); } }
.bill__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 4px; }
.bill__total span { font-weight: 700; }
.bill__total b { font-family: var(--serif); font-weight: 400; font-size: 36px; color: var(--terra); line-height: 1; }
.bill__note { font-size: 14px; color: var(--sage-d); font-weight: 600; }
.bill__note:empty { display: none; }
.bill__fine { font-size: 13px; color: var(--ink-2); }
.share-l { font-size: 13px; color: var(--ink-2); text-align: center; margin: 2px 0 -4px; }
.share { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.share__b { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 58px; padding: 6px 4px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--cream); color: var(--ink); font: 700 13px/1.1 var(--sans); cursor: pointer; transition: transform .25s var(--ease), background .25s, border-color .25s; }
.share__b svg { width: 22px; height: 22px; fill: currentColor; }
.share__b:hover { transform: translateY(-2px); background: #fff; border-color: var(--terra); }
.share__b--wa svg { fill: #1FA855; } .share__b--tg svg { fill: #229ED9; } .share__b--vb svg { fill: #7360F2; }

/* ── Fabrics ── */
.fab-grid { display: grid; gap: 14px; }
.fab { background: var(--cream); border-radius: var(--r-md); padding: 16px 16px 20px; display: flex; flex-direction: column; gap: 10px; transition: transform .35s var(--ease), box-shadow .35s; }
.fab:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--shadow); }
.fab__swatch { width: 100%; height: auto; border-radius: 22px; }
.fab h3 { font-size: 26px; margin-top: 6px; }
.fab p { color: var(--ink-2); font-size: 15.5px; }
.fab__meta { margin-top: auto; display: flex; gap: 8px; align-items: center; font-weight: 700; color: var(--ink) !important; }
.fab__meta span { background: var(--beige-d); border-radius: 999px; padding: 4px 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.fab-note { margin-top: 18px; padding: 16px 20px; border-radius: var(--r-sm); border: 1.5px dashed rgba(200, 100, 59, .4); color: var(--ink-2); }

/* ── Stains ── */
.stains { background: var(--brown); color: var(--beige); border-radius: var(--r-lg); margin: 0 8px; position: relative; overflow: hidden; }
.stains::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -160px; border-radius: 50%; background: rgba(200, 100, 59, .28); }
.stains .wrap { position: relative; }
.stains .sec-head__sub { color: #D9C6B3; }
.stain-grid { display: grid; gap: 14px; }
.stain { background: rgba(255, 255, 255, .06); border: 1px solid rgba(243, 233, 220, .14); border-radius: var(--r-md); padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; }
.stain__ico { width: 64px; height: 64px; border-radius: 22px; background: var(--terra); display: grid; place-items: center; }
.stain__ico svg { width: 44px; height: 44px; }
.steam { animation: steam 2.4s ease-in-out infinite; }
@keyframes steam { 50% { opacity: .3; transform: translateY(-2px); } }
.stain h3 { font-size: 25px; }
.stain b { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.do b { color: #C9D6BC; } .do b::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--sage); color: #fff; font-size: 12px; }
.dont b { color: #F6B894; } .dont b::before { content: "✕"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--terra); color: #fff; font-size: 11px; }
.stain p { font-size: 15.5px; color: #E6D7C8; }
.stain em { color: #fff; font-style: normal; font-weight: 700; }
.stains__foot { margin-top: 22px; color: #D9C6B3; max-width: 780px; }

/* ── Visit ── */
.visit__grid { display: grid; gap: 36px; }
.visit__intro h2 { font-size: clamp(30px, 6vw, 48px); margin-bottom: 18px; }
.visit__intro > p { color: var(--ink-2); font-size: 17px; }
.photo { margin: 26px 0 0; }
.photo svg { width: 100%; height: auto; border-radius: 28px; }
.photo figcaption { font-size: 14px; color: var(--ink-2); margin-top: 10px; padding-left: 4px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
.steps li { display: flex; gap: 16px; background: var(--cream); border-radius: var(--r-md); padding: 18px; transition: transform .3s var(--ease), background .3s; }
.steps li:hover { transform: translateX(6px); background: #fff; }
.steps__n { flex: none; width: 48px; height: 48px; border-radius: 16px; background: var(--beige-d); display: grid; place-items: center; font-family: var(--serif); font-size: 18px; color: var(--terra-d); transition: background .3s, color .3s; }
.steps li:hover .steps__n { background: var(--terra); color: #fff; }
.steps h3 { font-family: var(--sans); font-weight: 800; font-size: 17px; margin-bottom: 4px; }
.steps p { color: var(--ink-2); font-size: 15.5px; }
.timing { margin-top: 26px; display: grid; gap: 10px; background: var(--sage); color: #fff; border-radius: var(--r-md); padding: 22px; }
.timing div { display: flex; flex-direction: column; gap: 2px; }
.timing b { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.timing span { font-size: 14.5px; color: #EEF2E8; }

/* ── Factors ── */
.factors { padding: 56px 0; }
.factors__grid { display: grid; gap: 20px; background: #fff; border-radius: var(--r-lg); padding: 30px 22px; position: relative; overflow: hidden; }
.factors__grid::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 28px solid rgba(138, 154, 123, .18); }
.factors h2 { font-size: clamp(26px, 5vw, 40px); }
.factors__txt { display: grid; gap: 14px; color: var(--ink-2); position: relative; z-index: 1; }
.factors strong { color: var(--ink); }

/* ── Prices ── */
.price-grid { display: grid; gap: 16px; }
.price-card { background: var(--cream); border-radius: var(--r-lg); padding: 24px 18px; }
.price-card--main { background: #fff; box-shadow: var(--shadow); }
.price-card h3 { font-size: 28px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 4px; }
.price-card h3 small { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sage-d); }
.ptable { width: 100%; border-collapse: collapse; }
.ptable caption { text-align: left; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--terra); padding: 16px 0 6px; }
.ptable:first-child caption { padding-top: 0; }
.ptable th, .ptable td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; font-size: 15.5px; vertical-align: top; }
.ptable td { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 12px; }
.ptable tr:last-child th, .ptable tr:last-child td { border-bottom: 0; }
.ptable tr { transition: background .2s; }
.ptable tr:hover th, .ptable tr:hover td { color: var(--terra-d); }
.price-card__note { margin-top: 14px; font-size: 14px; color: var(--ink-2); background: var(--beige); border-radius: 14px; padding: 12px 14px; }

/* ── Reviews ── */
.rating { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink-2); }
.rating b { font-family: var(--serif); font-weight: 400; font-size: 44px; color: var(--terra); line-height: 1; }
.rating span { line-height: 1.5; }
.rating a { color: var(--ink); text-decoration-color: var(--terra); text-underline-offset: 3px; }
.rating a:hover { color: var(--terra); }
.rev-grid { display: grid; gap: 14px; }
.rev { background: #fff; border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.rev:nth-child(2) { background: var(--cream); }
.rev::before { content: "“"; position: absolute; right: 18px; top: -6px; font-family: var(--serif); font-size: 90px; color: var(--beige-d); line-height: 1; }
.rev__stars { color: var(--terra); letter-spacing: 2px; font-size: 16px; }
.rev p { color: var(--ink-2); font-size: 15.5px; position: relative; }
.rev__who { display: flex; align-items: center; gap: 10px; margin-top: auto; font-weight: 700; }
.rev__ava { width: 40px; height: 40px; border-radius: 14px; background: var(--sage); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 18px; }
.rev:nth-child(2) .rev__ava { background: var(--terra); }
.rev:nth-child(3) .rev__ava { background: var(--brown); }

/* ── FAQ ── */
.faq__grid { display: grid; gap: 24px; }
.faq h2 { font-size: clamp(30px, 6vw, 46px); }
.faq__aside { margin-top: 14px; color: var(--ink-2); }
.faq__list { display: grid; gap: 8px; }
.faq details { background: var(--cream); border-radius: 20px; transition: background .25s; }
.faq details[open] { background: #fff; }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 56px 16px 20px; font-weight: 700; position: relative; min-height: 56px; display: flex; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 14px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--beige-d); color: var(--terra-d);
  display: grid; place-items: center; font-size: 22px; font-weight: 500; transition: transform .3s var(--ease), background .3s, color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--terra); color: #fff; }
.faq details p { padding: 0 20px 18px; color: var(--ink-2); }

/* ── Cities ── */
.cities__grid { display: grid; gap: 24px; background: var(--sage); color: #fff; border-radius: var(--r-lg); padding: 32px 20px; }
.cities .kicker { color: #fff; }
.cities h2 { font-size: clamp(28px, 6vw, 44px); margin-bottom: 14px; }
.cities__main p { color: #F0F3EB; margin-top: 10px; }
.city-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.city-list li { background: rgba(255, 255, 255, .16); border-radius: 999px; padding: 10px 16px; font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 8px; transition: background .2s, transform .2s; }
.city-list li:hover { background: rgba(255, 255, 255, .26); transform: translateY(-2px); }
.city-list li.is-main { background: var(--beige); color: var(--ink); font-weight: 800; }
.city-list li small { font-size: 12px; opacity: .8; font-weight: 600; }

/* ── Order ── */
.order { background: var(--terra-d); color: #fff; border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: 16px; }
.order__grid { display: grid; gap: 32px; }
.order h2 { font-size: clamp(30px, 6vw, 48px); margin-bottom: 16px; }
.order__info > p { color: #FBE3D4; font-size: 17px; }
.big-phone { display: inline-block; margin-top: 24px; font-family: var(--serif); font-size: clamp(28px, 7vw, 40px); text-decoration: none; border-bottom: 2px solid rgba(255, 255, 255, .4); transition: border-color .2s; }
.big-phone:hover { border-color: #fff; }
.msgs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.msgs a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; background: rgba(255, 255, 255, .16); text-decoration: none; font-weight: 700; transition: background .2s, color .2s; }
.msgs a:hover { background: #fff; color: var(--terra-d); }
.info-list { margin: 26px 0 0; display: grid; gap: 12px; }
.info-list div { display: grid; gap: 2px; }
.info-list dt { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #F6C9A9; }
.info-list dd { margin: 0; font-weight: 600; }

.form { background: var(--beige); color: var(--ink); border-radius: var(--r-lg); padding: 24px 18px; display: grid; gap: 14px; box-shadow: 0 30px 60px -30px rgba(60, 20, 5, .6); align-self: start; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; padding: 12px 16px; transition: border-color .2s, box-shadow .2s; }
.field select { background-color: #fff; padding-right: 44px; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--terra); box-shadow: 0 0 0 4px rgba(200, 100, 59, .15); outline: none; }
.field-row { display: grid; gap: 14px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__quote { background: #fff; border-radius: 16px; padding: 12px 14px; border-left: 4px solid var(--sage); animation: lineIn .4s var(--ease); }
.form__quote-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.form__quote-h button { background: none; border: 0; color: var(--terra-d); font-weight: 700; cursor: pointer; text-decoration: underline; min-height: 44px; padding: 0 4px; }
.form__quote pre { margin: 4px 0 0; white-space: pre-wrap; font: 500 13.5px/1.5 var(--sans); color: var(--ink-2); }
.btn__spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form[data-state="sending"] .btn__spin { display: inline-block; }
.form[data-state="sending"] button[type="submit"] { pointer-events: none; opacity: .8; }
.form__msg .m { display: none; padding: 12px 14px; border-radius: 14px; font-size: 15px; animation: lineIn .3s var(--ease); }
.form[data-state="sending"] .m--sending { display: block; background: #fff; }
.form[data-state="ok"] .m--ok { display: block; background: #E3EADC; color: #33422A; }
.form[data-state="bad-phone"] .m--bad-phone { display: block; background: #FBE1D6; color: #8A3515; }
.form[data-state="error"] .m--error { display: block; background: #FBE1D6; color: #8A3515; }
.form[data-state="bad-phone"] #f-phone { border-color: var(--terra); box-shadow: 0 0 0 4px rgba(200, 100, 59, .2); }
.form__fine { font-size: 12.5px; color: var(--ink-2); }

/* ── Footer ── */
.foot { background: var(--ink); color: #D9C6B3; padding: 48px 0 24px; }
.foot__grid { display: grid; gap: 26px; }
.logo--foot .logo__text b { color: var(--beige); }
.logo--foot .logo__text small { color: #B69F8B; }
.foot__txt { margin-top: 14px; font-size: 14.5px; max-width: 300px; }
.foot__h { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #F6C9A9; margin-bottom: 8px; }
.foot p { font-size: 15px; line-height: 1.7; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot__links a { min-height: 32px; display: inline-flex; align-items: center; }
.foot__bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(243, 233, 220, .12); font-size: 13.5px; }

/* ── Mobile dock ── */
.dock {
  position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 50; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px; border-radius: 22px; background: rgba(58, 42, 32, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .45);
  transform: translateY(0); transition: transform .4s var(--ease);
}
.dock a { min-height: 48px; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; text-decoration: none; color: #fff; }
.dock svg { width: 18px; height: 18px; }
.dock__call { background: var(--terra); }
.dock__msg { background: var(--sage); }

/* ── Reveal ── */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* ── ≥ 600 ── */
@media (min-width: 600px) {
  .wrap { padding: 0 24px; }
  .top__phone { padding: 0 18px; }
  .top__phone span { display: inline; }
  .fab-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .rev-grid { grid-template-columns: repeat(3, 1fr); }
  .timing { grid-template-columns: repeat(3, 1fr); }
  .stains { margin: 0 16px; }
  .hero__facts li { padding: 16px; }
}

/* ── ≥ 900 ── */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .dock { display: none; }
  .wrap { padding: 0 32px; }
  section { padding: 104px 0; }
  .nav { display: flex; }
  .top__phone { margin-left: 8px; }
  .hero { padding: 48px 0 96px; }
  .hero__grid { grid-template-columns: 1.02fr .98fr; gap: 40px; }
  .hero__badge--a { left: -6%; }
  .sofas { grid-template-columns: repeat(4, 1fr); }
  .calc__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; }
  .bill { position: sticky; top: 92px; }
  .fab-grid { grid-template-columns: repeat(4, 1fr); }
  .sec-head--split { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; }
  .sec-head--split .sec-head__sub { margin: 0; }
  .stain-grid { grid-template-columns: repeat(3, 1fr); }
  .stains { margin: 0 24px; }
  .visit__grid { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
  .visit__intro { position: sticky; top: 100px; }
  .factors__grid { grid-template-columns: .8fr 1.2fr; gap: 48px; padding: 48px; }
  .price-grid { grid-template-columns: 1.1fr .9fr; align-items: start; }
  .price-card { padding: 34px 32px; }
  .rev-grid .rev:nth-child(2) { transform: translateY(24px); }
  .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 56px; }
  .cities__grid { grid-template-columns: 1fr 1fr; padding: 56px; gap: 48px; }
  .order__grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .form { padding: 32px; }
  .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

@media (min-width: 1200px) {
  .hero h1 { font-size: 78px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  .sheen, .spark { display: none; }
}
.sofa-card__pick{flex:1}.sofa-card .stepper{margin-top:auto}
@media (min-width: 960px) { .price-grid > .price-card:last-child { position: sticky; top: 100px; } }
@media (max-width: 420px) { .hero__facts b { font-size: 18px; white-space: nowrap; } .hero__facts li { padding: 12px 10px; } }
[hidden]{display:none!important}

/* общий расчёт «мебель + ковры»: компактный блок ковров */
.rugs__hint { font-size: 13px; color: var(--ink-2); padding: 0 8px 6px; }
.rugs { display: grid; gap: 8px; }
.rug { display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: end; gap: 6px 8px; padding: 10px; border-radius: 16px; background: var(--cream); }
.rug__n { grid-column: 1 / -1; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-d); }
.rug__f { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rug__f span { font-size: 12px; color: var(--ink-2); font-weight: 600; }
.rug__f input { width: 100%; min-height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; padding: 0 12px; font: 700 16px/1 var(--sans); color: var(--ink); }
.rug__f input:focus { outline: 2px solid var(--terra); outline-offset: 1px; }
.rug__x { padding-bottom: 12px; color: var(--ink-2); font-weight: 700; }
.rug__t { grid-column: 1 / 4; min-height: 44px; font-size: 14px; width: 100%; }
.rug__del { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.rug__del:hover { background: var(--terra); color: #fff; }
.rugs__add { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 4px 8px 0; border: 0; background: none; color: var(--terra-d); font: 700 15px/1 var(--sans); cursor: pointer; justify-self: start; }
.rugs__add span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--beige); font-size: 18px; }
.rugs__urgent { display: flex; align-items: center; gap: 8px; padding: 6px 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
.rugs__urgent[hidden] { display: none; }
.rug__ov { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 36px; font-size: 14px; font-weight: 600; cursor: pointer; }
.rug__ov input { width: 20px; height: 20px; accent-color: var(--terra); }
.rug__ov em { font-style: normal; color: var(--terra-d); }
.rugs__urgent input { width: 20px; height: 20px; accent-color: var(--terra); }
.rugs__urgent em { font-style: normal; color: var(--terra-d); }
.bill__lines li.bill__grp { border-bottom: 0; padding: 6px 0 0; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-d); }
.bill__lines li.bill__grp b { color: var(--terra-d); letter-spacing: 0; font-size: 14px; }
#billSum { white-space: nowrap; }

/* 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:"Manrope fb";src:local("Arial");font-weight:1 550;size-adjust:100.25%;ascent-override:106.73%;descent-override:29.93%;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:"Manrope fb";src:local("Arial Bold");font-weight:551 1000;size-adjust:99.70%;ascent-override:107.32%;descent-override:30.09%;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:"Prata fb";src:local("Times New Roman");font-weight:1 550;size-adjust:117.79%;ascent-override:84.05%;descent-override:30.56%;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:"Prata fb";src:local("Times New Roman Bold");font-weight:551 1000;size-adjust:112.09%;ascent-override:88.32%;descent-override:32.12%;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}
