/* ============================================================
   JASMINE MEDICAL CENTER — фирменный стиль с баннеров:
   navy #1E3A6B · orange #F47C20 · white · light gray #F2F3F5
   Цена — герой макета. Мобайл-first, RTL-first.
   ============================================================ */

:root {
  --navy: #1E3A6B;
  --navy-deep: #16294E;
  --orange: #F47C20;
  --orange-hot: #E96A0C;
  --bg: #F2F3F5;
  --white: #FFFFFF;
  --ink: #23324D;
  --muted: #6B7690;
  --line: #DEE2EA;
  --green: #25D366;
  --r-pill: 14px;      /* скругление navy-пилюль как на баннерах */
  --r-card: 22px;
  --shadow: 0 10px 30px rgba(30, 58, 107, .10);
  --shadow-lg: 0 18px 50px rgba(30, 58, 107, .16);
  --font-ar: "Cairo", sans-serif;
  --font-en: "Poppins", sans-serif;
  --font-num: "Poppins", "Cairo", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ar);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html[lang="en"] body { font-family: var(--font-en); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

/* ---------- фоновые «свуш»-формы ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(52% 42% at 110% -6%, rgba(30, 58, 107, .07), transparent 70%),
    radial-gradient(46% 38% at -12% 28%, rgba(244, 124, 32, .07), transparent 70%),
    var(--bg);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  padding: 13px 26px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn:active { transform: scale(.97); }

.btn-orange {
  background: linear-gradient(180deg, var(--orange), var(--orange-hot));
  color: #fff;
  box-shadow: 0 8px 22px rgba(244, 124, 32, .38);
}
.btn-orange:hover { box-shadow: 0 12px 28px rgba(244, 124, 32, .5); transform: translateY(-1px); }

.btn-navy { background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.btn-navy:hover { background: var(--navy-deep); }

.btn-wa { background: var(--green); color: #fff; box-shadow: 0 8px 22px rgba(37, 211, 102, .35); }

.btn-ghost {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--line);
}
.btn-ghost:hover { border-color: var(--navy); }

.btn-sm { padding: 9px 18px; font-size: .92rem; }
.btn-xl { padding: 16px 38px; font-size: 1.12rem; font-weight: 800; }

/* ============================================================
   HEADER + LOGO
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-img { height: 40px; width: auto; display: none; }
.logo-img.ok { display: block; }
.logo-img.ok + .logo-text { display: none; }

.logo-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  font-family: var(--font-en);
  /* латинский логотип всегда LTR, чтобы завитушка стояла над «j» */
  direction: ltr;
  text-align: left;
}
.logo-j {
  position: relative;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .01em;
  text-transform: lowercase;
}
/* оранжевая «завитушка» над j — имитация фирменного знака */
.logo-j::before {
  content: "";
  position: absolute;
  top: -1px;
  inset-inline-start: 1px;
  width: 9px;
  height: 9px;
  border: 2.5px solid var(--orange);
  border-inline-end-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-35deg);
}
.logo-mc {
  font-size: .68rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: .22em;
  text-transform: uppercase;
}

