@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/manrope.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #150703;
  --surface: #1f0e08;
  --line: rgba(255, 240, 228, 0.09);
  --line-strong: rgba(255, 240, 228, 0.2);
  --text: #fff5ec;
  --muted: #c9b9aa;
  --dim: #8c7c6e;
  --accent: #ff7a1a;
  --accent-2: #ff3d8b;
  --grad: linear-gradient(100deg, #ff8a1a 0%, #ff5a4f 55%, #ff3d8b 100%);
  --violet: #8b5cff;
  --teal: #1fd1b5;
  --yellow: #ffc21a;
  --coral: #ff5a6e;
  --accent-ink: #1c0702;
  --narrow: 960px;
  --wide: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 76px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 600; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.08; text-wrap: balance; }
h3 { font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; margin: 0 auto; padding: 0 var(--gutter); max-width: calc(var(--wide) + var(--gutter) * 2); }
.wrap--narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--text); color: var(--bg); }
.skip:focus { left: 8px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 26px; border: 1px solid transparent; border-radius: 12px;
  font: 600 13px/1 var(--font); letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -12px rgba(255, 90, 79, 0.7); }
.btn--primary:hover { filter: brightness(1.08); }
.btn--ghost { border-color: var(--line-strong); }
.btn--ghost:hover { border-color: rgba(255, 240, 228, 0.45); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 12px; }

.eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }

/* шапка: навигация слева, знак по центру, клуб справа */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); border-bottom: 1px solid transparent; transition: background-color .25s var(--ease), border-color .25s var(--ease); }
.header.is-scrolled, .menu-open .header { background: rgba(21, 7, 3, 0.96); border-bottom-color: var(--line); }
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 100%; }
.nav { display: flex; gap: 28px; }
.nav a { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); transition: color .2s var(--ease); }
.nav a:hover { color: var(--text); }
.logo { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; font: 700 13px/1 var(--font); letter-spacing: 0.3em; text-transform: uppercase; padding-left: 0.3em; }
.logo svg { width: 26px; height: 26px; }
.header__cta { justify-self: end; display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; }

