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

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 24px;
  transition: padding-bottom 0.3s ease;
}

/* место под sticky только когда бар виден */
body.has-sticky {
  padding-bottom: calc(96px + var(--safe-bottom));
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

.gold { color: var(--gold); }

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Buttons ── */
.btn-green {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 56px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ff9a3d 0%, var(--orange) 45%, var(--orange-dark) 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(255, 122, 0, 0.35);
  animation: pulse-cta 2.6s ease-in-out infinite;
  transition: transform 0.2s, filter 0.2s;
}
.btn-green:active { transform: scale(0.98); filter: brightness(0.95); }

@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 8px 24px rgba(255, 122, 0, 0.28); }
  50% { box-shadow: 0 8px 32px rgba(255, 122, 0, 0.45); }
}

.btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 122, 0, 0.25);
  background: var(--orange-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange-dark);
}

.section {
  padding: 40px var(--pad);
  background: var(--bg);
}

.section:nth-child(even) {
  background: var(--bg-soft);
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 12px 0 10px;
}

.section-sub {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ═══════════ BLOCK 1 — HERO (весь первый экран без скролла) ═══════════ */
.hero {
  position: relative;
  /* высота = видимая область минус sticky */
  height: 100dvh;
  max-height: 100dvh;
  min-height: 100svh;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@supports (height: 100dvh) {
  .hero {
    height: 100dvh;
    min-height: 0;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.72) 0%,
      rgba(255, 255, 255, 0.35) 28%,
      rgba(255, 255, 255, 0.55) 52%,
      rgba(255, 255, 255, 0.92) 78%,
      #ffffff 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  /* sticky на hero скрыт — обычный нижний отступ */
  padding:
    calc(8px + env(safe-area-inset-top, 0px))
    var(--pad)
    calc(20px + var(--safe-bottom));
  justify-content: flex-start;
}

.hero-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-shrink: 0;
  margin-bottom: 0;
  padding-top: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--orange);
}

.logo img { width: 26px; height: 26px; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  margin-left: auto;
  margin-right: 8px;
  flex-shrink: 0;
}

.lang-switch button {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1;
}

.lang-switch button.is-active {
  background: linear-gradient(180deg, #ff9a3d 0%, var(--orange) 100%);
  color: #fff;
}

.hero .badge {
  padding: 6px 10px;
  font-size: 10px;
  flex-shrink: 0;
}

/* Нижний блок hero прижат вниз, но внутри экрана */
.hero-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  flex-shrink: 1;
  min-height: 0;
}

.hero h1 {
  font-size: clamp(22px, 6.2vw, 28px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.hero-lead {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
  max-width: 36ch;
  line-height: 1.35;
}

/* 3 преимущества — компактная строка, не 3 огромные карточки */
.hero-perks {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin-bottom: 10px;
}

.hero-perk {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  box-shadow: var(--shadow);
  min-height: 0;
  color: var(--text);
}

.hero-perk span:first-child { font-size: 16px; line-height: 1; }
.hero-perk span:last-child { font-size: 10px; }

.price-panel {
  padding: 12px 14px;
  margin-bottom: 10px;
}

.hero-discount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(224, 90, 79, 0.14);
  border: 1px solid rgba(224, 90, 79, 0.38);
}

.hero-discount-value {
  font-size: clamp(26px, 7vw, 32px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--err);
}

.hero-discount-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c0392b;
  line-height: 1.2;
}

.price-old {
  font-size: 19px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--err);
  text-decoration-thickness: 2px;
}

.price-new {
  font-size: 32px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-meta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}

.price-meta span:last-child {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.offer-timer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(224, 90, 79, 0.1);
  border: 1px solid rgba(224, 90, 79, 0.28);
}

.offer-timer--plan,
.offer-timer--final {
  margin: 0 0 14px;
  justify-content: center;
}

.offer-timer-label {
  font-size: 12px;
  font-weight: 700;
  color: #c0392b;
}

.offer-timer-value {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.offer-timer.is-ended .offer-timer-value {
  color: var(--muted);
  font-size: 14px;
}

/* Главная CTA в hero — всегда над sticky, компактнее */
.hero .btn-green {
  position: relative;
  z-index: 2;
  min-height: 52px;
  padding: 14px 16px;
  font-size: 15px;
  flex-shrink: 0;
}

/* ═══════════ BLOCK 2 — VIDEO ═══════════ */
.video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.video-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.15);
}

.video-play span {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid var(--orange);
  box-shadow: 0 8px 24px rgba(255, 122, 0, 0.35);
  display: grid;
  place-items: center;
  transition: transform 0.2s;
}

.video-play span::after {
  content: '';
  margin-left: 4px;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--orange);
}

.video-duration {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(26, 26, 26, 0.72);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.bullet-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
}

