/* ─── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:     #0D1B2A;
  --navy2:    #162235;
  --navy3:    #1E2E42;
  --gold:     #C9A84C;
  --gold-dim: rgba(201,168,76,0.15);
  --white:    #FFFFFF;
  --off:      #F7F5F0;
  --text:     #1A1A2E;
  --muted:    #64748B;
  --border:   rgba(0,0,0,0.08);
  --border-l: rgba(255,255,255,0.1);
  --font-s:   'Playfair Display', Georgia, serif;
  --font:     'Inter', 'Segoe UI', system-ui, sans-serif;
  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
  --radius:   4px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* ─── Animations ─────────────────────────────────── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal-up    { transform: translateY(32px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.in-view.reveal-up,
.in-view.reveal-left,
.in-view.reveal-right { opacity: 1; transform: none; }

/* ─── Header ─────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}
.logo-mark { flex-shrink: 0; }
.logo-text { display: flex; align-items: baseline; gap: 0; line-height: 1; }
.logo-name { font-family: var(--font-s); font-size: 18px; font-weight: 600; letter-spacing: -0.3px; }
.logo-tld  { font-family: var(--font-s); font-size: 18px; font-weight: 400; color: var(--gold); }

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-phone:hover { color: var(--navy); }

.nav-portal {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  padding: 8px 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(13, 27, 42, 0.15);
  transition: background 0.2s, color 0.2s;
}
.nav-portal:hover {
  background: rgba(13, 27, 42, 0.06);
  color: var(--navy);
}

.header-cta {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 10px 22px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.2px;
}
.header-cta:hover { background: var(--navy2); transform: translateY(-1px); }

/* ─── Hero ───────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy2) 55%, #1A3050 100%);
  padding: 80px 0 96px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}
.hero-left { padding-right: 20px; }

.practice-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.pt-line {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-s);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.hero-title em {
  font-style: normal;
  color: var(--gold);
}

.hero-lead {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 52px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }
.hero-caveat { font-size: 13px; color: rgba(255,255,255,0.45); }

.hero-credentials {
  display: flex;
  align-items: center;
  gap: 0;
  padding-top: 40px;
  border-top: 1px solid var(--border-l);
}
.cred-item { padding: 0 32px; }
.cred-item:first-child { padding-left: 0; }
.cred-num { display: block; font-family: var(--font-s); font-size: 32px; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 4px; }
.cred-lbl { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.4; }
.cred-divider { width: 1px; height: 44px; background: var(--border-l); flex-shrink: 0; }

/* ─── Document card ──────────────────────────────── */
.document-card {
  background: var(--navy3);
  border: 1px solid var(--border-l);
  border-radius: 8px;
  overflow: hidden;
}
.doc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-l);
}
.doc-header-left { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.7); }
.doc-icon { color: var(--gold); }
.doc-title-sm { font-size: 13px; font-weight: 600; color: var(--white); }
.doc-subtitle { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 1px; }
.doc-status {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
}
.doc-status--pending { background: rgba(201,168,76,0.15); color: var(--gold); }

.doc-items { padding: 12px 0; }
.doc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.doc-item:hover { background: rgba(255,255,255,0.03); }

.doc-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border-l);
}
.doc-verdict {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
}

/* ─── Strip ──────────────────────────────────────── */
.strip {
  background: var(--off);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.strip-inner {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding: 4px 24px 4px 0;
}
.strip-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-right: 24px;
}

/* ─── Sections ───────────────────────────────────── */
.section { padding: 96px 0; }
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-label--light { color: rgba(201,168,76,0.8); }
.section-title {
  font-family: var(--font-s);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
}
.section-title--light { color: var(--white); }
.section-lead {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 640px;
  margin-top: 16px;
}
.section-rule {
  width: 40px; height: 2px;
  background: var(--gold);
  margin: 20px 0 32px;
}
.section-rule--gold { background: var(--gold); }
.section-header { margin-bottom: 60px; }

/* ─── About ──────────────────────────────────────── */
.about-section { background: var(--off); }
.about-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 72px;
  align-items: start;
}
.about-photo-wrap { position: relative; }
.about-photo-placeholder {
  background: #E8E4DC;
  border-radius: 4px;
  height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}
.about-badge {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.about-role {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 4px;
}
.about-text { font-size: 16px; color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tag {
  background: rgba(13,27,42,0.07);
  color: var(--navy);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(13,27,42,0.1);
}
.about-contacts { display: flex; flex-direction: column; gap: 10px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}
.contact-link:hover { color: var(--navy); }

/* ─── Obligations ────────────────────────────────── */
.oblig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.oblig-card {
  background: var(--white);
  padding: 32px;
  position: relative;
}
.oblig-card:hover { background: var(--off); }
.oblig-card--accent {
  background: var(--navy);
  color: var(--white);
}
.oblig-card--accent:hover { background: var(--navy2); }
.oblig-card--accent p { color: rgba(255,255,255,0.6); }
.oc-num {
  font-family: var(--font-s);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.oc-icon {
  color: var(--navy);
  margin-bottom: 16px;
  opacity: 0.6;
}
.oblig-card--accent .oc-icon { color: var(--gold); opacity: 1; }
.oblig-card h3 {
  font-family: var(--font-s);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}
.oblig-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.oc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 10px 18px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.2s;
}
.oc-cta:hover { opacity: 0.9; }

/* ─── Risk section ───────────────────────────────── */
.risk-section { background: var(--navy); padding: 96px 0; }
.risk-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: start;
}
.risk-text { font-size: 16px; color: rgba(255,255,255,0.6); line-height: 1.75; margin-bottom: 40px; }
.fine-list { display: flex; flex-direction: column; gap: 0; }
.fine-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-l);
}
.fine-item:first-child { border-top: 1px solid var(--border-l); }
.fine-amount {
  font-family: var(--font-s);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}
