@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,600;0,700;1,300&display=swap");

:root {
  --dark-blue: #0f2043;
  --blue-color: #0000ff;
  --yellow-color: #f6e701;
  --dark-grey-color: #4b5872;
  --white-color: #fff;
  --black-color: #444444;
  --black-transperet-color: rgba(21, 21, 21, 0.8);
  --main-font-size: 16px;
  --light-font-size: 14px;
  --medium-font-size: 18px;
  --title-font-size: 42px;
  --subtitle-font-size: 24px;
  --intro-font-size: 70px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: var(--main-font-size);
  line-height: 1.125; /* 18/16 */
  color: var(--dark-blue);
}

body._lock {
  overflow: hidden;
}

section {
  padding: 90px 0 50px 0;
}

ul {
  list-style: none;
}

a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  object-fit: cover;
}

button {
  background-color: transparent;
  color: inherit;
  border: none;
  font-family: inherit;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: clip;
}

.page {
  flex: 1 1 auto;
}

[class*="__container"] {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 10px;
}

.btn {
  background-color: var(--yellow-color);
  border-radius: 1.25rem;
  font-size: 0.875rem;
  line-height: 1;
  font-weight: 600;
  padding: 20px 42px;
  transition: all 0.5s ease-in-out;
  box-shadow: 3px 5px 50px 4px rgba(112, 144, 176, 0.32);
}

.section__title {
  font-size: var(--title-font-size);
  line-height: 1;
  font-weight: 600;
  margin-bottom: 60px;
  text-align: center;
}

/* Header Style */

.header {
  background-color: var(--black-transperet-color);
  color: var(--white-color);
}

.header--scroll {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--black-color);
  z-index: 1000;
}

.header__wrapper {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4063rem 0;
}

.logo__wrapper {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-style: italic;
  font-size: var(--light-font-size);
  cursor: default;
}

.logo__descr {
  max-width: 6.25rem;
}

.menu__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* width: 100%; */
  flex: 1 1 100%;
}

.menu__list {
  display: flex;
  gap: 1.5625rem;
  align-items: center;
  font-size: var(--light-font-size);
  font-weight: 700;
  line-height: 1.14; /* 16/14 */
  text-transform: uppercase;
  flex: 1 1 100%;
}

.menu__item {
  transition: all 0.5s ease;
  position: relative;
}

.menu__item::before {
  content: "";
  width: 0;
  height: 3px;
  background-color: var(--yellow-color);
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 0.625rem;
  transition: width 0.5s ease-in-out;
}

.phone__btn {
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

.phone__btn--header {
  font-weight: 600;
}

.icon-menu__wrapper {
  display: none;
}

/* Intro Section */
.intro {
  background: url("/assets/image/bg-img.jpg") center/cover no-repeat;
  height: calc(100vh - 90px);
}

.intro__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.title--intro {
  max-width: 605px;
  font-size: var(--intro-font-size);
  line-height: 1.03;
  font-weight: 700;
}

.intro__subtitle {
  max-width: 560px;
  font-size: var(--subtitle-font-size);
  line-height: 1.45833333;
  margin: 42px 0 62px;
}

/* sercvices section */

.services__wrapper {
  display: flex;
  flex-wrap: wrap;
}

.services__item {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 70px;
  border-radius: 20px;
  scale: 1;
  transition: all 0.3s ease-in-out;
}

.services__item:nth-last-child(1),
.services__item:nth-last-child(2),
.services__item:nth-last-child(3) {
  padding-bottom: 0;
}

.item-services__img {
  margin: 24px 0 10px;
}

.item-services__title {
  font-size: var(--subtitle-font-size);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 25px;
}

.item-services__descr {
  max-width: 300px;
  font-size: var(--main-font-size);
  line-height: 1.625;
  /* margin-bottom: 70px; */
}

/* Step works section */

.step-work {
  background: url(../image/subbg-img.jpg) center/cover no-repeat;
}

/* .step-work__container {

} */

.step-work__wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto 50px auto;
  grid-row-gap: 24px;
}

