/* ══════════════════════════════════════════════════════════════════════
   ЛАБОРАТОРИЯ КРАСОТЫ · v4
   Базис: v2 (золотой минимализм)
   Стиль browup: розово-бежевая палитра, italic-курсивы, нумерация (01)
   Дополнения: FAB-кнопка, parallax-эффекты, reveal-анимации
   ══════════════════════════════════════════════════════════════════════ */

:root {
  /* Базовые тона */
  --ink:        #1A1815;
  --ink-soft:   #2E2A24;
  --paper:      #FAF6F0;       /* тёплый кремовый */
  --paper-2:    #F3ECDF;       /* пудровый */
  --rose-soft:  #F5E4DA;       /* розово-бежевый browup */
  --rose:       #E6C8B5;       /* пыльная роза */

  /* Акценты */
  --gold:       #B8935A;       /* золотой акцент v2 */
  --gold-bright:#D4B07A;       /* подсветка */
  --rose-deep:  #C99988;       /* приглушённая роза */

  /* Утилиты */
  --ash:        #8B7E6E;
  --line:       rgba(26,24,21,.10);
  --line-soft:  rgba(26,24,21,.05);

  /* Шрифты */
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'DM Sans', system-ui, -apple-system, sans-serif;
  --display:    'DM Sans', system-ui, sans-serif; /* было Unbounded — удалён для уменьшения количества шрифтов */

  --ease:       cubic-bezier(.22, 1, .36, 1);
  --t-base:     .55s var(--ease);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  /* Prevent rubber-band side-scroll on iOS Safari */
  overscroll-behavior-x: none;
  /* Forbid touch-induced sideways pan */
  touch-action: pan-y;
}
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Don't let body width exceed viewport — fixes "swaying" on mobile */
  width: 100%;
  max-width: 100vw;
  position: relative;
  cursor: none;
}
img { max-width: 100%; display: block; }
button, input, select { font-family: inherit; color: inherit; }
ul, li { list-style: none; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: var(--paper); }

/* ════════════ CUSTOM CURSOR ════════════ */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--paper);
  border-radius: 50%;
  pointer-events: none; z-index: 100000;
  transform: translate(-50%, -50%);
  transition: width .35s var(--ease), height .35s var(--ease), background .3s;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1px solid rgba(26,24,21,.4);
  border-radius: 50%;
  pointer-events: none; z-index: 99999;
  transform: translate(-50%, -50%);
  transition: all .4s var(--ease);
}

/* ════════════ NAV ════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 20px 36px;
  background: rgba(250,246,240,.85);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  transition: padding var(--t-base), background var(--t-base);
}
nav.scrolled {
  padding: 14px 40px;
  background: rgba(250,246,240,.96);
  box-shadow: 0 1px 0 var(--line);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  cursor: pointer;
}
.logo-side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}
.logo-word {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: none;     /* keep "Лаборатория" / "Красоты" with capital first letter only */
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
}
.logo-underline {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
}
.logo-icon {
  width: 56px; height: 72px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg {
  width: 100%;
  height: 100%;
  /* No constant animation — static by default */
  transform-origin: 50% 12%;
}
/* When .snip class is added (on click/scroll), play single snip animation */
.logo-icon.snip svg,
.footer-logo-icon.snip svg {
  animation: scissorSnip .55s ease-out;
}
@keyframes scissorSnip {
  0%   { transform: rotate(0deg) scale(1); }
  35%  { transform: rotate(-3deg) scale(0.93); }   /* close — blades pull together */
  55%  { transform: rotate(3deg) scale(0.93); }    /* the click */
  100% { transform: rotate(0deg) scale(1); }       /* back to rest */
}
/* Individual blade movement — left blade rotates slightly right, right blade left */
.logo-icon.snip .blade-left,
.footer-logo-icon.snip .blade-left {
  animation: bladeLeftSnip .55s ease-out;
  transform-origin: 50px 72px;
}
.logo-icon.snip .blade-right,
.footer-logo-icon.snip .blade-right {
  animation: bladeRightSnip .55s ease-out;
  transform-origin: 50px 72px;
}
@keyframes bladeLeftSnip {
  0%, 100% { transform: rotate(0deg); }
  45%      { transform: rotate(10deg); }
}
@keyframes bladeRightSnip {
  0%, 100% { transform: rotate(0deg); }
  45%      { transform: rotate(-10deg); }
}

/* Legacy class — keep for any old references */
.logo-text {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 2px;
  justify-self: center;
}
.nav-links a {
  font-size: 13px;
  letter-spacing: .015em;
  color: var(--ink-soft);
  position: relative;
  padding: 8px 10px;
  border-radius: 100px;
  transition: background .3s var(--ease), color .3s var(--ease);
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-weight: 500;
  background: transparent;
  white-space: nowrap;
}
.link-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 11px;
  color: var(--gold);
  opacity: .7;
  font-weight: 400;
  transition: color .3s var(--ease), opacity .3s var(--ease);
}
/* Номера (01)–(08) в верхнем меню убраны, чтобы все пункты + кнопка помещались.
   В мобильном меню используются отдельные .m-num — их это не затрагивает. */
.nav-links .link-num { display: none; }
.nav-links a:hover {
  background: var(--ink);
  color: var(--paper);
}
.nav-links a:hover .link-num {
  color: var(--gold-bright);
  opacity: 1;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: .02em;
  border-radius: 100px;
  border: 1px solid var(--ink);
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 500;
  transition: background .3s, color .3s, gap .3s, transform .3s;
  justify-self: end;
  white-space: nowrap;
}
.nav-cta-text { white-space: nowrap; }
.nav-cta-icon {
  width: 15px;
  height: 15px;
  color: currentColor;
  flex-shrink: 0;
}
.nav-cta:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--ink);
  cursor: pointer;
  padding: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  justify-self: end;
  position: relative;
  transition: background .3s, transform .3s;
}
.burger:hover {
  background: var(--ink);
}
.burger:hover span {
  background: var(--paper);
}
.burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s var(--ease), background .3s;
  transform-origin: center;
}
/* Burger → X animation when active */
.burger.active {
  background: var(--ink);
}
.burger.active span {
  background: var(--paper);
}
.burger.active span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.burger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.burger.active span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ════════════ MOBILE MENU ════════════ */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--paper);
  display: none;
  flex-direction: column;
  padding: 80px 32px 40px;
}
.mobile-menu.open { display: flex; }
.mobile-close {
  position: absolute; top: 18px; right: 24px;
  background: none; border: none;
  font-size: 36px; line-height: 1;
  cursor: none;
}
.mobile-menu ul {
  display: flex; flex-direction: column;
  gap: 4px;
  flex: 1;
}
.mobile-menu ul a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.01em;
}
.m-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--gold);
}
.mobile-actions {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.mobile-callback-btn {
  width: 100%;
  padding: 13px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .03em;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background .3s;
}
.mobile-callback-btn:hover, .mobile-callback-btn:active {
  background: var(--gold);
}
.mobile-socials {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}
.msoc {
  padding: 11px 6px;
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--ink);
  text-align: center;
  border-radius: 100px;
  background: var(--paper);
  transition: all .3s var(--ease);
}
.msoc-tg:hover, .msoc-tg:active { background: #229ED9; color: white; border-color: #229ED9; }
.msoc-wa:hover, .msoc-wa:active { background: #25D366; color: white; border-color: #25D366; }
.msoc-max:hover, .msoc-max:active { background: var(--gold); color: white; border-color: var(--gold); }
.mobile-contact {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--ash);
}
.mobile-contact a {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--gold);
}

/* ════════════════════════════════════════════════════════════════════
   REVEAL ANIMATION
   ════════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="100"].is-visible { transition-delay: .1s; }
.reveal[data-delay="200"].is-visible { transition-delay: .2s; }
.reveal[data-delay="300"].is-visible { transition-delay: .3s; }
.reveal[data-delay="400"].is-visible { transition-delay: .4s; }
.reveal[data-delay="500"].is-visible { transition-delay: .5s; }
.reveal[data-delay="600"].is-visible { transition-delay: .6s; }
.reveal[data-delay="800"].is-visible { transition-delay: .8s; }

/* Parallax base */
.parallax, .parallax-photo {
  will-change: transform;
}

