/* ============================================================
   Промагролизинг: орбита возможностей — styles
   ============================================================ */

:root {
  --bg:            #05070f;
  --bg-soft:       #0a0f1c;
  --bg-card:       #0e1524;
  --ink:           #eaf0ff;
  --ink-dim:       #9aa8c4;
  --ink-faint:     #6b7896;
  --gold:          #f7d074;
  --gold-deep:     #d9a441;
  --gold-glow:     rgba(247, 208, 116, .35);
  --line:          rgba(255, 255, 255, .10);
  --radius:        18px;
  --radius-sm:     12px;
  --container:     1180px;
  --ease:          cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Starfield ---------- */
.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.stars__layer {
  position: absolute;
  inset: -50%;
  background-repeat: repeat;
}
.stars__layer--1 {
  background-image:
    radial-gradient(1.4px 1.4px at 20% 30%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 70% 12%, #cfe0ff, transparent),
    radial-gradient(1.6px 1.6px at 45% 68%, #fff, transparent),
    radial-gradient(1.1px 1.1px at 88% 55%, #ffe9b0, transparent),
    radial-gradient(1.3px 1.3px at 12% 85%, #fff, transparent);
  background-size: 320px 320px;
  opacity: .55;
  animation: drift 140s linear infinite;
}
.stars__layer--2 {
  background-image:
    radial-gradient(1px 1px at 33% 22%, #fff, transparent),
    radial-gradient(0.9px 0.9px at 63% 78%, #d6e4ff, transparent),
    radial-gradient(1px 1px at 84% 34%, #fff, transparent);
  background-size: 220px 220px;
  opacity: .35;
  animation: drift 90s linear infinite reverse;
}
.stars__layer--3 {
  background-image: radial-gradient(2px 2px at 50% 50%, rgba(247,208,116,.9), transparent);
  background-size: 640px 640px;
  opacity: .45;
  animation: twinkle 7s ease-in-out infinite;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-320px, -320px, 0); }
}
@keyframes twinkle {
  0%, 100% { opacity: .2; }
  50%      { opacity: .65; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 15px 32px;
  border-radius: 100px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  will-change: transform;
}
.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #1a1204;
  box-shadow: 0 10px 34px -12px var(--gold-glow);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -14px rgba(247, 208, 116, .55);
}
.btn--ghost {
  border-color: rgba(255, 255, 255, .28);
  color: var(--ink);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn--block { width: 100%; }
.btn:active { transform: translateY(0); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .35s var(--ease), padding .35s var(--ease),
              border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  padding: 10px 0;
  background: rgba(5, 7, 15, .82);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header__logo img { height: 30px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 600;
}
.nav a { color: var(--ink-dim); transition: color .2s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav__cta {
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav__cta:hover { background: var(--gold); color: #1a1204 !important; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
  z-index: 1;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: heroZoom 24s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1.0); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,7,15,.72) 0%, rgba(5,7,15,.45) 40%, var(--bg) 100%),
    radial-gradient(ellipse at 30% 45%, transparent 0%, rgba(5,7,15,.55) 75%);
}
.hero__inner { position: relative; z-index: 2; max-width: 860px; }

.hero__eyebrow {
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(2.4rem, 6.2vw, 5rem);
  text-transform: uppercase;
  letter-spacing: -.03em;
  margin-bottom: 26px;
}
.hero__title span {
  background: linear-gradient(100deg, var(--gold) 0%, #fff4d0 45%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__meta {
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  color: var(--ink-dim);
  font-weight: 600;
  margin-bottom: 36px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__rocket {
  position: absolute;
  right: 4%;
  top: 50%;
  width: min(320px, 26vw);
  transform: translateY(-50%);
  opacity: .85;
  animation: float 9s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 24px 60px rgba(247, 208, 116, .18));
}
@keyframes float {
  0%, 100% { transform: translateY(-50%) translateX(0) rotate(-2deg); }
  50%      { transform: translateY(-56%) translateX(-10px) rotate(2deg); }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  z-index: 1;
  padding: 110px 0;
}
.section__title {
  font-size: clamp(1.85rem, 3.4vw, 2.9rem);
  margin-bottom: 28px;
}
.section__title--center { text-align: center; }
.section__lead {
  text-align: center;
  color: var(--ink-dim);
  max-width: 620px;
  margin: -12px auto 60px;
  font-size: 1.05rem;
}

/* ---------- About ---------- */
.section--about {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.about {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: center;
}
.about__text p { color: var(--ink-dim); }
.about__accent {
  margin-top: 24px;
  padding-left: 22px;
  border-left: 2px solid var(--gold);
  color: var(--ink) !important;
  font-weight: 600;
}
.about__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
  border: 1px solid var(--line);
}
.about__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.about__img:hover img { transform: scale(1.04); }

/* ---------- Venue ---------- */
.section--venue { background: var(--bg-soft); }
.venue__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}
.venue__photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -40px #000;
}
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(247, 208, 116, .10);
  border: 1px solid rgba(247, 208, 116, .35);
  color: var(--gold);
  font-size: 16px;
}
.feature h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature p { color: var(--ink-dim); font-size: .97rem; margin: 0; }

.route {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 32px 36px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(247, 208, 116, .08), rgba(255,255,255,.02));
  border: 1px solid rgba(247, 208, 116, .22);
}
.route__info h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--gold); }
.route__info p { color: var(--ink-dim); font-size: .97rem; margin: 0; }
.route__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Countdown ---------- */
.section--countdown {
  padding: 130px 0;
  text-align: center;
  overflow: hidden;
}
.countdown__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .55;
}
.countdown__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 55%, rgba(5,7,15,.35) 0%, rgba(5,7,15,.9) 70%),
    linear-gradient(180deg, var(--bg-soft) 0%, transparent 18%, transparent 82%, var(--bg) 100%);
}
.countdown__inner { position: relative; z-index: 2; }
.countdown__eyebrow {
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 18px;
}
.countdown__title {
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  margin-bottom: 48px;
}
.timer {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 2.4vw, 26px);
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.timer__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: clamp(78px, 13vw, 132px);
  padding: 22px 12px;
  border-radius: var(--radius-sm);
  background: rgba(10, 15, 28, .55);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.timer__num {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.timer__label {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 700;
}

/* ---------- Program ---------- */
.section--program { background: var(--bg); }
.timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 820px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 92px;
  top: 12px; bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(247,208,116,.05));
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 34px;
  padding: 0 0 38px;
}
.timeline__item::before {
  content: '';
  position: absolute;
  left: 88px;
  top: 9px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(247, 208, 116, .14), 0 0 18px var(--gold);
}
.timeline__time {
  font-weight: 800;
  color: var(--gold);
  font-size: 1rem;
  padding-top: 2px;
  letter-spacing: .01em;
}
.timeline__body h3 { font-size: 1.12rem; margin-bottom: 6px; }
.timeline__body p { color: var(--ink-dim); font-size: .96rem; margin: 0; }
.program__note {
  text-align: center;
  color: var(--ink-faint);
  font-size: .88rem;
  margin-top: 12px;
}