.nav-links { display: none; gap: 22px; }
@media (min-width: 760px) { .nav-links { display: flex; } }
.nav-links a {
  font-weight: 700;
  font-size: .92rem;
  color: var(--navy);
  transition: color .15s;
}
.nav-links a:hover { color: var(--orange-hot); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-switch {
  min-width: 46px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 700;
  font-size: .85rem;
  background: var(--white);
  transition: background .15s, color .15s;
}
.lang-switch:hover { background: var(--navy); color: #fff; }

/* ============================================================
   ЦЕНА-ГЕРОЙ (паттерн с баннеров)
   ============================================================ */
.price-hero {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-num);
  line-height: .95;
}
.price-only {
  font-family: inherit;
  font-size: clamp(.95rem, 2.5vw, 1.2rem);
  font-weight: 700;
  color: var(--navy);
}
html[lang="ar"] .price-only { font-family: var(--font-ar); }
.price-num {
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -.02em;
  text-shadow: 0 3px 0 rgba(233, 106, 12, .12);
}
.price-cur {
  font-weight: 700;
  color: var(--orange);
  font-size: clamp(1rem, 3vw, 1.5rem);
}
html[lang="ar"] .price-cur { font-family: var(--font-ar); }

.price-hero--xl .price-num { font-size: clamp(5.2rem, 17vw, 9.5rem); }
.price-hero--mid .price-num { font-size: clamp(3.6rem, 11vw, 6rem); }
.price-hero--card .price-num { font-size: clamp(2.9rem, 8vw, 3.6rem); }

/* ---------- navy-пилюля (названия услуг) ---------- */
.pill-navy {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-pill);
  padding: 8px 18px;
  font-weight: 700;
}

/* ---------- оранжевый прайс-таг ---------- */
.price-tag-orange {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  background: linear-gradient(180deg, var(--orange), var(--orange-hot));
  color: #fff;
  border-radius: 12px;
  padding: 7px 13px;
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(244, 124, 32, .3);
}
.price-tag-orange small { font-size: .68em; font-weight: 700; }

/* ---------- чек-лист с квадратными чекбоксами ---------- */
.check-list { display: grid; gap: 11px; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; font-weight: 600; color: var(--ink); }
.check-sq {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border: 2.5px solid var(--navy);
  border-radius: 6px;
  color: var(--orange);
  background: var(--white);
}

/* ============================================================
   1. HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 5vw, 64px) clamp(16px, 4vw, 48px) clamp(40px, 6vw, 80px);
}
.hero-swoosh {
  position: absolute;
  inset-inline-end: -22%;
  top: -34%;
  width: 78%;
  aspect-ratio: 1;
  background: linear-gradient(210deg, rgba(30, 58, 107, .10), rgba(30, 58, 107, .03));
  border-radius: 44% 56% 58% 42% / 52% 44% 56% 48%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: center;
}
@media (min-width: 860px) {
  .hero-inner { grid-template-columns: 1.1fr .9fr; gap: 48px; }
}

.hero-kicker {
  display: inline-block;
  background: rgba(244, 124, 32, .12);
  color: var(--orange-hot);
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 700;
  font-size: .88rem;
  margin-bottom: 14px;
}

.hero-sessions { margin-top: 10px; }
.hero-sessions .pill-navy { font-size: clamp(1.3rem, 4vw, 1.9rem); padding: 10px 24px; }

.hero-zone {
  margin-top: 10px;
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(1rem, 3vw, 1.2rem);
}

/* тонкая navy-линия-разделитель под оффером (как на баннерах) */
.hero-divider {
  height: 2px;
  background: linear-gradient(90deg, var(--navy) 60%, transparent);
  border-radius: 2px;
  margin: 18px 0;
  max-width: 340px;
}
html[dir="rtl"] .hero-divider { background: linear-gradient(-90deg, var(--navy) 60%, transparent); }

.hero-cta { margin-top: 22px; width: 100%; }
@media (min-width: 560px) { .hero-cta { width: auto; } }

.hero-note { margin-top: 10px; color: var(--muted); font-size: .9rem; }

/* ---------- универсальный фото-контейнер с фолбэком ---------- */
.ph {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
}
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph.img-err img { display: none; }
.ph.img-err::after {
  content: "✦";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  color: rgba(255, 255, 255, .5);
}