/* ══════════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 92vh;                           /* was 100vh — slightly shorter */
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  /* На широких экранах контент центрируется (≤1480px), на узких отступы 40px */
  padding-top: 140px;
  padding-bottom: 130px;
  padding-left: max(40px, (100vw - 1480px) / 2);
  padding-right: max(40px, (100vw - 1480px) / 2);
  gap: 60px;
  position: relative;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 20%, var(--rose-soft) 0%, transparent 50%),
    var(--paper);
}
.hero::before {
  content: '';
  position: absolute;
  top: 30%; left: 10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(184,147,90,.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-text {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 600px;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  font-weight: 500;
}
.dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}
.dot-line {
  width: 32px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.6); }
}

.hero-h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 4.8vw, 72px);
  line-height: 1.02;
  letter-spacing: -.012em;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero-h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero-lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-lede strong {
  color: var(--ink);
  font-weight: 600;
}
.hero-lede em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 25px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .005em;
}

.hero-cta-row {
  display: flex; gap: 12px; align-items: center;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.btn-dark {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 28px;
  background: var(--ink); color: var(--paper);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background .3s var(--ease), transform .3s var(--ease);
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}
.btn-dark:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.btn-light {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 28px;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid var(--ink);
  cursor: pointer;
  font-family: var(--sans);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn-light:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.btn-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  transition: color .3s;
}
.btn-text:hover { color: var(--gold); }

.hero-meta {
  display: flex; gap: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
/* Variant: stats sit ABOVE the video in the right column, no top border */
.hero-meta.hero-meta-top {
  border-top: none;
  border-bottom: 1px solid var(--line);
  padding-top: 0;
  padding-bottom: 24px;
  margin-bottom: 28px;
  gap: 48px;
}
.hero-meta-top .meta-num {
  font-size: 60px;             /* was 76 — too big, was bumping into label */
  line-height: 1;
}
.hero-meta-top .meta-label {
  font-size: 11px;
  margin-top: 6px;
}
.meta-item { display: flex; flex-direction: column; gap: 10px; }
.meta-num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 46px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -.02em;
}
.meta-num em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.meta-label {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: none;
  color: var(--ink-soft);
  font-weight: 400;
  line-height: 1.4;
}

/* HERO VISUAL */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}
/* The video frame itself must NOT stretch — it sizes to the video */
.hero-visual .hero-video-frame {
  align-self: stretch;     /* width follows column */
  flex: 0 0 auto;          /* but height doesn't stretch in flex */
}

/* SCROLL INDICATOR — centered at bottom of hero */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--ink-soft);
  cursor: pointer;
  text-decoration: none;
  transition: color .3s;
}
.hero-scroll:hover { color: var(--gold); }
.hero-scroll .scroll-line {
  width: 1.5px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold) 0%, var(--gold) 50%, transparent 50%, transparent 100%);
  background-size: 100% 200%;
  background-position: 0 0;
  animation: scrollLine 1.8s ease-in-out infinite;
}
.hero-scroll .scroll-label {
  font-size: 10px;
  letter-spacing: .25em;
  font-weight: 500;
  text-transform: uppercase;
}
@keyframes scrollLine {
  0%   { background-position: 0 -100%; }
  50%  { background-position: 0 0; }
  100% { background-position: 0 100%; }
}

/* Frame hugs the video — no aspect-ratio, no extra height */
.hero-video-frame {
  position: relative;
  width: 100%;
  max-width: 740px;
  overflow: hidden;
  border-radius: 2px;
  margin: 0 auto;
  margin-left: 0;                  /* video aligns to left of right column */
  margin-right: 20px;               /* gap from right edge — clears FAB */
  box-shadow: 0 24px 60px rgba(26,24,21,.14),
              0 4px 16px rgba(26,24,21,.08);
  font-size: 0;
  line-height: 0;
  height: auto;
  display: block;
}
.hero-video-frame::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(184,147,90,.06) 100%);
  pointer-events: none;
  z-index: 2;
}
.hero-video-frame .hero-video {
  /* Block-level video — frame height = video's intrinsic height */
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: bottom;       /* removes any inline baseline gap */
  transition: transform 1.6s var(--ease);
}
.hero-video-frame:hover .hero-video { transform: scale(1.03); }

.hero-video-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(250,246,240,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 3;
  border-radius: 2px;
}

/* Legacy hero-img-frame (just in case) */
.hero-img-frame {
  position: relative;
  width: 100%; max-width: 520px;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
  background: var(--paper-2);
}
.hero-img-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(184,147,90,.08) 100%);
  pointer-events: none;
  z-index: 2;
}
.hero-img-frame img,
.hero-img-frame .hero-video {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease);
  display: block;
}
.hero-img-frame:hover img,
.hero-img-frame:hover .hero-video { transform: scale(1.04); }

.hero-img-tag, .hero-video-tag {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-img-tag {
  bottom: 30px; left: -30px;
  padding: 18px 24px;
  box-shadow: 0 20px 40px rgba(26,24,21,.08);
}
.tag-label {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ash);
}
.tag-label em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  text-transform: none;
  letter-spacing: 0;
}
.tag-text {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
}
.hero-img-tag .tag-text { font-size: 20px; }

.hero-floater {
  position: absolute;
  top: 20px; right: -10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ash);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.hero-floater em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--gold);
  text-transform: none;
}

/* ══════════════════════════════════════════════════════════════════════
   MARQUEE
   ══════════════════════════════════════════════════════════════════════ */
.marquee {
  background: var(--ink);
  color: var(--paper);
  padding: 24px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  width: max-content;
  animation: marq 38s linear infinite;
}
.marquee-track span {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 32px;
  color: var(--paper);
}
.marquee-track span em {
  font-style: italic;
  color: var(--gold-bright);
}
@keyframes marq {
  to { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════════════════════
   SECTION HEAD (browup style)
   ══════════════════════════════════════════════════════════════════════ */
.head-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.head-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
}
.head-num em {
  font-style: italic;
}
.head-label {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ash);
}

/* ══════════════════════════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════════════════════════ */
.about {
  padding: 80px 40px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  max-width: 1480px;
  margin: 0 auto;
}

.about-head {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}
.about-head .head-meta {
  justify-content: center;
}
.about-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
}
.about-label {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ash);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}
.about-photo {
  position: relative;
}
.about-photos {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  aspect-ratio: 1 / 1;
}
.about-photos .ap-main {
  grid-column: 1;
  grid-row: 1 / 3;
}
.about-photos .about-photo-frame {
  aspect-ratio: auto;
}
.about-photos .about-photo-frame img {
  height: 100%;
  transform: none;
}
.about-photo-frame {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--paper-2);
  border-radius: 2px;
  position: relative;
}
.about-photo-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(184,147,90,.08) 100%);
  pointer-events: none;
}
.about-photo-frame img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  transform: translateY(-5%);
  transition: filter .5s, transform .1s linear;
  filter: grayscale(8%);
}
.about-photo:hover .about-photo-frame img {
  filter: grayscale(0%);
}
.about-photo-tag {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 20px 40px rgba(26,24,21,.08);
  z-index: 2;
}
.about-photo-tag .tag-label {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ash);
}
.about-photo-tag .tag-label em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  text-transform: none;
  letter-spacing: 0;
}
.about-photo-tag .tag-text {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
}
.about-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 3.8vw, 56px);
  line-height: 1.05;
  letter-spacing: -.018em;
  color: var(--ink);
}
.about-h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.about-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* Values grid — browup style with dots */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 48px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}
.value-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 8px 0;
}
.value-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--rose);
  flex-shrink: 0;
  margin-top: 8px;
  position: relative;
  transition: transform .4s var(--ease), background .3s;
}
.value-dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--rose);
  opacity: 0;
  transition: all .4s var(--ease);
}
.value-card:hover .value-dot {
  background: var(--gold);
  transform: scale(1.2);
}
.value-card:hover .value-dot::after {
  opacity: .5;
  inset: -10px;
}
.value-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.value-card p em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
  font-weight: 400;
}
.value-card p strong {
  font-weight: 400;
}

/* ══════════════════════════════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════════════════════════════ */
.services {
  padding: 80px 40px;
  background: var(--paper-2);
  max-width: 1480px;
  margin: 0 auto;
}

.services-head {
  max-width: 1280px;
  margin: 0 auto 40px;
}
.services-h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: .98;
  letter-spacing: -.02em;
  color: var(--ink);
}
.services-h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.svc-tabs-wrap {
  max-width: 1280px;
  margin: 0 auto 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.svc-tabs-wrap::-webkit-scrollbar { display: none; }
.svc-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: nowrap;
}
.svc-tab {
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  padding: 12px 22px;
  border-radius: 100px;
  cursor: none;
  white-space: nowrap;
  transition: all .3s var(--ease);
}
.svc-tab:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(184,147,90,.04);
}
.svc-tab.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.svc-panel { display: none; max-width: 1280px; margin: 0 auto; }
.svc-panel.active {
  display: block;
  animation: fadeUp .5s var(--ease);
}

