/* =========================================================================
   Тема сайта-донора. Раскладка и палитра — по референсу.
   Всё цветовое — в переменных :root, перекраска сайта = правка этого блока.
   ========================================================================= */
:root {
  --base:            #761e19;
  --base-dark:       #5d1713;
  --base-light:      #8f2620;
  --base-soft:       #761e191a;
  --text:            #333333;
  --text-muted:      #777777;
  --text-light:      #999999;
  --line:            #e6e6e6;
  --line-soft:       #f0f0f0;
  --bg:              #ffffff;
  --bg-grey:         #f7f7f7;
  --bg-grey-2:       #fbfbfb;
  --footer-bg:       #2f2f2f;
  --footer-text:     #b3b3b3;
  --footer-title:    #ffffff;
  --star:            #f5a623;
  --ok:              #3f9c46;
  --no:              #c0392b;
  --radius:          3px;
  --radius-lg:       6px;
  --container:       1230px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 14px; line-height: 1.5;
  color: var(--text); background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--base); }
ul { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4 { margin: 0 0 .6em; font-weight: 700; line-height: 1.25; color: var(--text); }
h1 { font-size: 30px; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
button { font-family: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 15px; }
.muted { color: var(--text-muted); }
.upper { text-transform: uppercase; letter-spacing: .02em; }
.nowrap { white-space: nowrap; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border: 1px solid transparent; border-radius: var(--radius);
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
  background: var(--base); color: #fff; line-height: 1;
}
.btn:hover { background: var(--base-dark); color: #fff; }
.btn--outline { background: transparent; color: var(--base); border-color: var(--base); }
.btn--outline:hover { background: var(--base); color: #fff; }
.btn--ghost { background: #fff; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--base); color: var(--base); background: #fff; }
.btn--block { width: 100%; }
.btn--sm { padding: 8px 14px; font-size: 12px; }

/* ---------- служебная шапка ---------- */
.topbar { border-bottom: 1px solid var(--line); background: #fff; font-size: 13px; }
.topbar__row { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 20px; }
.topbar__menu { display: flex; flex-wrap: wrap; gap: 22px; }
.topbar__menu a { color: var(--text); }
.topbar__menu a.is-active { color: var(--base); font-weight: 600; }
.topbar__side { display: flex; align-items: center; gap: 18px; color: var(--text-muted); }
.topbar__side .age { font-weight: 700; color: var(--base); }

/* ---------- основная шапка ---------- */
.header { background: #fff; }
.header__row { display: flex; align-items: center; gap: 26px; padding: 18px 0; }
.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo__mark {
  width: 38px; height: 38px; border-radius: var(--radius); background: var(--base);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; letter-spacing: -.03em;
}
.logo__text { font-size: 21px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.logo__sub { display: block; font-size: 10px; font-weight: 500; letter-spacing: .12em; color: var(--text-light); text-transform: uppercase; }

.search { flex: 1 1 auto; max-width: 520px; }
.search__form { display: flex; background: var(--bg-grey); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.search__input { flex: 1; border: 0; background: transparent; padding: 11px 14px; font-size: 14px; outline: none; color: var(--text); }
.search__btn { border: 0; background: transparent; padding: 0 14px; cursor: pointer; color: var(--text-light); display: flex; align-items: center; }
.search__btn:hover { color: var(--base); }

.header__contacts { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.hphone { text-align: right; }
.hphone__num { font-size: 18px; font-weight: 700; white-space: nowrap; }
.hphone__note { font-size: 11px; color: var(--text-light); }
.header__actions { display: flex; align-items: center; gap: 18px; }
.haction { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: var(--text-muted); }
.haction:hover { color: var(--base); }
.haction svg { width: 20px; height: 20px; }

/* ---------- навигация ---------- */
.nav { background: var(--base); position: relative; z-index: 60; }
.nav__list { display: flex; align-items: stretch; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 15px;
  color: #fff; font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em;
  white-space: nowrap;
}
.nav__link:hover, .nav__item.is-open > .nav__link { background: var(--base-dark); color: #fff; }
.nav__item--all .nav__link { background: var(--base-dark); font-weight: 700; }
.nav__burger { display: inline-flex; flex-direction: column; gap: 3px; }
.nav__burger i { display: block; width: 14px; height: 2px; background: currentColor; }
.nav__caret { width: 8px; height: 8px; }

/* мегаменю */
.mega {
  position: absolute; left: 0; top: 100%; display: none;
  width: min(1000px, calc(100vw - 40px)); background: #fff;
  border: 1px solid var(--line); border-top: 0; box-shadow: 0 12px 34px rgba(0,0,0,.13);
}
.nav__item.is-open > .mega { display: flex; }
.mega__cats { flex: 0 0 268px; border-right: 1px solid var(--line); background: var(--bg-grey-2); padding: 8px 0; max-height: 60vh; overflow-y: auto; }
.mega__cat { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 18px; font-size: 13.5px; cursor: pointer; }
.mega__cat:hover, .mega__cat.is-active { background: #fff; color: var(--base); font-weight: 600; }
.mega__cat span.count { color: var(--text-light); font-size: 11px; font-weight: 400; }
.mega__panels { flex: 1 1 auto; padding: 20px 24px; max-height: 60vh; overflow-y: auto; }
.mega__panel { display: none; }
.mega__panel.is-active { display: block; }
.mega__title { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: var(--text-light); margin-bottom: 12px; }
.mega__title a { color: var(--base); font-weight: 600; }
.mega__brands { columns: 4; column-gap: 22px; }
.mega__brands li { break-inside: avoid; margin-bottom: 7px; }
.mega__brands a { font-size: 13px; color: var(--text); }
.mega__brands a:hover { color: var(--base); text-decoration: underline; }
.mega__empty { color: var(--text-muted); font-size: 13px; }

.nav__more { margin-left: auto; }
.nav__drop {
  position: absolute; right: 0; top: 100%; display: none; min-width: 240px; background: #fff;
  border: 1px solid var(--line); border-top: 0; box-shadow: 0 12px 34px rgba(0,0,0,.13); padding: 8px 0;
}
.nav__item.is-open > .nav__drop { display: block; }
.nav__drop a { display: block; padding: 8px 18px; font-size: 13.5px; }
.nav__drop a:hover { background: var(--bg-grey); color: var(--base); }

/* мобильное меню */
.mobile-toggle { display: none; }
@media (max-width: 991px) {
  .header__row { flex-wrap: wrap; gap: 14px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .header__contacts { gap: 14px; }
  .nav__list { display: none; }
  .nav.is-open .nav__list { display: block; padding-bottom: 10px; }
  .nav__link { height: 42px; }
  .mobile-toggle {
    display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 15px;
    color: #fff; font-weight: 700; text-transform: uppercase; font-size: 12.5px;
    background: transparent; border: 0; cursor: pointer;
  }
  .mega, .nav__drop { position: static; width: auto; border: 0; box-shadow: none; }
  .nav__item.is-open > .mega { display: block; }
  .mega__cats { flex: none; border-right: 0; max-height: none; }
  .mega__brands { columns: 2; }
  .nav__more { margin-left: 0; }
}
@media (max-width: 767px) {
  .topbar__menu { display: none; }
  .hphone__note, .haction span { display: none; }
  h1 { font-size: 23px; }
}

/* ---------- предупреждение 18+ ---------- */
.warnbar {
  background: #1d1d1d; color: #d9d9d9; font-size: 12px; text-align: center;
  padding: 9px 15px; letter-spacing: .02em;
}
.warnbar b { color: #fff; }

/* ---------- хлебные крошки / заголовок ---------- */
.page-head { padding: 26px 0 6px; }
.page-head h1 { display: inline-flex; align-items: baseline; gap: 10px; }
.page-head h1 .count { font-size: 13px; font-weight: 500; color: var(--text-light); }
.crumbs { display: flex; flex-wrap: wrap; gap: 7px; font-size: 12.5px; color: var(--text-light); margin-bottom: 18px; }
.crumbs a { color: var(--text-muted); }
.crumbs a:hover { color: var(--base); }
.crumbs span.sep { color: var(--line); }

/* ---------- сетка каталога ---------- */
.catalog { display: flex; gap: 26px; align-items: flex-start; padding-bottom: 40px; }
.catalog__side { flex: 0 0 250px; }
.catalog__main { flex: 1 1 auto; min-width: 0; }

/* фильтр (декоративный) */
.filter { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.filter__head { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 700; text-transform: uppercase; font-size: 12.5px; letter-spacing: .04em; }
.filter__group { border-bottom: 1px solid var(--line-soft); }
.filter__group:last-child { border-bottom: 0; }
.filter__toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; background: none; border: 0; cursor: pointer;
  font-size: 13.5px; font-weight: 600; color: var(--text); text-align: left;
}
.filter__toggle svg { width: 9px; height: 9px; color: var(--text-light); transition: transform .2s; }
.filter__group.is-open .filter__toggle svg { transform: rotate(180deg); }
.filter__body { display: none; padding: 0 16px 15px; }
.filter__group.is-open .filter__body { display: block; }
.filter__range { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.filter__range input {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 7px 9px; font-size: 13px; color: var(--text-muted); background: var(--bg-grey-2);
}
.filter__slider { height: 3px; background: var(--line); border-radius: 3px; position: relative; margin: 0 4px 6px; }
.filter__slider i { position: absolute; top: 0; height: 3px; background: var(--base); left: 8%; right: 22%; }
.filter__slider b { position: absolute; top: -5px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 2px solid var(--base); }
.filter__slider b:first-of-type { left: 8%; }
.filter__slider b:last-of-type { right: 22%; }
.filter__dash { color: var(--text-light); }
.filter__cur { color: var(--text-light); font-size: 13px; padding-left: 2px; }
.filter__scale { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--text-light); margin: 0 -2px 2px; }
.filter__scale span { position: relative; padding-top: 7px; }
.filter__scale span::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 4px; background: var(--line);
}
.filter__opt { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 13px; color: var(--text); }
.filter__opt input { accent-color: var(--base); }
.filter__opt > span:first-of-type { flex: 1 1 auto; min-width: 0; }
.filter__opt .num {
  margin-left: auto; flex: 0 0 auto; color: var(--text-light); font-size: 11px;
  background: var(--bg-grey); border-radius: 10px; padding: 2px 7px; min-width: 24px; text-align: center;
}
.filter__rest { font-size: 11.5px; color: var(--text-light); padding-top: 7px; }
.filter__head svg { width: 15px; height: 15px; color: var(--base); }
.filter__note { padding: 12px 16px; font-size: 11.5px; color: var(--text-light); border-top: 1px solid var(--line-soft); }

/* панель сортировки */
.sortbar {
  display: flex; align-items: center; gap: 16px; padding: 0 0 16px;
  font-size: 13px; color: var(--text-muted); flex-wrap: wrap;
}
.sortbar__select {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: default;
}
.sortbar__select { white-space: nowrap; }
.sortbar__views { margin-left: auto; display: flex; gap: 6px; }
.sortbar__view {
  width: 30px; height: 30px; border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; cursor: default; color: var(--text-light);
}
.sortbar__view svg { width: 14px; height: 14px; }
.sortbar__view.is-active { border-color: var(--base); color: var(--base); }

/* плитка товара */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.card {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 18px 16px 20px; background: #fff; display: flex; flex-direction: column;
  position: relative; transition: box-shadow .18s;
}
.card:hover { box-shadow: 0 6px 26px rgba(0,0,0,.09); z-index: 2; }
.card__sticker {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  background: var(--base); color: #fff; font-size: 9.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; padding: 4px 7px; border-radius: 2px;
}
.card__img { display: block; margin-bottom: 14px; cursor: pointer; }
.card__img img { margin: 0 auto; max-height: 210px; width: auto; }
.card__rating { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; }
.stars { display: inline-flex; gap: 1px; }
.stars svg { width: 12px; height: 12px; color: var(--line); }
.stars svg.on { color: var(--star); }
.card__votes { font-size: 11px; color: var(--text-light); }
.card__title {
  font-size: 13.5px; font-weight: 600; line-height: 1.35; margin-bottom: 9px;
  cursor: pointer; min-height: 2.7em;
}
.card__title:hover { color: var(--base); }
.card__stock { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ok); margin-bottom: 12px; }
.card__stock i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.card__bottom { margin-top: auto; }
.card__price { font-size: 19px; font-weight: 700; margin-bottom: 3px; }
.card__price-note { font-size: 11.5px; color: var(--text-light); margin-bottom: 12px; }
.card .btn { width: 100%; }

@media (max-width: 1199px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991px) {
  .catalog { display: block; }
  .catalog__side { margin-bottom: 22px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) { .grid { grid-template-columns: repeat(2, 1fr); } .card { padding: 14px 11px 16px; } }
@media (max-width: 420px) { .grid { grid-template-columns: 1fr; } }

/* ---------- секции главной ---------- */
.section { padding: 42px 0; }
.section--grey { background: var(--bg-grey); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section__head h2 { margin: 0; }
.section__more { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.section__more:hover { color: var(--base); }

/* герой */
.hero { background: linear-gradient(135deg, var(--base) 0%, var(--base-dark) 100%); color: #fff; }
.hero__inner { display: flex; align-items: center; gap: 40px; padding: 46px 0; }
.hero__text { flex: 1 1 auto; }
.hero h1 { color: #fff; font-size: 34px; margin-bottom: 14px; max-width: 640px; }
.hero__lead { font-size: 15px; opacity: .9; max-width: 620px; margin-bottom: 22px; }
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn { background: #fff; color: var(--base); }
.hero .btn:hover { background: #f0e6e5; color: var(--base-dark); }
.hero .btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.hero .btn--outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.hero__img { flex: 0 0 230px; }
.hero__img img { filter: drop-shadow(0 16px 30px rgba(0,0,0,.35)); }
@media (max-width: 767px) { .hero__img { display: none; } .hero h1 { font-size: 25px; } }

/* тизеры */
.tizers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tizer { text-align: center; }
.tizer__ico {
  width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--base-soft); color: var(--base);
  display: flex; align-items: center; justify-content: center;
}
.tizer__ico svg { width: 24px; height: 24px; }
.tizer__title { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.tizer__text { font-size: 13px; color: var(--text-muted); }
@media (max-width: 767px) { .tizers { grid-template-columns: repeat(2, 1fr); gap: 20px; } }

/* витрина категорий */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff;
  padding: 20px 22px; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s;
}
.cat-card:hover { border-color: var(--base); box-shadow: 0 8px 24px rgba(0,0,0,.07); }
.cat-card__top { font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-light); margin-bottom: 8px; }
.cat-card__title { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.cat-card__title a { color: var(--text); }
.cat-card:hover .cat-card__title a { color: var(--base); }
.cat-card__brands { font-size: 12.5px; color: var(--text-muted); line-height: 1.9; }
.cat-card__brands a { color: var(--text-muted); }
.cat-card__brands a:hover { color: var(--base); text-decoration: underline; }
.cat-card__link { margin-top: auto; padding-top: 14px; font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--base); }
@media (max-width: 991px) { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cats { grid-template-columns: 1fr; } }

/* большие баннеры категорий */
.promos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.promo {
  display: flex; gap: 18px; align-items: center; background: var(--bg-grey);
  border-radius: var(--radius-lg); padding: 26px 28px; min-height: 190px;
}
.promo__text { flex: 1 1 auto; }
.promo__top { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: var(--text-light); margin-bottom: 6px; }
.promo__title { font-size: 24px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.promo__title a { color: var(--text); }
.promo:hover .promo__title a { color: var(--base); }
.promo__desc { font-size: 13px; color: var(--text-muted); }
.promo__img { flex: 0 0 110px; }
@media (max-width: 767px) { .promos { grid-template-columns: 1fr; } .promo__img { flex-basis: 84px; } }

/* точка самовывоза */
.point { display: grid; grid-template-columns: 1.05fr 1fr; gap: 26px; align-items: stretch; }
.point__card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 28px; background: #fff; }
.point__row { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.point__row:last-of-type { border-bottom: 0; }
.point__row svg { width: 16px; height: 16px; color: var(--base); flex: 0 0 auto; margin-top: 2px; }
.point__row b { display: block; font-weight: 600; }
.point__row span { color: var(--text-muted); font-size: 13px; }
.point__map {
  border-radius: var(--radius-lg); background: var(--bg-grey) repeating-linear-gradient(45deg, #f2f2f2 0 12px, #f7f7f7 12px 24px);
  border: 1px solid var(--line); min-height: 280px;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px;
  color: var(--text-light); font-size: 13px; text-align: center; padding: 20px;
}
.point__map svg { width: 32px; height: 32px; color: var(--base); }
@media (max-width: 767px) { .point { grid-template-columns: 1fr; } }

/* список точек на главной */
.ptlist { border-top: 1px solid var(--line-soft); }
.ptlist__row {
  display: flex; align-items: center; gap: 10px; padding: 10px 0;
  border-bottom: 1px solid var(--line-soft); font-size: 14px;
}
.ptlist__row svg { width: 15px; height: 15px; color: var(--base); flex: 0 0 auto; }
.ptlist__addr { flex: 1 1 auto; font-weight: 600; }
.ptlist__h { color: var(--text-light); font-size: 12px; white-space: nowrap; }
.ptlist__row:hover .ptlist__addr { color: var(--base); }
@media (max-width: 600px) { .ptlist__h { display: none; } }

/* отзывы */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; background: #fff; }
.review__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; gap: 12px; }
.review__name { font-weight: 700; font-size: 15px; }
.review__date { font-size: 11.5px; color: var(--text-light); }
.review__text { font-size: 13.5px; color: var(--text-muted); }
.rating-summary { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.rating-summary__val { font-size: 34px; font-weight: 800; line-height: 1; }
.rating-summary__cnt { font-size: 13px; color: var(--text-muted); }
@media (max-width: 991px) { .reviews { grid-template-columns: 1fr; } }

/* о компании */
.company { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.company__img { border-radius: var(--radius-lg); background: var(--bg-grey); padding: 30px; display: flex; justify-content: center; }
.company__img img { max-height: 260px; width: auto; }
@media (max-width: 767px) { .company { grid-template-columns: 1fr; } }

/* seo-текст */
.seotext { font-size: 14px; color: var(--text-muted); }
.seotext h2 { font-size: 19px; color: var(--text); margin-top: 26px; }
.seotext h3 { font-size: 16px; color: var(--text); margin-top: 20px; }
.seotext ul { margin: 0 0 1em; padding-left: 20px; list-style: disc; }
.seotext li { margin-bottom: 7px; }
.seotext blockquote { margin: 0 0 22px; padding: 0; }
.seotext blockquote h2 { color: var(--base); margin-top: 0; }

/* ---------- служебные страницы ---------- */
.page-lead { max-width: 820px; color: var(--text-muted); font-size: 15px; }
.pagegrid { display: flex; gap: 30px; align-items: flex-start; padding-bottom: 46px; }
.pagegrid__main { flex: 1 1 auto; min-width: 0; font-size: 14.5px; }
.pagegrid__main h2 { font-size: 20px; margin-top: 26px; }
.pagegrid__main h2:first-child { margin-top: 0; }

.pagenav { flex: 0 0 250px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.pagenav__item { display: block; padding: 12px 16px; font-size: 13.5px; border-bottom: 1px solid var(--line-soft); }
.pagenav__item:last-child { border-bottom: 0; }
.pagenav__item:hover { background: var(--bg-grey); color: var(--base); }
.pagenav__item.is-active { background: var(--bg-grey); font-weight: 700; box-shadow: inset 3px 0 0 var(--base); }
@media (max-width: 991px) {
  .pagegrid { display: block; }
  .pagenav { margin-bottom: 22px; flex: none; }
}

/* карточка точки */
.point-card {
  display: flex; gap: 18px; align-items: center; padding: 18px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 14px; background: #fff;
}
.point-card__img { flex: 0 0 150px; }
.photo-stub {
  background: var(--bg-grey); border: 1px dashed var(--line); border-radius: var(--radius);
  min-height: 104px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 6px; color: var(--text-light); font-size: 11px;
}
.photo-stub svg { width: 26px; height: 26px; color: #c9c9c9; }
.point-card__body { flex: 1 1 auto; min-width: 0; }
.point-card__addr { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.point-card__meta { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.point-card__meta svg { width: 14px; height: 14px; color: var(--base); flex: 0 0 auto; }
.point-card__map {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 6px;
  font-size: 11.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; color: var(--base);
}
.point-card__map svg { width: 13px; height: 13px; }
.point-card__map:hover { text-decoration: underline; }
.point-card__side { flex: 0 0 200px; text-align: right; }
.point-card__phone { display: block; font-size: 17px; font-weight: 700; margin-bottom: 3px; }
.point-card__note { font-size: 12px; color: var(--text-light); margin-bottom: 10px; }
@media (max-width: 767px) {
  .point-card { flex-wrap: wrap; }
  .point-card__img { flex-basis: 100px; }
  .point-card__side { flex-basis: 100%; text-align: left; }
}

/* выноска */
.callout {
  display: flex; flex-direction: column; gap: 4px; margin-top: 22px; padding: 16px 18px;
  background: var(--bg-grey); border-left: 3px solid var(--base); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 13.5px; color: var(--text-muted);
}
.callout b { color: var(--text); }
.callout--warn { background: #fbf3f2; }

/* условия и шаги */
.terms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.term { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 15px 16px; }
.term__k { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-light); margin-bottom: 6px; }
.term__v { font-weight: 700; font-size: 15px; }
@media (max-width: 767px) { .terms { grid-template-columns: repeat(2, 1fr); } }

.steps { display: grid; gap: 14px; }
.step { display: flex; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step__num {
  flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--base); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
}
.step__title { font-weight: 700; margin-bottom: 4px; }
.step__text { color: var(--text-muted); font-size: 13.5px; }

/* faq */
.faq__item { border-bottom: 1px solid var(--line-soft); padding: 15px 0; }
.faq__item:last-child { border-bottom: 0; }
.faq__q { font-weight: 700; margin-bottom: 6px; }
.faq__a { color: var(--text-muted); font-size: 13.5px; }

/* контакты */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 767px) { .contacts-grid { grid-template-columns: 1fr; } }
.crow { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.crow:last-of-type { border-bottom: 0; }
.crow svg { width: 17px; height: 17px; color: var(--base); flex: 0 0 auto; margin-top: 3px; }
.crow__k { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-light); }
.crow__v { font-size: 16px; font-weight: 600; }
.msg { display: inline-flex; gap: 8px; margin: 2px 0; }
.msg__ico {
  width: 34px; height: 34px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; color: #fff; transition: opacity .15s;
}
.msg__ico:hover { opacity: .85; color: #fff; }
.msg__ico svg { width: 18px; height: 18px; }
.msg__ico--tg { background: #2aabee; }
.msg__ico--wa { background: #25d366; }
.crow__note { font-size: 12.5px; color: var(--text-light); }

.req { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.req > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; }
.req > div:last-child { border-bottom: 0; }
.req span { color: var(--text-muted); }

.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.photo { border-radius: var(--radius-lg); padding: 16px; min-height: 150px; }
@media (max-width: 600px) { .photos { grid-template-columns: 1fr; } }

.reviews--list { grid-template-columns: 1fr 1fr; }
@media (max-width: 767px) { .reviews--list { grid-template-columns: 1fr; } }

.sitemap { display: grid; gap: 8px; }
.sitemap li { font-size: 14px; }

.doc h2 { font-size: 17px; }
.doc p, .doc li { font-size: 13.5px; }

/* ---------- футер ---------- */
.footer { background: var(--footer-bg); color: var(--footer-text); margin-top: 10px; }
.footer a { color: var(--footer-text); }
.footer a:hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: repeat(4, 1fr) 1.4fr; gap: 28px; padding: 46px 0 36px; }
.footer__title { color: var(--footer-title); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 16px; }
.footer__menu li { margin-bottom: 9px; font-size: 13px; }
.footer__contacts .row { display: flex; gap: 10px; margin-bottom: 13px; font-size: 13.5px; }
.footer__contacts svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 3px; color: #8a8a8a; }
.footer__phone { font-size: 18px; font-weight: 700; color: #fff; }
.footer__bottom { border-top: 1px solid #3d3d3d; padding: 20px 0 34px; font-size: 11.5px; line-height: 1.7; color: #8d8d8d; }
.footer__bottom p { margin: 0 0 6px; }
.footer__age { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 2px solid #6b6b6b; border-radius: 50%; font-weight: 800; color: #cfcfcf; font-size: 12px; margin-right: 12px; float: left; }
@media (max-width: 991px) { .footer__top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .footer__top { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- модальные окна ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 18px;
  background: rgba(20,20,20,.62);
}
.modal.is-open { display: flex; }
.modal__box {
  background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 520px;
  max-height: calc(100vh - 36px); overflow-y: auto; position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.modal__head { padding: 24px 28px 0; }
.modal__head h3 { margin-bottom: 4px; font-size: 20px; }
.modal__sub { font-size: 13px; color: var(--text-muted); }
.modal__body { padding: 20px 28px 26px; }
.modal__close {
  position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border: 0;
  background: transparent; cursor: pointer; color: var(--text-light); font-size: 22px; line-height: 1;
}
.modal__close:hover { color: var(--base); }

.bk-product { display: flex; gap: 14px; align-items: center; padding: 14px; background: var(--bg-grey); border-radius: var(--radius); margin-bottom: 18px; }
.bk-product img { width: 62px; height: 62px; object-fit: contain; flex: 0 0 auto; }
.bk-product__name { font-weight: 600; font-size: 14px; margin-bottom: 3px; }
.bk-product__price { font-size: 13px; color: var(--text-muted); }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 5px; }
.field input[type=text], .field input[type=tel], .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 12px; font-size: 14px; font-family: inherit; color: var(--text); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--base); }
.field textarea { min-height: 74px; resize: vertical; }
.field--check { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; color: var(--text-muted); }
.field--check input { margin-top: 2px; accent-color: var(--base); flex: 0 0 auto; }
.field--check a { color: var(--base); text-decoration: underline; }
.field .err { color: var(--no); font-size: 11.5px; margin-top: 4px; display: none; }
.field.is-invalid input, .field.is-invalid select { border-color: var(--no); }
.field.is-invalid .err { display: block; }
.hp { position: absolute; left: -9999px; opacity: 0; }

.modal__note { font-size: 11.5px; color: var(--text-light); margin-top: 12px; text-align: center; }
.modal__ok { text-align: center; padding: 12px 0 6px; }
.modal__ok svg { width: 52px; height: 52px; color: var(--ok); margin: 0 auto 14px; }
.modal__ok h3 { margin-bottom: 8px; }
.modal__ok p { color: var(--text-muted); font-size: 14px; }

/* гейт 18+ */
.agegate { position: fixed; inset: 0; z-index: 300; background: #1b1b1b; display: none; align-items: center; justify-content: center; padding: 20px; }
.agegate.is-open { display: flex; }
.agegate__box { max-width: 460px; text-align: center; color: #fff; }
.agegate__mark { width: 74px; height: 74px; border: 3px solid var(--base-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; margin: 0 auto 22px; }
.agegate__box h2 { color: #fff; font-size: 24px; }
.agegate__box p { color: #b0b0b0; font-size: 14px; }
.agegate__btns { display: flex; gap: 12px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.agegate__btns .btn--outline { color: #ddd; border-color: #565656; }
.agegate__btns .btn--outline:hover { background: #333; color: #fff; border-color: #777; }
.agegate__deny { margin-top: 20px; font-size: 13px; color: #8f8f8f; display: none; }
body.is-locked { overflow: hidden; }
