/* ===== TOKENS ===== */
@import "new-style.css";

:root {
  --color-main: #2C3944;
  --color-gray-light: #EDEDED;
  --color-gray-text: #A1A1A1;
  --color-gray-note: #A3A3A3;
  --color-accent: #E31E25;
  --color-white: #FFFFFF;

  --font-roboto: 'Roboto', sans-serif;
  --font-inter: 'Inter', sans-serif;
  --font-open-sans: 'Open Sans', sans-serif;
}

/* ===== BASE ===== */
body { background-color: #2c3944 !important; }

a img[alt="Telegram"] { transition: filter 0.2s ease; }
a img[alt="Telegram"]:hover,
a img[alt="Telegram"]:focus { filter: brightness(80%); }

.mobile-menu-call:hover,
.mobile-menu-call:focus { color: #cdd4d7; }

.top-info { margin-bottom: 0px !important; }
.top-info .right { margin-right: 5px; }

li.aux-languages { list-style: none !important; }
li.login-btn-wrapper { list-style-type: none !important; }

/* ===== DESKTOP HEADER ===== */
.header-desktop { display: block; background: #FFFFFF; }
.new-header { width: 100%; background: #FFFFFF; }

.new-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
}

.new-header-left { display: flex; align-items: center; }

.new-logo {
  width: 180px;
  padding: 15px;
  flex-shrink: 0;
}
.new-logo img { max-width: 100%; height: auto; }

.search-block {
  margin-left: 50px;
  display: flex;
  flex-direction: column;
}

.search-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.clinic-name,
.clinic-name * {
  font-family: var(--font-roboto) !important;
  font-weight: 400 !important;
  font-size: 12px !important;
  line-height: 12px !important;
  color: var(--color-main) !important;
  width: 172px;
}

.search-top-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tg-icon img { width: 29px; height: 29px; }

.phone-mini {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 29px;
  padding: 5px 15px;
  border: 0.5px solid var(--color-accent);
  border-radius: 20px;
}

.phone-mini img { width: 14px; height: 14px; }

.phone-mini span {
  font-family: var(--font-inter);
  font-weight: 600;
  font-style: normal;
  font-size: 16px;
  line-height: 100%;
  color: var(--color-accent);
}

.search-bottom { width: 440px; }

.search-bottom form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
  padding: 4px 4px 4px 20px;
  background: var(--color-gray-light);
  border-radius: 30px;
}

.search-bottom input[type="text"] {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-open-sans);
  font-weight: 400;
  font-size: 12px;
  line-height: 100%;
  color: var(--color-gray-text);
  outline: none;
}

.search-bottom button,
.search-bottom .search-button {
  width: 24px;
  height: 24px;
  margin-right: 15px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.new-header-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

.city {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-roboto);
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: var(--color-main);
}

.address-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-roboto);
  font-weight: 400;
  font-size: 14px;
  color: var(--color-main);
}

.address-note {
  margin-top: 3px;
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: 10px;
  line-height: 100%;
  color: var(--color-gray-note);
  text-align: right;
}

.call-btn {
  width: 207px;
  height: 55px;
  padding: 20px 40px;
  border-radius: 30px;
  background: #E31E25;
  border: none;
  font-family: var(--font-roboto);
  font-weight: 600;
  font-size: 16px;
  line-height: 15px;
  color: var(--color-white);
  cursor: pointer;
  white-space: nowrap;
}

.call-btn:hover,
.call-btn:visited,
.call-btn:focus,
.call-btn:active { color: var(--color-white); }

.call-btn:hover { background: #c41a20; }

/* ===== SUBMENU ===== */
.new-submenu {
  width: 100%;
  background-color: #2C3944;
  height: 35px;
  display: flex;
  align-items: center;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 15px;
  color: #FFFFFF;
}

.submenu-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  z-index: 1000;
}

.submenu-inner * { margin: 0; }

.submenu-left { display: flex; align-items: center; }

.submenu-left > ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.submenu-left > ul > li {
  margin-left: 40px;
  position: relative;
}

.submenu-left > ul > li:first-child { margin-left: 30px; }

.submenu-left > ul > li > a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  line-height: 35px;
  white-space: nowrap;
  display: block;
  padding: 0 15px;
  transition: background-color 0.3s ease;
  border-radius: 0px !important;
}

