* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: #171717;
  background: #fff;
}

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

button {
  font: inherit;
}

.hero {
  min-height: 582px;
  position: relative;
  color: #fff;
  overflow: hidden;
  background: #070908;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .54) 0%, rgba(0, 0, 0, .41) 29%, rgba(0, 0, 0, .1) 62%, rgba(0, 0, 0, .21) 100%),
    linear-gradient(180deg, rgba(5, 10, 12, .37) 0%, rgba(5, 10, 12, .06) 44%, rgba(3, 5, 7, .55) 100%),
    radial-gradient(circle at 78% 34%, rgba(157, 190, 71, .1), transparent 28%);
  backdrop-filter: saturate(.9);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 9, 8, .6) 0%, rgba(7, 9, 8, .46) 5%, rgba(7, 9, 8, 0) 18%, rgba(7, 9, 8, 0) 82%, rgba(7, 9, 8, .37) 95%, rgba(7, 9, 8, .6) 100%),
    linear-gradient(180deg, rgba(7, 9, 8, .6) 0%, rgba(7, 9, 8, 0) 16%, rgba(7, 9, 8, 0) 76%, rgba(7, 9, 8, .53) 100%);
  pointer-events: none;
}

.heroVideoWrap {
  position: absolute;
  inset: -1px;
  z-index: 0;
  overflow: hidden;
}

.heroVideoWrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  box-shadow: inset 0 0 80px 26px rgba(7, 9, 8, .72);
  pointer-events: none;
}

.heroVideo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(.96) contrast(1.02) brightness(.96);
}

.header,
.heroContent,
.heroFeatures,
.sectionHead,
.cards {
  width: min(100%, 1360px);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.header {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 34px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.homeIcon {
  position: relative;
  width: 42px;
  height: 34px;
  flex: 0 0 42px;
  border: 3px solid #fff;
  border-top: 0;
  border-radius: 2px;
}

.homeIcon::before {
  content: "";
  position: absolute;
  left: 3px;
  top: -13px;
  width: 29px;
  height: 29px;
  border-left: 3px solid #fff;
  border-top: 3px solid #fff;
  transform: rotate(45deg);
  transform-origin: center;
}

.homeIcon::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -17px;
  width: 5px;
  height: 9px;
  background: #fff;
  border-radius: 1px;
}

.brand strong {
  display: block;
  font-size: 28px;
  line-height: .95;
}

.brand small {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 35px;
  font-size: 16px;
  font-weight: 800;
}

.nav a {
  white-space: nowrap;
}

.contacts {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
}

.phone {
  font-size: 20px;
  font-weight: 800;
}

.contacts button,
.primary {
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(180deg, #9fbd42, #739329);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}

.contacts button {
  min-width: 174px;
  height: 46px;
}

.heroContent {
  padding: 33px 34px 0;
}

.copy {
  max-width: 600px;
}

h1 {
  margin: 0;
  font-size: 58px;
  line-height: 1.13;
  letter-spacing: 0;
  font-weight: 900;
}

.copy p {
  width: 540px;
  margin: 22px 0 0;
  font-size: 24px;
  line-height: 1.45;
  font-weight: 500;
}

.actions {
  display: flex;
  gap: 24px;
  margin-top: 40px;
}

.actions a {
  width: 300px;
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-size: 16px;
  font-weight: 800;
}

.secondary {
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(0, 0, 0, .24);
}

.heroFeatures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  padding: 52px 34px 34px;
}

.heroFeature {
  display: flex;
  align-items: center;
  gap: 17px;
}

.heroFeature span {
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, .92);
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  line-height: 1;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 42px 42px;
  box-shadow: 0 0 18px rgba(255, 255, 255, .08);
}

.heroFeature:nth-child(1) span {
  background-image: url("/hero-symbol-1.png");
}

.heroFeature:nth-child(2) span {
  background-image: url("/hero-symbol-2.png");
}

.heroFeature:nth-child(3) span {
  background-image: url("/hero-symbol-3.png");
}

.heroFeature:nth-child(4) span {
  background-image: url("/hero-symbol-4.png");
}

.heroFeature p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 700;
}

.heroFeature b {
  font-size: 16px;
}

.advantages {
  position: relative;
  padding: 29px 76px 70px;
  background: #fff;
}

