/* ============ Эталон Директ — премиальный лендинг ============ */
:root {
  --bg-1: #0D1220;
  --bg-2: #131A2C;
  --bg-3: #0A0E19;
  --gold: #D4B26A;
  --gold-light: #E2C684;
  --text: #EDEFF5;
  --muted: #A8ADBD;
  --line: rgba(212, 178, 106, 0.28);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-1);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

em { font-style: normal; color: var(--gold-light); }

/* ============ Кнопки ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  padding: 14px 26px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--gold {
  background: linear-gradient(135deg, #DDBC77 0%, #C9A85C 100%);
  color: #171207;
}

.btn--gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(212, 178, 106, 0.35);
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pill-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(212, 178, 106, 0.4);
}

/* ============ Header ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 18, 32, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 178, 106, 0.15);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}

.logo { flex-shrink: 0; }

.header__brand-text { display: flex; flex-direction: column; min-width: 0; }

.header__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold-light);
  white-space: nowrap;
}

.header__descriptor {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.35;
  max-width: 235px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header__phone {
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.header__phone:hover { color: var(--gold-light); }

.header__cta { padding: 11px 20px; font-size: 14px; }

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.header__burger span {
  width: 24px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: 0.2s;
}

.header__mobile {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 18px 32px 24px;
  border-top: 1px solid rgba(212, 178, 106, 0.15);
}

.header__mobile-row { display: flex; gap: 12px; }

.header__mobile.is-open { display: flex; }

/* ============ Экраны — общее ============ */
.screen { position: relative; overflow: hidden; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 17px;
  margin: 14px auto 0;
  max-width: 560px;
}

/* ============ Экран 1 ============ */
.screen-1 {
  background: var(--bg-1);
  padding: 148px 0 72px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.glow--gold {
  width: 480px; height: 480px;
  background: rgba(212, 178, 106, 0.13);
  top: -120px; right: 8%;
}

.glow--indigo {
  width: 560px; height: 560px;
  background: rgba(76, 92, 168, 0.22);
  bottom: -180px; left: -100px;
}

.screen-1__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

.badge {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 660px;
  text-wrap: balance;
}

.hero__descriptor {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 560px;
}

/* Форма в герое — главный акцент */
.lead-form--hero {
  background: rgba(19, 26, 44, 0.7);
  border: 1px solid rgba(212, 178, 106, 0.45);
  box-shadow: 0 0 40px rgba(212, 178, 106, 0.08);
  padding: 22px 24px;
  max-width: 600px;
  margin-bottom: 36px;
}

.lead-form--hero .lead-form__note { text-align: left; }

.hero__bullets {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 640px;
}

.hero__bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.bullet-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(212, 178, 106, 0.05);
}

.bullet-icon svg { width: 22px; height: 22px; }

/* Фото эксперта */
.hero__photo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.hero__photo-glow {
  position: absolute;
  inset: 6% 4% 10% 4%;
  background: radial-gradient(ellipse at 50% 40%, rgba(212, 178, 106, 0.28) 0%, rgba(76, 92, 168, 0.18) 55%, transparent 75%);
  filter: blur(36px);
  border-radius: 50%;
}

.hero__scene {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
}

.hero__scene-card {
  position: absolute;
  left: 0;
  right: 0;
  top: 20%;
  bottom: 0;
  border-radius: 28px;
  background:
    linear-gradient(165deg, rgba(212, 178, 106, 0.18) 0%, rgba(76, 92, 168, 0.20) 48%, rgba(19, 26, 44, 0.55) 100%);
  border: 1px solid rgba(212, 178, 106, 0.32);
  box-shadow: inset 0 1px 0 rgba(226, 198, 132, 0.25), 0 24px 56px rgba(0, 0, 0, 0.45);
}

.hero__scene-ring {
  position: absolute;
  top: 4%;
  right: -12%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(212, 178, 106, 0.45);
  z-index: 1;
}

.hero__scene-ring::after {
  content: '';
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(212, 178, 106, 0.22);
}

