/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --bg:        #0A0A0A;
  --bg-2:      #111111;
  --bg-card:   #161616;
  --border:    #2A2A2A;
  --border-accent: #C8A96E40;
  --gold:      #C8A96E;
  --gold-dim:  #A8894E;
  --text:      #F0EDE8;
  --text-muted:#8A8480;
  --text-dim:  #4A4540;

  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius: 4px;
  --max-w: 1000px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  overflow-x: hidden;
}

.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   TYPOGRAPHY ATOMS
   ============================================================ */
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.5vw, 52px);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 48px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.accent {
  color: var(--gold);
  font-style: normal;
  letter-spacing: 0.02em;
}

/* ============================================================
   BUTTON
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: #0A0A0A;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  padding: 16px 36px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn-primary:hover {
  background: #DBC07E;
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-full {
  width: 100%;
  text-align: center;
}

.hero-logo {
  height: 52px;
  width: auto;
  display: block;
  margin-bottom: 32px;
  filter: brightness(0) invert(1);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 64px 0 80px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, #C8A96E0A 0%, transparent 70%);
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  padding: 15px 36px;
  border-radius: var(--radius);
  border: 1px solid #4A4540;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}

.hero-sub-channel {
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
}

.hero-sub-deadline {
  color: var(--text);
  font-weight: 600;
}

.hero-note {
  white-space: normal;
  word-break: break-word;
}

.btn-secondary:hover {
  background: #C8A96E12;
  transform: translateY(-1px);
  text-decoration: none;
}

.channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #C8A96E12;
  border: 1px solid var(--gold-dim);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 40px;
  box-shadow: 0 0 24px #C8A96E18;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.0;
  margin-bottom: 28px;
  max-width: 640px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  padding-right: 32px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  margin-right: 32px;
}

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-note strong { color: var(--text); }

/* ============================================================
   IDENTIFY
   ============================================================ */
.checks {
  display: grid;
  gap: 16px;
  margin-bottom: 40px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px;
  color: var(--text);
  line-height: 1.5;
  transition: border-color 0.2s;
  overflow: hidden;
  min-width: 0;
}

.check-item span:last-child {
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}

.check-item:hover {
  border-color: var(--border-accent);
}

.check-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: #C8A96E18;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--gold);
  margin-top: 1px;
}

.identify-note {
  font-size: 15px;
  color: var(--text);
  padding: 24px;
  border-left: 2px solid var(--gold);
  background: var(--bg-card);
  line-height: 1.7;
}

.identify-note strong { color: var(--text); }

/* ============================================================
   CONSULTATION
   ============================================================ */
.consult { background: var(--bg-2); }

.consult-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.consult-card {
  background: var(--bg-card);
  padding: 32px 28px;
}

.consult-num {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--border);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1;
}

.consult-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.consult-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.step-line {
  flex-shrink: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), var(--border));
  margin: 0 12px;
  position: relative;
}

.step-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--bg);
}

.step-line-last {
  flex-shrink: 0;
  width: 1px;
  background: var(--border);
  margin: 0 12px;
  position: relative;
}

.step-line-last::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--bg);
  box-shadow: 0 0 8px #C8A96E60;
}

.step-content {
  padding: 0 0 48px 0;
}

.step-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.step-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}

/* ============================================================
   RESULTS
   ============================================================ */
.results { background: var(--bg-2); }

.results-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 -24px;
  padding: 0 24px;
  margin-bottom: 64px;
}

.results-scroll::-webkit-scrollbar {
  display: none;
}

.results-track {
  display: flex;
  gap: 16px;
  width: max-content;
}

.results-track .result-card {
  width: 320px;
  flex-shrink: 0;
}

.results-track .result-photos {
  height: 240px;
}

.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.result-card:hover {
  border-color: var(--border-accent);
}

