/* Luxbeton BBQ Facebook Ads prototype. Static, local-only, no external services. */
:root {
  --bg: #f4ede3;
  --surface: #ffffff;
  --ink: #1b1b1a;
  --muted: #6e6864;
  --line: #ddd5ca;
  --line-strong: #c8b9aa;
  --accent: #b8470b;
  --accent-dark: #963706;
  --dark: #1b1b1a;
  --dark-2: #25211e;
  --sand: #fbf6ee;
  --shadow: 0 20px 54px rgba(27, 27, 26, 0.14);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
}
body.modal-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
main { width: min(1180px, 100%); margin: 0 auto; }

h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin: 0; letter-spacing: 0; line-height: 1.08; font-weight: 700; }
h1 { font-size: 34px; }
h2 { font-size: 28px; }
h3 { font-size: 19px; }
p { margin: 0; }
.section { padding: 44px 18px; }
.section-heading { margin-bottom: 22px; max-width: 860px; }
.section-heading h2 { color: var(--ink); }

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 14px 22px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .14s ease, background .14s ease, border-color .14s ease;
}
.btn.primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(184, 71, 11, 0.24);
}
.btn.primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn.outline {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.hidden { display: none !important; }
.mobile-break { display: none; }

/* Hero */
.landing-hero {
  position: relative;
  display: grid;
  align-items: center;
  width: 100vw;
  min-height: 680px;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 9, 8, .94) 0%, rgba(10, 9, 8, .72) 34%, rgba(10, 9, 8, .20) 67%, rgba(10, 9, 8, .20) 100%),
    linear-gradient(0deg, rgba(10, 9, 8, .76) 0%, rgba(10, 9, 8, .06) 38%, rgba(10, 9, 8, 0) 100%),
    url("assets/images/luxbeton_kz_main_bg.webp") center center / cover no-repeat;
}
.landing-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: radial-gradient(circle at 78% 74%, rgba(184, 71, 11, .24), transparent 34%);
  pointer-events: none;
}
.official-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 72px 18px 86px;
}
.bbq-logo-badge {
  display: block;
  width: 152px;
  height: auto;
  margin-bottom: 30px;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.34));
}
.official-hero h1 {
  display: grid;
  gap: 4px;
  max-width: 780px;
  color: #fff;
  font-size: clamp(40px, 7.1vw, 88px);
  font-weight: 800;
  line-height: .9;
  text-transform: uppercase;
  text-shadow: 0 10px 30px rgba(0,0,0,.34);
}
.official-hero h1 span:last-child { color: #f0dfca; }
.hero-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.28fr);
  gap: 14px;
  max-width: 620px;
  margin-top: 24px;
}
.hero-feature-card {
  display: flex;
  min-height: 88px;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  color: #fff;
  background: rgba(33, 27, 25, .72);
  box-shadow: 0 14px 36px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.08;
}
.hero-feature-card--stone {
  grid-column: 1 / -1;
  max-width: 520px;
}
.hero-feature-card img {
  flex: 0 0 auto;
}
.hero-feature-stone {
  width: 110px;
  height: 55px;
  object-fit: contain;
  transform: translateY(-1px);
}
.hero-feature-icon {
  width: 36px;
  height: 36px;
}
.hero-bullets {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255,255,255,.92);
  font-size: 18px;
  font-weight: 600;
}
.hero-bullets li {
  position: relative;
  padding-left: 24px;
}
.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(184,71,11,.20);
}
.official-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 34px;
}
.hero-cost-btn,
.hero-catalog-btn {
  min-height: 62px;
  border-radius: 999px;
  padding: 18px 30px;
  font-size: 15px;
  letter-spacing: .02em;
}
.hero-cost-btn {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 14px 34px rgba(184, 71, 11, .36);
}
.hero-cost-btn::before { content: "●"; margin-right: 10px; color: #ffd7b5; font-size: 12px; }
.hero-cost-btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.hero-cost-btn.resume-glow {
  position: relative;
  isolation: isolate;
  box-shadow: 0 0 0 0 rgba(255, 177, 93, .46), 0 18px 44px rgba(184, 71, 11, .42);
  animation: resumePulse 1.65s ease-in-out infinite;
}
.hero-cost-btn.resume-glow::after {
  content: "";
  position: absolute;
  inset: -7px;
  z-index: -1;
  border: 2px solid rgba(255, 197, 130, .62);
  border-radius: inherit;
  opacity: 0;
  animation: resumeRing 1.65s ease-out infinite;
}
@keyframes resumePulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 0 0 rgba(255, 177, 93, .36), 0 18px 44px rgba(184, 71, 11, .42); }
  50% { transform: translateY(-2px); box-shadow: 0 0 0 10px rgba(255, 177, 93, 0), 0 22px 54px rgba(184, 71, 11, .52); }
}
@keyframes resumeRing {
  0% { opacity: .9; transform: scale(.98); }
  100% { opacity: 0; transform: scale(1.08); }
}
.hero-catalog-btn {
  color: var(--accent);
  background: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
}
.hero-catalog-btn::before { content: "↓"; margin-right: 10px; font-size: 18px; line-height: 1; }
.hero-catalog-btn:hover { transform: translateY(-1px); }
.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255,255,255,.42);
  font-size: 11px;
  font-weight: 700;
}
.lead { margin-top: 16px; color: var(--muted); font-size: 17px; max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 24px; }
.hero-textlink { color: var(--ink); font-weight: 700; text-decoration: none; }
.trust-line {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

/* Modules and gallery */
.module-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.m-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.m-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.m-card h3 { padding: 14px; font-size: 17px; }
.gallery-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.g-cell { overflow: hidden; border-radius: 8px; background: #201d1a; }
.g-cell img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s ease; }
.g-cell:hover img { transform: scale(1.035); }

/* Why and process */
.why-zone {
  margin: 12px 0;
  background: var(--sand);
}
.why-grid {
  display: grid;
  gap: 14px;
}
.why-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(27,27,26,.06);
}
.why-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.why-card div { padding: 18px; }
.why-card p { margin-top: 8px; color: var(--muted); }
.process-zone { background: var(--bg); }
.process-grid {
  display: grid;
  gap: 12px;
}
.process-card {
  position: relative;
  min-height: 160px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.process-card span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-weight: 700;
}
.process-card p { margin-top: 8px; color: var(--muted); }

