/* =========================================================
   LUMMEH SPA POINT — styles
   Дизайн-токены → reset → утилиты → секции
   ========================================================= */

:root {
  /* Palette */
  --bg:            #110d0a;
  --bg-soft:       #181311;
  --bg-card:       #1c1612;
  --bg-card-2:     #221a15;
  --line:          #2a221c;
  --line-strong:   #3b2f25;

  --text:          #f4ede5;
  --text-muted:    #a89c8e;
  --text-dim:      #7a6f63;

  --accent:        #d4a682;   /* primary tan */
  --accent-soft:   #e0b797;
  --accent-strong: #c08e62;
  --accent-ink:    #1a120c;   /* text on accent */

  /* Typography */
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1280px;
  --gutter: 24px;
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 22px;

  --header-h: 78px;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1,h2,h3,h4,h5 { margin: 0; font-weight: 700; line-height: 1.15; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  white-space: nowrap;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn--primary:hover { background: var(--accent-soft); }
.btn--outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn--outline:hover { background: rgba(212,166,130,.1); }
.btn--sm  { height: 38px; padding: 0 18px; font-size: 14px; border-radius: 8px; }
.btn--lg  { height: 54px; padding: 0 36px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Section titles ---------- */
.section-title {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  text-align: center;
  letter-spacing: -.01em;
  color: var(--text);
}
.section-title--light { color: #fff; }
.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 640px;
  margin: 12px auto 0;
  font-size: 16px;
}
.section-sub--light { color: rgba(255,255,255,.78); }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 15, 12, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}
.header__logo img { height: 56px; width: 56px; object-fit: contain; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: center;
}
.nav__link {
  color: var(--text);
  font-size: 15px;
  font-weight: 400;
  padding: 6px 0;
  position: relative;
  transition: color .2s;
}
.nav__link:hover { color: var(--accent); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent);
}

.header__contacts {
  text-align: right;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-muted);
}
.header__address { color: var(--text); font-size: 13px; margin-bottom: 2px; }
.header__phone   { display: block; color: var(--text); font-weight: 600; font-size: 16px; }
.header__phone:hover { color: var(--accent); }
.header__hours   { font-size: 12px; color: var(--text-muted); }

.header__actions { display: flex; gap: 10px; }

.header__burger {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  padding: 12px 10px;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}
.header__burger span {
  display: block;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.header__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.header__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.header__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0c0805;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(1200px 700px at 80% 20%, rgba(212,166,130,.08) 0%, transparent 60%),
    radial-gradient(900px 600px at 10% 90%, rgba(212,166,130,.04) 0%, transparent 60%),
    #0c0805;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 80px 0;
}
.hero__content {
  max-width: 620px;
}
.hero__frame {
  position: relative;
  background: transparent;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6));
}
.hero__frame-inner {
  /* nothing — keep image natural */
}
.hero__photo {
  display: block;
  width: 100%;
  height: auto;
}

/* Address under arch — visible only on mobile */
.hero__address {
  display: none;
  text-align: center;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: .04em;
  margin: 16px 0 0;
  font-weight: 500;
}
.hero__brandmark {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 40px;
}
.hero__lockup-logo {
  position: relative;
  display: inline-block;
  height: 86px;
  width: 86px;
  flex-shrink: 0;
}
.hero__lockup-logo img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: contain;
  animation: logo-breathe 6s ease-in-out infinite;
  filter: drop-shadow(0 0 0 rgba(212, 166, 130, 0));
}
@keyframes logo-breathe {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(212, 166, 130, .15));
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(212, 166, 130, .45));
  }
}
/* Old shine streak — hidden, kept for backward compatibility */
.hero__lockup-logo__shine { display: none; }

@media (prefers-reduced-motion: reduce) {
  .hero__lockup-logo img { animation: none; }
}
.hero__lockup-divider {
  width: 1px;
  height: 64px;
  background: rgba(255,255,255,.35);
}
.hero__lockup-tag {
  color: #fff;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: .04em;
}
.hero__title {
  color: #fff;
  font-size: clamp(40px, 5.4vw, 76px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.015em;
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero__lead {
  color: rgba(255,255,255,.82);
  font-size: clamp(15px, 1.3vw, 18px);
  max-width: 520px;
  margin-bottom: 38px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   WHY US (карточки c фоном)
   ========================================================= */
.why { padding: 90px 0 100px; }
.why__grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.why-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--line);
  background: var(--bg-card) center/cover no-repeat;
}
.why-card--img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg) center/cover no-repeat;
  background-image: var(--bg);
  filter: brightness(.7);
  z-index: 0;
}
.why-card--img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,10,8,.15) 0%, rgba(15,10,8,.55) 55%, rgba(15,10,8,.92) 100%);
  z-index: 1;
}
.why-card__body {
  position: relative;
  z-index: 2;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 280px;
}
.why-card__title {
  color: #fff;
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.25;
  text-wrap: balance;
}
.why-card__text {
  color: rgba(255,255,255,.75);
  font-size: 14px;
  line-height: 1.55;
}
.why-card--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-color: transparent;
}
.why-card--logo img { width: 50%; max-width: 200px; aspect-ratio: 1/1; object-fit: contain; opacity: .92; }

/* =========================================================
   ABOUT (фон-лес + карточки + статистика)
   ========================================================= */
