.hero {
  height: auto;
  padding-bottom: 80px;
  background: url('../images/hero/service-hero-bg.webp') top center / cover no-repeat;
}

.hero__image {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-40%);
  max-width: 800px;
  max-height: 800px;
}

.hero__title {
  line-height: 135%;
  font-weight: 500;
  letter-spacing: -0.02em;
  max-width: 602px;
  padding-top: 200px;
  margin-bottom: 20px;
}

.hero__text {
  font-size: 20px;
  font-weight: 500;
  max-width: 602px;
  margin-bottom: 42px;
}

.hero__text span {
  color: var(--accent);
}

.hero__title::after {
  content: '';
  display: none;
}

.hero__list {
  max-width: 556px;
  flex-direction: column;
  row-gap: 35px;
  margin-bottom: 70px;
}

.hero__list-item {
  align-items: center;
}

.hero__item-icon svg {
  fill: var(--white);
}

.hero__item-text {
  font-size: 18px;
  font-weight: 600;
  line-height: 160%;
  letter-spacing: -0.02em;
}

.hero__item-text span {
  color: rgba(27, 132, 255, 0.96);
  text-decoration: underline;
}


/* PARTNERS SECTION */
.partners {
  padding: 40px;
  background-color: var(--gray);
  border-radius: 26px;
}

.parters.section-gap {
  margin-top: 80px;
}

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

.parter {
  background-color: var(--white);
  padding: 20px;
  border-radius: 3px;
}

/* ==== WORK ADVANTAGES SECTION ==== */
.workAdvantages {
  display: flex;
  column-gap: 86px;
}

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

.workAdvantage:nth-child(1) {
  max-width: 283px;
}
.workAdvantage:nth-child(2) {
  max-width: 359px;
}
.workAdvantage:nth-child(3) {
  max-width: 289px;
}
.workAdvantage:nth-child(4) {
  max-width: 353px;
}

.workAdvantage__img {
  height: 213px;
  margin-bottom: 24px;
  align-items: flex-end;
}

.workAdvantage__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.workAdvantage__title {
  font-size: 26px;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
}

.workAdvantage__text {
  font-size: 18px;
  font-weight: 500;
  line-height: 160%;
  letter-spacing: -0.02em;
}

/* ==== WHY ARE WE SECTION ==== */
.why {
  background: url('../images/service-why-bg.jpg') top center / cover no-repeat;
  padding-top: 80px;
  padding-bottom: 80px;
}
.why__inner {
  display: flex;
  column-gap: 80px;
}

.why__slider-wrapper {
  width: 50%;
}

/* why slider */
.why__slider {
  margin-bottom: 10px;
  height: 400px;
}

.why__slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why__slider .swiper-button {
  height: 60px;
  width: 60px;
  margin: 0;
  border: 1px solid var(--white);
  border-radius: 100%;
  background-color: transparent;
  transform: translateY(-50%);
  transition: background-color 0.3s;
}

.why__slider .swiper-button:hover {
  background-color: var(--gray);
}

.swiper-button-prev--why::after {
  font-size: 0;
  content: url('../images/icons/nav-arrow-white.svg');
} 

.swiper-button-next--why::after {
  font-size: 0;
  content: url('../images/icons/nav-arrow-white.svg');
  transform: rotate(180deg);
} 

.why__slider .swiper-button:hover::after {
  content: url('../images/icons/nav-arrow.svg');
} 

/* thumbs */
.thumbsSwiper {
  height: 100px;
}

.thumbsSwiper .swiper-slide {
  width: 25%;
  height: 100%;
  opacity: 0.4;
  cursor: pointer;
}

.thumbsSwiper .swiper-slide-thumb-active {
  opacity: 1;
}

.thumbsSwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* content */
.why__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why__content-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.why__content-title span {
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
}

.why__content-list {
  display: flex;
  flex-direction: column;
  max-width: 430px;
}

