/* ============================================================
   clean-up24 — химчистка мебели в Москве
   Единая таблица стилей для всех страниц
   ============================================================ */

:root {
  --color-bg: #080b0f;
  --color-bg-alt: #0f1519;
  --color-surface: #121a1f;
  --color-surface-strong: #182329;
  --color-text: #e8f0ee;
  --color-muted: #9aa9a5;
  --color-primary: #58b7ff;
  --color-primary-dark: #2d86d4;
  --color-accent: #35d29a;
  --color-border: rgba(232, 240, 238, 0.13);
  --color-dark: #f6faf8;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  --shadow-sm: 0 10px 28px rgba(0, 0, 0, 0.22);
  --maxw: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background: linear-gradient(180deg, #080b0f 0%, #0a1112 48%, #080b0f 100%);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; color: var(--color-dark); margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 4vw, 44px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 20px; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 64px 0; }
.section--compact { padding: 28px 0; }
.section--alt { background: var(--color-bg-alt); }
.section__lead { color: var(--color-muted); max-width: 720px; font-size: 18px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--color-primary); color: #061827; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--color-primary-dark); color: #fff; }
.btn--accent { background: var(--color-accent); color: #06251a; }
.btn--accent:hover { background: #22b981; color: #061d16; }
.btn--ghost { background: rgba(255,255,255,.04); color: var(--color-text); border: 1.5px solid var(--color-border); }
.btn--ghost:hover { border-color: var(--color-primary); }
.btn--lg { padding: 16px 32px; font-size: 18px; }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 11, 15, 0.88);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--color-dark);
}
.logo:hover { text-decoration: none; }
.logo__mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: grid; place-items: center;
  color: #fff; font-size: 18px;
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--color-text); font-weight: 500; font-size: 16px; }
.nav a:hover { color: var(--color-primary); text-decoration: none; }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { font-weight: 700; font-size: 18px; color: var(--color-dark); white-space: nowrap; }
.header-phone:hover { color: var(--color-primary); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none; border: none;
  font-size: 26px; cursor: pointer; color: var(--color-dark);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #10171c 0%, #0b1514 54%, #111119 100%);
  padding: 72px 0;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero__lead { font-size: 20px; color: var(--color-muted); margin-bottom: 28px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__badges { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.hero__badge { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.hero__badge span { color: var(--color-accent); font-size: 18px; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
  max-width: 560px;
}
.hero__stats div {
  background: rgba(255,255,255,.055);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.hero__stats strong {
  display: block;
  font-size: 26px;
  line-height: 1;
  color: var(--color-primary-dark);
  margin-bottom: 6px;
}
.hero__stats span {
  display: block;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.3;
}
.hero__card {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  border: 1px solid var(--color-border);
}
.calculator-entry { display: grid; gap: 18px; }
.calculator-entry__total {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-strong);
  border: 1px solid var(--color-border);
}
.calculator-entry__total span {
  display: block;
  color: var(--color-muted);
  font-size: 14px;
  margin-bottom: 4px;
}
.calculator-entry__total strong {
  display: block;
  color: var(--color-accent);
  font-size: 32px;
  line-height: 1;
}
.calculator-entry__list {
  margin: 0;
  padding-left: 20px;
  color: var(--color-muted);
}
.calculator-entry .btn { width: 100%; }
.service-hero__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

/* ---------- Сетки ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(88, 183, 255, .14);
  display: grid; place-items: center;
  font-size: 26px; margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--color-muted); font-size: 15px; margin: 0; }
.card__link { display: inline-block; margin-top: 14px; font-weight: 600; }
.card__price {
  display: block;
  margin: 12px 0 0;
  font-weight: 700;
  font-size: 17px;
  color: var(--color-primary-dark);
}
.card__price small { color: var(--color-muted); font-weight: 500; font-size: 13px; }

a.card { color: inherit; }
a.card:hover { text-decoration: none; }

/* ---------- География выезда ---------- */
.city-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.city-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  font-weight: 600;
  font-size: 15px;
}
.city-links a:hover {
  color: #061827;
  background: var(--color-primary);
  border-color: var(--color-primary);
  text-decoration: none;
}

/* ---------- Быстрый CTA ---------- */
.quick-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}
.quick-cta h2 {
  font-size: 24px;
  margin-bottom: 6px;
}
.quick-cta p {
  margin: 0;
  color: var(--color-muted);
}

/* ---------- Как работаем ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 60px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff; font-weight: 700;
  display: grid; place-items: center;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--color-muted); font-size: 15px; margin: 0; }

/* ---------- Таблица цен ---------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.price-table caption {
  text-align: left;
  font-weight: 700;
  font-size: 20px;
  padding: 18px 20px 0;
  color: var(--color-dark);
}
.price-table th, .price-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.price-table thead th {
  background: var(--color-bg-alt);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--color-muted);
}
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table td:last-child { font-weight: 700; white-space: nowrap; color: var(--color-dark); }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  padding: 14px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--color-primary); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--color-muted); padding-bottom: 14px; margin: 0; }

/* ---------- Галерея работ (До / После) ---------- */
.carousel { position: relative; }
.carousel__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 16px;
  scrollbar-width: none;         /* Firefox */
}
.carousel__track::-webkit-scrollbar { display: none; } /* WebKit */
.carousel__track > .work {
  flex: 0 0 calc((100% - 48px) / 3);  /* 3 карточки на десктопе */
  scroll-snap-align: start;
  margin: 0;
}
.carousel__btn {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface-strong);
  box-shadow: var(--shadow);
  cursor: pointer;
  font-size: 22px; line-height: 1;
  color: var(--color-dark);
  display: grid; place-items: center;
  z-index: 3;
  transition: background .15s ease, transform .15s ease;
}
.carousel__btn:hover { background: var(--color-primary); color: #061827; }
.carousel__btn:disabled { opacity: .35; cursor: default; }
.carousel__btn:disabled:hover { background: var(--color-surface-strong); color: var(--color-dark); }
.carousel__btn--prev { left: -18px; }
.carousel__btn--next { right: -18px; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.carousel__dot {
  width: 9px; height: 9px; border-radius: 50%;
  border: none; padding: 0; cursor: pointer;
  background: var(--color-border);
  transition: background .15s ease, transform .15s ease;
}
.carousel__dot.is-active { background: var(--color-primary); transform: scale(1.25); }

.work {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}
.work__images { display: grid; grid-template-columns: 1fr 1fr; }
.work__img {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 30px;
  background-size: cover;
  background-position: center;
}
/* Плейсхолдеры под реальные фото — заменить на background-image с фото */
.work__img--before { background: linear-gradient(135deg, #8a97ad, #5c6b82); }
.work__img--after  { background: linear-gradient(135deg, #1f7ae0, #14b88a); }
.work__img span {
  position: absolute; top: 10px; left: 10px;
  background: rgba(16,24,40,.65);
  color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  letter-spacing: .04em; text-transform: uppercase;
}
.work__photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--color-bg-alt);
  cursor: zoom-in;
  transition: opacity .15s ease;
}
.work:has(.work__photo) { line-height: 0; }
.work:has(.work__photo) .work__photo { display: block; }
.work__photo:hover { opacity: .92; }

/* ---------- Просмотр фото ---------- */
.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16, 24, 40, .88);
}
.lightbox.is-open { display: flex; }
.lightbox__inner {
  position: relative;
  width: min(1120px, 100%);
}
.lightbox__image {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #0b0f12;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}
.lightbox__close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background: var(--color-surface-strong);
  color: var(--color-dark);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.lightbox__close:hover { background: var(--color-primary); color: #061827; }

/* ---------- Калькулятор ---------- */
.calc-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.calc-modal.is-open { display: flex; }
.calc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(6px);
}
.calc-modal__panel {
  position: relative;
  width: min(1120px, 100%);
  max-height: min(88vh, 860px);
  overflow: auto;
  background: #0c1215;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: 0 28px 100px rgba(0, 0, 0, .55);
  padding: 28px;
}
.calc-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface-strong);
  color: var(--color-dark);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.calc-modal__head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-right: 56px;
  margin-bottom: 24px;
}
.calc-modal__head p {
  color: var(--color-muted);
  margin: 0;
}
.calc-total {
  min-width: 190px;
  align-self: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-strong);
  border: 1px solid var(--color-border);
}
.calc-total span,
.calc-summary__total span {
  display: block;
  color: var(--color-muted);
  font-size: 13px;
  margin-bottom: 4px;
}
.calc-total strong,
.calc-summary__total strong {
  color: var(--color-accent);
  font-size: 30px;
  line-height: 1;
}
.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}
.calc-list {
  display: grid;
  gap: 12px;
}
.calc-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
}
.calc-item strong {
  display: block;
  color: var(--color-dark);
  font-size: 17px;
}
.calc-item span {
  display: block;
  color: var(--color-muted);
  font-size: 14px;
  margin-top: 3px;
}
.qty-control {
  display: grid;
  grid-template-columns: 42px 58px 42px;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  overflow: hidden;
  background: #0d1317;
}
.qty-control button {
  height: 42px;
  border: none;
  background: transparent;
  color: var(--color-dark);
  font-size: 24px;
  cursor: pointer;
}
.qty-control button:hover { background: rgba(255,255,255,.06); }
.qty-control input {
  height: 42px;
  width: 58px;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  text-align: center;
  font: inherit;
  font-weight: 700;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.calc-item--area {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
}
.area-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.area-control label,
.calc-contact label {
  display: grid;
  gap: 6px;
  color: var(--color-muted);
  font-size: 13px;
}
.area-control input,
.calc-contact input,
.calc-contact textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #0d1317;
  color: var(--color-text);
  font: inherit;
}
.calc-contact textarea {
  min-height: 82px;
  resize: vertical;
}
.area-control input:focus,
.calc-contact input:focus,
.calc-contact textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.calc-summary {
  position: sticky;
  top: 18px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}
