/* 1250px — основной брейкпоинт для адаптива */
@media (max-width: 1350px) {
  .team__card {
    max-width: 100%;
  }

  .team__card-photo {
    height: 100%;
  }

  .team__slider img {
    max-width: fit-content;
  }

  .team__card-inner {
    padding: 100px 0 0 0;
  }

  #mobile-menu>.header__mobile-nav>.header__mobile-block:first-child>div:first-child {
    display: none;
  }

  .partner-benefits__item {
    max-width: 100%;
    width: 700px;
    flex: 0 1 auto;
  }

  .service-page__price-table-wrapper {
    display: none;
  }

  .service-page__price-mobile {
    display: block;
    background: #fff;
    border-radius: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 2rem 1.5rem;
    margin: 0 auto 2rem auto;
    max-width: 450px;
  }

  .service-page__price-mobile-row {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
  }

  .service-page__price-mobile-title {
    font-family: var(--font-main);
    color: var(--color-text);
    line-height: 1.3;
    font-weight: 400;
    max-width: 70%;
  }

  .service-page__price-mobile-value {
    font-family: var(--font-main);
    color: var(--color-text);
    font-weight: 400;
    white-space: nowrap;
  }

  .service-page__hero {
    margin-bottom: 2rem;
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }

  .service-page__hero-img-wrapper {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .service-page__hero-content {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .service-page__btn--primary {
    display: block;
    margin: 2rem auto 0 auto;
  }

  .service-page__tags-wrapper::before {
    display: none;
  }

  .service-page__tags {
    gap: 0;
    justify-content: flex-start;
  }

  .hero__slider {
    height: 450px;
  }

  .hero__desc {
    margin-bottom: 0;
  }

  .hero__main {
    width: 55%;
    margin: 0 0 0 2rem;
  }

  .stats__item {
    padding: 1rem 0.75rem;
  }

  .header__dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
  }

  .header__lang-switcher {
    padding-bottom: 0;
    margin-bottom: 0;
    gap: 0.5rem;
    border-bottom: none;
  }

  .header__lang {
    padding: 0;
  }

  .header__mobile-block:nth-child(1),
  .header__mobile-block:last-child {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-grey);
  }

  /* Header - скрываем десктопную версию, показываем мобильную */
  .header__container--desktop {
    display: none !important;
  }

  .header__container--mobile {
    display: flex !important;
    flex-direction: column;
    gap: 1rem;
    padding: 1.45rem 0;
  }

  .header__mobile-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .header__mobile-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
  }

  .header__mobile-logo .header__logo-img {
    width: 92px;
    height: 45px;
  }

  .header__cta--mobile-main {
    display: block;
    width: calc(100% - 20px);
    max-width: 320px;
    margin: 0 10px;
    padding: 0.75rem 1rem;
    font-size: 16px;
    text-align: center;
  }

  .header__mobile-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .header__mobile-lang {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .header__mobile-lang .header__lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }

  .header__mobile-lang .header__lang {
    font-size: 16px;
    padding: 0;
    line-height: 1;
  }

  .header__burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
  }

  .header__burger img {
    width: 18px;
    height: 18px;
    display: block;
  }


  /* Hero */
  .hero__notif {
    left: 1rem;
    bottom: 1rem;
    padding: 0.75rem 1rem;
  }

  .team__card {
    width: calc(25% - 16px);
    flex: 0 0 auto;
  }

  /* .hero__visuals {
    height: 450px;
    position: relative;
  } */
}