.why__content-list__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 130%;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.why__content ul li {
  font-size: 18px;
  line-height: 130%;
  padding-left: 22px;
  position: relative;
  margin-bottom: 20px;
}

.why__content ul li::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 100%;
  background-color: var(--accent);
}


/* ====== TEAM SECTION ====== */
.team {
  margin-top: var(--section-gap);
}
.team__title::after {
  content: '';
  display: none;
}

/* ==== PRODUCTS SECTION ==== */
.products__grid {
  --grid-columns: 4;
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), 1fr);
  gap: 20px;
}

.product {
  min-height: 460px;
  padding: 20px;
  position: relative;

  display: flex;
  flex-direction: column;

  border-radius: 20px;
  background-color: var(--gray);
}

/* --------------- */
.product__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding-left: 5px;
  padding-right: 5px;
}

.product__image {
  background-color: var(--white);
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 20px;
}

.product__title {
  font-size: 20px;
  text-align: center;
  font-weight: 700;
  line-height: 130%;
  letter-spacing: -0.01em;
  margin-bottom: 15px;
}

.product__popupButton {
  margin-top: auto;
  margin-bottom: 10px;
}

.product__popupButton {
  background-color: var(--white);
  color: var(--accent);
}

.product__body button {
  font-weight: 500;
  padding: 12px 10px;
  border-radius: 12px;
}

.product__orderButton {
  background-color: var(--accent);
  color: var(--white);
}

/* PRODUCT POPUP */
.product__modal-wrapper {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  padding: 20px 0;
  
  position: fixed;
  inset: 0;
  z-index: 101;
  
  overflow: hidden;

  display: none;
  justify-content: center;
  align-items: center;

  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
}

.product__modal-wrapper.active {
  display: flex;
}

.product__modal {
  width: 1000px;
  height: 100%;
  flex-direction: column;

  position: relative;

  display: none;
  background-color: var(--white);
}

.product__modal-header {
  width: 100%;
  padding: 25px 40px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--accent);
}

.product__modal-header .section-title {
  margin-bottom: 0;
  color: var(--white);
}

.product__modal-close {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  margin-left: 20px;
  border-radius: 100%;
  background-color: var(--white);
  transition: background-color 0.4s;
}

.product__modal-close svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
  transition: fill 0.4s;
}

.product__modal-close:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.product__modal-close:hover svg {
  fill: var(--white);
}

.product__modal-body {
  padding: 40px;
  overflow-y: scroll;
}

.product__modal-body h4 {
  font-size: 20px;
  font-weight: 700;
  line-height: 130%;
  margin-bottom: 10px;
}

.product__modal-body p {
  line-height: 140%;
  margin-bottom: 16px;
}

.product__modal-body ul {
  margin-bottom: 16px;
}

.product__modal-body ul li {
  line-height: 140%;
  position: relative;
  padding-left: 22px;
  margin-bottom: 16px;
}

.product__modal-body ul li::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 100%;
  background-color: var(--accent);
}

.product__modal-body table {
  text-align: left;
  border-collapse: collapse;
  border: 1px solid #000;
}

.product__modal-body table * {
  border: 1px solid #000;
}

.product__modal-body table th,
.product__modal-body table td {
  padding: 5px;
  font-size: 15px;
}

/* SERVICE ADVANTAGES */
.serviceAdvantages__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 120px;
}

.serviceAdvantage {
  display: flex;
}

.serviceAdvantage__icon {
  background-color: var(--accent);
  border-radius: 12px;
  width: 54px;
  height: 54px;
  margin-right: 20px;
  flex-shrink: 0;
}

.serviceAdvantage__icon svg {
  fill: var(--white);
  height: 32px;
  width: 32px;
}

.serviceAdvantage__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.serviceAdvantage__text {
  line-height: 140%;
}

/* GUARANTEES */
.guarantees {
  padding: 80px;
  color: var(--white);
  background: url('../images/document.png') center right no-repeat, var(--accent);
}

