:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --text: #0f172a;
  --muted: #475569;
  --line: #dbe4ef;
  --accent: #e2b24d;
  --accent-dark: #c9972c;
  --dark: #0f172a;
  --success: #0f766e;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.section { padding: 84px 0; }
.section-title { font-size: clamp(30px, 4vw, 50px); line-height: 1.05; margin: 0 0 16px; }
.section-subtitle { max-width: 720px; margin: 0; color: var(--muted); font-size: 18px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px;
  background: rgba(226, 178, 77, 0.16); color: #7c5a11; font-weight: 700; font-size: 14px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: 16px; font-weight: 700; font-size: 16px;
  transition: .2s ease; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--dark); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--dark); border-color: rgba(15, 23, 42, 0.18); }
.btn-secondary:hover { background: rgba(15, 23, 42, 0.04); }
.site-header {
  position: sticky; top: 0; z-index: 40; backdrop-filter: blur(16px);
  background: rgba(248, 250, 252, 0.86); border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.header-inner {
  min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo-wrap { display: flex; align-items: center; gap: 18px; }
.logo-wrap img { width: 280px; height: auto; }
.nav { display: flex; align-items: center; gap: 22px; color: var(--muted); font-weight: 600; }
.header-contacts { display: flex; align-items: center; gap: 12px; }
.hero { padding: 36px 0 40px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: stretch;
}
.hero-content, .hero-form, .card, .service-card, .advantage, .price-card, .faq-item, .document-card {
  background: rgba(255,255,255,0.92); border: 1px solid rgba(15, 23, 42, 0.08); box-shadow: var(--shadow);
}
.hero-content {
  padding: 44px; border-radius: 34px; position: relative; overflow: hidden;
}
.hero-content::after {
  content: ""; position: absolute; inset: auto -80px -80px auto; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(226, 178, 77, 0.22), transparent 70%);
}
.hero h1 { font-size: clamp(38px, 5vw, 64px); line-height: 0.98; margin: 18px 0; letter-spacing: -0.03em; }
.hero p { color: var(--muted); font-size: 18px; margin: 0 0 26px; max-width: 650px; }
.hero-actions, .hero-metrics { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-metrics { margin-top: 26px; }
.metric {
  padding: 14px 18px; border-radius: 18px; background: var(--surface-2); min-width: 155px;
}
.metric strong { display: block; font-size: 22px; }
.metric span { color: var(--muted); font-size: 14px; }
.hero-visual { margin-top: 26px; border-radius: 26px; overflow: hidden; }
.hero-form { padding: 34px; border-radius: 34px; }
.hero-form h2 { margin: 0 0 10px; font-size: 32px; }
.hero-form p { margin: 0 0 24px; color: var(--muted); }
.form-grid { display: grid; gap: 14px; }
.input, .textarea {
  width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 16px;
  padding: 16px 18px; font: inherit; color: var(--text); outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.textarea { min-height: 124px; resize: vertical; }
.input:focus, .textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(226, 178, 77, 0.18); }
.checkbox-row { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); font-size: 14px; }
.checkbox-row input { margin-top: 4px; }
.form-note { color: var(--muted); font-size: 13px; }
.grid-4, .grid-3, .grid-2 { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.service-card, .advantage, .price-card, .document-card { border-radius: 26px; padding: 28px; }
.service-card img { width: 72px; margin-bottom: 18px; }
.service-card h3, .price-card h3, .advantage h3, .document-card h3 { margin: 0 0 10px; font-size: 24px; }
.service-card p, .advantage p, .price-card p, .document-card p { margin: 0; color: var(--muted); }
.service-card ul, .price-card ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); }
.dark-panel {
  background: linear-gradient(135deg, #0f172a 0%, #111827 100%); color: #f8fafc; border-radius: 34px; padding: 40px;
}
.dark-panel .section-subtitle { color: rgba(248,250,252,0.78); }
.advantage { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.08); box-shadow: none; }
.advantage h3, .advantage p { color: #f8fafc; }
.advantage p { color: rgba(248,250,252,0.78); }
.price-card .price { font-size: 38px; font-weight: 800; margin: 18px 0 4px; }
.price-card .price small { font-size: 16px; color: var(--muted); font-weight: 600; }
.organization-card {
  border-radius: 34px; background: #fff; border: 1px solid rgba(15,23,42,0.08); box-shadow: var(--shadow); padding: 36px;
}
.org-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 28px; margin-top: 22px; }
.org-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.org-item strong { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.faq-list { display: grid; gap: 14px; margin-top: 28px; }
.faq-item { padding: 24px 28px; border-radius: 24px; }
.faq-item h3 { margin: 0 0 8px; font-size: 20px; }
.faq-item p { margin: 0; color: var(--muted); }
.cta-box {
  border-radius: 34px; padding: 42px; background: linear-gradient(135deg, rgba(226,178,77,0.16), rgba(15,23,42,0.03));
  border: 1px solid rgba(15,23,42,0.08); box-shadow: var(--shadow);
}
.documents-grid { margin-top: 28px; }
.document-card a { color: #7c5a11; font-weight: 700; }
.footer {
  padding: 36px 0 54px; color: var(--muted);
}
.footer-top {
  display: flex; justify-content: space-between; gap: 20px; align-items: center; padding-top: 28px; border-top: 1px solid rgba(15,23,42,0.08);
}
.footer small { display: block; margin-top: 8px; }
.cookies {
  position: fixed; left: 16px; bottom: 16px; max-width: 420px; z-index: 60; padding: 18px 18px 18px 20px;
  border-radius: 20px; background: rgba(15,23,42,0.96); color: #f8fafc; box-shadow: 0 20px 50px rgba(15,23,42,0.26);
}
.cookies p { margin: 0 0 12px; font-size: 14px; color: rgba(248,250,252,0.8); }
.cookies .btn { min-height: 46px; }
.hidden { display: none !important; }
.notice-success {
  display: none; margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(15, 118, 110, 0.1); color: var(--success); font-weight: 700;
}
@media (max-width: 1080px) {
  .hero-grid, .grid-4, .grid-3, .grid-2, .org-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
@media (max-width: 760px) {
  .header-inner, .footer-top { flex-direction: column; align-items: flex-start; }
  .hero-grid, .grid-4, .grid-3, .grid-2, .org-grid { grid-template-columns: 1fr; }
  .hero-content, .hero-form, .dark-panel, .organization-card, .cta-box { padding: 26px; }
  .logo-wrap img { width: 235px; }
  .section { padding: 64px 0; }
  .hero { padding-top: 24px; }
}