@media (max-width: 990px) {
  .offer-popup__window {
    max-height: 100vh;
    width: 100%;
    border-radius: 0;
  }

  .hero__img.hero__img--desktop {
    display: none;
  }

  .hero__img.hero__img--mobile {
    display: block;
  }

  .hero__visuals .hero__img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 500px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin: auto
  }

  .team-popup__content {
    flex-wrap: wrap;
    justify-content: center;
  }

  .team-popup__info {
    flex-direction: column;
    align-items: center;
  }

  .team-popup__window {
    padding: 10vh 1rem 2.5rem 1rem;
    max-height: 80vh;
    min-height: 200px;
    border-radius: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    width: calc(100% - 2rem);
  }

  .team-popup__tags {
    gap: 20px;
  }

  .gesy-team__header .team__title {
    min-width: auto;
    flex: 0 0 100%;
  }

  .partner-benefits__item {
    height: 130px;
  }

  .gesy-team__header .team__title {
    margin-bottom: 2rem;
  }

  .gesy-intro__col {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .header__dropdown {
    flex-direction: column;
    gap: 0.6rem;
    min-width: 200px;
    padding: 0.7rem 0.2rem 0.7rem 0.2rem;
  }

  .header__dropdown-list {
    min-width: 0;
  }

  .service-page__slider--reviews {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .service-page__slider--reviews .service-page__review {
    min-width: 310px;
    max-width: 310px;
    flex: 0 0 310px;
    margin-right: 8px;
  }

  .service-page__container {
    padding: 1rem;
  }

  .service-page__hero {
    gap: 2rem;
  }

  .service-page__hero-content,
  .service-page__hero-img-wrapper {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .service-page__slider--reviews .slick-slide {
    margin: 0 8px;
  }

  .service-page__slider--reviews .slick-list {
    margin: 0 -8px;
  }

  .service-page__how-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .service-page__how-text {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .service-page__how-slider {
    width: 70%;
    max-width: 800px;
    flex: 1 1 100%;
  }

  .service-page__price-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .service-page__price-left {
    max-width: 100%;
  }

  .service-page__price-table-wrapper {
    width: 100%;
  }

  .service-page__price-table th,
  .service-page__price-table td {
    padding: 0.75rem;
  }

  .service-page__review {
    padding: 1.5rem;
  }

  .service-hero {
    flex-direction: column;
  }

  .service-hero__img-wrapper {
    order: -1;
  }

  .service-hero__img {
    width: 100%;
    height: auto;
  }

  .service-content {
    padding: 20px 0;
  }

  .service-page__tags-wrapper {
    padding: 2rem 0;
  }

  .footer__col.footer__col--logo {
    flex-direction: row;
  }

  .team__top {
    flex-direction: column;
  }

  .footer__col.footer__col--logo,
  .footer__col.footer__col--info {
    flex: 0 0 100%;
  }

  .footer__col.footer__col--info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .footer__col.footer__col--info .footer__col-title {
    margin: 0;
    text-align: center;
  }

  .footer__col.footer__col--info .footer__col-title a {
    display: block;
    padding: 0.5rem;
    width: 100%;
  }

  div.footer__copyright-mobile {
    display: block;
  }

  .footer__copyright.footer__copyright--desktop,
  a.footer__agreement.footer__agreement--desktop {
    display: none;
  }

  .features {
    padding: 2rem 0;
  }

  div.footer__copyright-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-direction: column;
    gap: 15px;
  }

  .footer__col {
    flex: 0 0 100%;
  }

  .hero__slider {
    height: 700px;
  }

  .hero__visuals {
    height: 400px;
    width: 100%;
    order: 1;
  }

  .team__card-inner {
    width: 100%;
  }

  .footer__col.footer__col--services {
    display: flex;
  }

  .hero__slider.slick-initialized .slick-slide {
    display: flex;
    gap: 0;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .footer__services {
    flex: 0 0 50%;
  }

  .footer__col--services .footer__col-title {
    text-align: center;
  }

  .hero__desc {
    margin-bottom: 2rem;
  }

  .hero__main {
    margin: 0;
    order: 2;
    width: 100%;
    justify-content: start;
  }

  .hero__visuals {
    position: relative;
    order: 1;
    width: 100%;
  }

  .stats__list {
    flex-wrap: wrap;
  }

  .stats__item {
    flex-basis: 50%;
    min-width: 320px;
  }

  .hero__slide {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .hero__main,
  .hero__visuals {
    width: 100%;
  }

  .hero__notif {
    left: 1rem;
    bottom: 1rem;
    padding: 0.75rem 1rem;
  }

  .services__grid {
    flex-direction: column;
    gap: 2.5rem;
  }

  .services__col {
    display: none;
    max-width: 100%;
  }

  .services__specialists-card {
    padding: 16px;
  }

  .services__specialists-title {
    font-size: var(--fz-18-32);
  }

  .services__mobile {
    display: block;
  }

  .services__mobile-slider {
    padding-left: 8px;
    padding-right: 8px;
  }

  .services__mobile-slider .slick-slide {
    margin-right: 16px;
  }

  .services__mobile-slider .slick-slide:last-child {
    margin-right: 0;
  }

  .services__mobile-slider .slick-slide.services__slide--inactive {
    opacity: 0.4;
    transition: filter 0.3s, opacity 0.3s, background 0.3s;
  }

  .services__item {
    margin-bottom: 12px;
  }

  .services__mobile-slider .slick-slide {
    transition: filter 0.3s, opacity 0.3s, background 0.3s;
  }

  .contact__container {
    flex-direction: column;
    border-radius: 16px;
  }

  .contact__left,
  .contact__right {
    padding: 0 1rem;
    min-width: 0;
    width: 100%;
  }

  .about__container {
    flex-direction: column;
    gap: 2rem;
  }

  .about__left,
  .about__right {
    min-width: 0;
    width: 100%;
  }

  .about__map {
    min-width: 0;
    width: 100%;
    height: 220px;
  }

  .footer__container {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .footer__col {
    min-width: 140px;
  }

  .footer__col--logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 0 0 100%;
    margin-bottom: 1rem;
  }

  .footer__col.footer__col--logo .footer__socials {
    margin: 0;
  }

  .footer__copyright-wrapper {
    order: 999;
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    text-align: center;
  }

  .footer__copyright,
  .footer__agreement {
    margin: 0;
  }

  .footer__services-list {
    gap: 1.2rem;
  }

  .team__slides .slick-slide {
    margin: 0 8px;
  }

  .team__slides .slick-list {
    margin: 0 -8px;
    padding-bottom: 10px;
  }

  .features__container {
    flex-direction: column;
    gap: 2rem;
    overflow-x: hidden;
    width: 100%;
  }

  .features__gallery,
  .features__gallery--secondary {
    display: none;
  }

  .features__mobile {
    display: block !important;
    margin: 0 -15px;
    overflow-x: scroll;
    width: 100%;
    padding: 15px 0;
  }

  .features__mobile-wrapper {
    width: 100vw;
    height: 215px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .features__mobile-wrapper::-webkit-scrollbar {
    display: none;
  }

  .features__mobile-row {
    display: flex;
    gap: 16px;
    padding: 0 16px;
    width: max-content;
  }

  .features__mobile-img {
    width: 320px;
    height: 215px;
    object-fit: cover;
    border-radius: var(--radius-md);
    flex-shrink: 0;
  }

  .contact__container {
    flex-direction: column;
    border-radius: 16px;
  }

  .contact__left,
  .contact__right {
    padding: 2rem 0 0 0;
  }

  .contact__left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact__form {
    width: 520px;
    max-width: 100%;
  }

  .contact__img {
    margin: 0 auto 0;
    width: 90%;
    max-width: 500px;
  }

  .about__container {
    flex-direction: column;
    gap: 2rem;
  }

  .about__left,
  .about__right {
    min-width: 0;
    width: 100%;
  }

  .about__map {
    min-width: 0;
    width: 100%;
    height: 400px;
  }


  .contact__right {
    order: 1;
  }

  .footer__container {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .footer__col {
    min-width: 140px;
  }

  .footer__col--logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 0 0 100%;
    margin-bottom: 1rem;
  }

  .footer__col.footer__col--logo .footer__socials {
    margin: 0;
  }

  .footer__copyright-wrapper {
    order: 999;
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    text-align: center;
  }

  .footer__copyright,
  .footer__agreement {
    margin: 0;
  }

  .footer__services-list {
    gap: 1.2rem;
  }

  .team__list {
    gap: 6rem 1rem;
  }

  .features__gallery {
    display: none;
  }

  .features__gallery-row {
    flex-direction: column;
    gap: 16px;
  }

  .features__img {
    width: 100% !important;
    height: auto !important;
    min-width: 0;
  }

  .team__slider-wrapper {
    width: 100%;
  }

  .team__slides {
    width: 100%;
  }

  .team__card {
    margin: 0;
  }

  .team__card-inner {
    margin-top: 0;
    height: 320px;
  }

  /* Настройки слайдера для мобильных */
  .team__slides .slick-slide {
    margin: 0 8px;
  }

  .team__slides .slick-list {
    margin: 0 -8px;
  }

  .team__slides .slick-dots {
    bottom: -40px !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .team__slides .slick-dots button:before {
    color: var(--color-accent) !important;
  }

  .slider-controls .slick-dots {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .team__card-content {
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .team__card-name {
    margin-bottom: 8px;
  }

  .team__card-position {
    margin-bottom: 16px;
  }

  .team__btn-all {
    display: none;
  }

  .team__btn-all--mobile {
    display: block;
    width: 100%;
    padding: 1.25rem 0;
    border-radius: var(--radius-sm);
    max-width: 320px;
    margin: 80px auto 0 auto;
    text-align: center;
  }

  .about {
    padding: 0 0 2rem 0;
  }

  .team__header-left {
    width: 100%;
    margin: 0;
  }

  .team__header-right {
    display: block;
    width: 100%;
    margin-top: 24px;
  }

  .team__tags-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 8px;
    white-space: nowrap;
    padding-bottom: 8px;
  }

  .team__tags-wrapper::-webkit-scrollbar {
    display: none;
  }

  .team__tags {
    display: block;
    gap: 12px;
    overflow-y: scroll;
    padding: 16px;
    flex-wrap: nowrap;
  }

  .team__tag {
    display: inline-block;
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .team__slides .slick-slide {
    margin: 0 4px;
  }

  .team__slides .slick-list {
    margin: 0 -4px;
  }
}

@media (min-width: 991px) {
  .services__mobile {
    display: none;
  }

  .services__grid {
    display: flex;
    gap: 2rem;
  }

  .services__col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
  }

  .team__btn-all--mobile {
    display: none;
  }
}

@media (max-width: 700px) {
  .team__list {
    gap: 2rem 1rem;
  }

  .footer__container {
    padding: 24px 16px;
    gap: 24px;
  }

  .footer__col--logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-grey);
  }

  .footer__col--logo .footer__socials {
    margin: 0;
  }

  .footer__col--info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-grey);
  }

  .footer__col--info .footer__col-title {
    margin: 0;
    text-align: left;
  }

  .footer__copyright-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-top: 16px;
  }

  .footer__copyright,
  .footer__agreement {
    text-align: center;
  }

  .breadcrumbs {
    display: none;
  }

  .breadcrumbs--mobile {
    display: block !important;
    background: transparent;
    margin-bottom: 1.2rem;
  }

  .breadcrumbs--mobile .container {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 8px;
  }

  .breadcrumbs__back {
    display: flex;
    align-items: center;
    margin-right: 4px;
    height: 28px;
    width: 28px;
  }

  .breadcrumbs__back svg {
    display: block;
  }

  .breadcrumbs__current {
    color: var(--color-muted);
    font-family: var(--font-main);
    font-weight: 400;
    line-height: 1.2;
  }

  .gesy-faq {
    margin: 2rem 0;
  }

  .gesy-faq__title {
    margin-bottom: 1.2rem;
  }

  .gesy-faq__block {
    margin-bottom: 1rem;
  }

  .gesy-faq__question {
    padding: 1rem 1.5rem;
    font-size: var(--fz-16-24);
  }

  .gesy-faq__question-text {
    margin-right: 0.5rem;
  }

  .gesy-faq__question-icon {
    width: 20px;
    height: 20px;
  }

  .gesy-faq__question-icon::before {
    width: 20px;
  }

  .gesy-faq__question-icon::after {
    height: 20px;
  }

  .gesy-faq__answer {
    padding: 0 1.5rem 1rem 1.5rem;
  }

  .gesy-contact {
    margin: 2rem 0;
    padding: 1.5rem 1rem;
  }

  .partner-benefits {
    margin: 2.5rem 0 0 0;
  }
}

@media (max-width: 600px) {
  .service-page__how-slider {
    width: 100%;
  }

  .header__container--mobile {
    padding: 1.2rem 0;
    gap: 0.75rem;
  }

  .header__mobile-logo .header__logo-img {
    width: 82px;
    height: 40px;
  }

  .header__cta--mobile-main {
    padding: 0.65rem 0.75rem;
    font-size: 14px;
    margin: 0 5px;
    width: calc(100% - 10px);
    max-width: 320px;
  }

  .header__mobile-right {
    gap: 0.75rem;
  }

  .header__mobile-lang .header__lang {
    font-size: 14px;
  }

  .header__burger {
    width: 34px;
    height: 34px;
  }

  .header__burger img {
    width: 17px;
    height: 17px;
  }

  .team__slider-wrapper {
    padding: 0;
    width: 100%;
  }
}

/* =====================
  Mobile menu
====================== */
/* Вне медиа-запросов: только то, что реально нужно */
.header__mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 1vh;
  left: 1vw;
  width: 98vw;
  height: 99vh;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-white);
  z-index: 200;
  padding: 2rem;
  overflow-y: auto;
  transition: transform 0.3s, opacity 0.3s;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  box-sizing: border-box;
}