.svc-intro {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--ink);
  max-width: 800px;
  margin-bottom: 48px;
  padding-left: 24px;
  border-left: 2px solid var(--gold);
}
.svc-intro em {
  font-style: italic;
  color: var(--gold);
}

.svc-rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.svc-row {
  display: grid;
  grid-template-columns: 200px 1fr 1.5fr auto;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .3s, padding .3s;
}
.svc-row:hover {
  padding-left: 16px;
  background: linear-gradient(to right, var(--rose-soft) 0%, transparent 80%);
}
.svc-row-meta {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.svc-row-meta span {
  display: inline-block;
  padding: 5px 12px;
  background: var(--gold);
  color: var(--paper);
  border-radius: 100px;
}
.svc-row-meta em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
}
.svc-row:not(.featured) .svc-row-meta { visibility: hidden; }
.svc-row-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}
.svc-row-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ash);
}
.svc-row-price {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  color: var(--ink);
  white-space: nowrap;
  text-align: right;
}
.svc-row-price em {
  font-style: italic;
  color: var(--gold);
}
.svc-row.featured .svc-row-name { font-weight: 500; }

/* ══════════════════════════════════════════════════════════════════════
   SALON GALLERY (asymmetric with parallax)
   ══════════════════════════════════════════════════════════════════════ */
.salon {
  padding: 80px 40px;
  background: var(--paper);
  max-width: 1480px;
  margin: 0 auto;
}

.salon-head {
  max-width: 1280px;
  margin: 0 auto 40px;
}
.salon-h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: .98;
  letter-spacing: -.02em;
  color: var(--ink);
}
.salon-h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.salon-lede {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 580px;
  margin-top: 24px;
}

.salon-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 100px;
  gap: 16px;
}
.salon-cell {
  overflow: hidden;
  position: relative;
  cursor: none;
  background: var(--paper-2);
}
.salon-cell img {
  width: 100%; height: 110%;        /* +10% для parallax-сдвига */
  object-fit: cover;
  transition: filter .5s, transform .1s linear;
  filter: grayscale(15%);
  transform: translateY(-5%);
}
.salon-cell:hover img {
  filter: grayscale(0%);
}

.s-1  { grid-column: span 5; grid-row: span 4; }
.s-2  { grid-column: span 4; grid-row: span 3; }
.s-3  { grid-column: span 3; grid-row: span 3; }
.s-4  { grid-column: span 3; grid-row: span 4; }
.s-5  { grid-column: span 4; grid-row: span 4; }
.s-6  { grid-column: span 5; grid-row: span 3; }
.s-7  { grid-column: span 4; grid-row: span 3; }
.s-8  { grid-column: span 3; grid-row: span 4; }
.s-9  { grid-column: span 5; grid-row: span 3; }
.s-10 { grid-column: span 5; grid-row: span 4; }

/* ══════════════════════════════════════════════════════════════════════
   PORTFOLIO (parallax)
   ══════════════════════════════════════════════════════════════════════ */
.portfolio {
  padding: 80px 40px;
  background: var(--paper-2);
  max-width: 1480px;
  margin: 0 auto;
}

.portfolio-head {
  max-width: 1280px;
  margin: 0 auto 40px;
}
.portfolio-h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: .98;
  letter-spacing: -.02em;
  color: var(--ink);
}
.portfolio-h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.portfolio-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.portfolio-item {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: none;
  background: var(--paper);
}
.portfolio-item img {
  width: 100%; height: 110%;
  object-fit: cover;
  transition: filter .4s, transform .1s linear;
  transform: translateY(-5%);
}
.portfolio-item figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(26,24,21,.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .4s;
}
.portfolio-item:hover figcaption { opacity: 1; }
.p-tech {
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 4px;
}
.p-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--paper);
}
.p-name em {
  font-style: italic;
  color: var(--gold-bright);
}

.p-1 { grid-column: span 2; grid-row: span 2; }

/* ══════════════════════════════════════════════════════════════════════
   MASTER
   ══════════════════════════════════════════════════════════════════════ */
.master {
  padding: 110px 40px;
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  max-width: 1480px;
  margin: 0 auto;
  align-items: center;
}

/* ▶ DARK variant — фон на всю ширину, контент по центру */
.master-dark {
  background: var(--ink);
  color: var(--paper);
  max-width: none;
  border-top: 1px solid rgba(255,255,255,.06);
  display: block;
  padding: 80px 60px;
}
/* Внутренний контейнер — центрирует контент, не даёт ему расползаться */
.master-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1360px;
  margin: 0 auto;
}

.master-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 500;
}
.master-dark .dot-line {
  background: var(--gold);
}

.master-img-col {
  position: relative;
}

/* SLIDER */
.master-slider {
  position: relative;
  max-width: 460px;       /* smaller — fits whole block on screen */
  margin: 0 auto;
}
.master-slide {
  display: none;
  opacity: 0;
  transition: opacity .4s ease;
}
.master-slide.active {
  display: block;
  opacity: 1;
}
.master-img-wrap {
  overflow: hidden;
  width: 100%;
  position: relative;
  border-radius: 2px;
}
.master-img-col img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform .8s var(--ease);
  display: block;
}
.master-img-wrap:hover img { transform: scale(1.03); }

/* PLACEHOLDER for missing master photos */
.master-img-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.08) 100%);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
}
.master-img-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.empty-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 38px;
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  background: rgba(184,147,90,.06);
}
.empty-hint {
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(250,246,240,.4);
}

.master-img-caption {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  color: var(--paper);
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.mic-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -.005em;
  margin-bottom: 2px;
}
.mic-role {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  font-weight: 500;
}

.master-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.m-tag {
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 2px;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper);
  font-weight: 500;
  transition: border-color .3s, background .3s;
}
.m-tag:hover {
  border-color: var(--gold);
  background: rgba(184,147,90,.08);
}

/* SLIDER ARROWS */
.master-arrow {
  position: absolute;
  top: 35%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(26, 24, 21, .65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--paper);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background .3s, transform .3s, border-color .3s;
}
.master-arrow svg { width: 22px; height: 22px; }
.master-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.08);
}
.master-arrow-prev { left: 12px; transform: translateY(-50%); }
.master-arrow-next { right: 12px; transform: translateY(-50%); }
.master-arrow-prev:hover { transform: translateY(-50%) scale(1.08); }
.master-arrow-next:hover { transform: translateY(-50%) scale(1.08); }

/* SLIDER DOTS — sit BELOW the tags */
.master-dots {
  position: relative;
  display: flex;
  gap: 10px;
  z-index: 5;
  justify-content: center;
  margin-top: 28px;
  padding-bottom: 6px;
}
/* Навигация слайдера мастеров — стрелки */
.master-nav {
  position: relative;
  z-index: 5;
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
  padding-bottom: 6px;
}
.master-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.05);
  color: var(--paper);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.master-nav-btn svg { width: 22px; height: 22px; }
.master-nav-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.master-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .3s, border-color .3s, transform .3s;
}
.master-dot:hover {
  border-color: var(--gold);
}
.master-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.2);
}

/* ▶ Old (light) stamp — keep for any legacy */
.master-img-stamp {
  position: absolute;
  bottom: -30px; right: -30px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: spin 20s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.master-img-stamp .big {
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: 0;
  text-transform: none;
}
.master-img-stamp .big em {
  font-style: italic;
}

.master-text-col {
  max-width: 580px;
}
.master-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 4.8vw, 72px);
  line-height: .98;
  letter-spacing: -.015em;
  color: var(--paper);
  margin-bottom: 16px;
}
.master-h2 em {
  display: block;
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.master-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--gold);
  margin-bottom: 20px;
  position: relative;
}
.master-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--ink);
}

.master-lede {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(250,246,240,.72);
  margin-bottom: 32px;
  max-width: 500px;
}
.master-dark .master-lede em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
}
.master-dark .master-lede strong {
  font-weight: 600;
  color: var(--paper);
}

/* Points list — more compact */
.master-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.master-point {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 2px;
  transition: border-color .35s var(--ease), background .35s var(--ease);
  align-items: start;
}
.master-point:hover {
  border-color: var(--gold);
  background: rgba(184,147,90,.05);
}
.mp-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
  padding-top: 2px;
}
.mp-title {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 6px;
}
.mp-desc {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(250,246,240,.68);
}

