﻿.hero-home {
  background-image: url('../img/home/home_bg_top.png');
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
}

.hero-home__inner {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 24px;
  align-items: flex-start;
  min-height: 620px;
  padding-top: 185px;
}

.hero-home__content {
  max-width: 650px;
  padding-bottom: 72px;
}

.hero-home__title {
  margin: 0;
  min-width: 650px;
  font-family: "Rubik One", sans-serif;
  font-weight: 400;
  font-size: clamp(56px, 9vw, 114px);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #fff;
}

.hero-home__brand {
  display: inline-block;
  margin: 18px 0 16px;
  background: var(--brand-green);
  color: #fff;
  border-radius: 6px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1;
  font-weight: 700;
  padding: 12px 16px 14px;
  text-transform: uppercase;
}

.hero-home__text {
  margin: 0;
  max-width: 560px;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}

.hero-home__visual {
  width: 100%;
  min-height: 520px;
  border-radius: 18px;
  margin: 50px 0;
}

.hero-home__image {
  display: block;
  width: 100%;
  height: auto;
}

.services-home {
  margin-top: 36px;
  margin-bottom: 24px;
}

.front-title {
  margin: 0 0 56px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  padding: 14px 24px 16px;
  font-weight: 800;
  font-size: 45px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  text-transform: uppercase;
  text-shadow: 3px 4px 7.2px #00000040;
}

.front-title::before {
  content: "";
  position: absolute;
  inset: -10px -20px;
  z-index: -1;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  pointer-events: none;
  width: 900px;
  height: 450px;
  left: -150px;
  top: -150px;
}

.services-home .front-title::before {
  background-image: url('../img/home/title/1.svg');
}

.process-home .front-title::before {
  width: 1100px;
  background-image: url('../img/home/title/2.svg');
}

.partners-home .front-title::before {
  width: 1100px;
  background-image: url('../img/home/title/3.svg');
}

.services-home__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 20px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.service-card {
  min-height: 98px;
  display: grid;
  grid-template-columns: 96px 1fr;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(241, 247, 251, 0.82);
  box-shadow: 0 6px 16px rgba(16, 38, 57, 0.12);
}

.service-card__icon {
  background: var(--brand-green);
  display: grid;
  place-items: center;
}

.service-card__icon-image {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
}

.service-card__title {
  margin: 0;
  padding: 18px 16px;
  align-self: center;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  line-height: 19px;
  line-height: 1.35;
  font-weight: 600;
  color: #1f2f3d;
}

@media (max-width: 1600px) {
  .service-card__title {
    font-size: 16px;
  }
}

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

  .service-card__title {
    font-size: 15px;
  }
}

@media (max-width: 1160px) {
  .hero-home__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 130px;
  }

  .hero-home__content {
    padding-bottom: 16px;
  }

  .hero-home__visual {
    min-height: 380px;
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .services-home__grid {
    grid-template-columns: 1fr;
  }

  .services-home__title {
    margin-bottom: 16px;
  }

  .service-card {
    grid-template-columns: 80px 1fr;
    min-height: 84px;
  }

  .service-card__icon-image {
    width: 40px;
    height: 40px;
  }

  .service-card__title {
    font-size: 18px;
    padding: 12px 12px;
  }
}

@media (max-width: 760px) {
  .hero-home {
    padding-top: 24px;
  }

  .hero-home__brand {
    font-size: clamp(20px, 8vw, 34px);
  }

  .hero-home__title {
    min-width: 0;
  }
}

.process-home {
  margin: 130px auto;
}

.process-home__title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.process-home__scroller {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 8px 8px;
  scrollbar-width: thin;
  position: relative;
  z-index: 1;
}

.process-home__track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  gap: 20px;
  min-width: 1100px;
}

.process-step {
  display: grid;
  grid-template-rows: 335px 149px auto;
}

.process-step__text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-right: 8px;
  margin-bottom: 54px;
}

.process-step__label {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: var(--brand-green);
  font-family: "Rubik", sans-serif;
  font-family: Rubik;
  font-weight: 300;
  font-size: 24px;
  line-height: 42px;
  letter-spacing: 0%;
  vertical-align: middle;

}

.process-step__num {
  font-weight: 600;
  font-size: 24px;
  line-height: 42px;
  letter-spacing: 0%;
  vertical-align: middle;
}

.process-step__text {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
  color: #162937;
}

.process-step__media {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #d9e5ec;
}

.process-step__image {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 4px;
}

@media (max-width: 1160px) {
  .process-step {
    grid-template-rows: 176px 52px auto;
  }
}

@media (max-width: 760px) {
  .process-home {
    margin-top: 32px;
    margin-bottom: 28px;
    padding: 22px 8px 18px;
    border-radius: 24px;
  }

  .process-home__track {
    min-width: 980px;
    gap: 14px;
  }

  .process-step {
    grid-template-rows: 166px 52px auto;
  }

  .process-step__label {
    font-size: 16px;
  }

  .process-step__text {
    margin-top: 8px;
    font-size: 15px;
  }

  .process-step__image {
    height: 118px;
  }
}

.partners-home {
  margin-top: 64px;
  margin-bottom: 120px;
}

.partners-home__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 199.1256px));
  gap: 18px 16px;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.partner-card {
  width: 200px;
  height: 185px;
  border-radius: 4px;
  overflow: hidden;
  opacity: 1;
  background: rgba(239, 248, 255, 0.6);
  box-shadow: 3px 1px 9.1px #00000040;
}

.partner-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 14px;
}

@media (max-width: 1220px) {
  .partners-home__grid {
    grid-template-columns: repeat(4, minmax(0, 199.1256px));
    justify-content: center;
  }
}

@media (max-width: 980px) {
  .partners-home__grid {
    grid-template-columns: repeat(3, minmax(0, 199.1256px));
  }
}

@media (max-width: 760px) {
  .partners-home {
    margin-top: 36px;
    margin-bottom: 34px;
  }

  .partners-home__grid {
    grid-template-columns: repeat(2, minmax(0, 199.1256px));
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .partners-home__grid {
    grid-template-columns: minmax(0, 199.1256px);
  }
}