.guarantees__list {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
}

.guarantees__list li {
  font-size: 24px;
  display: flex;
  align-items: center;
}

.guarantees__list-icon {
  width: 58px;
  height: 58px;
  margin-right: 43px;
  flex-shrink: 0;
  border-radius: 10px;
  background-color: var(--white);
}

.guarantees__list-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
}

/* ----------------- */
.guarantees__button {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent);

  padding: 18px 25px;
  margin-top: 60px;

  align-self: flex-start;
  border-radius: 16px;
  background-color: var(--white);
}

/* SEO SECTION */
.seo {
  position: relative;
  width: 100%;
  padding: 60px 0 0;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  /* background-image: url("../images/offer-background-mobile.jpg"); */
  background: var(--gray);
}

.seo__row {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.seo__content {
  max-width: calc(50% - 20px);
  width: 100%;
  position: relative;
  z-index: 2;
  margin-bottom: 72px;
}

.seo__content h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 130%;
  margin-bottom: 20px;
}

.seo__content p {
  font-size: 18px;
  font-weight: 500;
  line-height: 140%;
  margin-bottom: 20px;
}

.seo__content ul {
  margin-bottom: 20px;
}

.seo__content ul li {
  font-size: 18px;
  line-height: 140%;
  position: relative;
  padding-left: 22px;
  margin-bottom: 20px;
}

.seo__content ul li::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 100%;
  background-color: var(--accent);
}

.seo__image {
  position: absolute;
  z-index: 1;
  left: 14px;
  bottom: 28px;
}