/* ---------- Register ---------- */
.section--register {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.register {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.register__intro { position: sticky; top: 110px; }
.register__intro p { color: var(--ink-dim); }
.register__list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.register__list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-size: .97rem;
}
.register__list li::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: 16px; height: 9px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.form {
  padding: 38px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: 0 40px 100px -50px #000;
}
.form__row { margin-bottom: 20px; }
.field { display: block; }
.field--group {
  border: 0;
  padding: 0;
  margin: 0 0 22px;
}
.field__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 10px;
}
.field input[type="text"],
.field input[type="email"] {
  width: 100%;
  padding: 15px 18px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder { color: var(--ink-faint); }
.field input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 0 0 3px rgba(247, 208, 116, .14);
}
.field input.is-invalid { border-color: #e8635e; }

.field__error {
  display: block;
  min-height: 18px;
  font-size: 13px;
  color: #ff8a84;
  margin-top: 6px;
}

.radio-row { display: flex; gap: 22px; flex-wrap: wrap; }
.radio, .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: .95rem;
  color: var(--ink-dim);
  line-height: 1.5;
}
.checkbox--consent { margin-bottom: 6px; }
.radio input, .checkbox input {
  appearance: none;
  flex: 0 0 auto;
  width: 20px; height: 20px;
  margin: 1px 0 0;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
  position: relative;
}
.radio input { border-radius: 50%; }
.checkbox input { border-radius: 6px; }
.radio input:checked, .checkbox input:checked {
  border-color: var(--gold);
  background: var(--gold);
}
.radio input:checked::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #1a1204;
}
.checkbox input:checked::after {
  content: '';
  position: absolute;
  left: 6px; top: 2px;
  width: 5px; height: 10px;
  border-right: 2px solid #1a1204;
  border-bottom: 2px solid #1a1204;
  transform: rotate(40deg);
}
.radio:hover input, .checkbox:hover input { border-color: var(--gold); }
.radio input:focus-visible, .checkbox input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.link { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: #fff0c4; }

.form .btn--block { margin-top: 22px; }
.form__success {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(94, 214, 143, .10);
  border: 1px solid rgba(94, 214, 143, .35);
  color: #8ff0b8;
  font-size: .95rem;
  text-align: center;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  background: #03050b;
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
}
.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
}
.footer__logo { height: 26px; width: auto; opacity: .9; }
.footer__contact p { color: var(--ink-dim); font-size: .95rem; margin-bottom: 8px; }
.footer__tg {
  color: var(--gold);
  font-weight: 700;
  font-size: .95rem;
  border-bottom: 1px solid rgba(247, 208, 116, .4);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.footer__tg:hover { color: #fff0c4; border-color: #fff0c4; }
.footer__legal { text-align: right; }
.footer__legal a {
  color: var(--ink-faint);
  font-size: .85rem;
  display: block;
  margin-bottom: 8px;
  transition: color .2s var(--ease);
}
.footer__legal a:hover { color: var(--ink-dim); }
.footer__legal p { color: var(--ink-faint); font-size: .82rem; margin: 0; }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 11, .8);
  backdrop-filter: blur(6px);
}
.modal__box {
  position: relative;
  width: min(640px, 100%);
  max-height: 84vh;
  overflow: auto;
  padding: 36px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: 0 50px 120px -40px #000;
  animation: modalIn .3s var(--ease);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.modal__box h2 { font-size: 1.35rem; margin-bottom: 20px; }
.modal__content p { color: var(--ink-dim); font-size: .95rem; }
.modal__close {
  position: absolute;
  top: 14px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .05);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.modal__close:hover { background: rgba(255, 255, 255, .1); border-color: var(--gold); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about, .venue__grid, .register { grid-template-columns: 1fr; gap: 40px; }
  .register__intro { position: static; }
  .about__img { order: -1; }
  .hero__rocket { width: 210px; right: -30px; opacity: .5; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; text-align: left; }
  .footer__legal { text-align: left; }
  .route { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 820px) {
  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 84vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px;
    background: rgba(8, 12, 22, .97);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform .38s var(--ease);
    font-size: 18px;
  }
  .nav.is-open { transform: translateX(0); }
  .burger { display: flex; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .hero { min-height: auto; padding: 120px 0 72px; }
  .hero__rocket { display: none; }
  .form { padding: 26px 20px; }
  .form__row, .field--group { margin-bottom: 16px; }
  .section__lead { margin-bottom: 40px; }

  .timeline::before { left: 4px; }
  .timeline__item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 26px;
  }
  .timeline__item::before { left: 0; }
  .timer { gap: 8px; }
  .timer__cell { min-width: 72px; padding: 16px 8px; }
  .timer__label { font-size: 10px; letter-spacing: .1em; }
  .route { padding: 24px 22px; }
  .route__actions { width: 100%; }
  .route__actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}


/* ---------- Отправка формы ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__fail {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 138, 132, .10);
  border: 1px solid rgba(255, 138, 132, .40);
  color: #ff8a84;
  font-size: .95rem;
  text-align: center;
}
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
