/* ============================================================
   Грин-Вуд 33 — Landing Design System
   Реплика дизайна greenwood33.ru
   Petrol #132f3b · Sand #f9b65e · Montserrat + Roboto
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800;900&family=Roboto:wght@400;500;700&display=swap');

:root {
  /* Petrol — тёмный фирменный (шапка, тёмные секции, футер) */
  --ink:        #132f3b;
  --ink-2:      #1d4150;
  --ink-3:      #25566a;
  --ink-deep:   #0e2530;

  /* Sand — акцент (кнопки, цены, выделения) */
  --accent:      #f9b65e;
  --accent-dark: #f3a23d;
  --accent-deep: #e0892a;
  --accent-pale: #fcedd4;

  /* Green — вторичный */
  --green:       #35815b;
  --green-dark:  #2a6a4a;
  --green-pale:  #e8f0ea;

  /* Тёплые нейтрали */
  --cream:    #f6f1e7;   /* основной фон страницы */
  --sand-bg:  #ece2cf;   /* тёплый альт-фон */
  --surface:  #ffffff;
  --text:     #21282b;
  --muted:    #5d686c;
  --subtle:   #939a9c;
  --border:   #e7ddc9;
  --border-2: #d8ccb2;

  /* Шрифты */
  --display: 'Montserrat', system-ui, sans-serif;
  --body:    'Roboto', system-ui, -apple-system, sans-serif;

  /* Скругления */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --r-xl: 26px;

  /* Тени */
  --shadow-sm: 0 4px 16px rgba(19,47,59,.07);
  --shadow:    0 14px 38px rgba(19,47,59,.11);
  --shadow-lg: 0 28px 64px rgba(19,47,59,.20);
  --shadow-accent: 0 12px 28px rgba(224,137,42,.36);

  --tr: .22s ease;

  /* Легаси-алиасы (используются в inline-стилях index.php / API) */
  --color-amber:       var(--accent);
  --color-amber-light: var(--accent);
  --color-text-muted:  var(--muted);
  --color-white:       #ffffff;
  --color-forest:      var(--ink);
  --muted-c:           var(--muted);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.62;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
::selection { background: var(--accent); color: var(--ink); }

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.14;
  color: var(--ink);
  letter-spacing: -.01em;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
section { position: relative; }

.section {
  padding: 4.25rem 0;
}
@media (min-width: 768px)  { .section { padding: 5.5rem 0; } }
@media (min-width: 1024px) { .section { padding: 7rem 0; } }

.bg-cream   { background: var(--cream); }
.bg-surface { background: var(--surface); }
.bg-sand    { background: var(--sand-bg); }
.bg-ink     { background: var(--ink); }

/* ── Section heading ────────────────────────────────────────── */
.section-head { margin-bottom: 2.5rem; }
.section-head-center { text-align: center; }

