:root {
  --bg: #f4f6f8;
  --dark: #111827;
  --dark-2: #1f2937;
  --text: #374151;
  --muted: #6b7280;
  --white: #ffffff;
  --accent: #e11d48;
  --accent-dark: #be123c;
  --line: #e5e7eb;
  --card: #ffffff;
  --shadow: 0 20px 50px rgba(17, 24, 39, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--dark);
}

.logo__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent);
  color: var(--white);
  font-size: 22px;
  line-height: 1;
}

.logo__text {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  color: var(--muted);
}

.nav a {
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--accent);
}

.header__phone {
  padding: 11px 18px;
  border-radius: 999px;
  color: var(--dark);
  border: 1px solid var(--line);
  font-weight: 700;
  transition: all 0.2s ease;
}

.header__phone:hover {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.82)),
    radial-gradient(circle at 80% 20%, rgba(225, 29, 72, 0.45), transparent 34%),
    linear-gradient(135deg, #111827, #374151);
}

.hero::before {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -180px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: rgba(225, 29, 72, 0.2);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 54px;
}

.hero__label,
.section__subtitle,
.cta__subtitle {
  margin: 0 0 14px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero__text {
  max-width: 620px;
  margin: 28px 0 0;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.82);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(225, 29, 72, 0.3);
}

.btn--primary:hover {
  background: var(--accent-dark);
}

.btn--secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero__card {
  padding: 34px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero__card-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 34px;
}

.hero__card h2 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero__card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.section {
  padding: 88px 0;
}

.section__heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section__heading h2 {
  margin: 0;
  color: var(--dark);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section__heading--light h2 {
  color: var(--white);
}

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.about__text {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.about__text p {
  margin: 0 0 18px;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.advantages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.advantage {
  min-height: 170px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.advantage:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.advantage span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--accent);
  font-weight: 900;
  font-size: 14px;
}

.advantage p {
  margin: 0;
  color: var(--dark);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.section--dark {
  background: var(--dark);
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 320px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
  transition: transform 0.2s ease, background 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  background: #263244;
}

.service-card__number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 14px;
  color: var(--white);
  background: var(--accent);
  font-weight: 900;
}

.service-card h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.service-card p {
  margin: 0;
}

.cta {
  padding: 54px 0;
  background: var(--accent);
  color: var(--white);
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta__subtitle {
  color: rgba(255, 255, 255, 0.76);
}

.cta h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.cta .btn--primary {
  color: var(--accent);
  background: var(--white);
  box-shadow: none;
  white-space: nowrap;
}

.cta .btn--primary:hover {
  background: #ffe4e9;
}

.contacts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contact-card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-card__icon {
  display: inline-flex;
  margin-bottom: 20px;
  font-size: 32px;
}

.contact-card h3 {
  margin: 0 0 12px;
  color: var(--dark);
  font-size: 22px;
}

.contact-card p {
  margin: 0;
  font-size: 18px;
  color: var(--text);
}

.contact-card a {
  color: var(--accent);
  font-weight: 800;
}

.contact-card__note {
  margin-top: 8px !important;
  color: var(--muted) !important;
  font-size: 15px !important;
}

.footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #0b1020;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 980px) {
  .header__inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero__inner,
  .about {
    grid-template-columns: 1fr;
  }

  .services,
  .contacts__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .header__phone {
    width: 100%;
    text-align: center;
  }

  .nav {
    gap: 16px;
    font-size: 14px;
  }

  .hero {
    padding: 68px 0;
  }

  .hero__text {
    font-size: 18px;
  }

  .hero__actions,
  .btn {
    width: 100%;
  }

  .hero__card,
  .about__text,
  .advantage,
  .service-card,
  .contact-card {
    padding: 24px;
  }

  .section {
    padding: 64px 0;
  }

  .advantages,
  .services,
  .contacts__grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}