.about {
  position: relative;
  padding: 100px 0 110px;
  overflow: hidden;
}
.about__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17,13,10,.7) 0%, rgba(17,13,10,.55) 60%, rgba(17,13,10,.92) 100%),
    url('https://images.unsplash.com/photo-1448375240586-882707db888b?w=1900&q=80') center/cover no-repeat;
  z-index: 0;
}
.about > .container { position: relative; z-index: 1; }
.about__intro {
  max-width: 920px;
  margin: 26px auto 50px;
  text-align: center;
  color: rgba(255,255,255,.85);
  font-size: 16px;
  line-height: 1.65;
  display: grid;
  gap: 6px;
}
.about__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 56px;
}
.about-card {
  background: rgba(28, 22, 18, .55);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 26px 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.about-card__title {
  color: var(--accent);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}
.about-card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  color: rgba(255,255,255,.88);
  line-height: 1.5;
  margin-bottom: 9px;
}
.about-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat {
  background: rgba(28, 22, 18, .8);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.stat__num {
  color: var(--accent);
  font-size: clamp(40px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
}
.stat__label {
  margin-top: 10px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* =========================================================
   SERVICES
   ========================================================= */
.services { padding: 100px 0; background: var(--bg-soft); }
.services__grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-card);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.service-card__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,10,8,.08) 0%, rgba(15,10,8,.55) 50%, rgba(15,10,8,.95) 100%);
}
.service-card__duration {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 2;
  color: rgba(255,255,255,.85);
  font-size: 13px;
  letter-spacing: .04em;
}
.service-card__body {
  position: relative;
  z-index: 2;
  padding: 22px 22px 22px;
  margin-top: auto;
}
.service-card__title {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.2;
}
.service-card__text {
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 18px;
}
.service-card__divider {
  height: 1px;
  background: rgba(255,255,255,.12);
  margin-bottom: 16px;
}
.service-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.service-card__price {
  color: var(--accent);
  font-size: 20px;
  font-weight: 600;
}
.service-card__more {
  color: var(--accent);
  font-size: 14px;
  background: none;
  border: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card__more:hover { color: var(--accent-soft); }

.services__more {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

/* =========================================================
   PROMOTIONS
   ========================================================= */
.promo { padding: 100px 0; }
.promo__grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.promo__heading {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 22px;
}
.promo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 260px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  background: var(--bg);
}
.promo-card::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--bg);
  background-size: cover; background-position: center;
}
.promo-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,10,8,.1) 0%, rgba(15,10,8,.55) 45%, rgba(15,10,8,.95) 100%);
}
.promo-card__body {
  position: relative;
  z-index: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 260px;
}
.promo-card__title {
  color: var(--accent);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}
.promo-card__text {
  color: rgba(255,255,255,.82);
  font-size: 14.5px;
  margin-bottom: 16px;
}
.promo-card__date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
}

.loyalty {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 32px;
}
.loyalty__title {
  color: var(--accent);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 14px;
}
.loyalty__lead {
  color: rgba(255,255,255,.85);
  margin-bottom: 22px;
  font-size: 15px;
}
.loyalty__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
}
.loyalty__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(212, 166, 130, .12);
  color: var(--accent);
  display: grid; place-items: center;
}
.loyalty__name {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.loyalty__text {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}
.loyalty__footer {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.loyalty__note { color: rgba(255,255,255,.78); margin-bottom: 14px; font-size: 14px; }

/* =========================================================
   REFERRAL block (Task 1)
   ========================================================= */
.referral {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 28px 26px;
  margin-bottom: 22px;
  overflow: hidden;
}
.referral::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle at center, rgba(212, 166, 130, .14), transparent 70%);
  pointer-events: none;
}
.referral__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(212, 166, 130, .12);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.referral__title {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.2;
  text-wrap: balance;
}
.referral__text {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 20px;
}
.referral__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.referral__input { height: 48px; }
.referral__submit { white-space: nowrap; }

