/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #F7F7F7;
  --white: #ffffff;
  --text: #111111;
  --muted: #6B7280;
  --accent: #FFC928;
  --accent-dark: #E6B11E;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 40px rgba(17,17,17,.06);
  --shadow-hover: 0 20px 60px rgba(17,17,17,.12);
  --ease: cubic-bezier(.22,1,.36,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Fluid typography — Apple-style */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247,247,247,.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(17,17,17,.06);
  transition: all .3s var(--ease);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.logo {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo__dot {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.logo__accent { color: var(--accent-dark); }

.nav__list {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav__list a {
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
  transition: color .2s;
}
.nav__list a:hover { color: var(--text); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 8px 0;
  z-index: 101;
}
.burger span {
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: all .3s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--text);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--accent);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255,201,40,.4);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(17,17,17,.15);
}
.btn--ghost:hover { border-color: var(--text); }
.btn--small { padding: 10px 20px; font-size: 14px; }
.btn--full { width: 100%; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 60px;
}
.hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(247,247,247,.95) 0%, rgba(247,247,247,.65) 50%, rgba(247,247,247,.2) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__title {
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 800;
  letter-spacing: -.04em;
}
.text-accent { color: var(--accent-dark); }
.hero__subtitle {
  margin-top: 24px;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--muted);
  max-width: 500px;
}
.hero__card {
  background: var(--accent);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 30px 80px rgba(255,201,40,.35);
}
.hero__card-label {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.hero__card-text {
  font-size: 17px;
  color: rgba(17,17,17,.8);
  margin-bottom: 32px;
  line-height: 1.5;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__actions .btn { background: var(--text); color: var(--white); }
.hero__actions .btn:hover { background: var(--white); color: var(--text); }
.hero__actions .btn--ghost { background: transparent; color: var(--text); border-color: rgba(17,17,17,.2); }

/* ============ SECTIONS ============ */
.section { padding: 120px 0; }
.section--light { background: var(--white); }
.section__title {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -.03em;
  margin-bottom: 16px;
  max-width: 900px;
}
.section__subtitle {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 60px;
  max-width: 600px;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: .02em;
}

/* ============ GRIDS ============ */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ============ CARDS ============ */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  transition: all .4s var(--ease);
  border: 1px solid rgba(17,17,17,.04);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.card__icon {
  width: 56px; height: 56px;
  background: var(--accent);
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 28px;
  margin-bottom: 20px;
}
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

.card--dark {
  background: var(--text);
  color: var(--white);
}
.card--dark p { color: rgba(255,255,255,.7); }
.card--dark:hover { box-shadow: 0 20px 60px rgba(17,17,17,.4); }

.card--minimal {
  background: transparent;
  border: 1px solid rgba(17,17,17,.1);
  padding: 28px;
}
.card__number {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-dark);
  margin-bottom: 12px;
  letter-spacing: -.02em;
}

/* ============ APPROACH ============ */
.approach { padding: 120px 0; background: var(--white); }
.approach__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.approach__image img {
  border-radius: var(--radius);
  aspect-ratio: 4/5;
  object-fit: cover;
}
.approach__content h2 {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.approach__content p { font-size: 18px; color: var(--muted); }

/* ============ BONUSES ============ */
.bonus {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  transition: all .4s var(--ease);
  border: 1px solid rgba(17,17,17,.04);
  position: relative;
  overflow: hidden;
}
.bonus::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .4s var(--ease);
}
.bonus:hover::before { transform: scaleY(1); transform-origin: top; }
.bonus:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.bonus__amount {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--accent-dark);
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.bonus h3 { font-size: 20px; margin-bottom: 8px; }
.bonus p { color: var(--muted); }

/* ============ STEPS ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  padding: 32px;
  background: var(--bg);
  border-radius: var(--radius);
  transition: all .4s var(--ease);
}
.step:hover { background: var(--white); box-shadow: var(--shadow); transform: translateY(-4px); }
.step span {
  display: block;
  font-size: 48px;
  font-weight: 800;
  color: var(--accent-dark);
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ============ FAQ ============ */
.faq { max-width: 880px; }
.faq__item {
  border-bottom: 1px solid rgba(17,17,17,.1);
}
.faq__question {
  width: 100%;
  text-align: left;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 19px;
  font-weight: 600;
  transition: color .3s;
}
.faq__question:hover { color: var(--accent-dark); }
.faq__icon {
  font-size: 28px;
  font-weight: 300;
  transition: transform .4s var(--ease);
  flex-shrink: 0;
}
.faq__item.open .faq__icon { transform: rotate(45deg); }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease), padding .3s;
}
.faq__answer p {
  padding: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

/* ============ CONTACTS ============ */
.contacts {
  padding: 120px 0;
  background: var(--text);
  color: var(--white);
}
.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contacts__info h2 {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.contacts__info > p { color: rgba(255,255,255,.7); margin-bottom: 40px; font-size: 18px; }
.contacts__list { display: flex; flex-direction: column; gap: 16px; }
.contacts__item {
  display: block;
  padding: 24px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  transition: all .3s var(--ease);
}
.contacts__item:hover { background: rgba(255,255,255,.1); border-color: var(--accent); }
.contacts__label { display: block; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.contacts__value { font-size: 22px; font-weight: 600; }

.form {
  background: rgba(255,255,255,.05);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.1);
}
.form__group { margin-bottom: 20px; }
.form label {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.7);
  margin-bottom: 8px;
}
.form input {
  width: 100%;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05);
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
  transition: all .3s;
}
.form input::placeholder { color: rgba(255,255,255,.4); }
.form input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,.08);
}
.form .btn--primary { background: var(--accent); color: var(--text); margin-top: 10px; }
.form .btn--primary:hover { background: var(--white); }
.form__note { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 16px; text-align: center; }

/* ============ FOOTER ============ */
.footer {
  padding: 40px 0;
  background: var(--text);
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer .logo { color: var(--white); }
.footer__copy { color: rgba(255,255,255,.5); font-size: 14px; }

/* ============ TO TOP ============ */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 50px; height: 50px;
  background: var(--accent);
  color: var(--text);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(255,201,40,.4);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all .3s var(--ease);
  z-index: 99;
}
.to-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.to-top:hover { background: var(--text); color: var(--accent); }

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero__content { grid-template-columns: 1fr; gap: 40px; }
  .approach__grid { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contacts__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header__cta { display: none; }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    z-index: 100;
  }
  .nav.open { opacity: 1; pointer-events: all; }
  .nav__list {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .nav__list a { font-size: 24px; }
  .burger { display: flex; }

  .section { padding: 80px 0; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__card { padding: 28px; }
  .form { padding: 28px; }
}

@media (max-width: 425px) {
  .container { padding: 0 20px; }
  .grid--4 { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .faq__question { font-size: 16px; padding: 20px 0; }
  .footer__inner { flex-direction: column; text-align: center; }
}
/* ============ МОБИЛЬНОЕ МЕНЮ: ПОЛНЫЙ ЭКРАН ============ */
.nav.open {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(17, 17, 17, 0.98) !important;
  z-index: 998 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.nav.open .nav__list {
  display: flex !important;
  flex-direction: column !important;
  gap: 28px !important;
  text-align: center !important;
  margin: 0 !important;
  padding: 0 !important;
}
.nav.open .nav__list a {
  color: #fff !important;
  font-size: 20px !important;
}
.header {
  z-index: 1000 !important;
}
.burger {
  z-index: 1001 !important;
}
.burger.open span {
  background: #fff !important;
}