/* ============================================================
   ФИРМЕННЫЙ СТИЛЬ
   Чтобы перекрасить сайт, поменяйте --accent и --accent-dark.
   Остальное подстроится.

   Палитра намеренно тяжёлая и сдержанная. Промышленную землю
   за несколько миллионов не покупают по яркому лендингу:
   насыщенные градиенты и круглые «продающие» кнопки здесь читаются
   как признак того, что продавать нечего, кроме оформления.
   ============================================================ */
:root {
  --accent:        #1f3a5f;   /* глубокий сине-серый: документы, а не распродажа */
  --accent-dark:   #16293f;
  --accent-soft:   #eef2f7;

  --ok:            #1a7f4b;
  --warn:          #a8620a;
  --warn-soft:     #fdf6ec;
  --bad:           #b42318;

  --text:          #14181d;
  --text-muted:    #5a6370;
  --bg:            #ffffff;
  --bg-alt:        #f5f6f8;
  --border:        #e0e3e8;

  --radius:        10px;
  --radius-sm:     7px;
  --shadow:        0 1px 2px rgba(20,24,29,.05), 0 6px 20px rgba(20,24,29,.06);
  --shadow-lg:     0 2px 4px rgba(20,24,29,.06), 0 14px 40px rgba(20,24,29,.10);

  --container:     1120px;
  --gap:           clamp(1.25rem, 3vw, 2.25rem);
  --section-y:     clamp(3rem, 7vw, 5.5rem);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

/* ===== БАЗА ===== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  /* Место под постоянную панель связи внизу экрана на смартфоне */
  padding-bottom: env(safe-area-inset-bottom);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration: none; }

