/* =========================================================
   Clean Lemon — химчистка мебели, ковров и матрасов в Казани
   Единый стиль: жёлто-белый бренд, крупная типографика
   ========================================================= */

/* ---------- tokens ---------- */
:root {
  --lemon: #ffd233;
  --lemon-soft: #fff2c0;
  --lemon-deep: #f0b400;
  --gold: #c9a227;
  --ink: #1b1710;
  --ink-2: #3d372e;
  --muted: #7c7363;
  --line: #ede4d2;
  --line-soft: #f3ecdd;
  --bg: #fffdf6;
  --card: #ffffff;
  --radius-xl: 32px;
  --radius-l: 24px;
  --radius-m: 16px;
  --radius-s: 12px;
  --shadow-s: 0 2px 6px rgba(27, 23, 16, .05);
  --shadow-m: 0 10px 28px -12px rgba(27, 23, 16, .16);
  --shadow-l: 0 26px 60px -28px rgba(27, 23, 16, .3);
  --container: 1180px;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Unbounded', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lemon); color: var(--ink); }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: 92px 0; position: relative; }
.section-tight { padding: 20px 0 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* иконки */
.ic {
  width: 1.16em; height: 1.16em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -.18em;
}
#i-telegram path, #i-telegram { color: inherit; }
#i-telegram path { fill: currentColor; stroke: none; }

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-2); background: var(--lemon-soft);
  border: 1px solid rgba(201, 162, 39, .25);
  padding: 7px 14px; border-radius: 999px;
}
.eyebrow-light { color: var(--ink); background: var(--lemon); border-color: transparent; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; }
h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.05rem); }
h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.35rem); }
h3 { font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); letter-spacing: -.02em; }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.section-head-left { margin-inline: 0; text-align: left; justify-items: start; }
.section-sub { color: var(--muted); font-size: 1.02rem; max-width: 62ch; }
.section-sub a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lemon); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hl {
  background: var(--lemon);
  padding: .02em .14em .1em;
  border-radius: .16em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--lemon); --btn-fg: var(--ink); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 800; font-size: .98rem; line-height: 1.2; letter-spacing: -.01em;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  box-shadow: 0 6px 18px -10px rgba(240, 180, 0, .9);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(240, 180, 0, .95); }