.bullet-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* ═══════════ BLOCK 3 — CHANNELS (orange band) ═══════════ */
.section-channels {
  background: linear-gradient(180deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #fff;
}

.section-channels .badge {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.section-channels .section-title {
  color: #fff;
}

.section-channels .gold {
  color: #fff;
}

.section-channels .section-sub {
  color: rgba(255, 255, 255, 0.88);
}

.section-channels .channel.glass {
  background: var(--bg);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.section-channels .channel-ico {
  background: var(--orange-soft);
  border-color: rgba(255, 122, 0, 0.25);
}

.section-channels .channel h3 {
  color: var(--text);
}

.section-channels .channel p {
  color: var(--muted);
}

.section-channels .channel ul li {
  color: var(--text);
}

.channel {
  padding: 0;
  overflow: hidden;
  margin-bottom: 16px;
}

.channel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.channel-body { padding: 20px; }

.channel-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--orange-soft);
  border: 1px solid rgba(255, 122, 0, 0.25);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 12px;
}

.channel h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.channel p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 14px;
}

.channel ul li {
  font-size: 15px;
  color: var(--text);
  padding: 6px 0 6px 22px;
  position: relative;
}

.channel ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

/* ═══════════ BLOCK 4 — ROUTES ═══════════ */
.routes-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 calc(-1 * var(--pad));
  padding: 4px var(--pad) 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.routes-track::-webkit-scrollbar { display: none; }

.route {
  flex: 0 0 72%;
  max-width: 280px;
  scroll-snap-align: start;
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.route img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* Значок Play на обложке */
.route-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -58%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid var(--orange);
  box-shadow: 0 8px 24px rgba(255, 122, 0, 0.35);
  display: grid;
  place-items: center;
  pointer-events: none;
}

.route-play::after {
  content: '';
  margin-left: 3px;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--orange);
}

.route:active .route-play {
  transform: translate(-50%, -58%) scale(0.94);
}

.route-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 48px 16px 16px;
  background: linear-gradient(180deg, transparent, rgba(26, 26, 26, 0.88));
  color: #fff;
}

.route-meta h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.route-meta .from {
  font-size: 16px;
  font-weight: 800;
  color: var(--orange);
}

.route-meta .note {
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4px;
}

.route-cta {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #a5d6a7;
}

/* ═══════════ BLOCK 5 — REVIEWS ═══════════ */
.review {
  overflow: hidden;
  margin-bottom: 14px;
}

.review-media {
  position: relative;
}

.review-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.review-media .play-sm {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.review-media .play-sm span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
}

.review-media .play-sm span::after {
  content: '';
  margin-left: 3px;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent var(--orange);
}

.review-body { padding: 16px 18px 18px; }
.review-body h3 { font-size: 18px; font-weight: 800; }
.review-body .city { color: var(--orange); font-size: 14px; font-weight: 700; margin: 2px 0 8px; }
.review-body p { font-size: 16px; color: var(--muted); }

.chat {
  padding: 16px;
  margin-bottom: 14px;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
}

.chat-head strong { display: block; font-size: 16px; }
.chat-head small { color: var(--muted); font-size: 13px; }

.bubble {
  max-width: 90%;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.bubble.in {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
}

.bubble.out {
  background: var(--green-soft);
  border: 1px solid rgba(56, 142, 60, 0.25);
  margin-left: auto;
  border-bottom-right-radius: 6px;
}

.bubble time {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  text-align: right;
}

.thanks {
  padding: 18px;
  margin-bottom: 14px;
}

.thanks p {
  font-size: 16px;
  margin-bottom: 10px;
}

.thanks .user {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
}

/* ═══════════ BLOCK 6 — PRICING ═══════════ */
.plan {
  padding: 24px 20px;
  margin-bottom: 14px;
}

.plan.featured {
  border: 1.5px solid rgba(255, 122, 0, 0.45);
  box-shadow: 0 8px 32px rgba(255, 122, 0, 0.15);
  background: linear-gradient(180deg, var(--orange-soft), var(--bg));
  padding: 28px 22px;
}

.plan .tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 12px;
  background: var(--orange-soft);
  border: 1px solid rgba(255, 122, 0, 0.35);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange-dark);
}

.plan .tag-vip {
  background: var(--green-soft);
  border-color: rgba(56, 142, 60, 0.35);
  color: var(--green-dark);
}

.plan h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.plan .amount-wrap {
  margin: 8px 0 14px;
}

.plan .amount-old {
  display: block;
  font-size: 16px;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: #e05a4f;
  text-decoration-thickness: 2px;
  margin-bottom: 2px;
}

.plan .amount {
  font-size: 36px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.02em;
  margin: 0;
}

.plan.featured .amount { font-size: 44px; }

.plan .desc {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 14px;
}

.plan ul { margin-bottom: 18px; }

.plan ul li {
  font-size: 15px;
  padding: 7px 0 7px 22px;
  position: relative;
  color: var(--text);
}

.plan ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

.plan-vip {
  border: 1px solid rgba(56, 142, 60, 0.35);
}

