:root {
  --dark: #2f2f2f;
  --dark-2: #1f1f1f;
  --blue: #1b55ad;
  --blue-2: #16488f;
  --magenta: #d00093;
  --magenta-2: #a90078;
  --white: #ffffff;
  --paper: #f4f5f8;
  --line: #d9dde6;
  --text: #23242a;
  --muted: #667085;
  --shadow: 0 24px 68px rgba(47, 47, 47, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

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

.brand img {
  width: 254px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #353741;
  font-weight: 700;
}

.nav a {
  padding: 8px 0;
}

.nav a:hover,
.nav a.is-active {
  color: var(--blue);
}

.nav__button {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--dark);
  color: var(--white);
}

.nav__button:hover {
  background: var(--blue);
  color: var(--white);
}

.hero {
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(47, 47, 47, 0.98), rgba(31, 31, 31, 0.82)),
    var(--dark);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(460px, 1.24fr);
  gap: 44px;
  align-items: center;
  min-height: 680px;
  padding: 70px 0 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #cbd8f3;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--magenta));
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 660px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 610px;
  margin-bottom: 30px;
  color: #e4e8f0;
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--magenta);
  border-radius: 4px;
  background: var(--magenta);
  color: var(--white);
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.button:hover {
  background: var(--magenta-2);
  border-color: var(--magenta-2);
  transform: translateY(-1px);
}

.button--blue {
  background: var(--blue);
  border-color: var(--blue);
}

.button--blue:hover {
  background: var(--blue-2);
  border-color: var(--blue-2);
}

.hero__media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero__media img {
  width: 100%;
}

.hero__tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  gap: 6px;
  max-width: 360px;
  padding: 15px 16px;
  border-radius: 4px;
  background: rgba(47, 47, 47, 0.9);
  color: var(--white);
}

.hero__tag span {
  color: #d9e4ff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  padding: 86px 0;
}

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

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.52fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.section__head h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
}

.section__head p {
  margin-bottom: 0;
  color: var(--muted);
}

.services {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.service {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(47, 47, 47, 0.06);
}

.service:first-child {
  color: var(--white);
  background: var(--dark);
}

.service:first-child p {
  color: #d7dae2;
}

.service__num {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--magenta);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.service h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.service p {
  margin-bottom: 0;
  color: var(--muted);
}

.object-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.object {
  min-height: 250px;
  padding: 30px;
  color: var(--white);
  background: var(--blue);
}

.object:nth-child(2) {
  background: var(--dark);
}

.object:nth-child(3) {
  background: var(--magenta);
}

.object span {
  display: block;
  margin-bottom: 60px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.object h3 {
  margin-bottom: 10px;
  font-size: 23px;
}

.object p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
}

.steps {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: 32px;
  align-items: start;
}

.steps__aside {
  padding: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--magenta));
  color: var(--white);
}

.steps__aside p {
  color: #edf1ff;
}

.steps__list {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.step strong {
  display: inline-flex;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--dark);
  color: var(--white);
}

.step h3 {
  margin-bottom: 6px;
  font-size: 19px;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-hero {
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(47, 47, 47, 0.96), rgba(27, 85, 173, 0.62)),
    var(--dark);
}

.contact-hero__inner {
  padding: 76px 0 68px;
}

.contact-hero p {
  max-width: 720px;
  color: #e4e8f0;
  font-size: 19px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 28px;
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.contact-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card strong {
  font-size: 20px;
}

.brief {
  padding: 32px;
  border-radius: 8px;
  background: var(--dark);
  color: var(--white);
}

.brief p {
  color: #d7dae2;
}

.brief__line {
  height: 5px;
  margin: 24px 0;
  background: linear-gradient(90deg, var(--blue), var(--magenta));
}

.footer {
  background: var(--dark-2);
  color: #e9ecf4;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 32px 0;
}

.footer img {
  width: 218px;
}

.footer small {
  color: #b9bfca;
}

@media (max-width: 980px) {
  .header__inner,
  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero__inner,
  .section__head,
  .steps,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    min-height: auto;
  }

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

  .object {
    min-height: auto;
  }
}

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

  .brand img {
    width: 214px;
  }

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

  .nav__button,
  .button {
    width: 100%;
  }

  .hero__inner {
    padding: 52px 0 46px;
  }

  .hero__tag {
    position: static;
    max-width: none;
    border-radius: 0;
  }

  .section {
    padding: 60px 0;
  }

  .step {
    grid-template-columns: 1fr;
  }
}
