/* PUFOS — химчистка мебели и ковров. Шаблон: чистый CSS без сборки */

@font-face { font-family: "Unbounded"; src: url(fonts/Unbounded-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url(fonts/Unbounded-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(fonts/Manrope-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(fonts/Manrope-ExtraBold.woff2) format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --bg: #FFFFFF;
  --soft: #F3F5F2;
  --soft-2: #E9EEEA;
  --ink: #101B18;
  --muted: #5A6763;
  --line: #E1E7E3;
  --em: #0E9F7E;        /* изумруд: знак, иконки, акценты */
  --em-d: #0A7A61;
  --em-l: #DDF3EC;
  --sun: #FFC84A;       /* тёплый жёлтый: главная кнопка */
  --sun-d: #F5B521;
  --r-btn: 14px;
  --r-card: 20px;
  --r-big: 28px;
  --wrap: 1280px;
  --head: "Unbounded", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(16, 27, 24, .04), 0 12px 32px -12px rgba(16, 27, 24, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
strong, b { font-weight: 800; }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: var(--r-btn); border: 1.5px solid transparent; font: 800 16px/1 var(--body); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, transform .2s, color .2s; white-space: nowrap; }
.btn .ico { font-size: 20px; }
.btn:active { transform: translateY(1px); }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: var(--sun-d); }
.btn--line { border-color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--em { background: var(--em); color: #fff; }
.btn--em:hover { background: var(--em-d); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--em-l); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.round { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; border: 0; cursor: pointer; transition: background .2s, transform .2s; flex: none; }
.round .ico { font-size: 20px; }
.round:hover { background: var(--em); transform: rotate(-45deg); }

/* ---------- шапка ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hdr.scrolled { border-bottom-color: var(--line); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__word { font: 600 22px/1 var(--head); letter-spacing: -.03em; }
.logo__dot { width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #7FE3C8 0 18%, var(--em) 60%); align-self: flex-start; margin: 2px 0 0 -6px; }
.logo__sub { font-size: 11px; line-height: 1.25; color: var(--muted); max-width: 120px; padding-left: 10px; border-left: 1px solid var(--line); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.hdr__tel { display: flex; flex-direction: column; text-decoration: none; line-height: 1.2; }
.hdr__tel b { font-size: 16px; }
.hdr__tel span { font-size: 12px; color: var(--muted); }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; place-items: center; cursor: pointer; }
.burger .ico { font-size: 22px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 18px 0 34px; isolation: isolate; }
.hero__media { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 66%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; }
/* эффект растворения (как на milkmark.md): фото тает в белый фон */
.hero__mask { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(96deg, #fff 0%, #fff 6%, rgba(255,255,255,.94) 14%, rgba(255,255,255,.72) 22%, rgba(255,255,255,.36) 31%, rgba(255,255,255,.1) 39%, rgba(255,255,255,0) 46%),
    linear-gradient(#fff, rgba(255,255,255,.86) 9%, rgba(255,255,255,.46) 20%, rgba(255,255,255,.12) 30%, rgba(255,255,255,0) 38%),
    linear-gradient(to top, #fff, rgba(255,255,255,.92) 7%, rgba(255,255,255,.6) 15%, rgba(255,255,255,.26) 24%, rgba(255,255,255,.06) 32%, rgba(255,255,255,0) 40%); }
.wordmark { position: relative; display: flex; align-items: flex-start; --wm: 4.62; /* ширина названия в em: для другого названия подобрать, чтобы влезало в строку */
  font: 600 min(262px, calc((100vw - 48px) / var(--wm)))/.86 var(--head); letter-spacing: -.055em; margin: 0 0 0 -.04em; color: var(--ink); user-select: none; }
.wordmark__bubble { position: relative; width: .26em; height: .26em; margin: .03em 0 0 .02em; border-radius: 50%; background: radial-gradient(circle at 34% 32%, #A9F0DB 0 10%, #3CC9A3 34%, var(--em) 62%, var(--em-d)); box-shadow: inset -.02em -.03em .06em rgba(0,0,0,.18); }
.wordmark__bubble::after { content: ""; position: absolute; width: .09em; height: .09em; right: -.1em; top: .2em; border-radius: 50%; background: var(--em); opacity: .55; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 640px) 1fr; gap: 40px; margin-top: 30px; align-items: end; }
.hero h1 { font-size: clamp(34px, 3.3vw, 48px); }
.hero h1 em { font-style: normal; color: var(--em); }
.hero__lead { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 520px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.facts { display: flex; gap: 34px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 540px; }
.facts b { display: block; font: 600 26px/1.1 var(--head); letter-spacing: -.02em; }
.facts div > span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.hero__side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.eco { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); font-size: 14px; line-height: 1.3; backdrop-filter: blur(8px); }
.eco__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--em); color: #fff; }
.eco__ico .ico { font-size: 22px; }
.mini-ba { width: 300px; padding: 10px; border-radius: var(--r-card); background: rgba(255,255,255,.94); box-shadow: var(--shadow); text-decoration: none; display: block; }
.mini-ba__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mini-ba__pics figure { margin: 0; position: relative; }
.mini-ba__pics img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; }
.mini-ba__pics figcaption { position: absolute; left: 6px; top: 6px; padding: 2px 8px; border-radius: 6px; background: rgba(16,27,24,.72); color: #fff; font-size: 11px; font-weight: 800; }
.mini-ba__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 4px 2px; font-size: 14px; line-height: 1.3; }
.mini-ba__row .round { width: 36px; height: 36px; }
.mini-ba__row .round .ico { font-size: 17px; }

/* ---------- секции ---------- */
.sec { padding: 96px 0; }
.sec--soft { background: var(--soft); }
.sec--tight { padding-top: 40px; }
.split { display: grid; grid-template-columns: 300px 1fr; gap: 56px; }
.split--top { align-items: start; }
.sh { position: sticky; top: 100px; align-self: start; }
.sh h2 { font-size: clamp(30px, 3vw, 42px); }
.sh p { margin-top: 16px; color: var(--muted); font-size: 16px; }
.sh .btn { margin-top: 24px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--em-d); }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--em); }
.note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.tag-demo { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; background: #FFF4D6; color: #7A5600; font-size: 12px; font-weight: 800; }

/* ---------- два формата ---------- */
.formats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fmt { position: relative; display: flex; flex-direction: column; border-radius: var(--r-big); overflow: hidden; background: var(--soft); }
.fmt__img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.fmt__body { padding: 28px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.fmt__label { position: absolute; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: #fff; font-size: 14px; font-weight: 800; }
.fmt__label .ico { font-size: 18px; color: var(--em); }
.fmt h3 { font-size: 24px; }
.fmt ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.fmt li { display: flex; gap: 10px; font-size: 16px; }
.fmt li .ico { font-size: 20px; color: var(--em); margin-top: 2px; }
.fmt__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.fmt__price { font-size: 14px; color: var(--muted); }
.fmt__price b { display: block; white-space: nowrap; font: 600 22px/1.2 var(--head); color: var(--ink); }

/* ---------- что чистим ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { display: flex; flex-direction: column; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card__body { padding: 16px 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 16px; line-height: 1.25; letter-spacing: -.01em; }
.card p { margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.card__foot { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.card__price { font-size: 13px; color: var(--muted); }
.card__price { white-space: nowrap; }
.card__price b { font: 600 17px/1.2 var(--head); color: var(--ink); letter-spacing: -.02em; }
.card__where { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 12px; font-weight: 800; color: var(--em-d); }
.card__where .ico { font-size: 14px; }
.others { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 15px; color: var(--muted); }
.others span { padding: 6px 12px; border-radius: 10px; background: var(--soft); color: var(--ink); font-size: 14px; }

/* ---------- почему мы ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.why__item { padding: 30px 28px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--em-l); color: var(--em-d); margin-bottom: 18px; }
.why__ico .ico { font-size: 26px; }
.why h3 { font-size: 18px; letter-spacing: -.01em; }
.why p { margin-top: 8px; font-size: 15px; color: var(--muted); line-height: 1.5; }

/* ---------- шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.step { position: relative; padding: 24px 22px 26px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); }
.step__n { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.step__n b { font: 500 15px/1 var(--head); color: var(--muted); }
.step__n .ico { font-size: 26px; color: var(--em); }
.step h3 { font-size: 17px; letter-spacing: -.01em; }
.step p { margin-top: 8px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.home-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; margin-top: 20px; }
.home-row__img { border-radius: var(--r-card); width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.prep { padding: 30px; border-radius: var(--r-card); background: var(--ink); color: #fff; }
.prep h3 { font-size: 20px; }
.prep ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.prep li { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.86); }
.prep li .ico { font-size: 20px; color: #7FE3C8; margin-top: 2px; }
.prep__time { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); display: flex; gap: 26px; }
.prep__time b { display: block; font: 600 22px/1.1 var(--head); color: var(--sun); }
.prep__time span { font-size: 13px; color: rgba(255,255,255,.7); }

/* ---------- до / после ---------- */
.res { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
.ba { position: relative; border-radius: var(--r-big); overflow: hidden; aspect-ratio: 1200/860; background: var(--soft-2); user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.2); color: var(--ink); }
.ba__knob .ico { font-size: 24px; }
.ba__lbl { position: absolute; top: 16px; padding: 6px 12px; border-radius: 10px; background: rgba(16,27,24,.74); color: #fff; font-size: 13px; font-weight: 800; pointer-events: none; }
.ba__lbl--b { left: 16px; }
.ba__lbl--a { right: 16px; background: var(--em); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__demo { position: absolute; left: 16px; bottom: 16px; }
.ba-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.tab { min-height: 42px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 800; font-size: 15px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.stains { padding: 30px; border-radius: var(--r-big); background: #fff; border: 1px solid var(--line); }
.stains h3 { font-size: 20px; }
.stains h4 { margin: 22px 0 12px; font: 800 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 7px 12px; border-radius: 10px; background: var(--soft); font-size: 14px; }
.honest { margin-top: 24px; padding: 16px 18px; border-radius: 14px; background: #FFF6DE; font-size: 14px; line-height: 1.5; display: flex; gap: 12px; }
.honest .ico { font-size: 22px; color: #B07A00; margin-top: 1px; }

/* ---------- ковры ---------- */
.rugs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.road { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; grid-column: 1 / -1; }
.road__i { position: relative; padding: 20px 18px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); }
.road__i .ico { font-size: 28px; color: var(--em); }
.road__i h3 { margin-top: 14px; font-size: 16px; letter-spacing: -.01em; }
.road__i p { margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.road__i:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -10px; width: 10px; height: 2px; background: var(--em); }
.shop { border-radius: var(--r-big); background: var(--ink); color: #fff; padding: 30px; }
.shop h3 { font-size: 22px; }
.shop ol { list-style: none; padding: 0; margin: 22px 0 0; counter-reset: k; display: grid; gap: 16px; }
.shop li { counter-increment: k; display: grid; grid-template-columns: 40px 1fr; gap: 14px; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.78); }
.shop li::before { content: counter(k, decimal-leading-zero); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08); font: 500 13px/1 var(--head); color: #7FE3C8; }
.shop li b { color: #fff; display: block; }
.terms { display: flex; flex-direction: column; gap: 14px; }
.terms__img { border-radius: var(--r-big); width: 100%; aspect-ratio: 900/560; object-fit: cover; }
.terms__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.term { padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.term b { display: block; font: 600 20px/1.15 var(--head); letter-spacing: -.02em; }
.term > span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.4; }
.areas { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* ---------- калькулятор ---------- */
.calc { display: grid; grid-template-columns: 1fr 380px; gap: 20px; align-items: start; }
.calc__list { border-radius: var(--r-big); background: #fff; border: 1px solid var(--line); padding: 8px 26px 18px; }
.calc__tabs { display: flex; gap: 8px; padding: 18px 0 8px; flex-wrap: wrap; }
.calc__group[hidden] { display: none; }
.row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row__name { font-size: 16px; line-height: 1.35; }
.row__name small { display: block; font-size: 13px; color: var(--muted); }
.row__price { font: 600 15px/1 var(--head); letter-spacing: -.01em; white-space: nowrap; text-align: right; min-width: 92px; }
.row__price small { font: 400 12px var(--body); color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.qty button { width: 40px; height: 40px; border: 0; background: var(--soft); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.qty button:hover { background: var(--em-l); }
.qty button .ico { font-size: 16px; }
.qty input { width: 52px; height: 40px; border: 0; text-align: center; font: 800 16px var(--body); -moz-appearance: textfield; background: #fff; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.row.on .qty { border-color: var(--em); }
.row.on .row__name { font-weight: 800; }
.sum { position: sticky; top: 96px; border-radius: var(--r-big); background: var(--ink); color: #fff; padding: 28px; }
.sum h3 { font-size: 18px; }
.sum__list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: rgba(255,255,255,.78); min-height: 22px; }
.sum__list li { display: flex; justify-content: space-between; gap: 12px; }
.sum__list li b { color: #fff; font-weight: 800; white-space: nowrap; }
.sum__empty { color: rgba(255,255,255,.55); }
.sum__total { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); }
.sum__total span { font-size: 13px; color: rgba(255,255,255,.7); }
.sum__total b { display: block; font: 600 40px/1.1 var(--head); letter-spacing: -.03em; color: var(--sun); margin-top: 4px; }
.sum__warn { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.45; }
.sum__btns { display: grid; gap: 10px; margin-top: 22px; }
.sum__btns .btn { width: 100%; }
.sum__fine { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.45; }

/* ---------- комплекты ---------- */
.sets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.set { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-big); background: #fff; border: 1px solid var(--line); position: relative; }
.set--hot { border: 2px solid var(--em); box-shadow: var(--shadow); }
.set__badge { position: absolute; top: -13px; left: 28px; padding: 5px 12px; border-radius: 8px; background: var(--em); color: #fff; font-size: 12px; font-weight: 800; }
.set__ico { font-size: 30px; color: var(--em); }
.set h3 { margin-top: 16px; font-size: 22px; }
.set__what { margin-top: 6px; font-size: 15px; color: var(--muted); }
.set__price { margin: 22px 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.set__price b { font: 600 32px/1 var(--head); letter-spacing: -.03em; }
.set__price s { color: var(--muted); font-size: 15px; }
.set ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.set li { display: flex; gap: 10px; font-size: 15px; }
.set li .ico { font-size: 18px; color: var(--em); margin-top: 3px; }
.set .btn { margin-top: auto; }

/* ---------- безопасность ---------- */
.safe { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-big); overflow: hidden; background: var(--em-l); }
.safe img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.safe__body { padding: 48px 46px; display: flex; flex-direction: column; justify-content: center; }
.safe h2 { font-size: clamp(26px, 2.6vw, 36px); }
.safe p { margin-top: 14px; color: #33504A; }
.safe__pts { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.safe__pts div { display: flex; gap: 10px; font-size: 15px; line-height: 1.4; }
.safe__pts .ico { font-size: 22px; color: var(--em-d); }

/* ---------- отзывы ---------- */
.revs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rev { padding: 26px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.rev__top { display: flex; align-items: center; gap: 12px; }
.rev__ava { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--soft-2); font: 600 16px var(--head); color: var(--em-d); }
.rev__top b { display: block; font-size: 16px; }
.rev__top div span { font-size: 13px; color: var(--muted); }
.stars { margin-left: auto; color: var(--sun-d); display: flex; gap: 2px; }
.stars .ico { font-size: 16px; fill: currentColor; stroke: none; }
.rev p { margin-top: 16px; font-size: 15px; line-height: 1.6; }
.rev .tag-demo { margin-top: 18px; align-self: flex-start; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: var(--em); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; font-weight: 800; font-size: 17px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { font-size: 22px; flex: none; transition: transform .25s; color: var(--em); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 22px; color: var(--muted); font-size: 16px; }
.faq details > div p + p { margin-top: 10px; }

/* ---------- CTA ---------- */
.cta { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: var(--r-big); overflow: hidden; background: var(--em-d); color: #fff; }
.cta img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.cta__body { padding: 52px 48px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.cta h2 { font-size: clamp(28px, 2.8vw, 40px); }
.cta p { margin-top: 14px; color: rgba(255,255,255,.82); }
.cta__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.cta__tel { margin-top: 22px; font: 600 24px/1 var(--head); text-decoration: none; letter-spacing: -.02em; }

/* ---------- подвал ---------- */
.ftr { padding: 64px 0 36px; background: var(--soft); }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.ftr h4 { font: 800 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--em-d); }
.ftr__about { margin-top: 16px; font-size: 14px; color: var(--muted); max-width: 300px; }
.ftr__contact li { display: flex; gap: 10px; align-items: flex-start; }
.ftr__contact .ico { font-size: 18px; color: var(--em); margin-top: 3px; }
.ftr__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.lang { display: inline-flex; gap: 4px; padding: 3px; border-radius: 10px; background: var(--soft); }
.lang a, .lang span { padding: 5px 9px; border-radius: 8px; font-size: 13px; font-weight: 800; text-decoration: none; }
.lang span { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08); }

/* ---------- мобильная панель ---------- */
.mbar { display: none; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); z-index: 80; max-width: calc(100% - 32px); padding: 14px 18px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 14px; line-height: 1.4; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; box-shadow: var(--shadow); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* появление */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- адаптив ---------- */
@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .logo__sub { display: none; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .sh { position: static; max-width: 720px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .nav, .hdr__tel, .hdr .btn { display: none; }
  .burger { display: grid; margin-left: auto; }
  .nav.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 24px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--ink); }
  .hero__media { width: 100%; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__side { flex-direction: row; align-items: flex-end; justify-content: flex-start; flex-wrap: wrap; }
  .formats, .res, .rugs, .home-row, .safe, .cta { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .sum { position: static; }
  .steps, .road { grid-template-columns: 1fr 1fr; }
  .road__i::after { display: none; }
  .why { grid-template-columns: 1fr 1fr; }
  .sets { grid-template-columns: 1fr; max-width: 560px; }
  .revs { grid-template-columns: 1fr; max-width: 640px; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .cta img, .safe img { height: 280px; min-height: 0; }
}
@media (max-width: 680px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .wrap { padding: 0 16px; }
  .hdr__in { height: 64px; }
  .nav.open { top: 64px; padding: 4px 16px 16px; }
  .sec { padding: 64px 0; }
  .hero { padding: 10px 0 20px; }
  .hero__media { top: 0; bottom: auto; height: 470px; }
  .hero__media img { object-position: 50% 70%; }
  .hero__mask { background:
    linear-gradient(#fff, rgba(255,255,255,.7) 16%, rgba(255,255,255,0) 36%),
    linear-gradient(to top, #fff, rgba(255,255,255,.94) 10%, rgba(255,255,255,.55) 24%, rgba(255,255,255,0) 44%); }
  .wordmark { font-size: calc((100vw - 32px) / var(--wm)); }
  .hero__grid { margin-top: 210px; gap: 22px; }
  .hero h1 { font-size: 31px; }
  .hero__lead { font-size: 16px; }
  .hero__btns .btn { flex: 1 1 100%; }
  .facts { gap: 18px; }
  .facts b { font-size: 21px; }
  .hero__side { flex-direction: column; align-items: stretch; }
  .eco { align-self: flex-start; }
  .mini-ba { width: 100%; }
  .cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card__body { padding: 12px; }
  .card h3 { font-size: 14px; }
  .card p { display: none; }
  .card__price b { font-size: 14px; }
  .card .round { width: 36px; height: 36px; }
  .why { grid-template-columns: 1fr; }
  .why__item { padding: 24px 20px; }
  .steps, .road { grid-template-columns: 1fr; }
  .fmt__body, .prep, .stains, .shop, .set { padding: 22px; }
  .fmt h3 { font-size: 20px; }
  .fmt__foot { flex-direction: column; align-items: stretch; }
  .terms__list { grid-template-columns: 1fr 1fr; }
  .term b { font-size: 17px; white-space: nowrap; }
  .term { padding: 14px; }
  .calc__list { padding: 4px 16px 10px; }
  .row { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .row__price { grid-column: 1; grid-row: 2; text-align: left; }
  .row .qty { grid-column: 2; grid-row: 1 / span 2; }
  .sum { padding: 22px; }
  .sum__total b { font-size: 34px; }
  .safe__body, .cta__body { padding: 30px 22px; }
  .safe__pts { grid-template-columns: 1fr; }
  .ftr { padding-top: 44px; }
  .ftr__grid { grid-template-columns: 1fr; gap: 28px; }
  .ba__knob { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .mbar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 12px; text-decoration: none; font-weight: 800; font-size: 14px; }
  .mbar .ico { font-size: 18px; }
  .mbar__call { background: var(--sun); }
  .mbar__vb { background: #7360F2; color: #fff; }
  .mbar__wa { background: #25D366; color: #fff; }
  .toast { bottom: 90px; }
}
@media (max-width: 340px) {
  .cards { grid-template-columns: 1fr; }
  .terms__list { grid-template-columns: 1fr; }
  .facts { flex-wrap: wrap; }
}
