/* base */
/* ============================================================
   БИБЛИОТЕКА БЛОКОВ — универсальный стиль
   Все блоки красятся через CSS-переменные (токены).
   Меняешь токены в теме — меняется весь сайт.
   ============================================================ */

/* ---------- ТОКЕНЫ ПО УМОЛЧАНИЮ ---------- */
:root {
  --bg: #faf6f0;
  --surface: #ffffff;
  --surface-2: #f4ece1;
  --ink: #2a1f18;
  --ink-soft: #6f6055;
  --accent: #c1743c;
  --accent-deep: #9c5828;
  --accent-soft: #f6e7d8;
  --on-accent: #ffffff;
  --line: #e9ded1;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow: 0 14px 40px -22px rgba(42, 31, 24, .45);
  --shadow-sm: 0 6px 18px -12px rgba(42, 31, 24, .4);

  --maxw: 1160px;
  --gap: clamp(18px, 3.4vw, 36px);
  --sect: clamp(56px, 8vw, 104px);

  --serif: Georgia, 'Times New Roman', 'PT Serif', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- СБРОС ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.18; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- СЕТКА / ОБЩЕЕ ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.sect { padding: var(--sect) 0; }
.sect--tight { padding: calc(var(--sect) * .62) 0; }
.sect--alt { background: var(--surface-2); }
.sect--dark { background: var(--ink); color: #f4ece1; }
.sect--dark .lede, .sect--dark .sect-sub { color: rgba(244, 236, 225, .72); }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 14px;
}
.sect--dark .eyebrow { color: #e0a86e; }

.h-sect { font-size: clamp(27px, 4vw, 44px); }
.lede { color: var(--ink-soft); max-width: 62ch; }
.sect-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 52px); }
.sect-head .lede { margin-top: 14px; font-size: 1.05em; }
.sect-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sect-head--center .lede { margin-left: auto; margin-right: auto; }

/* ---------- КНОПКИ ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  text-align: center;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-deep); }
.btn--ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn--light { background: #fff; color: var(--ink); }
.btn--on-dark { border-color: rgba(244, 236, 225, .35); color: #f4ece1; }
.btn--on-dark:hover { background: rgba(244, 236, 225, .12); border-color: rgba(244, 236, 225, .6); }
.btn--wide { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============================================================
   БЛОК: ШАПКА САЙТА
   ============================================================ */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 246, 240, .88);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-head.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(42,31,24,.6); }
.site-head__in { display: flex; align-items: center; gap: 22px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__mark {
  width: 42px; height: 42px; flex: none;
  border-radius: 12px;
  background: var(--accent);
  color: var(--on-accent);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 20px; font-weight: 700;
}
.brand__name { font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: .01em; line-height: 1.1; }
.brand__tag { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 15px; color: var(--ink-soft); transition: color .18s ease; position: relative; }
.nav a:hover { color: var(--accent-deep); }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -6px;
  height: 1.5px; background: var(--accent); transition: right .25s ease;
}
.nav a:hover::after { right: 0; }
.head-phone { font-weight: 700; font-size: 16px; white-space: nowrap; }
.head-phone small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-soft); letter-spacing: .04em; }

.burger {
  display: none; width: 46px; height: 46px; flex: none;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface);
  cursor: pointer; padding: 0; place-items: center;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s ease;
}
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

@media (max-width: 940px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw);
    background: var(--surface); flex-direction: column; align-items: flex-start;
    padding: 96px 28px 28px; gap: 4px;
    transform: translateX(100%); transition: transform .3s ease; z-index: 70;
    box-shadow: -20px 0 60px -30px rgba(0,0,0,.5); overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav a { font-size: 18px; padding: 13px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .burger { display: grid; z-index: 80; }
  .burger.is-open span { background: transparent; }
  .burger.is-open span::before { transform: translateY(6px) rotate(45deg); }
  .burger.is-open span::after { transform: translateY(-6px) rotate(-45deg); }
  .head-phone { display: none; }
}

/* ============================================================
   БЛОК: ГЛАВНЫЙ ЭКРАН (HERO)
   ============================================================ */
