/* Формула Свободы — лендинг АУ */
:root {
  --navy-950: #071526;
  --navy-900: #0b1f3a;
  --navy-800: #122a4a;
  --navy-700: #1a3a63;
  --gold-400: #d4af37;
  --gold-500: #c49a1a;
  --gold-600: #a67c0f;
  --sand-100: #f3eee3;
  --sand-50: #faf7f1;
  --ink: #122033;
  --muted: #5b6b7c;
  --line: rgba(18, 42, 74, 0.12);
  --good: #1f7a4c;
  --bad: #9b2c2c;
  --mid: #8a6a1f;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(7, 21, 38, 0.18);
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  max-width: 100%;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(212, 175, 55, 0.12), transparent 60%),
    radial-gradient(900px 500px at 100% 20%, rgba(26, 58, 99, 0.12), transparent 55%),
    linear-gradient(180deg, var(--sand-50), #fff 40%, var(--sand-100));
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--navy-800);
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 9990;
  backdrop-filter: blur(14px);
  background: rgba(7, 21, 38, 0.88);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

html.admin-bar .topbar {
  top: 32px;
}

@media screen and (max-width: 782px) {
  html.admin-bar .topbar {
    top: 46px;
  }
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
  margin-right: auto;
}

.logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy-950);
  background: linear-gradient(145deg, var(--gold-400), var(--gold-600));
}

.logo__text {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.6vw, 1.35rem);
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.topbar__nav a {
  color: #fff;
  text-decoration: none;
  font-size: clamp(0.78rem, 1.1vw, 0.92rem);
  font-weight: 500;
  white-space: nowrap;
  opacity: 0.92;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.topbar__nav a:hover {
  color: var(--gold-400);
  opacity: 1;
}

.topbar a.logo,
.topbar a.logo .logo__text {
  color: #fff;
}

.topbar__phone {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.desktop-only {
  display: inline-flex;
}

/* Бургер и мобильное меню */
.topbar__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-appearance: none;
  appearance: none;
  color: inherit;
}

.topbar__burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.topbar__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.topbar__burger.is-open span:nth-child(2) {
  opacity: 0;
}

.topbar__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.topbar-mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1098;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.topbar-mobile-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.topbar-mobile {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1099;
  width: min(100%, 320px);
  height: 100svh;
  padding: 5rem 1.25rem 1.5rem;
  background: var(--navy-950);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}

.topbar-mobile.is-open {
  transform: translateX(0);
}

.topbar-mobile a {
  display: block;
  padding: 0.85rem 0;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.topbar-mobile a:hover,
.topbar-mobile a:focus-visible {
  color: var(--gold-400);
}

.topbar__cta {
  flex-shrink: 0;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

/* class .btn перебивает UA [hidden] — явно прячем */
[hidden],
.btn[hidden],
.quiz-modal__back[hidden] {
  display: none !important;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--sm {
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: 0.92rem;
}

.btn--gold {
  color: var(--navy-950);
  background: linear-gradient(145deg, #e2c56a, var(--gold-500));
  box-shadow: 0 10px 28px rgba(196, 154, 26, 0.35);
}

.btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.section .btn--ghost {
  color: var(--navy-800);
  border-color: var(--line);
  background: transparent;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(100svh, 920px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero__media {
  position: absolute;
  inset: 0;
  background:
    url("../img/hero-panteleev.png") center 20% / cover no-repeat;
  transform: scale(1.02);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 21, 38, 0.88) 0%, rgba(7, 21, 38, 0.55) 48%, rgba(7, 21, 38, 0.25) 100%),
    linear-gradient(180deg, rgba(7, 21, 38, 0.25) 0%, rgba(7, 21, 38, 0.82) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 7rem 0 4.5rem;
  max-width: 720px;
  margin-left: max(1rem, calc((100% - 1120px) / 2));
  margin-right: auto;
  width: min(720px, calc(100% - 2rem));
}

.hero__brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--gold-400);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 2.05rem);
  font-weight: 600;
  line-height: 1.25;
  max-width: 18ch;
}

.hero__lead {
  margin: 0 0 1.6rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 38ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.reveal {
  animation: rise 0.9s ease both;
}

.hero__brand.reveal { animation-delay: 0.05s; }
.hero__title.reveal { animation-delay: 0.18s; }
.hero__lead.reveal { animation-delay: 0.3s; }
.hero__cta.reveal { animation-delay: 0.42s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes heroDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1.2%, -0.8%, 0); }
}

/* Ratings — некликабельные */
.ratings {
  padding: 1.75rem 0 1rem;
  background: var(--navy-900);
  color: #fff;
}

.ratings__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.rating {
  pointer-events: none;
  user-select: none;
  text-align: center;
  padding: 1.1rem 0.75rem;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.rating__platform {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.25rem;
}

.rating__score {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold-400);
}

.rating__meta {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.ratings__note {
  margin: 1rem auto 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.section {
  padding: 4.5rem 0;
}

.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.25;
  font-weight: 600;
}

.section__lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 52ch;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--gold-600);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.text {
  color: var(--muted);
  margin: 0 0 1rem;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.stat-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.stat {
  padding: 1.1rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  color: #fff;
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-400);
  margin-bottom: 0.2rem;
}

.stat span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.chip-list,
.check-list,
.fact-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.chip-list li,
.check-list li,
.fact-list li {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.check-list li::before {
  content: "✓ ";
  color: var(--good);
  font-weight: 700;
}

.chip-list--muted li {
  background: rgba(18, 42, 74, 0.04);
}

.measure-grid,
.compare,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.measure-grid article,
.compare__card,
.review-grid blockquote {
  margin: 0;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
}

.measure-grid h3,
.compare__card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.compare__card ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
}

.compare__card--accent {
  border-color: rgba(212, 175, 55, 0.55);
  background:
    linear-gradient(160deg, rgba(212, 175, 55, 0.14), rgba(255, 255, 255, 0.9));
  box-shadow: var(--shadow);
}

.good { color: var(--good); }
.bad { color: var(--bad); }
.mid { color: var(--mid); }

.law,
.writeoff,
.facts,
.founder {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(243, 238, 227, 0.55));
}

.risks,
.solutions,
.process,
.reviews {
  background: rgba(255, 255, 255, 0.45);
}

/* Тизер квиза на странице */
.quiz-teaser__box {
  text-align: center;
  padding: 2.4rem 1.5rem;
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(700px 400px at 80% 0%, rgba(212, 175, 55, 0.18), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
  box-shadow: var(--shadow);
}

.quiz-teaser__box p {
  margin: 0 auto 1.25rem;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.78);
}

/* Модальный квиз */
body.is-quiz-open {
  overflow: hidden;
}

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

/* Фиксированные блоки в конце body не должны раздувать высоту страницы */
body > .float-bar,
body > .quiz-modal {
  position: fixed;
  margin: 0;
}

.quiz-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.quiz-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.quiz-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 21, 38, 0.72);
  backdrop-filter: blur(3px);
  cursor: pointer;
}