.header__mobile-menu.header__mobile-menu--open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.header__mobile-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
  padding: 0 0.5rem 1.5rem 0;
  border-bottom: 2px solid var(--color-grey);
}


.header__mobile-close {
  background: var(--color-accent);
  border: none;
  cursor: pointer;
  padding: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
}

.header__mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.header__mobile-title,
.header__mobile-title a {
  display: block;
  font-family: var(--font-accent);
  font-weight: 700;
  text-transform: uppercase;
  margin: 00;
  color: var(--color-dark);
  padding-bottom: 0.3rem;
  text-decoration: none;
  transition: color 0.2s;
}

.header__mobile-title:hover,
.header__mobile-title a:hover {
  color: var(--color-accent);
}

/* Active / current page — mobile menu */
.header__mobile-title a.header__mobile-link--active {
  color: var(--color-accent);
  border-left: 3px solid var(--color-accent);
  padding-left: 0.5rem;
}

.header__mobile-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.header__mobile-list li a,
.header__mobile-list li span.header__mobile-text {
  display: block;
  color: var(--color-dark);
  font-family: var(--font-main);
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.2;
}

.header__mobile-col:first-child {
  margin-bottom: 2rem;
}

.header__mobile-list li a:hover {
  color: var(--color-accent);
}


body.header-mobile-open {
  overflow: hidden;
}

