/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width: 1200px) {
  .header-phone {
    display: none;
  }
  .main-hero__content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .section-serivce-video {
    min-height: 300px;
  }
  #main,
  .main-swiper {
    height: 697px;
    height: var(--app-const-height);
  }
  .prices-list .swiper-wrapper {
    display: flex;
    gap: unset;
  }

  .section-serivce-card_wrap:has(.section-serivce-video) {
    display: none;
  }
  .section-service-videos-mobile {
    display: block;
    margin-left: -18px;
    width: 100vw;
    padding-bottom: 40px;
  }
  .section-serivce-video {
    height: 527px;
  }

  .prices-list .price-coupon {
    display: none;
  }

  .mob-specials {
    display: block;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .prices-list,
  .team-list {
    width: 100vw;
    margin-left: -18px;
  }
  .team-list .swiper-wrapper {
    display: flex;
  }
  .prices-list .swiper-slide {
    width: 100%;
  }
  .prices-list .swiper-pagination,
  .team-list .swiper-pagination {
    display: block;
  }

  .prices-list {
    padding-bottom: 40px;
  }
  .mob-specials {
    margin-top: 28px;
  }
  .team-list__item .team-work {
    width: calc(100vw - 18px * 2);
    max-width: 500px;
    /* margin-left: 18px; */
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: unset;
    gap: 40px;
    margin-top: 60px;
  }
  .team-list {
    grid-template-columns: 1fr;
  }
  .team-list .swiper-pagination {
    top: 55vw;
    height: 5px;
  }
  .main-serivce-item {
    flex-direction: column;
    text-align: center;
  }
  .about-aparat__img {
    position: absolute;
    right: 44px;
    top: auto;
    width: 224px;
    height: auto;
    bottom: 0;
    aspect-ratio: 284 / 500;
    overflow: hidden;
  }

  .serivce-about-box__list {
    grid-template-columns: 1fr;
  }
  .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #c6e2ee;
    opacity: 1;
    border-radius: 20px;
    /* transition: background 0.3s, width 0.3s; */
  }
  .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active {
    width: 8px;
    background: #2b3a4e;
  }
  #service-main {
    padding-top: 80px;
  }
  .section-service__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 1030px) {
  .header-button {
    display: none;
  }
}
/* Medium Devices, Desktops */
@media only screen and (max-width: 992px) {
  .service-features__list {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 12px;
  }
  .main-swiper .swiper-pagination-bullet {
    height: 5px !important;
  }
  body:not(.page-template-page-home) .header__toggle {
    filter: brightness(0) saturate(100%) invert(17%) sepia(14%) saturate(1627%) hue-rotate(174deg) brightness(100%) contrast(85%);
  }
  h1,
  .h1 {
    font-size: 28px;
  }
  h2,
  .h2 {
    font-size: 28px;
  }

  .team-list .swiper-pagination {
    top: 57vw;
  }
}

