.funnel-back {
  position: fixed; inset: 0; z-index: 560;
  background: rgba(16, 18, 28, .62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.funnel-back.open { display: flex; }
body.funnel-open { overflow: hidden; }
body.funnel-open .mob-cta { display: none !important; }

.funnel {
  position: relative;
  width: min(1080px, 100%);
  max-height: min(92vh, 860px);
  overflow: auto;
  background: var(--bg);
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(16, 18, 28, .28);
  padding: 28px 32px 20px;
}
.funnel__close {
  position: absolute; top: 14px; right: 14px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg);
  font-size: 22px; line-height: 1; color: var(--muted);
}
.funnel__close:hover { color: var(--ink); border-color: var(--ink); }

.funnel__head { padding-right: 40px; }
.funnel__head h2 {
  margin: 0 0 18px;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -0.03em; line-height: 1.15;
}
.funnel__head h2 em { font-style: normal; color: var(--accent); }

.funnel__prog {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px; align-items: center;
  margin-bottom: 8px;
}
.funnel__prog-lbl { font-size: 13px; color: var(--muted); white-space: nowrap; }
.funnel__bar {
  height: 8px; background: var(--line); border-radius: 99px; overflow: visible; position: relative;
}
.funnel__bar i {
  display: block; height: 100%; width: 0;
  background: var(--accent); border-radius: 99px;
  transition: width .35s ease;
}
.funnel__pct {
  font-size: 12px; font-weight: 800; color: #fff;
  background: var(--accent); border-radius: 8px;
  padding: 3px 7px; min-width: 40px; text-align: center;
}

.funnel-step { display: none; padding: 18px 0 8px; }
.funnel-step.is-active { display: block; }
.funnel-q { font-size: clamp(18px, 2.2vw, 24px); font-weight: 800; margin: 0 0 8px; letter-spacing: -0.02em; }
.funnel-hint { margin: 0 0 16px; color: var(--muted); font-size: 14px; }

.funnel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.funnel-grid--6 { grid-template-columns: repeat(6, 1fr); }
.funnel-grid button {
  display: flex; flex-direction: column;
  padding: 0; border: 2px solid var(--line);
  border-radius: 14px; overflow: hidden; background: var(--bg);
  text-align: center; font-weight: 650; font-size: 13.5px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.funnel-grid button img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; height: auto;
}
.funnel-grid button span { display: block; padding: 10px 8px 12px; }
.funnel-grid button:hover { border-color: var(--accent); transform: translateY(-1px); }
.funnel-grid button.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.funnel-range { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; margin: 18px 0 28px; }
.funnel-range__lbl { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.funnel-range__val { font-size: 28px; font-weight: 800; color: var(--accent); letter-spacing: -0.03em; }
.funnel-range input[type=range] {
  grid-column: 1 / -1; width: 100%; height: 6px; accent-color: var(--accent);
}

.funnel-radios { display: grid; gap: 8px; max-width: 560px; }
.funnel-radios button {
  text-align: left; padding: 14px 16px 14px 44px;
  border-radius: 14px; border: 1.5px solid var(--line);
  background: var(--bg) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20'><circle cx='10' cy='10' r='8' fill='none' stroke='%23c9c6bf' stroke-width='1.6'/></svg>") 14px 50% no-repeat;
  font-weight: 650;
}
.funnel-radios button.is-active {
  border-color: var(--accent); background-color: var(--accent-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20'><circle cx='10' cy='10' r='8' fill='none' stroke='%238B6F2E' stroke-width='1.6'/><circle cx='10' cy='10' r='4' fill='%238B6F2E'/></svg>");
}

.funnel-perks { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.funnel-perks li {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-soft); color: var(--accent-deep);
  font-weight: 700; font-size: 14px; padding: 8px 12px; border-radius: 10px; width: fit-content;
}
.funnel-perks li::before { content: "✓"; color: var(--accent); }

.funnel-channels { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.funnel-channels button {
  padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line);
  font-weight: 700; background: var(--bg);
}
.funnel-channels button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.funnel-form { display: grid; gap: 10px; max-width: 420px; }
.funnel-form input[type=text],
.funnel-form input[type=tel] {
  border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px;
}
.funnel-submit { width: 100%; justify-content: center; }
.funnel-check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.funnel-check input { margin-top: 3px; accent-color: var(--accent); }
.funnel-check a { text-decoration: underline; }
.funnel-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

.funnel__nav {
  display: flex; align-items: center; gap: 12px;
  padding-top: 12px; border-top: 1px solid var(--line);
  margin-top: 8px;
}
.funnel-back-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--line); font-size: 18px; background: var(--bg);
}
.funnel-back-btn[hidden] { display: none; }
.funnel-nav-hint { flex: 1; margin: 0; font-size: 13.5px; color: var(--muted); }
.funnel-next { margin-left: auto; }
.funnel__nav.is-last .funnel-next { display: none; }

@media (max-width: 900px) {
  .funnel-grid, .funnel-grid--6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .funnel { padding: 22px 16px 16px; border-radius: 18px; max-height: 96vh; }
  .funnel-grid, .funnel-grid--rooms, .funnel-grid--6 { grid-template-columns: 1fr 1fr; }
  .funnel-grid button span { font-size: 12.5px; padding: 8px 6px 10px; }
  .funnel__prog { grid-template-columns: 1fr auto; }
  .funnel__prog-lbl { display: none; }
  .funnel-nav-hint { display: none; }
}

/* Homepage teaser */
.funnel-teaser {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 28px;
  padding: 36px 40px; box-shadow: var(--shadow-sm);
}
.funnel-teaser h2 { margin: 8px 0 10px; font-size: clamp(26px, 3vw, 38px); }
.funnel-teaser h2 em { font-style: normal; color: var(--accent); }
.funnel-teaser p { margin: 0 0 18px; color: var(--muted); max-width: 46ch; }
.funnel-teaser__gifts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.funnel-teaser__gifts li {
  font-size: 13px; font-weight: 650; padding: 7px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-deep);
}
@media (max-width: 800px) {
  .funnel-teaser { grid-template-columns: 1fr; padding: 24px 18px; }
}

/* Акции page */
.akcii-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.akcii-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; display: flex; flex-direction: column;
}
.akcii-card__banner {
  min-height: 120px; padding: 22px 22px 18px;
  background: linear-gradient(135deg, #1c1914 0%, #3a3224 45%, #8B6F2E 100%);
  color: #fff;
}
.akcii-card__kicker { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; font-weight: 700; }
.akcii-card__title { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 0; }
.akcii-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.akcii-card__body p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; flex: 1; }
.akcii-card .btn { align-self: flex-start; }
@media (max-width: 900px) { .akcii-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .akcii-grid { grid-template-columns: 1fr; } }