/* FAQ, CTA, footer */
.faq { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 14px 16px;
}
.faq summary {
  position: relative;
  padding-right: 28px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "›";
  position: absolute;
  right: 2px;
  top: 50%;
  color: var(--accent);
  font-size: 24px;
  transform: translateY(-50%) rotate(90deg);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(-90deg); }
.faq p { margin-top: 10px; color: var(--muted); }
.final-cta {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 56px 18px;
  color: #fff;
  text-align: center;
  background: var(--accent);
}
.final-cta h2 { max-width: 820px; color: #fff; font-size: 36px; }
.final-cta .btn.primary { background: #fff; color: var(--accent); }
.final-cta p { color: rgba(255,255,255,.78); font-size: 13px; }
.site-footer {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  padding: 20px 18px calc(20px + var(--safe-bottom));
  color: #bfb8b1;
  background: var(--dark);
  font-size: 12px;
}
.site-footer strong { color: #fff; letter-spacing: 0; }

/* Retention mechanics */
.sticky-mini {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none;
  height: calc(52px + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 22px rgba(27,27,26,.10);
  transform: translateY(110%);
  transition: transform .22s ease;
}
.sticky-mini.show { transform: translateY(0); }
.sticky-mini-progress { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); }
.sticky-mini-progress i { display: block; width: 0; height: 100%; background: var(--accent); }
.sticky-mini-btn {
  width: calc(100% - 52px);
  height: 42px;
  margin: 6px 0 0 8px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
  font: inherit;
  font-weight: 700;
}
.sticky-mini-close {
  position: absolute;
  right: 4px;
  top: 6px;
  width: 40px;
  height: 40px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 22px;
}
@keyframes stickyPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.sticky-mini.pulse { animation: stickyPulse .7s ease 2; }
.side-pill {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  display: none;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 28px rgba(27,27,26,.16);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .2s ease, transform .2s ease;
}
.side-pill.show { opacity: 1; transform: translateY(0); }
.side-pill-btn {
  border: 0;
  background: transparent;
  color: var(--accent);
  padding: 9px 12px 9px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.side-pill-close {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}

/* Catalog gate modal */
.catalog-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.catalog-modal.is-open { display: flex; }
.catalog-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(2px);
}
.catalog-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  gap: 42px;
  width: min(1080px, calc(100vw - 48px));
  min-height: 570px;
  padding: 58px 50px 44px;
  overflow: hidden;
  border-radius: 8px;
  background: #f7eeee;
  box-shadow: 0 30px 90px rgba(0,0,0,.36);
}
.catalog-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  color: rgba(27,27,26,.54);
  background: transparent;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.catalog-info {
  position: relative;
  min-height: 470px;
  padding: 6px 0 190px;
}
.catalog-info h2 {
  max-width: 560px;
  color: #5a5452;
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 1.18;
  font-weight: 800;
}
.catalog-info h2::first-line { color: #9c6c52; }
.catalog-list {
  margin-top: 46px;
  max-width: 340px;
  color: #5a5452;
  font-size: 24px;
  line-height: 1.28;
}
.catalog-list strong { display: block; margin-bottom: 4px; }
.catalog-list ul { margin: 0; padding-left: 26px; }
.catalog-book {
  position: absolute;
  right: 36px;
  bottom: -218px;
  width: min(300px, 48%);
  filter: drop-shadow(0 26px 34px rgba(0,0,0,.24));
  transform: rotate(-10deg);
}
.catalog-form-card {
  align-self: center;
  display: grid;
  gap: 16px;
  min-height: 430px;
  padding: 44px 40px 40px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(0,0,0,.06);
}
.catalog-form-card h3 {
  max-width: 390px;
  margin-bottom: 22px;
  color: #252a4a;
  font-size: 28px;
  line-height: 1.16;
  font-weight: 800;
}
.catalog-phone {
  display: grid;
  gap: 4px;
  min-height: 82px;
  padding: 10px 16px 8px;
  border: 1px solid #efb8a7;
  border-radius: 6px;
  background: #fff4f0;
}
.catalog-phone span { color: #817d7a; font-size: 18px; }
.catalog-phone input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 24px;
}
.catalog-error {
  min-height: 18px;
  margin-top: -8px;
  color: #ff4e2f;
  font-size: 14px;
  font-weight: 700;
}
.catalog-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  color: #86b9ff;
  font-size: 15px;
  line-height: 1.18;
}
.catalog-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #2d8cff; }
.catalog-consent b { color: #ff4e2f; }
.catalog-consent.muted { color: #92c0ff; }
.catalog-submit {
  min-height: 68px;
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #ff5538;
  font: inherit;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .14s ease, background .14s ease;
}
.catalog-submit:hover { background: #ee4428; transform: translateY(-1px); }
.catalog-submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }

/* Quiz modal */
.quiz-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
}
.quiz-modal.is-open { display: flex; }
.qm-overlay { position: absolute; inset: 0; background: rgba(27,27,26,.55); }
.qm-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.qm-caption {
  margin: 28px 32px 0;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}
.qm-close, .qm-restart {
  position: absolute;
  z-index: 2;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.qm-close {
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  color: var(--ink);
  font-size: 24px;
}
.qm-restart {
  top: 17px;
  left: 22px;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
}
.quiz-form { display: block; }
.quiz-step {
  display: none;
  min-height: 610px;
  padding: 28px 32px 104px;
  overflow-y: auto;
  max-height: calc(100vh - 150px);
}
.quiz-step.active { display: block; animation: quizStepIn .28s ease-out both; }
@keyframes quizStepIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .quiz-step.active { animation: none; }
}
.quiz-step h2 { margin-bottom: 28px; max-width: 850px; font-size: 32px; }
.quiz-options { display: grid; gap: 20px; }
.placement-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.function-options { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stone-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.image-option { position: relative; cursor: pointer; }
.image-option input { position: absolute; opacity: 0; pointer-events: none; }
.option-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  transition: border-color .14s ease, box-shadow .14s ease;
}
.image-option input:checked + .option-card {
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 1px rgba(184,71,11,.12);
}
.image-option input:focus-visible + .option-card { outline: 2px solid var(--accent); outline-offset: 3px; }
.option-photo, .stone-photo {
  position: relative;
  display: block;
  overflow: hidden;
  background: #15331e;
}
.option-photo { aspect-ratio: 16 / 10; }
.stone-photo { aspect-ratio: 16 / 8.7; }
.option-photo img, .stone-photo img { width: 100%; height: 100%; object-fit: cover; }
.option-photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.76));
}
.option-photo b {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
  font-size: 19px;
  line-height: 1.05;
  text-align: center;
}
.option-label {
  display: block;
  min-height: 58px;
  padding: 15px 16px;
  color: var(--ink);
  background: #fff;
  font-size: 17px;
}
.unknown-card .option-photo {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 55% 46%, rgba(148,177,104,.8), rgba(22,54,30,.18) 30%, rgba(13,39,24,.95) 70%),
    #17361e;
}
.question-mark {
  color: #8ea06d;
  font-size: 124px;
  font-weight: 700;
  text-shadow: 0 6px 12px rgba(0,0,0,.35);
}
.check-badge {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  display: none;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-weight: 700;
}
.image-option input:checked + .option-card .check-badge { display: inline-flex; }
.select-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  margin: -14px 0 20px;
  padding: 4px 14px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 14px;
}
.quiz-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: auto 1fr 48px auto;
  gap: 24px;
  align-items: center;
  padding: 18px 32px 24px;
  border-top: 1px solid transparent;
  background: #fff;
}
.progress-label { color: var(--muted); font-size: 18px; white-space: nowrap; }
.progress-label b { color: var(--accent); }
.progress-track {
  height: 4px;
  border-radius: 999px;
  background: #e5e5e5;
  overflow: hidden;
}
.progress-track i { display: block; width: 0; height: 100%; background: var(--accent); transition: width .16s ease; }
.round-back {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.round-back:disabled { opacity: .4; cursor: not-allowed; }
.next-btn { min-width: 164px; }

.contact-step { text-align: center; }
.contact-step h2 {
  max-width: 760px;
  margin: 64px auto 12px;
  font-size: 30px;
  line-height: 1.18;
}
.contact-subtitle { color: var(--muted); font-size: 16px; }
.contact-progress { max-width: 560px; margin: 0 auto; }
.contact-progress p { margin-bottom: 12px; color: var(--muted); text-align: center; }
.contact-track { position: relative; height: 4px; background: #e5e5e5; border-radius: 999px; }
.contact-track i { display: block; width: 95%; height: 100%; background: var(--accent); border-radius: inherit; }
.contact-track span {
  position: absolute;
  left: 95%;
  bottom: 12px;
  transform: translateX(-50%);
  color: var(--accent);
  font-weight: 700;
}
.contact-track span::after {
  content: "▼";
  display: block;
  color: var(--accent);
  font-size: 11px;
  line-height: 1;
  text-align: center;
}
.contact-card {
  display: grid;
  gap: 16px;
  width: min(560px, 100%);
  margin: 24px auto 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-align: left;
}
.phone-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.phone-field {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.phone-field input {
  width: 100%;
  min-height: 54px;
  border: 0;
  outline: 0;
  color: var(--ink);
  font: inherit;
}
.submit-pill {
  width: 100%;
  min-height: 56px;
  border-radius: 16px;
}
.form-error { min-height: 16px; color: var(--muted); font-size: 13px; text-align: center; }
.step-error {
  min-height: 20px;
  margin: -16px 0 16px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}
.consent-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}
.consent-row input { accent-color: var(--accent); margin-top: 2px; }
.consent-link { color: var(--accent); text-decoration: underline; }

.quiz-result {
  display: none;
  min-height: 610px;
  padding: 62px 32px 42px;
  text-align: center;
}
.quiz-result.show { display: block; }
.result-check {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 28px;
  font-weight: 700;
}
.quiz-result h2 { margin: 20px 0 10px; }
.quiz-result p {
  max-width: 690px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 19px;
}
.result-next {
  display: grid;
  gap: 8px;
  width: min(680px, 100%);
  margin: 26px auto 24px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--sand);
  color: var(--muted);
  text-align: left;
  box-shadow: 0 14px 34px rgba(27,27,26,.06);
}
.result-next strong {
  color: var(--ink);
  font-size: 20px;
}
.payload-details {
  width: min(680px, 100%);
  margin: 0 auto 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  text-align: left;
}
.payload-details summary {
  cursor: pointer;
  padding: 14px 18px;
  color: var(--muted);
  font-weight: 700;
  list-style: none;
}
.payload-details summary::-webkit-details-marker { display: none; }
.payload-details summary::after {
  content: "›";
  float: right;
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
  transform: rotate(90deg);
}
.payload-details[open] summary::after { transform: rotate(-90deg); }
pre {
  width: min(640px, 100%);
  max-height: 190px;
  margin: 0 auto 16px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  color: #f7f1eb;
  background: var(--dark);
  text-align: left;
  white-space: pre-wrap;
  font-size: 12px;
  line-height: 1.45;
}
.result-actions { display: none; flex-wrap: wrap; justify-content: center; gap: 12px; }
body[data-debug] .result-actions { display: flex; }
.result-close {
  margin-top: 16px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

/* Index preview */
.index-page { background: var(--bg); }
.preview-page { min-height: 100vh; display: grid; align-items: center; }
.preview-hero {
  display: grid;
  gap: 28px;
  padding: 28px 18px;
  align-items: center;
}
.preview-copy {
  max-width: 680px;
}
.preview-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}
.preview-video-card {
  width: min(420px, 100%);
  justify-self: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--dark);
  box-shadow: var(--shadow);
}
.preview-video-card video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.bundle-meta {
  display: grid;
  gap: 8px;
  margin: 24px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.58);
}
.bundle-meta div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
}
.bundle-meta dt {
  color: var(--muted);
  font-weight: 700;
}
.bundle-meta dd {
  margin: 0;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
}

