.sp-contact-time {
    color: #111114;
}
.js-finder-searchform {
    display: none;
}
/* =====================================================
   MENU OVERRIDES — see menu-premium.css for full styles
   ===================================================== */

/* Modal menu — animated appearance */
#modal-menu {
  top: 72px;
  height: auto !important;
  bottom: auto !important;
  transform: translateY(-8px) scale(0.99) !important;
  opacity: 0 !important;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
  overflow: visible !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-top: 1px solid rgba(209, 213, 219, 0.6);
  box-shadow: 0 12px 40px rgba(171,169,166,0.18) !important;
}

#modal-menu.active {
  transform: translateY(0) scale(1) !important;
  opacity: 1 !important;
}

/* Chevron — items with children (replaced by menu-premium.css logic) */
#sp-header.header-with-modal-menu.center-layout
.sp-megamenu-wrapper
.sp-megamenu-parent > li.sp-has-child > a:after,
#sp-header.header-with-modal-menu.center-layout
.sp-megamenu-wrapper
.sp-megamenu-parent > li.sp-has-child > span:after {
  content: "" !important;
  position: relative !important;
  top: -1px !important;
  left: 0 !important;
  display: inline-block !important;
  width: 8px !important;
  height: 8px !important;
  border-right: 1.5px solid currentColor !important;
  border-bottom: 1.5px solid currentColor !important;
  transform: rotate(45deg) translateY(-2px) !important;
  margin-left: 5px !important;
  margin-top: 0 !important;
  float: none !important;
  opacity: 0.55;
  font-family: inherit !important;
  font-size: 0 !important;
  background: none !important;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

#sp-header.header-with-modal-menu.center-layout
.sp-megamenu-wrapper
.sp-megamenu-parent > li.sp-has-child:hover > a:after,
#sp-header.header-with-modal-menu.center-layout
.sp-megamenu-wrapper
.sp-megamenu-parent > li.sp-has-child:hover > span:after {
  transform: rotate(225deg) translateY(2px) !important;
  opacity: 1;
  display: inline-block !important;
}

/* Показуємо тільки на екранах до 768px */
@media screen and (max-width: 990px) {
    .spmenu-number {
        display: inline-block !important;
        top: 0;
        position: relative;
    }
}

/* За замовчуванням ховаємо (десктоп) */
.menu-img-round img {
  width: 0px;
}

/* Показуємо на мобільних і планшетах до 991px */
@media (max-width: 1000px) {
  .menu-img-round img {
    display: inline-block;
    width: 26px;
    margin-right: 8px;
    margin-bottom: 5px;
  }
}

.menu-img-round-2 img {
  width: 30px;
  display: block;
  margin: 0 auto;
}
/* Приховати зображення на екранах до 991px (планшети і менше) */
@media (max-width: 991px) {
  .menu-img-round-2 {
    display: none;
  }
  .menu-img-round-2 img {
    display: none;
  }
  .menu-marg-bot {
    margin-top: -20px !important;
  }
}
.rotate-on-hover-cust {
    transition: transform 0.3s ease;
    display: block;
}

.rotate-on-hover-cust:hover {
    transform: scale(1.1) rotate(2deg);
    text-shadow: 0 0 35px rgba(255, 255, 255, 0.3), 0 0 35px rgba(255, 255, 255, 0.1), 0 0 25px rgba(255, 255, 255, 0.2);
}
.rotate-on-hover-scale {
    transition: transform 0.3s ease;
    display: block;
}

.rotate-on-hover-scale:hover {
    transform: scale(1.15) rotate(8deg);
}
.rotate-on-hover-scale-m {
    transition: transform 0.3s ease;
    display: block;
}

.rotate-on-hover-scale-m:hover {
    transform: scale(1.05) rotate(8deg);
}

.login-toggle-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--sp-primary, #c8821a);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s ease;
    color: #fff;
    font-size: 16px;
}

.login-toggle-btn:hover {
    background: var(--sp-primary-hover, #c8821a);
}

/* Анімація іконки */
.login-toggle-btn span {
    display: inline-block;
    transition: transform 0.35s ease, opacity 0.25s ease;
}

/* Стан коли форма відкрита */
.login-toggle-btn.active span {
    transform: rotate(180deg);
}

/* Підміняємо іконку */
.login-toggle-btn.active span::before {
    content: "\f00d"; /* icon-x / close icon */
    font-family: "FontAwesome" !important;
}
.login-toggle-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

/* Текст привітання */
.login-greeting-inline {
  color: #111114;
  font-size: 18px;
  font-weight: 400;
  white-space: nowrap;
}

.login-toggle-trigger { cursor: pointer; }
.login-toggle-btn { /* ваші стилі */ }
.login-toggle-btn .login-icon { transition: transform .25s ease; }

/* активний стан — підміняємо іконку через псевдо-елемент (для FA6) */
.login-toggle-btn.active .login-icon::before {
  content: "\f00d"; /* fa-xmark */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}


/* Стиль списку в особистому меню */
.login-slide-wrapper .mod-login-logout__options {
    margin: 0;
    padding: 0;
}

.login-slide-wrapper .mod-login-logout__options li {
    margin: 0px 0;
    list-style: none;
}

/* Посилання */
.login-slide-wrapper .mod-login-logout__options li a {
    display: inline-block;
    padding: 3px 0;
    text-decoration: none;
    font-size: 18px;
    color: var(--sp-text, #333);
    border-bottom: 1px solid transparent;
    transition: 0.25s ease;
}

/* Підкреслення тільки при ховері */
.login-slide-wrapper .mod-login-logout__options li a:hover {
    border-bottom-color: var(--sp-primary, #a06010);
    color: var(--sp-primary, #a06010);
}
.bord-st-1 {
    border-radius: 50px;
}



/* .gtranslate_wrapper — стилі перенесено в default-2-2.php */

/* Позиціонування праворуч для десктопа — частково за межами екрану */
#gt_float_wrapper {
  position: fixed !important;
  bottom: 130px !important;
  right: -54px !important; /* частково за межами екрану справа */
  z-index: 999999 !important;
  transition: right 0.3s ease-in-out !important;
  padding: 2px 2px !important;
}

/* При наведенні кнопка виїжджає */
#gt_float_wrapper:hover {
  right: 20px !important;
}

/* Стилі перемикача */
.gt_float_switcher {
  font-family: Manrope !important;
  font-size: 16px !important;
  border-radius: 12px !important;
  color: #111114 !important;
  display: inline-block !important;
  line-height: 20px !important;
  background: rgba(255, 255, 255, 0.02) !important; /* ефект скла */
  backdrop-filter: blur(3px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(3px) saturate(150%) !important;
  overflow: hidden !important;
  transition: all 0.3s ease-in-out !important;
  padding: 0px 0px !important;
  float: left !important;
  white-space: nowrap !important;
  box-shadow: 0 0px 0px rgba(0,0,0,0.0) !important;
}

.gt-current-lang{
    padding: 6px 8px !important;
    
}

.gt-selected {
  text-align: left !important;
  background: rgba(255, 255, 255, 0.30) !important; /* ефект скла */
  backdrop-filter: blur(3px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(3px) saturate(150%) !important;
  border-radius: 50px 0px 0px 50px !important;
}

/* Іконка прапора */
.gt_float_switcher img {
  vertical-align: middle !important;
  display: inline-block !important;
  width: 24px !important;
  height: auto !important;
  margin: 0px 36px 0px 8px !important;
  border-radius: 3px !important;
}

/* Ефекти при наведенні */
.gt_float_switcher .gt_options a:hover {
  background: rgba(255, 255, 255, 0.10) !important; /* ефект скла */
  backdrop-filter: blur(3px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(3px) saturate(150%) !important;
  color: #111114 !important;
  border-radius: 26px;
}

/* Мобільна версія: позиціонування теж справа */
@media (max-width: 768px) {
  #gt_float_wrapper {
    bottom: 100px !important;
    left: auto !important;
    right: -70px !important; /* частково за межами екрану справа */
    transition: right 0.3s ease-in-out !important;
  }

  /* При наведенні або фокусі — виїжджає вправо */
  #gt_float_wrapper:hover,
  #gt_float_wrapper:focus-within {
    right: 20px !important;
  }

.gt_float_switcher img {
  vertical-align: middle !important;
  display: inline-block !important;
  width: 24px !important;
  height: auto !important;
  margin: 0px 33px 0px 4px !important;
  border-radius: 3px !important;
}


  .gt_float_switcher {
    float: left !important;
  }
  
  .djacc--sticky.djacc--bottom-right {
    bottom: 0 !important;
    right: 0 !important;
    margin-bottom: 60px !important;
    margin-right: 13px;
  }
  .djacc-popup .djacc__openbtn {
  height: 37px !important;
  line-height: 1 !important;
  width: 37px !important;
  }
}
.callslide-wrapper {
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 99;
}

/* Кнопка залишається фіксованою */
.callslide-toggle {
  background: #c8821a;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  animation: pulse 4s ease-in-out infinite;
  position: fixed;
  bottom: 30px;
  right: 14px;
  z-index: 10001;
}
.callslide-toggle:hover {
  transform: scale(1.2);
  animation-play-state: paused;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1) rotate(0deg);;
  }
  50% {
    transform: scale(1.20) rotate(10deg);;
  }
}
.sp-contact-phone-col {
    color: #111114;
}
.sp-contact-phone-col-s {
    color: #111114;
    font-size: 12px;
    padding-left: 6px;
}


.d-none {
    font-size: 16px;
    padding-left: 2px;
    font-weight: 500;
}

.date-medic-v {
    font-size: 14px;
    font-weight: 600;
}

.date-medic-f {
    line-height: 1.2;
    padding-bottom: 6px;
}
.infov1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
/* Звичайний стиль для всіх екранів */
.medtextst {
    font-size: 14px;
}

/* Стиль тільки для мобільних екранів (до 768px ширини) */
@media (max-width: 768px) {
    .medtextst {
        display: block;       /* робить текст блоком, переноситься на новий рядок */
        white-space: normal;  /* дозволяє переноси рядків */
    }
}

.medphonest {
    padding-right: 10px;
}
.medphonewr {
    line-height: 1.4;
}
.medwr {
    padding-bottom: 8px;
}
.specialist-img {
  position: relative;
  border-radius: 26px;
  overflow: visible;
}


/* Картинка */
.specialist-img img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 26px;
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  animation: imgBreathing 5s ease-in-out infinite;
  will-change: transform;
}