.step-work__steps {
  display: flex;
  justify-content: space-between;
  /* max-width: 920px; */
  width: 70%;
  position: relative;
  grid-area: 2 / 1 / 3 / 4;
  justify-self: center;
}

.steps__item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: var(--white-color);
  border: 3px solid var(--blue-color);
  border-radius: 50%;
  font-weight: 500;
  font-size: var(--subtitle-font-size);
  color: var(--blue-color);
  z-index: 2;
}

.step-work__steps::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 3px;
  background-color: var(--blue-color);
}

.step-work__item--first {
  grid-area: 3 / 1 / 4 / 2;
}

.step-work__item--second {
  grid-area: 1 / 2 / 2 / 3;
}

.step-work__item--third {
  grid-area: 3 / 3 / 4 / 4;
}

.step-work__item {
  max-width: 330px;
  border-radius: 20px;
  text-align: center;
  justify-self: center;
}

.step-work__subtitle {
  font-size: 24px;
  line-height: 1.16;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-work__descr {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 300;
}

/* About us section */

.about__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 42px;
  justify-content: space-between;
}

.about__item {
  flex: 1 0 570px;
}

.about__img {
  width: 100%;
  border-radius: 20px;
  max-height: 380px;
  box-shadow: 2px 2px 15px var(--dark-grey-color);
}

.about__title {
  text-align: start;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0;
}

.about__text {
  margin: 32px 0;
  font-size: 20px;
  line-height: 1.35; /* 27px/20px */
  color: var(--dark-grey-color);
  text-align: justify;
  max-width: 570px;
}

/* price section */

.price__wrapper {
  display: flex;
  flex-wrap: wrap;
}

.tabs-list__wrapper {
  max-width: 320px;
  flex: 1 1 320px;
  text-align: end;
}

/* .price-tabs__item {
  background-color: var(--dark-blue);
  color: var(--white-color);
  font-size: 16px;
  transition: all 0.3s ease-in-out;
}

.price-tabs__item:hover {
  background-color: var(--yellow-color);
  color: var(--dark-blue);
  font-weight: 600;
} */

.price-tabs__panels {
  flex: 1 1 auto;
}

.jobhelper-tabs__list[role="tablist"] {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
  gap: 0.3125rem;
  max-width: 61.25rem;
  margin: 0 auto;
  margin-bottom: 2.6875rem;
}

.jobhelper-tabs__item[role="presentation"] {
  flex: 1 0 auto;
  /* flex: 1 1 50%; */
  max-width: 30.625rem;
  display: flex;
  /* justify-content: center; */
}

.price-tabs__link[role="tab"] {
  padding: 25px 32px;
  background-color: var(--dark-blue);
  color: var(--white-color);
  font-size: 16px;
  transition: all 0.3s ease-in-out;
  width: 100%;
}

#tab-4 {
  border-radius: 0 0 0 20px;
}

.price-tabs__link[aria-selected="true"] {
  background-color: var(--yellow-color);
  color: var(--dark-blue);
  font-weight: 600;
}

.price__item {
  display: grid;
  padding: 24px 35px;
}

.price__item + .price__item {
  border-top: 1px solid rgba(21, 21, 21, 0.5);
}

.price__descr {
  max-width: 800px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 12px;
}

.price__price {
  color: var(--blue-color);
}

.price__price span {
  color: rgba(21, 21, 21, 0.5);
  margin-right: 10px;
}

/* service section */

.repair__form {
  margin-top: 32px;
}

.repair__item {
  display: grid;
  margin-bottom: 24px;
}

.repair__item label {
  margin-bottom: 12px;
}

.repair__item input {
  height: 48px;
  border-radius: 10px;
  font-size: 18px;
  color: var(--dark-blue);
  padding: 0 10px;
  border: 1px solid var(--dark-blue);
  background-color: rgba(225, 225, 225, 0.45);
}