.section-label {
  display: inline-block;
  font-family: var(--display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: .85rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 26px; height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: .6rem;
  margin-bottom: 3px;
}
.section-head-center .section-label::after {
  content: '';
  display: inline-block;
  width: 26px; height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-left: .6rem;
  margin-bottom: 3px;
}

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.85rem);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -.005em;
}
.section-title .accent { color: var(--accent-deep); }
.section-title.on-dark { color: #fff; }
.section-title.on-dark .accent { color: var(--accent); }

.section-intro {
  margin-top: 1.15rem;
  color: var(--muted);
  max-width: 620px;
  font-size: 1.02rem;
  line-height: 1.66;
}
.section-head-center .section-intro { margin-inline: auto; }
.on-dark .section-intro,
.section-intro.on-dark { color: rgba(255,255,255,.72); }

/* декоративная подпись-черта под заголовком */
.title-rule {
  width: 64px; height: 4px;
  background: var(--accent);
  border-radius: 4px;
  margin: 1.1rem 0 0;
}
.section-head-center .title-rule { margin-inline: auto; }

/* ── Scroll animations ──────────────────────────────────────── */
.fade-up   { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-in   { opacity: 0; transition: opacity .7s ease; }
.fade-in.visible { opacity: 1; }
.slide-left  { opacity: 0; transform: translateX(-32px); transition: opacity .6s ease, transform .6s ease; }
.slide-left.visible  { opacity: 1; transform: translateX(0); }
.slide-right { opacity: 0; transform: translateX(32px);  transition: opacity .6s ease, transform .6s ease; }
.slide-right.visible { opacity: 1; transform: translateX(0); }

.stagger-children > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.stagger-children.visible > * { opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(1) { transition-delay: .05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: .12s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: .19s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: .26s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: .33s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: .40s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: .47s; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .fade-up, .fade-in, .slide-left, .slide-right, .stagger-children > * {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 1rem 2rem;
  border-radius: var(--r-sm);
  font-family: var(--display);
  font-weight: 700;
  font-size: .92rem;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background var(--tr), color var(--tr),
              box-shadow var(--tr), transform var(--tr), border-color var(--tr);
}
.btn i { font-size: 1.1em; }

/* Главный CTA — sand */
.btn-amber {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(224,137,42,.30);
}
.btn-amber:hover {
  background: var(--accent-dark);
  box-shadow: var(--shadow-accent);
  transform: translateY(-2px);
}

/* Тёмный — на светлых секциях */
.btn-forest {
  background: var(--ink);
  color: #fff;
}
.btn-forest:hover { background: var(--ink-2); transform: translateY(-2px); }

.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); transform: translateY(-2px); }

.btn-white {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover { background: var(--accent-pale); transform: translateY(-2px); }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-outline-amber {
  background: transparent;
  color: var(--accent-deep);
  border: 2px solid var(--accent);
}
.btn-outline-amber:hover { background: var(--accent); color: var(--ink); }

.btn-outline-green {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-outline-green:hover { background: var(--green); color: #fff; }

.btn-lg { padding: 1.15rem 2.5rem; font-size: 1rem; }
.btn-sm { padding: .7rem 1.2rem; font-size: .78rem; }
.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: .85rem 0;
  background: rgba(19,47,59,.18);
  transition: background var(--tr), box-shadow var(--tr), padding var(--tr);
}
.site-header.scrolled {
  background: var(--ink);
  box-shadow: 0 6px 26px rgba(0,0,0,.22);
  padding: .55rem 0;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

/* Логотип */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}
.logo-name {
  font-family: var(--display);
  font-size: 1.32rem;
  font-weight: 900;
  letter-spacing: .02em;
  color: #fff;
  text-transform: uppercase;
}
.logo-name span { color: var(--accent); }
.logo-tagline {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: .28rem;
}

.main-nav { display: none; gap: 1.1rem; margin-left: auto; }
.main-nav a {
  font-family: var(--display);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
  white-space: nowrap;
  color: rgba(255,255,255,.85);
  padding: .35rem 0;
  position: relative;
  transition: color var(--tr);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--tr);
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { width: 100%; }

.header-contact { display: none; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.header-phone {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  transition: color var(--tr);
}
.header-phone:hover { color: var(--accent); }
.header-phone-note {
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--accent);
}

.header-cta { display: none; padding: .7rem 1.4rem; font-size: .78rem; }

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 26px; height: 2.5px;
  background: #fff;
  border-radius: 3px;
  transition: var(--tr);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  transform: translateX(100%);
  transition: transform .32s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu-phone { color: var(--accent) !important; font-size: 1.3rem !important; }
.mobile-menu-msg { display: flex; gap: .8rem; }
.mobile-menu-msg .header-msg { width: 48px; height: 48px; font-size: 1.4rem; }

.header-messengers { display: none; gap: .45rem; }
.header-msg {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  transition: transform var(--tr), filter var(--tr);
}
.header-msg:hover { transform: translateY(-2px); filter: brightness(1.1); }
.header-msg-wa { background: #25D366; }
.header-msg-tg { background: #2AABEE; }

@media (min-width: 768px)  { .header-contact { display: flex; } }
@media (min-width: 1160px) {
  .main-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .hamburger { display: none; }
  .header-inner { gap: 1.25rem; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8.5rem 0 4rem;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img {
  position: absolute;
  top: -17%; left: 0;
  width: 100%; height: 134%;
  object-fit: cover;
  object-position: 60% center;
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(14,37,48,.94) 0%, rgba(14,37,48,.78) 42%, rgba(14,37,48,.34) 100%),
    linear-gradient(to top, rgba(14,37,48,.6), transparent 40%);
}

.hero-content { position: relative; z-index: 5; width: 100%; }
.hero-inner { max-width: 660px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--display);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(249,182,94,.12);
  border: 1px solid rgba(249,182,94,.35);
  border-radius: 100px;
  padding: .5rem 1.1rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(2.1rem, 5.6vw, 3.7rem);
  font-weight: 900;
  line-height: 1.07;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin-bottom: 1.5rem;
}
.hero-title .accent { color: var(--accent); }

.hero-features {
  display: grid;
  gap: .7rem;
  margin-bottom: 2rem;
}
@media (min-width: 560px) { .hero-features { grid-template-columns: 1fr 1fr; } }
.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .98rem;
  color: rgba(255,255,255,.92);
}
.hero-feature i {
  flex-shrink: 0;
  color: var(--ink);
  background: var(--accent);
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  margin-top: 2px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

/* мини-форма телефона */
.hero-form {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  max-width: 480px;
  margin-bottom: 1.1rem;
}
.hero-form-row {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.hero-form-input {
  flex: 1;
  padding: 1.05rem 1.25rem;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  background: #fff;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  outline: none;
  transition: border-color var(--tr);
}
.hero-form-input::placeholder { color: var(--subtle); }
.hero-form-input:focus { border-color: var(--accent); }
.hero-form-note {
  display: flex; align-items: center; gap: .45rem;
  font-size: .82rem;
  color: rgba(255,255,255,.62);
  margin-bottom: 1.6rem;
}
.hero-form-note i { color: var(--accent); }

/* нижняя плашка-скролл */
.hero-scroll {
  position: absolute;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: rgba(255,255,255,.5);
  font-size: 1.4rem;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,8px);} }

@media (min-width: 768px) {
  .hero-form-row { flex-direction: row; }
  .hero-form-row .btn { flex-shrink: 0; }
}

/* ============================================================
   ABOUT — перфекционизм
   ============================================================ */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 980px) { .about-grid { grid-template-columns: 1.05fr .95fr; gap: 4rem; } }

.about-photo-wrap { position: relative; }
.about-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3.4;
  box-shadow: var(--shadow);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-badge {
  position: absolute;
  right: -12px; bottom: -22px;
  background: var(--accent);
  color: var(--ink);
  border-radius: var(--r);
  padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow-accent);
  text-align: center;
  max-width: 220px;
}
.about-photo-badge .num {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}
.about-photo-badge .lbl {
  font-size: .8rem;
  font-weight: 600;
  margin-top: .25rem;
}
.about-decor {
  position: absolute;
  top: -34px; left: -30px;
  width: 130px;
  opacity: .9;
  z-index: 2;
  pointer-events: none;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1.02rem;
  line-height: 1.7;
}
.about-points {
  display: grid;
  gap: .7rem;
  margin: 1.6rem 0 1.8rem;
}
@media (min-width: 560px) { .about-points { grid-template-columns: 1fr 1fr; } }
.about-point {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .94rem;
  font-weight: 500;
  color: var(--text);
}
.about-point i {
  flex-shrink: 0;
  color: var(--green);
  font-size: 1.25rem;
  margin-top: 1px;
}
.about-mini {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.6rem;
  padding: 1.1rem 1.3rem;
  background: var(--green-pale);
  border-radius: var(--r);
  margin-bottom: 1.8rem;
}
.about-mini span {
  display: flex; align-items: center; gap: .5rem;
  font-size: .9rem; font-weight: 600; color: var(--green-dark);
}
.about-mini i { font-size: 1.05rem; }

/* ============================================================
   OFFER BAND — «Мечтаете о собственной бане...»
   ============================================================ */
.offer-band {
  position: relative;
  padding: 4.5rem 0;
  overflow: hidden;
  background: var(--ink);
}
.offer-band-bg {
  position: absolute; inset: 0;
  opacity: .22;
  object-fit: cover;
  width: 100%; height: 100%;
}
.offer-band::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink) 10%, rgba(19,47,59,.5) 100%);
}
.offer-band .container { position: relative; z-index: 2; }
.offer-band-inner { max-width: 760px; }
.offer-band h2 {
  font-size: clamp(1.55rem, 3.6vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.13;
  margin-bottom: 1rem;
}
.offer-band h2 .accent { color: var(--accent); }
.offer-band p {
  font-size: 1.18rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 1.8rem;
}

/* ============================================================
   SERVICES — Создадим / Доставим / Подключим / Выполним
   ============================================================ */
.services-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px)  { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4,1fr); } }

.service-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 2.1rem 1.6rem 1.8rem;
  box-shadow: var(--shadow-sm);
  border-bottom: 4px solid var(--accent);
  overflow: hidden;
}
.service-step {
  position: absolute;
  top: .6rem; right: 1rem;
  font-family: var(--display);
  font-size: 3.4rem;
  font-weight: 900;
  color: var(--accent-pale);
  line-height: 1;
  z-index: 0;
}
.service-icon {
  position: relative;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 1.1rem;
}
.service-card h3 {
  position: relative;
  font-size: 1.18rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: .4rem;
}
.service-card p {
  position: relative;
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.6;
}