/* Дихання картинки */
@keyframes imgBreathing {
  0%   { transform: scale(1) translateY(0); }
  50%  { transform: scale(1.02) translateY(-4px); }
  100% { transform: scale(1) translateY(0); }
}


.department-button {
    position: absolute;
    margin-top: 40px;
}
.medic-btn {
    margin-top:-4px ;
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    border: none;
    border-radius: 0px;
    text-align: left;
    text-decoration: none; /* без підкреслення */
    cursor: pointer;
    position: relative;
    overflow: hidden;
    padding: 4px 0px 0px 0px;
    transition: all 0.3s ease;
    background: none;
    /* Анімація кольору */
    animation: glowColor 6s linear infinite;
}

.medic-btn::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    transition: width 0.4s ease, left 0.4s ease;
    transform: translateX(-50%);
}

.medic-btn:hover::after {
    width: 80%;
    left: 50%;
}

.medic-btn:hover {
    color: #fff3e0;
    transform: translateY(-3px) scale(1.05);
}

/* Ключові кадри анімації переливу кольору */
@keyframes glowColor {
    0%   { color: #c8821a; }
    25%  { color: #111114; }
    50%  { color: #c8821a; }
    75%  { color: #111114; }
    100% { color: #c8821a; }
}


@media (max-width: 1000px) {
  .specialist-info .specialist-available-hours,
  .specialist-info .specialist-contact-info,
  .specialist-info .specialist-specialties, .specialist-img {
    display: none;
  }
}

.avalible_txt {
  line-height: 1.2;
  font-size: 14px;
  margin-top: 16px;
  font-weight: 600;
}
.avalible_txt_desc {
  line-height: 1.2;
  font-size: 14px;
  margin-top: 20px;
  font-weight: 400;
}

/* За замовчуванням ховаємо */
.specialist-ah {
  display: none;
}

/* Показуємо тільки на екранах до 1000px */
@media (max-width: 1000px) {
  .specialist-ah {
    display: block;
    margin-top: 0px;
    font-size: 16px;
  }

  .specialist-ah ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .specialist-ah li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(213, 215, 218, 0.3);
  }

  .specialist-ah li:last-child {
    border-bottom: none;
  }

  .specialist-ah .date {
    font-weight: 600;
    color: #111114;
  }

  .specialist-ah .time {
    color: #111114;
    white-space: nowrap;
  }

  .specialist-ah .avalible_txt {
    margin-top: 14px;
    font-size: 14px;
    color: #111114;
    line-height: 1.4;
  }

  .specialist-ah .avalible_txt_desc {
    display: block;
    margin-top: 4px;
    color: #111114;
    font-size: 14px;
    margin-bottom: 30px;
  }
}
.about-specialist {
  background: #fff;
  box-shadow: 0 7px 22px 0 rgba(0,0,0,.09);
  border-radius: 26px;
  padding: 30px 40px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* 📱 Мобільні екрани */
@media (max-width: 768px) {
  .about-specialist {
    padding: 16px;
    margin-left: -10px;
    margin-right: -10px;
  }
}

  
/* За замовчуванням ховаємо на великих екранах */
.specialist-img-m {
  display: none;
  position: relative;
  border-radius: 26px;
  overflow: visible;
  margin-bottom: 20px;
  margin-top: -40px;
}

/* Показуємо тільки до 1000px */
@media (max-width: 1000px) {
  .specialist-img-m {
    display: block;
    margin-top: -40px;
  }

  /* Картинка */
  .specialist-img-m img {
    width: 260px;
    height: 260px;
    object-fit: cover;
    object-position: center 5%;
    border-radius: 50%;
    border: 4px solid rgba(0, 0, 0, 0.04);
    margin: 0 auto;
    transition: 0.35s;
    animation: imgBreathing 3s ease-in-out infinite;
    will-change: transform;
  }
}

/* Показуємо тільки від 769px до 1000px */
@media (min-width: 769px) and (max-width: 1000px) {
  .specialist-img-m {
    display: block;
    margin-top: -20px;
  }

}
/* 📱➡️🖥 Планшети та невеликі екрани (501px – 1000px) */
@media (min-width: 501px) and (max-width: 1000px) {
  .specialist-img-m {
    display: flex;
    justify-content: center;
  }

  .specialist-img-m img {
    max-width: 500px;
  }
}
@media (max-width: 767px) {
    .spmedical-specialists 
    .specialist-wrapper 
    .specialists-img-wrapper 
    .spmedical-btn {
        position: absolute;
        bottom: 6%;
        left: 50%;
        transform: translateX(-50%) scale(1);
        padding: 30px 30px;
        min-width: 260px;
        font-size: 16px;
        line-height: 1.2;
        border-radius: 50px;
        background: rgba(196,135,80,0.80);
        color: #fff;
        z-index: 10;
    }
}


.medic-btn-more {
    margin-top:-10px ;
    display: inline-block;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    border: none;
    border-radius: 0px;
    text-align: left;
    text-decoration: none; /* без підкреслення */
    cursor: pointer;
    position: relative;
    overflow: hidden;
    padding: 4px 0px 0px 0px;
    transition: all 0.3s ease;
    background: none;
    /* Анімація кольору */
    animation: glowColor 6s linear infinite;
}

.medic-btn-more::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    transition: width 0.4s ease, left 0.4s ease;
    transform: translateX(-50%);
}

.medic-btn-more:hover::after {
    width: 80%;
    left: 50%;
}

.medic-btn-more:hover {
    color: #fff3e0;
    transform: translateX(5px) scale(1.05);
}



/* Рядковий режим для фільтрів */
.spmedical-filters-row.show-row {
    display: flex;           /* розміщуємо в рядок */
    flex-direction: row;     /* горизонтально */
    gap: 20px;               /* відстань між блоками */
    flex-wrap: wrap;         /* якщо блоків багато – переходять на новий рядок */
}

/* =========================
   DESKTOP & TABLET LANDSCAPE
   ========================= */
@media (min-width: 992px) {
    #toggleFilters {
        display: none; /* кнопка не потрібна */
    }

    .spmedical-filters-row {
        display: flex !important; /* завжди відкрито */
    }
}

/* =========================
   MOBILE & TABLET PORTRAIT
   ========================= */
@media (max-width: 991px) {
    .spmedical-filters-row {
        display: none; /* завжди стартує закритим */
    }
}
.spmedical-filter-wrapper {
    margin-bottom: 20px;
}

/* Заголовок */
.filter-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-bottom: -5px;
}

.filter-toggle label {
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    padding-bottom: 6px;
}

/* Іконка +/− */
.toggle-icon {
    font-weight: bold;
    font-size: 22px;
    margin-top: -10px;
    display: inline-block;
    text-align: center;
}

/* Плавне виїжджання */
.spmedical-category-search .filter-values {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    margin-top: 10px;
}



.spmedical-specialists-search .specialist-wrapper {
    position: relative;
}

.clear-specialist {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #999;
    display: none; /* ховаємо поки немає вибору */
}

.custom-combobox-input:not(:placeholder-shown) + .clear-specialist {
    display: block; /* показуємо хрестик коли щось введено */
}
.spmedical-clear {
    cursor: pointer;
    display: inline-block;
    margin-left: 5px;
    color: #999;
    font-weight: bold;
    font-size: 16px;
}
.spmedical-clear:hover {
    color: #333;
}
.spmedical-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}
.article-date-hits {
  display: flex;
  justify-content: center; /* Центрування по горизонталі */
  align-items: center;     /* Центрування по вертикалі */
  gap: 12px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #111114;
  margin-top: 6px;
  text-align: center;
}

.article-hits {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 3px 10px;
  border-radius: 20px;
  background: linear-gradient(45deg, rgba(245,244,244,0.71) 11%, rgba(219,165,130,0.25) 88%);

  font-weight: 500;
  transition: 0.3s ease;
}

.article-hits:hover {
  background: linear-gradient(45deg, rgba(245,244,244,0.71) 11%, rgba(219,165,130,0.30) 88%);
}

.article-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 3px 10px;
  border-radius: 20px;
  background: linear-gradient(45deg, rgba(245,244,244,0.71) 11%, rgba(219,165,130,0.25) 88%);

  font-weight: 500;
  transition: 0.3s ease;
}

.article-date:hover {
  background: linear-gradient(45deg, rgba(245,244,244,0.71) 11%, rgba(219,165,130,0.30) 88%);
}


/* ===============================
   PREMIUM IMAGE HOVER EFFECT
   Desktop + Mobile (Tap + Scroll)
================================ */

.article-list .article .article-intro-image {
  overflow: hidden !important;
  border-radius: 16px !important;
  position: relative !important;
  transition: transform 0.5s ease, box-shadow 0.5s ease !important;
}

/* Забираємо grayscale зі старих стилів */
.article-list .article .article-intro-image:hover {
  filter: none !important;
}

.article-list .article .article-intro-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.8s ease, filter 0.8s ease !important;
}

/* Overlay */
.article-list .article .article-intro-image::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;

  background: linear-gradient(
    135deg,
    rgba(196,135,80,0.12),
    rgba(255, 0, 150, 0.12),
    rgba(0, 0, 0, 0.10)
  ) !important;

  opacity: 0 !important;
  transition: opacity 0.8s ease !important;
}

/* ===============================
   Desktop Hover Effect
================================ */

.article-list .article .article-intro-image:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 55px rgba(171,169,166,0.22) !important;
}

.article-list .article .article-intro-image:hover img {
  transform: scale(1.15) !important;
  filter: saturate(1.35) contrast(1.12) brightness(1.08) !important;
}

.article-list .article .article-intro-image:hover::after {
  opacity: 1 !important;
}

/* ===============================
   Mobile Tap Effect
================================ */

@media (max-width: 768px) {

  .article-list .article .article-intro-image:active img {
    transform: scale(1.15) !important;
    filter: saturate(1.35) contrast(1.12) brightness(1.08) !important;
  }

  .article-list .article .article-intro-image:active::after {
    opacity: 1 !important;
  }

  /* Scroll Center Effect (class added by JS) */
  .article-list .article .article-intro-image.is-visible img {
    transform: scale(1.15) !important;
    filter: saturate(1.35) contrast(1.12) brightness(1.08) !important;
  }

  .article-list .article .article-intro-image.is-visible::after {
    opacity: 1 !important;
  }
}

.fb-share-icon {
    display: inline-block;
    margin-left: 12px;
}

