body.is-home {
  background: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 195px 0 219px;
  background: var(--dark) url("../images/home/banner-shape.png") center bottom / cover no-repeat;
  color: var(--white);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
}

.hero__eyebrow {
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
}

.hero__title {
  margin: 12px 0 28px;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
  letter-spacing: 0.02em;
}

.hero__text {
  font-size: 15px;
  line-height: 1.9;
  color: var(--white);
}

.hero__actions {
  margin-top: 34px;
}

.hero__art {
  position: relative;
  text-align: center;
}

.hero__art img {
  margin: 0 auto;
  width: 100%;
  max-width: 704px;
  animation: floatY 6s ease-in-out infinite;
}

.hero__art .hero__badge {
  position: absolute;
  top: -18px;
  left: 4%;
  width: 74px;
  max-width: 74px;
  height: auto;
  margin: 0;
  animation: floatY 7s ease-in-out infinite;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}

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

.services {
  padding: 130px 0 70px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.svc {
  display: flex;
  flex-direction: column;
  min-height: 450px;
  padding: 45px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.svc__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 12px;
  background: #f4f5fa;
}

.svc__icon svg {
  width: 40px;
  height: 40px;
}

.svc__title {
  margin: 35px 0 22px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: #3d415b;
}

.svc__text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: #777;
}

.svc__link {
  margin-top: auto;
  padding-top: 26px;
  font-size: 16px;
  font-weight: 700;
  color: #3d415b;
}

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

.about {
  padding: 40px 0 60px;
}

.about__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 60px;
}

.about__art img {
  width: 100%;
  border-radius: 12px;
}

.about__title {
  margin: 14px 0 26px;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.05;
  color: var(--white);
}

.about__text {
  font-size: 15px;
  line-height: 1.95;
  color: var(--white);
}

.about__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.plans {
  padding: 130px 0 120px;
}

.plans__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 70px;
}

.plan {
  min-height: 631px;
  padding: 63px 40px 55px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow-price);
  text-align: center;
}

.plan__head {
  padding-bottom: 40px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.plan__price {
  font-size: 38px;
  font-weight: 500;
  line-height: 1.55;
  color: #3b3b3b;
}

.plan__cart {
  display: inline-block;
  margin: 6px 0 14px;
  padding: 0 22px;
  border: 2px solid #fe721d;
  border-radius: 3px;
  font-size: 17px;
  font-weight: 600;
  line-height: 51px;
  color: #3b3b3b;
  transition: background 0.25s ease, color 0.25s ease;
}

.plan__cart:hover,
.plan__cart.is-added {
  background: #fe721d;
  color: var(--white);
}

.plan__total {
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
}

.plan__list li {
  padding: 10px 0;
  font-size: 16px;
  color: var(--muted);
}

.tech {
  position: relative;
  padding: 220px 0 250px;
  background: #f7f7fb url("../images/home/tech-bg.png") center / cover no-repeat;
}

.tech__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 70px;
}

.tech-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 82px 30px 70px 65px;
  background: var(--card-blue);
  border-radius: var(--radius);
  color: var(--white);
}

.tech-card__icon {
  width: 67px;
  height: 67px;
  margin-bottom: 20px;
}

.tech-card__title {
  margin-bottom: 18px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--white);
}

.tech-card__text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.95;
  color: var(--white);
}

.work {
  padding: 230px 0 150px;
}

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

.work__row + .work__row {
  margin-top: 120px;
}

.work__row--flip .work__content {
  order: 2;
}

.work__num {
  width: 75px;
  height: 75px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  line-height: 75px;
  text-align: center;
}

.work__title {
  margin-bottom: 26px;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--white);
}

.work__text {
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.95;
  color: var(--white);
}

.work__link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  color: var(--white);
}

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

.work__art img {
  width: 100%;
  animation: floatY 7s ease-in-out infinite;
}

.cta {
  padding: 140px 0 150px;
  background: url("../images/home/cta-bg.png") center / cover no-repeat;
  text-align: center;
  color: var(--white);
}

.cta__title {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--white);
}

.cta__text {
  max-width: 900px;
  margin: 22px auto 0;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
}

.cta__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 46px;
}

.cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  padding: 11px 24px;
  border: 2px solid var(--white);
  border-radius: 3px;
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  transition: background 0.25s ease;
}

.cta__btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.cta__btn svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

.cta__btn span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
}

.cta__more {
  margin-top: 20px;
  font-size: 15px;
}

.cta__more a {
  display: inline-block;
  padding: 8px 0;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

@media (max-width: 1200px) {
  .plans__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .hero {
    padding: 150px 0 120px;
    background-position: center top;
  }

  .hero__grid,
  .about__grid,
  .work__row {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: 40px;
  }

  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services,
  .plans,
  .work {
    padding: 90px 0;
  }

  .tech {
    padding: 130px 0 150px;
  }

  .about__title,
  .work__title {
    font-size: 32px;
  }

  .cta__title {
    font-size: 38px;
  }

  .work__row + .work__row {
    margin-top: 70px;
  }

  .work__row--flip .work__content {
    order: 0;
  }
}

@media (max-width: 768px) {
  .services__grid,
  .tech__grid,
  .plans__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero__art .hero__badge {
    top: -10px;
    width: 56px;
    max-width: 56px;
  }

  .work__link {
    display: inline-block;
    padding: 10px 0;
  }

  .cta__btn span {
    font-size: 12px;
  }

  .svc {
    min-height: 0;
    padding: 32px;
  }

  .plan {
    min-height: 0;
    padding: 40px 26px 34px;
  }

  .tech-card {
    min-height: 0;
    padding: 46px 28px;
  }

  .hero__title {
    font-size: 34px;
  }

  .about__title,
  .work__title {
    font-size: 27px;
  }

  .cta__title {
    font-size: 30px;
  }

  .cta__btn {
    min-width: 0;
    width: 100%;
    max-width: 280px;
  }
}