.hero { position: relative; padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero__title { font-size: clamp(34px, 5.6vw, 66px); letter-spacing: -.02em; margin-bottom: 20px; }
.hero__title em { font-style: italic; color: var(--accent-deep); }
.hero__text { font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-soft); margin-bottom: 30px; max-width: 54ch; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero__fact { font-size: 14px; color: var(--ink-soft); display: flex; align-items: center; gap: 9px; }
.hero__fact b { color: var(--ink); font-weight: 700; }
.hero__media { position: relative; }
.hero__media .ph { border-radius: var(--radius); box-shadow: var(--shadow); }
.hero__badge {
  position: absolute; left: -14px; bottom: 26px;
  background: var(--surface); border-radius: var(--radius-sm);
  padding: 14px 20px; box-shadow: var(--shadow); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px; max-width: 240px;
}
.hero__badge b { display: block; font-size: 15px; }
.hero__badge span { font-size: 12.5px; color: var(--ink-soft); line-height: 1.4; }

@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__media { order: 1; }
  .hero__badge { left: auto; right: 12px; bottom: 12px; }
  .hero__facts { gap: 10px 20px; }
}

/* ---------- ЗАГЛУШКИ ФОТО ---------- */
.ph {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--accent-soft), var(--surface-2) 55%, #e8d9c6);
  display: grid; place-items: center;
  color: rgba(156, 88, 40, .28);
}
.ph::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 12% 8%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(90% 80% at 92% 96%, rgba(156,88,40,.16), transparent 65%);
}
.ph > svg { width: 34%; max-width: 190px; height: auto; position: relative; z-index: 1; opacity: .55; }
.ph--1 { aspect-ratio: 4 / 5; }
.ph--2 { aspect-ratio: 1 / 1; }
.ph--3 { aspect-ratio: 16 / 10; }
.ph--4 { aspect-ratio: 3 / 4; }
.ph__hint {
  position: absolute; left: 12px; bottom: 10px; z-index: 2;
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(42,31,24,.42); font-weight: 700;
}

/* ============================================================
   БЛОК: ПРЕИМУЩЕСТВА
   ============================================================ */
.features__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--gap); }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature__ico {
  width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-deep);
  display: grid; place-items: center; margin-bottom: 18px;
}
.feature__ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 19px; margin-bottom: 9px; }
.feature p { font-size: 14.5px; color: var(--ink-soft); }

/* ============================================================
   БЛОК: О НАС
   ============================================================ */
.about__in { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about__media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about__media .ph:first-child { grid-row: span 2; aspect-ratio: auto; height: 100%; }
.about__body p + p { margin-top: 16px; }
.about__body .h-sect { margin-bottom: 18px; }
.about__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.about__stat b { display: block; font-family: var(--serif); font-size: clamp(26px, 3.4vw, 38px); color: var(--accent-deep); line-height: 1; }
.about__stat span { font-size: 13.5px; color: var(--ink-soft); display: block; margin-top: 7px; }

@media (max-width: 900px) {
  .about__in { grid-template-columns: 1fr; }
  .about__media { order: 1; }
}

/* ============================================================
   БЛОК: МЕНЮ / УСЛУГИ С ЦЕНАМИ
   ============================================================ */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tab {
  padding: 11px 22px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--line); background: var(--surface);
  cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
  transition: all .18s ease;
}
.tab:hover { border-color: var(--accent); color: var(--accent-deep); }
.tab.is-active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.menu-panel { display: none; }
.menu-panel.is-active { display: block; animation: fadeUp .35s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.price-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 10px 44px; }
.price-row {
  display: flex; align-items: baseline; gap: 12px;
  padding: 15px 0; border-bottom: 1px dashed var(--line);
}
.price-row__name { font-weight: 600; }
.price-row__name small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-soft); margin-top: 3px; }
.price-row__dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-3px); min-width: 16px; }
.price-row__val { font-family: var(--serif); font-size: 18px; font-weight: 700; white-space: nowrap; }
.price-note { margin-top: 26px; font-size: 13.5px; color: var(--ink-soft); }