.fb-share-icon a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #1877f2;
    color: #fff;

    font-size: 16px;
    text-decoration: none;

    transition: all 0.35s ease;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.25);
}

.fb-share-icon a:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.35);
    background: #0f5ec4;
}


.neo-article-nav.neo-style-apple {
  display: flex;
  gap: 18px;
  margin-top: 0px;
  margin-bottom: 30px;
  border-top: 0px solid rgba(0,0,0,0.08);
  padding-top: 40px;
}

.neo-style-apple .neo-btn {
  flex: 1;
  padding: 14px 16px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  text-decoration: none;
  color: #111114;
  transition: 0.25s ease;
}

.neo-style-apple .neo-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

/* ROW */
.neo-style-apple .neo-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* IMAGE */
.neo-style-apple .neo-thumb {
  width: 86px;
  height: 86px;
  flex-shrink: 0;
  border: 1.4px solid rgb(255, 255, 255);
  border-radius: 50%;
  object-fit: cover;

  box-shadow: 0 6px 16px rgba(0,0,0,0.14);
}

/* TEXT */
.neo-style-apple .neo-label {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.85;
  display: block;
  margin-bottom: 6px;
  color: #c8821a;
}

.neo-style-apple .neo-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* MOBILE */
@media (max-width: 768px) {
  .neo-article-nav.neo-style-apple {
    flex-direction: column;
  }
}
.article-meta-before-image {
  display: flex;
  gap: 15px;
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}

.article-meta-before-image span {
  display: inline-flex;
  align-items: center;
}


/* ===================================== */
/*   PREMIUM MEDIUM STYLE BLOG CARDS     */
/* ===================================== */

/* GRID 3–4 Columns */
.blog-items,
.blog .items-row {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

/* Card Wrapper */
.hu-modern-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    overflow: hidden;

    border: 1px solid rgba(0, 0, 0, 0.05);

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.06),
        0 2px 6px rgba(0, 0, 0, 0.04);

    transition: all 0.45s cubic-bezier(.2,.9,.2,1);

    opacity: 0;
    transform: translateY(35px);
}

/* Reveal Scroll Animation */
.hu-modern-wrapper.show {
    opacity: 1;
    transform: translateY(0);
}

.hu-modern-wrapper:hover {
    transform: translateY(-8px);
    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.10),
        0 6px 18px rgba(0, 0, 0, 0.06);
}

/* META */
.hu-modern-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 16px 22px 0;

    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.4px;
    text-transform: uppercase;

    color: #111114;
}

.hu-modern-date,
.hu-modern-hits {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Icons */
.meta-icon {
    width: 16px;
    height: 16px;
    stroke: #111114;
    fill: none;
    stroke-width: 2;
}

/* Views badge */
.hu-modern-hits {
    background: rgba(196,135,80,0.07);
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 700;
}

/* IMAGE */
.hu-modern-image {
    overflow: hidden;
    border-radius: 20px;
    margin: 0 20px;
}

.hu-modern-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.7s ease;
}
.hu-modern-image img.is-visible {
  transform: scale(1.05);
}

.hu-modern-wrapper:hover img {
    transform: scale(1.07);
}

/* BODY */
.hu-modern-card {
    padding: 4px 26px 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* TITLE */
.hu-modern-card h2,
.hu-modern-card h3 {
    font-size: 22px !important;
    font-weight: 780;
    line-height: 1.22 !important;
    margin: 0;
}

.hu-modern-card h2 a,
.hu-modern-card h3 a {
    color: #111;
    text-decoration: none;
    transition: color 0.35s ease;
}

.hu-modern-card h2 a:hover {
    color: #c8821a;
}

/* TEXT */
.hu-modern-text {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 500;
    color: #111114;
}

/* BUTTON */
.readmore a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 20px;
    border-radius: 16px;

    font-size: 14px;
    font-weight: 750;

    background: #c8821a;
    color: #fff !important;

    text-decoration: none;
    box-shadow: 0 10px 22px rgba(196,135,80,0.18);

    transition: all 0.35s ease;
}

.readmore a:hover {
    background: #a06010;
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(196,135,80,0.25);
}

/* FEATURED BADGE */
.featured-article-badge {
    position: absolute;
    top: 18px;
    left: 18px;

    padding: 7px 15px;
    border-radius: 999px;

    font-size: 12px;
    font-weight: 800;

    background: linear-gradient(135deg, #ff3d3d, #ff9900);
    color: #fff;

    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.14);
}

/* MOBILE */
@media (max-width: 768px) {
    .hu-modern-image img {
        height: 200px;
    }

    .hu-modern-card h2 {
        font-size: 19px;
    }
}

.hu-details-link {
    display: inline-flex;
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 700;
    color: #111114;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.hu-details-link:hover {
    transform: translateX(3px);
    color: #a06010;

}

.hu-details-link span {
    transition: transform 0.3s ease;
    margin-left: 10px;
    margin-top: -5px;
    font-size: 20px;
}

.hu-details-link:hover span {
    transform: translateX(8px);
    color: #a06010;
}



/* ===== Apple-like base ===== */
:root {
  --glass-bg: #b1adac21;
  --glass-border: rgba(255,255,255,.45);
  --text-main: #111;
  --text-sub: #666;
  --accent: #0071e3;
  --radius: 22px;
  --blur: saturate(180%) blur(18px);
}

#spmedical {
  font-family: 'Manrope', sans-serif;
  color: var(--text-main);
}

/* ===== Main card ===== */
.spmedical-department-wrapper {
  padding: 0px;
  margin-top: -40px;
}

.spmedical-department-main-content {
  margin: auto;
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-radius: 0px 0px 26px 26px;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 30px;
  box-shadow: 0 7px 22px 0 rgba(0,0,0,.09);
  animation: fadeUp .9s cubic-bezier(.4,0,.2,1);
}

/* Планшети */
@media (max-width: 1024px) {
  .spmedical-department-main-content {
    padding: 24px;
  }
}

/* Мобільні */
@media (max-width: 768px) {
  .spmedical-department-main-content {
    padding: 18px;
  }
}

/* Дуже малі екрани */
@media (max-width: 480px) {
  .spmedical-department-main-content {
    padding: 14px;
  }
}

/* ===== Image ===== */
.img-wrapper {
  overflow: hidden;
  border-radius: 28px;
  margin-bottom: 30px;
}

.img-wrapper img {
  width: 100%;
  transform: scale(1.05);
  transition: transform 1.2s ease;
}

.img-wrapper:hover img {
  transform: scale(1);
}

/* ===== Title ===== */
.spmedical-title {
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

/* ===== Description ===== */
.spmedical-details {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-sub);
  margin-bottom: 40px;
}

/* ===== Tabs ===== */
.nav-tabs {
  border: none;
  gap: 10px;
  margin-bottom: 30px;
}

.nav-tabs .nav-link {
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 16px;
  color: #111114;
  background: #faf8f5;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all .35s cubic-bezier(.4,0,.2,1);
}

.nav-tabs .nav-link:hover {
  background: #c8821a;
  border: 1px solid rgb(200,130,26);
  color: #fff;
}

.nav-tabs .nav-link.active {
  background: #c8821a;
  border: 1px solid rgb(200,130,26);
  color: #fff;
}

/* ===== Tab content ===== */
.tab-content {
  animation: fadeUp .5s cubic-bezier(.4,0,.2,1);
}

.tab-pane {
  font-size: 16px;
  line-height: 1.4;
}

/* ===== Doctors cards ===== */
.specialists-wrapper {
  background: rgba(255,255,255,.9);
  border-radius: 24px;
  padding: 18px;
  transition: transform .5s cubic-bezier(.4,0,.2,1),
              box-shadow .5s cubic-bezier(.4,0,.2,1);
}

.specialists-wrapper:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0,0,0,.12);
}

.specialists-img-wrapper img {
  border-radius: 18px;
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ===== NEU PREMIUM LIGHT STYLE ===== */
.neu-wrap {
  --neu-bg: #fff;
  --neu-card: #fff;
  --neu-accent: #c8821a;
  --neu-text: #1d1d1f;
  --neu-muted: #111114;
  padding: 0px;
  margin-top: 4px;
  border-radius: 26px;
}

.neu-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--neu-text);
}

/* СІТКА — grid скрізь (однаковий gap як у dep-services-list) */
.neu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: start;
}

@media (max-width: 1200px) {
  .neu-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .neu-grid { grid-template-columns: 1fr; gap: 10px; }
}

.neu-card {
  background: var(--neu-card);
  border-radius: 22px;
  padding: 24px 24px 26px;
  margin-bottom: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.04);
  transition: box-shadow .4s ease, transform .4s ease;
}

.neu-card:hover {
  box-shadow: 0 4px 6px rgba(0,0,0,.06), 0 18px 40px rgba(0,0,0,.12);
  transform: translateY(-4px);
}

.neu-card h3 {
  margin: 0 0 2px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--neu-text);
}

.neu-card ul { padding-left: 20px; margin: 0; }
.neu-card li { margin-bottom: 0px; font-size: 16px; line-height: 1.2; color: var(--neu-muted); }
.neu-card li::marker { color: var(--neu-accent); font-size: 24px; }

.neu-title { font-size: 20px; }





/* ===============================
   Apple Premium Minimal Style
   Namespace: spx-apple-premium
================================ */

.spx-apple-premium {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.95),
    rgba(248,248,250,0.95)
  );
  border-radius: 26px;
  padding: 28px 32px;
  border: 1px solid rgba(0,0,0,.04);
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  color: #111114;
}


/* Планшети */
@media (max-width: 1024px) {
  .spx-apple-premium {
  background: #fff;
  padding: 0px 0px 20px 0px;
  box-shadow: none;
  border: 0px solid rgba(0,0,0,.04);
}
}

/* Мобільні */
@media (max-width: 768px) {
  .spmedical-department-main-content {
    padding: 18px;
    margin-left: -10px;
    margin-right: -10px;
    border-radius: 0px 0px 26px 26px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 5px 14px rgba(0,0,0,.07);
  }
}

/* Дуже малі екрани */
@media (max-width: 480px) {
  .spmedical-department-main-content {
    padding: 20px 18px 20px 18px;
    border-radius: 0px 0px 26px 26px;
    border: 1px solid rgba(0,0,0,0.06);
    margin-left: -10px;
    margin-right: -10px;
    box-shadow: 0 4px 10px rgba(0,0,0,.06);
  }
}

/* Headings */
.spx-apple-premium strong {
  font-weight: 600;
  color: #111;
}

