* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}

html,
body {
  scroll-behavior: smooth;
}

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

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

.container {
  max-width: 1280px;
  padding-inline: 55px;
  margin-inline: auto;
}

.header {
  height: 80px;
  position: relative;
  background-color: #192024;
  z-index: 2;
}

.header__nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  font-size: 0;
}

.input {
  background: #3a1c82;
  border: 1px solid #7851d5;
  border-radius: 16px;
  padding-inline: 15px;
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  color: #fff;
  height: 58px;
  outline: none !important;
}

.input::placeholder {
  color: #d6d6d6;
}

.btn {
  height: 58px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 20px;
  line-height: 30px;
  border: none;
  cursor: pointer;
}

.btn--purple {
  transition: background 0.15s;
  background: #5653d7;
  border-radius: 16px;
  color: #fff;
}

.btn--purple:hover {
  background: #4340ba;
}

.screen-1 {
  padding-top: 110px;
  padding-bottom: 110px;
  margin-top: -80px;
  background-color: #192024;
}

.screen-1__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 120px;
  align-items: center;
}

.screen-1__title {
  font-weight: 800;
  font-size: 50px;
  line-height: 63px;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
}

.screen-1__title span {
  color: #ffcf72;
}

.screen-1__text {
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  color: #d6d6d6;
}

.screen-1__bottom-grid-title {
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
}

.screen-1__bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.screen-1__bottom-grid-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  color: #fff;
}

.screen-1__bottom-grid-item > img {
  position: relative;
  top: 6px;
}

.screen-2 {
  padding-top: 110px;
  padding-bottom: 110px;
}

.screen-2__title {
  font-weight: 800;
  font-size: 42px;
  line-height: 52px;
  text-align: center;
  letter-spacing: 0.005em;
  color: #262626;
  margin-bottom: 40px;
}

.screen-2__title span {
  color: #4054f9;
}

.screen-2__price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  margin-bottom: 50px;
}

.screen-2__price-new {
  padding: 12px 30px;
  font-weight: 700;
  font-size: 40px;
  line-height: 48px;
  color: #fff;
  background: #4054f9;
  border-radius: 71px;
}

.screen-2__price-old {
  font-size: 40px;
  line-height: 48px;
  text-decoration-line: line-through;
  color: #262626;
}

.screen-2__price-arrow {
  position: absolute;
  left: calc(50% + 240px);
  top: -31px;
}

.screen-2__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

.screen-2__grid-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  filter: drop-shadow(0px 4px 8px #a7ddff);
  display: grid;
  grid-template-rows: auto 1fr;
}

.screen-2__grid-item-head {
  padding: 30px;
  display: grid;
  grid-template: auto 1fr / 1fr 132px;
  gap: 8px 20px;
}

.screen-2__grid-item-head-pill {
  width: fit-content;
  background: #fff;
  border: 2px solid #4054f9;
  border-radius: 35px;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #4054f9;
  padding-inline: 10px;
}

.screen-2__grid-item-head-img {
  grid-row: 1 / span 2;
  grid-column-start: 2;
  width: 132px;
  height: 132px;
}

.screen-2__grid-item-head-title {
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: #262626;
}

.screen-2__grid-item-head--wheat {
  background-color: #fef0e0;
}

.screen-2__grid-item-head--light {
  background-color: #e2feff;
}

.screen-2__grid-item-head--sky {
  background-color: #def5ff;
}

.screen-2__grid-item-head--tomato {
  background-color: #ffeaeb;
}

.screen-2__grid-item-body {
  padding: 30px;
  background-color: #fff;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 24px;
}

.screen-2__grid-item-li {
  position: relative;
  padding-left: 32px;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #262626;
}

.screen-2__grid-item-li + .screen-2__grid-item-li {
  margin-top: 10px;
}

.screen-2__grid-item-li::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 0;
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_6_1713)'%3E%3Cpath d='M7.19141 11.8457L9.39141 14.0457' stroke='%2342C62C' stroke-width='1.5' stroke-miterlimit='10' stroke-linecap='round'/%3E%3Cpath d='M15.3991 8.46094L9.81445 14.0456' stroke='%2342C62C' stroke-width='1.5' stroke-miterlimit='10' stroke-linecap='round'/%3E%3Cpath d='M10.9995 21.1534C16.6073 21.1534 21.1534 16.6073 21.1534 10.9995C21.1534 5.39173 16.6073 0.845703 10.9995 0.845703C5.39173 0.845703 0.845703 5.39173 0.845703 10.9995C0.845703 16.6073 5.39173 21.1534 10.9995 21.1534Z' stroke='%2342C62C' stroke-width='1.5' stroke-miterlimit='10' stroke-linecap='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_6_1713'%3E%3Crect width='22' height='22' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
}

.screen-2__grid-item-link {
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  color: #4054f9;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.screen-2__btn-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 110px;
}

.screen-2__btn {
  padding-inline: 70px;
}