.btn:active { transform: translateY(0); }
.btn .ic { width: 1.2em; height: 1.2em; }
.btn-lg { padding: 17px 30px; font-size: 1.02rem; }
.btn-sm { padding: 10px 16px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-primary { --btn-bg: var(--lemon); --btn-fg: var(--ink); }
.btn-primary:hover { --btn-bg: #ffdc5e; }
.btn-dark { --btn-bg: var(--ink); --btn-fg: #fff; box-shadow: 0 10px 24px -14px rgba(27, 23, 16, .8); }
.btn-dark:hover { --btn-bg: #2b251b; }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); box-shadow: none; }
.btn-outline:hover { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink-2); --btn-bd: var(--line); box-shadow: none; font-weight: 700; }
.btn-ghost:hover { --btn-bd: var(--ink); --btn-fg: var(--ink); transform: translateY(-1px); }
.btn-white { --btn-bg: #fff; --btn-fg: var(--ink); box-shadow: var(--shadow-m); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .55); box-shadow: none; }
.btn-outline-light:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn-icon { padding: 14px; border-radius: 50%; width: 52px; height: 52px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: rgba(255, 253, 246, .86);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line-soft); background: rgba(255, 253, 246, .95); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo-mark { width: 44px; height: 44px; color: var(--lemon); flex: none; filter: drop-shadow(0 6px 12px rgba(240, 180, 0, .35)); }
.logo-mark svg { width: 100%; height: 100%; }
.logo-text { display: grid; line-height: 1.1; }
.logo-text strong { font-family: var(--font-display); font-size: 1.06rem; letter-spacing: -.03em; font-weight: 700; }
.logo-text small { font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav a {
  padding: 9px 13px; border-radius: 999px; font-size: .93rem; font-weight: 700; color: var(--ink-2);
  transition: background-color .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.nav a:hover { background: var(--lemon-soft); color: var(--ink); }
.nav .nav-phone { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .95rem; letter-spacing: -.01em; white-space: nowrap; }
.header-phone .ic { width: 18px; height: 18px; color: var(--gold); }
.header-phone:hover { color: var(--gold); }
.burger { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; position: relative; }
.burger span { position: absolute; left: 50%; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transform: translateX(-50%); transition: transform .2s var(--ease), opacity .2s var(--ease), top .2s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded='true'] span:nth-child(1) { top: 22px; transform: translateX(-50%) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { top: 22px; transform: translateX(-50%) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 84px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 88% 8%, rgba(255, 210, 51, .55), transparent 62%),
    radial-gradient(46% 42% at 6% 2%, rgba(255, 228, 128, .5), transparent 66%),
    linear-gradient(180deg, #fffdf6 0%, #fff8e3 58%, #fffdf6 100%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(201, 162, 39, .16) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 78%);
  opacity: .7;
}
.hero-inner { display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 22px; justify-items: start; max-width: 620px; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line);
  padding: 8px 15px; border-radius: 999px;
  font-size: .82rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2);
  box-shadow: var(--shadow-s);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #2fbf5b; box-shadow: 0 0 0 4px rgba(47, 191, 91, .16); animation: pulse 2.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.hero h1 { margin-top: 2px; }
.lead { color: var(--ink-2); font-size: clamp(1rem, .95rem + .25vw, 1.1rem); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); font-size: .9rem; font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ic { color: var(--ink); background: var(--lemon); border-radius: 50%; padding: 3px; width: 20px; height: 20px; stroke-width: 2.4; }

/* hero visual */
.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; padding: 8px 0 64px; }
.hero-card {
  position: relative; width: min(372px, 100%); border-radius: 34px; padding: 30px 30px 26px;
  background: linear-gradient(165deg, #ffe07a, var(--lemon) 40%, #ffc61a);
  border: 3px solid rgba(255, 255, 255, .75);
  outline: 2px solid rgba(201, 162, 39, .45); outline-offset: 6px;
  box-shadow: 0 40px 80px -36px rgba(201, 162, 39, .75), inset 0 1px 0 rgba(255, 255, 255, .8);
  transform: rotate(-2.4deg);
  display: grid; gap: 18px;
}
.hero-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hero-card-tag {
  font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(27, 23, 16, .1); color: var(--ink); padding: 7px 12px; border-radius: 999px;
}
.lemon-big { width: 68px; height: 68px; filter: drop-shadow(0 8px 14px rgba(201, 162, 39, .45)); }
.hero-card-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; line-height: 1.14; letter-spacing: -.03em; }
.hero-card-title span { color: rgba(27, 23, 16, .72); }
.hero-card-list { display: grid; gap: 10px; margin: 2px 0 4px; }
.hero-card-list li { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: .96rem; }
.hero-card-list .ic { width: 34px; height: 34px; padding: 7px; background: rgba(255, 255, 255, .72); border-radius: 11px; stroke-width: 1.6; }
.hero-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hero-prices > div { background: rgba(255, 255, 255, .55); border-radius: 13px; padding: 10px 12px; display: grid; gap: 1px; }
.hero-prices span { font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(27, 23, 16, .6); }
.hero-prices b { font-family: var(--font-display); font-size: .95rem; letter-spacing: -.02em; }
.hero-card-phone {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 4px;
  background: var(--ink); color: #fff; font-weight: 800; letter-spacing: .01em;
  padding: 13px 18px; border-radius: 14px; font-size: 1.02rem;
  transition: transform .18s var(--ease), background-color .18s var(--ease);
}
.hero-card-phone:hover { transform: translateY(-2px); background: #2b251b; }
.float-card {
  position: absolute; display: grid; gap: 2px; background: #fff; border-radius: 18px;
  padding: 14px 18px; box-shadow: var(--shadow-l); border: 1px solid var(--line-soft);
  transform: rotate(1.5deg);
}
.float-card .fc-cap { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.float-card strong { font-family: var(--font-display); font-size: 1.02rem; letter-spacing: -.02em; line-height: 1.2; }
.fc-3 { bottom: 0; right: -4px; display: flex; align-items: center; gap: 12px; transform: rotate(1.5deg); }
.fc-3 .fc-ico { width: 40px; height: 40px; display: grid; place-items: center; background: var(--lemon-soft); border-radius: 12px; color: var(--ink); }
.fc-3 .fc-ico .ic { width: 22px; height: 22px; }
.fc-3 strong { font-size: .92rem; line-height: 1.25; }

/* ---------- benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius-l);
  padding: 24px; display: grid; gap: 10px; box-shadow: var(--shadow-s);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: rgba(201, 162, 39, .35); }
.benefit-ico {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: var(--lemon-soft); color: var(--ink); margin-bottom: 2px;
}
.benefit-ico .ic { width: 23px; height: 23px; }
.benefit h3 { font-size: 1.02rem; letter-spacing: -.02em; }
.benefit p { color: var(--muted); font-size: .89rem; line-height: 1.5; }

/* ---------- prices ---------- */
.price-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.price-tab {
  padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; font-weight: 800; font-size: .92rem; color: var(--ink-2);
  transition: all .18s var(--ease);
}
.price-tab:hover { border-color: var(--ink); color: var(--ink); }
.price-tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.price-panels { position: relative; }
.price-panel { animation: fadeUp .35s var(--ease); }
.price-panel[hidden] { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.price-item {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-m);
  padding: 16px 20px; transition: border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.price-item:hover { border-color: rgba(201, 162, 39, .4); transform: translateY(-2px); box-shadow: var(--shadow-m); }
.price-ico { width: 42px; height: 42px; flex: none; display: grid; place-items: center; background: var(--lemon-soft); border-radius: 12px; color: var(--ink); }
.price-ico .ic { width: 23px; height: 23px; }
.price-name { flex: 1; font-weight: 700; font-size: .96rem; line-height: 1.35; }
.price-name small { display: block; color: var(--muted); font-weight: 600; font-size: .78rem; margin-top: 2px; }
.price-val { font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.price-note {
  display: flex; align-items: flex-start; gap: 10px; margin-top: 18px;
  color: var(--ink-2); font-size: .9rem; background: #fffaf0;
  border: 1px dashed rgba(201, 162, 39, .35); border-radius: var(--radius-m); padding: 14px 18px;
}
.price-note .ic { width: 20px; height: 20px; color: var(--gold); margin-top: 2px; }
.price-note a { text-decoration: underline; text-decoration-color: var(--lemon); text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 700; }
.price-chain {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px;
  background: var(--ink); color: #fff; border-radius: var(--radius-m); padding: 16px 20px;
  font-weight: 800; font-size: .9rem; letter-spacing: .01em;
}
.price-chain .ic { width: 18px; height: 18px; color: var(--lemon); }
.price-chain em { margin-left: auto; font-style: normal; color: var(--lemon); font-weight: 800; }

/* ---------- calculator ---------- */
.section-calc { background: linear-gradient(180deg, #fffdf6, #fff8e4 40%, #fffdf6); }
.calc { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(300px, .78fr); gap: 24px; align-items: start; }
.calc-main { display: grid; gap: 20px; }
.calc-step {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-l);
  padding: 24px; box-shadow: var(--shadow-s);
}
.calc-h { display: flex; align-items: center; gap: 12px; font-size: 1.02rem; margin-bottom: 18px; }
.calc-h .num {
  width: 28px; height: 28px; border-radius: 50%; background: var(--lemon); color: var(--ink);
  display: grid; place-items: center; font-family: var(--font-body); font-size: .82rem; font-weight: 800;
}
.calc-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.calc-tab {
  padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-size: .85rem; font-weight: 800; color: var(--ink-2); transition: all .16s var(--ease);
}
.calc-tab:hover { border-color: var(--ink); }
.calc-tab.is-active { background: var(--lemon-soft); border-color: var(--lemon-deep); color: var(--ink); }
.calc-items { display: grid; gap: 8px; }
.calc-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: var(--radius-s); border: 1px solid transparent;
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
}
.calc-item:hover { background: #fffdf4; border-color: var(--line-soft); }
.calc-item.is-on { background: #fffbea; border-color: rgba(240, 180, 0, .45); }
.calc-item-ico { width: 38px; height: 38px; flex: none; display: grid; place-items: center; background: var(--lemon-soft); border-radius: 11px; }
.calc-item-ico .ic { width: 21px; height: 21px; }
.calc-item-info { flex: 1; min-width: 0; }
.calc-item-name { font-weight: 700; font-size: .94rem; line-height: 1.3; }
.calc-item-price { color: var(--muted); font-size: .8rem; font-weight: 600; }
.calc-item-price b { color: var(--ink-2); font-weight: 800; }
.stepper { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.step-btn {
  width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff;
  display: grid; place-items: center; color: var(--ink-2); transition: all .16s var(--ease);
}
.step-btn:hover { border-color: var(--ink); color: var(--ink); background: var(--lemon-soft); }
.step-btn:disabled { opacity: .35; cursor: default; }
.step-btn .ic { width: 15px; height: 15px; stroke-width: 2.2; }
.step-val { min-width: 26px; text-align: center; font-weight: 800; font-size: .95rem; font-variant-numeric: tabular-nums; }
.area-input {
  width: 62px; padding: 7px 8px; border-radius: 9px; border: 1.5px solid var(--line);
  text-align: center; font-weight: 800; font-size: .9rem;
  background: #fff; transition: border-color .16s var(--ease);
}
.area-input:focus { border-color: var(--lemon-deep); outline: none; box-shadow: 0 0 0 3px rgba(255, 210, 51, .3); }
.area-unit { color: var(--muted); font-size: .82rem; font-weight: 700; }

.calc-row { display: grid; grid-template-columns: minmax(150px, .9fr) minmax(200px, 1.1fr); gap: 16px; margin-bottom: 14px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field-label { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field-label .ic { width: 16px; height: 16px; }
input[type='date'], textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-s); border: 1.5px solid var(--line);
  background: #fff; font-size: .95rem; font-weight: 600; transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
input[type='date']:focus, textarea:focus { border-color: var(--lemon-deep); outline: none; box-shadow: 0 0 0 3px rgba(255, 210, 51, .3); }
textarea { resize: vertical; min-height: 84px; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  padding: 9px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff;
  font-size: .82rem; font-weight: 700; color: var(--ink-2); transition: all .16s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--lemon); border-color: var(--lemon-deep); color: var(--ink); }
.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-box { width: 46px; height: 27px; border-radius: 999px; background: var(--line); position: relative; flex: none; transition: background-color .2s var(--ease); }
.switch-box::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 21px; height: 21px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 5px rgba(27, 23, 16, .25); transition: transform .2s var(--ease);
}
.switch input:checked + .switch-box { background: var(--lemon-deep); }
.switch input:checked + .switch-box::after { transform: translateX(19px); }
.switch input:focus-visible + .switch-box { outline: 3px solid var(--gold); outline-offset: 2px; }
.switch-text { font-size: .87rem; color: var(--muted); }
.switch-text strong { color: var(--ink); }

/* summary */
.calc-side { position: sticky; top: 96px; }
.calc-summary {
  background: var(--ink); color: #fff; border-radius: var(--radius-xl); padding: 26px;
  box-shadow: var(--shadow-l); display: grid; gap: 16px;
  background-image: radial-gradient(120% 80% at 100% 0%, rgba(255, 210, 51, .22), transparent 60%);
}
.calc-summary-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.calc-summary-head h3 { color: #fff; font-size: 1.05rem; }
.calc-reset { color: rgba(255, 255, 255, .6); font-size: .78rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.calc-reset:hover { color: #fff; }
.calc-lines { display: grid; gap: 8px; max-height: 250px; overflow-y: auto; padding-right: 4px; }
.calc-lines::-webkit-scrollbar { width: 5px; }
.calc-lines::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .25); border-radius: 9px; }
.calc-empty { color: rgba(255, 255, 255, .55); font-size: .88rem; }
.calc-line { display: flex; gap: 10px; justify-content: space-between; font-size: .87rem; line-height: 1.4; }
.calc-line span:first-child { color: rgba(255, 255, 255, .85); }
.calc-line b { white-space: nowrap; font-weight: 800; }
.calc-line > span:last-child { text-align: right; }
.calc-meta[hidden] { display: none; }
.calc-meta { display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .14); }
.calc-meta-row { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: rgba(255, 255, 255, .8); }
.calc-meta-row .ic { width: 16px; height: 16px; color: var(--lemon); }
.calc-total { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .14); }
.calc-total span { font-size: .85rem; color: rgba(255, 255, 255, .7); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.calc-total strong { font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + .8vw, 1.8rem); letter-spacing: -.03em; color: var(--lemon); line-height: 1.1; }
.calc-total strong.is-empty { color: rgba(255, 255, 255, .3); font-size: 1.4rem; }
.calc-hint { font-size: .78rem; color: rgba(255, 255, 255, .6); line-height: 1.45; }
.calc-hint.is-warn { color: var(--lemon); font-weight: 700; }
.calc-actions { display: grid; gap: 9px; margin-top: 2px; }
.calc-actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.calc-actions .btn-ghost { --btn-bd: rgba(255, 255, 255, .22); --btn-fg: rgba(255, 255, 255, .85); }
.calc-actions .btn-ghost:hover { --btn-bd: rgba(255, 255, 255, .6); --btn-fg: #fff; }
.calc-actions .btn-outline { --btn-bd: rgba(255, 255, 255, .55); --btn-fg: #fff; }
.calc-actions .btn-outline:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.calc-fine { font-size: .72rem; color: rgba(255, 255, 255, .5); line-height: 1.5; }
.calc-fine a { text-decoration: underline; }

.calc-noscript {
  margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-m);
  background: #fff; border: 1px dashed var(--gold); font-size: .9rem;
}
.calc-noscript a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- photo ---------- */
.section-photo { padding-top: 40px; }
.photo-card {
  position: relative; overflow: hidden;
  background:
    radial-gradient(80% 90% at 92% 0%, rgba(255, 210, 51, .3), transparent 58%),
    radial-gradient(70% 80% at 0% 100%, rgba(255, 210, 51, .14), transparent 60%),
    var(--ink);
  color: #fff; border-radius: 40px; padding: clamp(28px, 4vw, 56px);
  display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(24px, 4vw, 52px); align-items: center;
  box-shadow: var(--shadow-l);
}
.photo-copy { display: grid; gap: 20px; justify-items: start; }
.photo-copy h2 { color: #fff; max-width: 20ch; }
.photo-copy p { color: rgba(255, 255, 255, .76); max-width: 48ch; }
.photo-copy p strong { color: #fff; }
.photo-copy p a { color: var(--lemon); font-weight: 800; white-space: nowrap; }
.photo-steps { display: grid; gap: 14px; margin: 4px 0 6px; }
.photo-steps li { display: flex; gap: 14px; align-items: flex-start; }
.photo-step-ico { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 13px; background: rgba(255, 210, 51, .16); color: var(--lemon); border: 1px solid rgba(255, 210, 51, .3); }
.photo-step-ico .ic { width: 21px; height: 21px; }
.photo-steps strong { display: block; font-size: .98rem; }
.photo-steps span { display: block; color: rgba(255, 255, 255, .62); font-size: .86rem; }
.photo-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.photo-fine { font-size: .8rem; color: rgba(255, 255, 255, .5); }
.photo-fine a { color: rgba(255, 255, 255, .8); text-decoration: underline; text-underline-offset: 3px; }

.photo-art { position: relative; display: grid; place-items: center; min-height: 470px; padding-bottom: 34px; }
.phone-mock {
  width: min(286px, 100%); border-radius: 34px; padding: 12px;
  background: linear-gradient(160deg, #33302a, #1b1710 60%);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .16);
  transform: rotate(2.4deg);
}
.phone-top { display: grid; place-items: center; padding: 4px 0 10px; }
.phone-top span { width: 74px; height: 5px; border-radius: 9px; background: rgba(255, 255, 255, .18); }
.phone-screen { border-radius: 24px; background: #efe9dc; padding: 14px 12px; display: grid; gap: 10px; }
.pm-bubble { font-size: .72rem; line-height: 1.42; padding: 10px 12px; border-radius: 14px; color: #1b1710; max-width: 92%; }
.pm-in { background: #fff; border-bottom-left-radius: 5px; box-shadow: var(--shadow-s); }
.pm-out { background: var(--lemon); border-bottom-right-radius: 5px; justify-self: end; font-weight: 600; }
.pm-photo { position: relative; background: #fff; border-radius: 14px; padding: 10px; box-shadow: var(--shadow-s); }
.pm-sofa { width: 100%; height: auto; }
.pm-badge { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; background: var(--ink); color: #fff; font-size: .58rem; font-weight: 800; letter-spacing: .04em; padding: 4px 8px; border-radius: 999px; }
.pm-badge .ic { width: 11px; height: 11px; color: var(--lemon); stroke-width: 2.6; }
.photo-sticker {
  position: absolute; left: 2%; bottom: 0; transform: rotate(-5deg);
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--lemon); color: var(--ink); font-weight: 800; font-size: .78rem;
  padding: 10px 14px; border-radius: 999px; box-shadow: var(--shadow-m);
}
.photo-sticker .ic { width: 16px; height: 16px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-l); padding: 26px 24px; display: grid; gap: 8px; box-shadow: var(--shadow-s); }
.step-num { font-family: var(--font-display); font-size: 1.6rem; color: var(--lemon-deep); letter-spacing: -.04em; line-height: 1; }
.step h3 { font-size: 1.02rem; }
.step p { color: var(--muted); font-size: .87rem; line-height: 1.5; }

/* ---------- faq ---------- */
.faq-wrap { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.faq-aside { display: grid; gap: 26px; align-content: start; }
.faq-card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-l);
  padding: 24px; display: grid; gap: 10px; justify-items: start; box-shadow: var(--shadow-s);
}
.faq-card-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--lemon-soft); display: grid; place-items: center; }
.faq-card-ico .ic { width: 21px; height: 21px; }
.faq-card h3 { font-size: 1rem; }
.faq-card p { color: var(--muted); font-size: .87rem; line-height: 1.5; margin-bottom: 2px; }
.faq-card .btn { width: 100%; }
.faq { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-m); padding: 4px 20px; box-shadow: var(--shadow-s); transition: border-color .18s var(--ease); }
.faq-item[open] { border-color: rgba(201, 162, 39, .4); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 0; font-weight: 800; font-size: .97rem; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chev { width: 20px; height: 20px; color: var(--muted); transition: transform .2s var(--ease); flex: none; }
.faq-item[open] .chev { transform: rotate(180deg); color: var(--ink); }
.faq-body { padding: 0 0 18px; }
.faq-body p { color: var(--muted); font-size: .92rem; line-height: 1.6; }

/* ---------- contacts ---------- */
.section-contacts { padding-bottom: 40px; }
.contacts-inner {
  background: linear-gradient(150deg, #fff0a8, var(--lemon) 55%, #ffcb1f);
  border: 2px solid rgba(255, 255, 255, .7);
  border-radius: 40px; padding: clamp(28px, 4vw, 56px);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 48px); align-items: center;
  box-shadow: 0 30px 70px -40px rgba(201, 162, 39, .8);
}
.contacts-copy { display: grid; gap: 14px; justify-items: start; }
.contacts-copy .eyebrow { background: rgba(255, 255, 255, .7); border-color: rgba(27, 23, 16, .1); }
.contacts-copy h2 { max-width: 16ch; }
.contacts-copy p { color: rgba(27, 23, 16, .72); max-width: 42ch; }
.contacts-phone { font-family: var(--font-display); font-size: clamp(1.35rem, 1rem + 1.6vw, 1.9rem); letter-spacing: -.03em; }
.contacts-phone:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.contacts-links { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .72);
  padding: 9px 15px; border-radius: 999px; font-weight: 800; font-size: .87rem;
  transition: background-color .18s var(--ease), transform .18s var(--ease);
}
.chip-link:hover { background: #fff; transform: translateY(-2px); }
.contacts-cta { background: #fff; border-radius: 28px; padding: 28px; display: grid; gap: 12px; box-shadow: var(--shadow-m); }
.contacts-cta-title { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: -.03em; line-height: 1.2; }
.contacts-cta p:not(.contacts-cta-title) { color: var(--muted); font-size: .9rem; }
.contacts-cta-btns { display: grid; gap: 9px; margin-top: 4px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 56px 0 28px; border-top-left-radius: 40px; border-top-right-radius: 40px; margin-top: 24px; }
.footer-inner { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 36px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.logo-footer .logo-text strong { color: #fff; }
.logo-footer .logo-text small { color: rgba(255, 255, 255, .5); }
.footer-brand p { margin-top: 14px; color: rgba(255, 255, 255, .6); font-size: .87rem; max-width: 38ch; }
.footer-nav { display: grid; gap: 10px; align-content: start; }
.footer-nav a { color: rgba(255, 255, 255, .72); font-size: .9rem; font-weight: 600; width: fit-content; }
.footer-nav a:hover { color: var(--lemon); }
.footer-contacts { display: grid; gap: 10px; justify-items: start; align-content: start; }
.footer-contacts a[href^='tel'] { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: -.03em; color: #fff; }
.footer-contacts a[href^='tel']:hover { color: var(--lemon); }
.footer-contacts span { color: rgba(255, 255, 255, .6); font-size: .85rem; }
.footer-social { display: flex; gap: 8px; margin-top: 4px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: #fff; transition: all .18s var(--ease);
}
.footer-social a:hover { background: var(--lemon); color: var(--ink); transform: translateY(-2px); }
.footer-social .ic { width: 19px; height: 19px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; color: rgba(255, 255, 255, .42); font-size: .78rem; }
.footer-fine { max-width: 52ch; }

/* ---------- mobile bar ---------- */
.mobile-bar {
  display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80;
  gap: 8px; padding: 8px; border-radius: 20px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px -18px rgba(27, 23, 16, .5); border: 1px solid var(--line);
}
.mobile-bar .btn-primary { flex: 1; }
.mobile-bar .btn-icon { width: 52px; height: 52px; padding: 0; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20, 17, 12, .55); backdrop-filter: blur(6px); animation: fadeIn .2s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  position: relative; width: min(470px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
  background: #fff; border-radius: 28px; padding: 28px; display: grid; gap: 12px;
  box-shadow: var(--shadow-l); animation: popIn .24s var(--ease);
}
.modal-card:focus { outline: none; }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: all .16s var(--ease); }
.modal-close:hover { background: var(--line-soft); color: var(--ink); }
.modal-close .ic { width: 18px; height: 18px; }
.modal-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--lemon); display: grid; place-items: center; }
.modal-ico .ic { width: 24px; height: 24px; stroke-width: 2.2; }
.modal-card h3 { font-size: 1.3rem; }
.modal-sub { color: var(--muted); font-size: .87rem; line-height: 1.5; }
.modal-text {
  width: 100%; border-radius: 14px; border: 1.5px solid var(--line); background: #fffdf4;
  padding: 12px 14px; font-size: .84rem; line-height: 1.5; font-family: var(--font-body);
  resize: vertical; color: var(--ink-2);
}
.modal-text:focus { outline: none; border-color: var(--lemon-deep); box-shadow: 0 0 0 3px rgba(255, 210, 51, .3); }
.modal-actions { display: grid; gap: 8px; margin-top: 2px; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 14px;
  font-size: .88rem; font-weight: 700; z-index: 130; opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  box-shadow: var(--shadow-l); max-width: calc(100vw - 40px); text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: 640px; }
  .hero-visual { min-height: 440px; margin-top: 8px; }
  .hero-card { width: min(380px, 100%); }
  .calc { grid-template-columns: 1fr; }
  .calc-side { position: static; }
  .photo-card { grid-template-columns: 1fr; }
  .photo-art { min-height: 380px; order: -1; }
  .faq-wrap { grid-template-columns: 1fr; }
  .contacts-inner { grid-template-columns: 1fr; }
  .nav { gap: 0; }
  .nav a { padding: 8px 10px; font-size: .88rem; }
}

@media (max-width: 920px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex; position: absolute; top: 100%; left: 16px; right: 16px; z-index: 95;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 10px;
    box-shadow: var(--shadow-l);
  }
  .nav.is-open a { padding: 13px 14px; border-radius: 12px; }
  .nav .nav-phone { display: inline-flex; align-items: center; gap: 9px; margin-top: 4px; background: var(--lemon); font-weight: 800; }
  .burger { display: block; }
  .header-cta { display: none; }
  .header-phone { display: none; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .header-inner { min-height: 68px; gap: 14px; }
  .hero { padding: 32px 0 64px; }
  .section { padding: 64px 0; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 92px; }
  .hero-visual { min-height: 400px; }
  .fc-2 { left: -4px; bottom: 34px; }
  .toast { bottom: 100px; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, var(--container)); }
  .price-grid { grid-template-columns: 1fr; }
  .calc-row { grid-template-columns: 1fr; }
  .calc-item { padding: 11px 10px; gap: 9px; }
  .calc-item-ico { width: 34px; height: 34px; }
  .calc-step { padding: 18px 16px; }
  .calc-summary { padding: 22px 18px; }
  .photo-card { border-radius: 30px; }
  .contacts-inner { border-radius: 30px; }
  .site-footer { border-radius: 30px 30px 0 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .hero-card { transform: none; }
  .hero-visual { min-height: 0; padding: 10px 0 54px; }
  .float-card.fc-3 { display: none; }
  .price-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .price-tabs::-webkit-scrollbar { display: none; }
  .price-tab { flex: none; }
  .section-head { margin-bottom: 28px; }
  .calc-total strong { font-size: 1.5rem; }
  .steps { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .photo-art { min-height: 0; padding: 6px 0 40px; }
  .photo-sticker { left: 0; bottom: 6px; }
  .modal-card { padding: 22px 18px; border-radius: 24px; }
  .hero h1 .hl::after { height: .3em; }
}

@media (max-width: 420px) {
  .btn { padding: 13px 18px; font-size: .92rem; }
  .btn-lg { padding: 15px 20px; font-size: .95rem; width: 100%; }
  .hero-cta { display: grid; }
  .photo-actions { display: grid; }
  .hero-points { font-size: .84rem; }
  .price-chain em { margin-left: 0; width: 100%; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* печать */
@media print {
  .site-header, .mobile-bar, .calc-actions, .modal, .toast, .hero-visual { display: none !important; }
  body { background: #fff; }
  .section { padding: 20px 0; }
}