.services-notes {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px)  { .services-notes { grid-template-columns: 1fr 1fr; } }
.service-note {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.6;
}
.service-note i { color: var(--green); font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }

/* ============================================================
   STATS BAND — «На 15% дешевле рынка»
   ============================================================ */
.stats-band {
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(249,182,94,.16), transparent 60%),
    var(--ink);
  color: #fff;
}
.stats-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 980px) { .stats-grid { grid-template-columns: .9fr 1.1fr; gap: 3.5rem; } }

.stats-lead h2 {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.stats-lead h2 .accent { color: var(--accent); }
.stats-lead p {
  color: rgba(255,255,255,.74);
  font-size: 1.04rem;
  margin-bottom: 1.7rem;
}
.stats-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.stats-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat-cell {
  background: var(--ink-deep);
  padding: 1.7rem 1.3rem;
  text-align: center;
}
.stat-value {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -.02em;
}
.stat-label {
  display: block;
  margin-top: .5rem;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.68);
  line-height: 1.4;
}

/* ============================================================
   TWO VARIANTS
   ============================================================ */
.variants-grid {
  display: grid;
  gap: 1.3rem;
}
@media (min-width: 820px) { .variants-grid { grid-template-columns: 1fr 1fr; } }

.variant-card {
  position: relative;
  border-radius: var(--r-lg);
  padding: 2.4rem 2rem;
  overflow: hidden;
}
.variant-card-a { background: var(--surface); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.variant-card-b { background: var(--ink); color: #fff; }

.variant-num {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--ink);
  background: var(--accent);
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.variant-card h3 {
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: .65rem;
}
.variant-card-b h3 { color: #fff; }
.variant-card > p {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.variant-card-a > p { color: var(--muted); }
.variant-card-b > p { color: rgba(255,255,255,.78); }

.variant-pros {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-bottom: 1.7rem;
}
.variant-pros li {
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: .94rem;
}
.variant-pros li i { flex-shrink: 0; margin-top: 2px; }
.variant-card-a .variant-pros li { color: var(--text); }
.variant-card-a .variant-pros li i { color: var(--green); }
.variant-card-b .variant-pros li { color: rgba(255,255,255,.85); }
.variant-card-b .variant-pros li i { color: var(--accent); }

/* ============================================================
   CATALOG
   ============================================================ */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.catalog-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.catalog-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--sand-bg);
}
.catalog-card-img.js-detail-btn { cursor: pointer; }
.catalog-card-img.js-detail-btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.catalog-card-img-inner { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.catalog-card-img > picture { display: block; width: 100%; height: 100%; }
.catalog-card-img.js-detail-btn:hover .catalog-card-img-inner { transform: scale(1.05); }

/* Мини-слайдер в карточке каталога (main + thumbs) */
.catalog-card-swiper { width: 100%; height: 100%; }
.catalog-card-swiper .swiper-slide {
  display: flex; align-items: center; justify-content: center;
  background: var(--sand-bg);
}
.catalog-card-swiper .swiper-slide picture { display: block; width: 100%; height: 100%; }
.catalog-card-swiper .swiper-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease, opacity .25s ease;
}

/* ── Skeleton/shimmer пока картинка не загружена ─────────────── */
.catalog-card-swiper .swiper-slide,
.catalog-card-thumbs .swiper-slide,
.cmi-main-swiper .swiper-slide,
.cmi-thumbs-swiper .swiper-slide,
.gallery-item { position: relative; }

.catalog-card-swiper .swiper-slide:not(.is-loaded)::before,
.catalog-card-thumbs .swiper-slide:not(.is-loaded)::before,
.gallery-item:not(.is-loaded)::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(110deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.55) 50%,
      rgba(255,255,255,0) 100%) 0 0 / 220% 100% no-repeat,
    #e6e6e1;
  animation: skeleton-shimmer 1.4s linear infinite;
  z-index: 1;
  pointer-events: none;
}
/* В модалке — тёмная подложка #0e2530, делаем skeleton тёмным */
.cmi-main-swiper .swiper-slide:not(.is-loaded)::before,
.cmi-thumbs-swiper .swiper-slide:not(.is-loaded)::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(110deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.08) 50%,
      rgba(255,255,255,0) 100%) 0 0 / 220% 100% no-repeat,
    #1a3540;
  animation: skeleton-shimmer 1.4s linear infinite;
  z-index: 1;
  pointer-events: none;
}
@keyframes skeleton-shimmer {
  0%   { background-position: 220% 0, 0 0; }
  100% { background-position: -220% 0, 0 0; }
}

/* Картинка-плейсхолдер (1x1 transparent gif) изначально скрыта,
   на load (через JS .is-loaded на родителе) — fade-in */
.catalog-card-swiper .swiper-slide img,
.catalog-card-thumbs .swiper-slide img,
.cmi-main-swiper .swiper-slide img,
.cmi-thumbs-swiper .swiper-slide img,
.gallery-item img { opacity: 0; transition: opacity .25s ease; }

.catalog-card-swiper .swiper-slide.is-loaded img,
.catalog-card-thumbs .swiper-slide.is-loaded img,
.cmi-main-swiper .swiper-slide.is-loaded img,
.cmi-thumbs-swiper .swiper-slide.is-loaded img,
.gallery-item.is-loaded img { opacity: 1; }