/* Old creds — keep for legacy if used elsewhere */
.master-creds {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.cred {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.cred-label {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ash);
  padding-top: 4px;
}
.cred-value {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.cred-value em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--gold);
}

/* ══════════════════════════════════════════════════════════════════════
   REVIEWS
   ══════════════════════════════════════════════════════════════════════ */
.reviews {
  padding: 80px 40px;
  background: var(--ink);
  color: var(--paper);
}

.reviews-head {
  max-width: 1280px;
  margin: 0 auto 48px;
}
.reviews-head .head-num em { color: var(--gold-bright); }
.reviews-head .head-label { color: rgba(250,246,240,.5); }
.reviews-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.reviews-h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: .98;
  letter-spacing: -.02em;
  color: var(--paper);
}
.reviews-h2 em {
  font-style: italic;
  color: var(--gold-bright);
  font-weight: 400;
}
.reviews-rating {
  text-align: right;
  border-left: 1px solid rgba(250,246,240,.15);
  padding-left: 28px;
}
.rating-num {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  color: var(--paper);
  font-weight: 300;
}
.rating-num span {
  font-size: 24px;
  color: rgba(250,246,240,.4);
  margin-left: 2px;
}
.rating-stars {
  color: var(--gold-bright);
  font-size: 22px;
  letter-spacing: 2px;
  margin-top: 4px;
}
.rating-source {
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(250,246,240,.55);
  line-height: 1.5;
  margin-top: 10px;
}

.reviews-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.review {
  background: rgba(250,246,240,.04);
  border: 1px solid rgba(250,246,240,.08);
  border-radius: 8px;
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background .3s, border-color .3s, transform .3s;
}
.review:hover {
  background: rgba(250,246,240,.06);
  border-color: rgba(184,147,90,.4);
  transform: translateY(-3px);
}
.review-top {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
}
.r-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
  text-transform: uppercase;
}
.r-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.r-author {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--paper);
  letter-spacing: .005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.r-stars {
  color: var(--gold-bright);
  font-size: 12px;
  letter-spacing: 1px;
  line-height: 1;
}
.r-date {
  font-size: 11px;
  color: rgba(250,246,240,.45);
  letter-spacing: .02em;
  white-space: nowrap;
}
.review p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(250,246,240,.82);
  flex: 1;
  margin: 0;
}
.review p em {
  font-style: normal;
  font-weight: 500;
  color: var(--paper);
}
.review footer {
  padding-top: 12px;
  border-top: 1px solid rgba(250,246,240,.08);
}
.r-source-badge {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: .03em;
  font-weight: 500;
}
.r-source-badge.yandex { background: rgba(255, 204, 0, .14); color: #FFCC00; }
.r-source-badge.zoon   { background: rgba(255, 99, 71, .14); color: #ff7c5f; }
.r-source-badge.kn     { background: rgba(184,147,90,.14); color: var(--gold-bright); }

/* Источники / внешние ссылки на reviews.html */
.reviews-sources {
  max-width: 1280px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.rsrc {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: rgba(250,246,240,.04);
  border: 1px solid rgba(250,246,240,.1);
  border-radius: 8px;
  color: var(--paper);
  transition: background .25s, border-color .25s, transform .25s;
}
.rsrc:hover {
  background: rgba(250,246,240,.07);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.rsrc-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.rsrc-yandex .rsrc-icon { background: #FFCC00; color: #000; }
.rsrc-zoon   .rsrc-icon { background: #ff7c5f; color: #fff; }
.rsrc-2gis   .rsrc-icon { background: #38b03f; color: #fff; }
.rsrc-body { display: flex; flex-direction: column; gap: 2px; }
.rsrc-label {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
}
.rsrc-link {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--gold-bright);
}

/* ══════════════════════════════════════════════════════════════════════
   BLOG TEASER — preview block before booking
   ══════════════════════════════════════════════════════════════════════ */
.blog-teaser {
  padding: 100px 40px 80px;
  max-width: 1480px;
  margin: 0 auto;
  background: var(--paper);
}
.blog-teaser-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.blog-teaser-h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  margin: 20px 0 24px;
  letter-spacing: -.01em;
}
.blog-teaser-h2 em {
  font-style: italic;
  color: var(--gold);
}
.blog-teaser-lede {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 480px;
}
.blog-teaser-lede em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
}
.blog-teaser-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.bt-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--ink);
}
.bt-feature-icon {
  color: var(--gold);
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}
.bt-feature-text { line-height: 1.5; }

.blog-teaser-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.blog-teaser-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bt-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 24px 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-decoration: none;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  cursor: pointer;
}
.bt-card:hover {
  border-color: var(--gold);
  transform: translateX(8px);
  box-shadow: 0 10px 28px rgba(184,147,90,.12);
}
.bt-card-tag {
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  padding: 6px 12px;
  border: 1px solid var(--gold);
  border-radius: 100px;
  white-space: nowrap;
}
.bt-card-title {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.3;
  color: var(--ink);
  font-weight: 400;
}
.bt-card-arrow {
  font-size: 22px;
  color: var(--gold);
  transition: transform .25s;
}
.bt-card:hover .bt-card-arrow { transform: translateX(6px); }

/* ══════════════════════════════════════════════════════════════════════
   BOOKING
   ══════════════════════════════════════════════════════════════════════ */
.booking {
  padding: 80px 40px;
  background: var(--rose-soft);
  max-width: 1480px;
  margin: 0 auto;
}

.booking-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

/* Simple booking layout — left: heading + buttons; right: contacts */
.booking-grid-simple {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.booking-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.btn-big {
  padding: 20px 32px;
  font-size: 13px;
}
.booking-right {
  display: flex;
  align-items: center;
  justify-content: center;
}
.booking-right .booking-contacts {
  width: 100%;
  max-width: 480px;
}

.booking-left {
  position: sticky;
  top: 120px;
}
.booking-h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(56px, 7vw, 110px);
  line-height: .9;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 28px;
}
.booking-h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.booking-lede {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 48px;
  max-width: 440px;
}
.booking-lede em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--gold);
}

.booking-contacts {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.b-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .3s;
}
.b-contact:hover { padding-left: 12px; }
.b-c-label {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ash);
}
.b-c-value {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
}
.b-c-value em {
  font-style: italic;
  color: var(--gold);
}
a.b-contact:hover .b-c-value { color: var(--gold); }

/* Form */
.booking-form {
  background: var(--paper);
  padding: 48px;
  position: relative;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(26,24,21,.06);
}
.bf-row {
  margin-bottom: 24px;
  position: relative;
}
.bf-row label {
  display: block;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 10px;
}
.bf-row input, .bf-row select {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink);
  outline: none;
  font-family: var(--sans);
  transition: border-color .3s;
  appearance: none;
}
.bf-row input:focus, .bf-row select:focus { border-color: var(--gold); }
.bf-row input::placeholder { color: var(--ash); }

/* Master level selector — 3 pills */
.master-level-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.ml-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  cursor: pointer;
  transition: border-color .3s, background .3s, transform .3s;
  text-align: center;
  position: relative;
}
.ml-pill input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ml-pill .ml-text {
  display: block;            /* full row, name on its own line */
  width: 100%;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink);
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  text-align: center;
}
.ml-pill .ml-price {
  display: block;            /* price on its OWN line, below the name */
  width: 100%;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  white-space: nowrap;
  line-height: 1;
  text-align: center;
}
.ml-pill:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}
.ml-pill:has(input[type="radio"]:checked) {
  border-color: var(--ink);
  background: var(--ink);
}
.ml-pill:has(input[type="radio"]:checked) .ml-text { color: var(--paper); }
.ml-pill:has(input[type="radio"]:checked) .ml-price { color: var(--gold-bright); }

.bf-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.date-picker {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.date-btn {
  aspect-ratio: 1;
  background: transparent;
  border: 1px solid var(--line);
  cursor: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px;
  transition: all .25s;
}
.date-btn-day {
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ash);
}
.date-btn-num {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
}
.date-btn:hover { border-color: var(--gold); }
.date-btn:hover .date-btn-num { color: var(--gold); }
.date-btn.selected {
  background: var(--ink);
  border-color: var(--ink);
}
.date-btn.selected .date-btn-day { color: var(--gold-bright); }
.date-btn.selected .date-btn-num { color: var(--paper); }

