:root {
  --bg: #0a0a0a;
  --bg-alt: #111111;
  --card: #151515;
  --line: #262626;
  --line-strong: #333333;
  --text: #f2f2f2;
  --muted: #8a8a8a;
  --acid: #ccff00;      /* кислотный лайм — основной акцент */
  --acid-dim: #a6cf00;
  --bad: #ff5c5c;
  --radius: 14px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { width: min(1120px, 92%); margin: 0 auto; }
a { color: inherit; text-decoration: none; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { font-weight: 700; font-size: 22px; letter-spacing: -0.5px; }
.logo span { color: var(--acid); }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav__links a:hover { color: var(--text); }

/* Переключатель языков */
.lang { display: inline-flex; gap: 2px; border: 1px solid var(--line); border-radius: 8px; padding: 2px; }
.lang__btn { background: none; border: none; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; padding: 5px 9px; border-radius: 6px; cursor: pointer; transition: color .2s, background .2s; }
.lang__btn:hover { color: var(--text); }
.lang__btn.is-active { background: var(--acid); color: #0a0a0a; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 10px;
  background: var(--acid); color: #0a0a0a; font-weight: 700; border: none; cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s; font-size: 15px; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(204, 255, 0, .6); background: #d9ff33; }
.btn:disabled { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--sm { padding: 9px 18px; font-size: 14px; border-radius: 8px; }
.btn--ghost { background: transparent; border: 1px solid var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--acid); box-shadow: none; background: transparent; color: var(--acid); }

/* Hero */
.hero { padding: 100px 0 80px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -40% 0 auto 0; height: 500px;
  background: radial-gradient(600px 300px at 50% 0, rgba(204,255,0,.10), transparent 70%);
  pointer-events: none;
}
.hero__eyebrow { color: var(--acid); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; margin-bottom: 18px; }
.hero__title { font-size: clamp(38px, 6vw, 70px); line-height: 1.03; font-weight: 700; letter-spacing: -2px; }
.grad { color: var(--acid); }
.hero__sub { color: var(--muted); font-size: 19px; max-width: 620px; margin: 24px auto 34px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 44px; justify-content: center; flex-wrap: wrap; margin-top: 64px; }
.stat { text-align: center; }
.stat b { display: block; font-size: 40px; font-weight: 700; letter-spacing: -1px; color: var(--acid); }
.stat span { color: var(--muted); font-size: 14px; }

/* Sections */
.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__title { font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: -1.2px; text-align: center; }
.section__lead { text-align: center; color: var(--muted); margin-top: 12px; font-size: 17px; max-width: 620px; margin-inline: auto; }

/* Services — горизонтальные строки */
.svc-list { display: grid; gap: 14px; margin-top: 48px; }
.svc-row { display: flex; align-items: center; gap: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 28px; transition: transform .2s var(--ease-out), border-color .2s; }
.svc-row:hover { transform: translateX(5px); border-color: var(--acid); }
.svc-row__ico { width: 58px; height: 58px; object-fit: contain; flex: none; }
.svc-row__body h3 { font-size: 19px; font-weight: 600; margin-bottom: 5px; }
.svc-row__body p { color: var(--muted); font-size: 15px; max-width: 74ch; }
@media (max-width: 560px) {
  .svc-row { gap: 16px; padding: 18px 20px; }
  .svc-row__ico { width: 46px; height: 46px; }
}

/* Headlines (плохо/хорошо) */
.hl { display: grid; gap: 16px; margin-top: 48px; }
.hl__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hl__cell { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.hl__cell--bad { border-left: 3px solid var(--bad); }
.hl__cell--good { border-left: 3px solid var(--acid); }
.hl__cell p { font-size: 17px; line-height: 1.45; }
.hl__cell--bad p { color: var(--muted); }
.hl__tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 12px; }
.hl__tag--bad { color: var(--bad); }
.hl__tag--good { color: var(--acid); }

/* CTA band (плашка-зазывалка) */
.ctaband { background: var(--acid); color: #0a0a0a; padding: 56px 0; }
.ctaband__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.ctaband__text h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.ctaband__text p { font-size: 16px; margin-top: 14px; color: #1a1a1a; max-width: 480px; }
.ctaband__chan { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.chan { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 10px; background: #0a0a0a; color: var(--acid); font-weight: 600; font-size: 14px; transition: transform .15s, opacity .2s; }
.chan:hover { transform: translateY(-2px); opacity: .9; }
.ctaband__form { display: grid; gap: 12px; background: #0a0a0a; padding: 26px; border-radius: 16px; }
.ctaband__form select, .ctaband__form input {
  background: #151515; border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 14px 16px; color: var(--text); font: inherit; font-size: 15px; width: 100%;
}
.ctaband__form select:focus, .ctaband__form input:focus { outline: none; border-color: var(--acid); }
.btn--dark { background: var(--acid); color: #0a0a0a; }
.ctaband .form-msg.ok { color: var(--acid); }
.ctaband .form-msg.err { color: #ff8080; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-top: 48px; align-items: start; }
.calc__form { display: grid; gap: 22px; }
.calc__group { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 22px 24px; }
.calc__group legend { padding: 0 8px; font-weight: 600; font-size: 15px; color: var(--muted); }
.opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; margin-top: 10px; transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--line-strong); }
.opt input { accent-color: var(--acid); width: 18px; height: 18px; flex: none; }
.opt span { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%; font-size: 15px; }
.opt em { color: var(--acid); font-style: normal; font-weight: 600; font-size: 14px; white-space: nowrap; }
.opt:has(input:checked) { border-color: var(--acid); background: rgba(204,255,0,.06); }
.calc__result { position: sticky; top: 84px; background: var(--card); border: 1px solid var(--acid); border-radius: var(--radius); padding: 30px 28px; text-align: center; }
.calc__label { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.calc__total { font-size: 46px; font-weight: 700; letter-spacing: -1.5px; margin: 8px 0 4px; color: var(--acid); }
.calc__hint { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.calc__btn { width: 100%; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 48px; max-width: 720px; margin-inline: auto; }
.member { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; text-align: center; }
.member__avatar { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; font-size: 26px; font-weight: 700; color: #0a0a0a; background: var(--acid); }
.member h3 { font-size: 20px; font-weight: 600; }
.member p { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* Booking */
.booking { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; align-items: start; }
.booking__step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.booking__step:last-child { grid-column: 1 / -1; }
.step__label { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 17px; margin-bottom: 20px; }
.step__num { width: 28px; height: 28px; border-radius: 50%; background: var(--acid); color: #0a0a0a; display: grid; place-items: center; font-size: 14px; font-weight: 700; }

.services { display: grid; gap: 12px; }
.service {
  text-align: left; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 18px; cursor: pointer; transition: border-color .2s, background .2s; color: inherit; font: inherit;
}
.service:hover { border-color: var(--line-strong); }
.service.is-active { border-color: var(--acid); background: rgba(204,255,0,.07); }
.service__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.service__title { font-weight: 600; }
.service__price { color: var(--acid); font-weight: 600; font-size: 14px; white-space: nowrap; }
.service__desc { color: var(--muted); font-size: 13px; margin-top: 4px; }
.service__dur { color: var(--muted); font-size: 12px; margin-top: 6px; }

.slots { max-height: 420px; overflow-y: auto; padding-right: 4px; }
.day { margin-bottom: 18px; }
.day__label { font-weight: 600; font-size: 14px; margin-bottom: 10px; text-transform: capitalize; color: var(--text); }
.day__slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot {
  padding: 9px 14px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--bg-alt); color: var(--text); cursor: pointer; font: inherit; font-size: 14px;
  transition: border-color .15s, background .15s;
}
.slot:hover:not(:disabled) { border-color: var(--acid); }
.slot.is-active { background: var(--acid); border-color: var(--acid); color: #0a0a0a; font-weight: 600; }
.slot:disabled { opacity: .3; cursor: not-allowed; text-decoration: line-through; }

.bform { display: grid; gap: 14px; max-width: 460px; }
.bform input, .pform input, .pform textarea {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; color: var(--text); font: inherit; font-size: 15px; width: 100%;
}
.bform input:focus, .pform input:focus, .pform textarea:focus { outline: none; border-color: var(--acid); }
.pform textarea { resize: vertical; }
.chosen { padding: 12px 16px; border-radius: 10px; background: var(--bg-alt); border: 1px dashed var(--line); font-size: 14px; }
.chosen.is-set { border-style: solid; border-color: var(--acid); color: var(--text); }
.form-msg { font-size: 14px; min-height: 20px; }
.form-msg.ok { color: var(--acid); }
.form-msg.err { color: var(--bad); }

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

/* Modal / popup */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(4px); }
.modal__card {
  position: relative; z-index: 1; width: min(460px, 100%);
  background: var(--card); border: 1px solid var(--line-strong); border-radius: 18px;
  padding: 38px 34px 34px; animation: pop .22s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 14px; right: 16px; background: none; border: none; color: var(--muted); font-size: 28px; line-height: 1; cursor: pointer; transition: color .2s; }
.modal__close:hover { color: var(--text); }
.modal__eyebrow { color: var(--acid); font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.modal__title { font-size: 25px; font-weight: 700; letter-spacing: -0.8px; line-height: 1.15; }
.modal__sub { color: var(--muted); font-size: 15px; margin: 12px 0 22px; }
.pform { display: grid; gap: 12px; }
.pform .btn { margin-top: 4px; }

/* Footer */
.footer { padding: 34px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Бургер */
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s var(--ease-out), opacity .2s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Блок «Как мы работаем» */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-top: 48px; }
.step-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: transform .2s, border-color .2s; }
.step-card:hover { transform: translateY(-4px); border-color: var(--acid); }
.step-card__num { font-size: 14px; font-weight: 700; color: var(--acid); letter-spacing: 1px; }
.step-card h3 { font-size: 17px; font-weight: 600; margin: 12px 0 8px; }
.step-card p { color: var(--muted); font-size: 14px; }

/* FAQ */
.container--narrow { width: min(760px, 92%); }
.faq { margin-top: 40px; display: grid; gap: 12px; }
.faq__item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; transition: border-color .2s; }
.faq__item[open] { border-color: var(--line-strong); }
.faq__item summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; color: var(--acid); font-size: 24px; font-weight: 400; line-height: 1; transition: transform .2s var(--ease-out); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--muted); font-size: 15px; padding: 0 0 20px; margin: 0; max-width: 620px; }

/* Telegram партнёров */
.member__tg { display: inline-block; margin-top: 10px; color: var(--acid); font-size: 13px; font-weight: 600; }
.member__tg:hover { text-decoration: underline; }

/* ============ ПРЕМИУМ-ДЕТАЛИ ============ */

/* Контент над ambient-прожектором */
.hero, .section, .ctaband, .marquee, .footer { position: relative; z-index: 1; }

/* Film grain — тонкая зернистость поверх всего, даёт «дорогую» текстуру */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Прожектор за курсором — очень тонкий ambient-свет на фоне */
#cursor-glow {
  position: fixed; top: 0; left: 0; width: 520px; height: 520px; border-radius: 50%;
  margin: -260px 0 0 -260px; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(204,255,0,.09), transparent 62%);
  transform: translate3d(-999px, -999px, 0); transition: opacity .4s ease; opacity: 0;
}

/* Реакция на нажатие — интерфейс «слышит» клик */
.btn:active { transform: scale(0.97); }
.chan:active { transform: scale(0.97); }

/* Nav: тень появляется при скролле */
.nav { transition: box-shadow .3s ease, background .3s ease; }
.nav.is-scrolled { box-shadow: 0 8px 30px -12px rgba(0,0,0,.8); background: rgba(10,10,10,.9); }

/* Появление при скролле (stagger задаётся через inline-delay из JS) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Прожектор внутри карточек — следует за курсором */
.svc-row, .calc__group, .hl__cell, .member { position: relative; }
.svc-row::before, .calc__group::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(204,255,0,.10), transparent 45%);
}
.svc-row:hover::before, .calc__group:hover::before { opacity: 1; }

/* Живой градиент на акцентном слове hero */
.grad {
  background: linear-gradient(100deg, var(--acid), #eaffb0, var(--acid));
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

/* Бегущая строка ниш */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; gap: 44px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 44px; color: var(--muted); font-size: 15px; font-weight: 500; letter-spacing: .3px; white-space: nowrap; text-transform: uppercase; }
.marquee__item::after { content: '✦'; color: var(--acid); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .grad { animation: none; }
  .marquee__track { animation: none; }
  #cursor-glow { display: none; }
}
@media (hover: none) {
  #cursor-glow { display: none; }
  .svc-row::before, .calc__group::before { display: none; }
}

@media (max-width: 820px) {
  .calc { grid-template-columns: 1fr; }
  .calc__result { position: static; }
  .ctaband__inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .nav__burger { display: flex; }
  .nav__links {
    position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 18px;
    background: rgba(10, 10, 10, .98); border-bottom: 1px solid var(--line);
    padding: 22px 6% 26px;
    transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .booking { grid-template-columns: 1fr; }
  .hl__row { grid-template-columns: 1fr; }
  .hero__stats { gap: 28px; }
}
