/* Wellness Lab · Солнечногорск — демо-посадочная, 30.11.2026
   Один файл, без внешних шрифтов и CDN. */

:root {
  --ink: #1d1a24;
  --ink-soft: #4b4453;
  --muted: #7b7385;
  --gold: #a8834f;
  --gold-dark: #8d6c3e;
  --cream: #faf7f2;
  --line: #e9e2d8;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(29, 26, 36, .08);
  --max: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  font-size: 17px;
  /* место под липкую панель на телефоне */
  padding-bottom: 76px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}

/* ── кнопки ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}

.btn--primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(168, 131, 79, .3);
}

.btn--primary:hover { background: var(--gold-dark); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn--ghost:hover { border-color: var(--gold); color: var(--gold-dark); }

.btn:active { transform: translateY(1px); }

.btn:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ── шапка ──────────────────────────────── */
.header {
  background: rgba(250, 247, 242, .92);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  font-weight: 700;
  letter-spacing: .02em;
  font-size: 19px;
  text-decoration: none;
  line-height: 1.2;
}

.brand span {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header__phone {
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.header__phone:hover { color: var(--gold-dark); }

.header .btn { min-height: 46px; padding: 0 22px; font-size: 16px; }

/* ── первый экран ───────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(168, 131, 79, .28), transparent 65%),
    radial-gradient(700px 380px at 8% 110%, rgba(168, 131, 79, .16), transparent 60%),
    linear-gradient(168deg, #241f2c 0%, #1d1a24 55%, #2a2433 100%);
  color: #f6f2ec;
}

.hero__in {
  padding: 54px 0 58px;
  max-width: 720px;
}

.hero__kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 14px;
  border: 1px solid rgba(246, 242, 236, .3);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #e6d9c4;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.1;
  letter-spacing: -.01em;
  font-weight: 700;
}

.hero__lead {
  margin: 0 0 10px;
  font-size: clamp(18px, 2.4vw, 21px);
  color: #efe7db;
}

.hero__note {
  margin: 0 0 26px;
  color: #bdb3a7;
  font-size: 16px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero .btn--ghost {
  color: #f6f2ec;
  border-color: rgba(246, 242, 236, .35);
}

.hero .btn--ghost:hover { border-color: #f6f2ec; color: #fff; }

.hero__aside {
  margin-top: 22px;
  font-size: 15px;
  color: #bdb3a7;
}

.hero__aside a { color: #efe7db; }

/* ── секции ─────────────────────────────── */
.section { padding: 58px 0; }
.section--tight { padding: 42px 0; }
.section--white { background: var(--white); }

.section h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.15;
  letter-spacing: -.01em;
}

.section__sub {
  margin: 0 0 30px;
  color: var(--muted);
  max-width: 640px;
}

/* ── доверие ────────────────────────────── */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.fact {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.fact b {
  display: block;
  font-size: 26px;
  line-height: 1.1;
  margin-bottom: 6px;
  color: var(--gold-dark);
}

.fact span { color: var(--ink-soft); font-size: 15px; }

/* ── услуги ─────────────────────────────── */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.service {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.service h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.service p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ── шаги ───────────────────────────────── */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 20px 54px;
  position: relative;
  color: var(--ink-soft);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* ── блок записи ────────────────────────── */
.booking {
  background: linear-gradient(160deg, #241f2c, #1d1a24);
  color: #f6f2ec;
  border-radius: 22px;
  padding: 38px 28px;
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 26px;
  align-items: center;
}

.booking h2 { color: #fff; margin-bottom: 10px; }

.booking p { margin: 0; color: #c9bfb2; }

.booking__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.booking__actions .btn { width: 100%; }

/* ── адрес ──────────────────────────────── */
.place {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.place dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.place dt {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}

.place dd {
  margin: 2px 0 0;
  font-size: 17px;
}

.place a { color: var(--gold-dark); }

.map-link {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, #f3eee6 0 12px, #eae3d8 12px 24px);
  min-height: 220px;
  padding: 20px;
  text-decoration: none;
  display: grid;
  place-content: center start;
  gap: 6px;
  color: var(--ink-soft);
}

.map-link b { color: var(--ink); font-size: 18px; }

/* ── подвал ─────────────────────────────── */
.footer {
  background: #171420;
  color: #a89fae;
  padding: 34px 0 40px;
  font-size: 14px;
}

.footer a { color: #d8cfc2; }

.footer p { margin: 0 0 8px; }

.footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  justify-content: space-between;
}

/* ── липкая панель (только телефон) ─────── */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 247, 242, .96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.mobile-bar .btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 52px;
  padding: 0 10px;
  font-size: 15px;
  white-space: nowrap;
}

/* три кнопки в липкой панели должны влезать на 320–360 px */
@media (max-width: 420px) {
  .mobile-bar { gap: 6px; padding-left: 8px; padding-right: 8px; }
  .mobile-bar .btn { font-size: 13px; padding: 0 6px; }
}

/* ── адаптив ────────────────────────────── */
@media (max-width: 820px) {
  .booking { grid-template-columns: 1fr; padding: 30px 22px; }
  .place { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { padding-bottom: 84px; }
  .header .btn,
  .header__phone { display: none; }
  .hero__in { padding: 38px 0 42px; }
  .section { padding: 44px 0; }
  .mobile-bar { display: flex; }
  .map-link { min-height: 170px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ── v2 (01.12.2026): прайс и телефон на первом экране ── */
.hero__phone {
  color: #f6f2ec;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(246, 242, 236, .45);
  padding-bottom: 2px;
}
.hero__phone:hover { border-color: #f6f2ec; }

.price {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  column-gap: 44px;
}
.price li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.price li span { color: var(--ink-soft); }
.price li b {
  font-weight: 700;
  white-space: nowrap;
  font-size: 18px;
}
.price__note {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 720px) {
  .hero__in { padding: 30px 0 34px; }
  .price li { padding: 12px 0; }
}
