/* ==========================================================================
   maxhair — дизайн-система
   Бьюти-студия наращивания волос
   ========================================================================== */

:root {
  /* Палитра */
  --c-bg: #FBF7F2;
  --c-bg-soft: #F4EBE1;
  --c-surface: #FFFFFF;
  --c-ink: #2B2026;
  --c-ink-muted: #7A6A72;
  --c-accent: #A25B7D;
  --c-accent-deep: #7C4160;
  --c-accent-soft: #F3E2EA;
  --c-gold: #C6A276;
  --c-gold-soft: #EFE4D3;
  --c-dark: #241A20;
  --c-dark-2: #2E2230;
  --c-line: #EADFD3;

  /* Типографика */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", Arial, sans-serif;

  /* Ритм */
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 6px 20px rgba(43, 32, 38, 0.06);
  --shadow-md: 0 14px 40px rgba(43, 32, 38, 0.10);
  --shadow-lg: 0 24px 70px rgba(43, 32, 38, 0.16);

  --container: 1180px;
  --header-h: 76px;
}

/* ---------- Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 0.5em; font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--c-ink); }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--c-accent); color: #fff; }

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

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

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-deep) 100%); color: #fff; box-shadow: 0 10px 26px rgba(162, 91, 125, 0.35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(162, 91, 125, 0.42); }

.btn--ghost { background: transparent; color: var(--c-ink); border-color: var(--c-line); }
.btn--ghost:hover { border-color: var(--c-accent); color: var(--c-accent-deep); }

.btn--light { background: #fff; color: var(--c-accent-deep); box-shadow: var(--shadow-sm); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--dark { background: var(--c-dark); color: #fff; }
.btn--dark:hover { background: var(--c-dark-2); }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 242, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(234, 223, 211, 0.7);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: 0.02em; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-deep));
  color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 700;
  font-family: var(--font-body);
}
.brand small { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-ink-muted); }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { font-size: 14.5px; font-weight: 600; color: var(--c-ink-muted); transition: color .18s ease; }
.main-nav a:hover, .main-nav a.is-active { color: var(--c-accent-deep); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { font-weight: 700; font-size: 15px; color: var(--c-ink); }
.header-phone span { display: block; font-size: 11px; font-weight: 500; color: var(--c-ink-muted); letter-spacing: 0.04em; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--c-line);
  background: #fff; border-radius: 12px; place-items: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--c-ink); margin: 3px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 600px at 88% -10%, rgba(198, 162, 118, 0.22), transparent 60%),
    radial-gradient(900px 620px at -10% 20%, rgba(162, 91, 125, 0.16), transparent 55%),
    linear-gradient(160deg, #FBF7F2 0%, #F6EEE6 100%);
}
.hero__inner {
  max-width: var(--container); margin: 0 auto; padding: 78px 24px 84px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-accent-deep); background: var(--c-accent-soft);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); letter-spacing: -0.01em; margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--c-accent-deep); }
.hero__lead { font-size: 18px; color: var(--c-ink-muted); max-width: 480px; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 26px; }
.hero__meta-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--c-ink-muted); }
.hero__meta-item b { color: var(--c-ink); font-weight: 700; }

.hero__visual { position: relative; }
.hero__card {
  position: relative; border-radius: 28px; overflow: hidden;
  background:
    radial-gradient(120% 90% at 70% 20%, rgba(255,255,255,0.5), transparent 55%),
    linear-gradient(150deg, #E8D3C4 0%, #D9A9B8 45%, #B77A92 100%);
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
  display: grid; place-items: end center;
}
.hero__card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(43,32,38,0.28));
}
.hero__card-tag {
  position: relative; z-index: 2; margin-bottom: 24px;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
  padding: 14px 22px; border-radius: 16px; font-size: 14px; font-weight: 600; color: var(--c-ink);
  display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-md);
}
.hero__badge {
  position: absolute; top: 22px; right: 22px; z-index: 2;
  background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-md);
  text-align: center;
}
.hero__badge b { display: block; font-family: var(--font-display); font-size: 22px; color: var(--c-accent-deep); line-height: 1; }
.hero__badge span { font-size: 11px; color: var(--c-ink-muted); letter-spacing: 0.04em; }

/* ---------- Секции ---------- */
.section { padding: 84px 0; }
.section--soft { background: var(--c-bg-soft); }
.section--dark { background: linear-gradient(160deg, var(--c-dark) 0%, var(--c-dark-2) 100%); color: #EADFD3; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head__eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--c-gold); margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }
.section-head p { font-size: 17px; color: var(--c-ink-muted); margin: 0; }
.section--dark .section-head p { color: #B9A6AC; }

/* ---------- Доверие (цифры) ---------- */
.trustbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trustbar__item {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 26px 24px; text-align: center; box-shadow: var(--shadow-sm);
}
.trustbar__item b { display: block; font-family: var(--font-display); font-size: 34px; color: var(--c-accent-deep); line-height: 1.1; }
.trustbar__item span { font-size: 14px; color: var(--c-ink-muted); }

/* ---------- Карточки услуг ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--c-accent-soft); color: var(--c-accent-deep); font-size: 26px;
}
.card h3 { font-size: 21px; margin-bottom: 4px; }
.card p { font-size: 15px; color: var(--c-ink-muted); margin: 0; flex: 1; }
.card__price { font-size: 15px; font-weight: 700; color: var(--c-accent-deep); }
.card__link { font-size: 14.5px; font-weight: 700; color: var(--c-ink); display: inline-flex; align-items: center; gap: 6px; }
.card__link:hover { color: var(--c-accent-deep); }

/* ---------- Преимущества ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { padding: 8px 4px; }
.feature__num { font-family: var(--font-display); font-size: 44px; color: var(--c-gold); line-height: 1; margin-bottom: 14px; }
.feature h3 { font-size: 20px; }
.feature p { color: var(--c-ink-muted); font-size: 15px; margin: 0; }

/* ---------- Галерея до/после ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery__item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3/4; box-shadow: var(--shadow-sm);
  background:
    radial-gradient(120% 90% at 60% 25%, rgba(255,255,255,0.45), transparent 55%),
    linear-gradient(155deg, #E4CFC1, #CFA0AE 55%, #A36A86);
}
.gallery__item--2 { background: linear-gradient(155deg, #E9D5C3, #B98E7B 60%, #8F6255); }
.gallery__item--3 { background: linear-gradient(155deg, #EBDAC8, #C9A276 60%, #9A7548); }
.gallery__label {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  background: rgba(255,255,255,0.88); backdrop-filter: blur(6px);
  padding: 8px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--c-ink);
}
.gallery__badge {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: var(--c-accent); color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}

/* ---------- Мастер ---------- */
.master { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.master__photo {
  border-radius: 28px; aspect-ratio: 4/5; box-shadow: var(--shadow-lg);
  background:
    radial-gradient(120% 90% at 65% 20%, rgba(255,255,255,0.5), transparent 55%),
    linear-gradient(155deg, #E7CFBE, #C9969E 55%, #9A6A84);
  position: relative;
}
.master__badge {
  position: absolute; left: -18px; bottom: 28px; background: #fff; border-radius: 16px;
  padding: 16px 20px; box-shadow: var(--shadow-md);
}
.master__badge b { display: block; font-family: var(--font-display); font-size: 26px; color: var(--c-accent-deep); line-height: 1; }
.master__badge span { font-size: 13px; color: var(--c-ink-muted); }
.master h2 { font-size: clamp(28px, 4vw, 40px); }
.master p { color: var(--c-ink-muted); font-size: 16.5px; }
.master__list { margin: 22px 0 28px; display: grid; gap: 12px; }
.master__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.master__list li::before { content: "✓"; color: var(--c-accent); font-weight: 800; flex-shrink: 0; }

/* ---------- Прайс ---------- */
.price-table { background: #fff; border-radius: var(--radius); border: 1px solid var(--c-line); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 26px; border-bottom: 1px solid var(--c-line); }
.price-row:last-child { border-bottom: 0; }
.price-row__name { font-weight: 600; font-size: 15.5px; }
.price-row__desc { display: block; font-size: 13px; color: var(--c-ink-muted); font-weight: 400; margin-top: 2px; }
.price-row__val { font-weight: 700; font-size: 16px; color: var(--c-accent-deep); white-space: nowrap; }

/* ---------- Отзывы ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm); }
.review__stars { color: var(--c-gold); font-size: 16px; letter-spacing: 2px; }
.review p { font-size: 15px; color: var(--c-ink); margin: 0; flex: 1; }
.review__author { display: flex; align-items: center; gap: 12px; }
.review__ava { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--c-accent-soft), var(--c-gold-soft)); display: grid; place-items: center; font-weight: 700; color: var(--c-accent-deep); }
.review__author b { display: block; font-size: 14px; }
.review__author span { font-size: 12.5px; color: var(--c-ink-muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq__item { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; padding: 20px 24px;
  font-size: 16px; font-weight: 600; color: var(--c-ink); display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__q .faq__icon { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--c-accent-soft); color: var(--c-accent-deep); display: grid; place-items: center; font-size: 18px; transition: transform .2s ease; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a-inner { padding: 0 24px 22px; color: var(--c-ink-muted); font-size: 15px; }

/* ---------- CTA ---------- */
.cta {
  border-radius: 28px; padding: 60px; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(800px 400px at 50% -20%, rgba(198,162,118,0.28), transparent 60%),
    linear-gradient(150deg, var(--c-accent) 0%, var(--c-accent-deep) 100%);
  color: #fff; box-shadow: var(--shadow-lg);
}
.cta h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); }
.cta p { color: #F3E2EA; font-size: 17px; max-width: 560px; margin: 0 auto 28px; }
.cta__form { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 560px; margin: 0 auto; }
.cta input {
  flex: 1 1 220px; padding: 15px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.14); color: #fff; font-size: 15px; outline: none;
}
.cta input::placeholder { color: rgba(255,255,255,0.75); }
.cta input:focus { border-color: #fff; background: rgba(255,255,255,0.2); }
.cta__note { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 16px; }

/* ---------- Контакты ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-list { display: grid; gap: 18px; }
.contact-list__item { display: flex; gap: 16px; align-items: flex-start; }
.contact-list__icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; background: var(--c-accent-soft); color: var(--c-accent-deep); display: grid; place-items: center; font-size: 20px; }
.contact-list__item b { display: block; font-size: 15px; }
.contact-list__item span, .contact-list__item a { font-size: 15px; color: var(--c-ink-muted); }
.contact-list__item a:hover { color: var(--c-accent-deep); }
.map {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line);
  background: linear-gradient(150deg, #EFE7DC, #E2D5C6);
  min-height: 340px; display: grid; place-items: center; color: var(--c-ink-muted); font-size: 14px;
  box-shadow: var(--shadow-sm);
}

/* ---------- Соцсети / мессенджеры ---------- */
.socials { display: flex; gap: 12px; flex-wrap: wrap; }
.socials a {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px;
  border: 1px solid var(--c-line); background: #fff; font-size: 14px; font-weight: 600; color: var(--c-ink);
  transition: transform .18s ease, border-color .18s ease;
}
.socials a:hover { transform: translateY(-2px); border-color: var(--c-accent); color: var(--c-accent-deep); }

/* ---------- Подвал ---------- */
.site-footer { background: var(--c-dark); color: #B9A6AC; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.02em; }
.site-footer a { color: #B9A6AC; font-size: 14.5px; transition: color .18s ease; }
.site-footer a:hover { color: #fff; }
.site-footer ul { display: grid; gap: 10px; }
.footer-brand { font-family: var(--font-display); font-size: 26px; color: #fff; display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand small { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #8C7A82; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 13px; }

/* ---------- Плавающие кнопки ---------- */
.float-bar { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.float-bar a {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: var(--shadow-md); font-size: 24px; color: #fff; transition: transform .18s ease;
}
.float-bar a:hover { transform: translateY(-3px) scale(1.05); }
.float-bar .wa { background: #25D366; }
.float-bar .tg { background: #229ED9; }
.float-bar .call { background: var(--c-accent-deep); }

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
  .cards, .features, .gallery, .reviews { grid-template-columns: repeat(2, 1fr); }
  .trustbar { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 420px; }
  .master { grid-template-columns: 1fr; gap: 32px; }
  .master__photo { max-width: 380px; }
  .contacts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 66px; }
  .section { padding: 60px 0; }
  .cards, .features, .gallery, .reviews { grid-template-columns: 1fr; }
  .trustbar { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cta { padding: 40px 22px; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--c-bg); padding: 20px 24px; gap: 4px; border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-md); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s ease;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid var(--c-line); }
  .nav-toggle { display: grid; }
  .header-phone { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-actions .btn { display: none; }
}

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

/* ---------- Статьи блога ---------- */
.article h2 { margin-top: 44px; }
.article h3 { margin-top: 28px; font-size: 19px; }
.article p, .article li { font-size: 16.5px; }
.article ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; }
.article ol { padding-left: 22px; margin-bottom: 18px; }
.article li { margin-bottom: 8px; }
.article table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; background: #fff; border-radius: 12px; overflow: hidden; }
.article th, .article td { padding: 12px 16px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.article th { background: var(--c-accent-soft); font-weight: 700; }
.article tr:last-child td { border-bottom: 0; }
.article__lead { font-size: 18px; color: var(--c-ink-muted); }
.article__cta { margin-top: 36px; padding: 28px; background: var(--c-bg-soft); border-radius: var(--radius); }

/* ---------- Карта ---------- */
.map { position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Фотографии ---------- */
.hero__card, .gallery__item, .master__photo {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* ---------- Слайдер «до/после» ---------- */
.ba-wrap { max-width: 560px; margin: 0 auto 36px; }
.ba {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-md);
  user-select: none;
  background: #EADFD3;
}
.ba__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba__before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
  will-change: clip-path;
}
.ba__tag {
  position: absolute;
  top: 14px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ink);
}
.ba__tag--before { left: 14px; }
.ba__tag--after { right: 14px; }
.ba__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.35);
}
.ba__grip {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--c-accent-deep);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}
.ba__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
.ba__hint { text-align: center; font-size: 13px; color: var(--c-ink-muted); margin-top: 10px; }