.time-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.time-slot {
  background: transparent;
  border: 1px solid var(--line);
  padding: 11px 8px;
  text-align: center;
  font-size: 13px;
  color: var(--ink);
  cursor: none;
  transition: all .25s;
}
.time-slot:hover { border-color: var(--gold); color: var(--gold); }
.time-slot.selected {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.time-slot.busy {
  opacity: .25;
  text-decoration: line-through;
  pointer-events: none;
}

.bf-note {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ash);
  margin: 20px 0;
}

.bf-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.bf-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  cursor: pointer;
  accent-color: var(--ink);
  flex-shrink: 0;
}
.bf-consent span {
  flex: 1;
}
.bf-consent a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(184, 147, 90, 0.4);
  transition: text-decoration-color .3s;
}
.bf-consent a:hover {
  text-decoration-color: var(--gold);
}

.submit-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  letter-spacing: .02em;
  border: none;
  border-radius: 100px;
  cursor: none;
  transition: background .3s, gap .3s;
}
.submit-btn:hover { background: var(--gold); gap: 18px; }
.submit-btn:disabled { opacity: .6; cursor: default; }

#booking-success {
  display: none;
  text-align: center;
  padding: 32px 16px;
  background: var(--paper-2);
  margin-top: 16px;
}
#booking-success.visible { display: block; }
#booking-success .success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--paper);
  font-size: 28px;
  line-height: 56px;
  margin: 0 auto 16px;
}
#booking-success .success-title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 8px;
}
#booking-success .success-title em {
  color: var(--gold);
  font-style: italic;
}
#booking-success .success-text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════ */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 40px 40px;
}
.footer-top {
  max-width: 1480px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(250,246,240,.1);
  margin-bottom: 60px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-logo-icon {
  width: 48px; height: 62px;
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer-logo-word {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--paper);
  line-height: 1;
  white-space: nowrap;
  position: relative;
  padding-bottom: 6px;
}
.footer-logo-word::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--paper);
  border-radius: 1px;
}
.footer-logo-text {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper);
  line-height: 1;
}
.footer-tag {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ash);
}
.footer-tag em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold-bright);
  letter-spacing: 0;
  text-transform: none;
  margin-right: 4px;
}

.footer-grid {
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col li, .footer-col a {
  font-size: 14px;
  color: rgba(250,246,240,.65);
  transition: color .3s;
}
.footer-col a:hover { color: var(--gold-bright); }

.footer-bottom {
  max-width: 1480px;
  margin: 60px auto 0;
  padding-top: 32px;
  padding-right: 120px;          /* clear space for the FAB in bottom-right */
  border-top: 1px solid rgba(250,246,240,.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(250,246,240,.4);
}
.footer-bottom em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-bright);
}
.footer-legal-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-legal-links a {
  color: rgba(250,246,240,.6);
  transition: color .3s;
}
.footer-legal-links a:hover {
  color: var(--gold-bright);
}
.footer-sep {
  color: rgba(250,246,240,.3);
}

/* ══════════════════════════════════════════════════════════════════════
   FAB — floating action button (MOBILE ONLY, always visible)
   ══════════════════════════════════════════════════════════════════════ */
.fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: flex;                    /* visible on ALL screens */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: none;
  font-family: var(--sans);
  box-shadow: 0 12px 32px rgba(184,147,90,.35),
              0 4px 12px rgba(26,24,21,.2);
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s;
  text-align: center;
  line-height: 1;
  text-decoration: none;
}
.fab-icon {
  width: 20px;
  height: 20px;
  color: var(--paper);
}
.fab:hover, .fab:active {
  background: var(--gold);
  transform: scale(1.06);
  box-shadow: 0 16px 40px rgba(184,147,90,.5),
              0 4px 12px rgba(26,24,21,.2);
}

