/* Клеоник — клининговая компания
   Палитра логотипа: тёмно-зелёный / золото / крем */
:root {
  --bay: #163323;       /* тёмно-зелёный букв логотипа: тёмные секции, текст */
  --bay-2: #1E4430;
  --salt: #F3ECE1;      /* крем стены: светлый фон чередующихся секций */
  --bora: #EFE3C8;      /* светлое золото: акценты на светлом */
  --buoy: #C6A15B;      /* золото крыши: только действия */
  --buoy-d: #A8833F;
  --gold-grad: linear-gradient(135deg, #E6CD93 0%, #C6A15B 45%, #A8833F 100%);
  --green-900: #0F2419;
  --leaf: #2B5A3F;      /* листья */
  --pebble: #5E6B60;    /* вторичный текст */
  --line: #E3D6C3;
  --ink: #1A2B21;
  --white: #fff;
  --page: #FCF9F3;

  --f-display: "Cormorant Garamond", Georgia, serif;
  --f-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --r-s: 10px;
  --r-m: 18px;
  --r-l: 32px;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.55 var(--f-body); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); letter-spacing: 0; line-height: 1.12; }
h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: 0; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--buoy); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--bay); color: #fff; padding: 10px 16px; border-radius: var(--r-s); }
.skip:focus { top: 12px; }
.todo { font-style: normal; font-size: 12px; font-weight: 600; color: #8A4A00; background: #FFE7B8; padding: 1px 7px; border-radius: 6px; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px;
  font: 600 16px/1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--buoy { background: var(--buoy); color: #fff; }
.btn--buoy:hover { background: var(--buoy-d); }
.btn--bay { background: var(--bay); color: #fff; }
.btn--bay:hover { background: var(--bay-2); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px #fff; }
.btn--ghost-dark { background: var(--white); color: var(--bay); box-shadow: inset 0 0 0 2px var(--bay); }
.link { font-weight: 600; color: var(--bay); text-decoration: underline; text-decoration-color: var(--buoy); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.link:hover { color: var(--buoy-d); }

/* Топ-бар */
.topbar { background: var(--bay); color: #E8DCCB; font-size: 14px; }
.topbar__in { display: flex; gap: 24px; align-items: center; min-height: 38px; }
.topbar__addr { margin-left: auto; }
.topbar__links { display: flex; gap: 16px; }
.topbar__links a { color: #fff; text-decoration: none; }
.topbar__links a:hover { color: var(--bora); text-decoration: underline; }

/* Шапка */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo svg { width: 40px; height: 40px; flex: none; }
.logo b { display: block; font: 700 17px/1.1 var(--f-display); letter-spacing: 0; }
.logo small { display: block; font-size: 13px; color: var(--pebble); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; }
.nav a:hover { color: var(--buoy-d); }
.header__phone { font-weight: 700; text-decoration: none; white-space: nowrap; }
.header__cta { min-height: 44px; padding: 0 20px; font-size: 15px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--salt); border-radius: 12px; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--bay); margin: 0 auto; position: relative; transition: transform .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Первый экран */
.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 6vw, 80px); background: linear-gradient(180deg, var(--salt), #fff 70%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(28px, 3.9vw, 58px); font-weight: 700; letter-spacing: 0; line-height: 1.02; color: var(--bay); max-width: 11ch; }
.hero__lead { margin-top: 22px; font-size: clamp(17px, 1.5vw, 20px); max-width: 52ch; color: #2E3F33; }
.hero__facts { margin-top: 26px; display: grid; gap: 10px; }
.hero__facts li { padding-left: 30px; position: relative; color: var(--pebble); }
.hero__facts li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--bora); box-shadow: inset 0 0 0 5px var(--bay); }
.hero__facts b { color: var(--ink); font-weight: 600; }

.quick { margin-top: 32px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); max-width: 620px; }
.quick__title { font: 600 15px/1 var(--f-display); margin-bottom: 14px; color: var(--bay); }
.quick__row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.field { display: grid; gap: 6px; font-size: 13px; color: var(--pebble); }
.field input, .field select {
  height: 50px; width: 100%; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font: 500 16px var(--f-body); color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--bay); box-shadow: 0 0 0 3px var(--bora); }
.field input[aria-invalid="true"] { border-color: var(--buoy); }
.consent { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: 13px; color: var(--pebble); }
.consent input { width: 18px; height: 18px; accent-color: var(--bay); flex: none; }
.form-msg { font-size: 14px; margin-top: 8px; min-height: 0; }
.form-msg:empty { display: none; }
.form-msg[data-state="error"] { color: #B4300C; }
.form-msg[data-state="ok"] { color: #1C6B3A; font-weight: 600; }

/* Окно: до/после */
.window { position: relative; margin: 0; aspect-ratio: 6 / 5.4; border-radius: var(--r-l); overflow: hidden; background: var(--bay); box-shadow: 0 30px 60px -30px rgba(22,51,35,.55); --pos: 38%; }
.window__pane { position: absolute; inset: 0; }
.window__pane svg { width: 100%; height: 100%; }
.window__pane--dirty { clip-path: inset(0 0 0 var(--pos)); }
.window__pane--dirty svg { filter: blur(2.5px) saturate(.35) sepia(.45) brightness(.86); transform: scale(1.03); }
.grime {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60px 40px at 70% 24%, rgba(120,100,70,.35), transparent 70%),
    radial-gradient(120px 70px at 85% 70%, rgba(110,95,70,.4), transparent 70%),
    radial-gradient(90px 60px at 55% 60%, rgba(140,120,90,.28), transparent 70%),
    radial-gradient(2px 2px at 20% 30%, rgba(80,60,40,.6), transparent),
    repeating-linear-gradient(100deg, rgba(255,255,255,.06) 0 2px, transparent 2px 22px),
    linear-gradient(180deg, rgba(190,175,140,.25), rgba(120,105,80,.35));
}
.grime::after { /* разводы-капли */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(255,255,255,.35) 0 2px, transparent 3px), radial-gradient(circle at 60% 80%, rgba(255,255,255,.3) 0 3px, transparent 4px);
  background-size: 46px 58px, 73px 61px;
  opacity: .7;
}
.window__frame { position: absolute; inset: 0; pointer-events: none; border: 14px solid #fff; border-radius: var(--r-l); }
.window__frame::after { content: ""; position: absolute; left: 0; right: 0; top: 38%; height: 10px; background: #fff; }
.window__squeegee { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; pointer-events: none; }
.window__squeegee::before { content: ""; position: absolute; top: 14px; bottom: 14px; left: -3px; width: 6px; background: var(--bay); border-radius: 3px; box-shadow: 0 0 0 2px rgba(255,255,255,.8); }
.window__squeegee span { position: absolute; top: 50%; left: -26px; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; background: var(--buoy); box-shadow: 0 6px 18px rgba(0,0,0,.25), inset 0 0 0 4px rgba(255,255,255,.35); }
.window__squeegee span::before, .window__squeegee span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px; border: 6px solid transparent; }
.window__squeegee span::before { left: 8px; border-right-color: #fff; }
.window__squeegee span::after { right: 8px; border-left-color: #fff; }
.window__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.window__range:focus-visible ~ .window__squeegee span, .window:has(.window__range:focus-visible) .window__squeegee span { outline: 3px solid #fff; outline-offset: 3px; }
.window figcaption { position: absolute; left: 28px; top: 28px; padding: 12px 16px; border-radius: 12px; background: rgba(22,51,35,.78); color: #fff; font-size: 14px; line-height: 1.4; pointer-events: none; max-width: 260px; }
.window.is-hint .window__squeegee span { animation: nudge 1.6s ease-in-out 2; }
@keyframes nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(14px); } }

/* Факты */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts p { padding: 26px 24px 26px 0; display: grid; gap: 6px; }
.facts p + p { padding-left: 24px; border-left: 1px solid var(--line); }
.facts b { font: 700 clamp(26px, 2.6vw, 34px)/1 var(--f-display); color: var(--bay); letter-spacing: 0; }
.facts span { font-size: 14px; color: var(--pebble); max-width: 24ch; }

/* Секции */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--salt { background: var(--salt); }
.section--bay { background: var(--bay); color: #fff; }
.section--tight { padding: clamp(28px, 4vw, 48px) 0; }
.head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 760px; }
.head p { color: var(--pebble); font-size: 18px; max-width: 62ch; }
.head--light p { color: #D9C8B0; }
.head--side { align-content: start; margin-bottom: 0; }
.head--side .btn { justify-self: start; margin-top: 8px; }
.head--row { display: flex; justify-content: space-between; align-items: end; gap: 32px; max-width: none; }
.head--row > div:first-child { display: grid; gap: 14px; max-width: 640px; }
.note { font-size: 15px !important; color: var(--ink) !important; padding: 14px 16px; background: var(--salt); border-radius: 12px; border-left: 4px solid var(--buoy); }
.split > * { min-width: 0; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: start; }

/* Направления — мозаика разного размера */
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--r-m); border: 1px solid var(--line); background: #fff; }
.tile p { color: var(--pebble); }
.tile .link, .tile .btn { margin-top: auto; align-self: flex-start; }
.tile__price { font: 600 18px/1.2 var(--f-display) !important; color: var(--bay) !important; margin-top: 4px; }
.tile--wide { grid-row: span 2; }
.tile--row { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 2fr auto auto; align-items: center; gap: 24px; }
.tile--row .tile__price { margin: 0; white-space: nowrap; }
.tile--row .link { margin: 0; }
.tile--dark { background: var(--bay); border-color: var(--bay); color: #fff; }
.tile--dark h3 { font-size: 28px; }
.tile--dark p { color: #D9C8B0; }
.tile--sky { background: var(--bora); border-color: var(--bora); }
.tile--sky p { color: #3E5A47; }
.prices { margin: 8px 0 20px; }
.prices li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.prices b { font-family: var(--f-display); font-weight: 600; white-space: nowrap; }

/* Вкладки */
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: #fff; border-radius: 999px; border: 1px solid var(--line); margin-bottom: 24px; flex-wrap: wrap; }
.tabs button { border: 0; background: transparent; padding: 12px 20px; border-radius: 999px; font: 600 15px var(--f-body); color: var(--pebble); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--bay); color: #fff; }
.tabs button:hover:not([aria-selected="true"]) { color: var(--bay); }
.zones { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r-m); border: 1px solid var(--line); }
.zones > div { padding: 28px 24px; }
.zones > div + div { border-left: 1px solid var(--line); }
.zones h3 { margin-bottom: 16px; color: var(--bay); }
.zones li { position: relative; padding: 7px 0 7px 28px; font-size: 15px; line-height: 1.4; }
.zones li::before { content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 9px; border-left: 2.5px solid var(--buoy); border-bottom: 2.5px solid var(--buoy); transform: rotate(-45deg); }

/* Прайс химчистки — как ценник с точечной линией */
.pricelist { display: grid; gap: 10px; }
.pricelist h3 { margin-top: 18px; font-size: 15px; color: var(--pebble); font-family: var(--f-body); font-weight: 600; letter-spacing: 0; }
.pricelist h3:first-child { margin-top: 0; }
.pricelist dl > div { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pricelist dt { font-weight: 500; }
.pricelist dt::after { content: ""; }
.pricelist dl > div::after { content: none; }
.pricelist dd { margin-left: auto; font: 600 17px var(--f-display); color: var(--bay); white-space: nowrap; }
.pricelist .btn { justify-self: start; margin-top: 22px; }

/* Калькулятор */
.calc { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.calc__controls { display: grid; gap: 28px; padding: 32px; background: var(--bay-2); border-radius: var(--r-m); }
.calc fieldset { border: 0; margin: 0; padding: 0; }
.calc legend, .range > span { font-weight: 600; margin-bottom: 12px; display: block; color: #fff; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { width: 100%; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; padding: 12px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); cursor: pointer; font-weight: 500; }
.seg input:checked + span { background: #fff; color: var(--bay); box-shadow: none; }
.seg input:focus-visible + span { outline: 3px solid var(--buoy); outline-offset: 2px; }
.range output { font-family: var(--f-display); color: var(--bora); }
.range input { width: 100%; accent-color: var(--buoy); height: 28px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.checks legend { grid-column: 1 / -1; }
.checks label { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #EDE3D2; cursor: pointer; }
.checks input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--buoy); flex: none; }
.mini { width: 58px; height: 34px; border-radius: 8px; border: 0; padding: 0 8px; font: 600 15px var(--f-body); }
.calc__result { padding: 32px; border-radius: var(--r-m); background: #fff; color: var(--ink); display: flex; flex-direction: column; gap: 10px; }
.calc__label { color: var(--pebble); font-size: 14px; }
.calc__sum { font: 700 clamp(44px, 5vw, 64px)/1 var(--f-display); letter-spacing: 0; color: var(--bay); }
.calc__time { color: var(--pebble); }
.calc__lines { margin: 12px 0 20px; font-size: 15px; border-top: 1px solid var(--line); }
.calc__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.calc__lines li span:last-child { font-weight: 600; white-space: nowrap; }
.calc__result .btn { margin-top: auto; }

/* Доп. услуги — строки, а не карточки */
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.extras li { display: grid; grid-template-columns: 1fr auto; gap: 2px 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.extras b { font-weight: 600; }
.extras span { grid-column: 1; color: var(--pebble); font-size: 15px; }
.extras em { grid-column: 2; grid-row: 1 / 3; align-self: center; font: 600 17px var(--f-display); font-style: normal; color: var(--bay); white-space: nowrap; }

/* Шаги — настоящая последовательность, поэтому номера */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 76px 24px 28px; background: #fff; border-radius: var(--r-m); }
.steps li::before { content: counter(step); position: absolute; top: 22px; left: 24px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bay); color: #fff; font: 700 17px var(--f-display); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 42px; left: 76px; right: -16px; height: 2px; background: repeating-linear-gradient(90deg, var(--bay) 0 6px, transparent 6px 12px); opacity: .3; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--pebble); font-size: 15px; }

/* Кейсы */
.cases { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.case { scroll-snap-align: start; display: grid; gap: 14px; align-content: start; }
.case__img { aspect-ratio: 4 / 3; border-radius: var(--r-m); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.case__img span { display: flex; align-items: flex-end; padding: 12px; font-size: 13px; font-weight: 600; }
.case__img span:first-child { background: repeating-linear-gradient(135deg, #C9BFA8 0 10px, #BFB49A 10px 20px); color: #4A3F2A; }
.case__img span:last-child { background: linear-gradient(160deg, var(--bora), #FBF6EA); color: var(--bay); border-left: 3px solid #fff; }
.case h3 { font-size: 17px; }
.case dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.case dt { color: var(--pebble); }
.case dd { text-align: right; font-weight: 500; }

/* Акция */
.promo { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-l); background: var(--buoy); color: #fff; }
.promo h2 { font-size: clamp(26px, 3vw, 38px); }
.promo p { margin-top: 12px; color: #2E3F33; }
.promo .todo { color: #8A4A00; }
.promo__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.promo__form .consent, .promo__form .form-msg { grid-column: 1 / -1; margin-top: 0; }
.field--light span { color: #2E3F33; }
.field--light input { border-color: transparent; }
.consent--light { color: #2E3F33; }
.consent--light input { accent-color: var(--bay); }
.promo .form-msg[data-state="error"] { color: #fff; font-weight: 600; }
.promo .form-msg[data-state="ok"] { color: #fff; }

/* О компании */
.split--about { grid-template-columns: 7fr 5fr; align-items: center; }
.split--about > div { display: grid; gap: 18px; }
.split--about p { color: #3A4A3F; max-width: 62ch; }
.split--about .btn { justify-self: start; }
.numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: var(--r-m); overflow: hidden; }
.numbers div { background: #fff; padding: 28px 24px; display: flex; flex-direction: column-reverse; gap: 6px; }
.numbers dd { font: 700 clamp(34px, 3.6vw, 48px)/1 var(--f-display); color: var(--bay); letter-spacing: 0; }
.numbers dt { color: var(--pebble); font-size: 14px; }

/* Бизнесу */
.biz li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.biz b { font-weight: 600; }
.clients-label { margin-top: 28px; color: var(--pebble); font-size: 14px; }
.clients { margin-top: 12px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.clients span { height: 56px; border-radius: 12px; background: repeating-linear-gradient(135deg, var(--salt) 0 8px, #fff 8px 16px); border: 1px dashed var(--line); }

/* География */
.geo { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
.geo__col { background: #fff; border-radius: var(--r-m); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 9px 14px; border-radius: 999px; background: var(--salt); font-size: 15px; }
.chips .chips__main { background: var(--bay); color: #fff; }
.geo__price { margin-top: auto; font: 600 16px var(--f-display); color: var(--buoy-d); }
.geo__note { margin-top: 18px; color: var(--pebble); }

/* Отзывы */
.rating { display: grid; gap: 6px; text-align: right; color: var(--pebble); font-size: 15px; }
.rating b { font: 700 22px var(--f-display); color: var(--bay); margin-right: 6px; }
.rating .link { justify-self: end; margin-top: 4px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { margin: 0; padding: 28px; border-radius: var(--r-m); background: var(--salt); display: flex; flex-direction: column; gap: 20px; }
.review:nth-child(2) { background: var(--bora); }
.review p { font-size: 16px; line-height: 1.55; }
.review p::before { content: "«"; } .review p::after { content: "»"; }
.review footer { margin-top: auto; display: grid; gap: 2px; font-size: 14px; }
.review footer span { color: var(--pebble); }

/* Гарантии */
.guarantees li { position: relative; padding: 16px 0 16px 40px; border-bottom: 1px solid #E3D6C3; }
.guarantees li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 20px; height: 20px; border-radius: 50%; background: var(--bay); }
.guarantees li::after { content: ""; position: absolute; left: 10px; top: 23px; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.guarantees b { font-weight: 600; }
.brands { margin-top: 24px; font-weight: 600; color: var(--bay); }
.brands span { color: var(--pebble); font-weight: 400; margin-right: 6px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 48px 20px 0; position: relative; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--salt) linear-gradient(var(--bay), var(--bay)) center / 12px 2px no-repeat; }
.faq summary::before { content: ""; position: absolute; right: 17px; top: 50%; width: 2px; height: 12px; margin-top: -6px; background: var(--bay); z-index: 1; transition: transform .2s; }
.faq details[open] summary::before { transform: scaleY(0); }
.faq details p { padding: 0 48px 22px 0; color: #3A4A3F; max-width: 64ch; }

/* Финальный CTA */
.final { background: var(--bay); color: #fff; padding: clamp(64px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.final::before { /* волны бухты */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; opacity: .18;
  background: radial-gradient(40px 14px at 40px 0, transparent 30px, var(--bora) 31px 33px, transparent 34px) 0 30px / 80px 40px repeat-x,
              radial-gradient(40px 14px at 40px 0, transparent 30px, var(--bora) 31px 33px, transparent 34px) 40px 70px / 80px 40px repeat-x;
}
.final__in { position: relative; display: grid; gap: 22px; }
.final h2 { font-size: clamp(32px, 4.6vw, 60px); font-weight: 700; max-width: 18ch; letter-spacing: 0; }
.final p { color: #D9C8B0; font-size: 19px; max-width: 56ch; }
.final__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.final__phone { margin-left: 12px; font: 700 20px var(--f-display); text-decoration: none; }
.final__phone:hover { color: var(--bora); }

/* Контакты */
.contacts { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.contacts__info { display: grid; gap: 24px; align-content: start; }
.contacts dl > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contacts dt { font-size: 13px; color: var(--pebble); }
.contacts dd { font-weight: 600; font-size: 18px; }
.contacts dd a { text-decoration: none; }
.contacts dd a:hover { color: var(--buoy-d); }
.map { min-height: 380px; border-radius: var(--r-l); overflow: hidden; background: var(--salt); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Подвал */
.footer { background: var(--ink); color: #D9C8B0; padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.logo--light b { color: #fff; }
.logo--light small { color: #B8A88E; }
.footer__about { margin-top: 18px; font-size: 15px; max-width: 36ch; }
.footer nav { display: grid; gap: 10px; align-content: start; }
.footer h3 { font: 600 15px var(--f-body); color: #fff; letter-spacing: 0; margin-bottom: 4px; }
.footer nav a { text-decoration: none; font-size: 15px; }
.footer nav a:hover { color: #fff; text-decoration: underline; }
.footer__legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: #B8A88E; }

/* Липкая панель телефона */
.dock { display: none; }

/* ——— Адаптив ——— */
@media (max-width: 1100px) {
  .header__phone { display: none; }
  .zones { grid-template-columns: 1fr 1fr; }
  .zones > div:nth-child(3) { border-left: 0; }
  .zones > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
  .promo { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .topbar__addr { display: none; }
  .topbar__links { margin-left: auto; }
  .burger { display: block; margin-left: auto; }
  .header__cta { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gut) 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .hero__grid, .split, .split--about, .calc, .contacts, .geo { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .window { order: -1; aspect-ratio: 4 / 3; }
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .facts p:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts p:nth-child(n+3) { border-top: 1px solid var(--line); }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .tile--wide { grid-column: 1 / -1; grid-row: auto; }
  .tile--row { display: flex; align-items: flex-start; gap: 12px; }
  .extras { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .head--row { flex-direction: column; align-items: start; }
  .rating { text-align: left; }
  .rating .link { justify-self: start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .hero h1 { font-size: 8.2vw; }
  .topbar__in > span:first-child { display: none; }
  .quick__row, .promo__form { grid-template-columns: 1fr; }
  .quick .btn, .promo__form .btn { width: 100%; }
  .mosaic, .zones, .steps, .checks, .footer__grid { grid-template-columns: 1fr; }
  .zones > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .facts p { padding: 20px 12px 20px 0; }
  .facts p:nth-child(even) { padding-left: 16px; }
  .tile { padding: 22px; }
  .calc__controls, .calc__result { padding: 22px; }
  .window figcaption { left: 16px; top: 16px; padding: 8px 12px; font-size: 12px; max-width: 180px; }
  .window__frame { border-width: 10px; }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .final__phone { margin-left: 0; }
  .tabs { display: flex; border-radius: var(--r-m); }
  .tabs button { flex: 1 1 auto; }
  .dock {
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ——— Многостраничный сайт ——— */
.nav a[aria-current="page"] { color: var(--buoy-d); }
.nav__more { border: 0; background: var(--salt); color: var(--bay); font: 600 15px var(--f-body); padding: 9px 16px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.nav__more::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.nav__more[aria-expanded="true"] { background: var(--bay); color: #fff; }
.nav__more[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.header__in { position: relative; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(22,51,35,.35); padding: 28px 0 24px; }
.header .mega { left: 50%; width: 100vw; transform: translateX(-50%); }
.mega__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.mega__title { font: 600 14px var(--f-display); color: var(--bay); margin-bottom: 10px; }
.mega ul { display: grid; gap: 2px; }
.mega a { display: block; padding: 5px 0; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink); }
.mega a:hover, .mega a[aria-current="page"] { color: var(--buoy-d); }
.mega__foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }

.crumbs { background: var(--salt); font-size: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 14px; padding-bottom: 0; }
.crumbs li { color: var(--pebble); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #C9B89C; }
.crumbs a { color: var(--bay); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.svc-hero { padding: 28px 0 clamp(40px, 6vw, 72px); background: linear-gradient(180deg, var(--salt), #fff 85%); }
.svc-hero--short { padding-bottom: clamp(28px, 4vw, 48px); }
.svc-hero__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.svc-hero h1 { font-size: clamp(30px, 4vw, 54px); font-weight: 700; letter-spacing: 0; color: var(--bay); line-height: 1.05; max-width: 18ch; }
.svc-hero__sec { margin-bottom: 14px; font-size: 15px; }
.svc-hero__sec a { color: var(--pebble); }
.svc-price { position: sticky; top: 96px; padding: 28px; border-radius: var(--r-l); background: var(--bay); color: #fff; display: grid; gap: 12px; margin-top: 34px; }
.svc-price__label { color: #D9C8B0; font-size: 14px; }
.svc-price__from { font: 700 clamp(30px, 3.2vw, 44px)/1.05 var(--f-display); letter-spacing: 0; }
.svc-price__note { color: #D9C8B0; font-size: 15px; }
.svc-price .btn { justify-self: start; margin-top: 6px; }

.zones--1 { grid-template-columns: 1fr; }
.zones--1 ul { columns: 2; column-gap: 40px; }
.zones--2 { grid-template-columns: 1fr 1fr; }
.zones--3 { grid-template-columns: repeat(3, 1fr); }

.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.related a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px; border-radius: var(--r-m); border: 1px solid var(--line); text-decoration: none; transition: border-color .15s; }
.related a:hover { border-color: var(--bay); }
.related b { font-weight: 600; }
.related span { color: var(--bay); font: 600 15px var(--f-display); margin-top: auto; }
.related--list { grid-template-columns: repeat(3, 1fr); }

.hub { padding-top: 8px; padding-bottom: clamp(48px, 7vw, 96px); display: grid; gap: clamp(40px, 5vw, 64px); }
.hub__sec { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; scroll-margin-top: 96px; }
.hub__head { display: grid; gap: 10px; align-content: start; }
.hub__head h2 { font-size: clamp(24px, 2.6vw, 32px); }
.hub__head p { color: var(--pebble); }
.hub .related--list { grid-template-columns: repeat(2, 1fr); }

.section--first { padding-top: clamp(24px, 3vw, 40px); }
.footer__grid--5 { grid-template-columns: 1.6fr repeat(4, 1fr); }
.footer__contacts { margin-top: 18px; font-size: 15px; line-height: 1.9; }
.footer__contacts a { color: #fff; text-decoration: none; }
.footer__contacts a:hover { text-decoration: underline; }
.biz a { text-decoration: none; }
.biz a:hover b { color: var(--buoy-d); }
.extras b a { text-decoration: none; }
.extras b a:hover { color: var(--buoy-d); text-decoration: underline; }
.pricelist .btn + .btn { margin-left: 8px; }

@media (max-width: 1100px) {
  .mega__grid { grid-template-columns: repeat(3, 1fr); }
  .related { grid-template-columns: repeat(2, 1fr); }
  .footer__grid--5 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid--5 > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav { overflow-y: auto; max-height: calc(100vh - 110px); }
  .nav__more { align-self: flex-start; margin: 10px 0 6px; }
  .mega, .header .mega { position: static; width: auto; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; }
  .mega__grid { grid-template-columns: 1fr 1fr; gap: 16px; padding: 0; }
  .mega__foot { padding-left: 0; padding-right: 0; }
  .mega a { border: 0; padding: 6px 0; font-size: 15px; }
  .svc-hero__grid, .hub__sec { grid-template-columns: 1fr; }
  .svc-price { position: static; margin-top: 0; }
  .zones--3 { grid-template-columns: 1fr; }
  .zones--3 > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .related--list, .hub .related--list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .zones--2 { grid-template-columns: 1fr; }
  .zones--2 > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .zones--1 ul { columns: 1; }
  .related, .related--list, .hub .related--list, .footer__grid--5 { grid-template-columns: 1fr; }
  .mega__grid { grid-template-columns: 1fr; }
  .pricelist .btn + .btn { margin: 8px 0 0; }
}
.nav a, .nav__more, .logo b, .header__cta, .header__phone { white-space: nowrap; }
.header__in { gap: 22px; }
.nav { gap: 20px; align-items: center; }
@media (max-width: 1280px) { .header__phone { display: none; } }
@media (max-width: 1100px) and (min-width: 901px) { .logo small { display: none; } .nav { gap: 16px; } }
@media (max-width: 900px) { .nav { align-items: stretch; } }

/* ——— Стиль «Клеоник»: золото, крем, засечки ——— */
body { background: var(--page); }
h1, h2 { font-weight: 600; line-height: 1.05; }
h3 { font-family: var(--f-body); font-weight: 700; font-size: 18px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 66px); max-width: 13ch; }
.hero h1 em, .svc-hero h1 em { font-style: normal; color: var(--buoy-d); }
.svc-hero h1 { font-size: clamp(34px, 4.4vw, 58px); }
.btn { border-radius: 12px; font-weight: 700; }
.btn--buoy { background: var(--gold-grad); color: var(--green-900); box-shadow: 0 10px 24px -12px rgba(168,131,63,.85); }
.btn--buoy:hover { background: var(--gold-grad); filter: brightness(1.06); }
.btn--bay { background: var(--bay); color: var(--bora); }
.btn--ghost { box-shadow: inset 0 0 0 1.5px rgba(198,161,91,.6); color: var(--bora); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--buoy); }
.btn--ghost-dark { background: transparent; color: var(--bay); box-shadow: inset 0 0 0 1.5px var(--bay); }
.topbar { background: var(--green-900); border-bottom: 1px solid rgba(198,161,91,.25); }
.topbar__links a:hover { color: var(--buoy); }
.header { background: rgba(252,249,243,.95); }
.logo svg { width: 44px; height: 38px; }
.logo b { font-family: var(--f-display); font-size: 26px; font-weight: 700; color: var(--bay); letter-spacing: .01em; }
.logo small { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--buoy-d); }
.logo--light b { color: var(--salt); }
.logo--light small { color: var(--buoy); }
.hero { background: linear-gradient(180deg, var(--salt), var(--page) 75%); }
.hero__facts li::before { background: var(--bora); box-shadow: inset 0 0 0 5px var(--leaf); }
.window { border: 1px solid rgba(198,161,91,.45); }
.window__frame { border-color: var(--salt); }
.window__frame::after { background: var(--salt); }
.window__squeegee span { background: var(--gold-grad); }
.window__squeegee span::before { border-right-color: var(--green-900); }
.window__squeegee span::after { border-left-color: var(--green-900); }
.window figcaption { background: rgba(15,36,25,.82); border: 1px solid rgba(198,161,91,.35); }
.facts b, .numbers dd, .calc__sum, .svc-price__from { color: var(--bay); }
.section--bay, .final, .tile--dark, .svc-price { background: var(--green-900); }
.section--bay .head h2, .final h2 { color: var(--salt); }
.tile--dark h3, .svc-price__from, .final h2 em { color: var(--bora); }
.tile { background: #fff; }
.tile:hover, .related a:hover { border-color: var(--buoy); }
.tile--sky { background: var(--bora); border-color: #E3CF9F; }
.zones li::before { border-color: var(--buoy); }
.tabs button[aria-selected="true"], .chips .chips__main { background: var(--bay); color: var(--bora); }
.calc__controls { background: var(--bay); border: 1px solid rgba(198,161,91,.3); }
.range output { color: var(--buoy); }
.seg input:checked + span { background: var(--gold-grad); color: var(--green-900); }
.calc__result { border: 1px solid var(--line); }
.calc__sum { font-size: clamp(48px, 5.4vw, 70px); }
.steps li::before { background: var(--gold-grad); color: var(--green-900); }
.steps li { border: 1px solid var(--line); }
.case__img span:last-child { background: linear-gradient(160deg, var(--bora), #FBF6EA); }
.promo { background: var(--gold-grad); color: var(--green-900); }
.promo p { color: #2E3F33; }
.field--light span, .consent--light { color: var(--green-900); }
.promo .btn--bay { color: var(--bora); }
.promo .form-msg[data-state="error"], .promo .form-msg[data-state="ok"] { color: var(--green-900); }
.review { border: 1px solid var(--line); }
.guarantees li::before { background: var(--leaf); }
.faq summary::after { background-color: var(--bora); }
.footer { background: var(--green-900); color: #D9C8B0; border-top: 1px solid rgba(198,161,91,.3); }
.footer h3 { color: var(--buoy); }
.footer nav a:hover, .footer__contacts a:hover { color: var(--bora); }
.nav__more { background: var(--salt); }
.nav__more[aria-expanded="true"] { background: var(--bay); color: var(--bora); }
.mega { background: var(--page); }
.mega__title { font-size: 18px; }
.crumbs { background: var(--salt); }
.svc-hero { background: linear-gradient(180deg, var(--salt), var(--page) 85%); }
.svc-price { border: 1px solid rgba(198,161,91,.4); }
.svc-price .btn { justify-self: stretch; }
.related span { font-size: 18px; color: var(--buoy-d); }
.dock { background: rgba(252,249,243,.96); }
.quick__title { font: 700 14px var(--f-body); }

/* ——— Первый экран из дизайна «Клеоник» ——— */
.lux { padding: 28px 0 clamp(40px, 6vw, 72px); background: linear-gradient(180deg, var(--salt), var(--page) 60%); }
.lux__card {
  position: relative; border-radius: 26px; overflow: hidden; color: var(--salt);
  padding: clamp(28px, 4vw, 48px) clamp(22px, 4vw, 48px) 140px;
  background:
    linear-gradient(100deg, rgba(15,36,25,.97) 0%, rgba(15,36,25,.84) 45%, rgba(15,36,25,.42) 100%),
    url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1800&q=70") center / cover,
    var(--green-900);
  border: 1px solid rgba(198,161,91,.3);
}
.lux__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.lux__badge { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #EAD7A8; border: 1px solid rgba(198,161,91,.45); border-radius: 999px; padding: 8px 15px; }
.lux__seg { display: flex; background: rgba(0,0,0,.28); border: 1px solid rgba(198,161,91,.3); border-radius: 999px; padding: 4px; }
.lux__seg button { border: 0; background: none; color: #E8DCCB; font: 600 14px var(--f-body); padding: 10px 18px; border-radius: 999px; cursor: pointer; }
.lux__seg button[aria-pressed="true"] { background: var(--gold-grad); color: var(--green-900); }
.lux h1 { font: 600 clamp(40px, 5.6vw, 76px)/1 var(--f-display); margin: clamp(26px, 4vw, 40px) 0 18px; color: var(--salt); max-width: 12ch; }
.lux h1 em { font-style: normal; color: #D9BC7E; }
.lux__lead { max-width: 58ch; font-size: clamp(16px, 1.4vw, 19px); color: #E8DCCB; }
.lux__checks { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 24px; font-size: 15px; color: #E8DCCB; }
.lux__checks li::before { content: "✓"; color: #D9BC7E; font-weight: 700; margin-right: 8px; }

.lux__row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; margin: -100px clamp(0px, 2vw, 24px) 0; }
.lux__form { max-width: none; margin: 0; padding: clamp(22px, 3vw, 32px); border-radius: 20px; border-color: var(--line); box-shadow: 0 28px 56px -32px rgba(15,36,25,.55); }
.lux__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--buoy-d); }
.lux__title { font: 600 clamp(24px, 2.4vw, 30px)/1.15 var(--f-display); color: var(--bay); margin: 6px 0 20px; }
.lux__side { display: grid; gap: 18px; align-content: start; padding: 26px; border-radius: 20px; background: var(--green-900); color: #E8DCCB; border: 1px solid rgba(198,161,91,.35); box-shadow: 0 28px 56px -32px rgba(15,36,25,.7); }
.lux__sla { display: flex; gap: 14px; padding: 16px; border-radius: 14px; border: 1px solid rgba(198,161,91,.35); background: rgba(198,161,91,.07); }
.lux__ic { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-grad); color: var(--green-900); }
.lux__sla b { font-size: 12px; letter-spacing: .08em; color: #D9BC7E; }
.lux__sla p { font-size: 13px; color: #D9C8B0; margin-top: 4px; }
.lux__prices li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(232,220,203,.14); font-size: 15px; }
.lux__prices a { text-decoration: none; color: #E8DCCB; }
.lux__prices a:hover { color: #D9BC7E; }
.lux__prices b { font: 700 18px var(--f-display); color: #EAD7A8; white-space: nowrap; }
.lux__side .btn { width: 100%; }

@media (max-width: 980px) {
  .lux__row { grid-template-columns: 1fr; margin: -90px 0 0; }
}
@media (max-width: 640px) {
  .lux { padding-top: 16px; }
  .lux__card { padding-bottom: 120px; border-radius: 20px; }
  .lux__seg { width: 100%; }
  .lux__seg button { flex: 1; padding: 10px 8px; font-size: 13px; }
  .lux__badge { font-size: 10px; }
}
.lux__slots { border: 0; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lux__slots legend { grid-column: 1 / -1; float: left; width: 100%; font-size: 13px; color: var(--pebble); margin-bottom: 10px; }
.lux__slots label { position: relative; }
.lux__slots input { position: absolute; opacity: 0; inset: 0; }
.lux__slots span { display: grid; gap: 2px; text-align: center; padding: 10px 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--page); font-weight: 600; font-size: 14px; color: var(--bay); cursor: pointer; }
.lux__slots small { font-weight: 500; font-size: 12px; color: var(--pebble); }
.lux__slots input:checked + span { border-color: var(--buoy); background: #FBF4E4; box-shadow: inset 0 0 0 1px var(--buoy); }
.lux__slots input:focus-visible + span { outline: 3px solid var(--buoy); outline-offset: 2px; }
@media (max-width: 640px) { .lux__slots { grid-template-columns: 1fr 1fr; } }

/* ——— Калькулятор из дизайна «Клеоник» ——— */
.kcalc { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.kcalc fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.kcalc input[type="radio"], .kcalc input[type="checkbox"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kcalc__main { padding: clamp(22px, 3vw, 34px); border-radius: 20px; background: var(--page); border: 1px solid var(--line); box-shadow: 0 28px 56px -34px rgba(15,36,25,.5); }
.kcalc__title { font: 700 clamp(20px, 2vw, 24px)/1.2 var(--f-body); color: var(--bay); margin: 8px 0 20px; }
.kcalc__tier { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 15px; color: var(--pebble); margin-bottom: 20px; }
.kcalc__tier select { height: 48px; min-width: 280px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: 500 16px var(--f-body); color: var(--ink); }
.kcalc__tier select:focus { outline: none; border-color: var(--buoy); box-shadow: 0 0 0 3px var(--bora); }
.kcalc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kbox { padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.kbox__lbl { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--pebble); }
.kbox__lbl b { font: 700 20px var(--f-body); letter-spacing: 0; text-transform: none; color: var(--bay); white-space: nowrap; }
.kbox input[type="range"] { width: 100%; margin: 18px 0 8px; accent-color: var(--bay); height: 24px; }
.kbox__ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--pebble); }
.kstep { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.kstep button { flex: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--salt); color: var(--bay); font-size: 20px; cursor: pointer; }
.kstep button:hover { border-color: var(--buoy); }
.kstep output { min-width: 26px; text-align: center; font: 700 24px var(--f-body); color: var(--ink); }
.kstep small { font-size: 13px; color: var(--pebble); line-height: 1.35; }
.kcalc__sub { margin: 26px 0 12px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--pebble); }
.kopts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kopt { position: relative; }
.kopt > span { display: grid; gap: 4px; align-content: start; height: 100%; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: border-color .15s, background-color .15s; }
.kopt b { font-size: 15px; font-weight: 700; color: var(--bay); line-height: 1.3; }
.kopt i { font-style: normal; font-size: 13px; color: var(--pebble); }
.kopt:hover > span { border-color: var(--buoy); }
.kopt input:checked + span { background: #FBF4E4; border-color: var(--buoy); box-shadow: inset 0 0 0 1px var(--buoy); }
.kopt input:focus-visible + span, .kfreq input:focus-visible + span, .kslots input:focus-visible + span, .ktoggle input:focus-visible + .ktoggle__sw { outline: 3px solid var(--buoy); outline-offset: 2px; }
.kcalc__bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.ktoggle { position: relative; display: flex; align-items: center; gap: 14px; max-width: 360px; font-size: 14px; color: var(--pebble); cursor: pointer; }
.ktoggle b { display: block; font-size: 16px; color: var(--ink); }
.ktoggle__sw { flex: none; position: relative; width: 48px; height: 28px; border-radius: 999px; background: #D9C8B0; transition: background-color .2s; }
.ktoggle__sw::after { content: ""; position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.ktoggle input:checked + .ktoggle__sw { background: var(--leaf); }
.ktoggle input:checked + .ktoggle__sw::after { transform: translateX(20px); }
.kfreq { display: flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 14px; background: var(--salt); }
.kfreq label { position: relative; }
.kfreq span { display: block; padding: 10px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--pebble); cursor: pointer; }
.kfreq em { font-style: normal; }
.kfreq input:checked + span { background: var(--bay); color: var(--bora); }

.kcalc__side { position: sticky; top: 96px; display: grid; gap: 18px; padding: 26px; border-radius: 20px; background: var(--green-900); color: #E8DCCB; border: 1px solid rgba(198,161,91,.35); box-shadow: 0 28px 56px -32px rgba(15,36,25,.7); }
.kslots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kslots legend { grid-column: 1 / -1; float: left; width: 100%; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #D9C8B0; margin-bottom: 10px; }
.kslots label { position: relative; }
.kslots span { display: block; text-align: center; padding: 11px 4px; border-radius: 10px; border: 1px solid rgba(232,220,203,.22); font-size: 14px; font-weight: 600; color: #E8DCCB; cursor: pointer; }
.kslots input:checked + span { border-color: var(--buoy); color: #EAD7A8; background: rgba(198,161,91,.12); }
.klines { display: grid; gap: 4px; }
.klines li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 15px; color: #D9C8B0; }
.klines li span:last-child { font-weight: 700; color: #FBF6EA; white-space: nowrap; }
.klines .is-disc, .klines .is-disc span:last-child { color: #8FD3A6; }
.ktotal { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-top: 18px; border-top: 1px solid rgba(232,220,203,.15); }
.ktotal small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #D9C8B0; }
.ktotal em { display: block; margin-top: 4px; font-style: normal; font-size: 13px; color: #D9BC7E; }
.ktotal > b { font: 700 clamp(36px, 3.4vw, 46px)/1 var(--f-display); color: #EAD7A8; white-space: nowrap; }
.kcalc__side .btn { width: 100%; }

@media (max-width: 1100px) { .kcalc { grid-template-columns: 1fr; } .kcalc__side { position: static; } .kopts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .kcalc__grid, .kopts { grid-template-columns: 1fr; }
  .kcalc__tier select { min-width: 0; width: 100%; }
  .kfreq { width: 100%; } .kfreq label { flex: 1 1 auto; } .kfreq span { text-align: center; padding: 10px 8px; font-size: 13px; }
}

/* ===== Прайс «Клеоник» (18.11.2026): пакеты, таблицы, «не входит», навигация /ceny/ ===== */
.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.pack { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 26px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); color: var(--ink); }
.pack__brand { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--buoy-d); }
.pack__name { font: 700 34px/1 var(--f-display); color: var(--bay); }
.pack__tag { color: var(--pebble); font-size: 15px; min-height: 2.6em; }
.pack__rate { font: 700 30px/1.1 var(--f-display); color: var(--bay); padding-top: 12px; border-top: 1px solid var(--line); }
.pack__min { font-size: 13px; color: var(--pebble); }
.pack__list { display: grid; gap: 4px; margin: 6px 0 14px; }
.pack__list li { position: relative; padding: 5px 0 5px 26px; font-size: 15px; line-height: 1.4; }
.pack__list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 8px; border-left: 2.5px solid var(--buoy); border-bottom: 2.5px solid var(--buoy); transform: rotate(-45deg); }
.pack .btn { margin-top: auto; justify-content: center; }
.pack__more { align-self: center; font-size: 14px; }
.pack--hit { background: var(--green-900); border-color: var(--buoy); color: #fff; box-shadow: 0 30px 60px -30px rgba(15,36,25,.7); }
.pack--hit .pack__name, .pack--hit .pack__rate { color: var(--bora); }
.pack--hit .pack__tag, .pack--hit .pack__min { color: #CDBFA6; }
.pack--hit .pack__rate { border-top-color: rgba(198,161,91,.35); }
.pack--hit .pack__more { color: var(--bora); }
.pack__badge { position: absolute; top: -13px; left: 26px; padding: 4px 12px; border-radius: 999px; background: var(--gold-grad); color: var(--green-900); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.packs-sec--dark .pack:not(.pack--hit) { border-color: transparent; }
.packs-sec--dark .pack--hit { background: #173826; }

.ptables { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 28px; align-items: start; }
.ptable { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 24px; min-width: 0; }
.ptable h3 { margin-bottom: 14px; color: var(--bay); }
.ptable__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ptable table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ptable th, .ptable td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ptable thead th { font-size: 13px; font-weight: 600; color: var(--pebble); }
.ptable tbody th { font-weight: 500; }
.ptable td { font: 600 17px var(--f-display); color: var(--bay); white-space: nowrap; }
.ptable tr:last-child > * { border-bottom: 0; }
.ptable__note { margin-top: 14px; font-size: 14px; color: var(--pebble); }

.excl { margin-top: 20px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--buoy); border-radius: 12px; font-size: 15px; color: var(--ink); }

.ceny-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ceny-nav a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--bay); text-decoration: none; }
.ceny-nav a:hover { border-color: var(--buoy); }
.mega__foot { display: flex; gap: 24px; flex-wrap: wrap; }

@media (max-width: 1100px) { .packs { grid-template-columns: repeat(2, 1fr); row-gap: 28px; } }
@media (max-width: 640px) {
  .packs { grid-template-columns: 1fr; }
  .pack__tag { min-height: 0; }
  .ptable { padding: 18px 16px; }
  .ptable th, .ptable td { padding-right: 10px; font-size: 14px; }
  .ptable td { font-size: 15px; }
}

/* ===== Фото до/после (25.11.2026) ===== */
.ba { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r-m); overflow: hidden; background: var(--green-900, #0F2419); border: 1px solid rgba(198,161,91,.35); user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ba__do { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag { position: absolute; top: 12px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.ba__tag--do { left: 12px; background: rgba(15,36,25,.82); color: #EFE3C8; }
.ba__tag--posle { right: 12px; background: var(--gold-grad, #C6A15B); color: #0F2419; }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; pointer-events: none; }
.ba__line::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #F3ECE1; box-shadow: 0 0 6px rgba(0,0,0,.35); }
.ba__line span { position: absolute; top: 50%; left: -21px; width: 42px; height: 42px; margin-top: -21px; border-radius: 50%; background: var(--gold-grad, #C6A15B); box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.ba__line span::before, .ba__line span::after { content: ""; position: absolute; top: 50%; margin-top: -5px; border: 5px solid transparent; }
.ba__line span::before { left: 6px; border-right-color: #0F2419; }
.ba__line span::after { right: 6px; border-left-color: #0F2419; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba:has(.ba__range:focus-visible) .ba__line span { outline: 3px solid #fff; outline-offset: 3px; }
.case__was { font-size: 14px; color: var(--pebble); margin: -6px 0 0; }
.case .link { font-size: 14px; }
.works-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 20px; }
.cases .case { min-width: 0; }

/* ===== Логотип-картинка (25.11.2026) ===== */
.logo__img { display: block; height: 64px; width: auto; }
.logo--plate { display: inline-flex; padding: 10px 16px; border-radius: 16px; background: var(--salt, #F3ECE1); border: 1px solid rgba(198,161,91,.45); }
.logo--plate .logo__img { height: 72px; }
@media (max-width: 900px) { .header .logo__img { height: 52px; } }
.header .logo { flex: none; }
.logo__img { flex: none; max-width: none; }
@media (max-width: 1100px) and (min-width: 901px) { .header .logo__img { height: 52px; } }
@media (max-width: 1180px) and (min-width: 901px) {
  .header__in { gap: 14px; }
  .nav { gap: 12px; }
  .header__cta { padding-left: 14px; padding-right: 14px; font-size: 14px; }
}

/* ===== Правки клиента 27.11.2026 ===== */
/* п.2 — иконки мессенджеров в верхней строке */
.topbar__msg { display: inline-flex; align-items: center; gap: 10px; }
.topbar__msg a { display: inline-flex; line-height: 0; transition: transform .15s; }
.topbar__msg a:hover { transform: translateY(-1px); }
.topbar__msg svg { width: 22px; height: 22px; display: block; }
/* п.3 — «Уборка квартир»: обычный (базовый) цвет текста на светлой плитке */
.tile--dark { color: var(--ink); }
.tile--dark h3 { color: var(--ink); }
.tile--dark p { color: var(--pebble); }
/* п.4 — строка «Офисы, магазины, кафе»: ссылка не прижата к краю, цена не сжимается */
.tile--row { grid-template-columns: minmax(180px, 1fr) minmax(0, 2fr) auto auto; gap: 32px; padding-right: 40px; }
.tile--row .link { white-space: nowrap; justify-self: end; }
/* п.5 — кнопки химчистки в один ряд с ровным отступом */
.btn-pair { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-pair .btn { margin: 0; }
/* п.9 — цены доп. услуг крупнее в 2 раза */
.extras em { font-size: 34px; line-height: 1.1; }
@media (max-width: 900px) {
  .tile--row { padding-right: 24px; }
  .tile--row .link { justify-self: start; }
  .extras em { font-size: 28px; }
}
/* п.9 (дополнение) — все цены в списках и карточках крупнее в 2 раза, как .extras em */
.pricelist dd, .tile .prices li b, .lux__prices li b, .tile__price, .related li a span, .geo__price { font-size: 34px !important; line-height: 1.1; }
.pricelist dd, .tile .prices li b, .lux__prices li b { white-space: nowrap; }
table td:not(:first-child) { font-size: 34px; line-height: 1.15; white-space: nowrap; }
@media (max-width: 900px) {
  .pricelist dd, .tile .prices li b, .lux__prices li b, .tile__price, .related li a span, .geo__price { font-size: 26px !important; }
  table td:not(:first-child) { font-size: 24px; }
}
.ptable td { vertical-align: middle; }
.tile .prices li, .lux__prices li, .pricelist dl > div { align-items: center; }

/* Реквизиты ИП — обычный текст, не цены */
.pricelist--reqs dd { font: 500 17px/1.4 var(--f-body) !important; white-space: normal !important; text-align: right; }