@media (max-width: 759px) {
  h1 { font-size: 26px; line-height: 1.16; }
  h2 { font-size: 24px; }
  .eyebrow { font-size: 10px; }
  .landing-hero {
    min-height: 100svh;
    align-items: start;
    background:
      linear-gradient(90deg, rgba(10, 9, 8, .95) 0%, rgba(10, 9, 8, .70) 50%, rgba(10, 9, 8, .24) 100%),
      linear-gradient(0deg, rgba(10, 9, 8, .86) 0%, rgba(10, 9, 8, .14) 42%, rgba(10, 9, 8, 0) 100%),
      url("assets/images/luxbeton_kz_main_bg.webp") 76% center / cover no-repeat;
  }
  .official-hero-inner { padding: 22px 18px 78px; }
  .bbq-logo-badge { width: 94px; margin-bottom: 14px; }
  .official-hero h1 {
    max-width: 390px;
    font-size: clamp(32px, 10.7vw, 44px);
    line-height: .90;
  }
  .hero-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-width: 380px;
    margin-top: 16px;
  }
  .hero-feature-card {
    min-height: 0;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 12px;
    font-size: 15px;
  }
  .hero-feature-card--stone { grid-column: 1 / -1; max-width: none; }
  .hero-feature-stone { width: 72px; height: 36px; }
  .hero-feature-icon { width: 25px; height: 25px; }
  .hero-bullets {
    gap: 7px;
    width: 100%;
    max-width: 350px;
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.34;
  }
  .hero-bullets li { padding-left: 21px; }
  .hero-bullets li::before {
    top: .54em;
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 4px rgba(184,71,11,.20);
  }
  .mobile-break { display: block; }
  .official-hero-actions {
    display: grid;
    gap: 10px;
    width: min(360px, 100%);
    margin-top: 17px;
  }
  .hero-cost-btn,
  .hero-catalog-btn {
    width: 100%;
    min-height: 52px;
    padding: 13px 16px;
    font-size: 12px;
  }
  body.bundle-3-modules { padding-bottom: 52px; }
  .sticky-mini { display: block; }
  body.modal-open .sticky-mini { display: none; }
  .catalog-modal {
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    overflow-x: hidden;
  }
  .catalog-dialog {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    padding: 54px 18px calc(28px + var(--safe-bottom));
    border-radius: 0;
  }
  .catalog-info {
    min-height: 0;
    padding: 0 0 12px;
    flex: 0 0 auto;
  }
  .catalog-form-card {
    align-self: auto;
    margin: 0 auto;
    flex: 0 0 auto;
  }
  .catalog-info h2 {
    max-width: 340px;
    font-size: 32px;
    line-height: 1.13;
  }
  .catalog-list {
    margin-top: 22px;
    font-size: 18px;
  }
  .catalog-book {
    display: none;
  }
  .catalog-form-card {
    width: min(100%, 340px);
    min-width: 0;
    min-height: 0;
    padding: 24px 18px 22px;
    border-radius: 12px;
  }
  .catalog-form-card h3 {
    max-width: 304px;
    margin-bottom: 10px;
    font-size: 20px;
    overflow-wrap: anywhere;
  }
  .catalog-phone,
  .catalog-consent,
  .catalog-consent span { min-width: 0; }
  .catalog-submit {
    min-height: 58px;
    font-size: 17px;
  }
  .quiz-modal { align-items: stretch; justify-content: stretch; }
  .qm-dialog { width: 100vw; max-height: 100vh; border: 0; border-radius: 0; }
  .qm-caption { margin: 54px 24px 0; padding-bottom: 12px; font-size: 14px; }
  .qm-restart { top: 18px; left: 18px; }
  .quiz-step { min-height: 0; max-height: calc(100svh - 88px); padding: 14px 24px 120px; -webkit-overflow-scrolling: touch; }
  .quiz-step h2 { font-size: 22px; margin-bottom: 14px; line-height: 1.2; }
  .step-error { min-height: 0; margin: 0 0 8px; }
  .select-chip { margin: 0 0 14px; }
  .placement-options,
  .function-options,
  .stone-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .option-photo b { left: 8px; right: 8px; bottom: 10px; font-size: 13px; }
  .option-label { min-height: 52px; padding: 12px; font-size: 14px; }
  .quiz-bottom { grid-template-columns: 1fr 40px minmax(124px, auto); gap: 14px; padding: 16px 24px calc(18px + var(--safe-bottom)); }
  .progress-label { grid-column: 1 / 2; font-size: 14px; }
  .progress-track { grid-column: 1 / 2; grid-row: 2; }
  .round-back { grid-column: 2; grid-row: 1 / 3; }
  .next-btn { grid-column: 3; grid-row: 1 / 3; min-width: 124px; padding-inline: 16px; }
  .contact-step h2 { margin-top: 54px; font-size: 24px; }
  .contact-card { padding: 22px 16px; border-radius: 16px; }
  .quiz-result { min-height: calc(100vh - 134px); padding: 42px 22px; }
}