.result-photos {
  position: relative;
  display: flex;
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.result-photos img {
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.result-photos img:first-child {
  border-right: 2px solid var(--bg);
  filter: grayscale(30%);
}

.photo-labels {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  pointer-events: none;
}

.photo-labels span {
  width: 50%;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 5px 0;
  background: rgba(10,10,10,0.6);
}

.photo-labels span:first-child {
  color: var(--text-dim);
}

.photo-labels span:last-child {
  color: var(--gold);
}

.result-info {
  padding: 20px;
}

.result-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: #C8A96E10;
  border: 1px solid #C8A96E30;
  padding: 3px 10px;
  border-radius: 100px;
}

.result-name {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text);
}

.result-quote {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}

.result-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-bottom: 1px solid var(--border);
}

.scroll-hint {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 24px;
  margin-top: -32px;
}

@media (max-width: 768px) {
  .results-track .result-card {
    width: 260px;
  }
  .result-photo {
    height: 180px;
  }
}

/* Reviews */
.reviews-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
  color: var(--text);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s;
}

.review-card:hover { border-color: var(--border-accent); }

.review-stars {
  color: var(--gold);
  font-size: 13px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 16px;
  font-style: normal;
}

.review-author {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* ============================================================
   FAQ / OBJECTIONS
   ============================================================ */
.faq {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: none;
  cursor: pointer;
  padding: 22px 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  transition: background 0.15s;
  gap: 16px;
}

.faq-q:hover { background: #1C1C1C; }

.faq-icon {
  flex-shrink: 0;
  font-size: 20px;
  color: var(--gold);
  font-weight: 300;
  transition: transform 0.2s;
  line-height: 1;
}

.faq-q.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  display: none;
  padding: 0 24px 22px;
  background: var(--bg-card);
}

.faq-a p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.faq-a p strong { color: var(--text); }


/* ============================================================
   FORM
   ============================================================ */
.form-section {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, #C8A96E08 0%, transparent 60%);
}

.form-badge {
  display: inline-block;
  background: #C8A96E12;
  border: 1px solid var(--gold-dim);
  border-radius: 4px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}

.form-title {
  margin-bottom: 12px;
}

.form-sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 440px;
}

.lead-form {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}

.form-group input::placeholder { color: var(--text-dim); }

.form-group input:focus {
  border-color: var(--gold-dim);
}

.form-legal {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
  text-align: center;
}

.form-legal a { color: var(--text-dim); text-decoration: underline; }

.form-deadline {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  margin-top: -16px;
}
.form-deadline strong { color: var(--text); }

.form-micro {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
}

/* Success state */
.form-success {
  max-width: 480px;
  text-align: center;
  padding: 48px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
}

.success-icon {
  width: 56px;
  height: 56px;
  background: #C8A96E18;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--gold);
  margin: 0 auto 20px;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 12px;
}

.form-success p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 48px 0 32px;
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.footer-val {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-val a { color: var(--text-muted); }
.footer-val a:hover { color: var(--gold); }

.footer-bottom p {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.65;
}

.footer-logo {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 10px;
  filter: brightness(0) invert(1);
}

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 12px 16px 20px;
  box-sizing: border-box;
  background: linear-gradient(to top, var(--bg) 60%, transparent);
  z-index: 100;
  display: none; /* JS управляет показом */
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .section { padding: 56px 0; }

  .hero { padding: 40px 0 56px; }

  .hero-stats {
    gap: 20px 0;
  }

  .stat { padding-right: 20px; }
  .stat-divider { margin-right: 20px; }

  .consult-grid {
    grid-template-columns: 1fr;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .price-header {
    flex-direction: column;
    gap: 16px;
  }

  .price-nums { align-items: flex-start; }

  .price-includes {
    grid-template-columns: 1fr;
  }

  .price-installment {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 36px; }
  .section-title { font-size: 26px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Скрываем канальный блок до загрузки JS */
.hero-channel-line { visibility: hidden; }

@media (max-width: 768px) {
  .hero .container {
    display: flex;
    flex-direction: column;
  }

  .hero-stats {
    order: 5;
    margin-top: 20px;
    margin-bottom: 0;
  }
}

.tooltip-word {
  position: relative;
  color: var(--gold);
  border-bottom: 1px dashed var(--gold-dim);
  cursor: pointer;
}

.tooltip-box {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  width: 240px;
  z-index: 100;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.tooltip-box.open {
  display: block;
}