/* Базовые стили для десктопа */
.features__mobile {
  display: none;
}

/* Базовые стили */
.footer__copyright-mobile {
  display: none;
}


@media (max-width: 700px) {
  .error-404__content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .error-404__title {
    font-size: 8rem;
  }

  .error-404__info {
    max-width: 100%;
  }

  .service-page__tag {
    padding: 0.75rem 1.5rem;
  }

  .service-page__slider--reviews .slick-slide {
    margin: 0 6px;
  }

  .service-page__slider--reviews .slick-list {
    margin: 0 -6px;
  }

  .service-page__how-slider .slick-slide {
    margin: 0 6px;
  }

  .service-page__how-slider .slick-list {
    margin: 0 -6px;
  }

  .service-page__price-table th,
  .service-page__price-table td {
    padding: 0.5rem;
  }

  .service-page__review {
    padding: 2rem;
  }

  .team__card-btn {
    padding: 1.2rem;
    max-width: 260px;
    width: 260px;
    margin: auto;
  }

  .team__card .team-popup__btn {
    padding: 1.2rem;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    margin: auto;
  }

  .promo-card__btn {
    padding: 1.2rem;
    max-width: 260px;
    margin: 1rem auto 0;
  }

  .team__list--grid .team__card {
    flex: 0 0 280px;
    min-width: 280px;
    max-width: 280px;
    margin: 0 0.5rem 1.5rem 0.5rem;
  }

  .hero__title {
    padding: 20px 0;
  }

  .special-offers__image {
    max-height: 240px;
  }

  .special-offers__item-title {
    font-size: 18px;
  }

  .special-offers__description {
    font-size: 14px;
  }

  .special-offers__button {
    padding: 12px 20px;
    font-size: 14px;
  }
}