/* ---------- hero: композиция из двух фото ---------- */
.hero-media--stack {
  position: relative;
  padding-inline-end: 34px;
  padding-bottom: 30px;
}
.hero-ph-main {
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/4.4;
}
.hero-ph-mini {
  position: absolute;
  bottom: 0;
  inset-inline-end: 0;
  width: clamp(110px, 32%, 170px);
  aspect-ratio: 1;
  border-radius: 22px;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.hero-media-badge {
  position: absolute;
  top: 18px;
  inset-inline-start: -12px;
  display: flex;
  align-items: baseline;
  gap: 5px;
  background: var(--white);
  border-radius: 16px;
  padding: 10px 18px;
  box-shadow: var(--shadow-lg);
  color: var(--orange);
  font-weight: 800;
  animation: floaty 4s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: translateY(-6px); } }
.price-num-sm { font-family: var(--font-num); font-size: 1.7rem; font-weight: 800; line-height: 1; }

@media (max-width: 859px) {
  .hero-media--stack { order: -1; }
  .hero-ph-main { aspect-ratio: 16/10; }
  .hero-media-badge { inset-inline-start: 6px; }
}

/* ============================================================
   2. TRUST BAR
   ============================================================ */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 0 clamp(16px, 4vw, 48px) 8px;
  max-width: 1120px;
  margin: 0 auto;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: var(--shadow);
}
.trust-ico { color: var(--orange); display: inline-grid; place-items: center; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: clamp(36px, 6vw, 72px) clamp(16px, 4vw, 48px);
  max-width: 1120px;
  margin: 0 auto;
}
.section-title {
  font-size: clamp(1.5rem, 4.5vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 600;
}

/* ============================================================
   3. HOW IT WORKS
   ============================================================ */
.how-steps {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  counter-reset: step;
}
@media (min-width: 760px) { .how-steps { grid-template-columns: repeat(3, 1fr); } }

.how-step {
  position: relative;
  background: var(--white);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.how-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.how-photo { height: 150px; }
.how-body { position: relative; padding: 30px 22px 22px; }
.how-num {
  position: absolute;
  top: -21px;
  inset-inline-start: 20px;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--orange), var(--orange-hot));
  color: #fff;
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 6px 14px rgba(244, 124, 32, .35);
  border: 3px solid var(--white);
}
.how-step h3 { color: var(--navy); font-size: 1.08rem; font-weight: 800; }
.how-step p { margin-top: 6px; color: var(--muted); font-size: .93rem; }

/* ============================================================
   4. LASER PACKAGES
   ============================================================ */
.pkg-grid {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}
@media (min-width: 640px) { .pkg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .pkg-grid { grid-template-columns: repeat(3, 1fr); } }

.pkg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--r-card);
  padding: 26px 22px 22px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease;
}
.pkg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pkg-card--featured { border-color: var(--orange); box-shadow: var(--shadow-lg); }

.pkg-badge {
  position: absolute;
  top: -13px;
  inset-inline-start: 18px;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: .8rem;
  font-weight: 800;
  color: #fff;
  box-shadow: var(--shadow);
}
.pkg-badge--hot { background: linear-gradient(180deg, var(--orange), var(--orange-hot)); }
.pkg-badge--value { background: var(--navy); }

.pkg-divider {
  width: 64px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  margin: 12px 0;
  opacity: .6;
}

.pkg-name {
  font-size: .95rem;
  line-height: 1.5;
  padding: 8px 14px;
}
.pkg-sessions { margin-top: 10px; color: var(--muted); font-weight: 700; font-size: .88rem; }
.pkg-alt { margin-top: 4px; color: var(--orange-hot); font-weight: 700; font-size: .85rem; }
.pkg-cta { margin-top: 16px; align-self: stretch; }

/* ============================================================
   5. OTHER SERVICES
   ============================================================ */
.other-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 26px;
}
@media (min-width: 860px) { .other-grid { grid-template-columns: repeat(4, 1fr); } }

.other-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.other-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.other-photo { height: 140px; }
.other-price {
  position: absolute;
  bottom: 10px;
  inset-inline-start: 10px;
  font-size: .95rem;
}
.other-body {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 14px;
}
.other-name { flex: 1; font-weight: 700; color: var(--navy); font-size: .87rem; line-height: 1.45; }
.other-arrow { flex: none; color: var(--orange); display: inline-grid; place-items: center; }
html[dir="rtl"] .other-arrow svg { transform: scaleX(-1); }

