/* ═══════════════════════════════════════════════════════
   LANDING PAGE — Сергей Ратушняк
   Дополнение к style.css
   ═══════════════════════════════════════════════════════ */

/* ─── SECTION LAYOUT ─── */
.section { padding: 64px 20px; position: relative; z-index: 10; }
.section-inner { max-width: 520px; margin: 0 auto; }
.section-label {
  display: inline-block;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.35rem, 5vw, 2rem); font-weight: 800;
  line-height: 1.25; color: var(--text-primary); margin-bottom: 12px;
}
.section-sub {
  font-size: 0.95rem; line-height: 1.65;
  color: var(--text-secondary); margin-bottom: 32px;
}

/* ─── BG VARIANTS ─── */
.bg-dark  { background: var(--navy); }
.bg-mid   { background: var(--navy-light); }
.bg-glass {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
}

/* ─── HERO LANDING ─── */
.hero-landing {
  position: relative; z-index: 10;
  min-height: 100dvh;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 80px 20px 48px;
}
.hero-inner {
  width: 100%;
  max-width: 560px;
}
.hero-badge-landing {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 100px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--gold-light); margin-bottom: 20px;
}
.hero-title-landing {
  font-size: clamp(1.65rem, 6.5vw, 3rem); font-weight: 800;
  line-height: 1.15; margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, var(--gold-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub-landing {
  font-size: 1rem; line-height: 1.65;
  color: rgba(245,241,235,.78); max-width: 400px; margin-bottom: 28px;
}
.hero-cta-note {
  font-size: 0.78rem; color: var(--text-muted);
  margin-top: 14px; text-align: center;
}
.hero-trust-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-top: 32px;
}
.hero-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: var(--text-secondary);
}
.hero-trust-item .t-dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(201,168,76,.15); border: 1px solid rgba(201,168,76,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; color: var(--gold); flex-shrink: 0;
}

/* ─── PROBLEMS GRID ─── */
.problems-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-top: 28px;
}
.problem-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  transition: border-color var(--transition), background var(--transition);
}
.problem-card:hover {
  border-color: rgba(201,168,76,.2);
  background: rgba(201,168,76,.04);
}
.problem-icon { font-size: 1.3rem; margin-bottom: 8px; display: block; }
.problem-text {
  font-size: 0.82rem; line-height: 1.5;
  color: var(--text-secondary); font-weight: 400;
}

/* ─── SERVICES LIST ─── */
.services-list { display: flex; flex-direction: column; gap: 0; margin-top: 28px; }
.service-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.service-item:last-child { border-bottom: none; }
.service-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(201,168,76,.12); border: 1px solid rgba(201,168,76,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700; color: var(--gold);
  flex-shrink: 0; margin-top: 2px;
}
.service-body {}
.service-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 3px; }
.service-desc  { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; }

/* ─── SCENARIOS ─── */
.scenarios-grid { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.scenario-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: border-color var(--transition), transform var(--transition);
}
.scenario-card:hover { border-color: rgba(201,168,76,.35); transform: translateY(-2px); }
.scenario-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(201,168,76,.12); border: 1px solid rgba(201,168,76,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.scenario-body {}
.scenario-title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.scenario-desc  { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.55; }

/* ─── CASE STUDY ─── */
.case-card {
  background: linear-gradient(135deg, rgba(201,168,76,.08) 0%, rgba(26,45,77,.6) 100%);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.case-tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
  background: rgba(201,168,76,.12); border-radius: 4px;
  padding: 4px 8px; display: inline-block; margin-bottom: 16px;
}
.case-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; line-height: 1.4; }
.case-text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 20px; }
.case-numbers {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; border-top: 1px solid rgba(201,168,76,.15); padding-top: 20px;
}
.case-num-block {}
.case-num-val {
  font-size: 1.5rem; font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1;
}
.case-num-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; line-height: 1.4; }

/* ─── EXPERT BLOCK ─── */
.expert-block {
  display: flex; flex-direction: column; gap: 0;
}
.expert-photo-wrap {
  position: relative; margin-bottom: 28px;
  display: flex; justify-content: center;
}
.expert-photo-frame {
  position: relative; width: 160px; height: 160px;
}
.expert-photo-frame::before {
  content: ''; position: absolute; inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  z-index: 0;
}
.expert-photo {
  width: 160px; height: 160px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  position: relative; z-index: 1;
  border: 3px solid var(--navy);
}
.expert-name  { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.expert-role  { font-size: 0.8rem; color: var(--gold); font-weight: 500; margin-bottom: 16px; }
.expert-text  { font-size: 0.92rem; line-height: 1.7; color: var(--text-secondary); margin-bottom: 24px; }
.expert-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.expert-pill {
  font-size: 0.75rem; font-weight: 500; color: var(--text-secondary);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px; padding: 6px 14px;
}

/* ─── PROCESS STEPS ─── */
.process-steps { display: flex; flex-direction: column; gap: 0; margin-top: 28px; position: relative; }
.process-steps::before {
  content: ''; position: absolute;
  left: 19px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
  opacity: 0.2;
}
.process-step {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 0 0 24px 0; position: relative;
}
.process-step:last-child { padding-bottom: 0; }
.step-circle {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-mid); border: 2px solid rgba(201,168,76,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: var(--gold);
  flex-shrink: 0; position: relative; z-index: 1;
}
.step-body { padding-top: 8px; }
.step-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.step-desc  { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; }

/* ─── CTA BANNER ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--graphite) 100%);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--radius-xl);
  padding: 36px 24px;
  text-align: center;
}
.cta-banner-title {
  font-size: clamp(1.2rem, 4.5vw, 1.6rem); font-weight: 800;
  margin-bottom: 12px; line-height: 1.3;
}
.cta-banner-sub {
  font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6;
  margin-bottom: 28px; max-width: 360px; margin-left: auto; margin-right: auto;
}

/* ─── FORM (landing) ─── */
.form-section {
  background: var(--navy-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid rgba(201,168,76,.12);
}
.form-meta {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: 16px; text-align: center;
}
.form-meta-item {
  font-size: 0.75rem; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center; gap: 5px;
}

/* ─── FOOTER ─── */
.footer {
  padding: 24px 20px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.06);
  position: relative; z-index: 10;
}
.footer-logo { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 4px; }
.footer-logo span { color: var(--gold); }
.footer-copy { font-size: 0.7rem; color: rgba(245,241,235,.25); }

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── BTN OUTLINE ─── */
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 16px 24px;
  font-family: inherit; font-size: 0.95rem; font-weight: 600;
  color: var(--gold); background: transparent;
  border: 1.5px solid rgba(201,168,76,.4);
  border-radius: var(--radius-md); cursor: pointer;
  transition: all var(--transition);
}
.btn-outline:hover {
  background: rgba(201,168,76,.08);
  border-color: var(--gold);
}

/* ─── DIVIDER ─── */
.section-divider {
  width: 40px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 20px;
}

/* ─── DESKTOP ─── */
@media (min-width: 768px) {
  .section { padding: 80px 40px; }
  .section-inner { max-width: 680px; }
  .hero-landing {
    padding: 100px 60px 64px;
    align-items: flex-start;
  }
  .hero-inner { max-width: 620px; }
  .hero-badge-landing { white-space: nowrap; }
  .problems-grid { grid-template-columns: repeat(3, 1fr); }
  .scenarios-grid { flex-direction: row; }
  .scenario-card { flex-direction: column; }
  .hero-trust-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1100px) {
  .hero-landing { padding: 100px 80px 72px; }
  .hero-inner { max-width: 680px; }
}