.vip-extras {
  margin: -6px 0 18px;
  padding: 14px;
  border-radius: 12px;
  background: var(--orange-soft);
  border: 1px solid rgba(255, 122, 0, 0.35);
}

.vip-extras-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--orange-dark);
  margin-bottom: 8px;
}

.vip-list {
  margin: 0 !important;
}

.vip-list li {
  font-weight: 700;
  color: var(--text) !important;
}

.vip-list li::before {
  content: '★' !important;
  color: var(--orange);
}

/* ═══════════ BLOCK 7 — STEPS ═══════════ */
.steps { position: relative; }

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 18px 0;
  position: relative;
}

.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 58px;
  bottom: -6px;
  width: 2px;
  background: linear-gradient(180deg, var(--orange), transparent);
  opacity: 0.35;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 122, 0, 0.45);
  background: var(--orange-soft);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--orange-dark);
  z-index: 1;
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.step p {
  font-size: 15px;
  color: var(--muted);
}

/* ═══════════ BLOCK 8 — FAQ ═══════════ */
.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  min-height: 56px;
}

.faq-q .chev {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform 0.25s;
  font-size: 14px;
}

.faq-item.open .faq-q .chev { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
  padding: 0 18px;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding: 0 18px 18px;
}

/* ═══════════ BLOCK 9 — FINAL ═══════════ */
.final {
  text-align: center;
  padding: 48px var(--pad) 32px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 122, 0, 0.1), transparent 55%),
    var(--bg-soft);
}

.final-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.final-card {
  padding: 32px 20px;
}

.final .price-new {
  font-size: 52px;
  display: block;
  margin-bottom: 6px;
}

.final .price-old {
  display: block;
  margin-bottom: 16px;
}

.final .lines {
  margin-bottom: 24px;
}

.final .lines p {
  font-size: 18px;
  font-weight: 700;
}

.final .lines p:last-child { color: var(--orange); }

/* ═══════════ BLOCK 10 — STICKY BAR ═══════════ */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px var(--pad) calc(12px + var(--safe-bottom));
  background: var(--bg);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(16, 24, 40, 0.08);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 110%, 0);
  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.35s;
}

.sticky-bar.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.sticky-bar .info { flex: 1; min-width: 0; }

.sticky-bar .info strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1.1;
}

.sticky-bar .info span {
  font-size: 12px;
  color: var(--muted);
}

.sticky-bar .btn-green {
  width: auto;
  min-width: 148px;
  padding: 14px 18px;
  min-height: 52px;
  font-size: 15px;
  animation: none;
  box-shadow: 0 4px 16px rgba(255, 122, 0, 0.28);
}

/* Очень короткие экраны (SE / Safari с большой панелью) */
@media (max-height: 700px) {
  .hero h1 { font-size: 20px; }
  .hero-lead { font-size: 12px; margin-bottom: 8px; }
  .hero-perks { margin-bottom: 8px; gap: 5px; }
  .hero-perk { padding: 6px 3px; }
  .hero-perk span:last-child { font-size: 9px; }
  .price-new { font-size: 28px; }
  .price-panel { padding: 10px 12px; margin-bottom: 8px; }
  .price-meta { font-size: 12px; }
  .hero .btn-green { min-height: 48px; font-size: 14px; padding: 12px; }
  .hero-content { padding-bottom: calc(16px + var(--safe-bottom)); }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 20px; }
  .price-new { font-size: 28px; }
  .section-title { font-size: 24px; }
  .route { flex-basis: 78%; }
  .sticky-bar .btn-green { min-width: 132px; font-size: 14px; }
  .hero-perk span:last-child { font-size: 9px; }
}

/* ═══════════ REEL MODAL ═══════════ */
.reel-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  padding-bottom: calc(16px + var(--safe-bottom, 0px));
}

.reel-modal[hidden] { display: none !important; }

.reel-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(4px);
}

.reel-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(380px, 100%);
  max-height: min(86vh, 700px);
  overflow: auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 14px 16px;
  box-shadow: var(--shadow);
}

.reel-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.reel-modal-meta {
  padding-right: 36px;
  margin-bottom: 10px;
}

.reel-modal-meta strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}

.reel-modal-meta span {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
}

.reel-modal-frame {
  width: 100%;
  min-height: 520px;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  position: relative;
}

.reel-modal-frame.is-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent),
    #000;
  background-size: 200% 100%;
  animation: reel-shimmer 1.2s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes reel-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.reel-modal-frame iframe,
.reel-modal-frame .instagram-media {
  display: block;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  border: 0 !important;
  background: #000;
}

.reel-modal-frame iframe {
  height: min(68vh, 620px);
}

.reel-modal-hint {
  margin: 10px 0 8px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.reel-modal-ig {
  display: block;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(180deg, #ff9a3d 0%, var(--orange) 45%, var(--orange-dark) 100%);
  border-radius: 12px;
  padding: 12px;
}

body.reel-modal-open {
  overflow: hidden;
}