h1, h2, h3 { line-height: 1.22; letter-spacing: -.015em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(1.75rem, 4.2vw, 2.85rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3.2vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.12rem; font-weight: 700; }
p  { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.muted { color: var(--text-muted); }
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: #fff; padding: .75rem 1.25rem;
}
.skip-link:focus { left: 0; }

/* ===== СЕТКА ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.container--narrow { max-width: 780px; }

.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section--first { padding-top: clamp(2rem, 4vw, 3rem); }
.section > .container > h2 { text-align: center; }
.section > .container--narrow > h2 { text-align: left; }
.section__lead {
  max-width: 66ch;
  margin: 0 0 2.5rem;
  color: var(--text-muted);
  font-size: 1.04rem;
}
.section > .container > .section__lead { margin-inline: auto; text-align: center; }
.section > .container--narrow > .section__lead { text-align: left; margin-inline: 0; }

.grid { display: grid; gap: var(--gap); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ===== ШАПКА ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: 68px;
}

.logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); font-weight: 800; text-decoration: none; }
.logo__mark {
  width: 28px; height: 28px; border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), #4a6c96);
}
.logo__text { font-size: 1.05rem; letter-spacing: -.02em; }

.header__contact { margin-left: auto; display: flex; flex-direction: column; line-height: 1.25; text-align: right; }
.header__phone { color: var(--text); font-weight: 700; font-size: 1.02rem; white-space: nowrap; text-decoration: none; }
.header__phone:hover { color: var(--accent); }
.header__hours { font-size: .78rem; }

/* ===== ХЛЕБНЫЕ КРОШКИ ===== */
.crumbs { border-bottom: 1px solid var(--border); background: var(--bg); font-size: .88rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: .75rem 0; list-style: none; }
.crumbs li + li::before { content: "→"; margin-right: .5rem; color: var(--text-muted); }
.crumbs a { color: var(--text-muted); }
.crumbs [aria-current] { color: var(--text); }

/* ===== КНОПКИ ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8rem 1.5rem;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font: inherit; font-weight: 600; font-size: .97rem;
  text-align: center; text-decoration: none;
  cursor: pointer;
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; }

.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--accent-dark); }

.btn--ghost { background: #fff; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--text-muted); }

.btn--sm   { padding: .55rem 1rem; font-size: .9rem; }
.btn--lg   { padding: 1rem 1.9rem; font-size: 1.04rem; }
.btn--full { width: 100%; }

/* ===== ПЕРВЫЙ ЭКРАН ===== */
.hero {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  background: linear-gradient(180deg, var(--accent-soft), var(--bg) 75%);
}
.hero__inner {
  display: grid; gap: var(--gap); align-items: center;
  grid-template-columns: 1.1fr .9fr;
}
.hero__inner--solo { grid-template-columns: 1fr; max-width: 900px; }

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem; padding: .3rem .75rem;
  background: #fff; border: 1px solid var(--border); border-radius: 100px;
  color: var(--text-muted);
  font-size: .8rem; font-weight: 600;
}
.hero__accent { display: block; color: var(--accent); }
.hero__lead { font-size: 1.12rem; color: var(--text-muted); max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

.trust, .facts {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.25rem;
  margin: 2.25rem 0 0; padding: 0; list-style: none;
}
.trust li, .facts li { display: flex; flex-direction: column; }
.trust strong, .facts strong { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; }
.trust span, .facts span { font-size: .87rem; color: var(--text-muted); max-width: 32ch; }
.facts { margin-bottom: 1.75rem; }

/* ===== ТИПОГРАФИКА СМЫСЛОВЫХ БЛОКОВ ===== */
.lead-strong { font-size: 1.08rem; }

.closing {
  margin: 2.5rem 0 0;
  padding: 1.4rem 1.6rem;
  background: var(--accent); color: #fff;
  border-radius: var(--radius);
  font-size: 1.2rem; font-weight: 700; line-height: 1.4;
  text-wrap: balance;
}
.closing--small { font-size: 1.05rem; font-weight: 600; }

.note {
  margin: 2rem 0 0;
  padding: 1.1rem 1.35rem;
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .95rem;
}
.section--alt .note { background: #fff; }
.note h2, .note h3 { margin-bottom: .4rem; font-size: 1.05rem; }
.note p:last-child, .note ul:last-child { margin-bottom: 0; }
.note ul { margin: 0; padding-left: 1.15rem; }
.note li { margin-bottom: .4rem; }

.center { text-align: center; }
.center .hero__lead, .center .section__lead { margin-inline: auto; }
.center .hero__actions { justify-content: center; }
.center .note { text-align: left; }

/* Блок с честным предупреждением. Отдельный цвет нужен, чтобы
   его нельзя было пролистать как оформительскую врезку. */
.warn {
  margin: 1.75rem 0 0;
  padding: 1.2rem 1.4rem;
  background: var(--warn-soft);
  border: 1px solid #f0dcc0;
  border-radius: var(--radius);
  font-size: .96rem;
}
.warn h3 { color: var(--warn); margin-bottom: .4rem; }
.warn p:last-child { margin-bottom: 0; }

.sources { font-size: .85rem; margin-top: 1.25rem; }

/* ===== ЧЕСТНО О МИНУСАХ ===== */
.minus-list { counter-reset: minus; margin: 0; padding: 0; list-style: none; }
.minus-list > li {
  position: relative;
  padding: 0 0 1.75rem 3.25rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}
.minus-list > li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.minus-list > li::before {
  counter-increment: minus; content: counter(minus);
  position: absolute; top: 0; left: 0;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  background: var(--warn-soft); color: var(--warn);
  border: 1px solid #f0dcc0; border-radius: 50%;
  font-weight: 800; font-size: .95rem;
}
.minus-list h3 { margin-bottom: .4rem; }
.minus-list p:last-child { margin-bottom: 0; }

/* ===== КАРТОЧКИ ВРИ ===== */
.card {
  padding: 1.4rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.section--alt .card { background: #fff; }
.vri-card__formal { margin: 0 0 .35rem; font-size: .82rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .03em; }
.vri-card__plain  { margin: 0; color: var(--text); }

/* ===== ПОДХОДИТ / НЕ ПОДХОДИТ ===== */
.fit { display: grid; gap: var(--gap); grid-template-columns: 1fr 1fr; }
.fit__col { padding: 1.5rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.fit__col h3 { margin-bottom: .9rem; }
.fit__col--good h3 { color: var(--ok); }
.fit__col--bad  h3 { color: var(--warn); }
.fit__col ul { margin: 0; padding: 0; list-style: none; }
.fit__col li {
  padding: .65rem 0 .65rem 1.7rem;
  border-top: 1px solid var(--border);
  font-size: .95rem;
  background: no-repeat left .95rem/15px 15px;
}
.fit__col li:first-child { border-top: 0; background-position: left .35rem; }
.fit__col--good li {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231a7f4b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.5 3.5L13 4.5'/%3E%3C/svg%3E");
}
.fit__col--bad li {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23a8620a' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M8 3v7M8 12.5v.5'/%3E%3C/svg%3E");
}

/* ===== ТАБЛИЦЫ ===== */
.table-wrap { overflow-x: auto; margin: 1.5rem 0 0; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td {
  padding: .85rem .9rem; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.table thead th {
  font-size: .82rem; text-transform: uppercase; letter-spacing: .03em;
  color: var(--text-muted); font-weight: 700;
}
.table tbody th { font-weight: 600; }
.table__total td, .table__total th { font-weight: 800; font-size: 1.05rem; border-top: 2px solid var(--text); }

.table--compare { min-width: 520px; }
.table--compare tbody th { width: 38%; }
.table--utilities { min-width: 640px; }
.table--utilities td:last-child { font-size: .9rem; line-height: 1.5; color: var(--text-muted); }
.nowrap { white-space: nowrap; }

.dot {
  display: inline-block; flex: none;
  width: 9px; height: 9px; margin-right: .45rem;
  border-radius: 50%;
}
.dot--ok { background: var(--ok); }
.dot--no { background: #c8cdd5; }

/* ===== СКАЧИВАНИЕ ВЫПИСКИ ===== */
.doc-download {
  margin-top: 2rem; padding: 1.5rem;
  background: #fff; border: 2px solid var(--accent); border-radius: var(--radius);
  text-align: center;
}
.section--alt .doc-download { background: #fff; }
.doc-download { text-align: left; }
.doc-download h3 { margin-bottom: .6rem; font-size: 1.15rem; }
.doc-download p { margin: 0 0 .9rem; }
.doc-download p:last-child { margin-bottom: 0; font-size: .88rem; }
.doc-download__actions {
  display: flex; flex-wrap: wrap; gap: .7rem;
  margin: 1.4rem 0 1rem !important;
}

/* ===== КАЛЬКУЛЯТОР ===== */
.calc {
  margin-top: 2.5rem; padding: 1.6rem;
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius);
}
.section--alt .calc { background: #fff; }
.calc h3 { margin-bottom: 1rem; }
.calc__row { display: flex; align-items: center; gap: 1rem; margin-bottom: .85rem; flex-wrap: wrap; }
.calc__row label { flex: 1; min-width: 200px; font-size: .95rem; }
.calc__row input {
  width: 140px; padding: .6rem .75rem;
  font: inherit; text-align: right;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: #fff;
}
.calc__out {
  margin: 1.25rem 0 .25rem; padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  font-size: 1.12rem; font-weight: 700; line-height: 1.45;
}
.calc__out:empty { display: none; }
.calc__note { font-size: .82rem; margin: 0; }

/* ===== ЛОГИСТИКА, КАРТА, ФОТО ===== */
.logistics {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin: 0 0 2rem; padding: 0; list-style: none;
  background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.logistics li { display: flex; flex-direction: column; gap: .25rem; padding: 1.1rem 1.25rem; background: #fff; }
.logistics__to { font-size: .87rem; color: var(--text-muted); }
.logistics__val { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }

.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map iframe { display: block; border: 0; }

.figure { margin: 2rem 0 0; }
.figure img { border-radius: var(--radius); border: 1px solid var(--border); }
.figure figcaption { margin-top: .6rem; font-size: .87rem; }

.near { margin-top: 2.5rem; }
.near__list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.near__list li {
  padding: .45rem .85rem;
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 100px;
  font-size: .9rem;
}
.section--alt .near__list li { background: #fff; }

/* ===== ШАГИ СДЕЛКИ ===== */
.steps--numbered { counter-reset: step; margin: 0; padding: 0; list-style: none; }
.steps--numbered .step {
  position: relative;
  padding: 0 0 1.5rem 3.25rem;
  border-left: 2px solid var(--border);
  margin-left: 17px;
}
.steps--numbered .step:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps--numbered .step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -2px; left: -19px;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  background: var(--accent); color: #fff;
  border: 3px solid #fff; border-radius: 50%;
  font-weight: 800; font-size: .92rem;
}
.steps--numbered h3 { margin-bottom: .3rem; }
.steps--numbered p { color: var(--text-muted); margin-bottom: 0; }

/* ===== КТО ПРОДАЁТ ===== */
.seller { display: grid; gap: var(--gap); grid-template-columns: 280px 1fr; align-items: start; }
.seller--solo { grid-template-columns: 1fr; }
.seller__photo { border-radius: var(--radius); box-shadow: var(--shadow); }
.seller__name { font-size: 1.15rem; font-weight: 700; margin-bottom: .75rem; }
.seller__contacts { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 .75rem; }

/* ===== КОНТАКТЫ ===== */
.contacts {
  margin: 1.75rem 0 2.5rem;
  padding: 1.75rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contacts__phone { margin: 0 0 .2rem; font-size: clamp(1.6rem, 4vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; }
.contacts__phone a { color: var(--text); text-decoration: none; }
.contacts__phone a:hover { color: var(--accent); }
.contacts .hero__actions { margin-top: 1.4rem; }

/* ===== СРАВНЕНИЕ ЦЕН ===== */
.compare-list { margin: 1.5rem 0; padding: 0; list-style: none; }
.compare-list li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem;
  padding: .9rem 0; border-bottom: 1px solid var(--border);
}
.compare-list__place { flex: 1; min-width: 220px; }
.compare-list__price { font-weight: 800; font-size: 1.05rem; }
.compare-list__src { font-size: .82rem; }

/* ===== FAQ ===== */
.faq-list { border-top: 1px solid var(--border); }
.faq { border-bottom: 1px solid var(--border); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 650; font-size: 1.03rem;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none;
  width: 11px; height: 11px;
  border-right: 2.5px solid var(--text-muted);
  border-bottom: 2.5px solid var(--text-muted);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .2s;
}
.faq[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq[open] summary { color: var(--accent); }
.faq__body { padding-bottom: 1.15rem; color: var(--text-muted); }
.faq__body p:last-child { margin-bottom: 0; }

/* ===== ПЕРЕЛИНКОВКА ===== */
.cross-links { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin: 0; padding: 0; list-style: none; }
.cross-links a {
  display: grid; gap: .25rem;
  height: 100%; padding: 1.1rem 1.25rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); text-decoration: none;
}
.cross-links a:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.cross-links strong { color: var(--accent); }
.cross-links span { font-size: .88rem; }

/* ===== ФОРМА ЗАПИСИ ===== */
.visit { background: var(--bg); }
.form { margin-top: 1.75rem; }

.form__slots { margin: 0 0 1.5rem; padding: 0; border: 0; }
.form__slots legend { padding: 0; margin-bottom: .6rem; font-size: .92rem; font-weight: 600; }
.slot { display: block; margin-bottom: .6rem; cursor: pointer; }
.slot input { position: absolute; opacity: 0; width: 0; height: 0; }
.slot__body {
  display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap;
  padding: .9rem 1.1rem;
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color .15s, background .15s;
}
.slot input:checked + .slot__body { border-color: var(--accent); background: var(--accent-soft); }
.slot input:focus-visible + .slot__body { outline: 3px solid var(--accent); outline-offset: 2px; }
.slot__date { font-weight: 700; }
.slot__day  { font-size: .88rem; }

.form__row { margin-bottom: 1rem; }
.form__row label { display: block; margin-bottom: .35rem; font-size: .92rem; font-weight: 600; }
.form input, .form textarea, .form select {
  width: 100%; padding: .8rem 1rem;
  font: inherit; font-size: 1rem; color: var(--text);
  background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
.form select {
  appearance: none; cursor: pointer; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%235a6370' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31,58,95,.13);
}
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: var(--bad); }
.form textarea { resize: vertical; }
.form__hint { margin: .45rem 0 0; font-size: .84rem; color: var(--text-muted); }

.form__consent { display: flex; align-items: flex-start; gap: .65rem; margin: 1.25rem 0 1.35rem; }
.form__consent input { flex: none; width: 19px; height: 19px; margin: .18rem 0 0; accent-color: var(--accent); cursor: pointer; }
.form__consent input[aria-invalid="true"] { outline: 2px solid var(--bad); outline-offset: 2px; border-radius: 3px; }
.form__consent label { font-size: .87rem; line-height: 1.5; color: var(--text-muted); cursor: pointer; }

.form__note { margin: .9rem 0 0; font-size: .87rem; color: var(--text-muted); text-align: center; }
.form__status:empty { display: none; }
.form__status {
  margin: 1rem 0 0; padding: .85rem 1rem;
  background: var(--accent-soft); border-radius: var(--radius-sm);
  font-size: .95rem; text-align: center;
}

/* ===== ПОСТОЯННЫЕ КНОПКИ СВЯЗИ ===== */
.quick {
  position: fixed; z-index: 150;
  right: 1.25rem; bottom: 1.25rem;
  display: flex; flex-direction: column; gap: .6rem;
}
.quick__btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.1rem;
  border-radius: 100px;
  color: #fff; font-weight: 650; font-size: .92rem; text-decoration: none;
  box-shadow: var(--shadow-lg);
}
.quick__btn--call { background: var(--accent); }
.quick__btn--wa   { background: #1faa54; }
.quick__btn:hover { filter: brightness(1.08); }

/* ===== ПОДВАЛ ===== */
.site-footer {
  padding-top: var(--section-y);
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  font-size: .94rem;
}
.footer__nav { padding-bottom: 2.25rem; border-bottom: 1px solid var(--border); }
.footer__nav ul { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.footer__nav ul:last-child { margin-bottom: 0; }
.footer__nav a {
  display: inline-block; padding: .45rem .9rem;
  background: #fff; border: 1px solid var(--border); border-radius: 100px;
  color: var(--text); font-size: .89rem; text-decoration: none;
}
.footer__nav a:hover { border-color: var(--accent); color: var(--accent); }

.footer__inner {
  display: grid; gap: var(--gap);
  grid-template-columns: 1.4fr 1fr 1fr;
  padding-block: 2.25rem;
}
.footer__title { margin-bottom: .7rem; font-size: .98rem; font-weight: 700; }
.footer__col p { margin-bottom: .35rem; }
.footer__col a { color: var(--text); }
.footer__col address { font-style: normal; color: var(--text-muted); }
.footer__bottom { padding-block: 1.4rem; border-top: 1px solid var(--border); }
.footer__bottom p { margin: 0 0 .5rem; font-size: .86rem; }
.footer__bottom p:last-child { margin-bottom: 0; }
.disclaimer { max-width: 85ch; font-size: .8rem !important; line-height: 1.55; }

.cross-links--stacked { grid-template-columns: 1fr; }

/* ===== ЮРИДИЧЕСКИЕ СТРАНИЦЫ И СТАТЬИ ===== */
.doc h1 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
.doc h2 { margin-top: 2.25rem; font-size: 1.35rem; text-align: left; }
.doc h3 { margin-top: 1.75rem; }
.doc ul, .doc ol { padding-left: 1.3rem; }
.doc li { margin-bottom: .45rem; }
.doc .table-wrap { margin-block: 1.5rem; }
.article__meta { margin-top: -.5rem; font-size: .87rem; }

/* ===== COOKIE ===== */
.cookie {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  max-width: 720px; margin-inline: auto;
  padding: 1rem 1.25rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
/* Скрипт прячет баннер, выставляя атрибут hidden. Браузер задаёт для него
   display:none своей встроенной таблицей стилей, но авторские правила всегда
   сильнее встроенных — display:flex выше перебивал бы её, и баннер оставался
   бы на экране после нажатия «Хорошо». Поэтому скрытие задаём явно. */
.cookie[hidden] { display: none; }
.cookie p { flex: 1; min-width: 220px; margin: 0; font-size: .86rem; color: var(--text-muted); }

/* ===== АДМИНКА И ДИАГНОСТИКА ===== */
.admin__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.admin__head h1 { margin: 0; }
.admin__head p { margin: 0; display: flex; gap: .5rem; }
.table tbody tr:hover { background: var(--bg-alt); }

.btn-link { padding: 0; background: none; border: 0; color: var(--bad); font: inherit; font-size: .88rem; cursor: pointer; }
.btn-link:hover { text-decoration: underline; }

.checklist { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.checklist li {
  display: grid; gap: .15rem;
  padding: .75rem 0 .75rem 1.9rem;
  border-bottom: 1px solid var(--border);
  background: no-repeat left .95rem/16px 16px;
}
.checklist .muted { font-size: .87rem; }
.checklist li.is-ok {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231a7f4b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.5 3.5L13 4.5'/%3E%3C/svg%3E");
}
.checklist li.is-warn {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23a8620a' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M8 3v7M8 12.5v.5'/%3E%3C/svg%3E");
}
.checklist li.is-bad {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23b42318' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M4 4l8 8M12 4l-8 8'/%3E%3C/svg%3E");
}

/* ===== АДАПТИВ ===== */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .fit { grid-template-columns: 1fr; }
  .seller { grid-template-columns: 1fr; }
  .seller__photo { max-width: 240px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }

  .header__cta { display: none; }
  .header__hours { display: none; }
  .footer__inner { grid-template-columns: 1fr; }
  .closing { font-size: 1.08rem; padding: 1.15rem 1.25rem; }

  /* Кнопки связи уезжают в нижнюю панель во всю ширину:
     на смартфоне это самая конверсионная зона экрана. */
  .quick {
    left: 0; right: 0; bottom: 0;
    flex-direction: row; gap: 0;
    padding-bottom: env(safe-area-inset-bottom);
    background: #fff; border-top: 1px solid var(--border);
  }
  .quick__btn {
    flex: 1; justify-content: center;
    padding: 1rem .5rem; border-radius: 0;
    box-shadow: none;
  }
  .cookie { bottom: calc(64px + env(safe-area-inset-bottom) + .75rem); }
}

@media (max-width: 480px) {
  .header__contact { text-align: right; }
  .trust, .facts { gap: 1.1rem 1.5rem; }
  .minus-list > li { padding-left: 0; padding-top: 3rem; }
  .minus-list > li::before { top: 0; }
}