.sectionHead {
  padding: 0 0 15px;
}

.sectionHead h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: 0;
}

.sectionHead i {
  display: block;
  width: 43px;
  height: 3px;
  margin-top: 18px;
  background: #789c2a;
}

.cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.card {
  min-height: 330px;
  padding: 22px 18px 24px;
  border: 1px solid #dedede;
  border-radius: 8px;
  text-align: center;
  background: rgba(255, 255, 255, .96);
  display: flex;
  flex-direction: column;
}

.icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 12px;
  flex: 0 0 92px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.card:nth-child(1) .icon {
  background-image: url("/advantage-icon-1.png");
}

.card:nth-child(2) .icon {
  background-image: url("/advantage-icon-2.png");
}

.card:nth-child(3) .icon {
  background-image: url("/advantage-icon-3.png");
}

.card:nth-child(4) .icon {
  background-image: url("/advantage-icon-4.png");
}

.card:nth-child(5) .icon {
  background-image: url("/advantage-icon-5.png");
}

.card:nth-child(6) .icon {
  background-image: url("/advantage-icon-6.png");
}

.card h3 {
  min-height: 34px;
  margin: 0 0 11px;
  font-size: 16px;
  line-height: 1.15;
}

.card p {
  min-height: 48px;
  margin: 0 auto 24px;
  font-size: 15px;
  line-height: 1.45;
}

.card ul {
  display: grid;
  gap: 14px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
  font-size: 12px;
}

.card li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.card li::before {
  content: "✓";
  color: #5f8d1d;
  font-weight: 800;
  flex: 0 0 auto;
}

.arrow {
  position: absolute;
  z-index: 2;
  top: 216px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #242424;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .15);
}

.arrow.left {
  left: 31px;
}

.arrow.right {
  right: 31px;
}

.calculatorCta {
  padding: 0 18px 72px;
  background:
    radial-gradient(circle at top right, rgba(123, 158, 44, .16), transparent 32%),
    linear-gradient(180deg, #f6f7f1 0%, #eef1e7 100%);
}

.calculatorCtaInner {
  width: min(100%, 1360px);
  margin: 0 auto;
  padding: 38px 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .88)),
    url("/hero-bg.png") center/cover;
  box-shadow: 0 22px 50px rgba(23, 29, 17, .12);
}

.calculatorCtaCopy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #5e7d1e;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.calculatorCtaCopy h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.15;
}

.calculatorCtaCopy p:last-child {
  margin: 16px 0 0;
  max-width: 690px;
  font-size: 17px;
  line-height: 1.6;
}

.calculatorCtaButton {
  min-width: 292px;
  min-height: 62px;
  padding: 0 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  background: linear-gradient(180deg, #9fbd42, #739329);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}

@media (max-width: 1100px) {
  .nav {
    display: none;
  }

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

  .hero {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  body {
    overflow-x: hidden;
  }

  .header {
    height: auto;
    padding: 18px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .brand strong {
    font-size: 24px;
  }

  .contacts {
    flex: 1 1 100%;
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
  }

  .phone {
    font-size: 16px;
  }

  .contacts button {
    min-width: 0;
    width: 152px;
    font-size: 14px;
  }

  .heroContent {
    padding: 52px 18px 0;
  }

  .copy {
    max-width: calc(100vw - 36px);
  }

  h1 {
    font-size: 33px;
    line-height: 1.17;
  }

  .copy p {
    width: auto;
    max-width: calc(100vw - 36px);
    font-size: 18px;
  }

  .actions {
    flex-direction: column;
  }

  .actions a {
    width: 100%;
  }

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

  .heroFeatures {
    padding: 48px 18px 28px;
  }

  .advantages {
    padding: 28px 18px 46px;
  }

  .sectionHead h2 {
    font-size: 28px;
  }

  .calculatorCta {
    padding: 0 18px 48px;
  }

  .calculatorCtaInner {
    padding: 28px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .calculatorCtaCopy h2 {
    font-size: 30px;
  }

  .calculatorCtaCopy p:last-child {
    font-size: 16px;
  }

  .calculatorCtaButton {
    width: 100%;
    min-width: 0;
  }

  .arrow {
    display: none;
  }
}