/* ============================================================
   БЛОК: ГАЛЕРЕЯ
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery .ph { border-radius: var(--radius-sm); cursor: zoom-in; transition: transform .25s ease, box-shadow .25s ease; }
.gallery .ph:hover { transform: scale(1.015); box-shadow: var(--shadow); }
.gallery__wide { grid-column: span 2; }
@media (max-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery__wide { grid-column: span 2; } }

/* ============================================================
   БЛОК: ОТЗЫВЫ
   ============================================================ */
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--gap); }
.review {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column;
}
.review__stars { color: #e0a436; letter-spacing: 3px; font-size: 15px; margin-bottom: 14px; }
.review__text { flex: 1; font-size: 15px; line-height: 1.7; }
.review__who { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 13px; }
.review__ava {
  width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-deep); font-weight: 700; font-family: var(--serif); font-size: 17px;
}
.review__who b { display: block; font-size: 15px; }
.review__who span { font-size: 12.5px; color: var(--ink-soft); }
.sect--dark .review { background: rgba(255,255,255,.05); border-color: rgba(244,236,225,.16); }
.sect--dark .review__who { border-top-color: rgba(244,236,225,.16); }
.sect--dark .review__who span { color: rgba(244,236,225,.6); }

/* ============================================================
   БЛОК: АКЦИИ
   ============================================================ */
.promo__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.promo-card {
  border-radius: var(--radius); padding: 32px 30px; position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
}
.promo-card--accent { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.promo-card--accent .promo-card__label, .promo-card--accent p { color: rgba(255,255,255,.85); }
.promo-card__label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 14px; }
.promo-card__big { font-family: var(--serif); font-size: clamp(30px, 4.6vw, 46px); line-height: 1; margin-bottom: 14px; }
.promo-card h3 { font-size: 20px; margin-bottom: 10px; }
.promo-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ============================================================
   БЛОК: КОМАНДА
   ============================================================ */
.team__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); }
.person { text-align: center; }
.person .ph { border-radius: var(--radius); margin-bottom: 18px; }
.person h3 { font-size: 20px; margin-bottom: 5px; }
.person span { font-size: 13.5px; color: var(--accent-deep); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.person p { font-size: 14.5px; color: var(--ink-soft); margin-top: 12px; }

/* ============================================================
   БЛОК: FAQ
   ============================================================ */
.faq__list { max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 24px 44px 24px 0; position: relative;
  font-family: var(--serif); font-size: clamp(17px, 1.9vw, 21px); font-weight: 600; line-height: 1.35;
}
.faq__q::after {
  content: ''; position: absolute; right: 8px; top: 50%; width: 13px; height: 13px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg); transition: transform .28s ease;
}
.faq__item.is-open .faq__q::after { transform: translateY(-30%) rotate(-135deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .34s ease; }
.faq__a > div { padding: 0 40px 26px 0; color: var(--ink-soft); font-size: 15.5px; }
.faq__item.is-open .faq__a { max-height: 460px; }

/* ============================================================
   БЛОК: ФОРМА
   ============================================================ */
.form-block__in {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 52px);
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 56px);
  box-shadow: var(--shadow);
}
.form-block__in--solo { grid-template-columns: 1fr; max-width: 660px; margin: 0 auto; }
.form-block__aside h2 { font-size: clamp(24px, 3.4vw, 36px); margin-bottom: 16px; }
.form-block__aside p { color: var(--ink-soft); font-size: 15px; }
.form-block__list { margin-top: 24px; display: grid; gap: 12px; }
.form-block__list li { display: flex; gap: 11px; font-size: 14.5px; color: var(--ink-soft); align-items: flex-start; }
.form-block__list svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--accent); }

.form { display: grid; gap: 15px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: var(--bg); font-size: 15px;
  transition: border-color .18s ease, background .18s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); background: var(--surface);
}
.field--row { grid-template-columns: 1fr 1fr; gap: 15px; }
@media (max-width: 620px) { .field--row { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }
.consent input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--accent); }
.consent a { text-decoration: underline; }
.form__note { font-size: 12.5px; color: var(--ink-soft); text-align: center; }

@media (max-width: 860px) { .form-block__in { grid-template-columns: 1fr; } }

/* ============================================================
   БЛОК: КОНТАКТЫ
   ============================================================ */
.contacts__in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); }
.contacts__map { border-radius: var(--radius); overflow: hidden; min-height: 340px; border: 1px solid var(--line); background: var(--surface-2); position: relative; }
.contacts__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.contacts__map-ph { display: grid; place-items: center; min-height: 340px; text-align: center; padding: 30px; color: var(--ink-soft); font-size: 14px; }
.contact-item { display: flex; gap: 15px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item__ico {
  width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--accent-soft);
  color: var(--accent-deep); display: grid; place-items: center;
}
.contact-item__ico svg { width: 21px; height: 21px; }
.contact-item b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; font-weight: 700; }
.contact-item a, .contact-item span { font-size: 16px; font-weight: 600; }
.contact-item a:hover { color: var(--accent-deep); }
.contact-item small { display: block; font-weight: 400; font-size: 13.5px; color: var(--ink-soft); margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.social {
  width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line);
  display: grid; place-items: center; color: var(--ink-soft); transition: all .18s ease;
}
.social:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: translateY(-2px); }
.social svg { width: 21px; height: 21px; }