.quiz-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(90vh, 820px);
  overflow: auto;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  padding: 1.35rem 1.35rem 1.25rem;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.2s ease;
}

.quiz-modal.is-open .quiz-modal__dialog {
  transform: none;
}

.quiz-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.quiz-modal__close:hover {
  color: var(--ink);
  background: rgba(18, 42, 74, 0.06);
}

.quiz-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-right: 2rem;
  margin-bottom: 0.85rem;
}

.quiz-modal__trust {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 34ch;
}

.quiz-modal__counter {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--navy-800);
  font-variant-numeric: tabular-nums;
}

.quiz-modal__progress {
  height: 4px;
  border-radius: 999px;
  background: rgba(18, 42, 74, 0.08);
  overflow: hidden;
  margin-bottom: 1.1rem;
}

.quiz-modal__bar {
  height: 100%;
  width: 16.66%;
  background: linear-gradient(90deg, var(--gold-400), #e8c65a);
  transition: width 0.35s ease;
}

.quiz__step {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0.55rem;
}

.quiz__step[hidden] {
  display: none !important;
}

.quiz__step legend {
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.choice {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.choice:hover,
.choice:has(input:checked) {
  border-color: rgba(196, 154, 26, 0.75);
  background: rgba(212, 175, 55, 0.1);
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field span {
  font-size: 0.9rem;
  color: var(--muted);
}

.field input {
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 0 1rem;
  font: inherit;
}

.field input::placeholder {
  color: #9aa7b5;
}

.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--muted);
}

.consent a {
  color: var(--gold-600);
}

.quiz-modal__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.quiz-modal__back {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0.4rem 0;
}

.quiz-modal__back:hover {
  color: var(--ink);
}

.quiz-modal__nav .btn {
  margin-left: auto;
}

.quiz__error {
  color: var(--bad);
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
}

.quiz__success {
  color: var(--good);
  margin: 0.75rem 0 0;
  font-weight: 600;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 4.2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 1.2rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-950);
  background: linear-gradient(145deg, var(--gold-400), var(--gold-600));
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.founder__photo-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.founder__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.review-grid blockquote p {
  margin: 0 0 0.85rem;
}

.review-grid footer {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.final-cta__box {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 22px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.18), transparent 40%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
  box-shadow: var(--shadow);
}

.final-cta__box p {
  margin: 0 auto 1.25rem;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.8);
}

.final-cta__gift {
  margin-top: 1rem !important;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55) !important;
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.final-cta .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

/* Кнопки мессенджеров */
.messenger-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.msg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.msg-btn:hover {
  transform: translateY(-1px);
}

.msg-btn--max {
  color: #fff;
  background: linear-gradient(145deg, #4b7cf0, #2f5fd0);
  box-shadow: 0 8px 22px rgba(47, 95, 208, 0.35);
}

.msg-btn--vk {
  color: #fff;
  background: linear-gradient(145deg, #5b8fd9, #4a76a8);
  box-shadow: 0 8px 22px rgba(74, 118, 168, 0.35);
}

.contact {
  background: rgba(255, 255, 255, 0.55);
}

.messenger-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.msg-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.msg-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.msg-card__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.msg-card strong {
  font-size: 1.02rem;
}

.msg-card__hint {
  font-size: 0.9rem;
  color: var(--muted);
}

.msg-card--max { border-color: rgba(47, 95, 208, 0.35); }
.msg-card--max .msg-card__label { color: #2f5fd0; }
.msg-card--vk { border-color: rgba(74, 118, 168, 0.4); }
.msg-card--vk .msg-card__label { color: #4a76a8; }
.msg-card--wa { border-color: rgba(37, 211, 102, 0.4); }
.msg-card--wa .msg-card__label { color: #128c7e; }
.msg-card--tg { border-color: rgba(34, 158, 217, 0.4); }
.msg-card--tg .msg-card__label { color: #229ed9; }

.footer {
  padding: 2.5rem 0 calc(4.25rem + env(safe-area-inset-bottom, 0px));
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.78);
}

.footer a {
  color: var(--gold-400);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 1.5rem;
}

.footer__brand {
  display: block;
  font-family: var(--font-display);
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer__links {
  display: grid;
  gap: 0.45rem;
}

.footer__copy {
  margin: 1.5rem auto 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Плавающая панель быстрой связи */
.float-bar {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.float-bar__btn {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px rgba(7, 21, 38, 0.28);
  transition: transform 0.2s ease;
}

.float-bar__btn:hover {
  transform: translateY(-2px) scale(1.04);
}

.float-bar__btn--max { background: linear-gradient(145deg, #4b7cf0, #2f5fd0); }
.float-bar__btn--vk { background: linear-gradient(145deg, #5b8fd9, #4a76a8); }
.float-bar__btn--wa { background: linear-gradient(145deg, #25d366, #128c7e); }
.float-bar__btn--tg { background: linear-gradient(145deg, #34b7f1, #229ed9); }

@media (max-width: 900px) {
  .split,
  .measure-grid,
  .compare,
  .review-grid,
  .footer__grid,
  .ratings__grid,
  .messenger-grid {
    grid-template-columns: 1fr;
  }

  .topbar__phone.desktop-only,
  .topbar__nav.nav-desktop {
    display: none !important;
  }

  .topbar__burger {
    display: flex !important;
  }

  .topbar__inner {
    gap: 0.5rem;
    overflow: hidden;
  }

  .logo {
    min-width: 0;
    flex: 1 1 auto;
  }

  .logo__text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .topbar__cta {
    padding: 0.45rem 0.65rem;
    font-size: 0.72rem;
    line-height: 1.15;
    max-width: 5.75rem;
    white-space: normal;
    text-align: center;
  }

  .hero {
    min-height: min(86svh, 920px);
  }

  .hero__content {
    padding-top: 6rem;
  }

  .hero__title {
    max-width: none;
  }

  .float-bar {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
    flex-direction: row;
    justify-content: stretch;
  }

  .float-bar__btn {
    flex: 1;
    width: auto;
    height: 46px;
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .hero__media {
    animation: none !important;
  }
}