@media (max-width: 560px) {
  .team__card-inner-wrap {
    width: 320px;
    margin: 0 auto;
  }

  .team__card-inner {
    width: 300px;
  }

  .team__list--grid .team__card {
    flex: 0 0 260px;
    min-width: 260px;
    max-width: 260px;
    margin: 0 0.25rem 1rem 0.25rem;
  }

  .special-offers__grid {
    flex-wrap: nowrap;
  }

  .special-offers__button {
    align-self: center !important;
  }
}

@media (max-width: 480px) {
  .team__card-inner>img {
    background-size: cover;
    width: 300px;
    height: 350px;
    max-width: none;
  }

  .team__card-content {
    width: 300px;
  }

  .team__card .team-popup__btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .team__card-photo {
    width: auto;
    object-fit: contain;
    height: auto;
  }

  .team__card-inner {
    padding: 40px 0 0 0;
  }

  .team-popup__window {
    padding: 4rem 1rem 3.5rem 1rem;
    width: calc(100% - 1rem);
    max-height: 80vh;
    min-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .team-popup__close {
    top: 1rem;
    right: 1rem;
  }

  .service-page__slider--reviews .service-page__review {
    min-width: 240px;
    max-width: 240px;
    flex: 0 0 240px;
    margin-right: 8px;
  }

  .hero__slider {
    height: 650px;
  }

  .hero__visuals {
    height: 300px;
  }

  .service-page__hero {
    gap: 1rem;
  }

  .service-page__btn {
    padding: 0.75rem 1.2rem;
  }

  .service-page__review-text {
    height: 170px;
  }
}


@media (max-width: 700px) {
  .service-tags__item {
    padding: 8px 16px;
  }
}

@media (max-width: 900px) {
  .promo-list {
    flex-direction: column;
    align-items: center;
  }

  .promo-card {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
    padding: 1.2rem 1rem;
    position: relative;
    width: 450px;
  }

  .promo-card__discount {
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
  }

  .partner-benefits__item {
    width: 450px;
  }

  .team__list--grid .team__card-content {
    height: 100%;
  }

  /* Special Offers - мобильная версия */
  .special-offers {
    padding: 2rem 0;
  }

  .special-offers__title {
    margin: 0 0 2rem 0;
  }

  .special-offers__grid {
    flex-direction: column;
    gap: 20px;
  }

  .special-offers__item {
    margin: 0 auto;
  }

  .special-offers__image {
    max-height: 280px;
  }

  .special-offers__buttons {
    flex-direction: column;
  }

  .special-offers__btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  /* Offer Popup - мобильная версия */
  .offer-popup__content {
    flex-direction: column;
  }

  .offer-popup__photo-wrap {
    flex: 0 0 auto;
    width: 100%;
  }

  .offer-popup__photo {
    width: 100%;
  }

  .offer-popup__window {
    padding: 5rem 1.5rem 2rem 1.5rem;
  }

  .offer-popup__btn {
    margin: 0 auto;
    text-align: center;
  }
}

/* Мобильное фиксированное меню */
@media (max-width: 560px) {
  .mobile-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    border-top: 1px solid #ebebeb;
    box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.07);
  }

  .mobile-menu__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    max-width: 100%;
  }

  .mobile-menu__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #8a9099;
    background: none;
    border: none;
    padding: 3px 2px;
    min-width: 0;
    flex: 1;
    cursor: pointer;
    transition: color 0.25s ease;
  }

  .mobile-menu__item:hover,
  .mobile-menu__item:focus {
    color: #5bccf6;
    outline: none;
  }

  .mobile-menu__item--active {
    color: #5bccf6;
  }

  .mobile-menu__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-bottom: 2px;
    position: relative;
  }

  .mobile-menu__icon-default,
  .mobile-menu__icon-accent {
    width: 20px;
    height: 20px;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
  }

  /* По умолчанию показываем обычную иконку, скрываем акцентную */
  .mobile-menu__icon-default {
    opacity: 1;
  }

  .mobile-menu__icon-accent {
    opacity: 0;
  }

  /* При hover и focus показываем акцентную иконку */
  .mobile-menu__item:hover .mobile-menu__icon-default,
  .mobile-menu__item:focus .mobile-menu__icon-default {
    opacity: 0;
  }

  .mobile-menu__item:hover .mobile-menu__icon-accent,
  .mobile-menu__item:focus .mobile-menu__icon-accent {
    opacity: 1;
  }

  /* Для активного элемента всегда показываем акцентную иконку */
  .mobile-menu__item--active .mobile-menu__icon-default {
    opacity: 0;
  }

  .mobile-menu__item--active .mobile-menu__icon-accent {
    opacity: 1;
  }

  .mobile-menu__text {
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    font-weight: 500;
    margin-top: 3px;
    font-family: var(--font-main);
    letter-spacing: 0.01em;
  }

  /* Отступ для body чтобы контент не перекрывался меню */
  body {
    padding-bottom: 70px;
  }
}

