/* =========================================================
   Клининговая компания Тахур — стили сайта
   Палитра от логотипа: тёмно-синий, фирменный голубой, белый.
   Жёлтый — только для главной кнопки и итога расчёта.
   ========================================================= */

@font-face{font-family:'Onest';font-style:normal;font-weight:400 800;font-display:swap;src:url(fonts/onest-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Onest';font-style:normal;font-weight:400 800;font-display:swap;src:url(fonts/onest-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

:root {
  --ink: #1b3349;
  --ink-2: #2c4762;
  --muted: #5b7185;
  --cyan: #0e86b4;
  --cyan-deep: #0a6c93;
  --wash: #e9f4f9;
  --wash-2: #d9ebf3;
  --line: #d5e3eb;
  --paper: #ffffff;
  --page: #f7fafc;
  --sun: #ffc93c;
  --sun-deep: #f5b800;
  --wa: #1fa855;
  --tg: #2a9ad6;
  --err: #c8402f;

  --font: 'Onest', 'Segoe UI', Roboto, Arial, sans-serif;
  --radius: 20px;
  --radius-s: 12px;
  --wrap: 1180px;
  --pad: 24px;
  --header-h: 72px;
  --ease: cubic-bezier(.2,.7,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
html.nav-open, html.nav-open body { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - var(--pad) * 2); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); }
h3 { font-size: 1.25rem; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 14px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 0 8px 24px -10px rgba(245,184,0,.7); }
.btn-sun:hover { background: var(--sun-deep); }
.btn-glass { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-glass:hover { background: rgba(255,255,255,.24); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { border-color: #fff; }
.btn-sm { padding: 10px 18px; font-size: .95rem; }
.btn-lg { padding: 17px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.link-btn { background: none; border: 0; padding: 0; color: var(--cyan-deep); font-weight: 700; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand-sub { font-size: .8rem; color: var(--muted); }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-2); padding: 8px 12px; border-radius: 10px; font-weight: 500; font-size: .95rem; }
.nav a:hover { background: var(--wash); text-decoration: none; }
.nav-phone { display: none; }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { font-weight: 700; color: var(--ink); white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-overlay { position: fixed; inset: var(--header-h) 0 0; background: rgba(27,51,73,.45); opacity: 0; transition: opacity .25s; z-index: 79; }
.nav-overlay.is-visible { opacity: 1; }

/* ---------- Первый экран ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff;
  min-height: clamp(560px, 82vh, 760px);
  display: flex; align-items: flex-end;
  padding: 96px 0 140px;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; background: var(--ink); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero-img-dull { filter: grayscale(.75) sepia(.45) brightness(.5) contrast(.8); }
.hero-img-clean { clip-path: polygon(0 0, 0 0, -6% 100%, -6% 100%); animation: wipe 1.6s var(--ease) .35s forwards; }
.hero-wipe {
  position: absolute; top: -5%; bottom: -5%; width: 3px; left: 0;
  background: #fff; box-shadow: 0 0 24px 6px rgba(255,255,255,.55);
  transform: rotate(3deg); transform-origin: 50% 50%;
  animation: wipeLine 1.6s var(--ease) .35s forwards; opacity: 0;
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(27,51,73,.82) 0%, rgba(27,51,73,.52) 42%, rgba(27,51,73,.12) 100%),
    linear-gradient(0deg, rgba(27,51,73,.7) 0%, rgba(27,51,73,0) 55%);
}
@keyframes wipe {
  from { clip-path: polygon(0 0, 0 0, -6% 100%, -6% 100%); }
  to   { clip-path: polygon(0 0, 106% 0, 100% 100%, -6% 100%); }
}
@keyframes wipeLine {
  0%   { left: 0; opacity: 0; }
  8%   { opacity: .9; }
  92%  { opacity: .9; }
  100% { left: 103%; opacity: 0; }
}

.hero-body > * { max-width: 720px; }
.hero-title {
  font-size: clamp(3rem, 2rem + 5.5vw, 6rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: .98;
  text-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.hero-lead { margin-top: 22px; font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem); max-width: 34em; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 30px; font-size: .95rem; color: rgba(255,255,255,.9); }
.hero-facts li { position: relative; padding-left: 22px; }
.hero-facts li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px;
  border-left: 2px solid var(--sun); border-bottom: 2px solid var(--sun); transform: rotate(-45deg);
}

/* ---------- Быстрый расчёт ---------- */
.quick-wrap { margin-top: -84px; position: relative; z-index: 2; }
.quick {
  display: grid; grid-template-columns: 1fr 1fr 1.3fr auto; gap: 14px 16px; align-items: end;
  background: var(--paper); border-radius: var(--radius); padding: 22px 24px 18px;
  box-shadow: 0 24px 60px -24px rgba(27,51,73,.45), 0 0 0 1px var(--line);
}
.quick-title { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 2px; }
.quick-title strong { font-size: 1.1rem; letter-spacing: -0.01em; }
.quick-title span { font-size: .9rem; color: var(--muted); }
.quick .btn { align-self: end; height: 50px; }
.quick .form-status, .quick .quick-note { grid-column: 1 / -1; margin: 0; }
.quick .form-status:empty { display: none; }
.quick-note { font-size: .8rem; color: var(--muted); }

.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: .85rem; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--radius-s);
  background: var(--page); transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%231b3349' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(14,134,180,.15); background: #fff; }
.field input.is-error { border-color: var(--err); }
.form-status { margin-top: 12px; font-size: .95rem; }
.form-status.ok { color: var(--cyan-deep); }
.form-status.err { color: var(--err); }
.send-choice { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; grid-column: 1 / -1; }

/* ---------- Обещания ---------- */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 32px; padding: 56px 0 8px; }
.promise { display: flex; gap: 14px; align-items: flex-start; }
.promise svg { width: 40px; height: 40px; flex: none; fill: none; stroke: var(--cyan); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.promise div { display: flex; flex-direction: column; gap: 4px; }
.promise strong { font-size: 1.02rem; letter-spacing: -0.01em; }
.promise span { font-size: .92rem; color: var(--muted); line-height: 1.45; }

/* ---------- Секции ---------- */
.section { padding: 88px 0; }
.section-wash { background: var(--wash); }
.section-navy { background: var(--ink); color: #fff; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }

/* ---------- Услуги: меню с ценой справа ---------- */
.menu { border-top: 1px solid var(--line); }
.menu-row {
  display: grid; grid-template-columns: 1.4fr 1.2fr auto; gap: 24px 40px; align-items: center;
  padding: 28px 0; border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.menu-row:hover { background: linear-gradient(90deg, transparent, rgba(233,244,249,.9) 20%, rgba(233,244,249,.9) 80%, transparent); }
.menu-row-featured { position: relative; }
.menu-row-featured::before { content: ""; position: absolute; left: -24px; top: 24px; bottom: 24px; width: 4px; border-radius: 4px; background: var(--cyan); }
.menu-main p { margin-top: 8px; color: var(--muted); font-size: .98rem; }
.menu-list li { position: relative; padding-left: 20px; font-size: .95rem; color: var(--ink-2); }
.menu-list li + li { margin-top: 6px; }
.menu-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 5px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }
.menu-price { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; min-width: 150px; }
.price { font-weight: 800; font-size: 1.7rem; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; }
.price small { font-size: .55em; font-weight: 500; color: var(--muted); letter-spacing: 0; margin: 0 4px; }
.also { margin-top: 28px; max-width: 900px; color: var(--muted); font-size: .98rem; }

/* ---------- Объекты ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 300px 300px; gap: 14px; }
.shot { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--wash-2); }
.shot-big { grid-column: 1 / 3; grid-row: 1 / 3; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.03); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px;
  color: #fff; font-size: .9rem; line-height: 1.35;
  background: linear-gradient(0deg, rgba(27,51,73,.85), rgba(27,51,73,0));
}
.shot-big figcaption { font-size: 1.02rem; padding: 60px 20px 18px; }
.gallery-note { margin-top: 24px; color: var(--muted); max-width: 760px; }

/* ---------- Калькулятор ---------- */
.calc { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.calc-group { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
.calc-group legend { font-weight: 700; font-size: 1.1rem; margin-bottom: 14px; padding: 0; display: flex; justify-content: space-between; align-items: baseline; width: 100%; }
.calc-group legend output { font-weight: 800; color: var(--cyan-deep); font-size: 1.25rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span {
  display: inline-block; padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; font-weight: 600; font-size: .95rem; transition: background .2s, border-color .2s, color .2s;
}
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.chip:hover span { border-color: var(--cyan); }

input[type="range"] { --fill: 12.5%; width: 100%; height: 40px; margin: 0; appearance: none; -webkit-appearance: none; background: transparent; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--cyan) var(--fill), var(--wash-2) var(--fill)); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 8px; background: var(--wash-2); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--cyan); }
input[type="range"]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: #fff; border: 3px solid var(--cyan); box-shadow: 0 4px 12px rgba(27,51,73,.25); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--cyan); box-shadow: 0 4px 12px rgba(27,51,73,.25); cursor: grab; }
.range-marks { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); }

.addons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.addon {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "box name qty" "box price qty"; column-gap: 12px; align-items: center;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: #fff; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.addon:hover { border-color: var(--cyan); }
.addon:has(input:checked) { border-color: var(--cyan); background: var(--wash); }
.addon input { grid-area: box; width: 20px; height: 20px; margin: 0; accent-color: var(--cyan); }
.addon-name { grid-area: name; font-weight: 600; font-size: .95rem; }
.addon-price { grid-area: price; font-size: .85rem; color: var(--muted); }
.qty { grid-area: qty; display: inline-flex; align-items: center; gap: 4px; }
.qty b { min-width: 22px; text-align: center; }
.qty-btn { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-weight: 700; line-height: 1; }
.qty-btn:hover { border-color: var(--cyan); color: var(--cyan-deep); }

.calc-result {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: var(--ink); color: #fff; border-radius: var(--radius); padding: 28px;
  box-shadow: 0 30px 60px -30px rgba(27,51,73,.6);
}
.result-label { font-size: .9rem; color: rgba(255,255,255,.7); }
.result-total { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.result-total b { font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--sun); }
.result-total span { font-size: 1.6rem; color: var(--sun); font-weight: 700; }
.result-range { margin-top: 6px; font-size: .95rem; color: rgba(255,255,255,.75); }
.result-time { margin-top: 12px; font-size: .95rem; }
.result-items { margin: 16px 0 20px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.15); font-size: .9rem; color: rgba(255,255,255,.85); }
.result-items li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.result-items li span:last-child { white-space: nowrap; }
.calc-result .btn + .btn { margin-top: 10px; }
.result-call { display: block; margin-top: 16px; text-align: center; color: rgba(255,255,255,.8); font-size: .92rem; }

/* ---------- Цены ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tab { padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .95rem; transition: background .2s, border-color .2s, color .2s; }
.tab:hover { border-color: var(--cyan); }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab-panel { background: #fff; border-radius: var(--radius); padding: 8px 24px; overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.price-table th, .price-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { font-size: .85rem; font-weight: 600; color: var(--muted); }
.price-table td:nth-child(2) { font-weight: 700; white-space: nowrap; }
.price-table td:nth-child(3) { color: var(--muted); }
.price-table tbody tr:last-child td { border-bottom: 0; }
.prices-note { margin-top: 20px; color: var(--muted); max-width: 760px; }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; position: relative; }
.steps li { position: relative; padding-top: 64px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 48px; height: 48px; border-radius: 50%; background: var(--wash); color: var(--cyan-deep);
  font-weight: 800; font-size: 1.15rem; display: grid; place-items: center;
}
.steps li::after { content: ""; position: absolute; left: 60px; right: -32px; top: 24px; border-top: 2px solid var(--line); }
.steps li:last-child::after { display: none; }
.steps p { margin-top: 8px; color: var(--muted); font-size: .98rem; }

/* ---------- Почему Тахур ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.why-text p { margin: 16px 0 28px; color: rgba(255,255,255,.8); font-size: 1.08rem; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.why-list li { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); }
.why-list strong { font-size: 1.05rem; letter-spacing: -0.01em; }
.why-list span { color: rgba(255,255,255,.72); font-size: .95rem; }

/* ---------- Вопросы ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.faq-intro p { margin-top: 14px; color: var(--muted); }
.faq-phone { display: inline-block; margin-top: 18px; font-weight: 800; font-size: 1.4rem; color: var(--ink); letter-spacing: -0.02em; }
.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: 18px 44px 18px 0; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 640px; }

/* ---------- Контакты ---------- */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contacts-lead { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }
.contacts-phone { display: inline-block; margin-top: 28px; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.contacts-sub { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.messengers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.msg { display: inline-flex; align-items: center; padding: 12px 20px; border-radius: 12px; color: #fff; font-weight: 700; font-size: .95rem; }
.msg:hover { text-decoration: none; filter: brightness(1.08); }
.msg.wa { background: var(--wa); }
.msg.tg { background: var(--tg); }
.contacts-list { margin-top: 32px; display: grid; gap: 16px; }
.contacts-list div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.contacts-list dt { color: var(--muted); font-size: .92rem; }
.contacts-list dd { margin: 0; }
.contact-form { background: #fff; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 24px 60px -30px rgba(27,51,73,.35); }
.contact-form h3 { font-size: 1.35rem; }
.contact-form .form-status:empty { display: none; }
.contact-form .form-status, .contact-form .quick-note { margin: 0; }

/* ---------- Подвал ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 56px 0 100px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; max-width: 320px; }
.footer-brand .brand-name { color: #fff; font-size: 1.5rem; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 4px; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); font-size: .85rem; color: rgba(255,255,255,.6); display: grid; gap: 8px; }

/* ---------- Мобильная панель ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: none;
  grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: var(--line);
  border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.mobile-bar.show { transform: none; }
.mb-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 9px; background: #fff; color: var(--ink); font-size: .78rem; font-weight: 600; }
.mb-item:hover { text-decoration: none; }
.mb-item svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mb-wa { background: var(--wa); color: #fff; }
.mb-lead { background: var(--sun); }


/* ---------- До и после (блок заполняет админка) ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ba-grid:has(> :only-child) { grid-template-columns: minmax(0, 760px); }
.ba { display: flex; flex-direction: column; gap: 10px; }
.ba-frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--wash-2); user-select: none; -webkit-user-select: none; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.35); pointer-events: none; }
.ba-line::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(27,51,73,.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231b3349' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6 3 12l6 6M15 6l6 6-6 6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.ba-tag { position: absolute; top: 12px; padding: 5px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: #fff; background: rgba(27,51,73,.75); pointer-events: none; }
.ba-tag-before { left: 12px; }
.ba-tag-after { right: 12px; }
.ba-frame { cursor: ew-resize; touch-action: pan-y; }
.ba-frame input[type="range"].ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; appearance: none; -webkit-appearance: none; background: transparent; }
.ba-frame input[type="range"].ba-range::-webkit-slider-runnable-track { height: 100%; background: transparent; }
.ba-frame input[type="range"].ba-range::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 48px; height: 100%; margin: 0; border: 0; background: transparent; }
.ba-frame input[type="range"].ba-range::-moz-range-track { height: 100%; background: transparent; }
.ba-frame input[type="range"].ba-range::-moz-range-thumb { width: 48px; height: 100%; border: 0; background: transparent; }
.ba-range:focus-visible ~ .ba-line::after { outline: 3px solid var(--sun); outline-offset: 2px; }
.ba-frame.is-dragging { cursor: grabbing; }
.ba-frame.is-dragging .ba-line { box-shadow: 0 0 18px rgba(255,255,255,.8); }
.ba-frame:not(.ba-touched) .ba-line::after { animation: baNudge 2.6s var(--ease) infinite; }
@keyframes baNudge {
  0%, 62%, 100% { transform: translate(-50%, -50%); }
  72% { transform: translate(calc(-50% - 9px), -50%); }
  84% { transform: translate(calc(-50% + 9px), -50%); }
}
.ba-hint {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  padding: 7px 14px; border-radius: 999px; background: rgba(27,51,73,.78); color: #fff;
  font-size: .82rem; font-weight: 600; white-space: nowrap; pointer-events: none;
  transition: opacity .3s;
}
.ba-frame.ba-touched .ba-hint { opacity: 0; }
.ba figcaption { color: var(--muted); font-size: .95rem; }

/* ---------- Отзывы (блок заполняет админка) ---------- */
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; flex-wrap: wrap; }
.reviews-head > div { max-width: 720px; }
.avito-badge { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 16px; background: #fff; border: 1.5px solid var(--line); color: var(--ink); transition: border-color .2s, transform .2s var(--ease); }
.avito-badge:hover { text-decoration: none; border-color: var(--cyan); transform: translateY(-1px); }
.avito-mark { width: 40px; height: 40px; border-radius: 12px; background: #00aaff; color: #fff; font-weight: 800; font-size: 1.3rem; display: grid; place-items: center; }
.avito-text { display: flex; flex-direction: column; line-height: 1.2; }
.avito-text strong { font-size: 1.05rem; }
.avito-text span { font-size: .85rem; color: var(--muted); }
.reviews-grid { columns: 3; column-gap: 20px; }
.review[hidden] { display: none; }
.review { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); break-inside: avoid; margin-bottom: 20px; }
.review-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.review-photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review-name { font-weight: 700; }
.review-stars { color: #e8a600; letter-spacing: 1px; font-size: .95rem; margin-left: auto; }
.review p { color: var(--ink-2); font-size: .98rem; }
.review-photos { display: flex; flex-wrap: wrap; gap: 6px; }
.review-photos a { display: block; border-radius: 10px; overflow: hidden; }
.review-photos img { width: 72px; height: 54px; object-fit: cover; transition: transform .3s var(--ease); }
.review-photos a:hover img { transform: scale(1.06); }
.review-meta { margin-top: auto; font-size: .85rem; color: var(--muted); }
.review-meta a { color: var(--muted); }
.reviews-more { margin-top: 24px; text-align: center; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--cyan); }
.reviews-note { margin-top: 24px; color: var(--muted); }

/* ---------- Нам доверяют (блок заполняет админка) ---------- */
.clients-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.clients-list li { background: #fff; border-radius: 16px; border: 1px solid var(--line); min-height: 120px; display: flex; }
.client-card { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px 16px; text-align: center; color: var(--ink); }
a.client-card:hover { text-decoration: none; color: var(--cyan-deep); }
.clients-list img { max-height: 56px; width: auto; max-width: 160px; object-fit: contain; }
.client-name { font-weight: 700; font-size: .98rem; }
.client-name-only { font-size: 1.1rem; }
.clients-list small { color: var(--muted); font-size: .85rem; }

/* ========================================================
   Адаптив
   ======================================================== */
@media (max-width: 1320px) {
  .brand-sub { display: none; }
  .nav a { padding: 8px 9px; font-size: .9rem; }
}
@media (max-width: 1180px) {
  .header-phone { display: none; }
}
@media (max-width: 1024px) {
  .quick { grid-template-columns: 1fr 1fr 1fr; }
  .quick .btn { grid-column: 1 / -1; }
  .promises { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-rows: 240px 240px; }
  .calc { grid-template-columns: 1fr 340px; gap: 28px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 40px; }
  .steps li:nth-child(2)::after { display: none; }
  .why-grid, .faq-grid, .contacts-grid { grid-template-columns: 1fr; gap: 36px; }
  .reviews-grid { columns: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 90;
    flex-direction: column; gap: 2px; padding: 12px var(--pad) 20px;
    background: #fff; border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .25s var(--ease), opacity .2s, visibility 0s .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .25s var(--ease), opacity .2s; }
  .nav a { padding: 12px 10px; font-size: 1.05rem; }
  .nav-phone { display: block; font-weight: 700; margin-top: 8px; border-top: 1px solid var(--line); padding-top: 16px; }
  .header-cta { margin-left: auto; }
  .header-cta .btn { display: none; }
  .burger { display: flex; }
  .brand-sub { display: none; }
  .hero { padding: 72px 0 120px; min-height: 560px; }
  .hero-title { font-size: clamp(2.8rem, 1.5rem + 9vw, 4.5rem); }
  .section { padding: 64px 0; }
  .menu-row { grid-template-columns: 1fr 1fr; }
  .menu-price { grid-column: 1 / -1; flex-direction: row; align-items: baseline; justify-content: space-between; text-align: left; }
  .menu-row-featured::before { left: -14px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 200px 200px; }
  .shot-big { grid-column: 1 / -1; grid-row: 1; }
  .calc { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  .why-list { grid-template-columns: 1fr; gap: 20px; }
  .ba-grid { grid-template-columns: 1fr; gap: 20px; }
  .mobile-bar { display: grid; }
  .site-footer { padding-bottom: 110px; }
}
@media (max-width: 640px) {
  :root { --pad: 18px; }
  body { font-size: 16px; }
  .quick { grid-template-columns: 1fr; padding: 20px 18px 16px; }
  .quick-wrap { margin-top: -60px; }
  .hero { padding-bottom: 96px; }
  .hero-shade { background: linear-gradient(180deg, rgba(27,51,73,.55) 0%, rgba(27,51,73,.7) 45%, rgba(27,51,73,.88) 100%); }
  .hero-actions .btn { width: 100%; }
  .hero-facts { flex-direction: column; gap: 8px; }
  .promises { grid-template-columns: 1fr; gap: 18px; padding-top: 40px; }
  .section-head { margin-bottom: 28px; }
  .menu-row { grid-template-columns: 1fr; gap: 14px; padding: 22px 0; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 180px 180px; gap: 10px; }
  .shot figcaption { font-size: .8rem; padding: 30px 12px 10px; }
  .addons { grid-template-columns: 1fr; }
  .calc-result { padding: 22px; }
  .result-total b { font-size: 2.6rem; }
  .tab-panel { padding: 4px 14px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps li::after { display: none; }
  .steps li { padding-top: 0; padding-left: 62px; }
  .contact-form { padding: 22px 18px; }
  .contacts-list div { grid-template-columns: 1fr; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .reviews-grid { columns: 1; }
  .review { padding: 18px; margin-bottom: 14px; }
  .clients-list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img-clean { animation: none; clip-path: none; }
  .hero-wipe { display: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
