@media (min-width: 601px) {
  .doctor-specification .doctor-image {
    display: none;
  }

  .swiper-on-pc{
    display: none !important;
  }
}

@media (min-width: 911px) {
  .doctor-specification .doctor-image {
    display: none;
  }
}

@media (max-width: 910px) {
  /* HEADER */
  .header .menu{
    flex-direction: column;
    gap: 10px;
    margin: 5px 0;
  }

  .menu{
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin: 5px 0;
  }

  .address-info {
    justify-content: center;
  }


  /* MAIN*/

  h3,h4 {
    display: flex;
    justify-content: center;
  }

  .intro-container {
    flex-direction: column;
    align-items: center;
  }

  .intro-content{
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .intro-content h1 {
    font-size: 60px;
  }

  .intro-content p {
    font-size: 20px;
  }

  .intro-content .outline {
    margin-bottom: 30px;
  }

  .gift-image {
    padding: 0.8rem;
    max-width: 130px;
  }

  .features-container {
    flex-direction: column;
  }

  .feature {
    min-width: 300px;
  }


/*  SERVICE  */

  .services {
    padding: 0;
  }

  .service-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .service-card.horizontal {
    max-width: 500px;
  }

  .service-card-content h2 {
    font-size: 35px;
  }

  .service-card-content p {
    font-size: 25px;
  }

  .service-card {
    max-width: 250px;
  }

  .service-number {
    font-size: 55px;
  }

/*  DOCTOR REVIEW  */

 .doctor-content {
   flex-direction: column;
   align-items: center;
 }

  .doctor-content .doctor-hide-mobile{
    display: none;
  }

 .doctor-review h3 {
   font-size: 45px;
   margin-bottom: 20px;
 }

 .doctor-name {
   padding-bottom: 20px;
 }

 .doctor-name h4 {
   font-size: 30px;
 }

 .achievement {
   gap: 0;
   padding-bottom: 5px;
 }

 .doctor-image {
   position: relative;
   left: 0;
 }

 .doctor-image img {
   height: 350px;
 }

 .therapy-info h4 {
   font-size: 35px;
   padding-bottom: 25px;
 }

 .therapy-description {
   font-size: 16px;
 }

/*  BENEFITS SECTION  */

  .benefits-question h3 {
    font-size: 40px;
  }

  .benefits-cards{
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .benefits-card {
    max-width: 420px;
  }

  .benefit-card-text p {
    font-size: 20px;
  }

  .benefit-card-icon{
    min-width: 70px;
    max-width: 90px;
  }

  .benefit-card-icon img {
    max-width: 80%;
  }

/*  THERAPY  */

  .therapy-indications h2 {
    font-size: 45px;
  }

  .indications-section h3 {
    font-size: 38px;
  }

  .indications-section .btn {
    padding: 15px 25px;
    font-size: 20px
  }

  .indications-grid {
    grid-template-columns: repeat(2, 1fr);
  }

/*  EFFECT  */

  .effect-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .image-container {
    width: auto;
  }

  .image-container img {
    max-width: 80%;
  }

  .text-container {
    gap: 10px;
    align-items: center;
    width: 80%;
  }

  .text-container h3 {
    font-size: 25px;
    width: 90%;
  }

  .text-container p {
    font-size: 16px;
  }

  .profile-info {
    padding: 15px;
  }

  .feedback {
    gap: 40px;
  }

  .feedback .btn {
    padding: 0 20px;
    font-size: inherit;
  }

/*  LOCATION*/

  .location-container h3 {
    font-size: 40px;
    margin-top: 30px;
  }

  .location-address {
    gap: 15px;
    padding: 8px 15px;
  }

  .location-address p {
    font-size: 14px;
  }

/*  CERTIFICATES  */

  .certificate-cards {
    flex-direction: column;
    gap: 40px;
  }

  .comments-text h3 {
    font-size: 40px;
  }

  .swiper-card-text p {
    font-size: inherit;
  }

  .swiper-card-profile p {
   font-size: 14px;
  }



  /*FOOTER*/

  .footer-container {
    row-gap: 40px;
  }

  .info-containers {
    flex-direction: column;
    gap: 30px;
  }

  .info-container {
    gap: 15px;
  }

  }

/*  MEDIA FOR PHONE  */

@media (max-width: 600px) {

  /*.intro{*/
  /*  background:*/
  /*    linear-gradient( to right, rgba(0, 154, 178, 0.8), rgba(0, 154, 178, 0.28), rgba(0, 154, 178, 0)),*/
  /*    url("../img/backgroundMobile.jpg") no-repeat center/cover;*/
  /*}*/

  .address-info {
    flex-direction: column;
    align-items: center;
  }

  .header-logo {
    max-width: 260px;
  }

  .btn {
    padding: 6px 12px;
    font-size: 15px;
  }

  .intro-content h1 {
    font-size: 50px
  }

  .intro-content p {
    font-size: inherit;
  }

  .intro-content .outline {
    padding: 11px;
  }

  .gift-image {
    padding: 0.3rem;
    max-width: 100px;
  }

  .feature {
    padding: 8px 15px;
  }

  .feature-text p {
    font-size: 14px;
  }

  .service-card.horizontal {
    max-width: 99%;
  }

  .service-card-content h2 {
    font-size: 24px;
  }

  .service-card-content p {
    font-size: 18px;
  }

  .service-card-image img {
    max-width: 85%;
    height: auto;
  }

  .indication-card {
    width: 90%;
    padding: 12px;
  }

  .indication-card img {
    max-width: 50px;
    max-height: 50px;
  }

  .indication-card p {
    font-size: inherit;
  }

  .map-wrapper {
    width: 95%;
    display: flex;
    align-self: center;
  }

  .video-container iframe {
    width: 99%;
  }

  .doctor-review h3 {
    font-size: 28px;
  }

  .doctor-name h4{
    font-size: 22px;
  }

  .achievements-list {
    max-width: 98%;
    transform: scale(0.95);
  }

  .therapy-info h4 {
    font-size: 25px;
  }
  .therapy-description{
    max-width: 99%;
  }

  .benefits-question h3 {
    font-size: 35px;
  }

  .benefits-cards {
    width: 100vw;
  }

  .benefit-card {
    width: 300px;
    gap: 16px;
  }

  .benefit-card-text p {
    font-size: 16px;
  }

  .benefit-card-icon {
    max-width: 170px;
  }

  .benefit-card-icon img {
    max-width: 50px;
  }

  .video-container button {
    padding: 13px 22px;
  }

  .therapy-indications h2 {
    font-size: 35px;
  }

  .indications-section h3 {
    font-size: 30px;
  }

  .indication-card p {
    font-size: 12px;
  }

  .indications-section .btn {
    padding: 12px 18px;
    font-size: 16px;
  }

  .text-container h3 {
    font-size: 18px;
    width: 85%;
  }

  .text-container p {
    font-size: 14px;
  }

  .profile-info {
    font-size: 14px;
  }

  .rating strong {
    font-size: 20px;
  }

  .feedback .btn {
    padding: 2px 22px;
    font-size: 11px;
  }

  .location-container h3 {
    font-size: 27px;
  }

  .location-address {
    gap: 10px;
    padding: 8px 10px;
  }

  .certificate-cards .pop-up img {
    width: 400px;
  }

  .certificate-container h3 {
    font-size: 30px;
  }

  .comments-text h3 {
    font-size: 22px;
  }

  .comments-all {
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 12px;
  }

  .swiper-card-text span {
    font-size: 60px;
    height: 40px;
  }

  .swiper-card-text p {
    font-size: 12px;
  }

  .swiper-card-profile {
    gap: 10px;
  }

  .swiper-card-profile p {
    font-size: 11px;
  }

  .info-containers h2 {
    font-size: 20px;
  }

  .indications-grid {
    display: flex;
    flex-direction: column;
  }

  .certificate-cards-pc{
    display: none;
  }

  .swiper {
    display: block;
    width: 100%;
  }

  .swiper-slide.swiper-slide-active {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
  }

  #modal3 .cmodal__content {
    max-height: 90svh;
  }

}

@media (max-width: 450px) {

  .intro{
    background-position: right center;
  }

  .header-buttons .btn {
    justify-content: normal;
    gap: 30px;
    padding: 8px 14px;
    font-size: 12px;
  }

  .divider {
    display: none;
  }
header .container {
  padding: 3px 10px;
}
  .contact-info {
    font-size: 10px;
    flex-direction: column;
    align-items: baseline;
    text-wrap-style: balance;
  }

  .gift-icon{
    display: none;
  }

  .address-info {
    flex-direction: column;
    align-items: baseline;
    gap: 5px;
  }

  .intro-content .outline {
    padding: 8px;
    font-size: 12px;
  }

  .intro-content h1 {
    font-size: 30px;
  }

  .intro-content p {
    font-size: 12px;
  }

  .features-container {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    justify-items: center;
    max-width: 80%;
  }

  .feature {
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    height: 120px;
    min-width: 100px;
    max-width: 120px;
  }

  .feature .icon {
    max-width: 40px;
  }

  .feature-divider {
    display: none;
  }

  .feature-text p {
    font-size: 11px;
    text-align: center;
  }

  .benefit-card-icon {
    justify-content: flex-start;
  }

  .doctor-review h3 {
    font-size: 22px;
  }

  .doctor-name h4 {
    font-size: 18px;
  }

  .video-container button{
    right: 0;
    padding: 10px 8px;
    font-size: 12px;
    left: 50%;
    transform: translateX(-50%);
  }

  .achievement {
    font-size: 14px;
  }

  .achievement img {
    width: 30px;
    transform: scale(0.9);
  }

  .feedback {
    flex-direction: column;
    gap: 30px;
  }

  .feedback .btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  .feedback-profile {
    flex-direction: column;
  }

  .therapy-indications h2 {
    font-size: 30px;
    line-height: 1;
  }

  .certificate-cards .pop-up img {
    width: 300px;
  }

  .certificate-container h3 {
    font-size: 25px;
  }

  .video-container {
    margin-bottom: 80px;
  }

  .indications-section h3 {
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .indications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-items: center;
  }

  .image-container {
    display: flex;
    width: auto;
    justify-content: center;
  }

  .info-text {
    color: #FFFFFF;
    text-decoration: none;
  }

  .info-container-row {
    text-decoration: underline;
  }

  .footer-container h2 {
    font-size: 22px;
  }

  .form-container {
    width: 100%;
    padding: 8px;
  }

  #modal1 .cmodal__content {
    padding: 30px;
    width: 90%;
  }


  .doctor-specification .doctor-image {
    display: flex;
    justify-content: center;
  }

  .time-slot{
    padding: 10px;
  }

}
/* =========================================================
   FOOTER FINAL OVERRIDE — ВСТАВИТЬ В САМЫЙ НИЗ media.css
   ========================================================= */

