/* ─────────────────────────────────────────────────────────
   MANTRA — base stylesheet
   Переменные позволяют менять цвета/шрифты под другой салон за 5 строк
   ───────────────────────────────────────────────────────── */
:root {
  --primary: #c9a063;
  --primary-dark: #8a6a3d;
  --bg: #000;
  --bg-alt: #000;
  --bg-card: #000;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.65);
  --border: rgba(201, 160, 99, 0.2);
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", Arial, sans-serif;
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ── Headings ── */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; letter-spacing: 0.5px; }
h1 { font-size: clamp(32px, 6vw, 60px); line-height: 1.15; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.2; margin-bottom: 24px; }
h3 { font-size: clamp(20px, 2.5vw, 26px); }
.accent { color: var(--primary); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 34px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--primary);
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: 0.3s;
}
.btn:hover { background: var(--primary); color: var(--bg); }
.btn--filled { background: var(--primary); color: var(--bg); }
.btn--filled:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--text); }

/* ═════════════════════════════════════════════════════════
   HEADER
   ═════════════════════════════════════════════════════════ */
.hd {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000;
  border-bottom: 1px solid var(--border);
}
.hd__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}
.hd__logo { display: flex; align-items: center; line-height: 1; }
.hd__logo-img {
  height: 52px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.6));
}
.hd__logo-txt { flex-direction: column; }
.hd__logo-main { font-family: var(--font-heading); font-size: 28px; font-weight: 700; color: var(--primary); letter-spacing: 4px; }
.hd__logo-sub { font-family: var(--font-body); font-size: 10px; color: var(--text-muted); letter-spacing: 3px; text-transform: uppercase; margin-top: 2px; }

.hd__nav { display: flex; align-items: center; gap: 28px; justify-content: center; }
.hd__link {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.25s;
  position: relative;
}
.hd__link:hover { color: var(--primary); }
body[data-nav="masters"] .hd__link[data-nav-link="masters"],
body[data-nav="programs"] .hd__link[data-nav-link="programs"],
body[data-nav="about"] .hd__link[data-nav-link="about"],
body[data-nav="contacts"] .hd__link[data-nav-link="contacts"],
body[data-nav="vacancy"] .hd__link[data-nav-link="vacancy"] { color: var(--primary); }

.hd__right { display: flex; flex-direction: column; align-items: flex-end; }
.hd__right--desk { display: flex; }
.hd__right--mob { display: none; }
.hd__addr { font-size: 11px; color: var(--text-muted); line-height: 1.3; text-align: right; }
.hd__phone { font-size: 16px; color: var(--primary); font-weight: 500; margin-top: 2px; }

/* Burger */
.hd__burger {
  display: none;
  width: 32px; height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}
.hd__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transition: 0.3s;
  transform-origin: center;
}
.hd__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.hd__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hd__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

.hd__nav-logo { display: none; }
.hd__nav-close { display: none; }

@media (max-width: 900px) {
  .hd__inner { display: flex; justify-content: space-between; }
  .hd__burger { display: flex; }
  .hd__nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #000;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 100px 24px 40px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 99;
  }
  .hd__nav.is-open { transform: translateX(0); }
  .hd__nav-close {
    display: flex;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 101;
  }
  .hd__nav-logo { display: flex; flex-direction: column; align-items: center; margin: 0 0 16px; }
  .hd__nav-logo-img { height: 72px; width: auto; display: block; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.6)); }
  .hd__nav-logo-txt { flex-direction: column; align-items: center; }
  .hd__nav-logo-main { font-family: var(--font-heading); font-size: 32px; font-weight: 700; color: var(--primary); letter-spacing: 4px; }
  .hd__nav-logo-sub { font-family: var(--font-body); font-size: 10px; color: var(--text-muted); letter-spacing: 3px; text-transform: uppercase; margin-top: 2px; }
  .hd__link { font-size: 17px; padding: 12px 0; text-align: center; border-bottom: 1px solid rgba(201,160,99,0.1); }
  .hd__link:last-of-type { border-bottom: none; }
  .hd__right--mob { display: flex; align-items: center; margin: 16px 0 0 0; }
  .hd__right--desk { display: none; }
  .hd__addr { text-align: center; font-size: 13px; }
  .hd__phone { font-size: 22px; margin-top: 6px; }
}
.hd { z-index: 100; }

/* ═════════════════════════════════════════════════════════
   MAIN SECTIONS
   ═════════════════════════════════════════════════════════ */
.main { min-height: 60vh; }

.section2 {
  padding: 100px 0;
}

.section {
  padding: 40px 0;
}
.section--alt { background: var(--bg-alt); }
#programs.section { background: #000; }
.section__title {
  text-align: center;
  margin-bottom: 18px;
  position: relative;
}
.section__title::after {
  content: '';
  display: block;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
  margin: 16px auto 0;
  opacity: 0.85;
}
.section__sub { text-align: center; color: var(--text-muted); max-width: 680px; margin: 0 auto 50px; line-height: 1.7; }

