:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #eef3f9;
  --text: #102033;
  --muted: #5f6f82;
  --line: #d9e2ee;
  --primary: #0b5cff;
  --primary-dark: #0846c7;
  --accent: #10b981;
  --dark: #0d1726;
  --dark-2: #142235;
  --radius: 22px;
  --shadow: 0 20px 60px rgba(16,32,51,.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246,248,251,.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217,226,238,.8);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand strong { display: block; font-size: 1.05rem; }
.brand small { color: var(--muted); }
.brand-mark {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), #4ec5ff);
  color: #fff; font-weight: 800;
}
.nav { display: flex; gap: 22px; color: var(--muted); }
.nav a:hover { color: var(--text); }
.burger { display: none; background: none; border: 0; font-size: 1.5rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 20px; border-radius: 14px; font-weight: 700;
  border: 1px solid transparent; transition: .2s ease;
}
.btn-small { padding: 10px 14px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: #fff; border-color: var(--line); }
.hero {
  padding: 74px 0 38px;
  background:
    radial-gradient(circle at top right, rgba(11,92,255,.16), transparent 25%),
    linear-gradient(180deg, #fff, #f6f8fb 58%);
}
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 38px; align-items: center; }
.eyebrow {
  display: inline-block; padding: 8px 12px; border-radius: 999px;
  background: #e8f0ff; color: var(--primary); font-weight: 700; font-size: .86rem;
}
.eyebrow.light { background: rgba(255,255,255,.12); color: #c7ddff; }
h1, h2, h3 { line-height: 1.1; margin: 14px 0; }
h1 { font-size: clamp(2.4rem, 4vw, 4.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3vw, 3rem); letter-spacing: -0.03em; }
.hero-copy, .section-head p { max-width: 760px; color: var(--muted); font-size: 1.02rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0; }
.trust-list {
  list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px;
}
.trust-list li {
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  border-radius: 999px; padding: 10px 14px; font-size: .94rem;
}
.hero-card {
  background: linear-gradient(180deg, #fff, #f0f6ff);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.hero-stat, .hero-stat.alt {
  padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line);
}
.hero-stat + .hero-stat { margin-top: 16px; }
.hero-stat.alt { background: var(--dark); color: #fff; border-color: rgba(255,255,255,.08); }
.hero-stat span { color: var(--muted); font-weight: 600; }
.hero-stat.alt span, .hero-stat.alt p { color: #d9e5f5; }
.hero-stat strong { display: block; font-size: 2rem; margin-top: 6px; }
.section { padding: 90px 0; }
.muted-band { padding: 26px 0; background: #edf2f8; border-block: 1px solid var(--line); }
.logos-row { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; color: var(--muted); font-weight: 700; }
.section-head { margin-bottom: 28px; }
.cards-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
}
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); min-height: 180px;
}
.card.featured { background: linear-gradient(180deg, #0b5cff, #0d8dff); color: #fff; }
.card.featured p { color: rgba(255,255,255,.9); }
.section-dark { background: linear-gradient(180deg, var(--dark), var(--dark-2)); color: #fff; }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; }
.feature-list { display: grid; gap: 12px; padding-left: 20px; }
.check-panel {
  display: grid; gap: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  padding: 20px; border-radius: 24px;
}
.check-item { background: rgba(255,255,255,.06); padding: 18px; border-radius: 18px; }
.check-item span { display: block; color: #d5e0ef; margin-top: 6px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  background: #fff; padding: 26px; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.step span {
  width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 12px;
  background: #e8f0ff; color: var(--primary); font-weight: 800;
}
.offer-section { background: linear-gradient(180deg, #eff5fb, #f9fbfd); }
.offer-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.price-box, .info-panel, .contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow);
}
.quote-form {
  background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 24px; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label, fieldset { display: block; }
label span, legend { display: block; font-weight: 700; margin-bottom: 8px; }
input, select, textarea {
  width: 100%; padding: 14px 15px; border-radius: 14px; border: 1px solid var(--line);
  background: #fbfdff; font: inherit; color: var(--text);
}
textarea { resize: vertical; }
fieldset {
  margin: 18px 0; padding: 18px; border: 1px solid var(--line); border-radius: 18px;
}
.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.checkbox-grid label, .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--muted); }
.checkbox-grid input, .consent input { width: auto; margin-top: 3px; }
.result-box {
  margin-top: 18px; padding: 20px; border-radius: 22px;
  background: linear-gradient(135deg, #0b5cff, #16a4ff); color: #fff;
}
.result-label { margin: 0; opacity: .82; }
.result-price { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; margin: 8px 0; }
.form-actions { display: grid; gap: 16px; margin-top: 18px; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; }
.contact-card { display: grid; gap: 10px; font-size: 1.05rem; }
.contact-card a { font-weight: 700; }
.info-panel ul { margin: 0; padding-left: 18px; color: var(--muted); }
.site-footer { padding: 34px 0 50px; border-top: 1px solid var(--line); }
.footer-wrap { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.footer-links { display: flex; gap: 18px; color: var(--muted); }
dialog {
  width: min(760px, calc(100% - 20px)); border: 1px solid var(--line); border-radius: 22px;
  padding: 0; box-shadow: 0 40px 90px rgba(0,0,0,.25);
}
dialog::backdrop { background: rgba(13,23,38,.55); }
.dialog-head, .dialog-actions {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px;
}
.dialog-head { border-bottom: 1px solid var(--line); }
.dialog-actions { border-top: 1px solid var(--line); }
#closeDialog { background: none; border: 0; font-size: 2rem; line-height: 1; cursor: pointer; }
#summaryContent { padding: 22px; color: var(--muted); white-space: pre-line; }
@media (max-width: 980px) {
  .hero-grid, .offer-wrap, .contact-grid, .two-col { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nav, .nav-wrap > .btn-small { display: none; }
  .burger { display: block; }
  .nav.open {
    display: grid; position: absolute; top: 78px; left: 16px; right: 16px; background: #fff;
    padding: 14px; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  }
  .cards-grid, .steps-grid, .form-grid, .checkbox-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
}