.calc-summary h3 { margin-bottom: 12px; }
.calc-summary__empty {
  color: var(--color-muted);
  padding: 12px 0;
}
.calc-summary__list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  gap: 8px;
}
.calc-summary__list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--color-muted);
  font-size: 14px;
}
.calc-summary__list strong {
  color: var(--color-dark);
  white-space: nowrap;
}
.calc-summary__total {
  padding: 16px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 12px;
}
.calc-summary p {
  color: var(--color-muted);
  font-size: 13px;
}
.calc-contact {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.calc-contact .btn { width: 100%; }
.calc-contact .btn:disabled {
  opacity: .65;
  cursor: wait;
  transform: none;
}
.calc-contact__success {
  display: none;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
}
.calc-contact__success.is-visible { display: block; }
.calc-contact__hint {
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.4;
}
.calc-contact__error {
  display: none;
  color: #ff9a9a;
  font-size: 13px;
  font-weight: 700;
}
.calc-contact__error.is-visible { display: block; }
.calc-photo-list {
  display: grid;
  gap: 6px;
}
.calc-photo-list span {
  display: block;
  color: var(--color-muted);
  font-size: 12px;
  padding: 8px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.035);
}
.calc-schedule {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #0d1317;
}
.calc-schedule__hint {
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.45;
}
.calc-schedule__group {
  display: grid;
  gap: 8px;
}
.calc-schedule__group > span {
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
}
.calc-schedule__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.calc-choice {
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #101a20;
  color: var(--color-text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.calc-choice:hover,
.calc-choice.is-active {
  border-color: var(--color-primary);
  background: rgba(53, 197, 162, .16);
  color: var(--color-primary);
}

/* ---------- CTA-полоса ---------- */
.cta-band {
  background: linear-gradient(135deg, #146aa3, #12364b);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.form-note { font-size: 13px; color: var(--color-muted); margin-top: 4px; }

/* ---------- Хлебные крошки ---------- */
.breadcrumbs { font-size: 14px; color: var(--color-muted); padding: 18px 0 0; }
.breadcrumbs a { color: var(--color-muted); }
.breadcrumbs a:hover { color: var(--color-primary); }
.breadcrumbs span { margin: 0 6px; }

/* ---------- Контентные страницы ---------- */
.page-header { padding: 40px 0 8px; }
.prose { max-width: 820px; }
.prose h2 { margin-top: 40px; }
.prose ul { padding-left: 22px; color: var(--color-muted); }
.prose li { margin-bottom: 8px; }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; color: var(--color-text); }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--color-accent); font-weight: 700; font-size: 18px;
}

/* ---------- Блог / статьи ---------- */
.article { max-width: 820px; }
.article__meta { color: var(--color-muted); font-size: 14px; margin-bottom: 20px; }
.article__meta span { margin-right: 14px; }
.article h2 { margin-top: 40px; scroll-margin-top: 90px; }
.article h3 { margin-top: 28px; }
.article p, .article li { color: var(--color-muted); }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 8px; }

