/* ==== HEADER (Десктоп) ==== */


.site-header {
  background: #D6EDFF;
  padding: 0 7vw;
}

.site-header .header-top {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 0;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  width: 163px;
  height: 65px;
  display: block;
}

/* Инфо-блоки */

.header-info-wrp {
  display: grid;
  justify-content: center;
}

.header-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  gap: 4vw;
}

.info-block {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #262626;
}

.info-block .icon,
.info-block .icon img {
  width: 24px;
  height: 24px;
}

.info-block a {
  color: #262626;
  text-decoration: none;
}

.info-block a:hover {
  text-decoration: underline;
}

.icon-only {
  display: block;
  cursor: pointer;
  width: 24px;
  height: 24px;
}

.icon-only img {
  width: 24px;
  height: 24px;
}

.icon-vk,
.icon-vk img {
  width: 27px;
}

/* Текст вместо Instagram */

.social-text,
.social-btn--text {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #0086E9 !important;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  height: 24px;
}

/* Tooltip */

.tooltip-hover {
  position: relative;
  display: inline-block;
}

.tooltip-hover .tooltip-content {
  display: none;
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  color: #0787E3;
  padding: 6px 10px;
  white-space: nowrap;
  z-index: 100;
}

.tooltip-hover:hover .tooltip-content {
  display: block;
}

/* Кнопка “Записаться на приём” */

.header-button-wrp {
  flex-shrink: 0;
}

.header-button .pink-btn {
  padding: 15px 30px;
}

/* ==== NAVIGATION (Десктоп) ==== */

.main-nav {
  background: #D6EDFF;
}

.main-nav .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
}

.header-menu {
  display: flex;
  gap: 3vw;
  margin: 0;
  padding: 15px 0;
  list-style: none;
}

.header-menu li {
  width: 90px;
  text-align: center;
}

.header-menu li a {
  color: #0787E3;
  text-transform: uppercase;
  transition: color 0.5s ease, margin-left 0.3s ease;
}

.header-menu li a:hover {
  color: #A3D2F4;
  margin-left: -5px;
}

.header-menu li.current-menu-item a {
  color: #F285BE;
}

/* ==== Кнопка бургер ==== */

.mobile-menu-btn {
  background: none !important;
  border: none !important;
  padding: 0;
  cursor: pointer;
}

.mobile-menu-btn img {
  padding-bottom: 2.5px;
  width: 34px;
}

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

#mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: #E0F2FF;
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 999;
  display: none;
  flex-direction: column;
  overflow-y: auto !important;
}

#mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px 24px;
}

.mobile-menu-header .logo img {
  height: 52px;
  width: auto;
}

#mobile-menu-close {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

#mobile-menu-close img {
  display: block;
  width: 40px;
  height: 40px;
}

.mobile-nav {
  overflow-y: hidden !important;
  flex: none !important;
  height: auto !important;
}

.mobile-nav::before,
.mobile-nav::after {
  display: none !important;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-list li a span {
  display: block;
  padding: 0 16px 20px;
  color: #007ACC;
  text-transform: uppercase;
  text-decoration: none;
}

.mobile-menu-list li.current-menu-item a span {
  color: #F285BE;
}

.mobile-menu-footer {
  padding: 16px;
  position: sticky;
  bottom: 0;
  z-index: 10;
  background: #E0F2FF;
}

.mobile-menu-footer .pink-btn {
  display: block;
  padding: 12px 0;
  margin-bottom: 16px;
}

/* Соцсети в мобильном меню */

.mobile-social {
  margin: 36px 21px 0;
  min-height: 40px;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.mobile-social .social-btn {
  padding: 0 !important;
  align-self: stretch;
}

.social-btn--whatsapp {
  background-image: url('../img/contacts/wa.svg');
}

.social-btn--vk {
  background-image: url('../img/contacts/vk.svg');
}

.social-btn--telegram {
  background-image: url('../img/contacts/tg.svg');
}

.social-btn--phone {
  background-image: url('../img/ui-kit-mob/phone.png');
}

.social-btn--mail {
  background-image: url('../img/ui-kit-mob/mail.png');
}

/* ==== DESKTOP / MOBILE TOGGLE ==== */

.desktop {
  display: block;
}

.mobile {
  display: none;
}

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

@media (max-width: 768px) {
  .desktop,
  .desktop .main-nav,
  .desktop .header-menu {
    display: none !important;
  }

  .mobile {
    display: block !important;
  }

  #mobile-menu {
    display: flex !important;
  }

  .site-header,
  .site-footer {
    padding: 0 !important;
  }

  .mobile .container,
  .mobile .header-top.container,
  .mobile .footer-top.container {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 16px !important;
  }

  .mobile .header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mobile .logo img {
    height: 52px;
    width: auto;
  }

  .mobile-icons {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .mobile-icons img {
    max-width: 34px;
    height: auto;
  }

  .mobile .info-block {
    min-width: auto !important;
    width: auto !important;
  }

  .mobile-menu-footer .header-button .pink-btn {
    width: 100%;
    padding: 15px 0;
  }

  .mobile-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 16px 16px;
  }

  .mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #262626;
    font-size: 14px;
  }

  .mobile-contact-item img {
    width: 24px;
    height: 24px;
  }

  .mobile-social .social-btn--text,
  .mobile-social .social-text {
    width: auto;
    height: auto;
    font-size: 14px;
    margin-right: 0;
  }
}


.mobile-social .mobile-inst-text {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 40px;

  color: #0086E9 !important; /* нужный цвет */
  font-family: inherit !important;
  font-size: 16px;
  font-weight: 700;

  text-decoration: none !important;
  white-space: nowrap;

  margin-left: 12px;
}