/* Single-image case в каталог-карточке (без swiper) — тот же эффект */
.catalog-card-img:not(.is-loaded) > .catalog-card-img-inner,
.catalog-card-img:not(.is-loaded) > picture > img { opacity: 0; }
.catalog-card-img > .catalog-card-img-inner,
.catalog-card-img > picture > img { transition: opacity .25s ease, transform .45s ease; }
.catalog-card-img.js-detail-btn:hover .catalog-card-swiper .swiper-slide-active img {
  transform: scale(1.05);
}
.catalog-card-thumbs {
  margin: .55rem .75rem 0;
  padding: 2px 0;
}
.catalog-card-thumbs .swiper-slide {
  width: 92px; height: 68px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: .55;
  transition: opacity .2s ease, border-color .2s ease;
  border: 2px solid transparent;
  background: var(--sand-bg);
}
.catalog-card-thumbs .swiper-slide:hover { opacity: .9; }
.catalog-card-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  border-color: var(--accent, #d99038);
}
.catalog-card-thumbs .swiper-slide picture { display: block; width: 100%; height: 100%; }
.catalog-card-thumbs .swiper-slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
@media (max-width: 480px) {
  .catalog-card-thumbs .swiper-slide { width: 76px; height: 56px; }
}
.catalog-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--ink), var(--ink-3));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: rgba(255,255,255,.25);
}
.catalog-badge {
  position: absolute;
  top: .85rem; left: .85rem;
  background: var(--ink);
  color: #fff;
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .35rem .8rem;
  border-radius: 100px;
}
.catalog-discount-badge {
  position: absolute;
  top: .85rem; right: .85rem;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 800;
  padding: .35rem .75rem;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(224,137,42,.4);
}
.catalog-card-body { padding: 1.3rem 1.4rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.catalog-card-body h3 {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: .5rem;
  min-height: calc(1.16em * 2);
}
.catalog-spec-list {
  margin: .3rem 0 0;
  border-top: 1px solid var(--border);
}
.catalog-spec-list li {
  display: flex; justify-content: space-between; gap: .6rem;
  padding: .42rem 0;
  font-size: .85rem;
  border-bottom: 1px solid var(--border);
}
.catalog-spec-list li > span:first-child { color: var(--muted); }
.catalog-spec-list li > span:last-child  { font-weight: 600; text-align: right; }

.catalog-price-row {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: .2rem .6rem;
  margin-top: 1rem;
}
.catalog-price-label { width: 100%; font-size: .78rem; color: var(--muted); }
.catalog-price-current {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--ink);
}
.catalog-price-old {
  font-size: .9rem; color: var(--subtle);
  text-decoration: line-through;
}
.catalog-card-actions {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}
.catalog-card-actions .btn { width: 100%; }

/* ── CATALOG MODAL ───────────────────────────────────────────── */
.catalog-modal {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  align-items: center; justify-content: center;
  isolation: isolate;
}
.catalog-modal.open { display: flex; }
.catalog-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(14,37,48,.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.catalog-modal-box {
  position: relative; z-index: 1;
  background: var(--surface);
  border-radius: var(--r-lg);
  width: min(720px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 2.2rem;
}
.catalog-modal-box--narrow { width: min(460px, calc(100vw - 2rem)); }

#catalog-modal .catalog-modal-box {
  width: 100vw; height: 100vh; max-height: 100vh;
  border-radius: 0; padding: 0; overflow: hidden;
  display: flex; flex-direction: column;
}
#catalog-modal #catalog-modal-content { flex: 1; overflow: hidden; display: flex; flex-direction: column; }

.catalog-modal-loader { padding: 3rem; text-align: center; color: var(--muted); font-size: 1.6rem; }
.catalog-modal-loader .bi { animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.catalog-modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 10;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: var(--tr);
}
.catalog-modal-close:hover { background: var(--accent); }
.catalog-modal-title { font-family: var(--display); font-size: 1.2rem; font-weight: 800; }

/* booking modal */
.book-modal-head { text-align: center; margin-bottom: 1.5rem; }
.book-modal-discount {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--display);
  font-size: .92rem;
  font-weight: 800;
  padding: .35rem 1rem;
  border-radius: 100px;
  margin-bottom: .8rem;
}
.book-modal-item-title { color: var(--muted); font-size: .94rem; margin-top: .3rem; }
.book-form { display: flex; flex-direction: column; gap: .7rem; }
.book-input {
  width: 100%;
  padding: .95rem 1.15rem;
  border: 2px solid var(--border-2);
  border-radius: var(--r-sm);
  font-size: .98rem;
  outline: none;
  background: var(--surface);
  transition: border-color var(--tr);
}
.book-input:focus { border-color: var(--accent); }
.book-input::placeholder { color: var(--subtle); }
.book-form-btn { width: 100%; margin-top: .3rem; }
.book-form-note {
  font-size: .8rem; color: var(--muted);
  text-align: center;
  display: flex; align-items: center; justify-content: center; gap: .4rem;
}
.book-form-note i { color: var(--green); }
.book-success { display: none; text-align: center; padding: 1rem 0; }
.book-success.visible { display: block; }
.book-success-icon {
  width: 62px; height: 62px;
  margin: 0 auto .85rem;
  background: var(--green-pale);
  color: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.book-success-title { font-family: var(--display); font-size: 1.15rem; font-weight: 800; margin-bottom: .4rem; }
.book-success-text { font-size: .9rem; color: var(--muted); }

/* cmi-* — детальная карточка */
.cmi-layout { display: flex; flex-direction: column; flex: 1; overflow: hidden; height: 100%; }
@media (min-width: 900px) { .cmi-layout { flex-direction: row; } }
.cmi-gallery { background: #0e2530; display: flex; flex-direction: column; overflow: hidden; flex-shrink: 0; }
@media (max-width: 899px) {
  /* На мобиле — единый скролл всей карточки.
     CSS-sticky тут не работает (Yandex Mobile + Chromium-бага со sticky
     внутри scrollable-контейнера в fixed-модалке), поэтому залипание
     .cmi-head делаем через JS — класс .is-stuck. */
  #catalog-modal .catalog-modal-box {
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  #catalog-modal #catalog-modal-content { display: block; overflow: visible; height: auto; flex: none; }
  #catalog-modal .catalog-modal-close { position: fixed; top: 14px; right: 14px; }
  .cmi-layout { display: block; overflow: visible; height: auto; }
  .cmi-gallery { height: auto; }
  .cmi-main-swiper { flex: 0 0 auto; aspect-ratio: 4 / 3; }
  .cmi-info { display: block; overflow: visible; }
  .cmi-body { overflow: visible; }
  .cmi-head.is-stuck {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 5;
    background: var(--surface);
    box-shadow: 0 6px 14px rgba(14, 37, 48, .08);
  }
}
@media (min-width: 900px) { .cmi-gallery { width: 55%; height: 100%; } }

.cmi-main-swiper { flex: 1; overflow: hidden; position: relative; min-height: 0; width: 100%; }
.cmi-main-swiper .swiper-slide {
  display: flex; align-items: center; justify-content: center;
  background: #0e2530;
}
.cmi-main-swiper .swiper-slide picture { display: block; width: 100%; height: 100%; }
.cmi-main-swiper .swiper-slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.cmi-no-photo {
  flex: 1;
  background: linear-gradient(135deg, var(--ink), var(--ink-3));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: rgba(255,255,255,.3);
}
.cmi-swiper-btn {
  appearance: none; border: 0;
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(8, 22, 28, .6);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background .15s ease, transform .15s ease;
}
.cmi-swiper-btn:hover { background: var(--accent); transform: translateY(-50%) scale(1.06); }
.cmi-swiper-btn.swiper-button-disabled { opacity: .35; cursor: default; }
.cmi-swiper-btn.swiper-button-disabled:hover { background: rgba(8, 22, 28, .6); transform: translateY(-50%); }
.cmi-swiper-prev { left: 14px; }
.cmi-swiper-next { right: 14px; }

.cmi-thumbs-swiper {
  padding: 10px 12px;
  background: rgba(0, 0, 0, .5);
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
}
.cmi-thumbs-swiper .swiper-slide {
  width: 100px;
  height: 72px;
  cursor: pointer;
  opacity: .5;
  border: 2px solid transparent;
  border-radius: 5px;
  overflow: hidden;
  transition: opacity .2s, border-color .2s;
}
.cmi-thumbs-swiper .swiper-slide:hover { opacity: .85; }
.cmi-thumbs-swiper .swiper-slide-thumb-active {
  opacity: 1;
  border-color: var(--accent);
}
.cmi-thumbs-swiper .swiper-slide picture { display: block; width: 100%; height: 100%; }
.cmi-thumbs-swiper .swiper-slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.cmi-info { flex: 1; overflow: hidden; display: flex; flex-direction: column; }
.cmi-head {
  flex-shrink: 0;
  padding: 1.5rem 1.9rem 1.2rem;
  border-bottom: 1px solid var(--border);
}
.cmi-badge {
  position: static !important;
  display: inline-block !important;
  background: var(--ink); color: #fff;
  font-family: var(--display); font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  padding: .3rem .75rem; border-radius: 100px;
}
.cmi-title { font-family: var(--display); font-size: clamp(1.1rem,2vw,1.45rem); font-weight: 800; margin: .55rem 0 .65rem; }
.cmi-price-row { display: flex; align-items: baseline; gap: .55rem; margin-bottom: 1rem; }
.cmi-price { font-family: var(--display); font-size: 1.6rem; font-weight: 900; color: var(--ink); }
.cmi-price-old { font-size: .9rem; color: var(--subtle); text-decoration: line-through; }
.cmi-cta { display: inline-flex; }
.cmi-body { flex: 1; overflow-y: auto; padding: 1.5rem 1.9rem; scrollbar-width: thin; }
.cmi-speclist { margin: 0 0 1.4rem; border-top: 1px solid var(--border); }
.cmi-speclist li {
  display: flex; justify-content: space-between; gap: .8rem;
  padding: .4rem 0; font-size: .86rem;
  border-bottom: 1px solid var(--border);
}
.cmi-speclist li > span:first-child { color: var(--muted); }
.cmi-speclist li > span:last-child { font-weight: 600; text-align: right; }
.cmi-sections { columns: 1; }
@media (min-width: 1100px) { .cmi-sections { columns: 2; column-gap: 2rem; } }
.cmi-section { margin-bottom: 1.1rem; break-inside: avoid; }
.cmi-section h4 {
  font-family: var(--display);
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--accent-deep); margin-bottom: .4rem;
  padding-bottom: .25rem;
  border-bottom: 2px solid var(--accent-pale);
}
.cmi-section ol { padding-left: 1.2rem; }
.cmi-section ol li { font-size: .87rem; line-height: 1.6; }
.cmi-error { padding: 2rem; color: var(--muted); text-align: center; }

/* ============================================================
   QUIZ / CALCULATOR
   ============================================================ */
.quiz-wrapper {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.quiz-header {
  background: var(--ink);
  padding: 1.8rem 2.2rem;
  text-align: center;
}
.quiz-header h3 {
  color: #fff; font-size: 1.25rem; font-weight: 800;
  text-transform: uppercase; margin-bottom: .35rem;
}
.quiz-header p { color: rgba(255,255,255,.6); font-size: .9rem; }
.quiz-progress-wrap { margin-top: 1.1rem; }
.quiz-progress-text {
  display: flex; justify-content: space-between;
  font-size: .76rem; color: rgba(255,255,255,.6);
  margin-bottom: .4rem;
}
.quiz-progress-bar { height: 6px; background: rgba(255,255,255,.15); border-radius: 100px; overflow: hidden; }
.quiz-progress-fill { height: 100%; width: 25%; background: var(--accent); border-radius: 100px; transition: width .4s ease; }

.quiz-body { padding: 2.1rem 2.2rem; }
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-step-title {
  font-family: var(--display);
  font-size: 1.15rem; font-weight: 800;
  text-align: center;
  margin-bottom: 1.5rem;
}
.quiz-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px,1fr));
  gap: .7rem;
  margin-bottom: 1.8rem;
}
.quiz-option { position: relative; }
.quiz-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.quiz-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1.15rem .9rem;
  border: 2px solid var(--border-2);
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: .9rem;
  font-weight: 500;
  text-align: center;
  background: var(--cream);
  transition: var(--tr);
}
.quiz-option label:hover { border-color: var(--accent); }
.quiz-option input:checked + label {
  border-color: var(--accent);
  background: var(--accent-pale);
  font-weight: 700;
}
.quiz-option-icon { font-size: 1.5rem; color: var(--ink); display: flex; }
.quiz-option input:checked + label .quiz-option-icon { color: var(--accent-deep); }