/* Paragraphs */
.spx-apple-premium p {
  margin: 14px 0;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

/* ======================================================
   Apple-style premium blocks (Phone + Schedule)
   Namespace: spx-apple-premium
====================================================== */

.spx-apple-premium {
  --radius: 80px;
  --bg: rgba(255,255,255,0.75);
  --border: rgba(0,0,0,0.06);
  --text-main: #1d1d1f;
  --text-muted: #111114;
}

/* =========================================
   SHARED ROW STYLE
========================================= */

.spx-schedule p,
.spx-phone p {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  align-items: center;
  gap: 16px;

  padding: 14px 18px;
  margin-bottom: 12px;

  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.04);

  color: var(--text-main);
  font-size: 16px;

  user-select: none;
  -webkit-tap-highlight-color: transparent;

  transition:
    transform 1.05s cubic-bezier(.22,1,.36,1),
    box-shadow 1.05s cubic-bezier(.22,1,.36,1),
    background 1.05s ease;
}

/* last spacing fix */
.spx-schedule p:last-child,
.spx-phone p:last-child {
  margin-bottom: 0;
}

/* =========================================
   LABEL (LEFT COLUMN)
========================================= */

.spx-schedule strong,
.spx-phone strong {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
  white-space: nowrap;
}

/* =========================================
   VALUE (RIGHT COLUMN)
========================================= */

.spx-schedule span,
.spx-phone a {
  font-weight: 500;
  color: var(--text-main);
  text-align: right;
  white-space: nowrap;
}

/* remove link behavior */
.spx-phone a {
  pointer-events: absolute;
  text-decoration: none;
  cursor: default;
}

/* =========================================
   HOVER DEPTH INTERACTION (DESKTOP ONLY)
========================================= */

@media (hover: hover) and (pointer: fine) {
  .spx-schedule p:hover,
  .spx-phone p:hover {
    transform: scale(1.006) translateY(-4px);
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
  }
}

/* =========================================
   MOBILE REFINEMENTS (NO HOVER)
========================================= */

@media (max-width: 640px) {
  .spx-schedule p,
  .spx-phone p {
    padding: 16px;
    font-size: 16px;
  }

  .spx-schedule strong,
  .spx-phone strong {
    font-size: 16px;
  }
}
/* =========================================
   MOBILE TAP DEPTH (no hover, no stick)
========================================= */

@media (hover: none) and (pointer: coarse) {

  .spx-schedule p,
  .spx-phone p {
    transition:
      transform .26s cubic-bezier(.22,1,.36,1),
      box-shadow .26s cubic-bezier(.22,1,.36,1),
      background .26s ease;
  }

  .spx-schedule p:hover,
  .spx-phone p:hover {
    transform: scale(1.020);
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
  }
}


/* ===== Неврологія: стилі для статті ===== */
.neuro-section {
  margin: 0 auto;
  font-family: 'Manrope', sans-serif;
  color: #1f2937;
  line-height: 1.65;
}

.neuro-section h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #111114;
  position: relative;
}

.neuro-section h2::after {
  content: "";
  width: 70px;
  height: 3px;
  background: #c8821a;
  display: block;
  margin-top: 10px;
  border-radius: 2px;

  transform-origin: left;
  transform: scaleX(0);
}

.neuro-section.is-visible h2::after {
  animation: neuroLineIn .6s cubic-bezier(.22,.61,.36,1) forwards;
}

@keyframes neuroLineIn {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}



.neuro-section h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 40px 0 16px;
  color: #111114;
}

.neuro-section p {
  font-size: 13px;
  margin-bottom: 12px;
  color: #111114;
  line-height: 1.4;
}

/* Акцентний блок */
.neuro-highlight {
  background: linear-gradient(45deg, rgba(250,248,245,0.71) 11%, rgba(219,165,130,0.20) 88%);
  border-left: 6px solid #c8821a;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  border-top: 1px solid rgba(0,0,0,0.06);
  border-right: 6px solid #dba582;
  padding: 24px 28px;
  border-radius: 80px;
  margin: 40px 0;
  line-height: 1.3;
}

.neuro-highlight strong {
  color: #c8821a;
}


/* Картки */
.neuro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.neuro-card {
  background: #f5f6f8;
  border-radius: 26px;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 24px 26px 0px 26px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.neuro-card h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111114;
}

.neuro-card ul {
  padding-left: 20px;
}

.neuro-card li {
  font-size: 16px;
  margin-bottom: 8px;
  color: #111114;
  line-height: 1.4;
}

/* Адаптивність */
@media (max-width: 768px) {
  .neuro-section {
    padding: 0px;
  }

  .neuro-section h2 {
    font-size: 24px;
  }

  .neuro-section h3 {
    font-size: 20px;
  }
  
  .neuro-highlight {
  margin: 20px 0 0px 0;
}  
}

.cat_med_1 {
    line-height: 1.2;
  }
  
 
  
/* =========================
   SPECIALISTS MODULE (NEW)
========================= */

.spec-module {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0;
    font-family: 'Manrope', sans-serif;;
}

.spec-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #111114;
}

/* Планшети та менше */
@media (max-width: 1024px) {
  .spec-title {
    font-size: 22px;
    line-height: 1.1;
  }
}


.spec-subtitle {
    font-size: 16px;
    color: #111114;
    margin-bottom: 25px;
}

/* =========================
   GRID
========================= */

.spec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    align-items: start;
}

@media (max-width: 1200px) {
    .spec-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .spec-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .spec-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}


/* =========================
   GRID HEAD
========================= */

.spec-grid-head {
    display: grid;
    grid-template-columns: 1fr 3fr; /* картка | текст */
    gap: 22px;
    align-items: start;
}

@media (max-width: 900px) {
    .spec-grid-head {
        grid-template-columns: 1fr 2fr;
    }
}

