/* ===== Тема «мягкая»: кремовый, пудрово-розовый, шрифт с засечками =====
   Чтобы сменить цвета под другого клиента — правьте только переменные ниже. */
:root {
  --bg: #fbf6f2;
  --bg-tint: #f4e9e3;
  --ink: #2b2024;
  --muted: #7a6a6f;
  --accent: #9c4a5a;        /* кнопки, акценты */
  --accent-soft: #e8c4c0;
  --card: #ffffff;
  --radius: 22px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  padding-bottom: 84px;              /* место под кнопку внизу экрана */
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px var(--accent); }
.btn--ghost { border: 1.5px solid var(--ink); }
.btn--wa   { background: #25d366; color: #0b3d20; }
.btn--tg   { background: #2aabee; color: #fff; }
.btn--call { background: var(--ink); color: #fff; }

/* ---------- Первый экран ---------- */
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px;
}
.logo { font: 600 26px/1 var(--font-display); text-decoration: none; letter-spacing: .3px; }
.logo em { color: var(--accent); }
.topbar__link { font-size: 14px; font-weight: 500; color: var(--muted); }

.hero__photo { margin: 0 12px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.hero__card {
  position: relative;
  margin: -48px 12px 0;
  padding: 28px 22px 24px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -30px rgba(80, 30, 40, .45);
}
.eyebrow {
  margin: 0 0 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--accent);
}
.hero h1 { font: 500 40px/1.05 var(--font-display); }
.hero h1 em { color: var(--accent); }
.hero__lead { margin: 14px 0 22px; color: var(--muted); }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__actions .btn--primary { flex: 1 1 auto; }
.hero__facts {
  list-style: none; margin: 22px 0 0; padding: 18px 0 0;
  border-top: 1px solid var(--bg-tint);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  font-size: 12px; color: var(--muted); text-align: center;
}
.hero__facts strong { display: block; font: 600 22px/1.2 var(--font-display); color: var(--ink); }

/* ---------- Секции ---------- */
.section { padding: 56px 20px; }
.section--tint { background: var(--bg-tint); }
.section__title { font: 500 38px/1.1 var(--font-display); }
.section__lead { margin: 8px 0 24px; color: var(--muted); }

/* Цены: название слева, цена справа, пунктир между */
.price-list { list-style: none; margin: 0; padding: 0; }
.price {
  display: flex; align-items: baseline; gap: 12px;
  padding: 16px 0; border-bottom: 1px dashed var(--accent-soft);
}
.price__name { flex: 1; font-weight: 500; }
.price__name span { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.price__value { font: 600 26px/1 var(--font-display); color: var(--accent); white-space: nowrap; }

/* Галерея: на телефоне — карусель вбок */
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%;
  gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 -20px; padding: 0 20px 8px;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* Отзывы */
.reviews { display: grid; gap: 14px; }
.review {
  position: relative; margin: 0; padding: 24px 22px 20px;
  background: var(--card); border-radius: var(--radius);
  box-shadow: 0 12px 34px -26px rgba(80, 30, 40, .5);
}
.review p { margin: 0 0 12px; font: 500 21px/1.35 var(--font-display); font-style: italic; }
.review footer { font-size: 14px; color: var(--muted); }
.review__tag {
  display: inline-block; margin-bottom: 12px;
  padding: 2px 10px; border-radius: 999px;
  background: var(--bg-tint); color: var(--muted);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px;
}

/* Шаги */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 22px; }
.step { position: relative; padding-left: 62px; counter-increment: step; }
.step::before {
  content: counter(step);
  position: absolute; left: 0; top: -4px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--card); color: var(--accent);
  font: 600 24px/1 var(--font-display);
}
.step h3 { font-size: 17px; font-weight: 700; }
.step p { margin: 4px 0 0; color: var(--muted); }

/* Контакты */
.contact-buttons { display: grid; gap: 10px; }
.info { display: grid; gap: 14px; margin-top: 28px; }
.info__block { padding: 20px 22px; background: var(--bg-tint); border-radius: var(--radius); }
.info__block h3 { font: 600 24px/1.2 var(--font-display); margin-bottom: 6px; }
.info__block p { margin: 0; color: var(--muted); }

/* Подвал */
.footer { padding: 40px 20px 30px; text-align: center; border-top: 1px solid var(--bg-tint); }
.footer .logo { margin: 0 0 6px; }
.footer__small { margin: 0; font-size: 12px; color: var(--muted); }

/* Кнопка «Записаться» всегда внизу экрана на телефоне */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 10;
  display: flex; align-items: center; justify-content: center; min-height: 56px;
  border-radius: 999px; background: var(--accent); color: #fff;
  font-weight: 700; text-decoration: none;
  box-shadow: 0 14px 30px -12px rgba(80, 30, 40, .6);
}

/* ---------- Планшет и компьютер ---------- */
@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .hero {
    max-width: 1180px; margin: 0 auto;
    display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto 1fr; align-items: center;
  }
  .topbar { grid-column: 1 / -1; padding: 24px 24px; }
  .hero__photo { grid-column: 2; grid-row: 2; aspect-ratio: 4 / 5; margin: 0 24px 24px 0; }
  .hero__card { grid-column: 1; grid-row: 2; margin: 0 -60px 0 24px; padding: 44px 40px; z-index: 1; }
  .hero h1 { font-size: 60px; }
  .section { padding: 90px max(24px, calc((100% - 1132px) / 2)); }
  .section__title { font-size: 52px; }
  .price-list { columns: 2; column-gap: 56px; }
  .price { break-inside: avoid; }
  .only-mobile { display: none; }
  .gallery { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; overflow: visible; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .contact-buttons { grid-template-columns: 1fr 1fr 1.4fr; }
  .info { grid-template-columns: 1fr 1fr; }
}

.section__title + .steps, .section__title + .steps-wrap { margin-top: 26px; }