@media (max-width: 380px) {
  .official-hero-inner { padding-top: 18px; }
  .bbq-logo-badge { width: 86px; margin-bottom: 12px; }
  .official-hero h1 { font-size: clamp(30px, 10vw, 38px); }
  .hero-feature-grid { margin-top: 14px; }
  .hero-feature-card { padding: 10px; font-size: 14px; }
  .hero-feature-stone { width: 66px; height: 33px; }
  .hero-feature-icon { width: 23px; height: 23px; }
  .hero-bullets { max-width: 270px; font-size: 13.2px; }
  .official-hero-actions { margin-top: 15px; }
  .hero-cost-btn,
  .hero-catalog-btn { min-height: 50px; font-size: 11.5px; }
}

@media (min-width: 760px) {
  .section { padding: 62px 28px; }
  h1 { font-size: 56px; }
  h2 { font-size: 38px; }
  .side-pill { display: inline-flex; }
  body.modal-open .side-pill { display: none; }
  .landing-hero {
    height: 100svh;
    min-height: 560px;
    max-height: 920px;
    align-items: stretch;
  }
  .official-hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 4vh, 56px) 28px;
    overflow: auto;
  }
  .official-hero h1 {
    font-size: clamp(36px, 5.4vw, 64px);
    line-height: .96;
  }
  .bbq-logo-badge { width: clamp(96px, 9vw, 132px); margin-bottom: clamp(14px, 2.4vh, 24px); }
  .hero-feature-grid { margin-top: clamp(14px, 2.4vh, 22px); }
  .hero-feature-card { min-height: 0; padding: clamp(12px, 1.6vh, 18px) 22px; font-size: clamp(16px, 1.5vw, 22px); }
  .hero-bullets { margin-top: clamp(16px, 2.6vh, 26px); font-size: clamp(15px, 1.2vw, 18px); gap: clamp(8px, 1.2vh, 12px); }
  .official-hero-actions { margin-top: clamp(18px, 2.8vh, 30px); gap: 14px; }
  .hero-cost-btn, .hero-catalog-btn { min-height: 56px; padding: 14px 26px; font-size: 14px; }
  .preview-hero { grid-template-columns: 1fr 420px; padding: 48px 28px; }
  .module-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1040px) {
  .landing-hero { min-height: 600px; }
}