.referral__result {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.referral__result-label {
  display: block;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  margin-bottom: 10px;
}
.referral__copy-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: stretch;
}
.referral__link {
  height: 42px;
  font-size: 13.5px;
  color: var(--accent);
  background: rgba(255, 255, 255, .04);
  font-family: 'Manrope', sans-serif;
}
.referral__copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  transition: background .2s, color .2s, border-color .2s;
}
.referral__copy.is-copied {
  background: rgba(120, 200, 130, .12);
  border-color: rgba(120, 200, 130, .55);
  color: #b8e6c0;
}
.referral__hint {
  color: var(--text-muted);
  font-size: 12.5px;
  margin-top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

@media (max-width: 520px) {
  .referral { padding: 24px 20px; }
  .referral__form { grid-template-columns: 1fr; }
  .referral__copy-row { grid-template-columns: 1fr; }
  .referral__copy { width: 100%; justify-content: center; }
}

/* =========================================================
   REFERRAL toast (shown on Yclients click)
   ========================================================= */
.ref-toast {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 10000;
  max-width: 380px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: rgba(20, 15, 12, .96);
  border: 1px solid rgba(212, 166, 130, .4);
  border-radius: 12px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .6);
  color: #f4ede5;
  font-family: 'Manrope', sans-serif;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s ease, transform .3s ease;
}
.ref-toast.is-shown {
  opacity: 1;
  transform: translateY(0);
}
.ref-toast__icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(212, 166, 130, .15);
  color: var(--accent);
  display: grid; place-items: center;
}
.ref-toast__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ref-toast__body strong {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.ref-toast__body span {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.4;
}
.ref-toast__body code {
  margin-top: 6px;
  display: inline-block;
  padding: 6px 10px;
  background: rgba(212, 166, 130, .12);
  border: 1px solid rgba(212, 166, 130, .3);
  border-radius: 6px;
  color: var(--accent);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 500;
  word-break: break-all;
}
@media (max-width: 520px) {
  .ref-toast {
    left: 10px;
    right: 10px;
    max-width: none;
  }
}

/* =========================================================
   Persistent floating ref BADGE (always visible when cookie set)
   ========================================================= */
.ref-badge {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 10001;
  max-width: 340px;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px 14px 14px;
  background: rgba(20, 15, 12, .98);
  border: 1px solid rgba(212, 166, 130, .5);
  border-radius: 12px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .7),
              0 0 0 1px rgba(0, 0, 0, .25);
  color: #f4ede5;
  font-family: 'Manrope', sans-serif;
  opacity: 0;
  transform: translateY(10px) scale(.97);
  transition: opacity .35s ease, transform .35s ease;
}
.ref-badge.is-shown {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.ref-badge__icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(212, 166, 130, .15);
  color: var(--accent);
  display: grid; place-items: center;
}
.ref-badge__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ref-badge__body strong {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.ref-badge__body span {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.3;
}
.ref-badge__code {
  margin-top: 4px;
  padding: 4px 8px;
  background: rgba(212, 166, 130, .12);
  border: 1px solid rgba(212, 166, 130, .3);
  border-radius: 5px;
  color: var(--accent);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 100%;
}
.ref-badge__copy {
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: var(--accent);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.ref-badge__copy:hover {
  background: rgba(212, 166, 130, .15);
  border-color: var(--accent);
}
.ref-badge.is-copied .ref-badge__copy {
  background: rgba(120, 200, 130, .15);
  border-color: rgba(120, 200, 130, .5);
  color: #b8e6c0;
}
.ref-badge__close {
  position: absolute;
  top: 2px; right: 2px;
  width: 34px; height: 34px;
  font-size: 20px;
  line-height: 1;
  background: transparent;
  border: 0;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  border-radius: 8px;
  z-index: 3;
  display: grid; place-items: center;
  -webkit-tap-highlight-color: transparent;
  transition: color .2s, background .2s;
}
.ref-badge__close:hover { color: #fff; background: rgba(255,255,255,.08); }

.ref-toast__close {
  position: absolute;
  top: 2px; right: 2px;
  width: 34px; height: 34px;
  font-size: 20px;
  line-height: 1;
  background: transparent;
  border: 0;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  border-radius: 8px;
  z-index: 3;
  display: grid; place-items: center;
  -webkit-tap-highlight-color: transparent;
  transition: color .2s, background .2s;
}
.ref-toast__close:hover { color: #fff; background: rgba(255,255,255,.08); }
.ref-toast { padding-right: 30px; }
.ref-toast--persistent {
  border-color: rgba(212, 166, 130, .6);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .7),
              0 0 0 4px rgba(212, 166, 130, .12);
  animation: ref-pulse 2.5s ease-in-out infinite;
}
@keyframes ref-pulse {
  0%, 100% { box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .7),
                          0 0 0 4px rgba(212, 166, 130, .12); }
  50%      { box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .7),
                          0 0 0 8px rgba(212, 166, 130, .06); }
}

@media (max-width: 520px) {
  .ref-badge {
    right: 10px;
    left: 10px;
    bottom: 10px;
    max-width: none;
    padding-right: 40px;
  }
  .wiz__close { width: 44px; height: 44px; font-size: 28px; top: 8px; right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .ref-toast--persistent { animation: none; }
}

/* =========================================================
   PRODUCTS
   ========================================================= */
.products { padding: 100px 0; background: var(--bg-soft); }
.tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 40px 0 40px;
  flex-wrap: wrap;
}
.tab {
  height: 46px;
  padding: 0 26px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 15px;
  transition: background .2s, color .2s, border-color .2s;
}
.tab:hover { color: var(--accent); border-color: var(--accent); }
.tab.is-active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ---------- Slider (used for products) ---------- */
.slider {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 14px;
}
.slider__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}
.slider__viewport::-webkit-scrollbar { display: none; }
.slider__track {
  /* Override grid → flex for horizontal layout */
  display: flex !important;
  grid-template-columns: none !important;
  gap: 22px;
}
.slider__track > * {
  flex: 0 0 calc((100% - 44px) / 3); /* 3 cards visible at once */
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-width: 0;
}
.slider__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  color: var(--accent);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, opacity .2s;
}
.slider__btn:hover {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.slider__btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}
.slider__btn:disabled:hover {
  background: var(--bg-card);
  color: var(--accent);
  border-color: var(--line-strong);
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.slider__dot.is-active {
  background: var(--accent);
  transform: scale(1.3);
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-card__media {
  aspect-ratio: 16/11;
  background: var(--bg-card-2) center/cover no-repeat;
}
.product-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-card__title { color: #fff; font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.product-card__text { color: var(--text-muted); font-size: 14px; margin-bottom: 18px; flex: 1; }
.product-card__divider { height: 1px; background: var(--line); margin-bottom: 16px; }
.product-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-card__price { color: var(--accent); font-weight: 600; font-size: 16px; }

/* =========================================================
   LEGAL
   ========================================================= */
.legal { padding: 100px 0; }
.legal__grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
}
.legal-card__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(212, 166, 130, .12);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.legal-card__title {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.legal-card__text {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 22px;
  flex: 1;
}
.legal-card__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

/* =========================================================
   BOOKING
   ========================================================= */
.booking {
  position: relative;
  padding: 100px 0 110px;
  overflow: hidden;
}
.booking__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17,13,10,.88) 0%, rgba(17,13,10,.92) 100%),
    url('images/why-interior.jpg') center/cover no-repeat;
  z-index: 0;
}
.booking > .container { position: relative; z-index: 1; }
.booking__grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
}
.booking-form {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.booking-form__title { color: #fff; font-size: 22px; margin-bottom: 22px; }

.field { margin-bottom: 16px; }
.field__label-opt { color: var(--text-muted); font-weight: 400; font-size: .92em; }
.field__label {
  display: block;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  margin-bottom: 8px;
}
.field__input {
  width: 100%;
  height: 48px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 0 16px;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color .2s, background .2s;
}
.field__input::placeholder { color: var(--text-dim); }
.field__input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,.06);
}
.field__input--select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a89c8e' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  /* Make dropdown options readable: white background, dark text */
  color-scheme: light;
}
.field__input--select option {
  background: #ffffff;
  color: #1a120c;
  padding: 8px;
}
.field__input--select option:checked,
.field__input--select option:hover {
  background: #f4ede5;
  color: #1a120c;
}
.field__input--textarea { height: auto; padding: 12px 16px; resize: vertical; min-height: 84px; }