/* ============================================================
   6. MID BANNER
   ============================================================ */
.mid-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy), var(--navy-deep));
  color: #fff;
  padding: clamp(40px, 7vw, 76px) clamp(16px, 4vw, 48px);
  text-align: center;
}
/* фоновое фото под navy-оверлеем */
.mid-banner-bg {
  position: absolute;
  inset: 0;
  background: none;
}
.mid-banner-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(150deg, rgba(30, 58, 107, .93), rgba(22, 41, 78, .88));
}
.mid-banner-bg.img-err::after { display: none; }
.mid-banner::before, .mid-banner::after {
  content: "";
  position: absolute;
  border-radius: 46% 54% 58% 42% / 52% 46% 54% 48%;
  pointer-events: none;
}
.mid-banner::before {
  width: 46vw; min-width: 300px; aspect-ratio: 1;
  background: rgba(255, 255, 255, .05);
  top: -46%; inset-inline-start: -12%;
}
.mid-banner::after {
  width: 38vw; min-width: 240px; aspect-ratio: 1;
  background: rgba(244, 124, 32, .14);
  bottom: -48%; inset-inline-end: -10%;
}
.mid-banner-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; display: grid; justify-items: center; gap: 10px; }
.mid-l1 { font-size: clamp(1.3rem, 4.5vw, 2rem); font-weight: 800; }
.mid-l2 { color: rgba(255, 255, 255, .8); font-weight: 600; }
.mid-banner .price-only { color: rgba(255, 255, 255, .85); }
.mid-banner .btn { margin-top: 10px; }

/* ============================================================
   7. REVIEWS
   ============================================================ */
.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78%, 320px);
  gap: 14px;
  margin-top: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 1024px) {
  .reviews-track { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; }
}
.review-card {
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--r-card);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.review-stars { color: var(--orange); letter-spacing: 3px; font-size: .95rem; }
.review-card blockquote { color: var(--ink); font-size: .93rem; flex: 1; }
.review-card figcaption { display: flex; align-items: center; gap: 11px; line-height: 1.35; }
.review-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
}
.review-avatar--orange { background: linear-gradient(180deg, var(--orange), var(--orange-hot)); }
.review-avatar--navy { background: var(--navy); }
.review-name { font-weight: 800; color: var(--navy); }
.review-area { color: var(--muted); font-size: .82rem; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(64%, 260px);
  gap: 12px;
  margin-top: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 860px) {
  .gallery-strip { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; }
}
.gallery-ph {
  scroll-snap-align: start;
  aspect-ratio: 4/5;
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  transition: transform .18s ease;
}
.gallery-ph:hover { transform: translateY(-4px); }
.gallery-ph:nth-child(even) { margin-top: 0; }
@media (min-width: 860px) { .gallery-ph:nth-child(even) { margin-top: 22px; } }

/* ============================================================
   8. FAQ
   ============================================================ */
.faq-list { max-width: 760px; margin: 26px auto 0; display: grid; gap: 10px; }
.faq-list details {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  padding-inline-end: 46px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  inset-inline-end: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-inline-end: 2.5px solid var(--orange);
  border-bottom: 2.5px solid var(--orange);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { padding: 0 20px 18px; color: var(--muted); font-size: .93rem; }

/* ============================================================
   9. FOOTER (navy-полоса с баннеров)
   ============================================================ */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  background: var(--navy);
  color: #fff;
  padding: 18px clamp(16px, 4vw, 48px);
  padding-bottom: calc(18px + env(safe-area-inset-bottom));
  margin-top: 20px;
}
.footer-contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.footer-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: .95rem;
}
.footer-item:hover, .footer-insta:hover { color: var(--orange); }
.footer-ico { display: inline-grid; place-items: center; color: var(--orange); }
.footer-insta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; }