.fine-desc { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.5; }

.risk-visual { display: flex; flex-direction: column; gap: 16px; }
.rv-card {
  background: var(--navy3);
  border: 1px solid var(--border-l);
  border-radius: 8px;
  padding: 20px;
}
.rv-label { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 6px; }
.rv-num { font-family: var(--font-s); font-size: 20px; color: var(--white); margin-bottom: 2px; }
.rv-meta { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 12px; }
.rv-status {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  display: inline-flex;
}
.rv-status--red    { background: rgba(239,68,68,0.15); color: #EF4444; }
.rv-status--yellow { background: rgba(251,191,36,0.15); color: #FBBF24; }

.rv-timeline { display: flex; flex-direction: column; gap: 12px; padding: 20px; background: var(--navy3); border: 1px solid var(--border-l); border-radius: 8px; }
.rvt-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.5); }
.rvt-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.rvt-dot--red    { background: #EF4444; }
.rvt-dot--yellow { background: #FBBF24; }
.rvt-dot--green  { background: #4ADE80; }

/* ─── Process ────────────────────────────────────── */
.process-section { background: var(--off); }
.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}
.process-step { padding: 0 16px; }
.process-step:first-child { padding-left: 0; }
.process-step:last-child  { padding-right: 0; }
.process-connector {
  width: 1px;
  height: 48px;
  background: var(--gold);
  opacity: 0.3;
  margin-top: 20px;
  transform: rotate(90deg);
  transform-origin: center;
  flex-shrink: 0;
}
.ps-num {
  font-family: var(--font-s);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.ps-content h3 {
  font-family: var(--font-s);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--navy);
  line-height: 1.3;
}
.ps-content p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ─── Form section ───────────────────────────────── */
.form-section { background: var(--white); }
.form-inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: start;
}
.form-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.form-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}
.form-list svg { flex-shrink: 0; color: var(--gold); }
.form-guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  padding: 14px 18px;
  background: var(--off);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.form-guarantee svg { flex-shrink: 0; color: var(--navy); opacity: 0.5; }

.form-placeholder {
  background: var(--off);
  border: 2px dashed rgba(201,168,76,0.3);
  border-radius: 8px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fp-inner { text-align: center; }
.fp-icon { color: var(--muted); opacity: 0.4; margin-bottom: 16px; }
.fp-title { font-family: var(--font-s); font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.fp-sub { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ─── FAQ ────────────────────────────────────────── */
.faq-section { background: var(--off); }
.faq-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: start;
}
.faq-note { font-size: 14px; color: var(--muted); line-height: 1.6; }
.faq-note a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-of-type { border-top: 1px solid var(--border); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--navy); }
.faq-icon { flex-shrink: 0; color: var(--gold); transition: transform 0.25s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--navy); }
.faq-body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  padding-bottom: 20px;
  max-width: 640px;
}

/* ─── Footer ─────────────────────────────────────── */
.footer { background: var(--navy); padding: 48px 0 32px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.7);
}
.footer-name { font-family: var(--font-s); font-size: 15px; color: var(--white); }
.footer-domain { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 2px; }
.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-rule { height: 1px; background: var(--border-l); margin-bottom: 20px; }
.footer-note { font-size: 12px; color: rgba(255,255,255,0.25); line-height: 1.6; }

/* ─── Mobile ─────────────────────────────────────── */
@media (max-width: 960px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
  .hero-credentials { gap: 0; }
  .cred-item { padding: 0 20px; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-photo-wrap { display: none; }
  .oblig-grid { grid-template-columns: 1fr; }
  .risk-inner { grid-template-columns: 1fr; gap: 48px; }
  .process-steps { grid-template-columns: 1fr; gap: 24px; }
  .process-connector { display: none; }
  .form-inner { grid-template-columns: 1fr; gap: 48px; }
  .faq-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .header-nav .nav-phone { display: none; }
  .header-nav .nav-portal { font-size: 13px; padding: 6px 10px; }
}
@media (max-width: 600px) {
  .hero-credentials { flex-direction: column; gap: 0; border-top-color: transparent; padding-top: 0; }
  .cred-divider { width: 40px; height: 1px; }
  .cred-item { padding: 16px 0; }
  .strip-inner { gap: 12px; }
  .strip-dot { display: none; }
}

/* ─── Заявка с лендинга (152.PRO API) ───────────── */
.checklist-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(13, 27, 42, 0.06);
}
.checklist-form input {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
}
.checklist-form input:focus {
  outline: none;
  border-color: var(--gold);
}
.checklist-submit {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 14px 20px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.2s;
}
.checklist-submit:hover { opacity: 0.92; }
.checklist-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.form-msg { font-size: 14px; line-height: 1.5; min-height: 1.5em; margin: 0; }
.form-msg.err { color: #b91c1c; }
.form-msg.ok { color: #15803d; }