@media (max-width: 600px) {
    .spec-grid-head {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
/* =========================
   CARD
========================= */

/* spec-card base — see consolidated block below */

/* =========================
   PHOTO
========================= */

.spec-photo {
    margin-bottom: 16px;
}

.spec-photo img {
    width: 165px;
    height: 165px;
    object-fit: cover;
    object-position: center 5%;
    border-radius: 50%;
    border: 4px solid rgba(0,0,0,0.04);
    transition: 0.35s ease;
}

.spec-card:hover .spec-photo img {
    transform: scale(1.06);
}

/* =========================
   TEXT
========================= */

.spec-name  {
    font-size: 18px;
    line-height: 1.2;
    font-weight: 600;
    color: #111114;
    text-decoration: none;
    transition: 0.25s;
}

.spec-name a {
    color: #111114;
    text-decoration: none;
    transition: 0.25s;
}

.spec-name a:hover {
    color: #c8821a;
}

.spec-position {
    font-size: 16px;
    margin-top: 6px;
    font-weight: 400;
    color: #111114;
}

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

@media (max-width: 600px) {

    .spec-card {
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* ⬅️ ЛІВО */
        padding: 20px 18px;
        text-align: left;        /* ⬅️ ЛІВО */
    }

    /* PHOTO */
    .spec-photo {
        margin-bottom: 14px;
        align-self: flex-start;  /* ⬅️ фото теж зліва */
    }

    .spec-photo img {
        width: 150px;
        height: 150px;
    }

    /* DIVIDER */
    .spec-photo::after {
        content: "";
        display: block;
        width: 90px;
        height: 2px;
        margin: 14px 0 0;        /* ⬅️ не по центру */
        background: linear-gradient(
            90deg,
            #c8821a,
            rgba(196,135,80,0.25)
        );
        border-radius: 2px;
    }

    /* INFO */
    .spec-info {
        width: 100%;
        margin-top: 16px;
    }

    .spec-name a {
        font-size: 22px;
        line-height: 1.2;
    }

    .spec-position {
        font-size: 16px;
        margin-top: 6px;
    }

    .specialist-specialitist {
        font-size: 16px;
        margin-top: 8px;
    }

    /* BUTTON */
    .specialist-profile-btn {
        margin-top: 18px;
        width: 100%;
    }

    .specialist-profile-btn a {
        width: 100%;
        text-align: center; /* кнопку залишаємо по центру — UX краще */
    }
}




  
/* =========================
   PHOTO HOVER ANIMATION
========================= */

.spec-photo {
    position: relative;
    display: inline-block;
    border-radius: 50%;
    overflow: hidden;
}

.spec-photo img {
    transition:
        transform 0.9s cubic-bezier(0.34, 1.2, 0.64, 1),
        box-shadow 0.9s ease;
    will-change: transform;
}

/* Hover — тільки на пристроях з мишею */
@media (hover: hover) {
    .spec-card:hover .spec-photo img {
        transform: scale(1.07);
        box-shadow: 0 6px 20px rgba(196,135,80,0.22);
    }
}

/* Мобільний tap — через JS-клас ._eb-on (електрика) */
@media (hover: none) {
    .spec-card._eb-on .spec-photo img {
        transform: scale(1.07);
        box-shadow: 0 6px 20px rgba(196,135,80,0.22);
    }
}


/* =========================
   CARD REVEAL (PREMIUM)
========================= */

/* Reveal — тільки через nth-child, НЕ на базовому класі
   щоб hover-transition не конфліктував з animation fill-mode */
.spec-card:nth-child(1)  { animation: cardReveal 0.6s cubic-bezier(.2,.8,.2,1) 0.05s forwards; }
.spec-card:nth-child(2)  { animation: cardReveal 0.6s cubic-bezier(.2,.8,.2,1) 0.10s forwards; }
.spec-card:nth-child(3)  { animation: cardReveal 0.6s cubic-bezier(.2,.8,.2,1) 0.15s forwards; }
.spec-card:nth-child(4)  { animation: cardReveal 0.6s cubic-bezier(.2,.8,.2,1) 0.20s forwards; }
.spec-card:nth-child(5)  { animation: cardReveal 0.6s cubic-bezier(.2,.8,.2,1) 0.25s forwards; }
.spec-card:nth-child(6)  { animation: cardReveal 0.6s cubic-bezier(.2,.8,.2,1) 0.30s forwards; }
.spec-card:nth-child(7)  { animation: cardReveal 0.6s cubic-bezier(.2,.8,.2,1) 0.35s forwards; }
.spec-card:nth-child(8)  { animation: cardReveal 0.6s cubic-bezier(.2,.8,.2,1) 0.40s forwards; }

/* Картки що поза stagger-діапазоном — одразу видно */
.spec-card { opacity: 1; }

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(26px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}




.specialist-specialitist {
    margin-top: 6px;
    font-size: 16px;
    line-height: 1.35;
    color: #111114;
}

.specialist-specialitist .spec-des {
    font-weight: 500;
    color: #111114;
    margin-right: 0px;
    
}
@media (max-width: 600px) {
    .specialist-specialitist {
        font-size: 16px;
    }
}


/* =========================
   PROFILE BUTTON
========================= */

.specialist-profile-btn {
    margin-top: 16px;
}

.specialist-profile-btn a {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 26px;
    background: #faf8f5;
    border: 1px solid rgba(0,0,0,0.06);
    color: #111114;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
}

.specialist-profile-btn a:hover {
    background: #c8821a;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 600px) {

    /* фото + ПІБ в один ряд */
    .spec-head {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .spec-name {
        margin-top: -15px;
        font-size: 22px;
        line-height: 1.2;
    }

    .spec-name a {
        font-size: 22px;
    }

    /* divider прибираємо — не потрібен */
    .spec-photo::after {
        display: none;
    }
}
@media (max-width: 600px) {

    .spec-photo {
        width: 140px;
        height: 140px;
        margin-right: 10px;
        flex-shrink: 0;              /* ⬅️ забороняємо стискання */
        border-radius: 50%;
        overflow: hidden;            /* ⬅️ важливо */
        
    }

    .spec-photo img {
        width: 100%;
        height: 100%;
        aspect-ratio: 1 / 1;         /* ⬅️ 100% круг */
        object-fit: cover;
        border-radius: 50%;
        display: block;

    }
}
/* =========================
   DIVIDER
========================= */

.specialist-divider {
    width: 100%;
    height: 1px;
    background: rgba(0,0,0,0.08);
    margin: 10px 0 0px;
}
.specialist-divider {
    display: block;
}

@media (max-width: 600px) {
    .specialist-divider {
        display: block;
        grid-column: span 2;
    }
}

.department-head-note {
	padding: 22px 24px;
	background: #fff;
	border-radius: 26px;
	border: 1px solid rgba(0,0,0,0.06);
	box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.department-head-note h3 {
	margin-bottom: 12px;
	font-size: 20px;
	font-weight: 600;
	color: #111;
}

.department-head-note p {
	margin-bottom: 10px;
	font-size: 16px;
	line-height: 1.4;
	color: #333;
}

/* =========================
   HEAD BUTTON D
========================= */

.specialist-head-btn-d {
    margin-top: 16px;
}

.specialist-head-btn-d a {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 26px;
    background: #faf8f5;
    border: 1px solid rgba(0,0,0,0.06);
    color: #111114;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
}

.specialist-head-btn-d a:hover {
    background: #c8821a;
    color: #fff;
    transform: translateY(-2px);
}

.specialist-head-btn-d a:active {
    background: #c8821a;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 600px) {

    .specialist-head-btn-d {
        display: none;
    }
}



/* =========================
   HEAD BUTTON M
========================= */

.specialist-head-btn-m {
    margin-top: 16px;
}

.specialist-head-btn-m a {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 26px;
    background: linear-gradient(45deg, rgba(245,244,244,0.71) 11%, rgba(219,165,130,0.25) 88%);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    color: #111114;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
}

.specialist-head-btn-m a:hover {
    background: #c8821a;
    color: #fff;
    transform: translateY(-2px);
}

.specialist-head-btn-m a:active {
    background: #c8821a;
    color: #fff;
    transform: translateY(-2px);
}

@media (min-width: 601px) {
    .specialist-head-btn-m {
        display: none;
    }
}

/* =========================
   NEURO SECTION – FULL STYLE
========================= */

/* Layout */
.neuro-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-top: 20px;
}

/* Image container */
.neuro-image {
    position: relative;
    flex: 0 0 460px;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 26px;
    background: transparent; /* запобігає білому фону на iOS */
}

/* Image */
.neuro-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    display: block;
    transform-origin: center center;
    backface-visibility: hidden;
}

/* Text */
.neuro-text {
    flex: 1;
}

/* =========================
   APPEAR ANIMATION
========================= */

.neuro-img-animate {
    opacity: 0;
    transform: translateY(32px);
    transition:
        transform 1.1s cubic-bezier(.22,.61,.36,1),
        opacity 1.1s ease,
        box-shadow 1.1s ease;

    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    will-change: transform, opacity;
}

.neuro-img-animate.neuro-img-show {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 18px 42px rgba(0,0,0,0.18);
}

/* =========================
   BREATH ANIMATION (IMG ONLY)
========================= */

.neuro-img-breath img {
    animation: neuroBreathSmooth 3.6s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
}

@keyframes neuroBreathSmooth {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.018); }
    100% { transform: scale(1); }
}

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

@media (max-width: 768px) {
    .neuro-layout {
        flex-direction: column;
        gap: 20px;
    }

    .neuro-image {
        flex: 100%;
        aspect-ratio: 3 / 2; /* трохи вищий кадр на мобільному */
    }
}

/* =========================
   ACCESSIBILITY
========================= */

@media (prefers-reduced-motion: reduce) {
    .neuro-img-animate,
    .neuro-img-breath img {
        transition: none !important;
        animation: none !important;
    }
}

/* =========================
   MOBILE – STRONGER BREATH
========================= */

/* mobile — збільшуємо scale через окремий клас */
@media (max-width: 768px) {
    .neuro-img-breath img {
        animation-duration: 3.8s;
    }
}

/* =========================
   TABLET PORTRAIT (iPad, etc.)
========================= */

@media (min-width: 769px) and (max-width: 1024px)  {

    .neuro-layout {
        gap: 24px;
    }

    .neuro-image {
        flex: 0 0 340px;      /* було 460px — тепер компактніше */
        max-width: 340px;
        aspect-ratio: 4 / 3; /* залишаємо правильну пропорцію */
        border-radius: 26px;
    }

    .neuro-img-animate {
        box-shadow: 0 10px 28px rgba(0,0,0,0.14);
    }
}



@media (min-width: 1001px) {

  .specialist-img-full {
    position: relative;
    margin-bottom: 20px;
    overflow: visible;
  }

}

@media (max-width: 1000px) {
.specialist-img-full img {
    display: none;
}
.specialist-info {
        border: 0px solid rgba(0, 0, 0, 0.06);
    }
}

.specialist-name-txt {
    font-size:24px !important;
    font-weight: 600 !important;
}

@media (max-width: 768px) {
.specialist-name-txt {
    font-size:22px !important;
    font-weight: 600 !important;
}
}


.dep-sty {
font-size: 13px;
  font-weight: 800;
  padding-left: 10px;
}

/* =====================================================
   ГЛОБАЛЬНИЙ СТИЛЬ ВКЛАДОК (TABS) — mkl premium
   ===================================================== */

/* ── ТАБИ: перевизначаємо глобально ── */
.nav-tabs {
  border: none !important;
  gap: 8px !important;
  margin-bottom: 28px !important;
  display: flex !important;
  flex-wrap: wrap !important;
}

.nav-tabs .nav-link {
  border: 1px solid rgb(233,233,233) !important;
  border-radius: 0 20px 20px 20px !important;
  padding: 8px 18px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #554d49 !important;
  background: rgba(255,255,255,0.92) !important;
  text-decoration: none !important;
  transition:
    background .28s cubic-bezier(.34,1.4,.64,1),
    color 0s,
    border-color 0s,
    box-shadow .28s ease !important;
  position: relative !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.04) !important;
  letter-spacing: -.01em !important;
}


.nav-tabs .nav-link:hover {
  background: linear-gradient(145deg,#f3b65d,#eaa87d,#f2a387) !important;
  border-color: rgba(219,165,130,.42) !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(200,130,26,.22) !important;
}

.nav-tabs .nav-link.active {
  background: linear-gradient(145deg,#f3b65d 0%,#eaa87d 50%,#f2a387 100%) !important;
  border-color: rgba(219,165,130,.42) !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(200,130,26,.25) !important;
  font-weight: 700 !important;
}

/* ── TAB ICONS ── */
.nav-tabs .nav-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  transition:
    transform .32s cubic-bezier(.34,1.56,.64,1),
    filter .22s ease;
  will-change: transform;
}

.tab-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  stroke: currentColor;
}

/* Hover: іконка підстрибує + невеликий поворот */
.nav-tabs .nav-link:hover .tab-icon,
.nav-tabs .nav-link:focus-visible .tab-icon {
  transform: translateY(-3px) rotate(-8deg) scale(1.18);
  filter: drop-shadow(0 3px 6px rgba(200,130,26,.35));
}

/* Active: іконка злегка пульсує */
.nav-tabs .nav-link.active .tab-icon {
  transform: scale(1.12);
  filter: drop-shadow(0 2px 5px rgba(255,255,255,.40));
  animation: tabIconPulse 2.4s ease-in-out infinite;
}

@keyframes tabIconPulse {
  0%, 100% { transform: scale(1.12) rotate(0deg); }
  50%       { transform: scale(1.20) rotate(-6deg); }
}

.tab-label {
  display: inline;
}

/* ── TAB CONTENT ── */
.tab-content {
  animation: deptFadeUp .42s cubic-bezier(.22,1,.36,1) !important;
}
.tab-pane {
  font-size: 16px !important;
  line-height: 1.5 !important;
}
@keyframes deptFadeUp {
  from { opacity:0; transform:translateY(18px); }
  to   { opacity:1; transform:translateY(0); }
}

/* =====================================================
   СЕКЦІЯ-ЗАГОЛОВОК ВКЛАДКИ — як mkl-section-title
   ===================================================== */
.tab-pane > h2,
.tab-pane > h3,
.spmedical-tab-title {
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: -.02em !important;
  color: #1a1410 !important;
  margin: 0 0 20px !important;
  padding-bottom: 14px !important;
  border-bottom: 2px solid rgb(233,233,233) !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  position: relative !important;
}
.tab-pane > h2::after,
.tab-pane > h3::after {
  content: '' !important;
  flex: 1 !important;
  height: 1px !important;
  background: linear-gradient(90deg, rgb(233,233,233), transparent) !important;
  margin-left: 12px !important;
}

/* =====================================================
   ПРИЙОМ ПАЦІЄНТІВ — spx-apple-premium upgrade
   ===================================================== */