/* ==========================================================================
   kz-clone-mobile — клон luxbeton.kz (мобильный приоритет, responsive)
   ========================================================================== */
body.kz-clone-mobile {
  background: #1f1f1e;
  color: #fff;
}

/* Header bar — лого + слоган + WA */
body.kz-clone-mobile .kz-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 12px;
  background: #2b2a29;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
body.kz-clone-mobile .kz-header-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: #fff;
  min-width: 0;
}
body.kz-clone-mobile .kz-header-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}
body.kz-clone-mobile .kz-header-tagline {
  font-size: 11px;
  line-height: 1.22;
  color: rgba(255, 255, 255, .82);
  font-weight: 600;
}
body.kz-clone-mobile .kz-header-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform .15s ease;
}
body.kz-clone-mobile .kz-header-wa:hover { transform: scale(1.05); }

/* Hero — фото вверху, контент на тёмном ниже */
body.kz-clone-mobile .landing-hero {
  background: #1f1f1e;
  min-height: 0;
  padding: 0;
  display: block;
  overflow: visible;
  width: 100%;
  margin-left: 0;
}
body.kz-clone-mobile .landing-hero::after { content: none; }
body.kz-clone-mobile .official-hero-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: url("assets/main_bg.webp") center / cover no-repeat;
  background-color: #1f1f1e;
}
body.kz-clone-mobile .official-hero-inner {
  padding: 14px 16px 18px;
  max-width: 720px;
  margin: 0 auto;
  display: block;
}