.submenu-left > ul > li > a,
.submenu-left > ul > li > a:link,
.submenu-left > ul > li > a:visited,
.submenu-left > ul > li > a:hover,
.submenu-left > ul > li > a:focus,
.submenu-left > ul > li > a:active {
  color: #FFFFFF;
  background-color: transparent;
  text-decoration: none;
}

.submenu-left > ul > li:hover > a,
.submenu-left > ul > li.dropdown:hover > a,
.submenu-left > ul > li.active > a {
  background-color: #0086cc;
  color: #FFFFFF;
}

.submenu-left ul.dropdown-menu {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 15px;
}

.submenu-left ul.dropdown-menu li a {
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
}

.submenu-right {
  display: flex !important;
  align-items: stretch !important;
  gap: 0 !important;
  margin-left: auto;
}

.login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background-color: #233342;
  border: none;
  border-radius: 0;
  cursor: pointer;
  color: #FFFFFF;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  padding: 9px 10px;
  font-size: 15px;
  line-height: 15px;
}

.login-btn img { width: 16px; height: 16px; display: block; }
.login-btn:hover { background-color: #2C3944; }

.switch-vision a.btn,
.return-normal a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 34px;
  padding: 0;
  background-color: #233342;
  border-radius: 0;
  border: 0;
  text-decoration: none;
  cursor: pointer;
}

.switch-vision a.btn:hover,
.return-normal a:hover { background-color: #2C3944; }

.switch-vision a.btn i.fa-eye-slash,
.btn.btn-b-white i.fa-eye-slash {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url('/upload/icon-action-visibility_off.svg') no-repeat center center;
  background-size: contain;
  text-indent: -9999px;
}

.switch-vision.return-eye {
  float: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 33px;
  width: 48px !important;
  background-color: #233342 !important;
  padding: 0 !important;
}

.switch-vision i,
.return-normal i { font-size: 16px; color: #2C3944; }

.header-light .btn-b-white {
  border: 0px solid #0086CC !important;
  color: #0086CC !important;
}

nav.right.top-header-menu .btn-b-white {
  background-color: #233342 !important;
  border: 0 !important;
  color: #0086CC !important;
  height: 35px;
  padding: 7px 15px !important;
}

nav.right.top-header-menu .btn-b-white:hover,
nav.right.top-header-menu .btn-b-white:focus,
nav.right.top-header-menu .btn-b-white:active {
  background-color: #2c3944 !important;
  color: #0086CC !important;
}

/* ===== SEARCH BUTTON ICON OVERRIDE ===== */
.input-group-btn .btn {
  background: transparent !important;
  border: none !important;
  color: inherit !important;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  transition: none !important;
}

.input-group-btn .btn:hover,
.input-group-btn .btn:focus,
.input-group-btn .btn:active,
.input-group-btn .btn:visited {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.input-group-btn .btn i {
  display: block;
  width: 100%;
  height: 100%;
  background: url('/upload/header/sea.svg') no-repeat center center;
  background-size: contain;
  font-style: normal;
  text-indent: -9999px;
}

/* ===== HEADER VISIBILITY (DESKTOP/MOBILE WRAPPERS) ===== */
.header-mobile { display: none; }
.header-desktop { display: block; }

@media (max-width: 992px) {
  .header-mobile { display: block; }
  .header-desktop { display: none; }
}




@media (min-width: 992px) {
  .mobile-header { display: none; }
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 10001;
  font-family: Roboto, sans-serif;
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.is-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
  height: 100%;
}



.mobile-menu li { float: none !important; }

.mobile-menu .dropdown-menu {
  position: static !important;
  display: block !important;
  box-shadow: none !important;
}

.mobile-menu-inner { padding: 0 15px; }

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

.mobile-menu li { margin: 0; padding: 10px 0; }

.mobile-menu a {
  display: block;
  color: #2C3944;
  text-decoration: none;
  padding: 0;
}

.mobile-menu-content {
  padding: 0;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: thin;
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  padding-top: 10px;
}

.menu-str { width: 24px; }
.menu-str { transition: transform 0.2s ease; cursor: pointer; }
.menu-str { filter: invert(40%) sepia(100%) saturate(500%) hue-rotate(180deg) brightness(95%); }

.menu-city {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: 10px;
  color: #2C3944;
  font-size: 15px;
}

.menu-city img { width: 14px; }

.menu-top-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0px;
}

.menu-top-right .menu-icon img {
  display: block;
  max-height: 35px;
}

.mobile-menu-search { margin-top: 15px; padding-right: 20px; 
    margin-top: 15px;
    background: #EDEDED;
    border-radius: 30px;
    height: 40px;
    display: flex;
    align-items: center;
    padding: 4px 20px 4px 20px;
    position: relative;}

.mobile-search-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #EDEDED;
    border-radius: 30px;
    height: 40px;
    padding: 4px 4px 4px 20px;
    width: 100%;
}

.mobile-search-form input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 12px;
  color: #A1A1A1;
}