.repair__item input:focus {
  border: 0;
  outline: 1px solid var(--yellow-color);
}

/* Swiper section */
.testimonials {
  /* padding: 90px 0; */
  background: url("../image/testimonials-bg.jpg") center/cover no-repeat;
}

.testimonials__container {
  padding: 45px 0;
}

.testimonials__container iframe {
  width: 100%;
  min-height: 450px;
  overflow: auto;
}

.eapps-widget-toolbar {
  display: none !important;
  opacity: 0 !important;
}

.eapps-widget:hover .eapps-widget-toolbar {
  opacity: 0 !important;
  pointer-events: none !important;
}

.jCXFfl {
  z-index: 2;
  flex: 0 1 0%;
  position: absolute;
  top: 100% !important;
  bottom: -40px !important;
  transform: translate(0px, 0px) !important;
  right: 0px !important;
  padding-top: 15px;
}

.hXrUSE {
  z-index: 2;
  flex: 0 1 0%;
  position: absolute;
  right: 50px !important;
  top: 100% !important;
  bottom: -40px !important;
  transform: translate(0px, 0px) !important;
  padding-top: 15px;
}

.splide__list {
  height: 100%;
}

.splide__slide {
  width: 100%;
  display: grid;
  text-align: center;
}

.splide__pagination {
  bottom: 0;
}

.splide__slide svg {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

.splide__pagination__page {
  background: var(--dark-grey-color);
}

.splide__pagination__page.is-active {
  background: var(--blue-color);
}

.splide__arrow {
  background: transparent;
  height: 3rem;
  width: 5rem;
}

.splide__arrow svg {
  width: 64px;
  height: 64px;
}

.splide__arrow svg path {
  transition: all 0.5s ease;
}

.splide__arrow:hover svg path {
  stroke: var(--blue-color);
  fill: var(--blue-color);
}

.splide__arrow--prev svg {
  transform: rotateX(180deg);
}

.testimonials__author,
.testimonials__coment,
.splide__slide svg {
  justify-self: center;
  align-self: center;
}

.testimonials__coment {
  max-width: 640px;
  margin-bottom: 32px;
  font-size: var(--medium-font-size);
}

.testimonials__author {
  margin-bottom: 24px;
}

/* Map section */

.google-map {
  padding: 0;
}

/* Footer */

.footer {
  background-color: var(--black-transperet-color);
  color: var(--white-color);
  padding: 90px 0 25px 0;
}

.footer__wrapper {
  display: flex;
  justify-content: space-between;
}

.footer__descr {
  max-width: 300px;
  font-size: 14px;
  line-height: 1;
  font-weight: 300;
  margin-top: 32px;
}

.footer__wrapper-line {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.footer__line {
  width: 95%;
  height: 1px;
  background-color: var(--white-color);
  margin: 32px 0;
  opacity: 0.25;
}

.footer__reserved {
  opacity: 0.75;
  font-size: 14px;
  font-weight: 300;
}

.footer__item {
  display: flex;
  flex-direction: column;
  flex: 1 1 300px;
}

.mail-footer__img,
.map-footer__img {
  width: 25px;
  height: 25px;
}

.footer__phone,
.footer__mail,
.footer__map {
  display: flex;
  gap: 8px;
  align-items: center;
  transition: color 0.3s ease-in-out;
  cursor: pointer;
}

.footer__phone {
  margin-bottom: 8px;
}

.footer__mail {
  margin-bottom: 24px;
}

.footer__title {
  margin-bottom: 24px;
}

.phone-footer__descr,
.mail-footer__descr {
  font-size: 14px;
}

.footer__map {
  display: flex;
  align-items: start;
  font-size: 14px;
  max-width: 290px;
}

.map-footer__descr {
  margin-bottom: 18px;
}

.footer__medias {
  display: flex;
  gap: 12px;
}

.media-footer__item {
  width: 48px;
  height: 48px;
  background-color: rgba(225, 225, 225, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.media-footer__item svg {
  width: 24px;
  height: 24px;
}
