@media (max-width: 768px) {
  /* header & hero */

  .header {
    background-color: #fff;
    max-width: calc(100% - 40px);
    padding: 10px 15px;
    box-shadow: 0px 4px 8px 2px #64646b1a;
    transition: 0.07s ease-in-out all;
  }

  .header__logo-img {
    max-width: 113px;
    max-height: 24px;
  }

  .header__button {
    display: none;
  }

  .hero {
    background-image: url(../img/banners/hero-bg-mob.webp);
    max-height: 579px;
    padding-top: 80px;
  }
  .hero .container {
    align-items: center;
  }
  .hero__text {
    align-items: start;
    align-self: start;
  }
  .hero__title {
    text-align: left;
    margin-top: 10px;
    font-size: 40px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: -0.02em;
  }

  .hero__badge {
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    padding: 10px;
  }

  .hero__benefits {
    margin-top: 10px;
    padding-left: 10px;
  }

  .hero__benefits-item::marker {
    margin-right: 0;
  }

  .hero__benefits-item {
    font-size: 18px;
    font-weight: 550;
    line-height: 18px;
    letter-spacing: -0.02em;
  }

  .hero__buttons {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
    width: 100%;
  }

  .hero__banner-car {
    display: block;
    max-width: 100%;
    max-width: 555px;
    left: 0;
    right: 0;
    width: fit-content;
    margin-inline: auto;
    bottom: -70px;
  }

  .hero__video-wrapper {
    background: #1e1e1e;
    padding: 10px;
    height: 274px;
    max-width: 242px;
  }

  .hero__button-more {
    background: #e1e1e8;
  }

  .hero__video-text {
    font-size: 14px;
    font-weight: 550;
    line-height: 14px;
    letter-spacing: -0.01em;
  }

  .hero__video-play-btn {
    max-width: 222px;
  }

  .hero__video-description {
    font-size: 10px;
    font-weight: 550;
    line-height: 10px;
    letter-spacing: -0.01em;
    top: 70px;
  }
  .hero__video-description span {
    font-size: 14px;
    line-height: 14px;
  }

  /* services */

  .services {
    margin-top: 250px;
  }

  .full-services__list {
    display: flex;
    flex-direction: column;
    max-height: 400px;
    overflow: auto;
    box-shadow: none;
    padding-top: 10px;
    margin-top: 0;
    padding-left: 0;
    margin-bottom: 50px;
  }
  .full-services__list::-webkit-scrollbar {
    width: 10px;
  }

  .full-services__list::-webkit-scrollbar-track {
    background: #f5f5f7;
    border-radius: 30px;
  }

  .full-services__list::-webkit-scrollbar-thumb {
    background: #e1e1e8;
    border-radius: 30px;
  }
  .selected-service::after {
    animation: appear-mob;
    animation-duration: 0.8s;
    animation-iteration-count: unset;
    animation-direction: alternate;
    animation-fill-mode: forwards;
  }

  .full-services__list-wrapper {
    box-shadow: 0px 4px 10px 4px #64646b1a;
    border-radius: 40px;
    padding: 20px 10px 20px 20px;
    margin-top: 30px;
    max-height: 450px;
  }

  @keyframes appear-mob {
    from {
      right: 10%;
    }
    to {
      right: 15px;
    }
  }

  .full-services__callback-item {
    margin-top: 20px;
  }

  .full-services__marker {
    display: none;
  }
  .full-services__item {
    position: relative;
  }

  .full-services__item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: #e1e1e8;
  }

  .full-services__item::before {
    position: absolute;
    content: "";
    right: 11px;
    bottom: 22px;
    width: 8px;
    height: 12px;
    background-image: url(../img/icons/arrow-black.svg);
  }
  .selected-service::after {
    display: none;
  }

  .services__select-service-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
  }
  .services__item:nth-child(1) {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
  }
  .services__item:nth-child(2) {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 3;
  }

  /* spec offers  */
  .swiper-button-prev-unique,
  .swiper-button-next-unique {
    display: none;
  }

  .special-offers__wrapper .swiper {
    height: 386px;
  }

  .special-offers__text {
    font-size: 16px;
    font-weight: 550;
    line-height: 16px;
    letter-spacing: -0.01em;
    padding: 10px 30px 0px;
  }

  .special-offers__card {
    max-width: 90vw;
  }
  .special-offers__img {
    object-fit: cover;
    max-height: 180px;
  }

  .swiper-pagination-bullet {
    width: 40px;
    height: 4px;
    border-radius: 30px;
  }

  .swiper-pagination-bullet-active {
    background-color: #0c0c0c;
  }

  .special-offers__card {
    height: 250px;
  }

  .special-offerc__subtext {
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
    letter-spacing: -0.01em;
    padding: 5px 30px;
  }

  /* calendar */
  .calendar__form-contacts-inputs-wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
  }
  [data-calendar-theme="dark"].vanilla-calendar {
    max-width: 100%;
  }

  .calendar__title {
    text-align: left;
    font-size: 32px;
    font-weight: 700;
    line-height: 28.8px;
    letter-spacing: -0.02em;
  }

  .calendar__form {
    align-items: flex-start;
  }
  .calendar .container {
    padding: 30px 20px;
  }

  .calendar__choose-service-text {
    text-align: left;
  }
  .calendar__form-time-date,
  .calendar__form-service {
    align-items: flex-start;
  }

  .calendar__form-contacts {
    align-self: center;
    width: 100%;
  }

  [data-calendar-theme="dark"].vanilla-calendar,
  .calendar__time-wrapper {
    width: 90vw;
  }
  .calendaer__time-btns {
    display: grid;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .calendar__time-wrapper {
    align-items: start;
  }
  .calenadr__time-btn {
    max-width: 80px;
    padding: 20px;
    font-size: 16px;
    font-weight: 550;
    line-height: 16px;
    letter-spacing: -0.01em;
  }

  .calendaer__time-title {
    font-size: 16px;
    font-weight: 550;
    line-height: 16px;
    letter-spacing: -0.01em;
  }

  .calendar__date-text .calendar__choose-service-text,
  .calendar__form-contacts-text {
    font-size: 18px;
    font-weight: 550;
    line-height: 18px;
    letter-spacing: -0.02em;
  }

  .calendar__form-service
    .select2-container
    .selection
    .select2-selection--single
    .select2-selection__rendered,
  .vanilla-calendar-month {
    font-size: 16px;
  }

  .calendar__form-contacts-subtext {
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
    letter-spacing: -0.01em;
  }

  .calendar__form-name,
  .calendar__form-tel {
    color: black;
    font-size: 16px;
    font-weight: 550;
    line-height: 16px;
    letter-spacing: -0.01em;
    text-align: left;
  }

  .calendar__form-name::placeholder,
  .calendar__form-tel::placeholder {
    font-size: 16px;
    font-weight: 550;
    line-height: 16px;
    letter-spacing: -0.01em;
    text-align: left;
  }
  .calendar__form-submit {
    font-size: 16px;
  }

  /* gallery-mob */
  .gallery-mob__title {
    font-size: 32px;
    font-weight: 700;
    line-height: 28.8px;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
  }
  .gallery-mob__general-img-wrapper {
    max-width: 100%;
    border-radius: 20px;
  }

  .gallery-mob__general-img {
    max-width: 100%;
  }

  .gallery-mob__thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* grid-template-rows: repeat(3, 1fr); */
    gap: 5px;
    width: 100%;
  }
  .gallery-mob__thumbnail-item {
    max-width: 100%;
    height: fit-content;
    border-radius: 20px;
    object-fit: cover;
  }

  .gallery-mob__thumbnail-item:nth-child(3) {
    grid-area: 3 / 3 / 4 / 5;
    max-height: fit-content;
    max-width: 100%;
    max-height: 50%;
    position: relative;
    overflow: hidden;
  }

  .gallery-mob__thumbnail-item:nth-child(3) img {
    max-height: 100%;
    position: relative;
  }

  .gallery-mob__standart-img {
    width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 20px;
  }

  .selected-img {
    border: 4px solid;
    border-image-source: linear-gradient(90deg, #ff752d 0%, #ff4b39 100%);
    border-radius: 30px;
    background: linear-gradient(90deg, #ff752d 0%, #ff4b39 100%);
    filter: brightness(0.7);
  }

  .contacts__title {
    font-size: 32px;
    font-weight: 700;
    line-height: 28.8px;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
  }
  .contacts-back::before {
    padding: 15px;
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
    letter-spacing: -0.01em;
    text-align: center;
  }
  .contacts-back {
    height: 270px;
  }
  .contacts__buttons-wrapper {
    margin-top: 20px;
  }
  .contacts__text {
    font-size: 18px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: -0.02em;
  }
  .contacts__button {
    font-size: 16px;
    font-weight: 550;
    line-height: 16px;
    letter-spacing: -0.01em;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    padding: 20px 28px;
    text-wrap: nowrap;
  }

  /* footer */
  .footer {
    background-color: #f5f5f7;
    border-top-right-radius: 20px;
    border-top-right-radius: 20px;
    margin-bottom: 0;
    padding-bottom: 30px;
    padding-top: 30px;
  }
  .footer__nav {
    order: 1;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .footer__nav-link {
    font-size: 16px;
    font-weight: 550;
    line-height: 16px;
    letter-spacing: -0.01em;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #242527;
  }
  .footer__button {
    order: 2;
    margin-bottom: 10px;
  }
  .footer__logo-link {
    order: 3;
  }
  .mob-info {
    order: 4;
  }
  .mob-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .footer__navigation {
    border: none;
  }
  .footer__logo {
    max-width: 238px;
  }
  .footer__links {
    display: none;
  }
  .footer-text {
    text-align: center;
  }

  /* globals */
  #services {
    margin-top: 150px;
  }
}

@media (max-width: 555px) {
  /* header & hero */

  .header {
    background-color: #fff;
    max-width: calc(100% - 40px);
    padding: 10px 15px;
    box-shadow: 0px 4px 8px 2px #64646b1a;
  }

  .header__logo-img {
    max-width: 113px;
    max-height: 24px;
  }

  .header__button {
    display: none;
  }

  .hero {
    background-image: url(../img/banners/hero-bg-mob.webp);
    max-height: 579px;
    padding-top: 80px;
  }
  .hero .container {
    align-items: center;
  }
  .hero__text {
    align-items: start;
    align-self: start;
  }
  .hero__title {
    text-align: left;
    margin-top: 10px;
    font-size: clamp(1.875rem, 0.3125rem + 8.3333vw, 2.5rem);
    font-weight: 700;
    line-height: 40px;
    letter-spacing: -0.02em;
  }

  .hero__badge {
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    padding: 10px;
  }

  .hero__benefits {
    margin-top: 10px;
    padding-left: 10px;
  }

  .hero__benefits-item::marker {
    margin-right: 0;
  }

  .hero__benefits-item {
    font-size: 18px;
    font-weight: 550;
    line-height: 18px;
    letter-spacing: -0.02em;
  }

  .hero__buttons {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    width: 100%;
  }

  .hero__banner-car {
    display: block;
    /* max-width: 428px; */
    width: min(428px, 100%);
    bottom: -25px;
  }

  .hero__video-wrapper {
    background: #1e1e1e;
    padding: 10px;
    height: 274px;
    max-width: 242px;
  }

  .hero__button-more {
    background: #e1e1e8;
  }

  .hero__video-text {
    font-size: 14px;
    font-weight: 550;
    line-height: 14px;
    letter-spacing: -0.01em;
  }

  .hero__video-play-btn {
    max-width: 222px;
  }

  .hero__video-description {
    font-size: 10px;
    font-weight: 550;
    line-height: 10px;
    letter-spacing: -0.01em;
    top: 70px;
  }
  .hero__video-description span {
    font-size: 14px;
    line-height: 14px;
  }

  /* services */

  .swiper-service {
    max-width: 95vw;
    height: 220px;
  }

  .swiper-service .swiper-wrapper .services__item {
    max-width: 50%;
    height: 190px;
    margin-top: 10px;
    box-shadow: 0px 4px 10px 4px #64646b1a;
    padding: 10px;
    border-radius: 20px;
  }

  .services__select-service-wrapper {
    grid-template-rows: 1fr;
    row-gap: 10px;
    margin-bottom: 40px;
  }

  .swiper-service .swiper-wrapper {
    height: 210px;
    padding-left: 3px;
  }

  .services__item {
    padding: 10px;
    border-radius: 20px;
  }

  .swiper-wrapper .services__item {
    background: none;
    display: flex !important;
    margin-top: 6px;
    max-height: 210px;
  }
  .swiper-wrapper .services__item:nth-child(1) .services__button,
  .swiper-wrapper .services__item:nth-child(2) .services__button {
    background: #e1e1e8;
    color: #242527;
  }

  .services__text,
  .services__button {
    font-size: 16px;
    font-weight: 550;
    line-height: 16px;
    letter-spacing: -0.01em;
  }

  .services__button {
    max-height: 56px;
    padding: 20px 25px;
  }

  .services__title {
    font-size: 32px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: -0.02em;
  }

  .services__description {
    font-size: 18px;
    font-weight: 550;
    line-height: 18px;
    letter-spacing: -0.02em;
  }

  .full-services__title {
    font-size: 18px;
    font-weight: 550;
    line-height: 18px;
    letter-spacing: -0.02em;
  }

  /* contacts */
  .contacts__button {
    font-size: 14px;
    padding: 20px;
  }

  .contacts__text,
  .email-span {
    font-size: 16px;
  }

  /* reviews */
  .reviews__card {
    width: 280px;
    height: 309px;
    padding: 10px;
    border-radius: 20px;
  }
  .reviews__text {
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
    letter-spacing: -0.01em;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
  }
  .reviews__stars {
    margin-bottom: 10px;
  }
  .reviews__author {
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: -0.01em;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
  }
  .reviews__date {
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
    letter-spacing: -0.01em;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
  }
  .reviews__title {
    padding: 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: -0.02em;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
  }
  .swiper-reviews {
    height: 354px;
  }

  /* footer  */
  .footer__button {
    width: 100%;
  }
}