/* ── Hero ── */
@property --hero-ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 20px 70px;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  top: 0; bottom: -10%;
  left: calc(50% - min(50vw, 960px));
  right: calc(50% - min(50vw, 960px));
  background: url('../images/hero/hero-bg.jpg') center top/cover no-repeat;
  filter: brightness(0.55) saturate(1.1);
  transform-origin: top center;
  animation: hero-kenburns 22s ease-in-out infinite alternate;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  z-index: 0;
}
@keyframes hero-kenburns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1%, 0); }
}
.hero__vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at center, transparent 35%, rgba(0,0,0,0.7) 95%),
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.55) 75%, #000 100%);
  pointer-events: none;
  z-index: 1;
}
.hero__sparks {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 2;
}
.hero__sparks span {
  position: absolute;
  background: #e6cfa4;
  border-radius: 50%;
  box-shadow: 0 0 10px 2px rgba(230,207,164,0.85), 0 0 22px 6px rgba(201,160,99,0.35);
  opacity: 0;
  animation: hero-spark 9s ease-in-out infinite;
  --max: 0.9;
}
/* размер + позиция + скорость + peak-opacity */
.hero__sparks span:nth-child(1)  { left:  6%; top: 18%; width: 3px;   height: 3px;   animation-delay: 0s;   animation-duration: 8s;  --max: 0.95; }
.hero__sparks span:nth-child(2)  { left: 88%; top: 32%; width: 4px;   height: 4px;   animation-delay: 1.2s; animation-duration: 10s; --max: 0.9; }
.hero__sparks span:nth-child(3)  { left: 18%; top: 72%; width: 2px;   height: 2px;   animation-delay: 2.6s; animation-duration: 7s;  --max: 0.7; }
.hero__sparks span:nth-child(4)  { left: 72%; top: 14%; width: 5px;   height: 5px;   animation-delay: 4.0s; animation-duration: 11s; --max: 1; }
.hero__sparks span:nth-child(5)  { left: 45%; top: 82%; width: 2.5px; height: 2.5px; animation-delay: 5.4s; animation-duration: 9s;  --max: 0.8; }
.hero__sparks span:nth-child(6)  { left: 92%; top: 68%; width: 3.5px; height: 3.5px; animation-delay: 2.0s; animation-duration: 8s;  --max: 0.85; }
.hero__sparks span:nth-child(7)  { left: 32%; top: 12%; width: 2px;   height: 2px;   animation-delay: 3.4s; animation-duration: 7s;  --max: 0.6; }
.hero__sparks span:nth-child(8)  { left: 62%; top: 56%; width: 4px;   height: 4px;   animation-delay: 6.0s; animation-duration: 10s; --max: 0.95; }
.hero__sparks span:nth-child(9)  { left: 14%; top: 42%; width: 2.5px; height: 2.5px; animation-delay: 0.8s; animation-duration: 9s;  --max: 0.7; }
.hero__sparks span:nth-child(10) { left: 78%; top: 78%; width: 3px;   height: 3px;   animation-delay: 2.3s; animation-duration: 8s;  --max: 0.8; }
.hero__sparks span:nth-child(11) { left: 52%; top: 28%; width: 1.5px; height: 1.5px; animation-delay: 4.7s; animation-duration: 6s;  --max: 0.55; }
.hero__sparks span:nth-child(12) { left: 24%; top: 58%; width: 4.5px; height: 4.5px; animation-delay: 1.6s; animation-duration: 12s; --max: 1; }
.hero__sparks span:nth-child(13) { left: 84%; top: 48%; width: 2px;   height: 2px;   animation-delay: 3.8s; animation-duration: 7s;  --max: 0.65; }
.hero__sparks span:nth-child(14) { left: 38%; top: 38%; width: 3px;   height: 3px;   animation-delay: 5.0s; animation-duration: 9s;  --max: 0.85; }
.hero__sparks span:nth-child(15) { left: 68%; top: 86%; width: 2.5px; height: 2.5px; animation-delay: 6.4s; animation-duration: 8s;  --max: 0.75; }
.hero__sparks span:nth-child(16) { left: 10%; top: 86%; width: 4px;   height: 4px;   animation-delay: 0.4s; animation-duration: 11s; --max: 0.9; }
.hero__sparks span:nth-child(17) { left: 96%; top: 20%; width: 2px;   height: 2px;   animation-delay: 2.9s; animation-duration: 7s;  --max: 0.7; }
.hero__sparks span:nth-child(18) { left: 44%; top: 62%; width: 3.5px; height: 3.5px; animation-delay: 4.3s; animation-duration: 10s; --max: 0.95; }
.hero__sparks span:nth-child(19) { left: 28%; top: 28%; width: 2px;   height: 2px;   animation-delay: 7.2s; animation-duration: 8s;  --max: 0.6; }
.hero__sparks span:nth-child(20) { left: 58%; top: 72%; width: 3px;   height: 3px;   animation-delay: 1.8s; animation-duration: 9s;  --max: 0.8; }
.hero__sparks span:nth-child(21) { left: 82%; top: 8%;  width: 2.5px; height: 2.5px; animation-delay: 5.8s; animation-duration: 7s;  --max: 0.75; }
.hero__sparks span:nth-child(22) { left: 20%; top: 92%; width: 4px;   height: 4px;   animation-delay: 3.1s; animation-duration: 12s; --max: 1; }
.hero__sparks span:nth-child(23) { left: 50%; top: 18%; width: 1.5px; height: 1.5px; animation-delay: 6.8s; animation-duration: 6s;  --max: 0.5; }
.hero__sparks span:nth-child(24) { left: 74%; top: 38%; width: 2px;   height: 2px;   animation-delay: 4.6s; animation-duration: 8s;  --max: 0.7; }

@keyframes hero-spark {
  0%   { opacity: 0;                  transform: translateY(0)     scale(0.5); }
  18%  { opacity: var(--max, 0.9);    transform: translateY(-10px) scale(1);   }
  62%  { opacity: calc(var(--max, 0.9) * 0.6); transform: translateY(-30px) scale(1.08); }
  100% { opacity: 0;                  transform: translateY(-55px) scale(0.5); }
}

.hero__inner {
  position: relative;
  z-index: 3;
  max-width: 920px;
}
.hero__pretitle {
  font-size: 12px;
  color: var(--primary);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 28px;
  transform: translateY(-30px);
}

.hero__logo-wrap {
  position: relative;
  width: clamp(200px, 34vw, 340px);
  margin: 0 auto 22px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__logo-wrap::before {
  content: '';
  position: absolute; inset: -22px;
  border-radius: 50%;
  background: conic-gradient(from var(--hero-ang),
    transparent 8%, rgba(255,255,255,0.18) 16%,
    rgba(230,207,164,0.75) 24%, rgba(201,160,99,0.95) 32%,
    rgba(138,106,61,0.55) 42%, transparent 56%,
    rgba(201,160,99,0.5) 72%, rgba(255,220,160,0.35) 82%,
    transparent 92%);
  animation: hero-orbit 14s linear infinite;
  filter: blur(1px);
  opacity: 0.82;
  z-index: 1;
}
.hero__logo-wrap::after {
  content: '';
  position: absolute; inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(201,160,99,0.35);
  box-shadow:
    0 0 40px 6px rgba(201,160,99,0.15) inset,
    0 0 50px 12px rgba(201,160,99,0.25);
  z-index: 2;
  pointer-events: none;
}
@keyframes hero-orbit { to { --hero-ang: 360deg; } }
.hero__logo {
  width: 92%;
  height: auto;
  max-height: 80%;
  object-fit: contain;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 6px 28px rgba(201,160,99,0.7));
  animation: hero-breathe 6s ease-in-out infinite;
}
/* Мягкий золотой нимб под логотипом (чтобы читался на любом участке ken-burns фона) */
.hero__logo-wrap > .hero__logo + ::before,
.hero__logo-wrap::before {
  /* (оставляем текущий conic-ring) */
}
/* Тёмный радиал за логотипом — чтобы центр читался на любом кадре ken-burns */
.hero__logo-halo {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(5,5,5,0.92) 0%,
    rgba(5,5,5,0.78) 30%,
    rgba(10,10,10,0.5) 55%,
    rgba(10,10,10,0.18) 75%,
    transparent 92%);
  z-index: 2;
  pointer-events: none;
  filter: blur(3px);
}
@keyframes hero-breathe {
  0%, 100% { transform: scale(1);    filter: drop-shadow(0 6px 26px rgba(201,160,99,0.45)); }
  50%      { transform: scale(1.035); filter: drop-shadow(0 8px 36px rgba(201,160,99,0.7)); }
}

.hero__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-size: clamp(13px, 1.4vw, 18px);
  letter-spacing: 8px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
  padding: 0 4px;
}
.hero__brand-main {
  background: linear-gradient(90deg, #fff 0%, #e6cfa4 35%, var(--primary) 50%, #e6cfa4 65%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-gold 9s linear infinite;
  font-weight: 700;
}
.hero__brand-sep { color: var(--primary); font-size: 1.3em; line-height: 1; }
.hero__brand-sub {
  color: var(--text-muted);
  letter-spacing: 5px;
  font-size: 0.82em;
  font-family: var(--font-body);
  font-weight: 400;
}

.hero__subtitle { font-size: 17px; color: var(--text-muted); margin: 8px auto 36px; max-width: 620px; }
.hero__cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1099px) {
  .hero__bg,
  .vac-hero__bg {
    animation: none;
    transform: translateX(-430px);
    left: -430px;
    right: -430px;
  }
}