/* изолируем футер от глобальных media-правил */
#footer *,
#footer *::before,
#footer *::after {
  box-sizing: border-box;
}

/* базовая сетка футера */
#footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 18px;
  row-gap: 30px;
}

/* колонки */
#footer .info-containers {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 28px;
}

/* блоки */
#footer .info-container {
  gap: 16px;
}

/* текст */
#footer .info-text {
  font-size: 16px;
  line-height: 1.35;
  text-decoration: none !important;
}

/* ссылки в футере — белые, но НЕ кнопка */
#footer a:not(.btn-footer-cta){
  color: #fff;
  text-decoration: none;
}
#footer a:not(.btn-footer-cta):hover{
  text-decoration: underline;
}

/* кнопка — своя, как задумано */
#footer .btn-footer-cta{
  color: #009AB2;
  background: #fff;
  text-decoration: none;
}
#footer .btn-footer-cta:hover{
  text-decoration: none;
}

/* email */
#footer .footer-link {
  display: inline-block;
  border-bottom: 1px solid rgba(255,255,255,.35);
}
#footer .footer-link:hover {
  border-bottom-color: rgba(255,255,255,.8);
}

/* ===== ФИЛИАЛЫ ===== */

#footer .branch-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

#footer .branch-item:last-child {
  border-bottom: none;
}

#footer .branch-location {
  flex: 1;
  display: block;
  margin-top: 0 !important;
  line-height: 1.3;
}

#footer .branch-phone {
  display: block;
  white-space: nowrap;
  font-weight: 800;
}

/* соцсети */
#footer .info-container-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  text-decoration: none !important;
}

/* копирайт */
#footer .footer-copy {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  opacity: .95;
}

/* ================= MOBILE ================= */

@media (max-width: 910px) {
  #footer .info-containers {
    flex-direction: column;
    gap: 22px;
  }
}

@media (max-width: 768px) {
  #footer .branch-item {
    display: block;
    padding: 12px 0;
  }

  #footer .branch-location {
    margin-bottom: 6px;
  }

  #footer .branch-phone {
    white-space: normal;
  }
}

/* убираем ВСЕ подчеркивания и мусор с 450px */
@media (max-width: 450px) {
  #footer .info-text,
  #footer .info-container-row {
    text-decoration: none !important;
  }

  #footer .footer-copy {
    font-size: 20px;
  }
}