/* Заголовок — белый + последняя строка бежевая */
body.kz-clone-mobile .official-hero h1 {
  font-size: clamp(24px, 6.6vw, 34px);
  line-height: 1.04;
  margin: 0 0 14px;
  color: #fff;
  text-align: left;
  letter-spacing: -.01em;
}
body.kz-clone-mobile .official-hero h1 span { display: block; }
body.kz-clone-mobile .official-hero h1 span:last-child { color: #f0dfca; }

/* Pills — 3 темных стэком */
body.kz-clone-mobile .hero-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin: 0 0 14px;
  max-width: none;
}
body.kz-clone-mobile .hero-feature-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #2b2a29;
  border: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  min-height: 0;
}
body.kz-clone-mobile .hero-feature-card span { color: #fff; line-height: 1.25; }
body.kz-clone-mobile .hero-feature-card--stone { grid-column: auto; max-width: none; }
body.kz-clone-mobile .hero-feature-stone { width: 44px; height: 28px; flex-shrink: 0; }
body.kz-clone-mobile .hero-feature-icon { width: 26px; height: 26px; flex-shrink: 0; }

/* CTA — капсулы full-width */
body.kz-clone-mobile .official-hero-actions {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  width: 100%;
}
body.kz-clone-mobile .hero-cost-btn,
body.kz-clone-mobile .hero-catalog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  height: auto;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: normal;
  line-height: 1.18;
  text-align: center;
}
body.kz-clone-mobile .hero-cost-btn::before,
body.kz-clone-mobile .hero-catalog-btn::before { content: none; }
body.kz-clone-mobile .hero-cost-btn {
  background: var(--accent);
  color: #fff;
  border: 0;
}
body.kz-clone-mobile .hero-catalog-btn {
  background: #fff;
  color: var(--accent);
  border: 0;
  text-decoration: none;
}
body.kz-clone-mobile .kz-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Буллеты внизу — оранжевая точка слева */
body.kz-clone-mobile .hero-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  max-width: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
body.kz-clone-mobile .hero-bullets li {
  position: relative;
  padding-left: 18px;
  color: #fff;
}
body.kz-clone-mobile .hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .48em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 71, 11, .18);
}