@media (max-width: 600px) {
  .hero { min-height: 88vh; padding: 70px 16px 50px; }
  .hero__logo-wrap { width: clamp(136px, 47vw, 204px); margin-bottom: 16px; }
  .hero__brand { letter-spacing: 5px; gap: 10px; margin-bottom: 18px; }
  .hero__brand-sub { letter-spacing: 3px; }
  .hero__subtitle { font-size: 15px; margin-bottom: 28px; }
}

/* ── Grid cards (программы, мастера) ── */
.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
/* Программы — строго 2 в ряд на десктопе (крупные карточки) */
.grid--prg {
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .grid--prg { grid-template-columns: 1fr; gap: 20px; }
}

/* Программа — карточка С фото (Vegas-style: conic rim + absolute content) */
@property --prg-ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes prg-rotate { to { --prg-ang: 360deg; } }
@keyframes prg-breathe {
  0%, 100% { box-shadow: 0 0 20px 4px rgba(201,160,99,0.08); }
  50%      { box-shadow: 0 0 28px 8px rgba(201,160,99,0.28); }
}
@keyframes neon-line {
  0%   { transform: scaleX(0); transform-origin: left; }
  40%  { transform: scaleX(1); transform-origin: left; }
  60%  { transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}
@keyframes btn-shine {
  0%        { left: -75%; }
  50%, 100% { left: 125%; }
}

.prg:has(.prg__img-wrap) {
  background: conic-gradient(from var(--prg-ang),
    transparent 12%, rgba(255,255,255,0.45) 20%, rgba(255,255,255,0.7) 25%,
    rgba(230,207,164,0.85) 30%, var(--primary) 34%, rgba(201,160,99,0.55) 40%,
    rgba(255,255,255,0.18) 47%, transparent 57%);
  padding: 2px;
  animation: prg-rotate 9s linear infinite, prg-breathe 10s ease-in-out infinite;
  transition: transform 0.4s ease, filter 0.4s ease;
  display: flex; flex-direction: column;
  cursor: pointer;
  border: none;
}
.prg:has(.prg__img-wrap):hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 0 22px rgba(201,160,99,0.6));
}
.prg__inner {
  background: #000;
  position: relative;
  overflow: hidden;
  flex: 1;
  display: flex; flex-direction: column;
}
.prg__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  flex-shrink: 0;
  background: #000;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.prg__img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  object-position: center top;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.4s ease;
  filter: brightness(0.82);
}
.prg:has(.prg__img-wrap):hover .prg__img { transform: scale(1.05); filter: brightness(1); }

.prg__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, transparent 28%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.9) 78%, #000 100%);
  pointer-events: none;
}

.prg__content {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 0 22px 22px;
  display: flex; flex-direction: column; gap: 9px;
}
.prg__title {
  font-family: var(--font-heading);
  font-size: 26px; font-weight: 700; line-height: 1.2;
  margin: 0; padding-bottom: 10px; position: relative;
  background: linear-gradient(90deg, #fff 0%, #e6cfa4 30%, var(--primary) 50%, #e6cfa4 70%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-gold 9s linear infinite;
}
.prg__title::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,160,99,0.9), rgba(255,220,160,1), rgba(201,160,99,0.9), transparent);
  animation: neon-line 3.5s ease-in-out infinite;
}
.prg__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* Контурная плашка цены на фото-карточке (читаемая поверх тёмного фото) */
.prg__price {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600;
  color: #fff;
  background: rgba(10,10,10,0.72);
  backdrop-filter: blur(6px);
  border: 1px solid var(--primary);
  padding: 5px 12px;
  border-radius: 2px;
  line-height: 1.4;
  letter-spacing: 0.5px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.prg:hover .prg__price {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
}
.prg__duration {
  font-size: 13px; font-weight: 500;
  color: #fff;
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 5px 12px;
  border-radius: 2px;
  letter-spacing: 0.5px;
}
.prg__desc {
  font-size: 13px; color: rgba(255,255,255,0.75);
  line-height: 1.5; margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prg__btns { display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.prg__btn {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  color: #fff; background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 8px 16px;
  cursor: pointer;
  text-decoration: none; text-align: center;
  position: relative; overflow: hidden;
  transition: all 0.25s;
  white-space: nowrap;
}
.prg__btn::before {
  content: '';
  position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-20deg);
  animation: btn-shine 5s ease-in-out infinite;
}
.prg__btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg);
  box-shadow: 0 0 16px rgba(201,160,99,0.5);
}
/* .prg__body используется только для карточек БЕЗ фото (feature/promo) */
.prg__body {
  padding: 0;
  display: flex; flex-direction: column; gap: 14px; flex: 1;
}
/* Карточка БЕЗ фото (.feature/.promo-card) — дополнения */
.prg:not(:has(.prg__img-wrap)) {
  background: #000;
  border: 1px solid var(--border);
  padding: 30px 28px;
  transition: transform 0.4s ease, border-color 0.3s ease;
  display: flex; flex-direction: column;
}
.prg:not(:has(.prg__img-wrap)):hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}
.prg:not(:has(.prg__img-wrap)) .prg__duration {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--primary);
  text-transform: uppercase;
  background: transparent;
  border: none;
  padding: 0;
  backdrop-filter: none;
}
.prg:not(:has(.prg__img-wrap)) .prg__name {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  color: #fff;
}
.prg:not(:has(.prg__img-wrap)) .prg__descr {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}
/* Контурная плашка цены в дополнениях — крупная, читаемая */
.prg:not(:has(.prg__img-wrap)) .prg__price {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 16px;
  border: 1px solid var(--primary);
  color: var(--primary);
  background: rgba(201,160,99,0.08);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-top: 8px;
  border-radius: 0;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  backdrop-filter: none;
}
.prg:not(:has(.prg__img-wrap)):hover .prg__price {
  background: var(--primary);
  color: var(--bg);
  box-shadow: 0 0 16px rgba(201,160,99,0.45);
}