.fab-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: .6;
  animation: fabPulse 2.4s var(--ease) infinite;
  pointer-events: none;
}
.fab-ring-2 {
  animation-delay: 1.2s;
}
@keyframes fabPulse {
  0% {
    transform: scale(1);
    opacity: .8;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

.fab-text {
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--paper);
  font-weight: 600;
  line-height: 1.15;
}

/* ══════════════════════════════════════════════════════════════════════
   SIDE BUTTONS — vertical column on right side (desktop)
   ══════════════════════════════════════════════════════════════════════ */
.side-buttons {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease);
}
.side-buttons.visible {
  opacity: 1;
  pointer-events: auto;
}
.side-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(26,24,21,.08);
  transition: all .3s var(--ease);
}
.side-btn svg {
  width: 22px;
  height: 22px;
}
.side-btn:hover {
  transform: translateX(-4px);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 10px 24px rgba(26,24,21,.18);
}
.side-btn-tg:hover { background: #229ED9; }
.side-btn-wa:hover { background: #25D366; }
.side-btn-max:hover { background: var(--gold); }
.side-btn-vk:hover { background: #0077FF; }
.side-btn-callback:hover { background: var(--gold); }

.side-btn-tip {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--ink);
  color: var(--paper);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all .3s var(--ease);
}
.side-btn:hover .side-btn-tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.side-btn-max-text {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════════════
   PARTICLES CANVAS
   ══════════════════════════════════════════════════════════════════════ */
.particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: .6;
}
.hero { position: relative; }
.hero-text, .hero-visual { position: relative; z-index: 2; }

/* ══════════════════════════════════════════════════════════════════════
   CALLBACK MODAL
   ══════════════════════════════════════════════════════════════════════ */
.callback-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(26,24,21,.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.callback-modal.visible {
  display: flex;
  opacity: 1;
}
.callback-box {
  background: var(--paper);
  width: 100%;
  max-width: 480px;
  padding: 48px;
  position: relative;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(26,24,21,.3);
  transform: translateY(30px) scale(.96);
  transition: transform .4s var(--ease);
  max-height: 90vh;
  overflow-y: auto;
}
.callback-modal.visible .callback-box {
  transform: translateY(0) scale(1);
}
.callback-close {
  position: absolute;
  top: 18px; right: 24px;
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: var(--ash);
  cursor: pointer;
  transition: color .3s;
}
.callback-close:hover { color: var(--ink); }

.callback-h {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 38px;
  line-height: .98;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 16px;
}
.callback-h em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.callback-lede {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 32px;
}

#callback-success {
  display: none;
  text-align: center;
  padding: 24px 16px;
  background: var(--paper-2);
  margin-top: 16px;
}
#callback-success.visible { display: block; }
#callback-success .success-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--paper);
  font-size: 24px;
  line-height: 48px;
  margin: 0 auto 12px;
}
#callback-success .success-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 6px;
}
#callback-success .success-title em { color: var(--gold); font-style: italic; }
#callback-success .success-text {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Планшеты (1181–1366): бургер-меню — 8 разделов + кнопка не помещаются в строку */
@media (max-width: 1366px) and (min-width: 1181px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  nav { grid-template-columns: 1fr auto auto; }
  .hero { min-height: auto; padding: 116px 48px 88px; }
}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1180px) {
  nav {
    padding: 14px 20px;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }
  nav.scrolled { padding: 10px 20px; }
  .nav-links { display: none; }
  /* Smaller logo on tablet */
  .nav-logo { gap: 6px; }
  .logo-icon { width: 30px; height: 38px; }
  .logo-word { font-size: 14px; letter-spacing: .015em; }
  .logo-side { gap: 3px; }
  .logo-underline { height: 1px; }
  /* nav-cta compact on tablet */
  .nav-cta { padding: 8px 14px; font-size: 11px; gap: 5px; }
  .nav-cta-icon { width: 12px; height: 12px; }
  .burger { display: flex; }
  .side-buttons { right: 16px; gap: 10px; }
  .side-btn { width: 46px; height: 46px; }
  .side-btn svg { width: 18px; height: 18px; }

  .hero {
    grid-template-columns: 1fr;
    padding: 100px 24px 70px;
    gap: 36px;
  }
  .hero-visual { order: -1; max-width: 100%; }
  .hero-img-frame { max-width: 100%; aspect-ratio: 4/3; }
  .hero-video-frame { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-img-tag { left: 16px; bottom: 16px; }
  .hero-floater { display: none; }
  .hero-meta { gap: 28px; }
  .hero-meta.hero-meta-top { padding-bottom: 18px; margin-bottom: 20px; gap: 24px; }
  .meta-num { font-size: 42px; }
  .hero-meta-top .meta-num { font-size: 32px; }
  .meta-label { font-size: 10px; }
  .hero-scroll { bottom: 18px; }
  .hero-scroll .scroll-line { height: 36px; }

  .about, .services, .salon, .portfolio, .master, .reviews, .booking {
    padding: 60px 24px;
  }
  .about-grid { grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
  .about-photo-tag { right: 16px; bottom: -16px; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 28px 32px; padding-top: 32px; }

  .master-inner { grid-template-columns: 1fr; gap: 40px; }
  .master-dark { padding: 60px 24px; }
  /* На планшете и телефоне текстовый блок «Мастера» — по центру */
  .master-text-col {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    padding-right: 0;
    text-align: center;
  }
  .master-eyebrow { justify-content: center; }
  .master-dot { margin-left: auto; margin-right: auto; }
  .master-lede { margin-left: auto; margin-right: auto; }
  .master-points { text-align: left; }
  .master-point { padding: 14px 18px; gap: 14px; grid-template-columns: 36px 1fr; }
  .mp-num { font-size: 20px; }
  .master-img-stamp {
    width: 120px; height: 120px;
    bottom: -20px; right: -20px;
  }
  .master-img-stamp .big { font-size: 26px; }

  .booking-grid { grid-template-columns: 1fr; gap: 60px; }
  .booking-grid-simple { grid-template-columns: 1fr; gap: 40px; }
  .blog-teaser { padding: 70px 24px 60px; }
  .blog-teaser-inner { grid-template-columns: 1fr; gap: 50px; }
  .bt-card { padding: 18px 20px; gap: 12px; }
  .bt-card-title { font-size: 17px; }
  .booking-cta-row { flex-direction: column; align-items: stretch; }
  .booking-cta-row .btn-dark,
  .booking-cta-row .btn-light { width: 100%; justify-content: center; }
  .booking-left { position: static; }
  .booking-left { position: static; }
  .booking-form { padding: 32px 24px; }

  .salon-grid { grid-auto-rows: 80px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr 1fr; }

  .svc-row {
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
    align-items: start;
  }
  .svc-row-meta { grid-column: 1 / 3; order: -1; }
  .svc-row:not(.featured) .svc-row-meta { display: none; }
  .svc-row-name { font-size: 22px; }
  .svc-row-desc { grid-column: 1 / 3; }
  .svc-row-price { grid-row: 2; }

  .footer-top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-logo-main { font-size: 38px; }
  .footer-logo-sup { font-size: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }

  /* Иконки месенджеров на мобильной — белые, вертикально, по центру справа (как на планшете) */
  .side-buttons {
    display: flex;
    flex-direction: column;       /* вертикально */
    right: 12px;                  /* справа */
    left: auto;
    top: 50%;                     /* по центру по вертикали */
    bottom: auto;
    transform: translateY(-50%);
    gap: 10px;
    z-index: 95;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .side-btn {
    width: 46px;
    height: 46px;
  }
  .side-btn svg { width: 18px; height: 18px; }
  .side-btn-max-text { font-size: 14px; }
  .side-btn-tip { display: none; }
  /* Когда открыто мобильное меню — прячем плавающие кнопки, чтобы не перекрывали */
  #mobile-menu.open ~ .side-buttons,
  #mobile-menu.open ~ .fab { display: none; }
  /* nav-cta becomes icon-only round button on phones */
  .nav-cta {
    padding: 0;
    width: 38px;
    height: 38px;
    gap: 0;
    justify-content: center;
  }
  .nav-cta-text { display: none; }
  .nav-cta-icon { width: 16px; height: 16px; }
  nav { grid-template-columns: 1fr auto auto; gap: 10px; padding: 14px 16px; }
  .callback-box { padding: 32px 24px; }
  .callback-h { font-size: 30px; }

  .nav-logo { gap: 4px; }
  .logo-icon { width: 26px; height: 32px; }
  .logo-word { font-size: 11px; letter-spacing: .015em; }
  .logo-side { gap: 2px; }
  .logo-underline { height: 1px; }
  .logo-text { font-size: 12px; letter-spacing: .12em; }

  .hero {
    padding: 80px 20px 60px;
    gap: 32px;
    min-height: auto;
  }
  .hero-text { padding-left: 0; }
  .hero-h1 { font-size: clamp(36px, 11vw, 56px); margin-bottom: 18px; }
  .hero-lede em { font-size: 22px; }
  .hero-lede { margin-bottom: 24px; }
  .hero-cta-row { margin-bottom: 32px; }
  .hero-meta { gap: 24px; flex-wrap: wrap; padding-top: 20px; }
  .hero-meta.hero-meta-top { padding-bottom: 16px; margin-bottom: 18px; gap: 20px; }
  .meta-num { font-size: 36px; }
  .hero-meta-top .meta-num { font-size: 28px; }
  .meta-label { font-size: 10px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta-row .btn-text { text-align: center; }
  .hero-scroll { display: none; }       /* hide scroll on phones */
  .hero-img-frame {
    aspect-ratio: 4/5;
    min-height: 380px;
  }
  .hero-video-frame {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;          /* no left shift on mobile */
  }
  .hero-video-tag { padding: 8px 12px; }
  .hero-video-tag .tag-label { font-size: 9px; }
  .hero-video-tag .tag-text { font-size: 14px; }
  .hero-img-frame img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
  .hero-video-frame .hero-video {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .about-photo-frame { aspect-ratio: 4/5; }
  .about-photo-tag {
    right: 12px;
    bottom: -12px;
    padding: 12px 16px;
  }
  .about-photo-tag .tag-text { font-size: 16px; }

  .about, .services, .salon, .portfolio, .master, .reviews, .booking {
    padding: 50px 20px;
  }
  .about-h2 { font-size: clamp(28px, 8vw, 42px); }
  .values-grid { grid-template-columns: 1fr; gap: 22px; padding-top: 24px; }
  .value-card p em { font-size: 17px; }

  .services-h2, .salon-h2, .portfolio-h2,
  .master-h2, .reviews-h2, .booking-h2 {
    font-size: clamp(34px, 10vw, 52px);
  }
  .svc-intro { font-size: 20px; padding-left: 16px; }
  .svc-row-name { font-size: 20px; }
  .svc-row-price { font-size: 20px; }

  .salon-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 100px;
    gap: 8px;
  }
  .s-1 { grid-column: span 6; grid-row: span 3; }
  .s-2 { grid-column: span 3; grid-row: span 2; }
  .s-3 { grid-column: span 3; grid-row: span 2; }
  .s-4 { grid-column: span 6; grid-row: span 3; }
  .s-5 { grid-column: span 3; grid-row: span 2; }
  .s-6 { grid-column: span 3; grid-row: span 2; }
  .s-7 { grid-column: span 6; grid-row: span 2; }
  .s-8 { grid-column: span 3; grid-row: span 2; }
  .s-9 { grid-column: span 3; grid-row: span 2; }
  .s-10 { grid-column: span 6; grid-row: span 3; }

  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .p-1 { grid-column: span 2; grid-row: span 1; }

  .reviews-grid { grid-template-columns: 1fr; gap: 14px; }
  .review { padding: 22px 22px 20px; }
  .review p { font-size: 14.5px; }
  .reviews-head-row { gap: 24px; }
  .reviews-rating { text-align: left; border-left: none; border-top: 1px solid rgba(250,246,240,.15); padding-left: 0; padding-top: 18px; width: 100%; }
  .rating-num { font-size: 44px; }
  .reviews-sources { grid-template-columns: 1fr; gap: 10px; }
  .rsrc { padding: 14px 18px; }
  .reviews-cta { padding: 24px; }
  .reviews-cta-buttons { width: 100%; flex-direction: column; }
  .reviews-cta-buttons .reviews-cta-btn { width: 100%; justify-content: center; }

  .master-lede { font-size: 20px; }
  /* На телефоне — небольшие поля, чтобы текст не уходил под кнопки мессенджеров */
  .master-text-col { padding-left: 28px; padding-right: 28px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
  footer { padding: 50px 20px 28px; }
  .footer-top { padding-bottom: 36px; margin-bottom: 36px; gap: 18px; }
  .footer-logo-word { font-size: 17px; letter-spacing: .04em; }
  .footer-logo-icon { width: 36px; height: 46px; }
  .footer-logo { gap: 10px; flex-wrap: wrap; }
  .footer-tag { font-size: 10px; }
  .footer-col-title { font-size: 11px; }
  .footer-col li, .footer-col a, .footer-col p { font-size: 13px; }

  .booking-form { padding: 24px 20px; }
  .bf-grid-2 { grid-template-columns: 1fr; gap: 0; }
  .time-slots { grid-template-columns: repeat(3, 1fr); }
  .date-btn-num { font-size: 16px; }
  .date-btn-day { font-size: 8px; }

  .mobile-menu ul a { font-size: 22px; padding: 9px 0; }
  .mobile-menu { padding: 60px 22px 24px; }
  .mobile-menu ul { gap: 0; }
  .m-num { font-size: 11px; }
  .mobile-callback-btn { padding: 12px; font-size: 12px; }
  .msoc { padding: 10px 4px; font-size: 11px; }

  .cred { grid-template-columns: 1fr; gap: 4px; }

  /* Blog teaser mobile */
  .blog-teaser { padding: 50px 16px 40px; }
  .blog-teaser-inner { gap: 36px; }
  .blog-teaser-h2 { font-size: 32px; margin: 14px 0 18px; }
  .blog-teaser-lede { font-size: 14px; margin-bottom: 22px; }
  .bt-card { grid-template-columns: 1fr; gap: 8px; padding: 16px 18px; }
  .bt-card-arrow { display: none; }
  .bt-card-tag { justify-self: start; font-size: 9px; }
  .bt-card-title { font-size: 16px; line-height: 1.3; }
  .bt-card:hover { transform: none; }

  /* FAB на мобиле — крупнее, с текстом */
  .fab {
    bottom: 20px;
    right: 20px;
    width: 84px;
    height: 84px;
  }
  .fab-text { font-size: 9px; }
}

/* ══════════════════════════════════════════════════════════════════════
   COOKIE BANNER (152-ФЗ)
   ══════════════════════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  background: var(--ink);
  color: var(--paper);
  border-radius: 6px;
  padding: 16px 20px;
  box-shadow: 0 20px 60px rgba(26,24,21,.3);
  max-width: 720px;
  margin: 0 auto;
  animation: cookieSlideUp .4s ease-out;
}
@keyframes cookieSlideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner p {
  flex: 1 1 280px;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(250, 246, 240, .9);
}
.cookie-banner a {
  color: var(--gold-bright);
  text-decoration: underline;
}
.cookie-banner-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-accept-btn,
.cookie-decline-btn {
  border: none;
  padding: 10px 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
  font-family: inherit;
}
.cookie-accept-btn {
  background: var(--gold);
  color: var(--paper);
}
.cookie-accept-btn:hover { background: var(--gold-bright); }
.cookie-decline-btn {
  background: transparent;
  color: rgba(250,246,240,.85);
  border: 1px solid rgba(250,246,240,.3);
}
.cookie-decline-btn:hover {
  background: rgba(250,246,240,.08);
  border-color: rgba(250,246,240,.5);
}
@media (max-width: 640px) {
  .cookie-banner {
    left: 8px;
    right: 8px;
    bottom: 100px;          /* выше FAB-кнопки "Онлайн запись" */
    padding: 10px 12px;
    border-radius: 4px;
  }
  .cookie-banner-inner {
    gap: 8px;
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner p {
    font-size: 11px;
    line-height: 1.4;
    margin: 0;
    flex: none;
  }
  .cookie-accept-btn {
    padding: 8px 16px;
    font-size: 11px;
    width: 100%;
  }
}

/* ─── Мелкая белая подпись разработчика в самом низу ─── */
.credit-line {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 14px 16px;
  margin: 0;
  font-weight: 400;
}
@media (max-width: 640px) {
  .credit-line { font-size: 10px; padding: 12px 16px; }
}

/* ══════════════════════════════════════════════════════════════════════
   LIGHTBOX — поп-ап для фото портфолио/салона/блога
   ══════════════════════════════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 24, 21, 0.94);
  cursor: pointer;
}
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
  animation: lbZoom .25s ease-out;
}
@keyframes lbZoom {
  from { transform: scale(.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.lightbox-caption {
  margin-top: 16px;
  color: var(--paper);
  text-align: center;
  font-size: 14px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.lightbox-caption .lb-tech {
  color: var(--gold-bright);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 11px;
}
.lightbox-caption .lb-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
}
.lightbox-counter {
  position: absolute;
  top: -36px;
  right: 0;
  color: rgba(250, 246, 240, .55);
  font-size: 12px;
  letter-spacing: .15em;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, .08);
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, .2);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
  z-index: 10;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, .15);
  border-color: var(--gold);
}
.lightbox-close {
  top: 24px;
  right: 24px;
  font-size: 28px;
}
.lightbox-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.portfolio-item,
.salon-cell {
  cursor: zoom-in;
}

@media (max-width: 640px) {
  .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; }
  .lightbox-prev { left: 8px; width: 40px; height: 40px; }
  .lightbox-next { right: 8px; width: 40px; height: 40px; }
  .lightbox-img { max-width: 96vw; max-height: 70vh; }
  .lightbox-caption { font-size: 12px; padding: 0 20px; }
  .lightbox-counter { top: -28px; font-size: 10px; }
}

/* ══════════════════════════════════════════════════════════════════════
   "Показать все работы" — кнопка под портфолио
   ══════════════════════════════════════════════════════════════════════ */
.portfolio-more {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  padding: 0 40px;
}
.portfolio-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 36px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-radius: 4px;
  transition: background .25s, transform .25s, box-shadow .25s;
}
.portfolio-more-btn:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(184,147,90,.25);
}
.portfolio-more-btn svg { transition: transform .25s; }
.portfolio-more-btn:hover svg { transform: translateX(6px); }

@media (max-width: 640px) {
  .portfolio-more { margin-top: 30px; padding: 0 16px; }
  .portfolio-more-btn { padding: 14px 24px; font-size: 11px; width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════════════
   BLOG MODAL — поп-ап для чтения постов блога
   ══════════════════════════════════════════════════════════════════════ */
.blog-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.blog-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.blog-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 24, 21, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}
.blog-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  background: var(--paper);
  width: min(800px, calc(100vw - 32px));
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
  transition: transform .3s ease-out;
}
.blog-modal.active .blog-modal-content {
  transform: translate(-50%, -50%) scale(1);
}
.blog-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(26, 24, 21, 0.08);
  color: var(--ink);
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.blog-modal-close:hover { background: rgba(26, 24, 21, 0.18); }

.bp-article {
  padding: 50px 60px 60px;
}
.bp-cover {
  margin: -50px -60px 30px;
  max-height: 360px;
  overflow: hidden;
}
.bp-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bp-video {
  margin: -50px -60px 30px;
  background: var(--ink);
}
.bp-video video,
.bp-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: none;
}
.bp-ext-link {
  display: block;
  padding: 30px;
  color: var(--paper);
  text-align: center;
  text-decoration: none;
  font-size: 15px;
}
.bp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
  font-size: 12px;
  letter-spacing: .04em;
}
.bp-tag {
  background: var(--gold);
  color: var(--paper);
  padding: 6px 12px;
  border-radius: 100px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 10px;
}
.bp-date, .bp-author {
  color: var(--ink-soft);
}
.bp-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 20px;
}
.bp-lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 28px;
  font-weight: 500;
}
.bp-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
}
.bp-body p { margin: 0 0 16px; }
.bp-body ul, .bp-body ol { margin: 0 0 20px; padding-left: 24px; }
.bp-body li { margin-bottom: 8px; }
.bp-body em { font-family: var(--serif); font-style: italic; color: var(--gold); }
.bp-body strong { color: var(--ink); }
.bp-body img { max-width: 100%; border-radius: 4px; margin: 16px 0; cursor: zoom-in; }

