:root {
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --text: #16192c;
  --muted: #545b77;
  --primary: #2f4fd8;
  --primary-dark: #233db0;
  --accent: #e8edff;
  --border: #e2e6f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 25, 44, 0.07);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--primary); }
a:hover { color: var(--primary-dark); }

img, svg { max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
  text-decoration: none;
}
.logo svg { width: 32px; height: 32px; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover { color: var(--primary); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-ghost { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-ghost:hover { background: var(--accent); }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--accent) 0%, #ffffff 100%);
  padding: 72px 0 64px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.hero p.lead {
  font-size: 19px;
  color: var(--muted);
  margin: 0 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.hero-card h2 { font-size: 19px; margin: 0 0 14px; }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin: 10px 0;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%232f4fd8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M5 10.5l3.2 3L15 6.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Sections */
section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
.section-title {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
  margin: 0 0 12px;
}
.section-sub {
  color: var(--muted);
  max-width: 720px;
  margin: 0 0 36px;
}

.grid {
  display: grid;
  gap: 20px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.card .icon svg { width: 24px; height: 24px; }

.step-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}

/* Integrity block */
.notice {
  border-left: 5px solid var(--primary);
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow);
}
.notice h2 { margin-top: 0; }
.notice ul { margin: 12px 0 0; padding-left: 22px; }
.notice li { margin: 6px 0; }

/* Pricing */
.price-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* FAQ */
.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
}
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Contacts */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin: 10px 0; font-size: 18px; }
.contact-list strong { display: inline-block; min-width: 110px; }

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.muted { color: var(--muted); font-size: 15px; }
.contact-form h3 { margin: 0 0 16px; font-size: 20px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: #fff;
  border: 1px solid #c8cee0;
  border-radius: 10px;
  padding: 11px 14px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(47, 79, 216, 0.25);
  border-color: var(--primary);
}
.field.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
  margin: 4px 0 20px;
}
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.contact-form .btn { width: 100%; cursor: pointer; }

/* Footer */
.site-footer {
  background: var(--text);
  color: #c9cde0;
  padding: 36px 0;
  font-size: 15px;
}
.site-footer a { color: #fff; }
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Legal pages */
.legal { padding: 48px 0 72px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.2; margin: 0 0 8px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal .updated { color: var(--muted); margin: 0 0 28px; }

/* Responsive */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .hero { padding: 48px 0 40px; }
  section { padding: 52px 0; }
  .grid-4, .grid-3, .grid-2, .price-box { grid-template-columns: 1fr; }
  .notice { padding: 22px; }
  .contact-list strong { display: block; }
}
