﻿/* ===== Палитра и базовые настройки ===== */
:root {
  --bg: #f4f1ec;
  --surface: #ffffff;
  --ink: #1e1b18;
  --muted: #7a726a;
  --line: #e2dcd3;
  --accent: #6b5a4c;      /* тёплый коричневый */
  --accent-soft: #e8e0d5;
  --radius: 22px;
  --radius-sm: 14px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.55; font-size: 16px; overflow-x: clip; -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
section { margin-top: 110px; }

.h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.05; font-weight: 600; text-transform: uppercase; letter-spacing: -0.01em; }
.h2 em { font-size: 1.15em; }
.eyebrow { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 18px; }

/* ===== Плейсхолдеры фото (заменить на реальные изображения) ===== */
.ph { position: relative; background: linear-gradient(135deg, #cdbfae 0%, #a8968a 55%, #8c7a6d 100%); overflow: hidden; }
.ph::before {
  content: attr(data-label); position: absolute; top: 14px; right: 16px;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55);
}
.ph.has-photo { background: #d9d0c5; }
.ph.has-photo::before { display: none; }
.ph__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
/* Затемнение фото (--shade задаётся в админке) */
.ph.has-photo:not(.hero__card)::after { content: ""; position: absolute; inset: 0; background: rgba(30,27,24,var(--shade, 0)); pointer-events: none; }
.review__ba span { z-index: 1; }

/* Пока контент не загрузился — страница скрыта, чтобы не мигали пустые блоки */
body { transition: opacity .3s; }
body.loading { opacity: 0; }

/* ===== Кнопки ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: .25s; font-family: inherit; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--accent); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent-soft); }
.btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.15); }
.btn--outline { border-color: var(--line); background: var(--surface); }
.btn--outline:hover { border-color: var(--ink); }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--outline-light { border-color: rgba(255,255,255,.4); color: #fff; margin-top: 26px; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); }
.dikidi { font-size: 10px; font-weight: 700; letter-spacing: .08em; padding: 3px 7px; border-radius: 999px; background: rgba(255,255,255,.16); }

/* ===== Шапка ===== */
.header { position: sticky; top: 0; z-index: 50; padding: max(14px, env(safe-area-inset-top)) 0 14px; pointer-events: none; }
.header__inner { pointer-events: auto; display: flex; align-items: center; gap: 32px; background: rgba(255,255,255,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 999px; padding: 8px 8px 8px 24px; box-shadow: 0 8px 30px rgba(30,27,24,.08); }
.logo img { height: 48px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.nav a { color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.header__info { display: flex; flex-direction: column; font-size: 12px; line-height: 1.3; color: var(--muted); }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bg); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger span { width: 18px; height: 2px; background: var(--ink); transition: .25s; }
.nav__extra { display: none; }

/* ===== Первый экран ===== */
.hero { margin-top: 10px; }
.hero__card { --shade: .15; min-height: 640px; border-radius: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 48px; color: #fff; box-shadow: 0 24px 60px -20px rgba(30,27,24,.35); }
.hero__card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(30,27,24,.55), transparent 60%), rgba(30,27,24,var(--shade));
}
.hero__content, .hero__float { position: relative; z-index: 1; }
.hero__lead { font-size: 15px; opacity: .85; margin-bottom: 18px; }
.hero__title { font-size: clamp(44px, 7vw, 92px); line-height: .95; font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; }
.hero__title em { font-size: 1.12em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__float { background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: 14px; width: 260px; }
.hero__float .ph--small { height: 140px; border-radius: var(--radius-sm); margin-bottom: 16px; }
.hero__float h3 { font-size: 18px; text-transform: uppercase; line-height: 1.15; padding-inline: 4px; }
.hero__float p { font-size: 13px; color: var(--muted); margin: 6px 4px 14px; }
.hero__float .btn { width: 100%; justify-content: space-between; }

/* ===== Спецпредложения ===== */
.pulse { position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ffb38a; flex-shrink: 0; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { to { transform: scale(3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pulse::after, .promo-bar__text.in { animation: none; } }

/* Плашка над шапкой */
.promo-bar { background: var(--ink); color: #fff; font-size: 14px; }
.promo-bar__inner { display: flex; align-items: center; gap: 12px; min-height: 42px; }
.promo-bar__link { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; padding: 8px 0; }
.promo-bar__badge { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; padding: 3px 11px 3px 9px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.promo-bar__text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.promo-bar__text.in { animation: bar-in .45s ease-out; }
@keyframes bar-in { from { opacity: 0; transform: translateY(6px); } }
.promo-bar__more { flex-shrink: 0; font-weight: 600; opacity: .85; }
.promo-bar__link:hover .promo-bar__more { opacity: 1; text-decoration: underline; }
.promo-bar__close { flex-shrink: 0; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: rgba(255,255,255,.6); cursor: pointer; font-size: 13px; }
.promo-bar__close:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Блок спецпредложений */
.promo { margin-top: 40px; }
.promo__card {
  position: relative; overflow: hidden; border-radius: 28px; padding: 44px; color: #fff;
  background: radial-gradient(circle at 88% 0%, rgba(255,179,138,.28), transparent 45%), var(--accent);
}
.promo__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.promo__badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 12px; margin-bottom: 18px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.promo__sub { margin-top: 12px; max-width: 520px; opacity: .8; }
.promo .carousel-btn { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: #fff; }
.promo .carousel-btn:hover:not(:disabled) { background: #fff; border-color: #fff; color: var(--ink); }
.promo__list { grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; margin-top: 32px; }
.offer { background: var(--surface); color: var(--ink); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px; min-height: 250px; }
.offer__badge { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: #fbe6d9; color: #a5512a; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.offer__name { font-size: 19px; line-height: 1.25; margin-top: 6px; }
.offer__name .plus { color: #c4703f; font-weight: 700; }
.offer__time { font-size: 13px; color: var(--muted); }
.offer__bottom { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.offer__price { font-size: 26px; font-weight: 700; white-space: nowrap; }

/* Спецпредложения в меню и в ценах */
.nav__promo { display: inline-flex; align-items: center; gap: 6px; color: #a5512a !important; font-weight: 600; }
.nav__promo::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #e07a45; }
.tag-promo { padding: 3px 9px; border-radius: 999px; background: #fbe6d9; color: #a5512a; font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.price-group--promo { box-shadow: inset 0 0 0 2px #e9b99b; }

/* ===== Миссия ===== */
.mission { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; align-items: start; }
.mission p { color: var(--muted); font-size: 15px; }

/* ===== Почему я ===== */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why__item { background: var(--surface); border-radius: var(--radius); padding: 28px; min-height: 220px; display: flex; flex-direction: column; }
.why__item .num { font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; align-self: flex-start; }
.why__item h3 { font-size: 19px; margin: auto 0 8px; padding-top: 40px; line-height: 1.2; }
.why__item p { color: var(--muted); font-size: 14px; }

/* ===== Услуги ===== */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }
.link { font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 16px; }
.service { border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; transition: transform .3s; }
@media (hover: hover) { .service:hover { transform: translateY(-4px); } }
.service--tall { grid-row: span 2; }
.service--wide { grid-column: span 2; }
.service__title { position: relative; z-index: 1; font-size: 20px; font-weight: 600; text-transform: uppercase; line-height: 1.15; max-width: 80%; }
.service__sub { color: var(--muted); font-size: 14px; margin-top: 8px; }
.service .arrow { position: relative; z-index: 1; align-self: flex-end; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-style: normal; margin-top: auto; }
.service--plain { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.service--plain .arrow { background: var(--ink); color: #fff; }

/* ===== О специалисте ===== */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.about > * { min-width: 0; }
.about__photo { aspect-ratio: 4/5; border-radius: 28px; }
.about__role { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--accent); margin: 6px 0 22px; }
.about__text > p:not(.eyebrow):not(.about__role) { color: var(--muted); margin-bottom: 14px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.stats div { background: var(--surface); border-radius: var(--radius-sm); padding: 20px; }
.stats b { display: block; font-size: 32px; font-weight: 600; line-height: 1.1; }
.stats span { font-size: 13px; color: var(--muted); }

/* ===== Цены ===== */
.prices__list { margin-top: 32px; display: grid; gap: 10px; }
.price-group { background: var(--surface); border-radius: var(--radius); }
.price-group summary {
  display: flex; align-items: center; gap: 12px; padding: 22px 28px; cursor: pointer; list-style: none;
  font-size: 19px; font-weight: 600; text-transform: uppercase; letter-spacing: .01em; user-select: none;
}
.price-group summary::-webkit-details-marker { display: none; }
.price-group summary > span:not(.tag-promo) { min-width: 0; overflow-wrap: break-word; }
.price-group summary .tag-promo { flex-shrink: 0; }
.price-group summary small { font-size: 12px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; letter-spacing: 0; }
.price-group__icon { margin-left: auto; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: var(--bg); position: relative; transition: transform .25s; }
.price-group__icon::before, .price-group__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.price-group__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s; }
.price-group[open] .price-group__icon::after { transform: translate(-50%, -50%) rotate(0); }
.price-group__items { padding: 0 28px 10px; }
.price { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 16px; }
.price span small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.price b { font-weight: 600; white-space: nowrap; }
.note { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ===== Отзывы ===== */
/* ===== Карусели ===== */
.carousel {
  display: grid; grid-auto-flow: column; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 8px; }
.carousel-nav[hidden] { display: none; }
.carousel-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); font-size: 18px; cursor: pointer; transition: .2s; font-family: inherit;
}
.carousel-btn:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.carousel-btn:disabled { opacity: .35; cursor: default; }

.reviews__grid { grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; }
.review { background: var(--surface); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.review p { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.35; }
.review cite { font-style: normal; font-weight: 600; font-size: 14px; color: var(--muted); display: grid; gap: 4px; }
.review__name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--ink); }
.review__src { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #b8893a; background: #f8efe0; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.review__meta { font-weight: 500; font-size: 13px; line-height: 1.4; }
.review__ba { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: -14px -14px 0; }
.review__ba .ph { aspect-ratio: 3/4; border-radius: var(--radius-sm); }
.review__ba .ph::before { display: none; }
.review__ba span { position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-weight: 600; background: rgba(255,255,255,.9); padding: 4px 10px; border-radius: 999px; }

/* ===== Запись ===== */
.booking__card { background: var(--accent); color: #fff; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.booking__text p { opacity: .8; margin-top: 18px; max-width: 380px; }
.form { display: grid; gap: 12px; }
.form input, .form select { width: 100%; padding: 16px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; font: inherit; outline: none; }
.form input::placeholder { color: rgba(255,255,255,.7); }
.form select option { color: var(--ink); }
.form input:focus, .form select:focus { border-color: #fff; }
.form .btn { margin-top: 6px; }
.form__ok { text-align: center; font-weight: 600; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn:disabled { opacity: .7; cursor: default; }

/* ===== Контакты ===== */
.contacts { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; }
.contacts__info { background: var(--surface); border-radius: var(--radius); padding: 36px; }
.contacts dl { margin: 28px 0; display: grid; gap: 4px; }
.contacts dt { font-size: 13px; color: var(--muted); margin-top: 12px; }
.contacts dd { font-size: 18px; font-weight: 500; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.social { padding-left: 8px; gap: 8px; }
.social .icon { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #fff; }
.social .icon svg { width: 16px; height: 16px; }
.contacts__media { position: relative; border-radius: var(--radius); min-height: 420px; overflow: hidden; background: #d9d0c5; }
.contacts__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery { position: absolute; inset: 0; grid-auto-columns: 100%; }
.gallery__slide { height: 100%; }
.gallery__nav { position: absolute; right: 16px; bottom: 16px; z-index: 2; }
.gallery__nav .carousel-btn { border-color: transparent; background: rgba(255,255,255,.92); }
.gallery__dots { position: absolute; left: 20px; bottom: 32px; z-index: 2; display: flex; gap: 6px; }
.gallery__dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.55); cursor: pointer; transition: .25s; }
.gallery__dots button.active { width: 22px; background: #fff; }

/* ===== Подвал ===== */
.footer { margin-top: 110px; padding: 40px 0; border-top: 1px solid var(--line); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.footer__logo { height: 36px; mix-blend-mode: multiply; }

/* ===================================================================
   Адаптив
   1024 — планшет альбомный / небольшой ноутбук
   900  — меню прячется в бургер
   768  — планшет книжный и телефоны: карусели, одна колонка
   480  — телефоны
   360  — маленькие телефоны
   =================================================================== */

@media (max-width: 1024px) {
  section, .footer { margin-top: 88px; }
  .header__info { display: none; }
  .header__inner { gap: 20px; }
  .nav { gap: 20px; font-size: 14px; }

  .hero__card { padding: 36px; min-height: 560px; }
  .hero__float { width: 230px; }
  .hero__float .ph--small { height: 120px; }

  .mission { grid-template-columns: 1fr 1fr; gap: 24px 32px; }
  .mission .h2 { grid-column: 1 / -1; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .why__item { min-height: 180px; }
  .promo__card { padding: 36px; }
  .promo__list { grid-auto-columns: calc((100% - 16px) / 2); }
  .services__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 210px; }
  .about { gap: 36px; }
  .reviews__grid { grid-auto-columns: calc((100% - 16px) / 2); }
  .booking__card { padding: 40px; gap: 32px; }
}

@media (max-width: 900px) {
  /* Мобильное меню */
  .header__inner { gap: 12px; padding-left: 18px; }
  .header__btn { margin-left: auto; padding: 12px 18px; font-size: 14px; white-space: nowrap; }
  .burger { display: flex; flex-shrink: 0; }
  .nav {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; /* относительно плашки шапки */
    flex-direction: column; gap: 0; margin: 0; padding: 8px 22px 18px;
    background: var(--surface); border-radius: var(--radius); box-shadow: 0 24px 48px rgba(30,27,24,.14);
    max-height: calc(100svh - 100px); overflow-y: auto;
  }
  .nav > a { padding: 13px 0; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav__extra { display: grid; gap: 2px; padding-top: 14px; font-size: 14px; color: var(--muted); }
  .nav__extra a { font-size: 17px; font-weight: 600; color: var(--ink); }
  .header.open .nav { display: flex; animation: drop .2s ease-out; }
  .header.open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .header.open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .about { grid-template-columns: 1fr; }
  .about__photo { aspect-ratio: auto; width: 100%; height: min(75vw, 560px); background-position: center 25%; }
  .booking__card, .contacts { grid-template-columns: 1fr; }
  .booking__text p { max-width: none; }
}

@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

@media (max-width: 768px) {
  section, .footer { margin-top: 64px; }
  .h2 { font-size: clamp(28px, 7.5vw, 40px); }
  .eyebrow { margin-bottom: 14px; }
  .section-head { margin-bottom: 20px; }

  /* Первый экран: высота по экрану телефона, текст внизу */
  .hero { margin-top: 2px; }
  .hero__card {
    min-height: clamp(480px, calc(100svh - 100px), 680px);
    padding: 24px; border-radius: 24px;
    flex-direction: column; align-items: stretch; justify-content: flex-end;
  }
  .hero__card::after { background: linear-gradient(to top, rgba(30,27,24,.78) 0%, rgba(30,27,24,.2) 55%, transparent 75%), rgba(30,27,24,var(--shade)); }
  .hero__float { display: none; }

  /* С фото: снимок сверху, текст ниже на тёмном фоне — лицо не перекрывается */
  .hero__card.has-photo {
    --ph-h: clamp(340px, 58svh, 520px);
    min-height: 0; padding: calc(var(--ph-h) - 72px) 22px 24px;
    background: var(--ink);
  }
  .hero__card.has-photo .ph__img { inset: 0 0 auto 0; height: var(--ph-h); }
  .hero__card.has-photo::after {
    background:
      linear-gradient(to bottom, transparent calc(var(--ph-h) - 200px), var(--ink) var(--ph-h)),
      rgba(30,27,24,var(--shade));
  }

  .mission { grid-template-columns: 1fr; gap: 16px; }

  .promo { margin-top: 24px; }
  .promo__card { padding: 28px 20px 22px; border-radius: 24px; }
  .promo__head { align-items: flex-end; }
  .promo__badge { margin-bottom: 14px; }
  .promo__sub { font-size: 15px; }
  .promo__list { grid-auto-columns: 86%; gap: 10px; margin-top: 22px; }
  .offer { min-height: 220px; padding: 20px; }
  .offer__name { font-size: 17px; }
  .offer__price { font-size: 22px; }

  /* «Почему я» и отзывы — горизонтальные карусели со свайпом */
  .why__grid, .reviews__grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(80%, 320px);
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: -16px; padding: 2px 16px 8px; scroll-padding-inline: 16px; scrollbar-width: none;
  }
  .why__grid::-webkit-scrollbar, .reviews__grid::-webkit-scrollbar { display: none; }
  .why__grid > *, .reviews__grid > * { scroll-snap-align: start; }
  .reviews__grid { grid-auto-columns: min(86%, 360px); }
  .carousel-btn { width: 40px; height: 40px; font-size: 16px; }
  .why__item { min-height: 200px; padding: 22px; }
  .why__item h3 { font-size: 18px; padding-top: 28px; }

  /* Услуги: 2 колонки, крупные карточки на всю ширину */
  .services__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 10px; }
  .service { padding: 16px; border-radius: 18px; }
  .service--tall, .service--wide, .service--plain { grid-row: auto; grid-column: span 2; }
  .service.ph::before { display: none; }
  .service__title { font-size: clamp(13px, 3.8vw, 17px); max-width: 100%; overflow-wrap: break-word; hyphens: auto; }
  .service .arrow { width: 36px; height: 36px; }
  .service--plain { min-height: 0; }

  .stats div { padding: 16px 14px; }
  .stats b { font-size: 26px; }

  .prices__list { margin-top: 20px; gap: 8px; }
  .price-group summary { padding: 18px; font-size: 15px; gap: 8px; }
  .price-group__icon { width: 32px; height: 32px; }
  .price-group__items { padding: 0 18px 6px; }
  .price { padding: 14px 0; font-size: 15px; gap: 14px; }

  .review { padding: 22px; gap: 18px; }
  .review p { font-size: 19px; }
  .review__ba { margin: -8px -8px 0; }

  .booking__card { padding: 28px 20px; gap: 24px; border-radius: 24px; }
  .btn--outline-light { width: 100%; margin-top: 20px; text-align: center; }

  .contacts__info { padding: 24px 20px; }
  .contacts dl { margin: 18px 0 22px; }
  .contacts dd { font-size: 16px; }
  .contacts__media { min-height: 0; aspect-ratio: 5 / 4; }
  .gallery__dots { bottom: 28px; }

  .footer { padding: 32px 0 max(32px, env(safe-area-inset-bottom)); }
  .footer__inner { flex-direction: column; text-align: center; gap: 12px; }
}

/* Услуги в одну колонку, чтобы длинные названия не рвались посередине слова */
@media (max-width: 560px) {
  .services__grid { grid-template-columns: 1fr; grid-auto-rows: 150px; }
  .service--tall, .service--wide, .service--plain { grid-column: auto; }
  .service__title { font-size: 18px; max-width: 75%; }
}

@media (max-width: 480px) {
  .header { padding-bottom: 10px; padding-top: max(10px, env(safe-area-inset-top)); }
  .header__inner { padding: 6px 6px 6px 14px; gap: 8px; }
  .logo img { height: 36px; }
  .header__btn { padding: 11px 14px; font-size: 13px; }
  .header__btn .dikidi { display: none; }
  .burger { width: 40px; height: 40px; }

  .promo-bar { font-size: 13px; }
  .promo-bar__more { display: none; }
  .promo-bar__link { gap: 10px; }
  .promo__head .carousel-nav { display: none; } /* на телефоне листают пальцем */

  .hero__lead { font-size: 14px; margin-bottom: 12px; }
  .hero__title { font-size: clamp(36px, 11.5vw, 52px); }
  .hero__actions { flex-direction: column; margin-top: 24px; gap: 10px; }
  .hero__actions .btn { width: 100%; }

  .about__photo { height: min(115vw, 480px); }
  .about__role { font-size: 22px; margin-bottom: 16px; }
  .stats div { padding: 14px 10px; }
  .stats b { font-size: 22px; }
  .stats span { font-size: 12px; }
}

@media (max-width: 360px) {
  .logo img { height: 30px; }
  .header__btn { padding: 10px 12px; font-size: 12px; }
  .stats b { font-size: 19px; }
}