.spx-apple-premium {
  background: rgba(255,255,255,0.92) !important;
  border-radius: 0 0 28px 28px !important;
  padding: 28px 32px !important;
  border: 1px solid rgb(233,233,233) !important;
  box-shadow: 0 2px 18px rgba(200,135,26,.07), 0 1px 4px rgba(0,0,0,.03) !important;
  color: #1a1410 !important;
  margin-bottom: 16px !important;
}

/* Рядки розкладу — mkl card style */
.spx-schedule p,
.spx-phone p {
  display: grid !important;
  grid-template-columns: minmax(140px,1fr) auto !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 12px 18px !important;
  margin-bottom: 8px !important;
  background: rgba(255,255,255,0.92) !important;
  border-radius: 0 0 20px 20px !important;
  border: 1px solid rgb(233,233,233) !important;
  font-size: 15px !important;
  transition:
    transform .32s cubic-bezier(.34,1.4,.64,1),
    box-shadow .32s cubic-bezier(.34,1.4,.64,1),
    border-color .22s ease,
    background .22s ease !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.03) !important;
}

.spx-schedule p:hover,
.spx-phone p:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 22px rgba(196,192,187,.40) !important;
  border-color: rgba(219,165,130,.42) !important;
  background: rgb(244,240,236) !important;
}

.spx-schedule strong,
.spx-phone strong {
  font-weight: 600 !important;
  color: #554d49 !important;
  font-size: 14px !important;
  letter-spacing: .02em !important;
}

.spx-schedule span,
.spx-phone a {
  font-weight: 700 !important;
  color: #1a1410 !important;
  text-align: right !important;
  font-size: 14px !important;
}

/* neu-card--urgent (тільки для симптомів) */
.neu-card.neu-card--urgent {
  border-top: 3px solid #c0392b;
  border-radius: 4px 4px 22px 22px;
}
.neu-card.neu-card--urgent h5 { color: #c0392b !important; }

/* =====================================================
   ВКЛАДКА "ПОСЛУГИ" (causes/others_services) — dep-services
   ===================================================== */
.dep-services-wrap {
  --cs: rgba(255,255,255,0.92);
  --cb: rgb(233,233,233);
  --cb2: rgba(219,165,130,0.42);
  --ct: #1a1410;
  --cm: #554d49;
  --ca: #c8821a;
  --sh: 0 2px 18px rgba(200,135,26,.07), 0 1px 4px rgba(0,0,0,.03), inset 0 1px 0 rgba(255,255,255,.75);
  --sh-h: 0 14px 42px rgba(196,192,187,.55), 0 2px 10px rgba(0,0,0,.04);
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 4px;
  font-family: 'Manrope', system-ui, sans-serif;
}

/* Список послуг */
.dep-services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 1100px) { .dep-services-list { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px)  { .dep-services-list { grid-template-columns: 1fr; } }

/* Картка послуги */
.dep-service-card {
  background: var(--cs);
  border: 1px solid var(--cb);
  border-radius: 0 0 22px 22px;
  padding: 20px 22px 22px;
  box-shadow: var(--sh);
  transition:
    box-shadow .32s cubic-bezier(.34,1.4,.64,1),
    transform .32s cubic-bezier(.34,1.4,.64,1),
    border-color .22s ease;
  position: relative;
  overflow: hidden;
}
.dep-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #f3b65d, #eaa87d, #f2a387);
  opacity: 0;
  transition: opacity .25s ease;
}
.dep-service-card:hover {
  box-shadow: var(--sh-h);
  transform: translate3d(0,-5px,0);
  border-color: var(--cb2);
}
.dep-service-card:hover::before { opacity: 1; }

.dep-service-card h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--cm);
  margin: 0 0 12px;
  padding-bottom: 11px;
  border-bottom: 1.5px solid var(--cb);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dep-service-card h5::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background-color: var(--ca);
  opacity: 0.50;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v3M12 19v3M4.22 4.22l2.12 2.12M17.66 17.66l2.12 2.12M2 12h3M19 12h3M4.22 19.78l2.12-2.12M17.66 6.34l2.12-2.12'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v3M12 19v3M4.22 4.22l2.12 2.12M17.66 17.66l2.12 2.12M2 12h3M19 12h3M4.22 19.78l2.12-2.12M17.66 6.34l2.12-2.12'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .25s ease;
  will-change: transform;
}
.dep-service-card:hover h5::before {
  opacity: 1;
  animation: neuCardIconSpin .6s cubic-bezier(.36,.07,.19,.97) both;
}
.dep-service-card h5::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--cb), transparent);
}
.dep-service-card ul {
  margin: 0;
  padding: 0 0 0 18px;
}
.dep-service-card li {
  font-size: 15px;
  line-height: 1.45;
  color: var(--ct);
  margin-bottom: 5px;
}
.dep-service-card li::marker { color: var(--ca); font-size: 18px; }

/* Акцентна картка (featured) */
.dep-service-card--accent {
  background: linear-gradient(145deg, rgba(243,182,93,.08), rgba(242,163,135,.06));
  border-color: rgba(219,165,130,.35);
}
.dep-service-card--accent::before { opacity: 1; }
.dep-service-card--accent h5 { color: #b87820; }

/* CTA банер */
.dep-services-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 28px;
  background: linear-gradient(145deg, #f3b65d 0%, #eaa87d 50%, #f2a387 100%);
  border-radius: 0 0 24px 24px;
  box-shadow: 0 8px 28px rgba(186,100,74,.20);
  position: relative;
  overflow: hidden;
}
.dep-services-cta::before {
  content: '';
  position: absolute;
  top: -40px; right: -30px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.15) 0%, transparent 65%);
  pointer-events: none;
}
.dep-services-cta__text {
  position: relative; z-index: 1;
}
.dep-services-cta__title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 4px;
  text-shadow: 0 1px 8px rgba(0,0,0,.10);
}
.dep-services-cta__sub {
  font-size: 13px;
  color: rgba(255,255,255,.82);
  font-weight: 500;
  margin: 0;
}
.dep-services-cta__badge {
  position: relative; z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 0 0 16px 16px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.35);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  transition: background .22s ease;
  flex-shrink: 0;
}
.dep-services-cta__badge:hover { background: rgba(255,255,255,.32); }
@media (max-width: 640px) {
  .dep-services-cta { flex-direction: column; align-items: flex-start; }
}

/* =====================================================
   NEURO-SECTION TEXT upgrade
   ===================================================== */
.neuro-text p {
  font-size: 16px !important;
  line-height: 1.55 !important;
  color: #1a1410 !important;
  margin-bottom: 14px !important;
}
.neuro-text strong {
  font-weight: 700 !important;
  color: #1a1410 !important;
}
.neuro-text p em,
.neuro-text p strong em {
  font-style: normal !important;
}


/* =====================================================
   EYE-INFO-WRAP — Вкладка "Інформація" мікрохірургія ока
   ===================================================== */

.eye-info-wrap {
  --cb:    rgb(233,233,233);
  --cb2:   rgba(219,165,130,0.42);
  --cs:    rgba(255,255,255,0.92);
  --ct:    #1a1410;
  --cm:    #554d49;
  --sh:    0 2px 18px rgba(200,135,26,.07), 0 1px 4px rgba(0,0,0,.03), inset 0 1px 0 rgba(255,255,255,.75);
  --sh-h:  0 14px 42px rgba(196,192,187,.55), 0 2px 10px rgba(0,0,0,.04);
  font-family: 'Manrope', system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 4px;
}

/* Hero banner */
.eye-info-hero {
  padding: 22px 28px;
  background: linear-gradient(145deg, #f3b65d 0%, #eaa87d 50%, #f2a387 100%);
  border-radius: 0 0 24px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(186,100,74,.20);
}
.eye-info-hero::before {
  content: '';
  position: absolute;
  top: -50px; right: -30px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.16) 0%, transparent 65%);
  pointer-events: none;
}
.eye-info-icon { display: none; }
.eye-info-headline { position: relative; z-index: 1; }
.eye-info-headline h3 {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0,0,0,.10);
  margin: 0 0 4px;
}

/* ── eye-info-headline та dept-tab-hero__title — іконки ── */

/* Flexbox для заголовків */
.eye-info-headline h3,
.dept-tab-hero__title {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* Спільний стиль іконки-бейджу */
.dept-tab-hero__title .hero-tab-icon,
.eye-info-headline h3 .hero-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 9px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition:
    transform .38s cubic-bezier(.34,1.56,.64,1),
    background .25s ease,
    box-shadow .25s ease;
  will-change: transform;
  cursor: default;
}

.dept-tab-hero__title .hero-tab-icon svg,
.eye-info-headline h3 .hero-tab-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  stroke: #fff;
  stroke-width: 2.2;
}

/* Hover: наведення на весь hero-блок */
.dept-tab-hero:hover .hero-tab-icon,
.eye-info-hero:hover .hero-tab-icon {
  transform: translateY(-4px) rotate(-10deg) scale(1.22);
  background: rgba(255,255,255,.30);
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

@media (max-width: 768px) {
  .dept-tab-hero__title .hero-tab-icon,
  .eye-info-headline h3 .hero-tab-icon {
    width: 26px;
    height: 26px;
    border-radius: 7px;
  }
  .dept-tab-hero__title .hero-tab-icon svg,
  .eye-info-headline h3 .hero-tab-icon svg {
    width: 13px;
    height: 13px;
  }
}
.eye-info-sub {
  font-size: 13px;
  color: rgba(255,255,255,.82);
  font-weight: 500;
  line-height: 1.45;
  margin: 0;
}

/* Cards grid */
.eye-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 1100px) { .eye-info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .eye-info-grid { grid-template-columns: 1fr; } }

/* Base card */
.eye-info-card {
  background: var(--cs);
  border: 1px solid var(--cb);
  border-radius: 0 0 22px 22px;
  padding: 20px 22px 22px;
  box-shadow: var(--sh);
  position: relative;
  overflow: hidden;
  transition:
    box-shadow .32s cubic-bezier(.34,1.4,.64,1),
    transform   .32s cubic-bezier(.34,1.4,.64,1),
    border-color .22s ease;
}
.eye-info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f3b65d, #eaa87d, #f2a387);
  opacity: 0;
  transition: opacity .25s ease;
}
.eye-info-card:hover {
  box-shadow: var(--sh-h);
  transform: translate3d(0, -5px, 0);
  border-color: var(--cb2);
}
.eye-info-card:hover::before { opacity: 1; }
.eye-info-card-icon { display: none; }