.quiz-price-box {
  background: var(--ink);
  border-radius: var(--r);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.quiz-price-box-label {
  font-family: var(--display);
  font-size: .76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent);
}
.quiz-price-box-value {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.5rem,4.5vw,2.1rem);
  font-weight: 900;
  color: #fff;
  margin: .35rem 0;
}
.quiz-price-box-note {
  font-size: .82rem; color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center; gap: .4rem;
}
.quiz-price-box-note i { color: var(--accent); }
.quiz-contacts { display: grid; gap: .7rem; }
.quiz-input {
  width: 100%;
  padding: .95rem 1.15rem;
  border: 2px solid var(--border-2);
  border-radius: var(--r-sm);
  font-size: .98rem;
  outline: none;
  background: var(--surface);
  transition: border-color var(--tr);
}
.quiz-input:focus { border-color: var(--accent); }
.quiz-input::placeholder { color: var(--subtle); }

.quiz-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}
.quiz-nav-back {
  padding: .9rem 1.4rem;
  border: 2px solid var(--border-2);
  border-radius: var(--r-sm);
  font-family: var(--display);
  font-size: .82rem; font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  transition: var(--tr);
}
.quiz-nav-back:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }
.quiz-nav-back:disabled { opacity: .35; cursor: not-allowed; }
.quiz-nav-next { margin-left: auto; }
.step-error { color: #d6453f; font-size: .85rem; margin-top: .6rem; text-align: center; }

.quiz-success { display: none; text-align: center; padding: 3rem 2rem; }
.quiz-success.visible { display: block; }
.quiz-success-icon {
  width: 70px; height: 70px;
  margin: 0 auto 1rem;
  background: var(--green-pale);
  color: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.quiz-success h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.quiz-success p { color: var(--muted); }

/* ============================================================
   WHY 25 YEARS
   ============================================================ */
.why-band { background: var(--ink); }
.why-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1000px) { .why-layout { grid-template-columns: .85fr 1.15fr; gap: 3.5rem; } }

.why-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-lg);
}
.why-photo img { width: 100%; height: 100%; object-fit: cover; }