/* Small Devices, .table_boxts */
@media only screen and (max-width: 850px) {
  .header__toggle {
    display: block;
  }
  .header-inner__right,
  .header-menu {
    display: none;
  }

  header {
    background: none;
    box-shadow: none;
  }
  header.is-scrolled:not(.is-active) {
    background: #fff;
    padding: 8px 0;
  }
  header.is-scrolled:not(.is-active) .header-logo {
    filter: none;
    transform: scale(0.8) translateX(-11px);
  }
  header.is-scrolled .header__toggle {
    filter: brightness(0) saturate(100%) invert(17%) sepia(14%) saturate(1627%) hue-rotate(174deg) brightness(100%) contrast(85%);
  }
  .team-list__item .team-work {
    max-width: calc(100vw - 18px * 2);

    margin-left: 18px;
  }
  .footer__left {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .prices-tabs__header {
    flex-wrap: nowrap;
    overflow-x: scroll;
  }
  .prices-h__tab {
    white-space: nowrap;
  }
  .prices-tabs__header-wrap {
    overflow-x: scroll;
    width: 100vw;
    margin-left: -18px;
  }
  .prices-tabs__header {
    margin-left: 18px;
  }
  .prices-h {
    /* border-radius: 0; */
  }

  .team-list .swiper-pagination {
    top: 83vw;
  }
}
@media screen and (max-width: 768px) {
  .service-about {
    grid-template-columns: 1fr;
  }
  .main-serivce-item {
    flex-direction: row;
    text-align: left;
  }
  .about-aparat__content {
    padding-right: calc(154px + 30px);
  }
  .about-aparat__img {
    width: 174px;
  }
  #service-main {
    padding-top: 40px;
  }
}
@media screen and (max-width: 650px) {
  .section-service__list {
    grid-template-columns: 1fr;
  }
  .mobile-menu__langs.df.--aic.--gap-10.--footer {
    display: flex;
    margin-bottom: 16px;
  }
  header.is-scrolled .mobile-menu__langs.df.--aic.--gap-10.--mobheader {
    display: flex;
    margin-top: -7px;
  }
  .preloader__logo svg {
    width: 309px;
  }
  .preloader__progress-text {
    font-size: 52px;
    right: 30px;
    bottom: 30px;
  }
}
/* Extra Small Devices, Phones */
@media only screen and (max-width: 480px) {
  .about-aparat__content {
    padding-right: 18px;
  }
  .main-serivce-item {
    flex-direction: column;
    text-align: center;
  }
  .prices-h {
    /* background: none; */
  }
  .onlymobswiper .swiper-wrapper {
    display: flex;
  }
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }
  .header-inner__right {
    display: none;
  }
  .page-template-page-home .header-logo {
    filter: brightness(1000);
  }
  .swiper-counter {
    display: none;
  }
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }

  .main-hero__subtext {
    font-size: 18px;
  }
  .main-hero__button .button {
    width: 100%;
  }
  .main-hero__content {
    padding-bottom: 56px;
  }
  .main-swiper .swiper-pagination {
    bottom: 26px;
    right: 0;
    left: auto;
    width: 100%;
  }
  .main-serivce-item {
    gap: 7px;
  }
  .main-services .swiper-button-next,
  .main-services .swiper-button-prev {
    display: block;
    filter: brightness(0) saturate(100%) invert(17%) sepia(14%) saturate(1627%) hue-rotate(174deg) brightness(100%) contrast(85%);
    top: 80px;
  }
  .main-services .swiper-button-next {
    right: 50px;
  }
  .main-services .swiper-button-prev {
    left: 50px;
  }
  .main-services {
    display: block;
  }
  .section.--blue {
    border-radius: 22px;
  }
  #main-service-1,
  #main-reviews,
  #service-aparat,
  #contact {
    padding-top: 42px;
  }
  h2 br {
    display: none;
  }
  .section-service__list {
    margin-top: 20px;
    gap: 22px;
  }
  .section-serivce-block {
    gap: 27px;
  }
  .section-serivce-block {
    padding: 33px 26px;
  }
  .section-service {
    padding-bottom: 30px;
  }
  .section-service {
    padding-bottom: 30px !important;
  }
  #main-reviews {
    padding-top: 10px;
  }
  .main-reviews__header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .main-reviews__wrapper {
    margin-top: 22px;
  }
  #main-price {
    margin-top: 46px;
    padding-top: 41px;
  }
  .prices-list {
    margin-top: 22px;
  }
  .price-item__title {
    font-size: 34px;
  }
  #team {
    padding-top: 42px;
  }
  .team-list .swiper-pagination {
    top: 131vw;
    height: 5px;
  }
  .team-list__item .team-work {
    margin-top: 38px;
    gap: 86px;
  }
  #team p br {
    display: none;
  }
  #team {
    padding-bottom: 42px;
  }
  .contact-map {
    height: 393px;
  }
  #contact {
    padding-top: 314px;
  }
  #contact h2 {
    font-size: 34px;
  }
  .team-list {
    margin-top: 20px;
  }
  .footer {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  .footer__right {
    justify-content: space-between;
    width: 100%;
  }

  #contact {
    padding-bottom: 2px;
  }
  #service-main {
    /* background: #dcf4ff; */
  }
  .service-main {
    overflow: unset;
  }
  .service-main__left {
    background: #dcf4ff;
    position: relative;
  }

  .service-main__left:before {
    content: "";
    width: 100%;
    height: 74px;
    display: block;
    position: absolute;
    top: -73px;
    left: 0;
    background: #dcf4ff;
    z-index: 1;
  }
  #service-main .container {
    padding-left: 0;
    padding-right: 0;
  }
  #service-main {
    padding-top: 73px;
    padding-bottom: 13px;
  }
  .single-main-box {
    padding-left: 18px;
    padding-right: 18px;
    width: 100vw;
  }
  .single-main-box__img {
    width: 100vw;
    margin-left: -18px;
    margin-bottom: 47px;
  }
  .single-main-box__buttons {
    flex-direction: column;
    gap: 14px;
  }
  .single-main-box__buttons .button {
    width: 100%;
  }
  .swiper-compare {
    max-width: 100%;
  }
  .service-about {
    grid-template-columns: 1fr;
  }
  .serivce-about-box__list {
    gap: 15px;
  }
  .serivce-about-box {
    padding: 41px 26px;
    gap: 19px;
  }
  .serivce-about-box__item {
    display: flex;
    gap: 12px;
  }
  .serivce-about-box__item::before {
    flex: 0 0 24px;
  }
  .service-about {
    gap: 16px;
  }
  .swiper-minivideos .swiper-pagination-bullet {
    width: 114px !important;
  }
  .swiper-minivideos .swiper-pagination {
    bottom: 22px;
  }
  .service-about__right {
    gap: 20px;
  }
  .service-about-block__title {
    margin-top: 20px;
  }
  .service-about-block + .service-about-block:last-child {
    margin-top: -8px;
  }
  #service-features {
    margin-top: 64px;
    padding-top: 41px;
    padding-bottom: 40px;
  }
  .service-feature-card__text {
    font-size: 22px;
  }
  .service-features__list {
    margin-top: 20px;
  }

  .service-feature-card {
    padding: 32px 27px;
  }
  .service-feature-card__text {
    margin-top: 20px;
  }
  #service-aparat {
    margin-top: 20px;
  }
  .about-aparat {
    width: 100vw;
    margin-left: -18px;
  }
  .about-aparat__content {
    padding-top: 40px;
    padding-bottom: 42px;
  }
  .about-aparat__text:has(img) {
    flex-direction: column;
    align-items: flex-start;
  }
  .about-aparat__img {
    position: absolute;
    right: 44px;
    top: unset;
    width: 170px;
    height: unset;
    overflow: hidden;
    bottom: 0;
    right: 18px;
  }
  .about-aparat__content__bottom {
    max-width: 50%;
  }
  .about-aparat__content {
    gap: 146px;
  }
  .service-aparat__rihgt {
    max-width: calc(100vw - 18px * 2);
  }
  .service-aparat {
    gap: 22px;
  }
  .aparat-functions__title {
    font-size: 34px;
  }

  #main-services .container {
    padding-bottom: 0;
    border-bottom: 0;
  }
  .main-services {
    padding-bottom: 24px;
    border-bottom: 1px solid #dce7f6;
  }
  .section-serivce-card__img img {
    width: 100%;
  }
  .prices-list {
    align-items: stretch;
  }
  .prices-list .swiper-slide {
    height: auto !important;
  }
  .prices-tabs__header.prices-h:after {
    /* content: ""; */
    display: block;
    width: 18px;
    height: 1px;
    background: none;
  }
  .contact-map {
    border-radius: 38px;

    overflow: hidden;
  }

  #contact {
    border-radius: 0;
  }
  .contact-box {
    box-shadow: none;
  }
  body:has(.post-content),
  html:has(.post-content) {
    font-size: 14px;
  }
  .service-features__list {
    grid-template-columns: 1fr;
  }

  .whatsapp-button {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* Custom, iPhone Retina */
@media only screen and (max-width: 320px) {
}