/* Мастер — карточка с conic-свечением (паттерн Vegas, цвета Mantra) */
@property --ma { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes ma-rotate { to { --ma: 360deg; } }
@keyframes ma-breathe {
  0%, 100% { box-shadow: 0 0 20px 4px rgba(201, 160, 99, 0.08); }
  50%       { box-shadow: 0 0 28px 8px rgba(201, 160, 99, 0.28); }
}
@keyframes shimmer-gold {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.mst {
  background: conic-gradient(from var(--ma),
    transparent 15%, rgba(255,255,255,0.4) 23%, rgba(201,160,99,0.9) 33%,
    rgba(255,255,255,0.25) 38%, rgba(201,160,99,0.55) 43%, transparent 55%);
  padding: 2px;
  animation: ma-rotate 9s linear infinite, ma-breathe 10s ease-in-out infinite;
  transition: transform 0.4s ease, filter 0.4s ease;
  cursor: pointer;
}
.mst:hover {
  transform: translateY(-6px);
  filter: drop-shadow(0 0 22px rgba(201, 160, 99, 0.6));
}
.mst__inner {
  background: #000;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.mst__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  flex-shrink: 0;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.mst__img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.4s ease;
  filter: brightness(0.88);
}
.mst:hover .mst__img { transform: scale(1.05); filter: brightness(1.02); }
.mst__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(0,0,0,0.7) 75%, #000 100%);
  pointer-events: none;
}
.mst__name-on-img {
  position: absolute;
  bottom: 14px; left: 18px; right: 18px;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 30px; font-weight: 700;
  padding-bottom: 10px;
  background: linear-gradient(90deg, #fff, #e6cfa4, var(--primary), #e6cfa4, #fff);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-gold 6s linear infinite;
}
.mst__name-on-img::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,160,99,0.9), rgba(255,220,160,1), rgba(201,160,99,0.9), transparent);
  animation: neon-line 3.5s ease-in-out infinite;
}
.mst__info {
  padding: 16px 18px 18px;
  display: flex; flex-direction: column; gap: 10px;
  background: #000;
  margin-top: -2px;        /* перекрытие низа фото — скрывает сабпиксельный артефакт */
  position: relative;
  z-index: 2;
}
.mst__info::before {       /* плавный fade от фото к тексту */
  content: '';
  position: absolute; top: -30px; left: 0; right: 0; height: 30px;
  background: linear-gradient(to top, #000, transparent);
  pointer-events: none;
}
.mst__params { display: flex; flex-wrap: wrap; gap: 8px; }
.mst__param {
  font-size: 12px; color: var(--text-muted);
  border: 1px solid rgba(201,160,99,0.3);
  padding: 4px 10px;
  letter-spacing: 0.5px;
}
.mst__btns { display: flex; gap: 8px; margin-top: 4px; }
.mst__btn {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 500;
  letter-spacing: 1px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 7px 14px;
  cursor: pointer;
  text-decoration: none;
  transition: 0.25s;
  white-space: nowrap;
}
.mst__btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg);
}

/* ── Contact block ── */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
@media (max-width: 768px) { .contact { grid-template-columns: 1fr; gap: 40px; } }
.contact__item { margin-bottom: 24px; }
.contact__label { font-size: 11px; letter-spacing: 3px; color: var(--primary); text-transform: uppercase; margin-bottom: 8px; }
.contact__value { font-size: 18px; }
.contact__value a { color: var(--text); transition: color 0.2s; }
.contact__value a:hover { color: var(--primary); }
.contact__map {
  min-height: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
  display: block;
  filter: grayscale(0.3) contrast(0.95);
  transition: filter 0.4s;
}
.contact__map:hover iframe { filter: none; }
@media (max-width: 768px) {
  .contact__map, .contact__map iframe { min-height: 320px; }
}

/* ═════════════════════════════════════════════════════════
   FLOATING SOCIAL (аналог t898)
   ═════════════════════════════════════════════════════════ */
.float-soc {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 10px;
}
.float-soc__toggle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  transition: 0.25s;
}
.float-soc__toggle:hover { background: var(--primary); }
.float-soc__toggle svg { width: 26px; height: 26px; }
.float-soc__toggle .float-soc__icon-close { display: none; }
.float-soc.is-open .float-soc__icon-open { display: none; }
.float-soc.is-open .float-soc__icon-close { display: block; }