.why-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .why-grid { grid-template-columns: 1fr 1fr; } }

.why-card {
  background: var(--ink-deep);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r);
  padding: 1.6rem 1.5rem;
}
.why-num {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--ink);
  background: var(--accent);
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .9rem;
}
.why-card h3 {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: .45rem;
}
.why-card p { color: rgba(255,255,255,.62); font-size: .92rem; line-height: 1.6; }

/* ============================================================
   EQUIPMENT — комплектация
   ============================================================ */
.equip-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 1000px) { .equip-layout { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; } }

.equipment-list { display: flex; flex-direction: column; gap: .7rem; }
.equip-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface);
  border-radius: var(--r);
  padding: 1.15rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.equip-num {
  flex-shrink: 0;
  font-family: var(--display);
  font-size: .95rem;
  font-weight: 900;
  color: var(--accent-deep);
  background: var(--accent-pale);
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.equip-row h4 { font-size: 1.02rem; font-weight: 800; margin-bottom: .15rem; }
.equip-row p { font-size: .9rem; color: var(--muted); line-height: 1.55; }

.equip-aside {
  position: relative;
  background: var(--ink);
  border-radius: var(--r-lg);
  padding: 2rem 1.8rem;
  color: #fff;
  text-align: center;
}
.equip-aside img { margin: 0 auto 1rem; max-width: 240px; }
.equip-aside h3 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.equip-aside p { color: rgba(255,255,255,.72); font-size: .94rem; margin-bottom: 1.4rem; }

/* ============================================================
   COUNT BAND — «700 бань за 6 лет»
   ============================================================ */
.count-band {
  background: var(--sand-bg);
  text-align: center;
}
.count-band h2 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.count-band h2 .accent { color: var(--accent-deep); }
.count-band p { color: var(--muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto 1.6rem; }
.count-tags { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.count-tag {
  background: var(--surface);
  border-radius: 100px;
  padding: .7rem 1.4rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: .5rem;
}
.count-tag i { color: var(--accent-deep); }

/* ============================================================
   GALLERY
   ============================================================ */
/* Gallery Swiper */
.gallery-swiper {
  position: relative;
  width: 100%;
  padding-bottom: .5rem;
}
.gallery-swiper .swiper-slide {
  height: auto;
  display: flex;
}
.gallery-swiper .swiper-slide > * { width: 100%; }
.gallery-swiper-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  margin-top: 1.4rem;
}
.gallery-swiper-btn {
  appearance: none;
  border: 2px solid var(--border-2);
  background: var(--surface);
  color: var(--ink);
  width: 46px; height: 46px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--tr);
  flex-shrink: 0;
}
.gallery-swiper-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.gallery-swiper-btn.swiper-button-disabled {
  opacity: .35;
  cursor: not-allowed;
  background: var(--surface);
  color: var(--ink);
}
.gallery-swiper-pagination {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.gallery-swiper-pagination .swiper-pagination-bullet {
  width: 10px; height: 10px;
  background: var(--border-2);
  opacity: 1;
  margin: 0 !important;
  transition: var(--tr);
  cursor: pointer;
}
.gallery-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--accent);
  width: 28px;
  border-radius: 5px;
}

.gallery-item {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
}
.gallery-item picture { display: block; width: 100%; height: 100%; }
.gallery-item img,
.gallery-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-placeholder {
  background: linear-gradient(135deg, var(--ink), var(--ink-3));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; color: rgba(255,255,255,.3);
}
.gallery-item:hover img,
.gallery-item:hover .gallery-placeholder { transform: scale(1.07); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.3rem .9rem .7rem;
  background: linear-gradient(transparent, rgba(14,37,48,.9));
  color: #fff;
  font-family: var(--display);
  font-size: .85rem; font-weight: 600;
  z-index: 1;
}
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: rgba(19,47,59,.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--tr);
  z-index: 2;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay svg { color: #fff; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(10,24,30,.95);
  display: none;
  align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: var(--r-sm); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--tr);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--accent); color: var(--ink); }
.lightbox-close { top: 1.3rem; right: 1.3rem; }
.lightbox-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* ============================================================
   STAGES
   ============================================================ */
.stages-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 620px)  { .stages-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .stages-grid { grid-template-columns: repeat(3,1fr); } }

.stage-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 1.8rem 1.6rem 1.6rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.stage-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--accent);
}
.stage-num {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--accent-pale);
  line-height: 1;
  margin-bottom: .5rem;
}
.stage-card h4 { font-size: 1.08rem; font-weight: 800; margin-bottom: .4rem; }
.stage-card p { font-size: .92rem; color: var(--muted); line-height: 1.6; }

.payment-note {
  margin-top: 1.6rem;
  background: var(--ink);
  border-radius: var(--r);
  padding: 1.6rem 1.8rem;
  display: flex; gap: 1.1rem; align-items: flex-start;
}
.payment-note-icon {
  flex-shrink: 0;
  width: 50px; height: 50px;
  background: rgba(249,182,94,.18);
  color: var(--accent);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem;
}
.payment-note strong { display: block; color: #fff; font-family: var(--display); margin-bottom: .25rem; }
.payment-note p { color: rgba(255,255,255,.68); font-size: .92rem; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-slider-wrap { position: relative; overflow: hidden; }
.reviews-track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.review-card { flex: 0 0 100%; padding: 0 .6rem; }
@media (min-width: 720px)  { .review-card { flex: 0 0 50%; } }
@media (min-width: 1040px) { .review-card { flex: 0 0 33.333%; } }

.review-card-inner {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 1.9rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  position: relative;
}
.review-card-inner::before {
  content: '\201C';
  position: absolute;
  top: .2rem; right: 1.2rem;
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--accent-pale);
  line-height: 1;
}
.review-stars { display: flex; gap: .15rem; margin-bottom: .9rem; color: var(--accent); }
.review-text {
  position: relative;
  color: var(--text);
  font-size: .96rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.review-author { display: flex; align-items: center; gap: .8rem; }
.review-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  flex-shrink: 0;
}
.review-avatar-img { object-fit: cover; overflow: hidden; padding: 0; }
picture.review-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.review-author-name { font-family: var(--display); font-weight: 700; }
.review-author-city { font-size: .82rem; color: var(--muted); }

.slider-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-top: 1.8rem;
}
.slider-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  background: var(--surface);
  transition: var(--tr);
}
.slider-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.slider-dots { display: flex; gap: .4rem; }
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-2);
  transition: var(--tr);
}
.slider-dot.active { background: var(--accent); width: 26px; border-radius: 100px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.faq-item {
  background: var(--surface);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--tr);
}
.faq-item.open { box-shadow: var(--shadow); }
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  text-align: left;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.faq-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent-pale);
  color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center;
  transition: var(--tr);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent); color: var(--ink); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer p { padding: 0 1.5rem 1.4rem; color: var(--muted); line-height: 1.7; }