.eye-info-card h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--cm);
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--cb);
  display: flex;
  align-items: center;
  gap: 8px;
}
.eye-info-card h5::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background-color: #c8821a;
  opacity: 0.50;
  border-radius: 50%;
  transition: opacity .25s ease;
  will-change: transform;
}
.eye-info-card:hover h5::before {
  opacity: 1;
  animation: eyeDotPulse 1s ease-in-out infinite;
}
@keyframes eyeDotPulse {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(200,130,26,.5); }
  50%       { transform: scale(1.25); box-shadow: 0 0 0 5px rgba(200,130,26,0); }
}
.eye-info-card h5::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--cb), transparent);
}
.eye-info-card p  { font-size: 15px; line-height: 1.5; color: var(--ct); margin: 0; }
.eye-info-card ul { margin: 0; padding: 0 0 0 18px; }
.eye-info-card li { font-size: 15px; line-height: 1.45; color: var(--ct); margin-bottom: 5px; }
.eye-info-card li::marker { color: #c8821a; font-size: 18px; }

.eye-info-card--red h5  { color: #c0392b; }
.eye-info-card--blue h5 { color: #2563a8; }

/* Stats row */
.eye-info-stats {
  display: flex;
  border-radius: 0 0 22px 22px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--cb);
  box-shadow: var(--sh);
  overflow: hidden;
}
.eye-info-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 22px;
  cursor: default;
  transition: background .22s;
}
.eye-info-stat + .eye-info-stat { border-left: 1px solid var(--cb); }
.eye-info-stat:hover { background: rgb(244,240,236); }
.eye-info-stat-num   { font-size: 24px; font-weight: 900; color: #c8821a; letter-spacing: -.02em; line-height: 1; }
.eye-info-stat-label { font-size: 12px; font-weight: 600; color: var(--cm); line-height: 1.3; }

@media (max-width: 640px) {
  .eye-info-stats { flex-direction: column; }
  .eye-info-stat + .eye-info-stat { border-left: none; border-top: 1px solid var(--cb); }
}


/* =====================================================
   ПРЕМІУМ СТИЛЬ ВСІХ ВКЛАДОК — градієнти, бейджі, акценти
   ===================================================== */

/* ── ЗАГАЛЬНИЙ КОНТЕЙНЕР ВКЛАДКИ ── */
.tab-pane {
  position: relative;
}

/* ── ГРАДІЄНТНИЙ HERO для кожної вкладки ── */
.dept-tab-hero {
  background: linear-gradient(145deg, #e5b05e 0%, #e5a267 50%, #ba644a 100%);
  border-radius: 0 0 24px 24px;
  padding: 20px 28px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(186,100,74,.18);
}
.dept-tab-hero::before {
  content: '';
  position: absolute;
  top: -50px; right: -40px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.16) 0%, transparent 65%);
  pointer-events: none;
}
.dept-tab-hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: 40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.10) 0%, transparent 70%);
  pointer-events: none;
}
.dept-tab-hero__inner {
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.dept-tab-hero__title {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0,0,0,.10);
  margin: 0 0 4px;
}
.dept-tab-hero__sub {
  font-size: 13px;
  color: rgba(255,255,255,.82);
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}

/* ── HERO TAB ICON ── */
.dept-tab-hero__title {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.hero-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 8px;
  backdrop-filter: blur(6px);
  transition:
    transform .38s cubic-bezier(.34,1.56,.64,1),
    background .25s ease,
    box-shadow .25s ease;
  will-change: transform;
  cursor: default;
}

.hero-tab-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  stroke: #fff;
  stroke-width: 2;
}

.dept-tab-hero:hover .hero-tab-icon {
  transform: translateY(-4px) rotate(-10deg) scale(1.22);
  background: rgba(255,255,255,.30);
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

@media (max-width: 768px) {
  .hero-tab-icon {
    width: 24px;
    height: 24px;
  }
  .hero-tab-icon svg {
    width: 13px;
    height: 13px;
  }
}

.dept-tab-hero__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.dept-tab-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 0 0 14px 14px;
  background: rgba(255,255,255,.20);
  border: 1px solid rgba(255,255,255,.35);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  transition: background .22s ease;
  cursor: default;
}
.dept-tab-badge:hover { background: rgba(255,255,255,.30); }

/* ── SPEC-CARD: лікарі ── */
/* spec-card position/overflow — see consolidated block below */
.spec-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 1;
}
.spec-card:hover::before { opacity: 1; }

/* Фото — градієнтне кільце при hover */
.spec-photo img {
  border: 3px solid transparent !important;
  background-clip: padding-box;
  transition:
    transform .55s cubic-bezier(.34,1.2,.64,1),
    box-shadow .55s ease,
    border-color .35s ease !important;
}
.spec-card:hover .spec-photo img {
  box-shadow: 0 0 0 3px rgba(200,130,26,.35), 0 8px 24px rgba(200,130,26,.18) !important;
}

/* Бейдж досвіду */
.spec-exp-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(145deg, rgba(243,182,93,.15), rgba(242,163,135,.12));
  border: 1px solid rgba(219,165,130,.35);
  font-size: 12px;
  font-weight: 700;
  color: #b87820;
  margin-top: 4px;
  cursor: default;
}

/* Позиція */
.spec-position {
  font-size: 14px !important;
  color: #554d49 !important;
  margin-top: 4px !important;
  line-height: 1.35 !important;
}

/* Кнопка профілю — premium */
.specialist-profile-btn a,
.specialist-head-btn-d a,
.specialist-head-btn-m a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 18px !important;
  border-radius: 0 0 16px 16px !important;
  background: linear-gradient(145deg, rgba(243,182,93,.10), rgba(242,163,135,.08)) !important;
  border: 1px solid rgba(219,165,130,.35) !important;
  color: #b87820 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all .28s cubic-bezier(.34,1.4,.64,1) !important;
}
.specialist-profile-btn a:hover,
.specialist-head-btn-d a:hover,
.specialist-head-btn-m a:hover {
  background: linear-gradient(145deg, #f3b65d, #eaa87d) !important;
  border-color: transparent !important;
  color: #fff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(200,130,26,.22) !important;
}

/* ── DEPARTMENT HEAD NOTE: завідувач ── */
.department-head-note {
  background: rgba(255,255,255,0.92) !important;
  border-radius: 0 0 26px 26px !important;
  border: 1px solid rgb(233,233,233) !important;
  box-shadow: 0 2px 18px rgba(200,135,26,.07), 0 1px 4px rgba(0,0,0,.03) !important;
  padding: 26px 28px !important;
  position: relative !important;
  overflow: hidden !important;
}
.department-head-note::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f3b65d, #eaa87d, #f2a387);
}
.department-head-note h3 {
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: -.02em !important;
  color: #1a1410 !important;
  margin: 0 0 16px !important;
  padding-bottom: 12px !important;
  border-bottom: 1.5px solid rgb(233,233,233) !important;
}
.department-head-note p {
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #1a1410 !important;
  margin: 0 0 10px !important;
}

/* ── SPEC-CARD HEAD (завідувач — велика картка) ── */
.spec-grid-head .spec-card {
  background: rgba(255,255,255,0.92) !important;
  border: 1px solid rgb(233,233,233) !important;
  border-radius: 0 0 26px 26px !important;
  box-shadow: 0 2px 18px rgba(200,135,26,.07), 0 1px 4px rgba(0,0,0,.03) !important;
}

/* ── АКЦЕНТ-БЕЙДЖ всередині карток ── */
.dept-accent-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(145deg, rgba(243,182,93,.12), rgba(242,163,135,.10));
  border: 1px solid rgba(219,165,130,.30);
  font-size: 11px;
  font-weight: 700;
  color: #b87820;
  letter-spacing: .04em;
  cursor: default;
  margin-right: 4px;
  margin-bottom: 4px;
}

/* ── SPECIALISTS-WRAPPER (старі картки) ── */
.specialists-wrapper {
  background: rgba(255,255,255,0.92) !important;
  border-radius: 0 0 26px 26px !important;
  border: 1px solid rgb(233,233,233) !important;
  box-shadow: 0 2px 18px rgba(200,135,26,.07), 0 1px 4px rgba(0,0,0,.03) !important;
  padding: 20px !important;
  transition:
    box-shadow .32s cubic-bezier(.34,1.4,.64,1),
    transform .32s cubic-bezier(.34,1.4,.64,1),
    border-color .22s ease !important;
}
.specialists-wrapper:hover {
  box-shadow: 0 14px 42px rgba(196,192,187,.55), 0 2px 10px rgba(0,0,0,.04) !important;
  transform: translate3d(0,-5px,0) !important;
  border-color: rgba(219,165,130,.42) !important;
}

/* ── ABOUT SPECIALIST ── */
.about-specialist {
  background: rgba(255,255,255,0.92) !important;
  border-radius: 0 0 26px 26px !important;
  border: 1px solid rgb(233,233,233) !important;
  box-shadow: 0 2px 18px rgba(200,135,26,.07), 0 1px 4px rgba(0,0,0,.03) !important;
  padding: 28px 32px !important;
  position: relative !important;
  overflow: hidden !important;
}
.about-specialist::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f3b65d, #eaa87d, #f2a387);
}

/* ── NEU-CARD hover upgrade (без ломки) ── */
.neu-card:hover {
  box-shadow: 0 14px 42px rgba(196,192,187,.45), 0 2px 8px rgba(0,0,0,.06) !important;
  transform: translate3d(0,-4px,0) !important;
  border-color: rgba(219,165,130,.35) !important;
}

/* Gradient floater removed — position:fixed в ::before викликає проблеми на iOS */

/* ── STAT PILL — маленькі статбейджі ── */
.dept-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 0 0 12px 12px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(219,165,130,.28);
  font-size: 12px;
  font-weight: 700;
  color: #b87820;
  backdrop-filter: blur(8px);
  cursor: default;
  transition: background .22s ease;
}
.dept-stat-pill:hover {
  background: linear-gradient(145deg, rgba(243,182,93,.14), rgba(242,163,135,.10));
}

/* ── SCHEDULE HERO рядки — upgrade ── */
.spx-schedule p,
.spx-phone p {
  position: relative;
  overflow: hidden;
}
.spx-schedule p::after,
.spx-phone p::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(243,182,93,.0), rgba(242,163,135,.0));
  transition: background .32s ease;
  pointer-events: none;
}
.spx-schedule p:hover::after,
.spx-phone p:hover::after {
  background: linear-gradient(135deg, rgba(243,182,93,.06), rgba(242,163,135,.04));
}