.hero__scene-dots {
  position: absolute;
  left: 6%;
  bottom: 8%;
  width: 110px;
  height: 130px;
  background-image: radial-gradient(rgba(226, 198, 132, 0.5) 1.2px, transparent 1.3px);
  background-size: 14px 14px;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to top, #000 30%, transparent 100%);
  mask-image: linear-gradient(to top, #000 30%, transparent 100%);
}

.hero__scene img {
  position: relative;
  z-index: 2;
  width: 86%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.hero__photo-plaque {
  position: relative;
  margin-top: -34px;
  z-index: 2;
  background: rgba(13, 18, 32, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  color: var(--gold-light);
  max-width: 340px;
}

/* ============ Форма захвата ============ */
.lead-form {
  background: rgba(19, 26, 44, 0.75);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lead-form__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.lead-form__input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: rgba(13, 18, 32, 0.8);
  border: 1px solid rgba(168, 173, 189, 0.3);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s;
}

.lead-form__input::placeholder { color: rgba(168, 173, 189, 0.6); }

.lead-form__input:focus { border-color: var(--gold); }

.lead-form__note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.lead-form--center {
  max-width: 640px;
  margin: 56px auto 0;
  text-align: center;
  align-items: center;
}

.lead-form__row {
  display: flex;
  gap: 12px;
  width: 100%;
}

.lead-form__row .lead-form__input { flex: 1; }

.lead-form__row .lead-form__submit { flex-shrink: 0; }

.lead-form--footer {
  background: none;
  border: none;
  padding: 0;
  max-width: 520px;
  flex: 1;
}

.lead-form.is-sent .lead-form__input,
.lead-form.is-sent .lead-form__submit,
.lead-form.is-sent .lead-form__row { display: none; }

.lead-form__success {
  display: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--gold-light);
  padding: 10px 0;
}

.lead-form.is-sent .lead-form__success { display: block; }

/* ============ Экран 2 ============ */
.screen-2 {
  background: var(--bg-2);
  padding: 96px 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.step-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  background: rgba(13, 18, 32, 0.45);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 178, 106, 0.55);
}

.step-card__num {
  position: absolute;
  top: 24px; right: 28px;
  font-family: var(--font-display);
  font-size: 15px;
  color: rgba(212, 178, 106, 0.5);
  letter-spacing: 0.1em;
}

.step-card__icon {
  display: inline-flex;
  width: 56px; height: 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(212, 178, 106, 0.06);
  margin-bottom: 20px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* Плашка цифр */
.numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  border-top: 1px solid rgba(212, 178, 106, 0.2);
  border-bottom: 1px solid rgba(212, 178, 106, 0.2);
  padding: 36px 0;
}

.numbers__item {
  text-align: center;
  padding: 0 24px;
}

.numbers__item + .numbers__item {
  border-left: 1px solid rgba(212, 178, 106, 0.2);
}

.numbers__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 3.4vw, 46px);
  color: var(--gold-light);
  line-height: 1.15;
  white-space: nowrap;
}

.numbers__label {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

/* ============ Экран 3 ============ */
.screen-3 {
  background: var(--bg-3);
  padding: 96px 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 44px auto 0;
  max-width: 900px;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  background: rgba(212, 178, 106, 0.05);
  transition: border-color 0.2s, color 0.2s;
}

.chip:hover { border-color: var(--gold); color: var(--gold-light); }

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.trust__item {
  text-align: center;
  padding: 32px 24px;
  border: 1px solid rgba(212, 178, 106, 0.18);
  border-radius: 16px;
  background: rgba(19, 26, 44, 0.35);
}

.trust__icon {
  display: inline-flex;
  width: 56px; height: 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(212, 178, 106, 0.06);
  margin-bottom: 18px;
}

.trust__item h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
}

.trust__item p {
  font-size: 14.5px;
  color: var(--muted);
}

.final-cta { margin-top: 72px; }

.final-cta__text {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.final-cta .lead-form--center { margin-top: 36px; }

/* ============ Footer ============ */
.footer {
  background: var(--bg-3);
  border-top: 1px solid var(--gold);
  padding: 48px 0 32px;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer__contacts {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(168, 173, 189, 0.15);
  font-size: 13px;
  color: var(--muted);
}

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

.footer__legal a:hover { color: var(--gold-light); }

/* ============ Адаптивность ============ */
@media (max-width: 1100px) {
  .header__descriptor { display: none; }

  .screen-1__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
  }

  .hero__bullets { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 860px) {
  .header__phone, .header__cta, .header__actions .pill-btn { display: none; }
  .header__actions { gap: 0; }
  .header__burger { display: flex; }

  .screen-1 { padding-top: 108px; min-height: 0; }

  .screen-1__grid { grid-template-columns: 1fr; gap: 40px; }

  .hero__text { grid-column: 1; text-align: center; }
  .hero__descriptor { margin-left: auto; margin-right: auto; }
  .lead-form--hero { margin-left: auto; margin-right: auto; }
  .lead-form--hero .lead-form__note { text-align: center; }
  .hero__bullets { max-width: 420px; margin: 0 auto; text-align: left; }
  .hero__photo { grid-column: 1; grid-row: auto; }

  .steps, .trust { grid-template-columns: 1fr; }

  .numbers { grid-template-columns: 1fr; gap: 28px; padding: 32px 0; }

  .numbers__item + .numbers__item {
    border-left: none;
    border-top: 1px solid rgba(212, 178, 106, 0.2);
    padding-top: 28px;
  }

  .lead-form__row { flex-direction: column; }

  .screen-2, .screen-3 { padding: 64px 0; }

  .footer__top { flex-direction: column; align-items: stretch; }
  .footer__contacts { justify-content: center; }
  .footer__contacts .header__phone { display: inline; }
  .lead-form--footer { max-width: none; }
  .footer__legal { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero__title { font-size: 26px; }
  .badge { font-size: 12px; }
}