/* datetime-local: brighter native picker icon on dark theme */
input[type="datetime-local"].field__input,
input[type="date"].field__input,
input[type="time"].field__input {
  color-scheme: dark;
}
input[type="datetime-local"].field__input::-webkit-calendar-picker-indicator,
input[type="date"].field__input::-webkit-calendar-picker-indicator,
input[type="time"].field__input::-webkit-calendar-picker-indicator {
  /* tint default glyph to accent color */
  filter:
    brightness(0) saturate(100%)
    invert(74%) sepia(18%) saturate(530%) hue-rotate(348deg) brightness(95%) contrast(88%);
  opacity: 1;
  cursor: pointer;
  padding: 4px;
  margin-right: -4px;
  transition: filter .2s, transform .15s;
}
input[type="datetime-local"].field__input::-webkit-calendar-picker-indicator:hover,
input[type="date"].field__input::-webkit-calendar-picker-indicator:hover,
input[type="time"].field__input::-webkit-calendar-picker-indicator:hover {
  filter:
    brightness(0) saturate(100%)
    invert(82%) sepia(20%) saturate(700%) hue-rotate(348deg) brightness(105%) contrast(95%);
  transform: scale(1.1);
}

.field-collapse {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 16px;
}
.field-collapse summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 16px;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  position: relative;
}
.field-collapse summary::-webkit-details-marker { display: none; }
.field-collapse summary::after {
  content: "›";
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%) rotate(90deg);
  color: var(--text-muted);
  transition: transform .2s;
}
.field-collapse[open] summary::after { transform: translateY(-50%) rotate(-90deg); }
.field-collapse__body { padding: 0 16px 14px; display: grid; gap: 10px; }
.field-collapse__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: rgba(255,255,255,.78);
}
.badge {
  display: inline-grid; place-items: center;
  min-width: 26px; height: 22px;
  padding: 0 8px;
  background: rgba(212,166,130,.18);
  border-radius: 99px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}

.booking-form__legal {
  color: var(--text-muted);
  font-size: 12.5px;
  margin: 18px 0 18px;
  line-height: 1.55;
}
.booking-form__legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.booking-form .btn + .btn { margin-top: 10px; }
.booking-form__success {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(150,200,150,.4);
  background: rgba(80,140,80,.15);
  color: #d8efd8;
  font-size: 14px;
}