.float-soc__list {
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 0.25s;
}
.float-soc.is-open .float-soc__list { opacity: 1; pointer-events: auto; transform: translateY(0); }
.float-soc__i {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s;
}
.float-soc__i:hover { transform: scale(1.08); }
.float-soc__i svg { width: 24px; height: 24px; fill: #fff; }
.float-soc__i_light svg { fill: #0a0a0a; }

/* Скрыть при открытом мобильном меню */
body:has(.hd__nav.is-open) .float-soc { display: none; }

/* ═════════════════════════════════════════════════════════
   MOBILE SOCIALS in burger menu (4 иконки в ряд)
   ═════════════════════════════════════════════════════════ */
.mob-soc { display: none; }
@media (max-width: 900px) {
  .mob-soc {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 14px 0;
  }
  .mob-soc__i {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
  }
  .mob-soc__i:hover { transform: scale(1.08); }
  .mob-soc__i svg { width: 22px; height: 22px; fill: #fff; }
  .mob-soc__i_light svg { fill: #0a0a0a; }
}

/* ═════════════════════════════════════════════════════════
   FOOTER
   ═════════════════════════════════════════════════════════ */
.ft {
  background: #000;
  border-top: 1px solid var(--border);
  padding: 60px 20px 30px;
  margin-top: 0;
}
.ft__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.ft__logo-img { height: 60px; width: auto; margin-bottom: 16px; }
.ft__logo { display: flex; flex-direction: column; line-height: 1; margin-bottom: 16px; }
.ft__logo-main { font-family: var(--font-heading); font-size: 24px; color: var(--primary); letter-spacing: 4px; }
.ft__logo-sub { font-size: 10px; color: var(--text-muted); letter-spacing: 3px; text-transform: uppercase; margin-top: 2px; }
.ft__note { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin-top: 16px; }
.ft__title { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--primary); margin-bottom: 16px; }
.ft__row { display: block; font-size: 14px; color: var(--text-muted); margin-bottom: 10px; transition: color 0.2s; }
.ft__row:hover { color: var(--primary); }
.ft__phone { font-size: 18px; color: var(--text) !important; font-weight: 500; }
.ft__copy {
  max-width: var(--container);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* ═════════════════════════════════════════════════════════
   GALLERY (интерьер)
   ═════════════════════════════════════════════════════════ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.gallery--full { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.gallery__item {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  position: relative;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.3s ease;
  filter: brightness(0.9);
}
.gallery__item:hover img { transform: scale(1.05); filter: brightness(1.05); }

/* ═════════════════════════════════════════════════════════
   LIGHTBOX (универсальный, для галереи + swiper'ов)
   ═════════════════════════════════════════════════════════ */
.lb-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.94);
  display: none;
  align-items: center; justify-content: center;
  z-index: 10000;
  cursor: zoom-out;
  animation: lb-fade 0.25s ease;
}
.lb-overlay.is-open { display: flex; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lb-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  display: block;
  cursor: default;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
  animation: lb-zoom 0.3s ease;
}
@keyframes lb-zoom { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lb-close, .lb-nav {
  position: absolute;
  background: rgba(10,10,10,0.75);
  color: #fff;
  border: 1px solid rgba(201,160,99,0.35);
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  font-family: var(--font-body);
}
.lb-close:hover, .lb-nav:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #000;
  transform: scale(1.08);
}
.lb-close {
  top: 22px; right: 24px;
  width: 44px; height: 44px;
  font-size: 28px; line-height: 1;
}
.lb-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
  font-size: 36px; line-height: 1;
  padding: 0 0 4px;
}
.lb-nav:hover { transform: translateY(-50%) scale(1.08); }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-counter {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  padding: 8px 18px;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--text-muted);
  background: rgba(10,10,10,0.75);
  border: 1px solid rgba(201,160,99,0.25);
  border-radius: 20px;
}
@media (max-width: 640px) {
  .lb-close { top: 12px; right: 12px; width: 38px; height: 38px; font-size: 24px; }
  .lb-nav { width: 44px; height: 44px; font-size: 28px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}

/* Promo cards */
.promo-card .prg__price { color: var(--primary); font-weight: 600; }

/* ═════════════════════════════════════════════════════════
   SWIPER — акции / промо (как в revnost/slider-swiper.html)
   ═════════════════════════════════════════════════════════ */
@property --prs-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes prs-rotate  { to { --prs-angle: 360deg; } }
@keyframes prs-gold    { 0%{ background-position:-200% center } 100%{ background-position:200% center } }
@keyframes prs-neon    {
  0%  { transform:scaleX(0); transform-origin:left }
  45% { transform:scaleX(1); transform-origin:left }
  55% { transform:scaleX(1); transform-origin:right }
  100%{ transform:scaleX(0); transform-origin:right }
}
@keyframes prs-btn-shine {
  0%,74%{ left:-75%; opacity:0 }
  75%   { left:-75%; opacity:1 }
  94%   { left:145%; opacity:.8 }
  95%,100%{ left:145%; opacity:0 }
}

.prs-swiper-clip {
  overflow-x: clip;
  overflow-y: visible;
  position: relative;
}
.prs-swiper-clip::before,
.prs-swiper-clip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  z-index: 10;
  pointer-events: none;
}
.prs-swiper-clip::before {
  left: 0;
  background: linear-gradient(to right, #000 0%, transparent 100%);
}
.prs-swiper-clip::after {
  right: 0;
  background: linear-gradient(to left, #000 0%, transparent 100%);
}

.promo-swiper { overflow: visible !important; position: relative; }
.promo-swiper .swiper-wrapper { align-items: center; }

.promo-swiper .swiper-slide {
  background: conic-gradient(
    from var(--prs-angle),
    transparent 20%,
    rgba(255,253,210,.45) 28%, rgba(230,207,164,.85) 33%,
    rgba(255,255,255,.8) 36%, rgba(230,207,164,.85) 39%,
    rgba(190,140,20,.55) 46%, transparent 56%
  );
  padding: 2px;
  animation: prs-rotate 8s linear infinite;
  transform: scale(0.86);
  opacity: .45;
  filter: drop-shadow(0 0 0 rgba(230,207,164,0));
  transition:
    transform .55s cubic-bezier(.25,.46,.45,.94),
    filter    .55s ease,
    opacity   .55s ease;
  cursor: pointer;
}
.promo-swiper .swiper-slide-active {
  transform: scale(1.0);
  opacity: 1;
  filter:
    drop-shadow(0 0 16px rgba(230,207,164,.58))
    drop-shadow(0 0 38px rgba(230,207,164,.15));
}
.promo-swiper .swiper-slide-prev,
.promo-swiper .swiper-slide-next {
  transform: scale(0.91);
  opacity: .65;
}

/* Карточка акции */
.prs__inner {
  background: rgb(8,8,8);
  position: relative;
  display: flex;
  flex-direction: column;
}
.prs__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: #000;
  background: linear-gradient(135deg, rgb(255,248,200), rgb(230,207,164));
  padding: 4px 12px;
  letter-spacing: .3px;
  pointer-events: none;
}
.prs__img-wrap {
  position: relative;
  overflow: hidden;
  height: 520px;
}
.prs__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .65s cubic-bezier(.25,.46,.45,.94);
}
.promo-swiper .swiper-slide-active:hover .prs__img { transform: scale(1.06); }
.prs__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    transparent 20%,
    rgba(0,0,0,.5) 50%,
    rgba(0,0,0,.92) 72%,
    #000 100%);
  pointer-events: none;
}
.prs__content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.prs__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  position: relative;
  padding-bottom: 9px;
  background: linear-gradient(90deg,
    rgb(201,162,39) 0%, rgb(230,207,164) 30%,
    rgb(255,248,200) 50%, rgb(230,207,164) 70%,
    rgb(201,162,39) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: prs-gold 5s linear infinite;
}
.prs__title::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(230,207,164), transparent);
  animation: prs-neon 3s ease-in-out infinite;
}
.prs__sub {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
}
.prs__desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.75);
}
.prs__cond {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,.35);
  line-height: 1.5;
}
.prs__cond-lbl { color: rgba(230,207,164,.6); font-weight: 700; }
.prs__btn {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: #fff !important;
  background: transparent;
  border: 1.5px solid rgb(230,207,164);
  border-radius: 1px;
  padding: 7px 24px;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.prs__btn::before {
  content: '';
  position: absolute; top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(230,207,164,.45), transparent);
  transform: skewX(-20deg);
  animation: prs-btn-shine 5s ease-in-out infinite;
}
.prs__btn:hover {
  background-color: rgb(230,207,164) !important;
  color: #000 !important;
  box-shadow: 0 0 14px rgba(230,207,164,.5);
}

/* Навигация */
.prs-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 44px;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}
.prs-nav__btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(230,207,164,.35);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  color: rgba(230,207,164,.65);
  transition: border-color .25s, color .25s, box-shadow .25s;
  font-family: Georgia, serif;
  padding-bottom: 1px;
}
.prs-nav__btn:hover {
  border-color: rgb(230,207,164);
  color: rgb(230,207,164);
  box-shadow: 0 0 10px rgba(230,207,164,.3);
}
.prs-dots,
#promoDots {
  display: flex;
  gap: 8px;
  align-items: center;
  position: static !important;
  width: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  margin-top: 20px;
}
#promoDots .swiper-pagination-bullet {
  width: 5px !important;
  height: 5px !important;
  border: 1px solid rgba(230,207,164,.4) !important;
  background: transparent !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  transition: background .25s, border-color .25s, transform .25s !important;
  margin: 0 !important;
}
#promoDots .swiper-pagination-bullet-active {
  background: rgb(230,207,164) !important;
  border-color: rgb(230,207,164) !important;
  transform: scale(1.6) !important;
}

@media(max-width: 640px) {
  .prs__img-wrap { height: 400px; }
  .prs__title { font-size: 18px; }

  /* Акции: overflow:visible чтобы свечение и рамка не обрезались */
  .promo-swiper { overflow: visible !important; }
  /* Соседние слайды скрываем через opacity, а не overflow */
  .promo-swiper .swiper-slide-prev,
  .promo-swiper .swiper-slide-next { opacity: 0 !important; }

  /* Интерьер: скрываем соседние слайды */
  .int-swiper { overflow: hidden !important; }
}

/* ═════════════════════════════════════════════════════════
   SWIPER — галерея интерьера
   ═════════════════════════════════════════════════════════ */
.int-swiper { overflow: visible; }

.swiper-button-prev, .swiper-button-next { color: var(--primary) !important; }
.swiper-button-prev::after, .swiper-button-next::after { font-size: 22px !important; }
.swiper-pagination-bullet { background: var(--primary) !important; }
.swiper-pagination-bullet-active { background: var(--primary) !important; }

/* Программы и мастера — слайдеры */
.prs-swiper--prg,
.prs-swiper--mst { padding-bottom: 56px !important; }

/* Галерея-слайдер (интерьер) — Vegas-размеры: крупные слайды */
.int-swiper { padding-bottom: 56px !important; }
.int-slide-img {
  aspect-ratio: 3/2;
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  filter: brightness(0.88);
  transition: filter 0.4s;
  cursor: zoom-in;
}
@media (min-width: 1024px) {
  .int-slide-img { min-height: 480px; }
}
.int-swiper .swiper-slide:hover .int-slide-img { filter: brightness(1.05); }

