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

:root {
  --red: #CC1212;
  --bg: #ffffff;
  --bg-light: #f5f5f5;
  --text: #1a1a1a;
  --text-muted: #666666;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }

/* ── HEADER ── */
.site-header {
  padding: 22px 0;
  border-bottom: 1px solid #e8e8e8;
}
.site-header .inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-logo {
  font-size: 17px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -0.3px;
}
.site-nav a {
  margin-left: 32px;
  font-size: 14px;
  color: var(--text-muted);
}
.site-nav a:hover { color: var(--red); }

/* ── MAIN ── */
.main {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 40px 140px;
}

/* ── HERO ── */
.hero { margin-bottom: 88px; }
.hero-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.05;
  color: var(--red);
  margin-bottom: 28px;
  letter-spacing: -1.5px;
}
.hero-text {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 16px;
}
.cta-link {
  display: inline-block;
  margin-top: 28px;
  background: var(--red);
  color: #fff;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.cta-link:hover { opacity: 0.88; }

/* ── SECTION HEADING с красной линией ── */
.section-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 52px;
}
.section-heading h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--red);
  white-space: nowrap;
}
.section-heading .rule {
  flex: 1;
  height: 2px;
  background: var(--red);
}

/* ── СЕТКА УСЛУГ (главная) ── */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 48px;
}
.service-num {
  font-size: 72px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 10px;
}
.service-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.service-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── СТРАНИЦА УСЛУГ ── */
.service-section {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  padding: 64px 0;
  border-bottom: 1px solid #ebebeb;
}
.service-section:first-of-type { padding-top: 0; }
.service-section:last-of-type { border-bottom: none; }

.service-left .num {
  font-size: 96px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 12px;
}
.service-left h2 {
  font-size: 19px;
  font-weight: 700;
}
.service-left .tag {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.service-right .problem {
  font-size: 16px;
  color: var(--text-muted);
  padding-left: 18px;
  border-left: 3px solid var(--red);
  margin-bottom: 20px;
  line-height: 1.6;
}
.service-right .solution {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
}

/* ── СТРАНИЦА КОНТАКТОВ ── */
.contact-intro {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 48px;
  line-height: 1.7;
}
.contact-info { font-size: 16px; line-height: 1.8; }
.contact-info p { margin-bottom: 28px; }
.contact-info a { color: var(--red); }

/* ── FOOTER ── */
.site-footer {
  background: var(--bg-light);
  padding: 22px 40px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid #e8e8e8;
}
.site-footer a { color: var(--red); }

/* ── АДАПТИВ ── */
@media (max-width: 640px) {
  .site-header .inner {
    padding: 0 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .site-nav a {
    margin-left: 0;
    margin-right: 20px;
  }

  .main {
    padding: 48px 20px 80px;
  }

  .hero { margin-bottom: 56px; }
  .hero h1 {
    font-size: 36px;
    letter-spacing: -0.5px;
  }
  .hero-text { font-size: 15px; }

  .section-heading { margin-bottom: 36px; }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-num { font-size: 52px; }

  .service-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 48px 0;
  }
  .service-left .num { font-size: 64px; }

  .contact-intro { font-size: 16px; }

  .site-footer {
    padding: 20px;
    line-height: 1.8;
  }
}