/* ── РОЗДІЛЮВАЧ В SPEC-CARD ── */
.specialist-divider {
  background: linear-gradient(90deg, rgba(219,165,130,.35), transparent) !important;
  height: 1.5px !important;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .dept-tab-hero { padding: 16px 18px; }
  .dept-tab-hero__title { font-size: 20px; }
  .dept-tab-hero__badges { display: none; }
}


/* =====================================================
   КАРТКИ "МИ ЛІКУЄМО" і "СИМПТОМИ" — dep-service-card стиль
   ===================================================== */

/* Перевизначаємо neu-card у вкладках treatments_info і symptoms
   щоб вони мали той самий вигляд що dep-service-card */
.neu-wrap .neu-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgb(233,233,233);
  border-radius: 0 0 22px 22px;
  padding: 20px 22px 22px;
  box-shadow: 0 2px 18px rgba(200,135,26,.07), 0 1px 4px rgba(0,0,0,.03), inset 0 1px 0 rgba(255,255,255,.75);
  position: relative;
  overflow: hidden;
  transition:
    box-shadow .32s cubic-bezier(.34,1.4,.64,1),
    transform   .32s cubic-bezier(.34,1.4,.64,1),
    border-color .22s ease;
  margin-bottom: 0;
  opacity: 1;
  transform: none;
}
.neu-wrap .neu-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f3b65d, #eaa87d, #f2a387);
  opacity: 0;
  transition: opacity .25s ease;
}
.neu-wrap .neu-card:hover {
  box-shadow: 0 14px 42px rgba(196,192,187,.55), 0 2px 10px rgba(0,0,0,.04) !important;
  transform: translate3d(0,-5px,0) !important;
  border-color: rgba(219,165,130,.42) !important;
}
.neu-wrap .neu-card:hover::before { opacity: 1; }

.neu-wrap .neu-card h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #554d49;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid rgb(233,233,233);
  display: flex;
  align-items: center;
  gap: 8px;
}
.neu-wrap .neu-card h5::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background-color: #c8821a;
  opacity: 0.50;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v3M12 19v3M4.22 4.22l2.12 2.12M17.66 17.66l2.12 2.12M2 12h3M19 12h3M4.22 19.78l2.12-2.12M17.66 6.34l2.12-2.12'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v3M12 19v3M4.22 4.22l2.12 2.12M17.66 17.66l2.12 2.12M2 12h3M19 12h3M4.22 19.78l2.12-2.12M17.66 6.34l2.12-2.12'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .25s ease;
  will-change: transform;
}
.neu-wrap .neu-card:hover h5::before {
  opacity: 1;
  animation: neuCardIconSpin .6s cubic-bezier(.36,.07,.19,.97) both;
}
@keyframes neuCardIconSpin {
  0%   { transform: rotate(0deg)   scale(1);    }
  30%  { transform: rotate(90deg)  scale(1.30); }
  60%  { transform: rotate(150deg) scale(1.15); }
  100% { transform: rotate(180deg) scale(1.20); }
}
.neu-wrap .neu-card h5::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgb(233,233,233), transparent);
}
.neu-wrap .neu-card ul { padding-left: 18px; margin: 0; }
.neu-wrap .neu-card li {
  font-size: 15px;
  line-height: 1.45;
  color: #1a1410;
  margin-bottom: 5px;
}
.neu-wrap .neu-card li::marker { color: #c8821a; font-size: 18px; }
.neu-wrap .neu-card p {
  font-size: 15px;
  line-height: 1.5;
  color: #1a1410;
  margin: 0;
}

/* urgent — невідкладні симптоми */
.neu-wrap .neu-card.neu-card--urgent {
  border-radius: 4px 4px 22px 22px;
}
.neu-wrap .neu-card.neu-card--urgent h5 { color: #c0392b; }
.neu-wrap .neu-card.neu-card--urgent::before {
  opacity: 1;
}

/* spec-card electric/border — see consolidated block below */

/* spec-grid-head border-radius — see consolidated .spec-card block below */

/* =====================================================
   ВКЛАДКА ПРИЙОМ ПАЦІЄНТІВ — reception premium
   ===================================================== */

.reception-wrap {
  --cb: rgb(233,233,233);
  --cb2: rgba(219,165,130,.42);
  --cs: rgba(255,255,255,.92);
  --ct: #1a1410;
  --cm: #554d49;
  --ca: #c8821a;
  --sh: 0 2px 18px rgba(200,135,26,.07), 0 1px 4px rgba(0,0,0,.03), inset 0 1px 0 rgba(255,255,255,.75);
  --sh-h: 0 14px 42px rgba(196,192,187,.55), 0 2px 10px rgba(0,0,0,.04);
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: 'Manrope', system-ui, sans-serif;
}

/* Головна секція тексту */
.reception-main {
  background: var(--cs);
  border: 1px solid var(--cb);
  border-radius: 0 0 26px 26px;
  padding: 26px 28px;
  box-shadow: var(--sh);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition:
    box-shadow .32s cubic-bezier(.34,1.4,.64,1),
    transform   .32s cubic-bezier(.34,1.4,.64,1),
    border-color .22s ease;
}
.reception-main::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f3b65d, #eaa87d, #f2a387);
}
.reception-main h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ct);
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--cb);
}
.reception-main p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ct);
  margin: 0 0 10px;
}
.reception-main strong { font-weight: 700; color: var(--ct); }
.reception-main:hover {
  box-shadow: 0 14px 42px rgba(196,192,187,.50), 0 2px 10px rgba(0,0,0,.04);
  transform: translate3d(0,-4px,0);
  border-color: rgba(219,165,130,.42);
}
.reception-main:hover::before { opacity: 1; }

/* Сітка інфо-карток */
.reception-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
}
@media (max-width: 1100px) { .reception-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px)  { .reception-grid { grid-template-columns: 1fr; } }

/* Картка в прийомі */
.reception-card {
  background: var(--cs);
  border: 1px solid var(--cb);
  border-radius: 0 0 22px 22px;
  padding: 20px 22px 22px;
  box-shadow: var(--sh);
  position: relative;
  overflow: hidden;
  transition:
    box-shadow .32s cubic-bezier(.34,1.4,.64,1),
    transform   .32s cubic-bezier(.34,1.4,.64,1),
    border-color .22s ease;
}
.reception-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f3b65d, #eaa87d, #f2a387);
  opacity: 0;
  transition: opacity .25s ease;
}
.reception-card:hover {
  box-shadow: var(--sh-h);
  transform: translate3d(0,-5px,0);
  border-color: var(--cb2);
}
.reception-card:hover::before { opacity: 1; }

.reception-card h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--cm);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--cb);
  display: flex;
  align-items: center;
  gap: 8px;
}
.reception-card h5::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background-color: var(--ca);
  opacity: 0.50;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v3M12 19v3M4.22 4.22l2.12 2.12M17.66 17.66l2.12 2.12M2 12h3M19 12h3M4.22 19.78l2.12-2.12M17.66 6.34l2.12-2.12'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v3M12 19v3M4.22 4.22l2.12 2.12M17.66 17.66l2.12 2.12M2 12h3M19 12h3M4.22 19.78l2.12-2.12M17.66 6.34l2.12-2.12'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .25s ease;
  will-change: transform;
}
.reception-card:hover h5::before {
  opacity: 1;
  animation: neuCardIconSpin .6s cubic-bezier(.36,.07,.19,.97) both;
}
.reception-card h5::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--cb), transparent);
}
.reception-card ul { margin: 0; padding: 0 0 0 18px; }
.reception-card li {
  font-size: 15px;
  line-height: 1.45;
  color: var(--ct);
  margin-bottom: 5px;
}
.reception-card li::marker { color: var(--ca); font-size: 18px; }
.reception-card p { font-size: 15px; line-height: 1.5; color: var(--ct); margin: 0; }

/* Accent */
.reception-card--accent {
  background: linear-gradient(145deg, rgba(243,182,93,.07), rgba(242,163,135,.05));
  border-color: rgba(219,165,130,.30);
}
.reception-card--accent::before { opacity: 1; }
.reception-card--accent h5 { color: #b87820; }

/* Спеціальний рядок — адреса */
.reception-address-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  background: linear-gradient(145deg, #f3b65d 0%, #eaa87d 60%, #f2a387 100%);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 6px 20px rgba(186,100,74,.18);
  position: relative;
  overflow: hidden;
}
.reception-address-row::before {
  content: '';
  position: absolute;
  top: -40px; right: -30px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.14) 0%, transparent 65%);
  pointer-events: none;
}
.reception-address-label {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.10);
  position: relative; z-index: 1;
}
.reception-address-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 0 0 14px 14px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.35);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  backdrop-filter: blur(8px);
  position: relative; z-index: 1;
}


/* neu-grid виправлено в базовому блоці вище */

/* reception-main hover — consolidated above */






/* =====================================================
   ЕЛЕКТРИКА — точний border по прямих верхніх кутах
   box-shadow замінюємо на outline + border щоб не заокруглювати
   ===================================================== */

/* =====================================================
   SPEC-CARD — єдиний консолідований блок
   ===================================================== */

.spec-card {
  /* Вигляд */
  background: rgba(255,255,255,0.92);
  border: 1.5px solid rgb(233,233,233);
  border-radius: 0 22px 22px 22px;
  padding: 22px;
  box-shadow: 0 2px 18px rgba(200,135,26,.07), 0 1px 4px rgba(0,0,0,.03);
  /* Стек */
  position: relative;
  overflow: visible;
  height: auto;
  align-self: start;
  /* Плавний hover — ТІЛЬКИ через transition, без animation */
  transition:
    transform .38s cubic-bezier(.25,.46,.45,.94),
    box-shadow .38s cubic-bezier(.25,.46,.45,.94),
    border-color .38s ease;
}

.spec-card:hover,
.spec-card._eb-on {
  transform: translateY(-5px);
  border-color: rgba(243,182,93,.70);
  box-shadow: 0 10px 32px rgba(196,192,187,.55), 0 2px 8px rgba(0,0,0,.05);
}

.spec-grid-head .spec-card {
  border-radius: 0 0 26px 26px;
}
.spec-grid-head .spec-card:hover,
.spec-grid-head .spec-card._eb-on {
  transform: translateY(-5px);
  border-color: rgba(243,182,93,.70);
  box-shadow: 0 10px 32px rgba(196,192,187,.55), 0 2px 8px rgba(0,0,0,.05);
}