.toc {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 8px 0 32px;
}
.toc strong { display: block; margin-bottom: 10px; color: var(--color-dark); }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin-bottom: 6px; }

.tip {
  background: rgba(53, 210, 154, .11);
  border-left: 4px solid var(--color-accent);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 20px 0;
  color: #bdebd9;
  font-size: 15px;
}
.tip strong { color: var(--color-accent); }

.article-cta {
  background: linear-gradient(135deg, #146aa3, #12364b);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 36px 0;
}
.article-cta h3 { color: #fff; margin-bottom: 8px; }
.article-cta p { color: rgba(255,255,255,.9); margin-bottom: 16px; }

.blog-card { display: flex; flex-direction: column; }
.blog-card__cat { color: var(--color-primary); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 8px; }
.blog-card h3 { margin-bottom: 10px; }
.blog-card p { color: var(--color-muted); font-size: 15px; flex-grow: 1; }
.blog-card__more { margin-top: 12px; font-weight: 600; }

/* ---------- Контакты ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: 18px; }
.contact-list strong { display: block; color: var(--color-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 2px; }
.contact-list a, .contact-list span { font-size: 18px; font-weight: 600; color: var(--color-dark); }

/* ---------- Подвал ---------- */
.site-footer {
  background: #05070a;
  color: #c5cfe0;
  padding: 56px 0 28px;
  margin-top: 24px;
}
.site-footer a { color: #c5cfe0; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: #fff; font-size: 16px; margin: 0 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; font-size: 15px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: #fff; margin-bottom: 12px; }
.footer-seo {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 32px;
  padding-top: 28px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
}
.footer-seo h4 { color: #fff; font-size: 15px; margin: 0 0 10px; }
.footer-seo p { margin: 0 0 14px; color: #8a97ad; font-size: 14px; line-height: 1.6; max-width: 720px; }
.city-links--footer {
  gap: 8px 12px;
}
.city-links--footer a {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #8a97ad;
  font-weight: 500;
  font-size: 13px;
}
.city-links--footer a:hover {
  color: #fff;
  background: transparent;
  border-color: transparent;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 36px; padding-top: 20px;
  font-size: 13px; color: #8a97ad;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ---------- Мобильная CTA-панель ---------- */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(8, 11, 15, .96);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -10px 30px rgba(16,24,40,.12);
  gap: 10px;
}
.mobile-sticky-cta a {
  flex: 1;
  text-align: center;
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  font-weight: 700;
  color: #061827;
  background: var(--color-primary);
}
.mobile-sticky-cta a:first-child { background: var(--color-accent); }
.mobile-sticky-cta a:hover { text-decoration: none; }

/* ---------- Утилиты ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-lg { margin-bottom: 40px; }
.tag {
  display: inline-block;
  background: rgba(88, 183, 255, .13); color: #9fd5ff;
  font-size: 13px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}

/* ---------- Адаптив ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-seo { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-summary { position: static; }
  .carousel__track > .work { flex-basis: calc((100% - 24px) / 2); } /* 2 карточки на планшете */
}
@media (max-width: 720px) {
  .nav, .header-phone { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .nav {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: var(--color-surface);
    padding: 18px 20px;
    gap: 14px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow);
  }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; }
  .quick-cta { flex-direction: column; align-items: flex-start; }
  .quick-cta .btn { width: 100%; }
  .hero { padding: 48px 0; }
  .hero__card { padding: 22px; }
  .hero__actions .btn { width: 100%; }
  .calc-modal { padding: 10px; align-items: flex-end; }
  .calc-modal__panel {
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
    padding: 22px 16px 18px;
  }
  .calc-modal__head {
    display: grid;
    padding-right: 46px;
  }
  .calc-total { width: 100%; }
  .calc-item,
  .calc-item--area {
    grid-template-columns: 1fr;
  }
  .qty-control {
    width: 100%;
    grid-template-columns: 1fr 64px 1fr;
  }
  .area-control { grid-template-columns: 1fr; }
  .carousel__track > .work { flex-basis: 100%; }   /* 1 карточка на телефоне */
  .carousel__btn--prev { left: 4px; }
  .carousel__btn--next { right: 4px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-band__actions, .cta-band__actions .btn { width: 100%; }
  .price-table { display: block; overflow-x: auto; white-space: nowrap; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  body { padding-bottom: 74px; }
  .mobile-sticky-cta { display: flex; }
}
