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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #1f2933;
  background: #ffffff;
  line-height: 1.6;
}

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

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

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* Header */

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

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

.logo {
  font-size: 24px;
  font-weight: 900;
  color: #173b6c;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 600;
}

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

.nav a:hover {
  color: #1d4ed8;
}

/* Hero */

.hero {
  min-height: 680px;
  display: flex;
  align-items: center;
  color: #ffffff;
  background-color: #10243f;
  background-image:
    linear-gradient(90deg, rgba(8, 28, 55, 0.92), rgba(8, 28, 55, 0.55)),
    url("/images/hero.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero__content {
  display: flex;
  align-items: center;
}

.hero__text {
  max-width: 760px;
}

.badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.08;
  font-weight: 900;
}

.hero p {
  max-width: 680px;
  margin-bottom: 34px;
  font-size: 20px;
  color: #e5e7eb;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

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

.btn--primary {
  background: #f97316;
  color: #ffffff;
}

.btn--primary:hover {
  background: #ea580c;
}

.btn--secondary {
  background: #ffffff;
  color: #173b6c;
}

.btn--secondary:hover {
  background: #eff6ff;
}

/* Sections */

.section {
  padding: 90px 0;
}

.section--gray {
  background: #f3f6fa;
}

.section--dark {
  background: #10243f;
  color: #ffffff;
}

.section h2 {
  margin-bottom: 22px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  color: inherit;
}

.section p {
  margin-bottom: 16px;
  font-size: 17px;
  color: #4b5563;
}

.section--dark p {
  color: #d1d5db;
}

.section__lead {
  max-width: 820px;
  margin-bottom: 40px !important;
  font-size: 18px !important;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}

.image-card {
  overflow: hidden;
  min-height: 360px;
  border-radius: 22px;
  background: #dbe3ee;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}

.image-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

/* Cards */

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

.card {
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #dbe3ee;
}

.card h3 {
  padding: 24px 24px 8px;
  font-size: 22px;
  color: #173b6c;
}

.card p {
  padding: 0 24px 28px;
  margin: 0;
  font-size: 16px;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  min-height: 260px;
  padding: 28px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #173b6c;
  color: #ffffff;
  font-weight: 800;
}

.step h3 {
  margin-bottom: 12px;
  font-size: 21px;
  color: #173b6c;
}

.step p {
  margin: 0;
  font-size: 16px;
}

/* List */

.list {
  margin-top: 22px;
  list-style: none;
}

.list li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 30px;
  color: #f3f4f6;
}

.list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #f97316;
  font-weight: 900;
}

/* Benefits */

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

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

.benefit {
  padding: 24px;
  border-radius: 18px;
  background: #f3f6fa;
  border-left: 5px solid #f97316;
}

.benefit strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  color: #173b6c;
}

.benefit span {
  color: #4b5563;
}

/* Contacts */

.contacts {
  padding: 90px 0;
  text-align: center;
  color: #ffffff;
  background-color: #10243f;
  background-image:
    linear-gradient(rgba(8, 28, 55, 0.9), rgba(8, 28, 55, 0.9)),
    url("/images/contacts-bg.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.contacts__inner {
  max-width: 850px;
}

.contacts h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.15;
}

.contacts p {
  margin-bottom: 22px;
  font-size: 19px;
  color: #e5e7eb;
}

.contacts__phone {
  display: inline-block;
  margin: 12px 0;
  padding: 18px 30px;
  border-radius: 12px;
  background: #f97316;
  color: #ffffff;
  font-size: 28px;
  font-weight: 900;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.contacts__phone:hover {
  background: #ea580c;
  transform: translateY(-2px);
}

.contacts__note {
  margin-top: 10px;
  font-size: 16px !important;
}

/* Footer */

.footer {
  padding: 26px 0;
  background: #071529;
  color: #d1d5db;
}

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

.footer p {
  margin: 0;
}

.footer a {
  font-weight: 800;
  color: #ffffff;
}

/* Responsive */

@media (max-width: 992px) {
  .grid-2,
  .benefits {
    grid-template-columns: 1fr;
  }

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

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

  .hero {
    min-height: 620px;
  }
}

@media (max-width: 768px) {
  .header__inner {
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    min-height: 600px;
    text-align: left;
  }

  .hero p {
    font-size: 18px;
  }

  .cards,
  .steps,
  .benefit-items {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .contacts__phone {
    width: 100%;
    font-size: 22px;
  }

  .image-card,
  .image-card img {
    min-height: 260px;
  }
}