/* Скрыть меню на больших экранах */
@media (min-width: 561px) {
  .mobile-menu {
    display: none;
  }
}

/* =====================
   Blog — responsive
====================== */

/* Tablet ≤ 1024px */
@media (max-width: 1024px) {
  .blog-card--featured {
    flex-direction: column;
  }

  .blog-card__img-wrap--featured {
    flex: none;
    max-width: 100%;
    min-height: 240px;
    aspect-ratio: 16 / 9;
  }

  .blog-card__body--featured {
    padding: 1.5rem 2rem;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* Mobile ≤ 560px */
@media (max-width: 560px) {
  .blog {
    padding-bottom: 2rem;
  }

  .blog__title {
    margin-bottom: 1.5rem;
  }

  .blog-card--featured {
    margin-bottom: 1.5rem;
  }

  .blog-card__body--featured {
    padding: 1.25rem 1.25rem 1.5rem;
  }

  .blog-card__heading--featured {
    font-size: var(--fz-14-20);
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .blog-card {
    border-radius: var(--radius-md);
  }
}

/* =====================
   Blog single — responsive
====================== */

/* Tablet ≤ 1024px */
@media (max-width: 1024px) {
  .blog-post__hero {
    flex-direction: column;
    gap: 2rem;
  }
  .blog-post__hero-img {
    flex: none;
    max-width: 100%;
    order: -1;
  }
  .blog-post__section {
    gap: 2rem;
  }
  .blog-post__section-left {
    flex: 0 0 35%;
    max-width: 35%;
  }
}

/* Mobile ≤ 560px */
@media (max-width: 560px) {
  .blog-post__hero {
    gap: 1.5rem;
  }
  .blog-post__title {
    margin: 0.75rem 0 1rem;
  }
  .blog-post__section {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0;
  }
  .blog-post__section-left {
    flex: none;
    max-width: 100%;
  }
  .blog-post__share {
    padding: 1.5rem 0 2rem;
  }
  .blog-post__share-links {
    gap: 8px;
  }
  .blog-post__share-link span {
    display: none;
  }
  .blog-post__share-link {
    padding: 12px;
    border-radius: 50%;
  }
  .blog-post__related {
    padding: 2rem 0 3rem;
  }
  .blog-post__related .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* =====================
   Pressotherapy — responsive
====================== */
@media (max-width: 1200px) {
  .pressotherapy__hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  }

  .pressotherapy__package-grid,
  .pressotherapy__result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pressotherapy__package-card--maximum {
    grid-column: 1 / -1;
  }
}

@media (max-width: 991px) {
  .pressotherapy__hero {
    padding: 0 0 3rem;
  }

  .pressotherapy__hero-inner,
  .pressotherapy__split,
  .pressotherapy__how,
  .pressotherapy__form-layout,
  .pressotherapy__cta-inner {
    grid-template-columns: 1fr;
  }

  .pressotherapy__image-shell,
  .pressotherapy__image-shell--hero {
    min-height: 320px;
  }

  .pressotherapy__nav {
    top: 72px;
    margin-bottom: 2rem;
  }

  .pressotherapy__nav-inner {
    justify-content: flex-start;
  }

  .pressotherapy__section {
    margin: 3.5rem 0;
  }

  .pressotherapy__section--how {
    padding: 3rem 0;
  }

  .pressotherapy__section-head,
  .pressotherapy__section-head--center {
    max-width: 100%;
    text-align: left;
  }

  .pressotherapy__actions--end {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .pressotherapy__metrics,
  .pressotherapy__cause-grid,
  .pressotherapy__compare,
  .pressotherapy__program-grid,
  .pressotherapy__package-grid,
  .pressotherapy__result-grid {
    grid-template-columns: 1fr;
  }

  .pressotherapy__package-card--maximum {
    grid-column: auto;
  }

  .pressotherapy__hero::before {
    bottom: 8%;
  }

  .pressotherapy__actions,
  .pressotherapy__actions--end {
    align-items: stretch;
  }

  .pressotherapy__btn {
    width: 100%;
  }

  .pressotherapy__nav {
    position: relative;
    top: auto;
  }

  .pressotherapy__nav-inner {
    padding-left: 15px;
    padding-right: 15px;
  }

  .pressotherapy__cause-card,
  .pressotherapy__program-card,
  .pressotherapy__result-card,
  .pressotherapy__form-card,
  .pressotherapy__package-body,
  .pressotherapy__cta-inner {
    padding: 1.2rem;
  }

  .pressotherapy__selected {
    flex-direction: column;
    align-items: flex-start;
  }

  .pressotherapy__selected strong {
    text-align: left;
  }

  .pressotherapy__step {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .pressotherapy__step span {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 480px) {
  .pressotherapy__hero-inner {
    gap: 1.5rem;
  }

      .pressotherapy__image-shell--how {
        flex: none;
        height: clamp(180px, 45vw, 360px);
    }

  .pressotherapy__image-shell,
  .pressotherapy__image-shell--hero {
    min-height: 180px;
  }

  .pressotherapy__package-meta {
    flex-direction: column;
    gap: 0.35rem;
  }

  .pressotherapy__result-card {
    padding-left: inherit;
  }

  .pressotherapy__result-card::before {
    left: 1.15rem;
  }
}

/* Pressotherapy mockup responsive overrides */
@media (max-width: 1200px) {
  .pressotherapy .container {
    max-width: calc(100% - 48px);
  }

  .pressotherapy__hero-inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
    gap: 2rem;
  }

  .pressotherapy__package-card--maximum {
    grid-column: auto;
  }

  .pressotherapy__package-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .pressotherapy__price {
    justify-content: center;
  }
}

@media (max-width: 991px) {
  .pressotherapy {
    padding-bottom: 3.5rem;
  }

  .pressotherapy__hero {
    padding: 0 0 3rem;
  }

  .pressotherapy__hero-inner,
  .pressotherapy__volume-grid,
  .pressotherapy__how-layout,
  .pressotherapy__cta-inner {
    grid-template-columns: 1fr;
  }

  .pressotherapy__hero-inner {
    gap: 1.6rem;
  }

  .pressotherapy__hero-visual {
    max-width: 620px;
  }

  .pressotherapy__image-shell--hero {
    min-height: 300px;
  }

  .pressotherapy__section--volume,
  .pressotherapy__section--how,
  .pressotherapy__package-grid,
  .pressotherapy__section--results {
    margin-bottom: 3.5rem;
  }

  .pressotherapy__volume-grid,
  .pressotherapy__how-layout {
    gap: 2rem;
  }

  .pressotherapy__volume-item {
    max-width: none;
  }

  .pressotherapy__package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pressotherapy__result-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pressotherapy__result-title-card {
    grid-column: span 3;
  }

  .pressotherapy__result-card:nth-of-type(-n + 4),
  .pressotherapy__result-card:nth-of-type(n + 5) {
    grid-column: span 1;
  }

  .pressotherapy__cta-inner {
    min-height: 0;
    padding: 2.5rem;
  }

  .pressotherapy__cta-visual {
    height: 320px;
  }
}

@media (max-width: 700px) {
  .pressotherapy .container {
    max-width: calc(100% - 30px);
  }

  .pressotherapy__title,
  .pressotherapy__section-title,
  .pressotherapy__cta h2,
  .pressotherapy__result-title-card h2 {
    font-size: 30px;
  }

  .pressotherapy__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pressotherapy__btn {
    width: 100%;
    min-width: 0;
  }

  .pressotherapy__volume-item {
    min-height: 265px;
    padding: 34px 0;
    overflow: visible;
  }

  .pressotherapy__body-image {
    left: 4px;
    width: 126px;
    height: 262px;
  }

  .pressotherapy__volume-card {
    width: 100%;
    min-height: 190px;
    margin-left: 0;
    padding: 1.4rem 1.15rem 1.4rem 148px;
  }

  .pressotherapy__volume-card h2,
  .pressotherapy__method-card h3,
  .pressotherapy__package-card h3 {
    font-size: 22px;
  }

  .pressotherapy__package-grid {
    grid-template-columns: 1fr;
  }

  .pressotherapy__result-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .pressotherapy__result-card:nth-of-type(-n + 4),
  .pressotherapy__result-card:nth-of-type(n + 5) {
    grid-column: auto;
  }

  .pressotherapy__result-title-card {
    grid-column: span 2;
    min-height: 0;
    padding: 1rem 1.2rem;
    justify-content: center;
    text-align: center;
  }

  .pressotherapy__result-card {
    min-height: 0;
  }

  .pressotherapy__method-card--blue,
  .pressotherapy__method-card--green,
  .pressotherapy__cta-inner {
    padding: 1.4rem;
  }

  .pressotherapy__cta-visual {
    height: 260px;
  }

  /* Popup modal — compact & scroll-free on mobile */
  .pressotherapy__form-section {
    padding: 16px;
    align-items: center;
  }

  .pressotherapy__form-section .container {
    max-width: 100%;
    padding: 0;
  }

  .pressotherapy__form-card {
    max-width: 100%;
    max-height: calc(100dvh - 32px);
    border-radius: 18px;
    padding: 1.1rem 1.15rem 1.25rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .pressotherapy__form-copy {
    margin-bottom: 0.65rem;
  }

  .pressotherapy__form-copy .pressotherapy__section-title {
    font-size: 22px !important;
    margin-bottom: 0.35rem;
  }

  .pressotherapy__form-copy .pressotherapy__section-desc {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 0;
  }

  .pressotherapy__selected {
    padding: 0.65rem 0.9rem;
    margin-bottom: 0.65rem;
  }

  .pressotherapy__fields {
    gap: 0.65rem;
  }

  .pressotherapy__input {
    min-height: 46px;
    font-size: 16px;
  }

  /* Toggle + phone input: stack vertically instead of squeezing in one row */
  .pressotherapy__field--contact {
    flex-direction: column;
    gap: 0.55rem;
  }

  .pt-contact-toggle {
    width: 100%;
    gap: 0;
    margin-bottom: 0;
  }

  .pt-contact-toggle__btn {
    flex: 1;
    padding: 10px 8px;
    font-size: 14px;
    min-height: 44px;
    justify-content: center;
  }

  .pressotherapy__field--contact .contact__input {
    width: 100%;
  }

  .pressotherapy__submit-btn {
    margin-top: 0.65rem;
    min-height: 48px;
  }

  .pressotherapy__agreement-note {
    font-size: 11px;
    margin-top: 0.5rem;
  }
}

@media (max-width: 480px) {
  .pressotherapy__image-shell--hero {
    min-height: 235px;
  }

  .pressotherapy__volume-item {
    min-height: 235px;
    padding: 26px 0;
  }

  .pressotherapy__body-image {
    left: 4px;
    width: 104px;
    height: 218px;
  }

  .pressotherapy__volume-card {
    width: 100%;
    margin-left: 0;
    padding-left: 122px;
  }

  .pressotherapy__package-media span {
    white-space: normal;
  }

  .pressotherapy__package-features {
    gap: 0.45rem;
  }

  .pressotherapy__cta-visual {
    height: 220px;
  }
}

@media (max-width: 360px) {
  .pressotherapy {
    overflow-x: clip;
  }

  .pressotherapy .container {
    max-width: calc(100% - 20px);
  }

  .pressotherapy__title,
  .pressotherapy__section-title,
  .pressotherapy__cta h2,
  .pressotherapy__result-title-card h2 {
    font-size: 24px;
  }

  .pressotherapy__volume-item {
    min-height: 210px;
    padding: 20px 0;
  }

  .pressotherapy__body-image {
    width: 88px;
    height: 185px;
  }

  .pressotherapy__volume-card {
    padding-left: 106px;
  }

  .pressotherapy__result-layout {
    gap: 0.5rem;
  }

  .pressotherapy__form-card {
    padding: 0.85rem;
  }

  .pressotherapy__form-copy .pressotherapy__section-title {
    font-size: 20px !important;
  }

  .pressotherapy__form-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
  }
}