/* Rich-bullets: иконка + заголовок + описание */
body.kz-clone-mobile .hero-bullets.kz-bullets-rich { gap: 14px; }
body.kz-clone-mobile .kz-bullets-rich li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding-left: 0;
  align-items: start;
}
body.kz-clone-mobile .kz-bullets-rich li::before { content: none; }
body.kz-clone-mobile .kz-bullet-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}
body.kz-clone-mobile .kz-bullet-icon--stone { color: #6dd28b; }
body.kz-clone-mobile .kz-bullet-icon--award { color: #f3c34a; }
body.kz-clone-mobile .kz-bullet-icon--wallet { color: #e09d6a; }
body.kz-clone-mobile .kz-bullets-rich li > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}
body.kz-clone-mobile .kz-bullets-rich li b {
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
}
body.kz-clone-mobile .kz-bullets-rich li span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.32;
  color: rgba(255, 255, 255, .78);
}

/* Pulse + ring анимация (как .resume-glow в bbq_3_modules.html) — всегда активная */
body.kz-clone-mobile .hero-cost-btn {
  position: relative;
  isolation: isolate;
  animation: resumePulse 1.65s ease-in-out infinite;
}
body.kz-clone-mobile .hero-cost-btn::after {
  content: "";
  position: absolute;
  inset: -7px;
  z-index: -1;
  border: 2px solid rgba(255, 197, 130, .62);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  animation: resumeRing 1.65s ease-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  body.kz-clone-mobile .hero-cost-btn,
  body.kz-clone-mobile .hero-cost-btn::after { animation: none; }
}
body.kz-clone-mobile .mobile-break { display: none; }

/* Тёмный фон страницы под hero (на случай если контент короче экрана) */
body.kz-clone-mobile main { background: #1f1f1e; }

/* Sticky CTA внизу — гармонизировать с тёмной темой */
body.kz-clone-mobile .sticky-mini { background: #2b2a29; border-top: 1px solid rgba(255,255,255,.08); }
body.kz-clone-mobile .sticky-mini-btn { color: #fff; }
body.kz-clone-mobile .sticky-mini-close { color: rgba(255,255,255,.7); }

/* Скрываем кнопку закрытия sticky CTA на kz-clone-reviews — всегда видимая */
body.kz-clone-reviews .sticky-mini-close { display: none; }
body.kz-clone-reviews .sticky-mini-btn {
  width: calc(100% - 16px);
  margin-left: 8px;
  margin-right: 8px;
}

/* Десктоп: контент слева, фото справа — всё в один экран */
@media (min-width: 760px) {
  body.kz-clone-mobile .landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: stretch;
    height: calc(100svh - 52px);
    min-height: 520px;
    max-height: 900px;
  }
  body.kz-clone-mobile .official-hero-inner {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(20px, 3vh, 40px) clamp(28px, 4vw, 48px);
    max-width: 640px;
    margin: 0;
    overflow: auto;
  }
  body.kz-clone-mobile .official-hero-photo {
    grid-column: 2;
    grid-row: 1;
    aspect-ratio: auto;
    width: 100%;
    height: 100%;
    min-height: 100%;
  }
  body.kz-clone-mobile .official-hero h1 {
    font-size: clamp(28px, 2.8vw, 44px);
    margin-bottom: clamp(14px, 2.2vh, 22px);
    line-height: 1.04;
  }
  body.kz-clone-mobile .hero-feature-card { padding: 12px 16px; font-size: 14px; gap: 12px; }
  body.kz-clone-mobile .hero-feature-grid { max-width: 540px; gap: 8px; margin-bottom: clamp(12px, 2vh, 18px); }
  body.kz-clone-mobile .official-hero-actions {
    grid-template-columns: 1fr 1fr;
    max-width: 540px;
    gap: 10px;
    margin-bottom: clamp(12px, 2vh, 18px);
  }
  body.kz-clone-mobile .hero-cost-btn,
  body.kz-clone-mobile .hero-catalog-btn { min-height: 50px; font-size: 13px; padding: 10px 14px; }
  body.kz-clone-mobile .hero-bullets { max-width: 540px; gap: 8px; font-size: 13px; }
}

/* ==========================================================================
   kz-clone-video — variant с видео-фоном вместо статичной фотографии
   ========================================================================== */
body.kz-clone-video .official-hero-photo {
  background: #1f1f1e;
  object-fit: cover;
}
body.kz-clone-video .official-hero-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #1f1f1e;
}
@media (min-width: 760px) {
  body.kz-clone-video .official-hero-video {
    aspect-ratio: auto;
    width: 100%;
    height: 100%;
    min-height: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.kz-clone-video .official-hero-video { animation: none; }
}

/* ==========================================================================
   kz-clone-reviews — секция «Реальные отзывы клиентов» с каруселью
   ========================================================================== */
body.kz-clone-reviews .kz-reviews {
  background: #1f1f1e;
  color: #fff;
  padding: 8px 12px calc(52px + var(--safe-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100svh;
  box-sizing: border-box;
}
body.kz-clone-reviews .kz-reviews-inner {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1 1 auto;
  min-height: 0;
  gap: 12px;
}
body.kz-clone-reviews .kz-reviews-stats {
  position: relative;
  margin: 8px auto 22px;
  padding: 8px 14px;
  text-align: center;
  font-size: clamp(20px, 5.4vw, 26px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.005em;
  color: #fff;
  flex: 0 0 auto;
  align-self: center;
  max-width: min(520px, 100%);
}
body.kz-clone-reviews .kz-stats-accent {
  color: #f0dfca;
  font-weight: 800;
  white-space: nowrap;
}
body.kz-clone-reviews .kz-bracket {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 3px solid #f0dfca;
  pointer-events: none;
}
body.kz-clone-reviews .kz-bracket--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 4px; }
body.kz-clone-reviews .kz-bracket--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 4px; }
body.kz-clone-reviews .kz-bracket--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 4px; }
body.kz-clone-reviews .kz-bracket--br { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 4px; }
body.kz-clone-reviews .kz-reviews-title {
  margin: 0;
  text-align: center;
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 800;
  letter-spacing: -.005em;
  color: #fff;
  flex: 0 0 auto;
}
body.kz-clone-reviews .kz-reviews-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
body.kz-clone-reviews .kz-reviews-track {
  position: relative;
  width: min(100%, calc((100svh - 220px) * 9 / 16));
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  background: #0a0908;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .42);
}
body.kz-clone-reviews .kz-reviews-progress {
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  z-index: 10;
  display: flex;
  gap: 3px;
  pointer-events: none;
}
body.kz-clone-reviews .kz-reviews-progress span {
  flex: 1;
  height: 2.5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .32);
  overflow: hidden;
}
body.kz-clone-reviews .kz-reviews-progress span i {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
}
body.kz-clone-reviews .kz-reviews-progress span.is-done i { width: 100%; }
body.kz-clone-reviews .kz-reviews-progress span.is-active i {
  animation: kzReviewsFill var(--kz-reviews-fill, 3s) linear forwards;
}
body.kz-clone-reviews.is-reviews-paused .kz-reviews-progress span.is-active i { animation-play-state: paused; }
@keyframes kzReviewsFill { to { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  body.kz-clone-reviews .kz-reviews-progress span.is-active i { animation: none; width: 50%; }
}
body.kz-clone-reviews .kz-reviews-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0908;
}
body.kz-clone-reviews .kz-reviews-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
body.kz-clone-reviews .kz-reviews-slide img,
body.kz-clone-reviews .kz-reviews-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.kz-clone-reviews .kz-reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background .2s ease, transform .2s ease;
}
body.kz-clone-reviews .kz-reviews-arrow:hover { background: rgba(0, 0, 0, .78); }
body.kz-clone-reviews .kz-reviews-arrow:active { transform: translateY(-50%) scale(.94); }
body.kz-clone-reviews .kz-reviews-arrow--prev { left: 8px; }
body.kz-clone-reviews .kz-reviews-arrow--next { right: 8px; }

body.kz-clone-reviews .kz-reviews-dots { display: none; }
body.kz-clone-reviews .kz-reviews-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .26);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
body.kz-clone-reviews .kz-reviews-dot:hover { background: rgba(255, 255, 255, .5); }
body.kz-clone-reviews .kz-reviews-dot.is-active {
  background: var(--accent);
  transform: scale(1.25);
}
body.kz-clone-reviews .kz-reviews-counter {
  margin-top: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, .55);
  flex: 0 0 auto;
}
body.kz-clone-reviews .kz-reviews-counter span { color: #fff; }

/* Sticky CTA не должна быть скрыта секцией — у неё position:fixed,
   просто оставляем нижний отступ секции, чтобы контент не уходил под неё */

@media (min-width: 760px) {
  body.kz-clone-reviews .kz-reviews {
    padding: 48px 28px 64px;
    min-height: auto;
  }
  body.kz-clone-reviews .kz-reviews-inner {
    max-width: 1280px;
    gap: 28px;
  }
  body.kz-clone-reviews .kz-reviews-stats {
    font-size: clamp(28px, 3.2vw, 44px);
    font-weight: 800;
    color: #fff;
    line-height: 1.18;
    max-width: 980px;
    margin: 12px auto 20px;
    padding: 14px 26px;
  }
  body.kz-clone-reviews .kz-bracket {
    width: 22px;
    height: 22px;
    border-width: 4px;
  }
  body.kz-clone-reviews .kz-reviews-title {
    margin-bottom: 0;
    font-size: clamp(28px, 2.6vw, 36px);
  }
  body.kz-clone-reviews .kz-reviews-stage {
    align-items: center;
    overflow: visible;
    min-height: 540px;
  }
  /* Track теряет своё фоновое оформление — оно теперь на каждом slide */
  body.kz-clone-reviews .kz-reviews-track {
    width: clamp(320px, 30vw, 420px);
    max-width: none;
    aspect-ratio: 9 / 16;
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }
  body.kz-clone-reviews .kz-reviews-slide {
    border-radius: 14px;
    overflow: hidden;
    background: #0a0908;
    box-shadow: 0 22px 44px rgba(0, 0, 0, .42);
    transition:
      transform .45s cubic-bezier(.22, 1, .36, 1),
      opacity .45s ease,
      filter .45s ease;
    will-change: transform, opacity;
  }
  body.kz-clone-reviews .kz-reviews-slide.is-active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 3;
    pointer-events: auto;
    filter: none;
  }
  body.kz-clone-reviews .kz-reviews-slide.is-prev,
  body.kz-clone-reviews .kz-reviews-slide.is-next {
    opacity: .55;
    z-index: 2;
    pointer-events: auto;
    cursor: pointer;
    filter: brightness(.7) saturate(.85);
  }
  body.kz-clone-reviews .kz-reviews-slide.is-prev { transform: translateX(-92%) scale(.82); }
  body.kz-clone-reviews .kz-reviews-slide.is-next { transform: translateX( 92%) scale(.82); }
  body.kz-clone-reviews .kz-reviews-slide.is-prev:hover,
  body.kz-clone-reviews .kz-reviews-slide.is-next:hover { opacity: .82; filter: brightness(.9); }
  body.kz-clone-reviews .kz-reviews-slide:not(.is-active):not(.is-prev):not(.is-next) {
    opacity: 0;
    pointer-events: none;
    transform: scale(.7);
  }
  body.kz-clone-reviews .kz-reviews-progress { z-index: 5; }

  body.kz-clone-reviews .kz-reviews-arrow {
    width: 56px;
    height: 56px;
    font-size: 30px;
    background: rgba(0, 0, 0, .72);
  }
  body.kz-clone-reviews .kz-reviews-arrow:hover { background: rgba(0, 0, 0, .9); }
  body.kz-clone-reviews .kz-reviews-arrow--prev { left: max(24px, calc(50% - 540px)); }
  body.kz-clone-reviews .kz-reviews-arrow--next { right: max(24px, calc(50% - 540px)); }
}