@media (width <= 1140px) {
  .hero {
    background-image: url('../images/hero/service-hero-bg-mob.jpg');
    height: auto;
  }
  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 150px;
  }
  .hero__image {
    position: static;
    transform: translateY(0);
    margin-bottom: 30px;
    max-width: 100%;
  }
  .hero__title {
    padding-top: 0;
  }
  .hero__text {
    font-size: 18px;
    text-align: center;
    max-width: 550px;
  }
  .hero__item-text {
    font-size: 16px;
    line-height: 140%;
  }
  .hero__list {
    display: flex;
  }
  .hero__item-icon {
    width: 48px;
    height: 48px;
  }
  .hero__item-icon svg {
    width: 24px;
    height: 24px;
  }
  /* WORK ADVANTAGES */
  .workAdvantages {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .workAdvantage {
    width: 100%;
    max-width: 335px !important;
    padding-bottom: 20px;
    padding-top: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  .workAdvantage:last-child {
    border-bottom: none;
  }
  .workAdvantage__title {
    font-size: 20px;
  }
  .workAdvantage__text {
    font-size: 15px;
    line-height: 140%;
  }
  /* PARTNERS */
  .partners {
    padding: 20px 10px;
    border-radius: 15px;
  }
  .partners__grid {
    --grid-columns: 1;
    grid-template-rows: repeat(6, 1fr);
    row-gap: 10px;
  }

  /* WHY ARE WE? */
  .why {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .why .section-title {
    font-size: 22px;
  }
  .why__inner {
    flex-direction: column;
    row-gap: 80px;
  }
  .why__slider-wrapper {
    width: 100%;
  }
  .why__slider .swiper-button {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.1);
  }
  /* content */
  .why__content-title {
    font-size: 20px;
  }
  .why__content-title span {
    font-size: 16px;
  }
  .why__content-list__title {
    font-size: 18px;
  }
  .why__content ul li {
    font-size: 15px;
  }

  /* PRODUCTS */
  .products__grid {
    --grid-columns: 1;
  }
  .product {
    min-height: 440px;
    padding: 15px;
  }
  .product__title {
    font-size: 18px;
  }
  .product__body button {
    font-size: 15px;
  }

  /* PRODUCT MODAL */
  .product__modal-wrapper {
    padding: 0;
  }
  .product__modal-header {
    padding: 20px;
  }
  .product__modal-header .section-title {
    font-size: 18px;
    text-align: left;
  }
  .product__modal-close {
    width: 36px;
    height: 36px;
  }
  .product__modal-close svg {
    width: 18px;
    height: 18px;
  }
  .product__modal-body {
    padding: 15px;
  }
  .product__modal-body h4 {
    font-size: 17px;
  }
  .product__modal-body p {
    font-size: 14px;
    line-height: 150%;
  }
  .product__modal-body ul li {
    font-size: 14px;
    line-height: 120%;
    margin-bottom: 8px;
    padding-left: 16px;
  }
  .product__modal-body ul li::before {
    width: 8px;
    height: 8px;
  }
  .product__modal-body table th,
  .product__modal-body table td {
    font-size: 13px;
  }

  /* SERVICE ADVANTAGES */
  .serviceAdvantages__grid {
    grid-template-columns: 1fr;
    row-gap: 0;
  }
  .serviceAdvantage {
    flex-direction: column;
    padding-bottom: 20px;
    padding-top: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  .serviceAdvantage__icon {
    margin-bottom: 20px;
  }
  .serviceAdvantage__title {
    font-size: 20px;
  }
  .serviceAdvantage__text {
    font-size: 14px;
  }

  /* GUARANTEES */
  .guarantees {
    height: auto;
    background-image: none;
    padding: 40px 0;
  }
  .guarantees__list {
    row-gap: 20px;
  }
  .guarantees__list li {
    font-size: 16px;
  }
  .guarantees__list-icon {
    width: 32px;
    height: 32px;
    margin-right: 15px;
    border-radius: 7px;
  }
  .guarantees__list-icon svg {
    width: 20px;
    height: 20px;
  }
  .guarantees__button {
    margin-top: 50px;
    font-size: 15px;
    width: 100%;
    padding: 15px 10px;
  }

  /* SEO SECTION */
  .seo {
    padding: 45px 0;
  }
  .seo__row {
    flex-direction: column;
    justify-content: center;
  }
  .seo__content {
    max-width: 100%;
    margin-bottom: 15px;
  }
  .seo__content h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 130%;
    margin-bottom: 15px;
  }
  .seo__content p {
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
    margin-bottom: 15px;
  }
  .seo__content ul {
    margin-bottom: 15px;
  }
  .seo__content ul li {
    font-size: 14px;
    padding-left: 16px;
    margin-bottom: 15px;
  }
  .seo__content ul li::before {
    width: 8px;
    height: 8px;
  }
  .seo__image {
    display: none;
  }
}

@media (1140px >= width > 480px) {
  .hero__title {
    max-width: 400px;
  }
  .hero__list {
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 50px 30px;
  }
  .hero__item-text {
    max-width: 360px;
  }
  .hero__button {
    width: 300px;
  }
}

@media (1140px >= width >= 768px) {
  .hero__list {
    row-gap: 30px;
  }
  .workAdvantages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }
  .workAdvantage {
    padding-top: 0;
    padding-right: 15px;
    padding-left: 15px;
  }
  .workAdvantage:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  .workAdvantage:nth-child(odd) {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
  }
  .workAdvantage__title {
    min-height: 60px;
  }
  /* ---------- */
  .partners {
    padding-bottom: 10px;
  }
  .partners__grid {
    --grid-columns: 2;
    grid-template-rows: auto;
    gap: 10px;
  }
  /* ---------- */
  .products__grid {
    --grid-columns: 2;
  }
  /* -------------- */
  .serviceAdvantages__grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }
  .serviceAdvantage {
    position: relative;
  }
  .serviceAdvantage:nth-child(odd) {
    padding-right: 20px;
  }
  .serviceAdvantage:nth-child(odd)::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 1px;
    top: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.05);
  }
}