@media (max-width: 860px) { .contacts__in { grid-template-columns: 1fr; } }

/* ============================================================
   БЛОК: ПОЛОСА-ПРИЗЫВ (CTA)
   ============================================================ */
.cta-band { background: var(--accent); color: var(--on-accent); text-align: center; }
.cta-band__in { max-width: 720px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(26px, 4vw, 42px); margin-bottom: 16px; }
.cta-band p { font-size: 16.5px; color: rgba(255,255,255,.88); margin-bottom: 30px; }
.cta-band .btn--light:hover { background: var(--surface-2); }

/* ============================================================
   БЛОК: ПОДВАЛ
   ============================================================ */
.site-foot { background: var(--ink); color: rgba(244, 236, 225, .74); padding: clamp(44px, 6vw, 72px) 0 0; font-size: 14.5px; }
.site-foot__in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 48px); }
.site-foot h4 { color: #f4ece1; font-family: var(--serif); font-size: 17px; margin-bottom: 16px; }
.site-foot li { margin-bottom: 10px; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot__brand .brand__name { color: #f4ece1; }
.site-foot__brand p { margin-top: 16px; max-width: 34ch; font-size: 14px; }
.site-foot__bottom {
  margin-top: clamp(32px, 5vw, 56px); padding: 22px 0 28px; border-top: 1px solid rgba(244, 236, 225, .16);
  display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between; font-size: 13px; color: rgba(244,236,225,.55);
}
@media (max-width: 900px) { .site-foot__in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-foot__in { grid-template-columns: 1fr; } }

/* ============================================================
   БЛОК: МОБИЛЬНАЯ НИЖНЯЯ ПАНЕЛЬ
   ============================================================ */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 30px -20px rgba(0,0,0,.5);
}
.mobile-bar__in { display: grid; grid-template-columns: 1fr 1.35fr; gap: 9px; }
.mobile-bar .btn { padding: 13px 14px; font-size: 14.5px; border-radius: var(--radius-sm); }
@media (max-width: 760px) {
  .mobile-bar { display: block; }
  body { padding-bottom: 76px; }
}

/* ---------- ПЛАВАЮЩАЯ КНОПКА ---------- */
.fab {
  position: fixed; right: 22px; bottom: 24px; z-index: 80;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px -10px rgba(37, 211, 102, .7);
  transition: transform .2s ease;
}
.fab:hover { transform: scale(1.07); }
.fab svg { width: 29px; height: 29px; }
@media (max-width: 760px) { .fab { bottom: 88px; right: 14px; width: 52px; height: 52px; } }

/* ============================================================
   АНИМАЦИЯ ПОЯВЛЕНИЯ
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- КНОПКА ВВЕРХ ---------- */
.up {
  position: fixed; left: 22px; bottom: 24px; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink); display: grid; place-items: center;
  cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .2s ease;
  box-shadow: var(--shadow-sm);
}
.up.is-on { opacity: 1; pointer-events: auto; }
.up:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--accent-deep); }
@media (max-width: 760px) { .up { display: none; } }

/* ---------- ПРОЧЕЕ ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff;
  padding: 12px 20px; border-radius: 0 0 10px 0; z-index: 200;
}
.skip:focus { left: 0; }
.center { text-align: center; }
.mt-lg { margin-top: clamp(28px, 4vw, 46px); }


/* theme: auto */
/* ============================================================
   ТЕМА: АВТОСЕРВИС / РЕМОНТ / СТРОЙКА
   ============================================================ */
:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #eef1f5;
  --ink: #161b22;
  --ink-soft: #5d6672;
  --accent: #e2622a;
  --accent-deep: #c04a17;
  --accent-soft: #fde8dd;
  --on-accent: #ffffff;
  --line: #dfe3e9;
  --serif: 'Segoe UI Semibold', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

.ph { background: linear-gradient(140deg, #e7ecf2, #dde4ec 55%, #cfd8e2); }
.ph > svg { opacity: .4; }