/* ============================================================
   10. STICKY MOBILE BAR
   ============================================================ */
.sticky-bar {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--white);
  box-shadow: 0 -8px 30px rgba(30, 58, 107, .18);
  padding: 10px clamp(16px, 4vw, 48px);
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform .3s ease;
}
.sticky-bar.show { transform: translateY(0); }
.sticky-text { font-weight: 800; color: var(--navy); font-size: .95rem; }
@media (min-width: 860px) { .sticky-bar { display: none; } }

/* ============================================================
   11. FLOATING WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 78px;
  inset-inline-end: 16px;
  z-index: 55;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.08); }
@media (min-width: 860px) { .wa-float { bottom: 24px; } }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   BOOKING WIZARD
   ============================================================ */
.booking-main {
  max-width: 660px;
  margin: 0 auto;
  padding: clamp(18px, 4vw, 36px) clamp(16px, 4vw, 32px) 60px;
  min-height: 62vh;
}

.step-counter { color: var(--muted); font-size: .85rem; font-weight: 700; margin-bottom: 8px; }

.progress {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 20px;
}
.prog-line { flex: 1; height: 2px; background: var(--line); border-radius: 2px; min-width: 8px; }
.prog-step {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 0;
}
.prog-step[disabled] { cursor: default; }
.prog-dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2.5px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-family: var(--font-num);
  font-weight: 800;
  font-size: .95rem;
  transition: all .2s ease;
}
.prog-step.active .prog-dot {
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: 0 0 0 5px rgba(244, 124, 32, .15);
}
.prog-step.done .prog-dot { border-color: var(--navy); background: var(--navy); color: #fff; }
.prog-label { font-size: .68rem; font-weight: 700; color: var(--muted); }
.prog-step.active .prog-label { color: var(--orange-hot); }
.prog-step.done .prog-label { color: var(--navy); }

.wizard-error {
  display: none;
  background: #FDECEC;
  color: #B3261E;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 14px;
}
.wizard-error.show { display: block; animation: shake .3s ease; }
@keyframes shake {
  25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); }
}

.step-title { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }

.sel-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 10px 13px;
  margin: 10px 0 14px;
}
.sel-summary-text { color: var(--muted); font-size: .85rem; font-weight: 600; line-height: 1.4; }
.sel-summary-text b { color: var(--navy); }
.step-sub { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }

/* --- chips (категории) --- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 16px; }
.chip {
  border-radius: 999px;
  padding: 8px 18px;
  background: var(--white);
  border: 2px solid var(--line);
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy);
  transition: all .15s ease;
}
.chip--on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* --- option cards (услуги / филиалы) --- */
.opt-list { display: grid; gap: 10px; }
.opt-card {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  text-align: start;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.opt-card:hover { border-color: var(--navy); }
.opt-card--on { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(244, 124, 32, .13); }

.opt-body { flex: 1; display: grid; gap: 3px; }
.opt-name { font-weight: 700; color: var(--navy); font-size: .92rem; line-height: 1.45; }
.opt-sub { color: var(--muted); font-size: .82rem; font-weight: 600; }

.opt-check {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 2.5px solid var(--line);
  color: transparent;
  transition: all .15s ease;
}
.opt-card--on .opt-check { border-color: var(--orange); background: var(--orange); color: #fff; }

.mini-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: .72rem;
  font-weight: 800;
  color: #fff;
  margin-top: 2px;
  width: fit-content;
}
.mini-badge--hot { background: linear-gradient(180deg, var(--orange), var(--orange-hot)); }
.mini-badge--value { background: var(--navy); }

/* --- branches --- */
.geo-btn { width: 100%; margin: 8px 0 4px; }
.geo-msg { min-height: 1.2em; color: var(--muted); font-size: .85rem; font-weight: 600; margin-bottom: 8px; }
.branch-pin { flex: none; color: var(--orange); display: grid; place-items: center; }
.branch-dist { color: var(--orange-hot); font-weight: 700; }

/* --- date & time --- */
.day-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(96px, 1fr);
  gap: 8px;
  overflow-x: auto;
  padding: 12px 2px;
  -webkit-overflow-scrolling: touch;
}
.day-chip {
  display: grid;
  justify-items: center;
  gap: 2px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 10px 8px;
  transition: all .15s ease;
}
.day-chip--on { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(244, 124, 32, .13); }
.day-name { font-weight: 800; color: var(--navy); font-size: .85rem; }
.day-num { color: var(--muted); font-size: .75rem; font-weight: 600; white-space: nowrap; }
.day-wknd {
  background: rgba(30, 58, 107, .1);
  color: var(--navy);
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 800;
  padding: 1px 8px;
  margin-top: 2px;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.slot {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 10px 4px;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: .92rem;
  color: var(--navy);
  transition: all .12s ease;
}
.slot:hover:not(:disabled) { border-color: var(--navy); }
.slot--on { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 6px 14px rgba(244, 124, 32, .35); }
.slot--busy { background: var(--bg); color: #B6BCC9; text-decoration: line-through; cursor: not-allowed; }
.no-slots { grid-column: 1/-1; text-align: center; color: var(--muted); font-weight: 600; padding: 18px 0; }

/* --- contact form --- */
.summary-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: 16px;
  padding: 13px 15px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
  font-size: .88rem;
  color: var(--muted);
}
.summary-mini b { color: var(--navy); }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > span { font-weight: 700; color: var(--navy); font-size: .9rem; }
.field input {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  padding: 13px 16px;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(244, 124, 32, .13); }

.phone-wrap {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.phone-code {
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 0 14px;
  font-family: var(--font-num);
  font-weight: 700;
}
.phone-wrap input { flex: 1; font-family: var(--font-num); letter-spacing: .06em; }

.privacy-note { color: var(--muted); font-size: .8rem; }

.card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* --- wizard nav --- */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}
.wizard-nav .btn-orange { flex: 1; }
.wizard-nav .btn-ghost { min-width: 104px; }

/* ============================================================
   CONFIRMATION
   ============================================================ */
.confirmation { text-align: center; padding-top: 14px; }
.conf-check {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 10px auto 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--orange), var(--orange-hot));
  color: #fff;
  box-shadow: 0 14px 34px rgba(244, 124, 32, .4);
  animation: pop .5s cubic-bezier(.2, 1.6, .4, 1);
}
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.conf-title { font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 800; color: var(--navy); }
.conf-sub { color: var(--muted); font-weight: 600; margin-top: 6px; }

.conf-card {
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  padding: 20px 22px;
  margin: 22px 0;
  text-align: start;
}
.conf-rows { display: grid; gap: 12px; }
.conf-rows > div { display: grid; gap: 2px; border-bottom: 1px solid var(--bg); padding-bottom: 10px; }
.conf-rows > div:last-child { border-bottom: 0; padding-bottom: 0; }
.conf-rows dt { color: var(--muted); font-size: .78rem; font-weight: 700; }
.conf-rows dd { color: var(--ink); font-weight: 600; font-size: .95rem; }
.orange { color: var(--orange-hot); }

.conf-actions { display: grid; gap: 10px; }
@media (min-width: 560px) { .conf-actions { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   404
   ============================================================ */
.nf-main {
  min-height: 66vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  text-align: center;
  padding: 40px 20px;
}
.nf-404 .price-num { font-size: clamp(5rem, 22vw, 9rem); }
.nf-title { color: var(--navy); font-weight: 800; font-size: clamp(1.3rem, 5vw, 1.8rem); }
.nf-text { color: var(--muted); font-weight: 600; }
.nf-main .btn { margin-top: 10px; }