@media (max-width: 640px) {
  .blog-modal-content { width: calc(100vw - 16px); max-height: calc(100vh - 32px); border-radius: 4px; }
  .bp-article { padding: 30px 20px 40px; }
  .bp-cover, .bp-video { margin: -30px -20px 20px; }
  .bp-title { font-size: 24px; }
  .bp-lede { font-size: 15px; }
  .bp-body { font-size: 14px; }
}

/* ══════════════════════════════════════════════════════════════════════
   ВАЖНО: показывать стандартный курсор когда открыт попап (lightbox/post-popup)
   ══════════════════════════════════════════════════════════════════════ */
body.lb-open,
body.pp-open {
  cursor: auto !important;
}
body.lb-open .cursor,
body.lb-open .cursor-ring,
body.pp-open .cursor,
body.pp-open .cursor-ring {
  display: none !important;
}
body.lb-open .lightbox *,
body.pp-open .post-popup * {
  cursor: auto !important;
}
body.lb-open .lightbox-close,
body.lb-open .lightbox-prev,
body.lb-open .lightbox-next,
body.lb-open .lightbox-overlay,
body.pp-open .post-popup-close,
body.pp-open .post-popup-overlay {
  cursor: pointer !important;
}
body.lb-open .lightbox-img,
body.pp-open .pp-text img {
  cursor: zoom-out !important;
}