.screen-2__bottom-card {
  padding: 20px 110px;
  background: #192024;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 42px;
}

.screen-2__bottom-card-text {
  font-weight: 800;
  font-size: 30px;
  line-height: 40px;
  letter-spacing: 0.005em;
  color: #fff;
}

.screen-2__bottom-card-text span {
  color: #ffcf72;
}

.screen-2__bottom-card-img {
  width: 225px;
  height: 225px;
}

.footer {
  overflow: hidden;
  position: relative;
  padding-top: 70px;
  padding-bottom: 70px;
  background-color: #192024;
}

.footer__grid {
  position: relative;
  display: flex;
  justify-content: space-between;
  z-index: 1;
}

.footer__title {
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  color: #fff;
  margin-bottom: 24px;
}

.footer__link-classic {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 16px;
  line-height: 28px;
  color: #c4c1c1;
  margin-bottom: 4px;
}

.footer__link-messenger-container {
  display: flex;
  gap: 33px;
  margin-top: 24px;
}

.footer__link-messenger {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  gap: 4px;
}

.footer__link-media {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.footer__link-media-item {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #323b41;
}

.footer__link-mobile {
  display: flex;
  gap: 8px;
  line-height: 0;
  margin-bottom: 40px;
}

.footer__link-terms {
  font-weight: 500;
  font-size: 16px;
  line-height: 28px;
  text-decoration-line: underline;
  color: #c4c1c1;
}

@media (max-width: 1279px) {
  .header__nav {
    justify-content: center;
  }

  .screen-1__grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 32px;
  }

  .screen-1__title {
    text-align: center;
  }

  .screen-1__text {
    text-align: center;
  }

  .screen-2__grid {
    grid-template-columns: 1fr;
  }

  .screen-2__bottom-card {
    padding: 20px 50px;
    gap: 30px;
  }
}

@media (max-width: 959px) {
  .screen-1__bottom-grid {
    grid-template-columns: 1fr;
  }

  .screen-2__price-arrow {
    display: none;
  }

  .screen-2__grid-item-head {
    gap: 8px 12px;
  }

  .screen-2__bottom-card {
    padding: 50px 24px;
    flex-direction: column;
  }

  .screen-2__bottom-card-text {
    text-align: center;
  }
}

@media (max-width: 599px) {
  .header__logo {
    scale: 0.78;
  }

  .screen-1 {
    padding-top: 80px;
    padding-bottom: 50px;
  }

  .screen-1__grid {
    gap: 20px;
    margin-bottom: 30px;
  }

  .screen-1__title {
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 18px;
  }

  .screen-1__text {
    font-size: 16px;
    line-height: 24px;
  }

  .screen-1__bottom-grid-title {
    font-size: 16px;
    line-height: 25px;
    margin-bottom: 20px;
  }

  .screen-1__bottom-grid {
    gap: 20px;
  }

  .screen-1__bottom-grid-item {
    font-size: 12px;
    line-height: 18px;
    align-items: center;
  }

  .screen-1__bottom-grid-item > img {
    position: static;
  }

  .screen-2 {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .screen-2__title {
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 16px;
  }

  .screen-2__price {
    gap: 10px;
    margin-bottom: 30px;
  }

  .screen-2__price-new {
    font-size: 20px;
    line-height: 28px;
    padding: 6px 20px;
  }

  .screen-2__price-old {
    font-size: 20px;
    line-height: 28px;
  }

  .screen-2__grid {
    gap: 20px;
    margin-bottom: 30px;
  }

  .screen-2__grid-item-head-pill {
    font-size: 12px;
    line-height: 18px;
    padding: 1px 10px;
  }

  .screen-2__grid-item-head-title {
    font-size: 16px;
    line-height: 22px;
  }

  .screen-2__grid-item-head {
    padding: 20px;
    grid-template: auto 1fr / 1fr 64px;
  }

  .screen-2__grid-item-head-img {
    width: 64px;
    height: 64px;
  }

  .screen-2__grid-item-body {
    padding: 20px;
  }

  .screen-2__grid-item-li {
    font-size: 14px;
    line-height: 20px;
  }

  .screen-2__grid-item-link {
    font-size: 14px;
    line-height: 20px;
  }

  .screen-2__btn-wrapper {
    margin-bottom: 50px;
  }

  .screen-2__btn {
    width: 100%;
  }

  .screen-2__bottom-card {
    padding: 30px 18px;
    gap: 10px;
  }

  .screen-2__bottom-card-text {
    font-size: 20px;
    line-height: 28px;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .btn {
    height: 50px;
    font-size: 16px;
    line-height: 26px;
  }

  .footer {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .footer__grid {
    flex-direction: column;
    align-items: center;
  }

  .footer__title {
    text-align: center;
  }

  .footer__link-classic {
    justify-content: center;
  }

  .footer__link-messenger-container {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 38px;
  }

  .footer__link-media {
    justify-content: center;
  }

  .footer__link-mobile {
    justify-content: center;
  }
}