/* ============================================================
   CONTACTS / FINAL CTA
   ============================================================ */
.contacts-band { background: var(--ink); color: #fff; }
.contacts-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 980px) { .contacts-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

.contacts-info h2 { color: #fff; }
.contacts-list { margin: 1.8rem 0; display: flex; flex-direction: column; gap: 1.1rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: var(--r-sm);
  background: rgba(249,182,94,.15);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.contact-item-label {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.5);
}
.contact-item-value {
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
}
.contact-item-value:hover { color: var(--accent); }

.contacts-map {
  margin-top: 1.5rem;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
}
.contacts-map iframe { width: 100%; height: 240px; border: 0; display: block; filter: grayscale(.3); }

.cta-card {
  background: var(--surface);
  color: var(--text);
  border-radius: var(--r-xl);
  padding: 2.4rem 2rem;
  box-shadow: var(--shadow-lg);
}
.cta-card-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--accent-pale);
  color: var(--accent-deep);
  font-family: var(--display);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .45rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.cta-card h3 {
  font-size: 1.6rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.cta-card > p { color: var(--muted); margin-bottom: 1.5rem; }

.callback-form { display: flex; flex-direction: column; gap: .75rem; }
.form-input {
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: var(--r-sm);
  border: 2px solid var(--border-2);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--tr);
}
.form-input::placeholder { color: var(--subtle); }
.form-input:focus { border-color: var(--accent); }
.form-privacy { font-size: .78rem; color: var(--subtle); margin-top: .3rem; }
.form-privacy a { color: var(--accent-deep); text-decoration: underline; }

.form-success {
  display: none;
  background: var(--green-pale);
  border-radius: var(--r-sm);
  padding: 1.2rem;
  color: var(--green-dark);
  font-weight: 600;
  text-align: center;
  margin-top: .7rem;
}
.form-success.visible { display: block; }

.cta-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}
.cta-trust li {
  display: flex; align-items: center; gap: .45rem;
  font-size: .85rem; font-weight: 600;
  color: var(--muted);
}
.cta-trust li i { color: var(--green); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink-deep);
  color: #fff;
  padding: 3.5rem 0 1.8rem;
}
.footer-grid {
  display: grid;
  gap: 2.2rem;
  margin-bottom: 2.4rem;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1.4fr; } }

.footer-logo-name {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
}
.footer-logo-name span { color: var(--accent); }
.footer-tagline {
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  line-height: 1.65;
  max-width: 290px;
  margin: .8rem 0 1.1rem;
}
.footer-messengers { display: flex; gap: .55rem; }

.footer-heading {
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: .55rem; }
.footer-links a { font-size: .92rem; color: rgba(255,255,255,.62); transition: color var(--tr); }
.footer-links a:hover { color: var(--accent); }

.footer-contact-item {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: .92rem; color: rgba(255,255,255,.62);
  margin-bottom: .7rem;
}
.footer-contact-item i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,.62); }
.footer-contact-item a:hover { color: var(--accent); }
.footer-phone-large { font-family: var(--display); font-size: 1.15rem; font-weight: 800; color: #fff !important; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.55); text-decoration: underline; }
.footer-bottom a:hover { color: var(--accent); }
.footer-req { font-size: .76rem; color: rgba(255,255,255,.32); line-height: 1.6; }
@media (min-width: 760px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ── FLOATING + BACK TO TOP ──────────────────────────────────── */
.floating-msg {
  position: fixed;
  bottom: 5.8rem; right: 1.5rem;
  z-index: 850;
  display: none; flex-direction: column; gap: .65rem;
  opacity: 0; transform: translateY(14px) scale(.85);
  transition: opacity var(--tr), transform var(--tr);
  pointer-events: none;
}
.floating-msg.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.floating-msg-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(0,0,0,.28);
  transition: transform var(--tr);
}
.floating-msg-btn:hover { transform: scale(1.1); }
.floating-msg-wa { background: #25D366; }
.floating-msg-tg { background: #2AABEE; }

.back-to-top {
  position: fixed;
  bottom: 2rem; right: 1.5rem;
  width: 46px; height: 46px;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 800;
  box-shadow: var(--shadow);
  opacity: 0; transform: translateY(12px);
  transition: var(--tr);
  pointer-events: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--accent); color: var(--ink); }

/* ── Mobile tweaks ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .btn { padding: .9rem 1.4rem; font-size: .82rem; white-space: normal; }
  .btn-lg { padding: .95rem 1.5rem; font-size: .86rem; }
  /* длинная CTA каталога — компактнее, чтобы влезала на узких экранах */
  .btn-outline-amber { padding: .72rem 1rem; font-size: .74rem; }
  .hero { padding: 7rem 0 3.5rem; }
  .quiz-body, .quiz-header { padding-left: 1.25rem; padding-right: 1.25rem; }
  .catalog-modal-box { padding: 1.6rem; }
  .cta-card { padding: 1.9rem 1.4rem; }
  .about-photo-badge { right: 0; padding: .9rem 1.1rem; }
  .about-photo-badge .num { font-size: 2rem; }
  .floating-msg { right: 1rem; bottom: 5.2rem; }
  .floating-msg-btn { width: 50px; height: 50px; font-size: 1.4rem; }
  .back-to-top { right: 1rem; }
  .section-head { margin-bottom: 1.8rem; }
}

/* ── ORDER MODAL ─────────────────────────────────────────────── */
.order-head { text-align: center; margin-bottom: 1.5rem; }
.order-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--accent-deep);
  background: var(--accent-pale);
  padding: .42rem .95rem;
  border-radius: 100px;
  margin-bottom: .85rem;
}
.order-modal-sub {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.55;
  margin-top: .35rem;
}
.order-item {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  text-align: left;
  background: var(--green-pale);
  border: 1px solid #d3e4d8;
  border-radius: var(--r-sm);
  padding: .85rem 1rem;
  margin-top: 1.1rem;
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.45;
}
.order-item[hidden] { display: none; }
.order-item i { color: var(--green); font-size: 1.15rem; margin-top: 1px; flex-shrink: 0; }
.order-item strong { color: var(--text); font-family: var(--display); font-size: .95rem; }