.booking-info { display: flex; flex-direction: column; gap: 16px; }
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
}
.info-card--row {
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.info-card__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(212, 166, 130, .12);
  color: var(--accent);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.info-card__heading {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.info-card p { color: rgba(255,255,255,.85); font-size: 14.5px; }
.info-card p a { color: inherit; }
.info-card p a:hover { color: var(--accent); }
.info-card__muted { color: var(--text-muted) !important; font-size: 13.5px !important; margin-top: 2px; }

.map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  min-height: 240px;
  display: flex;
}
.map iframe { width: 100%; min-height: 240px; flex: 1; border: 0; display: block; }
.map__open {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(20,15,12,.92);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--accent);
  font-size: 13px;
}
.map__open:hover { color: var(--accent-soft); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: #0a0706; border-top: 1px solid var(--line); padding-top: 70px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__logo { height: 70px; width: 70px; object-fit: contain; margin-bottom: 18px; }
.footer__tag { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.footer__heading {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 18px;
}
.footer__list li {
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 14px;
}
.footer__list a:hover { color: var(--accent); }
.footer__socials-label {
  color: #fff;
  font-size: 14px;
  margin: 22px 0 12px;
  font-weight: 500;
}
.footer__socials { display: flex; gap: 10px; }
.footer__socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(212, 166, 130, .12);
  color: var(--accent);
  display: grid; place-items: center;
  transition: background .2s;
}
.footer__socials a:hover { background: rgba(212, 166, 130, .25); }

.footer__bottom {
  margin-top: 60px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--text-muted);
  font-size: 13px;
  flex-wrap: wrap;
}
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--accent); }

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* ---- Tablet / small laptop (≤ 1100px) ---- */
@media (max-width: 1100px) {
  /* Disable backdrop-filter on mobile — it creates a containing block
     that breaks position:fixed on the nav drawer */
  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(20, 15, 12, .98);
  }
  .header__inner { grid-template-columns: auto 1fr auto; }
  .nav { display: none; }
  .header__contacts { display: none; }
  .why__grid,
  .services__grid,
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .slider__track > * { flex-basis: calc((100% - 22px) / 2); }
  .legal__grid { grid-template-columns: repeat(3, 1fr); }
  .about__cards { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: repeat(2, 1fr); }
  .promo__grid  { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }

  /* Mobile nav slide-down */
  .nav.is-open {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(17, 13, 10, .98);
    padding: 8px 18px 24px;
    z-index: 60;
    overflow-y: auto;
  }
  .nav.is-open .nav__link {
    display: block;
    padding: 18px 8px;
    font-size: 17px;
    color: var(--text);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__link:last-child { border-bottom: 0; }
}

