@media (hover: hover) {
  .menu__item:hover {
    color: var(--yellow-color);
  }

  .menu__item:hover:before {
    width: 100%;
  }

  .phone__btn:hover {
    color: var(--yellow-color);
  }

  .btn:hover {
    background-color: var(--dark-blue);
    color: var(--white-color);
  }

  .services__item:hover {
    box-shadow: 2px 2px 15px var(--dark-grey-color);
    scale: 1.1;
  }

  .footer__phone:hover,
  .footer__mail:hover {
    color: var(--yellow-color);
  }

  .media-footer__item:hover {
    background-color: var(--yellow-color);
  }

  .media-footer__item:hover svg {
    fill: var(--dark-blue);
    stroke: var(--dark-blue);
  }

  .media-footer__item:hover svg path {
    fill: var(--dark-blue);
    stroke: var(--dark-blue);
  }
}

@media (max-width: 1219px) {
  .services__item:nth-last-child(3) {
    padding-bottom: 70px;
  }

  .about__item {
    flex: 1 0 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about__text {
    max-width: 100%;
  }
  .tabs-list__wrapper {
    max-width: 100%;

    text-align: center;
  }

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

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

  .repair__form {
    width: 80%;
  }
}

@media (max-width: 1150px) {
  .tabs-list__wrapper {
    max-width: 100%;

    text-align: center;
  }

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

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

  .price__item {
    padding: 24px 12px;
  }
  .price__descr {
    font-size: var(--medium-font-size);
  }
}

@media (max-width: 1024px) {
  .header__wrapper {
    padding: 1.0938rem 0;
  }

  .logo__wrapper {
    font-size: 12px;
  }

  .logo__img {
    width: 35px;
    height: 35px;
  }

  .menu__list {
    font-weight: 600;
  }

  .phone__btn--header {
    font-size: var(--light-font-size);
    font-weight: 500;
  }

  /* intro section */
  .intro {
    height: calc(100vh - 70px);
  }

  .title--intro {
    font-size: 64px;
    max-width: 553px;
  }

  .intro__subtitle {
    font-size: 20px;
    max-width: 510px;
    margin: 32px 0 42px;
  }

  .splide__arrows {
    display: none;
  }
}

@media (max-width: 930px) {
  .footer {
    padding-top: 75px;
  }
  .footer__wrapper {
    flex-wrap: wrap;
    row-gap: 32px;
  }

  .footer__item {
    align-items: center;
    text-align: center;
  }

  .footer__mail {
    margin-bottom: 0;
  }
}

@media (max-width: 820px) {
  .services__item {
    padding-bottom: 42px;
    flex: 1 1 50%;
  }

  .services__item:nth-last-child(3) {
    padding-bottom: 42px;
  }

  .splide__arrow {
    top: 100%;
  }
}

@media (max-width: 769px) {
  section {
    padding: 70px 0 50px 0;
  }

  .section__title {
    font-size: 36px;
    margin-bottom: 38px;
  }
  .header__wrapper {
    padding: 7px 0;
  }

  .menu__wrapper {
    position: fixed;
    right: -200%;
    top: 49px;
    bottom: 0;
    flex-direction: column;
    background-color: var(--black-color);
    width: 100%;
    overflow: auto;
    transition: 0.6s ease-out;
    padding-top: 49px;
    gap: 25px;
  }

  .menu__wrapper._active {
    right: 0;
    transition: 0.6s ease-out;
  }

  .menu__elemnt-cap {
    display: none;
  }

  .menu__list {
    flex-direction: column;
    flex: 1 1 auto;
    font-size: var(--medium-font-size);
    font-weight: 700;
  }

  .phone__btn--header {
    margin-bottom: 32px;
    font-size: var(--main-font-size);
  }

  .icon-menu__wrapper {
    display: flex;
    flex-direction: column;
    width: 42px;
    overflow: hidden;
  }

  .icon-menu__wrapper span {
    background: var(--white-color);
    border-radius: 10px;
    height: 2px;
    margin: 3px 0;
    transition: 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  }

  .icon-menu__wrapper span:nth-of-type(1) {
    width: 50%;
  }

  .icon-menu__wrapper span:nth-of-type(2) {
    width: 100%;
  }

  .icon-menu__wrapper span:nth-of-type(3) {
    width: 75%;
  }

  .icon-menu__wrapper._active span:nth-of-type(1) {
    transform-origin: bottom;
    transform: rotatez(45deg) translate(2px, -1px);
  }
  .icon-menu__wrapper._active span:nth-of-type(2) {
    transform-origin: top;
    transform: rotatez(-45deg);
  }
  .icon-menu__wrapper._active span:nth-of-type(3) {
    transform-origin: bottom;
    width: 150%;
    transform: translate(11px, 14px) rotatez(45deg);
  }

  /* intro section */
  .intro {
    height: calc(100vh - 49px);
  }

  .intro__container {
    text-align: center;
    align-items: center;
  }

  .title--intro {
    font-size: 52px;
  }
  .intro__subtitle,
  .title--intro {
    max-width: 100%;
  }

  .step-work__wrapper {
    padding-top: 48px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    grid-row-gap: 48px;
  }

  .step-work__steps {
    display: none;
  }

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

  .step-work__item--second {
    grid-area: 2 / 2 / 3 / 3;
    justify-self: self-end;
  }

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

  .step-work__item--first,
  .step-work__item--third {
    justify-self: self-start;
  }

  .step-work__item {
    /* border: 1px solid var(--dark-grey-color); */
    max-width: 100%;
    box-shadow: 2px 2px 15px var(--dark-grey-color);
    padding: 15px;
    position: relative;
  }

  .step-work__item::before {
    content: "Крок " attr(data-step);
    position: absolute;
    top: -42px;

    font-size: 32px;
    font-weight: 600;
    color: var(--blue-color);
  }

  .step-work__item--first::before,
  .step-work__item--third::before {
    left: 15px;
  }

  .step-work__item--second::before {
    right: 15px;
  }

  .about__text {
    margin: 0 0 32px;
  }

  .repair__form {
    width: 100%;
  }
}

@media (max-width: 650px) {
  .services__item {
    flex: 1 1 100%;
  }

  .services__item:nth-last-child(2) {
    padding-bottom: 42px;
  }
}

@media (max-width: 625px) {
  .footer {
    padding-top: 48px;
  }
}

@media (max-width: 590px) {
  .title--intro {
    font-size: 48px;
  }

  .intro__subtitle {
    margin: 24px 0 32px;
  }

  .step-work__wrapper {
    grid-template-columns: 1fr;
    grid-row-gap: 64px;
  }

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

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

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

  .section__title {
    text-align: center;
  }
}

@media (max-width: 475px) {
  .title--intro {
    font-size: 42px;
  }
  .intro__subtitle {
    font-size: var(--medium-font-size);
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 330px) {
  .section__title {
    font-size: 32px;
  }
}