@media (prefers-reduced-motion: reduce) {
  body.kz-clone-reviews .kz-reviews-slide { transition: none; }
}

/* Фото каталога-разворота в catalog-modal для kz-clone-reviews */
body.kz-clone-reviews .catalog-book {
  display: block;
  position: static;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 22px auto 0;
  transform: none;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .22));
}
body.kz-clone-reviews .catalog-info { padding-bottom: 0; min-height: 0; }
@media (min-width: 760px) {
  body.kz-clone-reviews .catalog-book {
    max-width: 420px;
    margin: 28px auto 0;
    transform: rotate(-3deg);
  }
}

/* Фото каталога на step 4 (контактная форма) для kz-clone-reviews */
body.kz-clone-reviews .contact-hero-photo {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 8px auto 4px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: transparent;
}
body.kz-clone-reviews .contact-step h2 { display: none; }
body.kz-clone-reviews .contact-subtitle { margin: 0 0 8px; font-size: 15px; }
body.kz-clone-reviews .contact-card { margin-top: 8px; }
@media (min-width: 760px) {
  body.kz-clone-reviews .contact-hero-photo {
    max-width: 380px;
    margin: 10px auto 4px;
  }
  body.kz-clone-reviews .contact-subtitle { margin: 0 0 12px; font-size: 17px; }
  body.kz-clone-reviews .contact-card { margin-top: 10px; }
}

/* Sticky CTA на десктопе для kz-clone-reviews — центрированная капсула снизу */
@media (min-width: 760px) {
  body.kz-clone-reviews .sticky-mini {
    display: block;
    left: 50%;
    right: auto;
    bottom: 24px;
    width: min(440px, calc(100vw - 48px));
    height: 64px;
    padding: 0;
    border: 0;
    border-top: 0;
    border-radius: 999px;
    background: #2b2a29;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .42);
    transform: translate(-50%, 140%);
    transition: transform .28s cubic-bezier(.22, 1, .36, 1);
  }
  body.kz-clone-reviews .sticky-mini.show { transform: translate(-50%, 0); }
  body.kz-clone-reviews .sticky-mini-progress {
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 999px 999px 0 0;
    background: rgba(255, 255, 255, .1);
    overflow: hidden;
  }
  body.kz-clone-reviews .sticky-mini-btn {
    width: calc(100% - 16px);
    height: 50px;
    margin: 7px 8px 0;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    background: var(--accent);
    box-shadow: 0 6px 18px rgba(184, 71, 11, .32);
  }
  body.kz-clone-reviews .sticky-mini-btn:hover { background: var(--accent-dark); }
}