/* ---- Mid tablet (≤ 900px) ---- */
@media (max-width: 900px) {
  .legal__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Phones (≤ 720px) ---- */
@media (max-width: 720px) {
  :root {
    --header-h: 60px;
    --gutter: 18px;
  }

  /* Header: logo centered, burger right */
  .header__inner {
    grid-template-columns: 44px 1fr 44px;
    gap: 12px;
    min-height: var(--header-h);
    padding: 8px 0;
  }
  .header__logo {
    grid-column: 2;
    justify-self: center;
    display: inline-flex;
    align-items: center;
    height: 44px;
  }
  .header__logo img {
    height: 44px !important;
    width: auto !important;
    max-height: 44px;
    display: block;
  }
  .header__actions { display: none; }
  .header__burger {
    display: flex;
    grid-column: 3;
    justify-self: end;
  }

  .section-title { font-size: clamp(24px, 5.5vw, 32px); }
  .section-sub   { font-size: 14.5px; padding: 0 6px; }

  /* Hero: photo on top in soft arch, then text + buttons */
  .hero { min-height: 0; }
  .hero__inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 32px 0 60px;
    text-align: center;
  }
  .hero__frame {
    order: -1;
    max-width: 360px;
    width: 100%;
    margin: 0 auto;
  }
  .hero__address {
    display: block;
  }
  /* No extra mask/outline for the prebuilt PNG */

  /* Hero content */
  .hero__content { max-width: 100%; margin: 0 auto; }
  .hero__brandmark {
    justify-content: center;
    gap: 14px;
    margin-bottom: 22px;
  }
  .hero__lockup-logo { width: 56px; height: 56px; }
  .hero__lockup-divider { height: 44px; }
  .hero__lockup-tag { font-size: 15px; }
  .hero__title { margin-bottom: 18px; font-size: clamp(30px, 8vw, 40px); }
  .hero__lead { font-size: 15px; margin-bottom: 28px; }

  .hero__actions {
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: stretch;
  }
  .hero__actions .btn { width: 100%; }
  /* "Купить сертификат" → outline like in original */
  .hero__actions .btn--outline {
    border-color: var(--accent);
    color: var(--accent);
  }

  .why { padding: 64px 0; }
  .about { padding: 70px 0; }
  .services, .promo, .products, .legal, .booking { padding: 64px 0; }

  .why__grid,
  .services__grid,
  .products__grid,
  .legal__grid { grid-template-columns: 1fr; gap: 16px; }
  .slider__track > * { flex-basis: 100%; }
  .slider {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .slider__btn { display: none; }

  .why-card,
  .why-card__body { min-height: 240px; }

  .about__cards { gap: 16px; }
  .about-card { padding: 22px 20px; }

  .stat { padding: 22px 16px; }
  .stat__num { font-size: 40px; }
  .stat__label { font-size: 12px; letter-spacing: .06em; }

  .booking__grid { grid-template-columns: 1fr; gap: 22px; }
  .booking-form { padding: 24px 20px; border-radius: 16px; }
  .booking-form__title { font-size: 20px; }
  .info-card { padding: 20px; }

  .promo__heading { font-size: 20px; }
  .loyalty { padding: 26px 22px; }
  .loyalty__title { font-size: 22px; }

  .legal-card { padding: 24px 22px; }

  .footer { padding-top: 56px; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 40px;
    padding: 22px 0;
  }
  .footer__logo { height: 56px; width: 56px; object-fit: contain; }
}

/* ---- Small phones (≤ 480px) ---- */
@media (max-width: 480px) {
  :root { --gutter: 16px; }

  .header__inner { gap: 8px; }
  .header__logo,
  .header__logo img { height: 40px !important; width: 40px !important; max-height: 40px; max-width: 40px; object-fit: contain; }
  .header__burger { width: 40px; height: 40px; padding: 11px 9px; }

  .hero__inner { padding: 24px 0 50px; gap: 26px; }
  .hero__title { font-size: clamp(28px, 8.5vw, 36px); }
  .hero__lead { font-size: 14.5px; }
  .hero__brandmark { gap: 12px; margin-bottom: 20px; }
  .hero__lockup-logo { width: 48px; height: 48px; }
  .hero__lockup-divider { height: 38px; }
  .hero__lockup-tag { font-size: 14px; line-height: 1.1; }
  .hero__frame { max-width: 320px; }
  .hero__lockup-tag { font-size: 14px; line-height: 1.1; }

  .why { padding: 52px 0; }
  .about, .services, .promo, .products, .legal, .booking { padding: 52px 0; }

  .section-title { font-size: 26px; }

  .why-card,
  .why-card__body { min-height: 220px; }
  .why-card__title { font-size: 17px; }
  .why-card__body { padding: 20px; }

  .about__intro { font-size: 15px; margin: 22px auto 32px; }
  .about__stats { gap: 12px; }
  .stat { padding: 20px 12px; }
  .stat__num { font-size: 36px; }

  .service-card,
  .service-card__body { min-height: 360px; }
  .service-card__body { padding: 20px; }
  .service-card__title { font-size: 18px; }
  .service-card__price { font-size: 18px; }

  .tabs { gap: 8px; margin: 30px 0; }
  .tab { height: 42px; padding: 0 18px; font-size: 14px; }

  .product-card__body { padding: 20px; }
  .product-card__title { font-size: 17px; }

  .promo-card,
  .promo-card__body { min-height: 240px; }
  .promo-card__body { padding: 20px; }
  .promo-card__title { font-size: 20px; }
  .loyalty { padding: 24px 20px; }
  .loyalty__title { font-size: 20px; }
  .loyalty__icon { width: 40px; height: 40px; }

  .legal-card { padding: 22px 18px; }
  .legal-card__icon { width: 48px; height: 48px; margin-bottom: 16px; }
  .legal-card__title { font-size: 16.5px; }

  .booking-form { padding: 22px 18px; }
  .field__input { height: 46px; font-size: 14.5px; }
  .field__label { font-size: 12.5px; }
  .info-card { padding: 18px; }
  .info-card--row { gap: 14px; }
  .info-card__icon { width: 42px; height: 42px; }
  .map iframe { min-height: 200px; }

  .btn { font-size: 14px; padding: 0 22px; }
  .btn--lg { height: 50px; padding: 0 28px; font-size: 15px; }
}

/* ---- Tiny phones (≤ 360px, incl. 320px) ---- */
@media (max-width: 360px) {
  :root { --gutter: 14px; --header-h: 68px; }

  .header__inner { gap: 6px; }
  .header__logo,
  .header__logo img { height: 36px !important; width: 36px !important; max-height: 36px; max-width: 36px; object-fit: contain; }
  .header__burger { width: 36px; height: 36px; padding: 10px 8px; }

  .hero__inner { padding: 20px 0 44px; gap: 22px; }
  .hero__title { font-size: clamp(24px, 8vw, 30px); line-height: 1.12; }
  .hero__lead { font-size: 13.5px; }
  .hero__brandmark { gap: 10px; margin-bottom: 18px; }
  .hero__lockup-logo { width: 42px; height: 42px; }
  .hero__lockup-divider { height: 32px; }
  .hero__lockup-tag { font-size: 13px; }
  .hero__frame { max-width: 260px; }
  .hero__frame-inner {
    /* keep the same arch+lotus mask, size adjusts via mask-size 100% 100% */
  }

  .section-title { font-size: 22px; }
  .section-sub { font-size: 13.5px; }

  .why-card__title { font-size: 16px; }
  .why-card__text { font-size: 13px; }
  .why-card__body { padding: 18px; }

  .about-card { padding: 20px 18px; }
  .about-card__list li { font-size: 13.5px; }
  .stat__num { font-size: 32px; }
  .stat__label { font-size: 11px; }

  .service-card__title { font-size: 17px; }
  .service-card__text { font-size: 13px; }
  .service-card__price { font-size: 17px; }
  .service-card__body { padding: 18px; }

  .tab { height: 40px; padding: 0 14px; font-size: 13px; }

  .promo-card__title { font-size: 18px; }
  .loyalty__title { font-size: 19px; }
  .loyalty__lead { font-size: 14px; }
  .loyalty__name { font-size: 15px; }
  .loyalty__text { font-size: 13px; }

  .legal-card__title { font-size: 15.5px; }
  .legal-card__text { font-size: 13px; }

  .booking-form { padding: 20px 16px; }
  .booking-form__title { font-size: 18px; }
  .booking-form__legal { font-size: 11.5px; }
  .field { margin-bottom: 14px; }
  .field__input { height: 44px; font-size: 14px; padding: 0 14px; }
  .field__input--textarea { padding: 10px 14px; }
  .info-card { padding: 16px; }
  .info-card__heading { font-size: 15px; }
  .info-card p { font-size: 13.5px; }

  .footer__heading { font-size: 15px; }
  .footer__list li { font-size: 13.5px; }
  .footer__legal { gap: 14px; font-size: 12.5px; }
  .footer__bottom { font-size: 12px; }

  .btn { font-size: 13.5px; padding: 0 18px; height: 44px; }
  .btn--sm { height: 36px; padding: 0 14px; font-size: 13px; }
  .btn--lg { height: 46px; padding: 0 22px; font-size: 14px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* =========================================================
   BOOKING WIZARD
   ========================================================= */
.wiz { position: fixed; inset: 0; z-index: 20000; display: flex; align-items: center; justify-content: center; }
.wiz__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.75); backdrop-filter: blur(6px); }
.wiz__dialog {
  position: relative; z-index: 1; width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 40px); display: flex; flex-direction: column;
  background: var(--bg-card, #1a1512); border: 1px solid var(--line-strong, rgba(212,166,130,.4));
  border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6);
  color: #f4ede5; font-family: 'Manrope', sans-serif;
}
.wiz__close {
  position: absolute; top: 12px; right: 14px; width: 40px; height: 40px;
  background: transparent; border: 0; color: #fff; font-size: 24px; line-height: 1;
  cursor: pointer; border-radius: 8px; z-index: 5;
  display: grid; place-items: center; -webkit-tap-highlight-color: transparent;
}
.wiz__close:hover { background: rgba(255,255,255,.08); }
.wiz__header { padding: 22px 26px 0; border-bottom: 1px solid var(--line, rgba(255,255,255,.08)); }
.wiz__title { color: #fff; font-size: 22px; font-weight: 600; margin: 0 0 18px; font-family: var(--font); }
.wiz__steps { display: flex; gap: 4px; padding-bottom: 14px; overflow-x: auto; }
.wiz-step {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px;
  font-size: 12.5px; color: var(--text-muted, rgba(255,255,255,.5)); white-space: nowrap;
  transition: background .2s, color .2s;
}
.wiz-step span {
  width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: grid; place-items: center; font-size: 11px; font-weight: 600;
}
.wiz-step.is-active { color: #fff; background: rgba(212,166,130,.14); }
.wiz-step.is-active span { background: var(--accent, #D4A682); color: #1a1512; }
.wiz-step.is-done span { background: rgba(120,200,130,.3); color: #b8e6c0; }
.wiz-step.is-done { color: rgba(184,230,192,.7); }

.wiz__body { flex: 1; padding: 22px 26px; overflow-y: auto; min-height: 300px; }
.wiz__footer { padding: 16px 26px; border-top: 1px solid var(--line, rgba(255,255,255,.08)); display: flex; gap: 10px; justify-content: space-between; }
.wiz__footer:empty { display: none; }

.wiz-loading, .wiz-empty, .wiz-error {
  text-align: center; padding: 40px 20px; color: var(--text-muted, rgba(255,255,255,.55)); font-size: 14px;
}
.wiz-error { color: #ff9a8b; }

.wiz-list { display: grid; gap: 10px; }
.wiz-card {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 18px; background: rgba(255,255,255,.03); border: 1px solid var(--line, rgba(255,255,255,.08));
  border-radius: 12px; text-align: left; cursor: pointer; color: #f4ede5;
  transition: border-color .2s, background .2s, transform .1s;
}
.wiz-card:hover { border-color: var(--accent, #D4A682); background: rgba(212,166,130,.06); }
.wiz-card:active { transform: scale(.99); }
.wiz-card__body { min-width: 0; }
.wiz-card__title { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.wiz-card__desc { font-size: 12.5px; color: var(--text-muted, rgba(255,255,255,.55)); line-height: 1.4; }
.wiz-card__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; white-space: nowrap; }
.wiz-card__meta span { font-size: 12px; color: var(--text-muted, rgba(255,255,255,.55)); }
.wiz-card__meta strong { color: var(--accent, #D4A682); font-size: 15px; font-weight: 600; }

.wiz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 10px; }
.wiz-master {
  padding: 16px 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line, rgba(255,255,255,.08));
  border-radius: 12px; cursor: pointer; color: #f4ede5; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: border-color .2s, background .2s;
}
.wiz-master:hover { border-color: var(--accent, #D4A682); background: rgba(212,166,130,.06); }
.wiz-master__avatar, .wiz-master__img {
  width: 56px; height: 56px; border-radius: 50%; background: rgba(212,166,130,.15);
  display: grid; place-items: center; font-size: 22px; object-fit: cover;
}
.wiz-master__name { font-size: 13.5px; font-weight: 600; color: #fff; }
.wiz-master__spec { font-size: 11.5px; color: var(--text-muted, rgba(255,255,255,.55)); }

.wiz-datebar {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px;
  scrollbar-width: thin;
}
.wiz-date {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 58px; padding: 10px 8px; background: rgba(255,255,255,.03);
  border: 1px solid var(--line, rgba(255,255,255,.08)); border-radius: 10px;
  color: #f4ede5; cursor: pointer; transition: border-color .2s, background .2s;
}
.wiz-date:hover { border-color: var(--accent, #D4A682); }
.wiz-date.is-active { background: var(--accent, #D4A682); color: #1a1512; border-color: var(--accent, #D4A682); }
.wiz-date__wd { font-size: 11px; opacity: .7; text-transform: uppercase; }
.wiz-date__num { font-size: 18px; font-weight: 700; margin-top: 2px; }

.wiz-slots-host { min-height: 100px; }
.wiz-hint { color: var(--text-muted, rgba(255,255,255,.55)); text-align: center; padding: 30px 0; font-size: 13px; }
.wiz-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.wiz-slot {
  padding: 10px 6px; background: rgba(255,255,255,.03);
  border: 1px solid var(--line, rgba(255,255,255,.08)); border-radius: 8px;
  color: #f4ede5; font-size: 13.5px; font-weight: 500; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.wiz-slot:hover { border-color: var(--accent, #D4A682); }
.wiz-slot.is-active { background: var(--accent, #D4A682); color: #1a1512; border-color: var(--accent, #D4A682); }

.wiz-summary {
  background: rgba(212,166,130,.06); border: 1px solid rgba(212,166,130,.25);
  border-radius: 12px; padding: 16px; margin-bottom: 18px; display: grid; gap: 8px;
}
.wiz-summary > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.wiz-summary span { color: var(--text-muted, rgba(255,255,255,.55)); }
.wiz-summary strong { color: #fff; font-weight: 600; text-align: right; }

.wiz-referral-badge {
  margin-top: 4px; padding: 10px 14px; border-radius: 8px; font-size: 12.5px;
  background: rgba(120,200,130,.1); border: 1px solid rgba(120,200,130,.3); color: #b8e6c0;
}

.wiz-success { text-align: center; padding: 30px 20px; }
.wiz-success__icon {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%;
  background: rgba(120,200,130,.15); color: #b8e6c0; font-size: 34px;
  display: grid; place-items: center; border: 1px solid rgba(120,200,130,.4);
}
.wiz-success h3 { color: #fff; font-size: 22px; margin: 0 0 10px; font-family: var(--font); }
.wiz-success p { color: var(--text-muted, rgba(255,255,255,.7)); font-size: 14px; line-height: 1.5; }

@media (max-width: 520px) {
  .wiz__dialog { width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0; }
  .wiz__body { padding: 18px 16px; }
  .wiz__header { padding: 18px 16px 0; }
  .wiz__footer { padding: 12px 16px; }
  .wiz-grid { grid-template-columns: 1fr 1fr; }
}


/* =========================================================
   THANK YOU PAGE
   ========================================================= */
.thanks-page { min-height: 100vh; display: flex; }
.thanks {
  flex: 1; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(212,166,130,.12), transparent 60%),
    var(--bg, #12100e);
}
.thanks__card {
  width: min(560px, 100%); text-align: center;
  background: var(--bg-card, #1a1512);
  border: 1px solid var(--line-strong, rgba(212,166,130,.35));
  border-radius: 20px; padding: 48px 40px;
  box-shadow: 0 40px 90px rgba(0,0,0,.5);
}
.thanks__logo { display: inline-block; margin-bottom: 32px; }
.thanks__logo img { height: 40px; width: auto; }
.thanks__icon {
  width: 76px; height: 76px; margin: 0 auto 26px; border-radius: 50%;
  background: rgba(120,200,130,.12); color: #b8e6c0;
  display: grid; place-items: center;
  border: 1px solid rgba(120,200,130,.4);
  animation: thanks-pop .5s cubic-bezier(.2,.8,.3,1.2) both;
}
@keyframes thanks-pop { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.thanks__title {
  font-family: var(--font); color: #fff;
  font-size: 34px; font-weight: 600; margin: 0 0 14px; line-height: 1.1;
}
.thanks__lead {
  color: var(--text-muted, rgba(255,255,255,.65)); font-size: 15px;
  line-height: 1.6; margin: 0 auto 28px; max-width: 42ch;
}
.thanks__details[hidden] { display: none; }
.thanks__details {
  text-align: left; display: grid; gap: 10px;
  background: rgba(212,166,130,.06); border: 1px solid rgba(212,166,130,.22);
  border-radius: 12px; padding: 18px 20px; margin-bottom: 28px;
}
.thanks__row { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; }
.thanks__row span { color: var(--text-muted, rgba(255,255,255,.55)); }
.thanks__row strong { color: #fff; font-weight: 600; text-align: right; }
.thanks__note { margin-bottom: 30px; }
.thanks__note p { color: var(--text-muted, rgba(255,255,255,.6)); font-size: 13.5px; margin: 0 0 14px; }
.thanks__socials { display: flex; gap: 10px; justify-content: center; }
.thanks__social {
  padding: 9px 18px; border-radius: 999px; font-size: 13px; font-weight: 500;
  border: 1px solid var(--line-strong, rgba(212,166,130,.35)); color: var(--accent, #D4A682);
  text-decoration: none; transition: background .2s, border-color .2s;
}
.thanks__social:hover { background: rgba(212,166,130,.12); border-color: var(--accent, #D4A682); }
.thanks__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.thanks__contacts { color: var(--text-muted, rgba(255,255,255,.55)); font-size: 13.5px; margin: 0; }
.thanks__contacts a { color: var(--accent, #D4A682); text-decoration: none; font-weight: 600; }
.thanks__contacts a:hover { text-decoration: underline; }

@media (max-width: 520px) {
  .thanks__card { padding: 36px 22px; }
  .thanks__title { font-size: 28px; }
  .thanks__actions .btn { flex: 1 1 100%; }
}