/* ═════════════════════════════════════════════════════════
   HERO TYPED text
   ═════════════════════════════════════════════════════════ */
.hero__h1 {
  font-family: var(--font-heading);
  font-size: clamp(17px, 1.9vw, 22px);
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin: 4px 0 16px;
  line-height: 1.3;
}
.hero__typed {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--primary);
  min-height: 1.5em;
  margin-bottom: 24px;
  letter-spacing: 1px;
}
.hero__typed-cursor {
  display: inline-block;
  width: 2px; height: 1em;
  background: var(--primary);
  margin-left: 3px;
  vertical-align: middle;
  animation: cursor-blink 0.9s steps(2) infinite;
}
@keyframes cursor-blink { 50% { opacity: 0; } }

/* Feature blocks */
.feature { background: transparent; border-color: var(--border); }

/* ═════════════════════════════════════════════════════════
   EXTRAS — дополнения к программам (обычные + VIP)
   ═════════════════════════════════════════════════════════ */
.extras-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .extras-layout { grid-template-columns: 1fr; gap: 20px; }
}

.extras-block {
  position: relative;
  background: #000;
  border: 1px solid var(--border);
  padding: 32px 28px 28px;
  transition: border-color 0.3s, transform 0.4s;
  display: flex;
  flex-direction: column;
}
.extras-block:hover { border-color: var(--primary); transform: translateY(-4px); }
.extras-block__head { margin-bottom: 20px; }
.extras-block__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 4px;
}
.extras-block__sub {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
}

.extras-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}
.extras-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(201,160,99,0.18);
  font-size: 14px;
  transition: color 0.2s, background 0.2s;
}
.extras-list li:last-child { border-bottom: none; }
.extras-list li:hover { color: var(--primary); background: rgba(201,160,99,0.04); padding-left: 6px; padding-right: 6px; }
.extras-list__name {
  color: var(--text);
  flex: 1;
  line-height: 1.3;
}
.extras-list__name small {
  display: inline;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  margin-left: 4px;
}
.extras-list__price {
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* VIP-блок — люкс-оформление */
@property --vip-ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes vip-rotate { to { --vip-ang: 360deg; } }
.extras-block--vip {
  background: conic-gradient(from var(--vip-ang),
    transparent 10%, rgba(255,255,255,0.35) 18%,
    rgba(230,207,164,0.8) 26%, var(--primary) 34%,
    rgba(138,106,61,0.5) 42%, transparent 56%,
    rgba(201,160,99,0.55) 72%, rgba(255,220,160,0.35) 82%,
    transparent 92%);
  padding: 2px;
  border: none;
  animation: vip-rotate 14s linear infinite;
  box-shadow: 0 0 40px rgba(201,160,99,0.25);
}
.extras-block--vip:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 55px rgba(201,160,99,0.4);
}
.extras-block--vip > * { position: relative; z-index: 2; }
.extras-block--vip::before {
  content: '';
  position: absolute; inset: 2px;
  background: #000;
  z-index: 1;
}
.extras-block--vip::after {
  content: '';
  position: absolute; inset: 2px;
  background-image: url('../images/programs/vip-dop.jpg');
  background-size: 100% auto;
  background-position: center bottom;
  background-repeat: no-repeat;
  filter: brightness(0.4);
  -webkit-mask-image: linear-gradient(to top,
    #000 0,
    #000 270px,
    transparent 340px,
    transparent 100%
  );
          mask-image: linear-gradient(to top,
    #000 0,
    #000 270px,
    transparent 340px,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}
.extras-block--vip .extras-block__head,
.extras-block--vip .extras-list,
.extras-block--vip .extras-block__note {
  padding: 0 26px;
}
.extras-block--vip .extras-block__head {
  padding-top: 32px;
  margin-bottom: 20px;
}
.extras-block--vip .extras-list:last-of-type { padding-bottom: 20px; }
.extras-block--vip .extras-block__title {
  background: linear-gradient(90deg, #fff, #e6cfa4, var(--primary), #e6cfa4, #fff);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-gold 7s linear infinite;
  font-size: 26px;
}
.extras-block--vip .extras-list li {
  border-bottom-color: rgba(201,160,99,0.25);
  padding: 10px 0;
  font-size: 14px;
}
.extras-block--vip .extras-list__price {
  color: #e6cfa4;
  font-size: 15px;
}
.extras-block__badge {
  position: absolute;
  top: -1px; right: 22px;
  z-index: 3;
  background: var(--primary);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  padding: 6px 14px 4px;
  box-shadow: 0 6px 18px rgba(201,160,99,0.55);
}
.extras-block__note {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(201,160,99,0.15);
  font-style: italic;
}

/* ═════════════════════════════════════════════════════════
   CTA BANNER (фото-фон + 2 кнопки, без форм)
   ═════════════════════════════════════════════════════════ */
.cta-banner {
  position: relative;
  padding: 110px 20px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.cta-banner__bg {
  position: absolute; inset: -3%;
  background: url('../images/interior/interior-07.jpg') center/cover no-repeat;
  filter: brightness(0.45) saturate(1.08);
  animation: hero-kenburns 24s ease-in-out infinite alternate;
  z-index: 0;
}
.cta-banner__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(120deg, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.5) 45%, rgba(10,10,10,0.88) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(10,10,10,0.4) 100%);
  z-index: 1;
}
.cta-banner__inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}
.cta-banner__pretitle {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}
.cta-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}
.cta-banner__sub {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 auto 38px;
  max-width: 620px;
}
.cta-banner__btns {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-banner__btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 240px;
  padding: 20px 42px;
  background: rgba(10,10,10,0.45);
  border: 1px solid var(--primary);
  color: #fff;
  font-family: var(--font-body);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s, border-color 0.3s, color 0.3s;
  backdrop-filter: blur(4px);
}
.cta-banner__btn::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-20deg);
  animation: btn-shine 5s ease-in-out infinite;
  pointer-events: none;
}
.cta-banner__btn-main {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
}
.cta-banner__btn-sub {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
}
.cta-banner__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(201,160,99,0.4);
}
.cta-banner__btn--filled {
  background: var(--primary);
  color: var(--bg);
}
.cta-banner__btn--filled .cta-banner__btn-sub { color: rgba(10,10,10,0.65); }
.cta-banner__btn--filled:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--text);
}
.cta-banner__btn--filled:hover .cta-banner__btn-sub { color: rgba(255,255,255,0.75); }

@media (max-width: 600px) {
  .cta-banner { padding: 72px 16px; }
  .cta-banner__btn { min-width: 220px; padding: 16px 28px; }
  .cta-banner__btn-main { font-size: 16px; }
}

/* ═════════════════════════════════════════════════════════
   PROGRAM POPUP
   ═════════════════════════════════════════════════════════ */