.mobile-search-form button {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.mobile-search-form button img {
  width: 24px;
  height: 24px;
  display: block;
}

.mobile-menu .form-light .form-control {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  font-size: 12px;
  color: #A1A1A1 !important;
  line-height: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  flex: 1;
}

.mobile-menu-list { margin-top: 10px; }

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

.mobile-menu-list li {
  height: 58.5px;
  display: flex;
  align-items: center;
  border-top: none;
  padding-top: 10px;
}

.mobile-menu-list a {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #383838;
  text-decoration: none;
  width: 100%;
  padding-left: 10px;
}

.mobile-menu ul.left-menu li a,
.mobile-menu ul.left-menu li a:link,
.mobile-menu ul.left-menu li a:visited,
.mobile-menu ul.left-menu li a:hover,
.mobile-menu ul.left-menu li a:focus,
.mobile-menu ul.left-menu li a:active {
  color: #383838;
  text-decoration: none;
}

ul.left-menu li {
  padding: 10px 16px;
  background: #ffffff url(/bitrix/components/bitrix/menu/templates/.default/images/left_menu_bg.gif) top repeat-x;
}

a.mobile-menu-call {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 288px;
  height: 55px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 30px;
  font-family: var(--font-roboto);
  font-weight: 600;
  font-size: 16px;
  line-height: 15px;
  text-decoration: none;
  text-align: center;
}

.mobile-menu-contacts { margin-top: 60px; }

.menu-phone,
.menu-address,
.menu-email {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2C3944;
}

.menu-phone { flex-wrap: nowrap; }

.menu-phone span {
  font-family: Roboto, sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.menu-address span {
  font-family: Roboto, sans-serif;
  font-size: 16px;
  margin-top: 10px;
}

.menu-address-note {
  font-family: Roboto, sans-serif;
  color: #A3A3A3;
  font-size: 16px;
  margin-top: 2px;
}

.menu-email {
  font-family: Roboto, sans-serif;
  margin-top: 10px;
  font-size: 16px;
}

.menu-tg { margin-top: 40px; display: block; }
.menu-tg img { width: 36px; height: 36px; }

.menu-phone img,
.menu-address img,
.menu-email img { align-self: normal !important; }

.menu-phone img {
  filter: invert(23%) sepia(0%) saturate(0%) hue-rotate(175deg) brightness(16%) contrast(92%);
  width: 17px;
}

.mobile-menu-list li ul { display: none !important; padding-left: 15px; }
.mobile-menu-list li.open > ul { display: block !important; }

.mobile-menu-nav__title { font-family: 'Open Sans', sans-serif; }

.mobile-menu-nav__level { display: none; }
.mobile-menu-nav__level--active { display: block; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .container { margin-top: 80px; }
  .mobile-menu.is-open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
}
}



@media (min-width: 992px) and (max-width: 1200px) {
  .new-submenu ul.nav > li > a { font-size: 11px; }

  .call-btn {
    width: 100px;
    height: 55px;
    padding: 14px 0px;
    border-radius: 30px;
    background: #E31E25;
    border: none;
    font-family: var(--font-roboto);
    font-weight: 600;
    font-size: 13px;
    line-height: 15px;
    color: var(--color-white);
    cursor: pointer;
    white-space: normal;
    text-align: center;
    overflow-wrap: break-word;
  }

  .new-header-right { gap: 20px; }
}

/* ===== ANIMATIONS ===== */
@keyframes burgerClick {
  0%   { transform: rotate(0deg) scale(1); }
  25%  { transform: rotate(-2deg) scale(1.03); }
  50%  { transform: rotate(2deg) scale(1.03); }
  75%  { transform: rotate(-2deg) scale(1.015); }
  100% { transform: rotate(0deg) scale(1); }
}

@keyframes crossClick {
  0%   { transform: scale(1) rotate(0deg); }
  50%  { transform: scale(0.5) rotate(20deg); }
  70%  { transform: scale(0.7) rotate(-10deg); }
  100% { transform: scale(1) rotate(0deg); }
}

#mobileBurger img { transition: transform 0.2s ease; }