/* ══════════════════════════════════════════════════════════════════════
   CONTACTS — секция контактов с картой
   ══════════════════════════════════════════════════════════════════════ */
.contacts {
  padding: 100px 40px;
  background: var(--rose-soft);
  max-width: 1480px;
  margin: 0 auto;
}
.contacts-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.contacts-head {
  margin-bottom: 60px;
  max-width: 600px;
}
.contacts-h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 18px 0 20px;
  color: var(--ink);
}
.contacts-h2 em {
  font-style: italic;
  color: var(--gold);
}
.contacts-lede {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 520px;
}
.contacts-lede em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
}
.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 50px;
  align-items: stretch;
}
.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.c-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.c-block:last-of-type {
  border-bottom: none;
}
.c-label {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 4px;
}
.c-value {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink);
  text-decoration: none;
  transition: color .2s;
}
a.c-value:hover {
  color: var(--gold);
}
.c-value em {
  font-style: italic;
  color: var(--gold);
}
.c-value-soft {
  font-size: 18px;
  color: var(--ink-soft);
  margin-top: 4px;
}
.c-hint {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 4px;
  letter-spacing: .03em;
}
.c-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.c-msg {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: .05em;
  text-decoration: none;
  color: var(--ink);
  transition: all .2s;
}
.c-msg:hover {
  border-color: var(--gold);
  background: rgba(184, 147, 90, 0.08);
  color: var(--gold);
}
.c-cta {
  margin-top: 14px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.contacts-map {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.map-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(26, 24, 21, 0.12);
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  border: none;
  display: block;
}
.map-open-link {
  align-self: flex-end;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--gold);
  text-decoration: none;
  padding: 6px 0;
  transition: color .2s;
}
.map-open-link:hover {
  color: var(--ink);
}

@media (max-width: 1000px) {
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .map-frame {
    min-height: 380px;
  }
}
@media (max-width: 640px) {
  .contacts {
    padding: 70px 16px 60px;
  }
  .contacts-head {
    margin-bottom: 40px;
  }
  .contacts-h2 {
    font-size: 36px;
  }
  .contacts-lede {
    font-size: 14px;
  }
  .c-value {
    font-size: 18px;
  }
  .map-frame {
    min-height: 320px;
  }
  .c-messengers {
    gap: 6px;
  }
  .c-msg {
    padding: 7px 12px;
    font-size: 11px;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   REVIEWS — кнопка «Оставить отзыв» + форма отзыва
   ══════════════════════════════════════════════════════════════════════ */
.reviews-cta {
  max-width: 1280px;
  margin: 48px auto 0;
  padding: 36px 40px;
  background: rgba(250,246,240,.04);
  border: 1px solid rgba(250,246,240,.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.reviews-cta .reviews-cta-text { color: rgba(250,246,240,.75); }
.reviews-cta .reviews-cta-text em { color: var(--gold-bright); }
.reviews-cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.reviews-cta-btn-all {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(250,246,240,.3);
}
.reviews-cta-btn-all:hover {
  background: rgba(250,246,240,.08);
  border-color: var(--gold);
  color: var(--gold-bright);
}
.reviews-cta-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 560px;
}
.reviews-cta-text em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
}
.reviews-cta-btn {
  flex-shrink: 0;
}

/* Текстовое поле формы */
.bf-row textarea {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink);
  outline: none;
  font-family: var(--sans);
  line-height: 1.55;
  resize: vertical;
  min-height: 96px;
  transition: border-color .3s;
}
.bf-row textarea:focus { border-color: var(--gold); }
.bf-row textarea::placeholder { color: var(--ash); }

/* Виджет оценки звёздами */
.rv-stars {
  display: flex;
  gap: 6px;
  padding: 10px 0;
}
.rv-star {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  color: var(--line);
  padding: 0;
  transition: color .15s, transform .15s;
}
.rv-star.on { color: var(--gold); }
.rv-star:hover { transform: scale(1.12); }

/* Сообщение об успешной отправке отзыва */
#review-success {
  display: none;
  text-align: center;
  padding: 24px 16px;
  background: var(--paper-2);
  margin-top: 16px;
}
#review-success.visible { display: block; }
#review-success .success-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--paper);
  font-size: 24px;
  line-height: 48px;
  margin: 0 auto 12px;
}
#review-success .success-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 6px;
}
#review-success .success-title em { color: var(--gold); font-style: italic; }
#review-success .success-text {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Оценка звёздами внутри карточки отзыва */
.review .r-rating {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

@media (max-width: 640px) {
  .reviews-cta {
    padding: 28px 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .reviews-cta-btn { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════════════
   Контент не должен заходить под плавающие кнопки мессенджеров
   (на планшетах и телефонах сдвигаем секции левее)
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1366px) {
  .about,
  .services,
  .blog-teaser { padding-right: 76px; }
}
@media (max-width: 640px) {
  .about,
  .services,
  .blog-teaser { padding-right: 60px; }
}

/* ══════════════════════════════════════════════════════════════════════
   УСЛУГИ И ЦЕНЫ — переключатель «Стилист / Топ-стилист» + прайс-лист
   ══════════════════════════════════════════════════════════════════════ */
.svc-tier-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1080px;
  margin: 0 auto 30px;
  flex-wrap: wrap;
}
.svc-tier-label {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ash);
}
.svc-tier-btns {
  display: inline-flex;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 4px;
  background: var(--paper-2);
}
.svc-tier {
  border: none;
  background: transparent;
  padding: 10px 28px;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--ink-soft);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.svc-tier:hover { color: var(--gold); }
.svc-tier.active { background: var(--ink); color: var(--paper); }
.svc-tier.active:hover { color: var(--paper); }

.pr-list {
  max-width: 1080px;
  margin: 0 auto;
}
.pr-group {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--paper);
  padding: 14px 22px;
  background: var(--ink);
  border-left: 3px solid var(--gold);
  margin: 36px 0 2px;
}
.pr-list > .pr-group:first-child { margin-top: 0; }
.pr-sub {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 18px 22px 4px;
}
.pr-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
  transition: background .2s var(--ease), padding-left .2s var(--ease);
}
.pr-row:hover {
  background: rgba(184,147,90,.08);
  padding-left: 28px;
}
.pr-name {
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.pr-price {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  text-align: right;
  transition: color .2s var(--ease);
}
.pr-row:hover .pr-name,
.pr-row:hover .pr-price { color: var(--gold); }
.pr-price .pt { display: none; }
.services.show-top .pr-price .ps { display: none; }
.services.show-top .pr-price .pt { display: inline; }
.pr-note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ash);
  padding: 18px 22px 0;
  font-style: italic;
}

/* Заглушка «вакансия открыта» для разделов без прайса */
.pr-vacancy {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 24px 24px;
}
.pr-vacancy-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.pr-vacancy-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 16px;
}
.pr-vacancy-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.pr-vacancy-btn { display: inline-flex; }

@media (max-width: 640px) {
  .pr-group { font-size: 18px; padding: 12px 15px; margin-top: 26px; }
  .pr-row { padding: 13px 15px; gap: 14px; }
  .pr-row:hover { padding-left: 18px; }
  .pr-name { font-size: 15px; }
  .pr-price { font-size: 20px; }
  .pr-sub { padding: 14px 15px 4px; }
  .pr-note { padding: 14px 15px 0; }
  .svc-tier { padding: 9px 20px; font-size: 12px; }
  .svc-tier-toggle { gap: 10px; }
}

/* ══════════════════════════════════════════════════════════════════════
   Основной текст крупнее на планшете и мобильном — для удобного чтения
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1180px) {
  .hero-lede        { font-size: 18px; }
  .about-body p     { font-size: 16px; }
  .salon-lede       { font-size: 16px; }
  .contacts-lede    { font-size: 17px; }
  .master-lede      { font-size: 18px; }
  .mp-desc          { font-size: 15px; }
  .value-card p     { font-size: 17px; }
  .blog-teaser-lede { font-size: 16px; }
}