.p-popup-overlay {
  display: none;
  position: fixed; inset: 0;
  z-index: 9998;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(6px);
  align-items: center; justify-content: center;
  padding: 20px;
}
.p-popup-overlay.is-open { display: flex; }
.p-popup {
  position: relative;
  background: conic-gradient(from 0deg,
    transparent 12%, rgba(255,255,255,0.4) 20%, rgba(255,255,255,0.55) 25%,
    var(--primary) 34%, rgba(201,160,99,0.55) 40%, transparent 55%);
  padding: 2px;
  max-width: 780px;
  width: 100%;
  animation: popup-in 0.35s cubic-bezier(0.34,1.56,0.64,1) both;
  box-shadow: 0 0 60px rgba(201,160,99,0.4);
}
.p-popup__inner {
  background: #000;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-height: 86vh;
  overflow: hidden;
}
.p-popup__img-wrap {
  width: 100%;
  min-height: 480px;
  overflow: hidden;
  background: #000;
}
.p-popup__img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}
.p-popup__body { padding: 36px 32px 28px; display: flex; flex-direction: column; gap: 18px; overflow-y: auto; }
.p-popup__title {
  font-family: var(--font-heading);
  font-size: 34px; font-weight: 700;
  background: linear-gradient(90deg, #fff, #e6cfa4, var(--primary), #e6cfa4, #fff);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-gold 8s linear infinite;
}
.p-popup__meta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.p-popup__price {
  font-weight: 700; font-size: 20px;
  color: var(--bg); background: var(--primary);
  padding: 6px 14px;
}
.p-popup__dur {
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-muted);
}
.p-popup__desc { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0; }
.p-popup__short { font-size: 15px; line-height: 1.65; color: var(--text-muted); margin-bottom: 16px; }
.p-popup__includes-title {
  color: var(--primary);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 600;
}
.p-popup__includes { list-style: none; padding: 0; margin: 0 0 16px; }
.p-popup__includes li {
  padding: 5px 0 5px 22px;
  position: relative;
  font-size: 14px;
  color: var(--text);
  line-height: 1.45;
  border-bottom: 1px solid rgba(201,160,99,0.08);
}
.p-popup__includes li:last-child { border-bottom: none; }
.p-popup__includes li::before {
  content: '';
  position: absolute;
  left: 6px; top: 12px;
  width: 8px; height: 1px;
  background: var(--primary);
}
.p-popup__meta-line {
  color: var(--primary);
  font-size: 13px;
  letter-spacing: 1.5px;
  padding-top: 12px;
  margin-top: 6px;
  border-top: 1px solid rgba(201,160,99,0.3);
  font-weight: 500;
}
.p-popup__btn {
  font-family: var(--font-body);
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 14px 30px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--bg);
  background: var(--primary);
  border: none; cursor: pointer;
  text-decoration: none;
  transition: 0.3s;
  margin-top: auto;
}
.p-popup__btn:hover { background: var(--primary-dark); color: var(--text); box-shadow: 0 0 24px rgba(201,160,99,0.5); }
.p-popup__close {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px;
  background: var(--primary); color: var(--bg);
  border: none; border-radius: 50%;
  font-size: 20px; cursor: pointer;
  z-index: 10;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 10px rgba(201,160,99,0.7);
}
.p-popup__close:hover { background: var(--primary-dark); color: var(--text); }
@media (max-width: 800px) {
  .p-popup__inner { grid-template-columns: 1fr; }
  .p-popup__img-wrap { aspect-ratio: 4/3; min-height: auto; }
}

/* ═════════════════════════════════════════════════════════
   BOOK FORM POPUP
   ═════════════════════════════════════════════════════════ */
.book-popup-overlay {
  display: none;
  position: fixed; inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  align-items: center; justify-content: center;
  padding: 20px;
}
.book-popup-overlay.is-open { display: flex; }
.book-popup {
  position: relative;
  background: conic-gradient(from 0deg,
    transparent 12%, rgba(255,255,255,0.4) 20%, rgba(255,255,255,0.55) 25%,
    rgba(201,160,99,0.9) 34%, rgba(201,160,99,0.55) 40%, transparent 55%);
  padding: 2px;
  max-width: 940px;
  width: 100%;
  animation: popup-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  box-shadow: 0 0 60px rgba(201, 160, 99, 0.4);
}
.book-popup__inner {
  background: #000;
  display: grid;
  grid-template-columns: 380px 1fr;
  max-height: 86vh;
  overflow: hidden;
}
.book-popup__img-wrap {
  position: relative;
  width: 100%;
  min-height: 480px;
  overflow: hidden;
  background: #000;
}
.book-popup__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.book-popup__img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 30%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}
.book-popup__body {
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  overflow-y: auto;
}
.book-popup__logo {
  width: auto;
  max-width: 260px;
  max-height: 90px;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}
.book-popup__pretitle {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}
.book-popup__context {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 12px;
  max-width: 360px;
}
.book-popup__context b { color: var(--text); font-weight: 600; }
.book-popup__phone {
  font-family: var(--font-body);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 1.5px;
  line-height: 1.1;
  margin: 6px 0 4px;
  display: block;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: color 0.25s, text-shadow 0.25s;
}
.book-popup__phone:hover {
  color: #e6cfa4;
  text-shadow: 0 0 18px rgba(201,160,99,0.55);
}
.book-popup__note {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.book-popup__btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.book-popup__btn {
  position: relative;
  display: block;
  padding: 16px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: rgba(10,10,10,0.5);
  border: 1px solid var(--primary);
  overflow: hidden;
  transition: background 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.book-popup__btn::before {
  content: '';
  position: absolute; top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-20deg);
  animation: btn-shine 5s ease-in-out infinite;
  pointer-events: none;
}
.book-popup__btn:hover {
  background: var(--primary);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(201,160,99,0.45);
}
.book-popup__btn--filled {
  background: var(--primary);
  color: var(--bg);
}
.book-popup__btn--filled:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--text);
}
.book-popup__close {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px;
  background: var(--primary); color: var(--bg);
  border: none; border-radius: 50%;
  font-size: 20px;
  cursor: pointer; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 10px rgba(201,160,99,0.7);
  transition: 0.2s;
}
.book-popup__close:hover { background: var(--primary-dark); color: var(--text); }

@media (max-width: 700px) {
  .book-popup__inner { grid-template-columns: 1fr; }
  .book-popup__img-wrap { min-height: 200px; height: 220px; }
  .book-popup__img-overlay { background: linear-gradient(to bottom, transparent 35%, rgba(0,0,0,0.9) 100%); }
  .book-popup__body { padding: 28px 22px 22px; }
  .book-popup__title { font-size: 24px; }
}

/* ═════════════════════════════════════════════════════════
   FAQ accordion
   ═════════════════════════════════════════════════════════ */
.faq { max-width: 920px; margin: 0 auto; }
.faq__item {
  border: 1px solid var(--border);
  background: #000;
  margin-bottom: 6px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq__item:hover { border-color: rgba(201,160,99,0.45); }
.faq__item.is-open { border-color: var(--primary); }
.faq__q {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  text-align: left;
  padding: 14px 52px 14px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
  line-height: 1.4;
}
.faq__q::after {
  content: '+';
  position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--primary);
  transition: transform 0.3s;
  line-height: 1;
}
.faq__item.is-open .faq__q { color: var(--primary); }
.faq__item.is-open .faq__q::after { content: '−'; }
.faq__q:hover { color: var(--primary); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
  color: var(--text-muted);
  padding: 0 20px;
  font-size: 14px;
  line-height: 1.7;
}
.faq__item.is-open .faq__a {
  max-height: 4000px;
  padding: 4px 20px 18px;
  border-top: 1px solid rgba(201,160,99,0.2);
}
.faq__a p { margin: 0 0 10px; }
.faq__a ol, .faq__a ul { margin: 8px 0 10px; padding-left: 22px; }
.faq__a li { margin-bottom: 4px; }
.faq__a strong { color: var(--text); }

