* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #24262b;
  background: #fff;
  line-height: 1.6;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.site-header {
  border-bottom: 1px solid #eceef1;
  background: #fff;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #1a1a2e; font-weight: 700; font-size: 20px; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { color: #4a4d55; text-decoration: none; font-size: 15px; }
.main-nav a:hover, .main-nav a.active { color: #1a1a2e; }

.btn {
  display: inline-block; padding: 10px 20px; border: 1px solid #d5d8de;
  border-radius: 8px; text-decoration: none; color: #1a1a2e; font-size: 14px;
  background: #fff;
}
.btn:hover { border-color: #1a1a2e; }
.btn-primary { background: #ff5d73; border-color: #ff5d73; color: #fff; }
.btn-primary:hover { background: #e84a60; }

.hero { background: #f6f7fb; padding: 80px 0 72px; }
.hero h1 { font-size: 42px; line-height: 1.2; color: #1a1a2e; max-width: 720px; }
.lead { margin: 18px 0 28px; font-size: 18px; color: #55585f; max-width: 640px; }
.hero-actions { display: flex; gap: 14px; }

.section { padding: 64px 0; }
.section h2 { font-size: 28px; color: #1a1a2e; margin-bottom: 32px; }
.section-dark { background: #1a1a2e; color: #dfe1e8; }
.section-dark h2 { color: #fff; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.card { border: 1px solid #eceef1; border-radius: 12px; padding: 24px; background: #fff; }
.card h3 { font-size: 17px; margin-bottom: 10px; color: #1a1a2e; }
.card p { font-size: 14px; color: #55585f; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; }
.stats strong { display: block; font-size: 34px; color: #ff5d73; }
.stats span { font-size: 14px; color: #a9adba; }

.steps { list-style: none; counter-reset: step; display: grid; gap: 14px; }
.steps li {
  counter-increment: step; display: flex; gap: 16px; align-items: baseline;
  background: #f6f7fb; border-radius: 10px; padding: 16px 20px;
}
.steps li::before { content: counter(step); font-weight: 700; color: #ff5d73; font-size: 18px; min-width: 22px; }
.steps strong { color: #1a1a2e; min-width: 150px; }
.steps span { color: #55585f; font-size: 14px; }

.page-head { background: #f6f7fb; padding: 48px 0; }
.page-head h1 { font-size: 34px; color: #1a1a2e; }

.price-table { display: grid; gap: 12px; }
.price-row {
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  border: 1px solid #eceef1; border-radius: 10px; padding: 18px 22px;
}
.price-row h3 { font-size: 17px; color: #1a1a2e; }
.price-row p { font-size: 14px; color: #55585f; margin-top: 4px; max-width: 640px; }
.price { font-weight: 700; color: #ff5d73; white-space: nowrap; }
.note { font-size: 13px; color: #8a8e97; margin-top: 16px; }

.check-list { display: grid; gap: 10px; list-style: none; }
.check-list li { padding-left: 28px; position: relative; color: #dfe1e8; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #ff5d73; font-weight: 700; }

.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contacts-grid h3 { color: #1a1a2e; margin: 22px 0 8px; font-size: 17px; }
.contacts-grid h3:first-child { margin-top: 0; }
.contacts-grid a { color: #ff5d73; text-decoration: none; }
.form-wrap { background: #f6f7fb; border-radius: 12px; padding: 24px; align-self: start; }
.form-wrap h3 { margin-top: 0; }
.form-wrap label { display: block; font-size: 13px; color: #55585f; margin-bottom: 12px; }
.form-wrap input, .form-wrap textarea {
  width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid #d5d8de;
  border-radius: 8px; font: inherit; font-size: 14px; background: #fff;
}

.error-page { text-align: center; padding: 100px 0; }
.error-page h1 { font-size: 72px; color: #1a1a2e; }
.error-page p { margin: 10px 0 26px; color: #55585f; }

.site-footer { background: #1a1a2e; color: #a9adba; padding: 36px 0 0; margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; font-size: 14px; padding-bottom: 28px; }
.footer-logo { color: #fff; font-weight: 700; margin-bottom: 8px; }
.site-footer a { color: #ff5d73; text-decoration: none; }
.copyright { border-top: 1px solid #2c2f45; padding: 14px 20px; font-size: 13px; }

@media (max-width: 720px) {
  .hero h1 { font-size: 30px; }
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .main-nav { gap: 16px; }
  .contacts-grid, .footer-inner { grid-template-columns: 1fr; }
  .steps strong { min-width: auto; }
  .price-row { flex-direction: column; align-items: flex-start; gap: 8px; }
}