@media (1140px >= width >= 870px) {
  .hero {
    background: url('../images/hero/service-hero-bg.webp') center right 50% / cover no-repeat;
    position: relative;
    padding-bottom: 35px;
  }
  .hero__content {
    margin-top: 140px;
    align-items: flex-start;
  }
  .hero__image {
    position: absolute;
    right: -20%;
    transform: translateY(-50%);
    max-width: 500px;
  }
  .hero__title {
    font-size: 36px;
    font-weight: 600;
    text-align: left;
    max-width: 330px;
    margin-bottom: 20px;
  }
  .hero__text {
    text-align: left;
    margin-bottom: 40px;
  }
  .hero__list {
    align-items: flex-start;
    display: flex;
  }
  .hero__list-item {
    align-items: flex-start;
  }
  .hero__item-icon {
    width: 52px;
    height: 52px;
  }
  .hero__item-text {
    text-align: left;
    max-width: 270px;
  }
  .hero__button  {
    width: 300px;
  }
  .why {
    padding-top: 80px;
  }
}

@media (1140px >= width >= 960px) {
  .workAdvantages {
    max-width: 700px;
  }
  /* ------------ */
  .why__inner {
    flex-direction: row;
    column-gap: 40px;
  }

  .why__slider-wrapper {
    width: 60%;
  }

  /* ----------- */
  .guarantees {
    padding-top: 60px;
    padding-bottom: 60px;
    background-image: url('../images/document.png');
    background-position-x: right -40%;
  }
  .guarantees .section-title {
    text-align: left;
  }
  .guarantees__list li {
    font-size: 18px;
    max-width: 450px;
  }
  .guarantees__list-icon {
    width: 42px;
    height: 42px;
  }
  .guarantees__button {
    width: 400px;
  }
}

@media (1140px >= width >= 992px) {
  .hero__image {
    right: 0;
  }
}

@media (1700px >= width > 1140px) {
  .hero__image {
    max-width: 600px;
  }
  .hero__title {
    font-size: 42px;
  }
  .hero__content {
    max-width: 600px;
  }
  /* -------------- */
  .hero__list {
    column-gap: 30px;
  }
  .hero__item-icon {
    margin-right: 15px;
    margin-top: 5px;
  }
  .hero__item-title {
    margin-bottom: 8px;
  }
  .hero__item-text {
    font-size: 16px;
  }
  /* ----------- */
  .partners__grid {
    --grid-columns: 3;
  }
  /* ---------- */
  .products__grid {
    --grid-columns: 3;
  }
  /* ------------ */
  .serviceAdvantages__grid {
    column-gap: 40px;
  }
  .serviceAdvantage__text {
    max-width: 90%;
  }
  /* -- work advantages -- */
  .workAdvantages {
    column-gap: 10px;
    justify-content: center;
  }
  .workAdvantages.container {
    max-width: 96%;
  }
  .workAdvantage {
    position: relative;
  }
  .workAdvantage:not(:last-child) {
    padding-right: 10px;
  }
  .workAdvantage:not(:last-child)::after {
    content: '';
    height: 80%;
    width: 1px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.05);
  }
  .workAdvantage:nth-child(1) {
    max-width: 295px;
  }
  .workAdvantage:nth-child(2) {
    max-width: 320px;
  }
  .workAdvantage:nth-child(3) .workAdvantage__title {
    max-width: 240px;
  }
  .workAdvantage__title {
    font-size: 20px;
  }
  .workAdvantage__text {
    font-size: 15px;
    max-width: 280px;
  } 
  /* ---------------- */
  .guarantees {
    background-position-x: right -30%;
  }
  .guarantees__list {
    max-width: 560px;
  }
  .guarantees__list li {
    font-size: 20px;
  }
  .guarantees__button {
    width: 400px;
  }
}

@media (1700px >= width >= 1280px) {
  .hero__item-text {
    font-size: 18px;
  }
}

@media (1700px >= width >= 1366px) {
  .products__grid {
    --grid-columns: 4;
  }
  .product {
    padding: 15px;
  }
  .guarantees {
    background-position-x: right;
  }
}