.seo-text { max-width: 800px; margin: 0 auto; line-height: 1.75; color: var(--text-muted); }
.seo-text p { margin-bottom: 16px; }
.seo-text a { color: var(--primary); text-decoration: underline; }
.seo-text strong { color: var(--text); }

/* Benefits with icons */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 980px) {
  .benefits { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 560px) {
  .benefits { grid-template-columns: 1fr; gap: 16px; }
}
.benefit {
  position: relative;
  text-align: center;
  padding: 36px 24px 30px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
  overflow: hidden;
}
.benefit::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(201,160,99,0.10) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.benefit:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: 0 14px 40px -18px rgba(201,160,99,0.45);
}
.benefit:hover::before { opacity: 1; }
.benefit__icon {
  position: relative;
  width: 108px; height: 108px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,160,99,0.18) 0%, rgba(201,160,99,0.04) 60%, transparent 100%);
}
.benefit__icon::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(201,160,99,0.25);
  transition: border-color 0.35s, transform 0.35s;
}
.benefit:hover .benefit__icon::after {
  border-color: var(--primary);
  transform: scale(1.05);
}
.benefit__icon img {
  width: 92%;
  height: 92%;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 2px 8px rgba(201,160,99,0.35));
  transition: transform 0.4s ease;
}
.benefit:hover .benefit__icon img { transform: scale(1.04); }
.benefit__title {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.benefit__desc { font-size: 15px; color: var(--text-muted); line-height: 1.65; }

/* ═════════════════════════════════════════════════════════
   MASTER POPUP
   ═════════════════════════════════════════════════════════ */
@keyframes popup-in {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.m-popup-overlay {
  display: none;
  position: fixed; inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.m-popup-overlay.is-open { display: flex; }
.m-popup {
  position: relative;
  background: conic-gradient(from 0deg,
    transparent 12%, rgba(255,255,255,0.4) 20%, rgba(255,255,255,0.55) 25%,
    rgba(201,160,99,0.9) 34%, rgba(201,160,99,0.55) 40%, transparent 55%);
  padding: 2px;
  max-width: 920px;
  width: 100%;
  animation: popup-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  box-shadow: 0 0 60px rgba(201, 160, 99, 0.4);
}
.m-popup__inner {
  background: var(--bg-card);
  display: grid;
  grid-template-columns: auto 1fr;
  max-height: 86vh;
  overflow-y: auto;
}
.m-popup__gallery { display: flex; flex-direction: row; gap: 0; }
.m-popup__thumbs {
  display: flex; flex-direction: column; gap: 4px;
  width: 90px;
  padding: 4px;
  background: var(--bg-alt);
}
.m-popup__thumb {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s, filter 0.2s;
  display: block;
  filter: brightness(0.7);
}
.m-popup__thumb:hover, .m-popup__thumb.is-active {
  border-color: var(--primary);
  filter: brightness(1);
}
.m-popup__main-wrap { width: 460px; min-height: 620px; overflow: hidden; flex-shrink: 0; background: var(--bg); }
.m-popup__main-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

.m-popup__body { padding: 30px 30px; display: flex; flex-direction: column; gap: 18px; }
.m-popup__name {
  font-family: var(--font-heading);
  font-size: 34px; font-weight: 700;
  background: linear-gradient(90deg, #fff, #e6cfa4, var(--primary), #e6cfa4, #fff);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-gold 6s linear infinite;
}
.m-popup__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.m-popup__stat-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.m-popup__stat-value { font-size: 17px; color: var(--text); font-weight: 500; }
.m-popup__desc { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin: 0; }
.m-popup__btn {
  font-family: var(--font-body);
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 14px 30px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--bg);
  background: var(--primary);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s;
  margin-top: auto;
}
.m-popup__btn:hover { background: var(--primary-dark); color: var(--text); box-shadow: 0 0 24px rgba(201,160,99,0.5); }
.m-popup__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  background: var(--primary);
  border: none; border-radius: 50%;
  color: var(--bg);
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 10px rgba(201,160,99,0.7);
  transition: 0.2s;
}
.m-popup__close:hover { background: var(--primary-dark); color: var(--text); }

@media (max-width: 900px) {
  .m-popup__inner { grid-template-columns: 1fr; }
  .m-popup__gallery { flex-direction: column-reverse; }
  .m-popup__thumbs { flex-direction: row; width: 100%; }
  .m-popup__thumb { width: 80px; }
  .m-popup__main-wrap { width: 100%; min-height: auto; aspect-ratio: 3/4; }
  .m-popup__stats { grid-template-columns: repeat(2, 1fr); }
}

/* ═════════════════════════════════════════════════════════
   TEXT PAGES (about, vacancy)
   ═════════════════════════════════════════════════════════ */
.text-page { max-width: 800px; margin: 0 auto; }
.text-page p { color: var(--text-muted); margin-bottom: 20px; line-height: 1.8; font-size: 16px; }
.text-page h2 { margin-top: 50px; text-align: left; }
.text-page h2.accent { color: var(--primary); }
.text-page ul { margin: 20px 0; padding-left: 24px; color: var(--text-muted); }
.text-page ul li { margin-bottom: 10px; }
.text-page ul li strong { color: var(--text); }

/* ═════════════════════════════════════════════════════════
   VACANCY HERO (пример формата — Revnost)
   ═════════════════════════════════════════════════════════ */
.vac-hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 80px;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}
.vac-hero__bg {
  position: absolute;
  top: 0; bottom: -10%;
  left: calc(50% - min(50vw, 960px));
  right: calc(50% - min(50vw, 960px));
  background: url('../images/hero/hero-bg.jpg') center top/cover no-repeat;
  filter: brightness(0.5) saturate(1.05);
  transform-origin: top center;
  animation: hero-kenburns 24s ease-in-out infinite alternate;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  z-index: 0;
}
.vac-hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at center, transparent 35%, rgba(0,0,0,0.7) 95%),
    linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 35%, rgba(0,0,0,0.6) 75%, #000 100%);
  z-index: 1;
  pointer-events: none;
}
.vac-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
}
.vac-hero__pretitle {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 24px;
}
.vac-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5.5vw, 58px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #fff;
}
.vac-hero__sub {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 500;
  line-height: 1.3;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
}
.vac-hero__cta {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Критерии подбора — акцент суммой */
.vac-criteria {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.vac-criteria p {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 500;
  line-height: 1.45;
  color: #fff;
  margin-bottom: 10px;
}
.vac-amount {
  font-weight: 700;
  font-size: 1.1em;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .vac-hero { min-height: 62vh; padding: 70px 16px 50px; }
  .vac-hero__sub { font-size: 18px; margin-bottom: 28px; }
  .vac-criteria p { font-size: 18px; }
}

/* Promo slider styles moved to inline <style> in index.html */