/* ── FORM CONSENT CHECKBOX ───────────────────────────────────── */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .8rem;
  line-height: 1.45;
  color: var(--muted);
  cursor: pointer;
}
.form-consent input {
  width: 17px; height: 17px;
  flex-shrink: 0;
  margin: 1px 0 0;
  accent-color: var(--accent-deep);
  cursor: pointer;
}
.form-consent a { color: var(--accent-deep); text-decoration: underline; }
.form-consent.invalid { color: #d6453f; }
.form-consent.invalid input { outline: 2px solid #d6453f; outline-offset: 1px; }
/* на тёмном фоне hero */
.hero .form-consent { color: rgba(255,255,255,.72); }
.hero .form-consent a { color: var(--accent); }
.hero .form-consent.invalid { color: #ff9b96; }


/* ============================================================
   VIDEO LIGHTBOX (VK Video iframe)
   ============================================================ */
.video-lightbox {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(8, 18, 22, .96);
  display: none;
  align-items: center; justify-content: center;
  padding: 2rem 1rem;
}
.video-lightbox.open { display: flex; }
.video-lightbox-frame {
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
}
.video-lightbox-frame[data-vk-kind="clip"] {
  max-width: min(420px, 80vh * 9 / 16);
  aspect-ratio: 9 / 16;
}
.video-lightbox-frame iframe {
  display: block;
  width: 100%; height: 100%;
  border: 0;
}
.video-lightbox-close {
  position: absolute;
  top: 18px; right: 22px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s ease, transform .15s ease;
  z-index: 1;
}
.video-lightbox-close:hover { background: rgba(255,255,255,.25); transform: scale(1.05); }

/* ============================================================
   GALLERY — video-плитка
   ============================================================ */
.gallery-item--video {
  appearance: none;
  border: 0;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: #0a141a;
}
.gallery-video-placeholder {
  width: 100%; aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; color: rgba(255,255,255,.45);
  background: linear-gradient(135deg, #1d2b34, #0a141a);
}
.gallery-item-overlay--video {
  background: rgba(8, 24, 30, .35);
  opacity: 1; /* всегда видна на видео-плитке */
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.gallery-item-overlay--video i {
  font-size: 3rem;
  color: #fff;
  background: rgba(217, 144, 56, .92);
  width: 72px; height: 72px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  padding-left: 6px; /* визуальная корректировка треугольника play */
  box-shadow: 0 8px 22px rgba(0,0,0,.4);
  transition: transform .2s ease, background .2s ease;
}
.gallery-item--video:hover .gallery-item-overlay--video { background: rgba(8, 24, 30, .55); }
.gallery-item--video:hover .gallery-item-overlay--video i { transform: scale(1.08); background: #d99038; }

/* ============================================================
   REVIEW — видео-плитки в карточке
   ============================================================ */
.review-videos {
  display: flex; gap: .5rem; flex-wrap: wrap;
  margin: .8rem 0 1rem;
}
.review-video-tile {
  appearance: none; border: 0; padding: 0; cursor: pointer;
  position: relative;
  width: 130px; aspect-ratio: 16/9;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: #0a141a;
  transition: transform .2s ease, box-shadow .2s ease;
}
.review-video-tile[data-vk-kind="clip"] {
  width: 100px; aspect-ratio: 9/16;
}
.review-video-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.review-video-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review-video-noposter {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-size: 1.6rem;
  background: linear-gradient(135deg, #1d2b34, #0a141a);
}
.review-video-play {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8, 24, 30, .25);
  color: #fff;
  font-size: 1.4rem;
  transition: background .15s ease;
}
.review-video-play i {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(217, 144, 56, .92);
  display: inline-flex; align-items: center; justify-content: center;
  padding-left: 3px;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
.review-video-tile:hover .review-video-play { background: rgba(8, 24, 30, .4); }

/* ============================================================
   CATALOG MODAL — видео-слайды (внутри общего слайдера)
   ============================================================ */
.cmi-main-swiper .swiper-slide.is-video { position: relative; }
.cmi-slide-video {
  appearance: none; border: 0; padding: 0; margin: 0;
  position: absolute; inset: 0;
  background: rgba(8, 22, 28, .15);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
  z-index: 2;
}
.cmi-slide-video:hover { background: rgba(8, 22, 28, .3); }
.cmi-slide-play {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: rgba(217, 144, 56, .95);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  padding-left: 6px;
  box-shadow: 0 10px 28px rgba(0,0,0,.4);
  transition: transform .15s ease;
}
.cmi-slide-video:hover .cmi-slide-play { transform: scale(1.06); }
.cmi-slide-title {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 16px 12px;
  font-size: .85rem; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  text-align: left;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cmi-slide-noposter {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.35); font-size: 3rem;
  background: linear-gradient(135deg, #1d2b34, #0a141a);
}

/* Превью видео в полосе thumbs */
.cmi-thumbs-swiper .swiper-slide { position: relative; }
.cmi-thumbs-swiper .swiper-slide.is-video::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,.25);
  pointer-events: none;
}
.cmi-thumb-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(217, 144, 56, .95);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .9rem;
  padding-left: 2px;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
}
.cmi-thumb-noposter {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.45); font-size: 1.3rem;
  background: linear-gradient(135deg, #1d2b34, #0a141a);
}


/* ============================================================
   HERO — упрощённый вариант (короткий заголовок + 2 кнопки)
   ============================================================ */
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin-top: 1.4rem;
  align-items: stretch;
}
@media (min-width: 560px) {
  .hero-actions { flex-direction: row; align-items: center; flex-wrap: wrap; }
}
.hero-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .65rem;
  min-width: 220px;
  font-weight: 700;
}
.hero-btn i { font-size: 1.15em; }

/* Кнопка MAX в hero — синий фон, белая M-иконка слева, текст справа */
.btn-max {
  background: #0077FF;
  color: #fff;
  transition: background var(--tr), transform var(--tr);
}
.btn-max:hover { background: #0066dd; color: #fff; transform: translateY(-1px); }
.hero-btn-max-icon {
  width: 22px; height: 22px;
  color: #fff;
  flex-shrink: 0;
}

/* MAX-кнопка в messenger-блоках (mobile menu, footer, floating) */
.header-msg-max { background: #0077FF; }
.floating-msg-max { background: #0077FF; }
.msg-max-icon {
  width: 22px; height: 22px;
  color: #fff;
  display: block;
}
.msg-max-icon--lg { width: 30px; height: 30px; }