/* hero по центру: знак сверху, текст под ним */
.hero { padding: calc(var(--header-h) + clamp(16px, 3vw, 40px)) 0 clamp(64px, 8vw, 104px); }
.media { position: relative; aspect-ratio: 1 / 1; width: min(560px, 86vw); margin: -24px auto -8px; }
.media img, .media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: radial-gradient(closest-side, #000 58%, rgba(0, 0, 0, 0.5) 80%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 58%, rgba(0, 0, 0, 0.5) 80%, transparent 100%);
}
.media video { opacity: 0; transition: opacity .8s var(--ease); }
.media.is-playing video { opacity: 1; }
.hero .eyebrow { margin-top: 8px; color: var(--accent); }
.hero h1 { margin: 22px auto 0; font-size: clamp(32px, 3.6vw, 56px); max-width: 15em; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin: 22px auto 0; max-width: 600px; color: var(--muted); font-size: clamp(16px, 1.2vw, 18px); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts li { padding: 28px 24px; text-align: center; }
.facts li + li { border-left: 1px solid var(--line); }
.facts__icon { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 16px; color: #fff; }
.facts__icon svg { width: 24px; height: 24px; }
.facts li:nth-child(1) .facts__icon { background: var(--violet); box-shadow: 0 12px 30px -12px var(--violet); }
.facts li:nth-child(2) .facts__icon { background: var(--teal); color: #052a24; box-shadow: 0 12px 30px -12px var(--teal); }
.facts li:nth-child(3) .facts__icon { background: var(--yellow); color: #2a1d00; box-shadow: 0 12px 30px -12px var(--yellow); }
.facts strong { display: block; font-size: 15px; font-weight: 600; }
.facts li > span:not(.facts__icon) { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }

/* секции: заголовки по центру */
.section { padding: clamp(80px, 10vw, 136px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.title { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.title h2 { margin: 18px auto 0; font-size: clamp(28px, 2.8vw, 42px); max-width: 16em; }
.title p { margin: 16px auto 0; max-width: 560px; color: var(--muted); }

/* каталог строками: цветные 3D-иконки парят */
.rows { border-top: 1px solid var(--line); }
.row { --c: var(--accent); display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); position: relative; }
.row::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 14%, transparent), transparent 60%); opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.row:hover::before { opacity: 1; }
.row--violet { --c: var(--violet); } .row--teal { --c: var(--teal); } .row--yellow { --c: var(--yellow); } .row--coral { --c: var(--coral); }
.row__icon { width: 150px; height: 150px; position: relative; }
.row__icon img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.55)); }
.row h3 { font-size: 22px; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700; position: relative; }
.row h3::after { content: ''; display: block; width: 28px; height: 3px; margin-top: 12px; border-radius: 2px; background: var(--c); }
.row p { color: var(--muted); position: relative; }

.float { animation: float 6s ease-in-out infinite; }
.float--2 { animation-delay: -1.5s; } .float--3 { animation-delay: -3s; } .float--4 { animation-delay: -4.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

/* клуб: яркая градиентная плашка, тёмная таблица внутри */
.club { position: relative; padding: clamp(32px, 5vw, 64px); border-radius: 28px; background: var(--grad); color: #1c0702; overflow: hidden; }
.club__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); align-items: center; gap: 24px; }
.club .eyebrow { color: rgba(28, 7, 2, 0.7); }
.club h2 { margin-top: 16px; font-size: clamp(30px, 3.4vw, 52px); }
.club__lead { margin-top: 16px; max-width: 460px; color: rgba(28, 7, 2, 0.78); font-size: 17px; }
.club__card { width: min(340px, 100%); justify-self: center; margin: -32px 0 -40px; }
.club__card img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(60, 0, 20, 0.45)); }
.compare-wrap { margin-top: clamp(28px, 4vw, 48px); padding: clamp(8px, 2vw, 24px) clamp(16px, 3vw, 36px); background: var(--bg); color: var(--text); border-radius: 20px; }
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; padding-left: 0; }
.compare thead th { vertical-align: bottom; }
.compare__plan { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.compare__name { display: block; margin-top: 8px; font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
.compare .is-club { background: rgba(255, 122, 26, 0.08); }
.compare thead .is-club { border-radius: 12px 12px 0 0; }
.compare thead .is-club .compare__plan { color: var(--accent); }
.compare thead .is-club .compare__name { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.compare td > svg { width: 22px; height: 22px; margin: 0 auto; color: var(--teal); }
.compare td.is-club > svg { color: var(--accent); }
.compare td .dash { display: block; width: 14px; height: 2px; margin: 0 auto; background: var(--dim); border-radius: 1px; }
.compare tbody td:first-child { color: var(--muted); }
.compare tfoot td { border-bottom: 0; padding-top: 24px; padding-bottom: 16px; }
.compare col.c-feature { width: 46%; }

/* почему мы: сетка 2x2 */
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid2 li { padding: clamp(28px, 3vw, 40px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid2 .badge { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #fff; }
.grid2 .badge svg { width: 24px; height: 24px; }
.grid2 li:nth-child(1) .badge { background: var(--violet); box-shadow: 0 12px 30px -12px var(--violet); }
.grid2 li:nth-child(2) .badge { background: var(--yellow); color: #2a1d00; box-shadow: 0 12px 30px -12px var(--yellow); }
.grid2 li:nth-child(3) .badge { background: var(--teal); color: #052a24; box-shadow: 0 12px 30px -12px var(--teal); }
.grid2 li:nth-child(4) .badge { background: var(--coral); box-shadow: 0 12px 30px -12px var(--coral); }
.grid2 h3 { margin-top: 24px; font-size: 19px; }
.grid2 p { margin-top: 8px; color: var(--muted); }

/* шаги в строку, по центру */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); text-align: center; }
.trio__num { display: inline-block; font-size: clamp(44px, 4.4vw, 68px); font-weight: 700; line-height: 1; letter-spacing: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trio h3 { margin-top: 20px; font-size: 18px; text-transform: uppercase; letter-spacing: 0.08em; }
.trio p { margin: 10px auto 0; max-width: 300px; color: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); color: var(--accent); }
.faq details p { padding: 0 44px 26px 0; color: var(--muted); }

.contact h2 { margin: 18px auto 0; font-size: clamp(28px, 3vw, 46px); }
.contact p { margin: 16px auto 0; color: var(--muted); }
.contact p a { color: var(--text); border-bottom: 1px solid var(--line-strong); }
.contact .btn { margin-top: 32px; }

/* футер по центру */
.footer { padding: 64px 0 40px; border-top: 1px solid var(--line); text-align: center; font-size: 14px; }
.footer .logo { margin: 0 auto; }
.footer__about { margin: 18px auto 0; max-width: 420px; color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 32px; }
.footer__links a { color: var(--muted); transition: color .2s var(--ease); }
.footer__links a:hover { color: var(--text); }
.footer__bottom { display: grid; justify-items: center; gap: 20px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); color: var(--dim); }

/* место под реквизиты юрлица; legal--placeholder снять, когда впишем реальные данные */
.legal { display: grid; gap: 4px; line-height: 1.5; }
.legal__name { color: var(--muted); }
.legal--placeholder { padding: 12px 16px; border: 1px dashed var(--line-strong); border-radius: 12px; }

.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: .08s; }
.js [data-reveal-delay="2"] { transition-delay: .16s; }
.js [data-reveal-delay="3"] { transition-delay: .24s; }

@media (min-width: 1800px) { :root { --narrow: 1040px; --wide: 1360px; } }

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .header__inner { grid-template-columns: auto 1fr auto; }
  .logo { flex-direction: row; gap: 10px; }
  .logo svg { width: 24px; height: 24px; }
  .header__cta { grid-column: 3; }
  .header__cta .btn { display: none; }
  .menu-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    background: none; border: 1px solid var(--line-strong); border-radius: 12px; color: var(--text); cursor: pointer;
  }
  .menu-toggle svg { width: 20px; height: 20px; }
  .menu-toggle .i-close { display: none; }
  .menu-open .menu-toggle .i-open { display: none; }
  .menu-open .menu-toggle .i-close { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    padding: 8px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 16px 0; font-size: 13px; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 20px; color: var(--accent-ink); border-bottom: 0; }
  .header__inner > .logo { grid-column: 1; grid-row: 1; }
  .facts { grid-template-columns: 1fr; }
  .facts li + li { border-left: 0; border-top: 1px solid var(--line); }
  .row { grid-template-columns: 96px minmax(0, 1fr); gap: 4px 16px; }
  .row p { grid-column: 2; }
  .row__icon { grid-row: span 2; width: 96px; height: 96px; }
  .club__top { grid-template-columns: 1fr; }
  .club__card { order: -1; width: min(260px, 70%); margin: -16px auto -8px; }
  .grid2 { grid-template-columns: 1fr; }
  .trio { grid-template-columns: 1fr; gap: 40px; }
}

@media (min-width: 961px) {
  .nav .btn { display: none; }
}

@media (max-width: 600px) {
  .compare th, .compare td { padding: 14px 6px; font-size: 14px; }
  .compare .btn { height: 40px; padding: 0 12px; font-size: 11px; letter-spacing: 0.08em; }
  .compare .btn svg { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .faq details p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
