/* Мгновенная видимость логотипа и сохранение цвета */
/* Блокируем любые попытки скрыть логотип через opacity или visibility */
html.page-loading img[src*="logo1"],
html.page-ready img[src*="logo1"],
img[src*="logo1"],
.navbar img.no-reveal,
.navbar .container>a:first-child img,
.mobile-menu-header img,
.navbar-brand img {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  transition: none !important;
  animation: none !important;
  transform: none !important;
  image-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  filter: brightness(0) saturate(100%) invert(42%) sepia(13%) saturate(993%) hue-rotate(334deg) brightness(94%) contrast(82%) !important;
}

/* Header logo: Disable hover animation across all pages */
.navbar .container>a:first-child:hover img,
.mobile-menu-header a:first-child:hover img {
  transform: none !important;
  opacity: 1 !important;
  transition: none !important;
}

/* Высокое качество логотипа в хедере и футере */
.navbar .container>a:first-child img,
.mobile-menu-header img {
  width: auto !important;
  height: 58px !important;
  max-height: 58px !important;
  object-fit: contain !important;
}

.footer img[src*="logo1.png"] {
  width: auto !important;
  height: 80px !important;
  max-height: 80px !important;
  object-fit: contain !important;
}

/* Disable hover lift and hand cursor for plaques (index.html block 2, works.html block 2, services.html block 3) */
.why-choose-card,
.work-card,
.service-premium-card,
.why-consult-item,
.svc-ribbon-item {
  cursor: default !important;
}

/* Doctors Section Fixes */
.doctor-block-card-link {
  cursor: pointer !important;
  display: block !important;
  text-decoration: none !important;
}

.doctor-block-card {
  cursor: pointer !important;
  transform: none !important;
  box-shadow: none !important;
}

.doctor-block-card * {
  cursor: pointer !important;
}

/* Ensure hat icon button keeps pointer but doesn't override the whole card's clickability */
.doctor-block-edu-btn,
.doctor-block-edu-btn * {
  cursor: pointer !important;
}

.doctor-block-card:hover {
  box-shadow: none !important;
  transform: translateY(-4px) !important;
  background-color: rgba(251, 249, 245, 1) !important;
}


/* Remove decorative circles from cards */
.doctor-block-card::after,
.service-card::after,
.service-premium-card::after,
.svc-ribbon-item::after,
.work-card::after,
.why-choose-card::after {
  display: none !important;
  content: none !important;
}

/* Works Gallery Performance & Styling */
.work-item {
  content-visibility: visible !important;
  contain-intrinsic-size: 1px 400px;
  /* Placeholder size to help browser layout */
}

/* Responsive Grid for Works: 2 columns down to 550px, then 1 column */
@media (max-width: 767.98px) {
  #worksGrid .work-item {
    width: 50% !important;
    flex: 0 0 50% !important;
  }
}

@media (max-width: 550px) {
  #worksGrid .work-item {
    width: 100% !important;
    flex: 0 0 100% !important;
  }
}


#worksGrid .work-card {
  border: none !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
  background: #fff !important;
}

#worksGrid .work-card img {
  border-radius: 20px !important;
}

.why-choose-card:hover,
.work-card:hover,
.service-premium-card:hover,
.why-consult-item:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Ensure default cursor for links and children inside these plaques */
.why-choose-card *,
.work-card *,
.service-premium-card,
.service-premium-card *,
.why-consult-item,
.why-consult-item *,
.svc-ribbon-item,
.svc-ribbon-item * {
  cursor: default !important;
}

/* Принудительная видимость контейнеров логотипа во всех состояниях */
html.page-loading .navbar .container>a:first-child,
html.page-ready .navbar .container>a:first-child,
.navbar .container>a:first-child,
.mobile-menu-header a:first-child {
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
  transform: none !important;
}

.doctor-block-card-photo,
.doctors-group-photo,
.lead-magnet-photo,
.sp-card-img,
.why-choose-family-photo,
body.mobile-menu-open,
html.mobile-menu-open {
  overflow: hidden !important
}

.lead-magnet-photo,
.lead-popup-content,
.lead-popup-photo,
.modal-consent-text {
  min-width: 0 !important
}

body.inner-page footer.footer .footer-bottom::before {
  display: none !important;
  content: none !important;
}

body.inner-page footer.footer .footer-bottom>span {
  margin-left: 0 !important;
  text-align: left !important;
  color: #8d6959 !important;
  font-family: var(--font-ui, Nunito, Montserrat, sans-serif) !important;
  line-height: 1.55 !important;
  transition: color .3s ease !important
}

.contacts-visual-panel,
.doctor-block-card-photo,
.doctors-group-photo,
.lead-magnet-photo,
.lead-popup-photo,
.sp-card-img,
.why-choose-family-photo,
.works-hero:not(.promo-hero) .works-hero-content,
.works-hero:not(.promo-hero) .works-hero-photo,
body.inner-page .doctor-profile-section {
  isolation: isolate !important;
  isolation: isolate !important
}

html.motion-ready [data-scroll-reveal],
html.works-reviews-motion body.inner-page [data-works-review-reveal] {
  transition: opacity 920ms cubic-bezier(.22, 1, .36, 1), transform 920ms cubic-bezier(.22, 1, .36, 1) !important;
  will-change: transform, opacity
}

body,
html {
  overflow-x: visible !important;
  overflow-y: visible !important
}

@supports (overflow-x:clip) {

  body,
  html {
    overflow-x: clip !important
  }
}

.navbar,
.navbar.sticky-top {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  height: auto !important;
  min-height: 64px !important;
  padding: 4px 30px !important;
  background: var(--s-bg, #fcfaf7) !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  transition: background-color .8s cubic-bezier(.16, 1, .3, 1), backdrop-filter .8s cubic-bezier(.16, 1, .3, 1), box-shadow .8s cubic-bezier(.16, 1, .3, 1) !important
}

.navbar.header-scrolled {
  background: rgba(252, 250, 247, .94) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 10px 40px rgba(142, 152, 103, .08) !important
}

.navbar::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 0.3px !important;
  /* Еще тоньше */
  background: rgba(142, 152, 103, .25) !important;
  /* Еще светлее */
  opacity: 0 !important;
  transform: none !important;
  transition: opacity .6s cubic-bezier(.16, 1, .3, 1) !important;

  display: block !important;
  box-shadow: none !important;
  /* Убираем тень совсем для максимальной тонкости */
}

.navbar.header-scrolled::after {
  opacity: 1 !important;
}

/* --- Страховка для видимости блоков с анимацией --- */
/* Если через 3 секунды после загрузки класс motion-ready не появился, 
   показываем все блоки принудительно. */
[data-motion]:not(.motion-in) {
  opacity: 0;
  will-change: opacity, transform;
}

html.is-loaded:not(.motion-ready) [data-motion]:not(.motion-in) {
  /* Плавное проявление как фоллбек, если JS затупил */
  animation: motion-fallback 0.5s ease 10s forwards;
}

@keyframes motion-fallback {
  to {
    opacity: 1;
    transform: none;
  }
}

.navbar>.container {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  width: min(100%, 1280px) !important;
  min-height: 58px !important;
  gap: 0 !important;
  padding: 0 !important;
  background: 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important
}

.mobile-menu-header img,
.navbar .container>a:first-child img {
  width: auto !important;
  height: 73px !important;
  max-height: 73px !important;
  object-fit: contain !important;
}

.lead-popup-photo img,
.works-hero:not(.promo-hero) .works-hero-photo img,
body.inner-page .checkup-card-photo img,
body.inner-page .doctor-photo-wrapper img {
  object-fit: cover !important;
  object-fit: cover !important
}

.reviews-fit-carousel .reviews-scroll-wrapper {
  position: relative !important;
  display: flex !important;
  align-items: start !important;
  justify-content: center !important;
  gap: clamp(18px, 2.4vw, 28px) !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: visible !important
}

.reviews-fit-carousel .reviews-scroll-btn {
  position: absolute !important;
  top: 50% !important;
  z-index: 2 !important;
  display: inline-flex !important;
  transform: translate3d(0, -50%, 0) !important
}

.reviews-fit-carousel .reviews-scroll-prev {
  left: 0 !important
}

.reviews-fit-carousel .reviews-scroll-next {
  right: 0 !important
}

.reviews-fit-carousel .reviews-scroll-track {
  --review-card-width: 340px;
  display: flex !important;
  flex: 0 1 auto !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: clamp(18px, 2.4vw, 28px) !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
  /* scroll-behavior: smooth !important; -- Removed to fix Lenis stuttering */
  scroll-snap-type: x mandatory !important;
  scroll-padding-left: 0 !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  -webkit-overflow-scrolling: touch !important
}

.reviews-fit-carousel .reviews-scroll-track::-webkit-scrollbar {
  display: none !important
}

.reviews-fit-carousel .review-scroll-card {
  width: var(--review-card-width) !important;
  min-width: var(--review-card-width) !important;
  max-width: var(--review-card-width) !important;
  height: 420px !important;
  flex: 0 0 var(--review-card-width) !important;
  align-self: stretch !important;
  scroll-snap-align: start !important;
  scroll-snap-stop: always !important
}

.modal-box,
html.home-page .why-choose-card {
  flex-direction: column !important;
  box-sizing: border-box !important
}

.reviews-fit-carousel .review-scroll-card:focus-within,
.reviews-fit-carousel .review-scroll-card:hover {
  transform: none !important
}

.why-choose-card,
.why-choose-card:focus-within,
.why-choose-card:hover {
  border: 0 !important;
  outline: 0 !important
}

html.home-page .why-choose-right {
  display: grid !important;
  gap: clamp(12px, 1.8vw, 18px) !important;
  align-content: start !important
}

html.home-page .why-choose-card {
  display: flex !important;
  justify-content: flex-start !important;
  min-height: 160px !important;
  padding: clamp(18px, 2vw, 24px) clamp(18px, 2vw, 26px) !important
}

html.home-page .why-card-title {
  min-height: 0 !important;
  margin-bottom: 8px !important;
  text-wrap: balance !important
}

html.home-page .why-card-desc {
  margin-top: 0 !important
}

.contacts-block-info,
.contacts-block-info::after,
.contacts-block-info::before,
.contacts-info-item,
.contacts-info-item::after,
.contacts-info-item::before,
.contacts-social-links a,
.contacts-social-row,
.contacts-social-row::after,
.contacts-social-row::before,
.contacts-toggle-container,
.contacts-visual-container,
.lead-magnet-content::after,
.lead-magnet-content::before,
.lead-magnet-inner::after,
.lead-magnet-inner::before,
.lead-magnet-photo::after,
.lead-magnet-photo::before,
.lead-magnet-section::after,
.lead-magnet-section::before,
.why-choose-card::after,
.why-choose-card::before {
  border: 0 !important;
  box-shadow: none !important
}

.lead-magnet-content,
.lead-magnet-inner,
.lead-magnet-photo,
.lead-magnet-section {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important
}

.lead-magnet-inner {
  display: grid !important;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr) !important;
  align-items: center !important;
  gap: clamp(24px, 3vw, 44px) !important;
  padding: clamp(22px, 2.4vw, 34px) !important
}

.lead-magnet-photo {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  aspect-ratio: 16/9 !important;
  border-radius: 6%/9% !important;
  border: 0 !important;
  box-shadow: none !important;
  contain: paint !important;
  min-height: clamp(390px, 46vw, 590px) !important;
  justify-self: stretch !important
}

.why-choose-family-photo {
  border-radius: 7% !important
}

.doctors-group-photo {
  border-radius: 4%/7% !important
}

.doctor-block-card-photo {
  border-radius: 8% !important
}

.contacts-visual-panel img,
.doctor-block-card-photo img,
.doctors-group-photo img,
.sp-card-img img,
.why-choose-family-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: inherit !important;
  clip-path: none !important;
  mask-image: none !important;
  -webkit-mask-image: none !important
}

@media (min-width:2560px) {
  .reviews-fit-carousel .reviews-scroll-track {
    --review-card-width: 420px
  }
}

@media (max-width:909.98px) {
  .reviews-fit-carousel .reviews-scroll-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    justify-content: center !important;
    justify-items: center !important;
    align-items: center !important;
    column-gap: 14px !important;
    row-gap: 16px !important
  }

  .reviews-fit-carousel .reviews-scroll-track {
    grid-column: 1/-1 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    min-width: 0 !important;
    width: calc(100vw - 96px) !important;
    max-width: calc(100vw - 96px) !important
  }

  .reviews-fit-carousel .reviews-scroll-btn {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    grid-row: 2 !important;
    transform: none !important
  }

  .reviews-fit-carousel .reviews-scroll-prev {
    grid-column: 1 !important;
    justify-self: end !important
  }

  .reviews-fit-carousel .reviews-scroll-next {
    grid-column: 2 !important;
    justify-self: start !important
  }
}

@media (min-width:575px) and (max-width:900px) {
  .services-premium-grid-unique .service-premium-card {
    display: flex !important;
    flex-direction: column !important
  }

  .services-premium-grid-unique .sp-card-body {
    display: flex !important;
    flex-direction: column !important;
    min-height: clamp(156px, 20vw, 190px) !important;
    padding-top: clamp(20px, 2.5vw, 24px) !important;
    padding-bottom: clamp(22px, 2.8vw, 28px) !important
  }

  .services-premium-grid-unique .service-premium-card:nth-child(4) .sp-card-body h5,
  .services-premium-grid-unique .sp-card-body h5 {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    min-height: 4.25rem !important;
    margin-bottom: 14px !important
  }

  .services-premium-grid-unique .sp-card-tags {
    margin-top: 0 !important
  }
}

@media (max-width:575.98px) {
  .lead-magnet-section .lead-magnet-inner {
    padding: 22px !important
  }

  .lead-magnet-section .lead-magnet-content {
    width: 100% !important;
    min-width: 0 !important
  }

  .lead-magnet-section .btn-lead-magnet,
  .lead-magnet-section .serenity-roll-button {
    width: min(310px, calc(100vw - 80px)) !important;
    max-width: calc(100vw - 80px) !important;
    height: auto !important;
    min-height: 48px !important;
    justify-content: center !important;
    align-self: center !important;
    flex-wrap: wrap !important;
    padding: 12px 16px !important;
    white-space: normal !important;
    overflow: visible !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    text-align: center !important;
    line-height: 1.25 !important;
    font-size: 16px !important
  }

  .lead-magnet-section .lead-magnet-photo {
    width: 100% !important;
    max-width: none !important;
    justify-self: stretch !important
  }

  .lead-magnet-section .serenity-roll-char,
  .lead-magnet-section .serenity-roll-stack,
  .lead-magnet-section .serenity-roll-text {
    display: inline !important;
    height: auto !important;
    overflow: visible !important;
    white-space: normal !important;
    text-shadow: none !important;
    transform: none !important;
    transition: none !important
  }
}

.review-scroll-top h5,
.reviews-fit-carousel .review-scroll-top h5 {
  font-family: var(--font-display, Georgia, serif) !important;
  font-weight: 700 !important;
  letter-spacing: .4px !important;
  margin-bottom: 7px !important;
  font-stretch: normal !important
}

.risk-tail,
.risk-word {
  display: inline
}

@media (max-width:480px) {
  .hero-static {
    padding-top: 0 !important
  }

  .hero-static-inner {
    padding-top: 12px !important
  }

  .hero-static-text {
    padding-top: 18px !important
  }
}

@media (max-width:560px) {

  .btn-lead-magnet,
  .btn-services-all,
  .contacts-block-info .btn-lead-magnet,
  .doctor-block-edu-btn,
  .lead-magnet-content .btn-lead-magnet,
  .lead-magnet-section .btn-lead-magnet,
  .mobile-menu-booking,
  .serenity-roll-button {
    height: auto !important;
    min-height: 48px !important;
    max-width: 100% !important;
    padding: 12px 16px !important;
    white-space: normal !important;
    overflow: visible !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: normal !important;
    hyphens: none !important;
    text-align: center !important;
    line-height: 1.25 !important;
    font-size: 16px !important
  }

  .doctor-block-edu-btn {
    flex-wrap: wrap !important;
    gap: 8px !important
  }

  .doctor-block-edu-btn svg {
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px !important
  }

  .serenity-roll-button {
    overflow: visible !important
  }

  .serenity-roll-char,
  .serenity-roll-stack,
  .serenity-roll-text,
  .services-premium-header .btn-services-all .serenity-roll-char,
  .services-premium-header .btn-services-all .serenity-roll-stack,
  .services-premium-header .btn-services-all .serenity-roll-text {
    display: inline !important;
    height: auto !important;
    overflow: visible !important;
    white-space: normal !important;
    text-shadow: none !important;
    transform: none !important;
    transition: none !important
  }

  .reviews-fit-carousel .reviews-scroll-wrapper {
    padding-inline: 0 !important
  }

  .reviews-fit-carousel .reviews-scroll-track {
    --review-card-width: 320px
  }

  .reviews-fit-carousel .review-scroll-card {
    height: auto !important;
    min-height: 360px !important
  }

  .lead-magnet-content {
    order: 1 !important
  }

  .lead-magnet-inner {
    gap: clamp(18px, 2.5vw, 28px) !important
  }

  .doctor-block-edu-btn svg,
  .lead-magnet-title .risk-word,
  .services-premium-bottom .btn-services-all-secondary.serenity-roll-button .serenity-roll-char,
  .services-premium-bottom .btn-services-all-secondary.serenity-roll-button .serenity-roll-stack,
  .services-premium-bottom .btn-services-all-secondary.serenity-roll-button .serenity-roll-text,
  html.home-page .lead-magnet-section .btn-lead-magnet.serenity-roll-button .serenity-roll-char,
  html.home-page .lead-magnet-section .btn-lead-magnet.serenity-roll-button .serenity-roll-stack,
  html.home-page .lead-magnet-section .btn-lead-magnet.serenity-roll-button .serenity-roll-text {
    display: none !important
  }

  .lead-magnet-title .risk-tail::before {
    content: attr(data-mobile-word)
  }

  .doctors-block-section .container {
    padding-inline: 12px !important
  }

  .doctors-block-grid {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-left: 50% !important;
    transform: translateX(-50%) !important;
    justify-content: center !important
  }

  .doctor-block-card-link,
  .doctors-block-section .doctors-block-grid>.doctor-block-card-link {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important
  }

  .doctor-block-card,
  .doctors-block-section .doctors-block-grid>.doctor-block-card-link .doctor-block-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important
  }

  .doctor-block-card-info {
    padding: 12px 10px 14px !important;
    gap: 7px !important
  }

  .doctor-block-edu-btn {
    min-height: 38px !important;
    height: auto !important;
    padding: 9px 10px !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    flex-wrap: nowrap !important;
    gap: 0 !important
  }

  .services-premium-bottom .btn-services-all-secondary,
  .services-premium-bottom .btn-services-all-secondary.serenity-roll-button,
  .services-premium-header .btn-services-all {
    width: min(100%, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    height: auto !important;
    min-height: 48px !important;
    white-space: normal !important;
    overflow: visible !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: normal !important;
    hyphens: none !important;
    line-height: 1.25 !important;
    font-size: 16px !important;
    padding: 12px 16px !important;
    text-align: center !important
  }

  .services-premium-bottom .btn-services-all-secondary.serenity-roll-button::before {
    content: attr(aria-label);
    display: block;
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: normal !important;
    hyphens: none !important;
    line-height: 1.25 !important;
    text-align: center !important
  }

  .lead-magnet-section .container {
    padding-left: 0 !important;
    padding-right: 0 !important
  }

  .lead-magnet-section .lead-magnet-inner {
    padding: 0 !important;
    gap: 0 !important;
    background: 0 0 !important;
    border: 0 !important
  }

  .lead-magnet-section .lead-magnet-content {
    padding: 22px 20px !important;
    order: 1 !important
  }

  .lead-magnet-section .lead-magnet-photo img {
    border-radius: 0 !important
  }

  html.home-page .lead-magnet-section .btn-lead-magnet,
  html.home-page .lead-magnet-section .btn-lead-magnet.serenity-roll-button {
    display: flex !important;
    width: min(100%, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    height: auto !important;
    min-height: 48px !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    padding: 12px 16px !important;
    overflow: visible !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    text-align: center !important;
    line-height: 1.25 !important;
    font-size: 16px !important
  }

  html.home-page .lead-magnet-section .btn-lead-magnet.serenity-roll-button::before {
    content: attr(aria-label);
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    color: currentColor !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    line-height: 1.25 !important;
    text-align: center !important
  }
}

.contact-copy,
.contacts-info-item {
  overflow: visible !important
}

.contact-copy a {
  white-space: nowrap !important;
  overflow-wrap: break-word !important;
  word-break: normal !important
}

.services-premium-grid-unique .service-premium-card:nth-child(4) .sp-card-body h5 {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto 10px !important;
  white-space: normal !important;
  font-size: clamp(29px, 2.5vw, 36px) !important;
  line-height: 1.4 !important;
  font-family: var(--font-display) !important;
  font-weight: 400 !important;
  letter-spacing: -1px !important;
  color: var(--s-text) !important;
  text-align: center !important
}

.btn-services-all,
.serenity-roll-button {
  word-break: normal !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  hyphens: none !important
}

@media (max-width:445px) {

  .btn-services-all .consult-break,
  .serenity-roll-button .consult-break,
  .services-premium-header .btn-services-all .consult-break {
    display: block !important
  }

  .services-premium-header .btn-services-all {
    height: auto !important;
    min-height: 48px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    line-height: 1.25 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important
  }

  html body .btn-services-all .consult-break,
  html body .serenity-roll-button .consult-break,
  html body .services-premium-header .btn-services-all .consult-break {
    display: block !important;
    width: 100% !important
  }
}

.lead-magnet-title .risk-complications {
  display: block !important;
  white-space: nowrap !important
}

.lead-magnet-section {
  padding-bottom: 30px !important
}

.doctors-block-section {
  padding-top: 30px !important
}

@media (max-width:2560px) {

  body .lead-magnet-section,
  html body .lead-magnet-section {
    padding-bottom: 30px !important
  }

  body .doctors-block-section,
  html body .doctors-block-section {
    padding-top: 30px !important
  }
}

@media (max-width:768px) {

  .lead-magnet-photo,
  .lead-magnet-section .lead-magnet-photo {
    border-radius: 32px !important;
    overflow: hidden !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
    mask-image: radial-gradient(white, black) !important;
    clip-path: inset(0 round 32px) !important;
    display: block !important;
    min-height: 0 !important;
    flex: none !important
  }

  .lead-magnet-photo img,
  .lead-magnet-section .lead-magnet-photo img,
  html body .lead-magnet-photo img,
  html body .lead-magnet-section .lead-magnet-photo img {
    border-radius: 32px !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important
  }

  html body .lead-magnet-photo,
  html body .lead-magnet-section .lead-magnet-photo {
    border-radius: 32px !important;
    overflow: hidden !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
    mask-image: radial-gradient(white, black) !important;
    clip-path: inset(0 round 32px) !important
  }

  body .lead-magnet-section,
  html body .lead-magnet-section {
    padding-bottom: 30px !important
  }

  body .doctors-block-section,
  html body .doctors-block-section {
    padding-top: 30px !important
  }
}

@media (min-width: 1441px) {
  .contacts-social-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    margin-top: 20px !important;
    margin-left: 0 !important;
    margin-right: 0 !important
  }

  .contacts-social-row h5 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center !important;
    width: 100% !important
  }

  .contacts-social-links {
    justify-content: center !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important
  }
}

@media (min-width:1128px) and (max-width:1440px) {
  .contacts-block-grid {
    display: flex !important;
    flex-direction: column !important
  }

  .contacts-block-info {
    order: 2 !important
  }

  .contacts-block-visual {
    order: 1 !important
  }
}

.contacts-info-item {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  margin-left: -15px !important
}

.contacts-info-item .contact-icon {
  flex: 0 0 auto !important;
  align-self: flex-start !important;
  margin-top: 0 !important
}

.contacts-info-item .contact-copy {
  flex: 1 1 auto !important;
  text-align: left !important
}

.cookie-banner {
  left: 50% !important;
  right: auto !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: 720px !important;
  transform: translate3d(-50%, 0, 100px) !important;
  will-change: transform !important;
  border-radius: 14px 14px 0 0 !important;
  box-shadow: 0 -2px 16px rgba(0, 0, 0, .18) !important;
  z-index: 1000000 !important
}

.cookie-banner .cookie-inner {
  justify-content: center !important;
  text-align: center !important
}

.cookie-banner .cookie-text {
  text-align: center !important;
  flex: none !important;
  max-width: 600px !important
}

.cookie-banner .cookie-btns,
html.home-page .doctors-block-header-left {
  justify-content: center !important
}

.cookie-banner .cookie-accept {
  background: #8e9867 !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  transition: .3s !important
}

.cookie-banner .cookie-accept:hover {
  background: #e1937d !important;
  color: #fff !important;
  transform: translate3d(0, -2px, 0) !important;
  border: 0 !important
}

.cookie-banner .cookie-decline {
  transition: background .35s, transform .25s !important
}

.cookie-banner .cookie-decline:hover {
  background: rgba(255, 255, 255, .08) !important;
  transform: translateY(-2px) !important
}

@media (max-width:600px) {
  .cookie-banner {
    left: 0 !important;
    right: 0 !important;
    max-width: none !important;
    transform: translate3d(0, 0, 100px) !important;
    will-change: transform !important;
    border-radius: 0 !important;
    z-index: 1000000 !important
  }
}

.reviews-fit-carousel .review-scroll-card,
.reviews-fit-carousel .reviews-scroll-track {
  transition: none !important
}

html.index-motion-boot,
html.motion-ready {
  --index-reveal-y: 58px;
  --index-reveal-soft-y: 48px;
  --index-reveal-x: 64px;
  --index-reveal-scale-y: 58px;
  --index-reveal-card-y: 56px;
  --index-review-card-y: 46px
}

@media (max-width:1199.98px) {

  html.index-motion-boot,
  html.motion-ready {
    --index-reveal-y: 52px;
    --index-reveal-soft-y: 42px;
    --index-reveal-x: 48px;
    --index-reveal-scale-y: 52px;
    --index-reveal-card-y: 48px;
    --index-review-card-y: 40px
  }
}

@media (max-width:767.98px) {

  html.index-motion-boot,
  html.motion-ready {
    --index-reveal-y: 42px;
    --index-reveal-soft-y: 36px;
    --index-reveal-x: 34px;
    --index-reveal-scale-y: 42px;
    --index-reveal-card-y: 40px;
    --index-review-card-y: 34px
  }
}

@media (max-width:479.98px) {

  html.index-motion-boot,
  html.motion-ready {
    --index-reveal-y: 36px;
    --index-reveal-soft-y: 30px;
    --index-reveal-x: 24px;
    --index-reveal-scale-y: 36px;
    --index-reveal-card-y: 34px;
    --index-review-card-y: 30px
  }
}

html.index-motion-boot:not(.motion-ready) .contacts-block-section,
html.index-motion-boot:not(.motion-ready) .cta-form-section,
html.index-motion-boot:not(.motion-ready) .doctors-block-section,
html.index-motion-boot:not(.motion-ready) .faq-section,
html.index-motion-boot:not(.motion-ready) .footer,
html.index-motion-boot:not(.motion-ready) .hero-static,
html.index-motion-boot:not(.motion-ready) .lead-magnet-section,
html.index-motion-boot:not(.motion-ready) .reviews-scroll-section,
html.index-motion-boot:not(.motion-ready) .services-premium-section,
html.index-motion-boot:not(.motion-ready) .why-choose-section {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  transition: none !important;
  will-change: auto
}

html.index-motion-boot:not(.motion-ready) .hero-static,
html.motion-ready [data-scroll-style=soft-rise],
html.motion-ready body [data-scroll-style=soft-rise]:not(.is-visible) {
  transform: translate3d(0, var(--index-reveal-soft-y), 0) !important
}

html.motion-ready [data-scroll-reveal],
html.motion-ready body [data-scroll-reveal]:not(.is-visible) {
  opacity: 0 !important;
  transform: translate3d(0, var(--index-reveal-y), 0) !important;
  filter: none !important
}

html.motion-ready [data-scroll-reveal] {
  transform-origin: center center;
  transition-delay: var(--scroll-delay, 0ms) !important;
  backface-visibility: hidden
}

html.motion-ready [data-scroll-style=section-shell],
html.motion-ready body [data-scroll-style=section-shell]:not(.is-visible),
html.works-reviews-motion body.inner-page [data-works-review-style=section-shell] {
  transform: none !important
}

html.motion-ready [data-scroll-style=from-left],
html.motion-ready body [data-scroll-style=from-left]:not(.is-visible) {
  transform: translate3d(calc(var(--index-reveal-x) * -1), 0, 0) !important
}

html.motion-ready [data-scroll-style=from-right],
html.motion-ready body [data-scroll-style=from-right]:not(.is-visible) {
  transform: translate3d(var(--index-reveal-x), 0, 0) !important
}

html.motion-ready [data-scroll-style=scale-rise],
html.motion-ready body [data-scroll-style=scale-rise]:not(.is-visible) {
  transform: translate3d(0, var(--index-reveal-scale-y), 0) scale(.94) !important
}

html.motion-ready [data-scroll-style=tilt-card],
html.motion-ready body [data-scroll-style=tilt-card]:not(.is-visible) {
  transform: perspective(1200px) translate3d(0, var(--index-reveal-card-y), 0) rotateX(5deg) rotateZ(-1deg) scale(.965) !important
}

html.motion-ready [data-scroll-reveal].is-visible {
  opacity: 1 !important;
  filter: none !important;
  transform: translate3d(0, 0, 0) scale(1) rotateX(0) rotateZ(0) !important;
  will-change: auto
}

html.motion-ready .hero-static[data-scroll-reveal].is-visible,
html.motion-ready .hero-static[data-scroll-reveal].is-visible .hero-side-content,
html.motion-ready .hero-static[data-scroll-reveal].is-visible .hero-static-bg,
html.motion-ready .hero-static[data-scroll-reveal].is-visible .hero-static-text,
html.motion-ready .hero-static[data-scroll-reveal].is-visible .hero-static-text h1,
html.motion-ready .hero-static[data-scroll-reveal].is-visible .hero-static-text h1 span,
html.motion-ready .hero-static[data-scroll-reveal].is-visible .hero-static-text>* {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important
}

html.motion-ready .reviews-scroll-track[data-scroll-reveal] {
  transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1) !important
}

html.motion-ready .reviews-scroll-track[data-scroll-reveal] .review-scroll-card {
  opacity: 0 !important;
  filter: none !important;
  transform: perspective(1200px) translate3d(0, var(--index-review-card-y), 0) rotateX(4deg) scale(.97) !important;
  transition: opacity 860ms cubic-bezier(.22, 1, .36, 1), transform 860ms cubic-bezier(.22, 1, .36, 1) !important;
  transition-delay: var(--scroll-delay, 0ms) !important;
  will-change: transform, opacity
}

html.motion-ready .reviews-scroll-track[data-scroll-reveal].is-visible .review-scroll-card {
  opacity: 1 !important;
  filter: none !important;
  transform: translate3d(0, 0, 0) scale(1) rotateX(0) !important;
  will-change: auto
}

html.motion-ready .doctor-block-card-link[data-scroll-reveal].is-visible:hover .doctor-block-card,
html.motion-ready .service-premium-card[data-scroll-reveal].is-visible:hover {
  transform: translate3d(0, -6px, 0) !important
}

html.motion-ready .service-premium-card.sp-card-reveal,
html.motion-ready .why-choose-card.why-card-reveal,
html.motion-ready .why-left-reveal,
html.motion-ready [data-aos],
html.motion-ready [data-reveal-left],
html.motion-ready [data-reveal-right],
html.motion-ready section[data-reveal] {
  opacity: 1 !important;
  transform: none !important
}

.faq-item:not([data-scroll-reveal]):active,
.mobile-menu.active,
html.motion-ready .faq-item[data-scroll-reveal].is-visible:active {
  transform: translate3d(0, 0, 0) !important
}

.mobile-menu-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 3998 !important;
  transform: none !important
}

.mobile-menu {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  z-index: 3999 !important;
  transform: translate3d(100%, 0, 0) !important;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1) !important;
  will-change: transform !important;
  contain: layout paint
}

.mobile-menu-btn {
  position: relative !important;
  z-index: 4000 !important;
  transform: none !important
}

@media (min-width:992px) {

  .navbar-collapse,
  .navbar-nav,
  .navbar-nav.mx-auto {
    display: flex !important;
    margin-left: auto !important;
    margin-right: auto !important
  }

  .navbar-collapse {
    order: 2 !important;
    flex: 0 1 auto !important;
    flex-basis: auto !important;
    align-items: center !important;
    justify-content: initial !important
  }

  .navbar-nav,
  .navbar-nav.mx-auto {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 30px !important
  }

  .navbar .container>a:first-child {
    order: 1 !important;
    flex: 0 0 auto !important
  }

  .mobile-menu-btn {
    display: none !important
  }

  .doctors-block-header {
    grid-template-columns: minmax(280px, 0.72fr) minmax(620px, 1.28fr) !important;
    gap: clamp(42px, 5vw, 78px) !important
  }

  .doctors-block-header-left {
    justify-content: flex-start !important;
    margin-left: clamp(-54px, -3vw, -24px) !important
  }

  .doctors-block-header-left h2 {
    text-align: left !important
  }

  .doctors-block-header-left h2 br {
    display: block !important
  }

  .doctors-block-header-right {
    justify-content: flex-end !important;
    padding-right: 0 !important;
    margin-right: clamp(-64px, -3vw, -28px) !important;
    position: relative !important;
    left: clamp(36px, 4vw, 76px) !important
  }

  .doctors-block-badge {
    width: auto !important;
    max-width: none !important;
    margin-left: auto !important;
    white-space: nowrap !important;
    font-size: clamp(14px, 1.02vw, 16px) !important;
    line-height: 1.2 !important
  }
}

@media (min-width:990px) and (max-width:1220px) {

  .doctors-block-section,
  .doctors-block-section .container {
    overflow-x: clip !important
  }

  .doctors-block-header {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.86fr) !important;
    gap: clamp(20px, 3vw, 36px) !important;
    align-items: center !important;
    max-width: 100% !important
  }

  .doctors-block-header-left,
  .doctors-block-header-right {
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    left: auto !important;
    right: auto !important
  }

  .doctors-block-header-left {
    justify-content: flex-start !important
  }

  .doctors-block-header-left h2 {
    max-width: 100% !important;
    font-size: clamp(37px, 3.9vw, 48px) !important;
    line-height: 1.08 !important;
    text-align: left !important;
    text-wrap: balance !important
  }

  .doctors-block-header-left h2 span {
    white-space: nowrap !important
  }

  .doctors-block-header-left h2 br {
    display: block !important
  }

  .doctors-block-header-right {
    justify-content: flex-end !important;
    padding-right: 0 !important
  }

  .doctors-block-badge {
    max-width: min(100%, 460px) !important;
    margin-left: auto !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    text-wrap: balance !important;
    font-size: clamp(13px, 1.2vw, 15px) !important;
    line-height: 1.24 !important
  }
}

.faq-item:not([data-scroll-reveal]),
html.motion-ready .faq-item[data-scroll-reveal].is-visible {
  transform: translate3d(0, 0, 0) !important;
  transition: background-color .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s cubic-bezier(.22, 1, .36, 1) !important;
  will-change: auto
}

.faq-item:not([data-scroll-reveal]):focus-within,
.faq-item:not([data-scroll-reveal]):hover,
html.motion-ready .faq-item[data-scroll-reveal].is-visible:focus-within,
html.motion-ready .faq-item[data-scroll-reveal].is-visible:hover {
  transform: translate3d(0, 0, 0) !important
}

.modal-consent-check {
  align-items: flex-start !important;
  gap: 8px !important
}

.modal-consent-check input {
  flex: 0 0 auto !important;
  margin-top: .18em !important
}

.modal-consent-check,
.modal-consent-intro {
  white-space: nowrap !important
}

@media (max-width:465px) {

  .modal-consent-text,
  .modal-consent-text a {
    overflow-wrap: normal !important;
    word-break: normal !important
  }

  .modal-consent-check {
    font-size: 13px !important;
    gap: 7px !important
  }

  .modal-consent-text {
    display: block !important
  }

  .modal-consent-intro {
    display: inline-block !important;
    white-space: nowrap !important
  }
}

#bookingForm,
.modal-box {
  display: flex !important;
  width: 100% !important
}

.modal-box .modal-form-input {
  border: 1px solid rgba(123, 99, 63, .24) !important;
  background: rgba(252, 250, 247, .82) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .58) !important;
  transition: border-color 220ms cubic-bezier(.22, 1, .36, 1), box-shadow 220ms cubic-bezier(.22, 1, .36, 1), background-color 220ms cubic-bezier(.22, 1, .36, 1) !important
}

select.modal-form-input {
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%237B633F' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 24px center !important;
  padding-right: 48px !important
}

.modal-box .modal-form-input:hover {
  border-color: rgba(123, 99, 63, .36) !important
}

.modal-box .modal-form-input:focus,
.modal-box .modal-form-input:focus-visible {
  border-color: rgba(142, 152, 103, .72) !important;
  background: rgba(252, 250, 247, .96) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .62), 0 0 0 3px rgba(142, 152, 103, .12) !important
}

.modal-box {
  max-width: 520px !important;
  margin: 16px auto !important
}

#bookingForm {
  flex-direction: column !important
}

.modal-form-group {
  width: 100% !important
}

.modal-form-input,
.modal-submit-btn {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  display: block !important
}

.modal-consent-check {
  position: relative !important;
  padding-left: 28px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin-top: 15px !important;
  cursor: pointer;
  text-align: left !important
}

.modal-consent-check input[type=checkbox] {
  position: absolute !important;
  left: 0 !important;
  top: 3px !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  cursor: pointer;
  accent-color: #90976D
}

.modal-consent-check,
.modal-consent-check * {
  font-family: Inter, sans-serif !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: #5c4033 !important;
  display: inline !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important
}

.modal-consent-check a {
  color: #7b633f !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
  word-wrap: break-word !important
}

@media (max-width:767px) {

  .modal-box,
  .modal-form-row,
  .modal-form-row .modal-form-group,
  .modal-submit-btn {
    width: 100% !important
  }

  .modal-overlay {
    padding: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important
  }

  .modal-box {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 24px 16px !important;
    border-radius: 20px !important;
    max-height: 94vh !important;
    overflow-y: auto !important
  }

  .modal-form-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important
  }

  .modal-submit-btn {
    margin-top: 10px !important
  }

  .modal-consent-check {
    font-size: 12px !important;
    gap: 8px !important
  }

  html:not(.index-motion-boot) body {
    padding-top: 0 !important
  }

  html:not(.index-motion-boot) body .promo-hero:first-of-type,
  html:not(.index-motion-boot) body .section:first-of-type,
  html:not(.index-motion-boot) body .services-list-section:first-of-type,
  html:not(.index-motion-boot) body .therapy-prices:first-of-type,
  html:not(.index-motion-boot) body>.mobile-menu+script+section,
  html:not(.index-motion-boot) body>script+section,
  html:not(.index-motion-boot) body>section:first-of-type {
    margin-top: 0 !important;
    padding-top: 0 !important
  }
}

@media (max-width:380px) {
  .modal-box {
    padding: 20px 12px !important
  }
}

.contacts-visual-panel,
.doctor-block-card-photo,
.doctors-group-photo,
.lead-magnet-photo,
.lead-popup-photo,
.sp-card-img,
.why-choose-family-photo {
  contain: paint !important
}

.contacts-visual-panel img,
.doctor-block-card-photo img,
.doctors-group-photo img,
.lead-magnet-photo img,
.lead-popup-photo img,
.sp-card-img img,
.why-choose-family-photo img {
  display: block !important;
  max-width: 100% !important;
  height: auto;
  backface-visibility: hidden !important;
  transform: translateZ(0);
  will-change: auto !important
}

.lead-popup-card {
  width: min(94vw, 980px) !important;
  max-height: min(88vh, 720px) !important;
  overflow: hidden !important;
  border-radius: 32px !important;
}

.lead-popup-subtitle,
.lead-popup-title {
  overflow-wrap: normal !important;
  word-break: normal !important
}

.lead-popup-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr) !important;
  align-items: stretch !important;
  gap: 0 !important
}

.lead-popup-content {
  width: auto !important;
  max-width: none !important;
  padding: clamp(28px, 4vw, 52px) !important
}

.lead-popup-title {
  max-width: min(100%, 22ch) !important;
  font-size: clamp(28px, 3.2vw, 48px) !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
  text-wrap: pretty !important
}

.works-gallery-title,
.works-hero:not(.promo-hero) .works-hero-content h1 {
  font-family: var(--font-display, Castoro, serif) !important;
  font-weight: 400 !important;
  letter-spacing: -1.5px !important;
  color: var(--s-text, #0d0503) !important
}

.lead-popup-subtitle {
  max-width: min(100%, 52ch) !important;
  font-size: clamp(14px, 1.25vw, 17px) !important;
  line-height: 1.55 !important;
  text-wrap: pretty !important
}

.lead-popup-photo {
  width: auto !important;
  min-height: clamp(340px, 46vw, 560px) !important;
  height: auto !important
}

.lead-popup-photo img {
  width: 100% !important;
  height: 100% !important;
  min-height: inherit !important;
  object-fit: cover !important;
  object-position: center 26% !important
}
@media (max-width:760px) {
  .lead-popup-card {
    width: min(94vw, 520px) !important;
    max-height: 90vh !important;
    overflow-y: auto !important
  }

  .lead-popup-inner {
    grid-template-columns: 1fr !important
  }

  .lead-popup-content {
    order: 1 !important;
    padding: clamp(24px, 7vw, 34px) !important
  }

  .lead-popup-photo {
    order: -1 !important;
    width: 100% !important;
    height: 240px !important;
    min-height: 0 !important;
    margin: 0 0 12px 0 !important;
    border-radius: 32px 32px 0 0 !important;
    overflow: hidden !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
    mask-image: radial-gradient(white, black) !important;
    clip-path: inset(0 round 32px 32px 0 0) !important;
    display: block !important;
  }

  .lead-popup-title {
    max-width: 100% !important;
    font-size: clamp(25px, 8vw, 34px) !important;
    line-height: 1.06 !important
  }

  .lead-popup-subtitle {
    max-width: 100% !important;
    font-size: 14px !important;
    line-height: 1.48 !important
  }
}

@media (max-width:390px) {
  .lead-popup-card {
    width: 94vw !important
  }

  .lead-popup-content {
    padding: 22px 18px !important
  }

  .lead-popup-title {
    max-width: 100% !important;
    font-size: 24px !important
  }
}

.works-hero:not(.promo-hero) {
  padding: clamp(72px, 7vw, 92px) 0 clamp(48px, 6vw, 78px) !important;
  margin-top: 0 !important;
  background: var(--s-bg, #fcfaf7) !important;
  overflow: hidden !important
}

.works-hero:not(.promo-hero) .container {
  max-width: min(1280px, calc(100vw - 48px)) !important
}

.works-hero:not(.promo-hero) .works-hero-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr) !important;
  gap: clamp(20px, 3.8vw, 56px) !important;
  align-items: stretch !important
}

.works-hero:not(.promo-hero) .works-hero-content {
  min-height: auto !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: clamp(16px, 2vw, 24px) !important;
  padding: clamp(24px, 3.5vw, 40px) !important;
  border: none !important;
  border-radius: var(--s-radius-image, 32px) !important;
  background: var(--s-card, #f8f3ec) !important;
  color: var(--s-text, #0d0503) !important;
  box-shadow: none !important
}

.works-hero:not(.promo-hero) .works-hero-content h1 {
  max-width: 9.8ch !important;
  margin: 0 !important;
  font-size: clamp(42px, 5vw, 64px) !important;
  line-height: 1.08 !important;
  text-wrap: balance !important
}

.works-hero:not(.promo-hero) .works-hero-content p {
  max-width: 42ch !important;
  margin: 0 !important;
  color: var(--s-muted, #8d6959) !important;
  font-family: var(--font-ui, Nunito, sans-serif) !important;
  font-size: clamp(15px, 1.25vw, 17px) !important;
  line-height: 1.68 !important;
  text-wrap: pretty !important
}

.works-hero:not(.promo-hero) .works-hero-photo {
  position: relative !important;
  min-height: auto !important;
  aspect-ratio: auto !important;
  border: 0 !important;
  border-radius: var(--s-radius-image, 32px) !important;
  background: var(--s-card, #f8f3ec) !important;
  box-shadow: none !important;
  overflow: hidden !important
}

.works-hero:not(.promo-hero) .works-hero-photo::before {
  content: "";
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: radial-gradient(circle at 9px 9px, var(--s-cream, #fcfaf7) 0 8px, transparent 9px), radial-gradient(circle at 35px 9px, var(--s-cream, #fcfaf7) 0 8px, transparent 9px), radial-gradient(circle at 9px 35px, var(--s-cream, #fcfaf7) 0 8px, transparent 9px), radial-gradient(circle at 35px 35px, var(--s-cream, #fcfaf7) 0 8px, transparent 9px);
  z-index: 2
}

.works-hero:not(.promo-hero) .works-hero-photo::after {
  content: "Галерея результатов";
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 16px;
  border-radius: var(--s-radius-pill, 100px);
  background: var(--s-cream, #fcfaf7);
  color: var(--s-muted, #8d6959);
  font-family: var(--font-ui, Nunito, sans-serif) !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2
}

.works-hero:not(.promo-hero) .works-hero-photo img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: inherit !important;
  object-position: center 42% !important;
  transform: none !important;
  transition: transform .7s var(--s-ease, cubic-bezier(.22, 1, .36, 1)) !important
}

.works-hero:not(.promo-hero) .works-hero-photo:hover img {
  transform: scale(1.025) !important
}

.works-gallery-section {
  padding: clamp(58px, 7vw, 92px) 0 clamp(72px, 8vw, 112px) !important;
  background: var(--s-bg, #fcfaf7) !important
}

.works-gallery-section::before {
  background: var(--s-soft-line, rgba(13, 5, 3, .08)) !important
}

.works-gallery-header {
  max-width: 820px !important;
  margin: 0 auto clamp(24px, 3.4vw, 38px) !important;
  text-align: center !important
}

.navbar .btn-hero-primary,
.works-gallery-section .filter-btn,
.works-gallery-subtitle {
  font-family: var(--font-ui, Nunito, sans-serif) !important
}

.works-gallery-subtitle {
  max-width: 48ch !important;
  margin: 0 auto !important;
  color: var(--s-muted, #8d6959) !important;
  text-wrap: pretty !important
}

.works-gallery-section .d-flex.justify-content-center.flex-wrap.gap-2.mb-5 {
  width: fit-content !important;
  max-width: 100% !important;
  margin: 0 auto clamp(34px, 4.6vw, 58px) !important;
  padding: 6px !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 4px !important;
  border: 1px solid var(--s-soft-line, rgba(13, 5, 3, .08)) !important;
  border-radius: var(--s-radius-pill, 100px) !important;
  background: var(--s-card, #f8f3ec) !important;
  box-shadow: var(--s-shadow-subtle, none) !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch
}

.works-gallery-section .d-flex.justify-content-center.flex-wrap.gap-2.mb-5::-webkit-scrollbar {
  display: none
}

.works-gallery-section .filter-btn {
  flex: 0 0 auto !important;
  width: auto !important;
  min-height: 43px !important;
  margin: 0 !important;
  padding: 11px 20px !important;
  border: 0 !important;
  border-radius: var(--s-radius-pill, 100px) !important;
  background: 0 0 !important;
  color: var(--s-muted, #8d6959) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  transform: translate3d(0, 0, 0) !important;
  transition: transform 260ms var(--s-ease, cubic-bezier(.22, 1, .36, 1)), background-color 260ms var(--s-ease, cubic-bezier(.22, 1, .36, 1)), color 260ms var(--s-ease, cubic-bezier(.22, 1, .36, 1)) !important
}

.works-gallery-section .filter-btn:hover {
  background: var(--s-cream, #fcfaf7) !important;
  color: var(--s-text, #0d0503) !important;
  transform: translate3d(0, -1px, 0) !important
}

.works-gallery-section .filter-btn.active,
.works-gallery-section .filter-btn:active {
  background: var(--s-olive, #8e9867) !important;
  color: var(--s-cream, #fcfaf7) !important
}

.works-gallery-section .filter-btn:focus-visible {
  outline: 0 !important;
  box-shadow: 0 0 0 3px rgba(142, 152, 103, .18) !important
}

.works-filter-wrapper {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 0 16px !important
}

.filter-container {
  display: grid !important;
  grid-template-columns: repeat(6, auto) !important;
  justify-content: center !important;
  gap: 12px !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 auto !important
}

.filter-btn {
  white-space: nowrap !important;
  width: 100% !important;
  transition: .3s cubic-bezier(.2, .8, .2, 1) !important;
  border: 1.5px solid rgba(66, 47, 40, .12) !important;
  position: relative;
  overflow: hidden
}

.filter-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .1), transparent);
  transform: translateX(-100%);
  transition: transform .6s
}

.filter-btn:hover::after {
  transform: translateX(100%)
}

.filter-btn.active {
  box-shadow: 0 4px 12px rgba(106, 111, 76, .2) !important;
  transform: scale(1.02) !important
}

.filter-btn:active {
  transform: scale(.96) !important
}

@media (max-width:991px) {

  .navbar,
  .navbar.sticky-top {
    min-height: 58px !important;
    padding: 4px 20px !important
  }

  .navbar>.container {
    justify-content: space-between !important;
    min-height: 50px !important;
    gap: 0 !important
  }

  .mobile-menu-header img,
  .navbar .container>a:first-child img {
    height: 46px !important;
    max-height: 46px !important
  }

  .navbar::after {
    left: 0 !important;
    width: 100% !important
  }

  .lead-magnet-inner {
    grid-template-columns: 1fr !important;
    padding: clamp(22px, 3vw, 30px) !important
  }

  .lead-magnet-photo img {
    border-radius: 32px !important;
    object-fit: cover !important
  }

  .filter-container {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 600px !important
  }

  .filter-btn {
    padding: 10px 12px !important;
    font-size: 14px !important;
    min-height: 46px !important;
    border-radius: 16px !important
  }
}

@media (max-width:576px) {

  body .lead-magnet-section,
  html body .lead-magnet-section {
    padding-bottom: 30px !important
  }

  body .doctors-block-section,
  html body .doctors-block-section {
    padding-top: 30px !important
  }

  .filter-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    max-width: 100% !important
  }

  .filter-btn {
    padding: 12px 10px !important;
    font-size: 13px !important;
    min-height: 48px !important;
    letter-spacing: -.01em !important
  }
}

@media (max-width:350px) {
  .filter-container {
    gap: 6px !important
  }

  .filter-btn {
    padding: 10px 6px !important;
    font-size: 12px !important;
    min-height: 44px !important
  }
}

@media (min-width:1200px) {
  .works-hero:not(.promo-hero) {
    padding-top: 22px !important
  }
}

@media (max-width:991px) {
  .works-hero:not(.promo-hero) {
    padding: 34px 0 58px !important
  }

  .works-hero:not(.promo-hero) .works-hero-inner {
    grid-template-columns: 1fr !important;
    gap: 18px !important
  }

  .works-hero:not(.promo-hero) .works-hero-content {
    min-height: 0 !important;
    padding: 34px 28px !important;
    text-align: left !important;
    align-items: flex-start !important
  }

  .works-hero:not(.promo-hero) .works-hero-content h1 {
    max-width: 12ch !important;
    font-size: clamp(36px, 7vw, 52px) !important
  }

  .works-hero:not(.promo-hero) .works-hero-photo {
    min-height: 0 !important;
    aspect-ratio: 16/10 !important
  }
}

body.inner-page .therapy-benefits .benefit-card h4,
body.inner-page .therapy-benefits .benefit-card p,
body.inner-page .therapy-prices .section-header,
body.inner-page .therapy-prices .section-header h1,
body.inner-page .therapy-prices .section-header h2 {
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  width: 100% !important
}

@media (max-width:576px) {
  .works-hero:not(.promo-hero) {
    padding: 24px 0 46px !important
  }

  .works-hero:not(.promo-hero) .container {
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important
  }

  .works-hero:not(.promo-hero) .works-hero-content {
    padding: 26px 22px !important;
    border-radius: 24px !important
  }

  .works-hero:not(.promo-hero) .works-hero-content h1 {
    font-size: clamp(32px, 10vw, 42px) !important
  }

  .works-hero:not(.promo-hero) .works-hero-content::after {
    padding: 15px 16px;
    font-size: 13px
  }

  .works-hero:not(.promo-hero) .works-hero-photo {
    aspect-ratio: 4/3 !important;
    border-radius: 24px !important
  }

  .works-hero:not(.promo-hero) .works-hero-photo::before {
    top: 16px;
    right: 16px
  }

  .works-hero:not(.promo-hero) .works-hero-photo::after {
    left: 16px;
    bottom: 16px;
    min-height: 32px;
    padding: 6px 13px;
    font-size: 13px
  }
}

html:not(.index-motion-boot) body .promo-hero:first-of-type,
html:not(.index-motion-boot) body .section:first-of-type,
html:not(.index-motion-boot) body .services-list-section:first-of-type,
html:not(.index-motion-boot) body .therapy-prices:first-of-type,
html:not(.index-motion-boot) body>.mobile-menu+script+section,
html:not(.index-motion-boot) body>script+section,
html:not(.index-motion-boot) body>section:first-of-type {
  padding-top: 0 !important;
  margin-top: 0 !important
}

.mobile-menu-nav a {
  font-size: 1.525rem !important;
  font-weight: 600 !important;
  padding: 12px 24px !important
}

.mobile-menu-nav a i,
.mobile-menu-nav a svg {
  font-size: 1.7rem !important;
  margin-right: 12px !important
}

@media (max-width:767px) {
  .price-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 18px 16px !important;
    gap: 15px !important;
    min-height: auto !important
  }

  .price-row-name {
    flex: 0 1 auto !important;
    max-width: 140px !important;
    padding-right: 0 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    color: #5c4033 !important;
    text-align: left !important
  }

  .price-row-value {
    flex-shrink: 0 !important;
    margin-left: auto !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: right !important;
    white-space: nowrap !important;
    color: #7b633f !important
  }
}

.navbar .btn-hero-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: none !important;
  min-width: 148px !important;
  height: 46px !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 13px 24px !important;
  border: 1px solid rgba(80, 85, 56, .55) !important;
  border-radius: var(--s-radius-pill, 100px) !important;
  background: linear-gradient(105deg, var(--s-olive) 0, #a9b180 42%, var(--s-olive) 72%, var(--s-olive-hover) 100%) !important;
  background-size: 220% 100% !important;
  color: var(--s-cream, #fcfaf7) !important;
  font-size: 16px !important;
  font-weight: 650 !important;
  line-height: 1.18 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  text-align: center !important;
  box-shadow: none !important
}

.navbar .btn-hero-primary:focus-visible,
.navbar .btn-hero-primary:hover {
  background: linear-gradient(105deg, var(--s-olive-hover) 0, #aeb783 38%, var(--s-salmon) 58%, var(--s-olive-hover) 100%) !important;
  background-size: 220% 100% !important;
  animation: buttonSheen .9s var(--s-ease) both !important;
  border-color: rgba(94, 38, 17, .5) !important;
  color: var(--s-cream, #fcfaf7) !important;
  transform: translate3d(0, -2px, 0) !important
}

.navbar .btn-hero-primary .serenity-roll-stack,
.navbar .btn-hero-primary .serenity-roll-text {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  white-space: nowrap !important;
  line-height: 1.2 !important
}

.navbar .btn-hero-primary .serenity-roll-char {
  display: inline-block !important;
  color: currentColor !important;
  line-height: 1.2 !important;
  white-space: pre !important;
  text-shadow: none !important;
  will-change: transform !important
}

.navbar .btn-hero-primary:focus-visible .serenity-roll-char,
.navbar .btn-hero-primary:hover .serenity-roll-char {
  transform: translate3d(0, -1.2em, 0) !important
}

#contacts-section,
#doctors-section,
#reviews-section,
#services-section {
  scroll-margin-top: var(--serenity-anchor-offset, 93px) !important
}

body.inner-page .checkup-card {
  -webkit-backface-visibility: hidden !important;
  backface-visibility: hidden !important;
  -webkit-perspective: 1000px !important;
  perspective: 1000px !important;
  will-change: transform, opacity !important
}

body.inner-page .checkup-card-photo img {
  border-radius: clamp(20px, 2.2vw, 30px) !important;
  padding: 0 !important
}

body.inner-page footer.footer .footer-bottom[data-promo-reveal],
body.inner-page footer.footer .footer-bottom[data-scroll-reveal],
body.inner-page footer.footer[data-scroll-reveal],
html.motion-ready .hero-static [data-scroll-reveal],
html.motion-ready .hero-static[data-scroll-reveal],
html.motion-ready body .hero-static [data-scroll-reveal]:not(.is-visible),
html.motion-ready body .hero-static[data-scroll-reveal]:not(.is-visible) {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important
}

body.inner-page footer.footer .footer-bottom {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 24px !important;
  margin-top: clamp(30px, 4vw, 48px) !important;
  padding-top: 22px !important;
  border-top: 1.5px solid rgba(13, 5, 3, .3) !important;
  color: #8d6959 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important
}

body.inner-page .doctor-info-block h4,
body.inner-page .doctor-name {
  color: #0d0503 !important;
  font-family: var(--font-display, Castoro, Georgia, serif) !important
}

body.inner-page footer.footer .footer-bottom::before {
  content: "SINCE. 2026" !important;
  flex: 0 0 auto !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important
}

body.inner-page footer.footer .footer-bottom>span {
  display: block !important;
  margin-left: 0 !important;
  text-align: left !important
}

body.inner-page footer.footer .footer-bottom a,
body.page-ready footer.footer .footer-bottom a {
  color: inherit !important;
  text-decoration: underline !important;
  transition: color .3s ease !important
}

body.inner-page footer.footer .footer-bottom a:hover,
body.page-ready footer.footer .footer-bottom a:hover {
  color: #e1937d !important;
  text-decoration: underline !important
}

body.page-ready footer.footer img {
  filter: brightness(0) saturate(100%) invert(42%) sepia(13%) saturate(993%) hue-rotate(334deg) brightness(94%) contrast(82%) !important
}

body.page-ready footer.footer .footer-bottom a {
  text-underline-offset: 2px
}

body.inner-page .therapy-prices .section-header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important
}

body.inner-page .therapy-prices .section-header h1,
body.inner-page .therapy-prices .section-header h2 {
  display: block !important;
  transform: none !important
}

body.inner-page>section.section:first-of-type .col-lg-8>h2:first-child,
body.inner-page>section.section:first-of-type .col-lg-8>h2:first-child+.lead {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important
}

body.inner-page .therapy-benefits .benefits-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
  justify-content: center !important
}

@media (max-width:575px) {
  body.inner-page footer.footer .footer-bottom {
    flex-direction: column !important;
    gap: 10px !important
  }

  body.inner-page footer.footer .footer-bottom>span {
    margin-left: 0 !important;
    text-align: left !important
  }

  body.inner-page .therapy-benefits .benefits-grid {
    grid-template-columns: minmax(0, 1fr) !important
  }
}

html.motion-ready [data-scroll-style=clip-rise] {
  clip-path: inset(9% 0 18% 0 round 24px) !important;
  transform: translate3d(0, var(--index-reveal-soft-y), 0) scale(.985) !important;
  transition: opacity 820ms cubic-bezier(.22, 1, .36, 1), transform 920ms cubic-bezier(.22, 1, .36, 1), clip-path 980ms cubic-bezier(.22, 1, .36, 1) !important
}

html.motion-ready [data-scroll-style=clip-rise].is-visible {
  clip-path: inset(0 0 0 0 round 0) !important
}

html.motion-ready [data-scroll-style=slide-rotate] {
  transform: perspective(1200px) translate3d(0, var(--index-reveal-card-y), 0) rotateX(4deg) rotateY(-5deg) scale(.965) !important
}

html.motion-ready [data-scroll-style=slide-rotate].is-visible {
  transform: perspective(1200px) translate3d(0, 0, 0) rotateX(0) rotateY(0) scale(1) !important
}

body.inner-page .therapy-benefits,
body.inner-page .therapy-prices {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important
}

body.inner-page .therapy-benefits::before,
body.inner-page .therapy-prices::before {
  content: "" !important;
  position: absolute !important;
  inset: 18px auto auto 50% !important;
  z-index: -1 !important;
  width: min(780px, 92vw) !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(141, 105, 89, .36), rgba(225, 147, 125, .32), transparent) !important;
  transform: translateX(-50%) !important;
  opacity: .8 !important
}

body.inner-page .therapy-benefits .benefit-card h4,
body.inner-page .therapy-prices .section-header h1,
body.inner-page>section.section:first-of-type .doctor-section h5 {
  font-family: var(--font-display, Castoro, Georgia, serif) !important;
  color: #0d0503 !important;
  text-wrap: balance !important
}

body.inner-page .therapy-benefits .section-header h2,
body.inner-page .therapy-prices .section-header h2 {
  font-family: var(--font-display, Castoro, Georgia, serif) !important;
  color: #8d6959 !important;
  text-wrap: balance !important
}

body.inner-page .therapy-prices .price-card {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(141, 105, 89, .16) !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, .76), rgba(252, 250, 247, .94)), repeating-linear-gradient(135deg, rgba(141, 105, 89, .055) 0 1px, transparent 1px 18px) !important;
  box-shadow: 0 26px 70px rgba(61, 43, 31, .12) !important
}

body.inner-page .therapy-prices .price-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 0 auto 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, #8d6959, #e1937d, #8e9867, #8d6959) !important;
  background-size: 220% 100% !important;
  animation: 8s linear infinite serviceLineFlow !important
}

body.inner-page .therapy-prices .price-row {
  border-color: rgba(141, 105, 89, .14) !important;
  transition: background-color 260ms cubic-bezier(.22, 1, .36, 1), transform 260ms cubic-bezier(.22, 1, .36, 1) !important
}

body.inner-page .therapy-prices .price-row:hover {
  background-color: rgba(248, 243, 236, .72) !important;
  transform: translate3d(8px, 0, 0) !important
}

body.inner-page .therapy-benefits .benefit-card,
body.inner-page>section.section:first-of-type .card-custom,
body.inner-page>section.section:first-of-type .doctor-section {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(141, 105, 89, .14) !important;
  background: rgba(252, 250, 247, .88) !important;
  box-shadow: 0 20px 54px rgba(61, 43, 31, .09) !important;
  transition: border-color .3s cubic-bezier(.22, 1, .36, 1), transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s cubic-bezier(.22, 1, .36, 1) !important
}

body.inner-page .therapy-benefits .benefit-card::before,
body.inner-page>section.section:first-of-type .doctor-section::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: 3px !important;
  background: linear-gradient(180deg, #e1937d, #8e9867, #8d6959) !important;
  opacity: .76 !important
}

body.inner-page .therapy-benefits .benefit-card:hover,
body.inner-page>section.section:first-of-type .card-custom:hover,
body.inner-page>section.section:first-of-type .doctor-section:hover {
  border-color: rgba(142, 152, 103, .32) !important;
  box-shadow: 0 28px 72px rgba(61, 43, 31, .13) !important;
  transform: translate3d(0, -6px, 0) rotateZ(-.35deg) !important
}

body.inner-page .therapy-benefits .benefit-card p,
body.inner-page>section.section:first-of-type .doctor-section li,
body.inner-page>section.section:first-of-type .doctor-section p {
  color: #8d6959 !important;
  line-height: 1.68 !important
}

body.inner-page .therapy-benefits .benefit-card {
  align-items: center !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
  padding-left: clamp(24px, 2.6vw, 32px) !important;
  padding-right: clamp(24px, 2.6vw, 32px) !important;
  text-align: center !important
}

body.inner-page .doctor-info-block h4::before,
body.inner-page .doctor-info-block::before,
body.inner-page .doctor-photo-wrapper::after,
body.inner-page .therapy-benefits .benefit-card::after,
body.inner-page .therapy-benefits .benefit-card::before {
  display: none !important;
  content: none !important
}

body.inner-page .therapy-benefits .benefit-card h4,
body.inner-page .therapy-benefits .benefit-card p {
  box-sizing: border-box !important;
  display: block !important;
  inline-size: 100% !important;
  max-inline-size: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-indent: 0 !important;
  text-wrap: balance !important;
  overflow-wrap: normal !important;
  word-break: normal !important
}

body.inner-page .therapy-benefits .benefit-card h4 {
  min-height: 0 !important;
  font-size: 29px !important;
  line-height: 1.22 !important
}

body.inner-page .therapy-benefits .benefit-card p {
  font-size: clamp(.9rem, .94vw, .98rem) !important;
  line-height: 1.58 !important
}

body.inner-page .cta-form-section .cta-form-inner {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(141, 105, 89, .14) !important;
}

body.inner-page .doctor-profile-section {
  border-radius: 28px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, .78), rgba(252, 250, 247, .96) 48%, rgba(248, 243, 236, .92)), repeating-linear-gradient(135deg, rgba(141, 105, 89, .052) 0 1px, transparent 1px 18px) !important;
  box-shadow: 0 28px 86px rgba(61, 43, 31, .13) !important
}

body.inner-page .section>.container>.row.g-4:has(.doctor-profile-section)>.col {
  padding-left: 0 !important;
  padding-right: 0 !important
}

body.inner-page .doctor-profile-section::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 0 auto 0 !important;
  height: 4px !important;
  background: linear-gradient(90deg, #8d6959, #e1937d, #8e9867, #7da4db, #8d6959) !important;
  background-size: 240% 100% !important
}

body.inner-page .doctor-profile-section::after {
  content: "" !important;
  position: absolute !important;
  inset: 18px 18px auto auto !important;
  width: 86px !important;
  height: 86px !important;
  border-top: 1px solid rgba(141, 105, 89, .28) !important;
  border-right: 1px solid rgba(141, 105, 89, .28) !important;

}

body.inner-page .doctor-profile-section>.row {
  display: grid !important;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr) !important;
  gap: clamp(28px, 5vw, 72px) !important;
  align-items: stretch !important
}

body.inner-page .doctor-photo-wrapper {
  position: relative !important;
  border-radius: 26px !important;
  background: #efe6da !important;
  box-shadow: 0 24px 64px rgba(61, 43, 31, .16) !important
}

body.inner-page .doctor-photo-wrapper::after {
  content: "" !important;
  position: absolute !important;
  inset: auto 18px 18px 18px !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), transparent) !important;
  opacity: .82 !important
}

body.inner-page .doctor-profile-section:hover .doctor-photo-wrapper img {
  transform: scale(1.045) !important;
  transform: translate3d(0, 0, 0) scale(1.035) !important
}

body.inner-page .doctor-name {
  letter-spacing: 0 !important;
  text-wrap: balance !important
}

body.inner-page .doctor-spec-wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important
}

body.inner-page .doctor-spec-badge,
body.inner-page .doctor-spec-wrapper .doctor-exp-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #8d6959 !important;
  font-family: var(--font-ui, Nunito, Montserrat, sans-serif) !important;
  font-size: 13px !important
}

body.inner-page .doctor-info-block {
  border-radius: 22px !important;
  background: rgba(255, 255, 255, .58) !important;
  box-shadow: 0 16px 46px rgba(61, 43, 31, .07) !important
}

body.inner-page .doctor-info-block::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: 3px !important;
  background: linear-gradient(180deg, #8d6959, #e1937d, #8e9867) !important;
  opacity: .78 !important
}

body.inner-page .doctor-info-block h4 {
  align-items: center !important;
  gap: 10px !important
}

body.inner-page .doctor-info-block li,
body.inner-page .doctor-info-block p,
body.inner-page .doctor-profile-section .btn.btn-primary {
  font-family: var(--font-ui, Nunito, Montserrat, sans-serif) !important;
  font-family: var(--font-ui, Nunito, Montserrat, Inter, sans-serif) !important
}

body.inner-page .doctor-info-block h4::before {
  content: "" !important;
  width: 9px !important;
  height: 9px !important;
  flex: 0 0 9px !important;
  border-radius: 50% !important;
  background: #e1937d !important
}

body.inner-page .doctor-info-block li,
body.inner-page .doctor-info-block p {
  color: #5c4033 !important;
  font-family: var(--font-ui, Nunito, Montserrat, sans-serif) !important
}

body.inner-page .doctor-info-block ul {
  display: grid !important
}

body.inner-page .doctor-info-block li::before {
  content: "" !important;
  background: #8e9867 !important
}

body.inner-page .doctor-profile-section .btn.btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: #8d6959 !important;
  color: #fff !important;
  font-family: var(--font-ui, Nunito, Montserrat, sans-serif) !important;
  box-shadow: 0 16px 38px rgba(141, 105, 89, .24) !important;
  transition: background-color 260ms cubic-bezier(.22, 1, .36, 1), transform 260ms cubic-bezier(.22, 1, .36, 1), box-shadow 260ms cubic-bezier(.22, 1, .36, 1) !important
}

body.inner-page .doctor-profile-section .btn.btn-primary:hover {
  background: #0d0503 !important;
  transform: translate3d(0, -3px, 0) !important;
  box-shadow: 0 20px 44px rgba(13, 5, 3, .18) !important
}

@keyframes serviceLineFlow {
  0% {
    background-position: 0 50%
  }

  100% {
    background-position: 220% 50%
  }
}

@media (max-width:991.98px) {
  .mobile-menu .mobile-menu-nav a {
    font-family: var(--font-display) !important;
    font-weight: 300 !important
  }

  .mobile-menu .mobile-menu-contact a {
    font-family: var(--font-ui, Nunito, Montserrat, sans-serif) !important;
    font-weight: 400 !important;
    font-size: 1rem !important;
    color: var(--text-soft, #8d6959) !important
  }

  body.inner-page .doctor-profile-section {
    border-radius: 22px !important
  }

  body.inner-page .doctor-profile-section>.row {
    grid-template-columns: minmax(0, 1fr) !important
  }

  body.inner-page .doctor-photo-wrapper {
    min-height: min(560px, 118vw) !important
  }

  body.inner-page .doctor-name {
    max-width: 100% !important;
    font-size: clamp(2.05rem, 12vw, 3.6rem) !important
  }
}

@media (max-width:575.98px) {
  body.inner-page .doctor-profile-section {
    margin-top: 22px !important;
    padding: 18px !important;
    border-radius: 20px !important
  }

  body.inner-page .doctor-photo-wrapper {
    min-height: min(480px, 126vw) !important;
    border-radius: 18px !important
  }

  body.inner-page .doctor-info-block {
    border-radius: 18px !important
  }

  body.inner-page .doctor-spec-badge,
  body.inner-page .doctor-spec-wrapper .doctor-exp-badge {
    width: 100% !important
  }
}

body.inner-page {
  --doctor-surface: var(--svc-surface, #F6F3ED);
  --doctor-surface-light: var(--svc-surface-light, #FCFAF7);
  --doctor-ink: var(--svc-ink, var(--s-text, #0D0503));
  --doctor-muted: var(--svc-muted, var(--s-muted, #8D6959));
  --doctor-olive: var(--svc-olive, var(--s-olive, #8E9867));
  --doctor-olive-dark: var(--svc-olive-dark, var(--s-olive-hover, #7D8759));
  --doctor-radius-card: var(--svc-radius-card, var(--radius-lg, 30px));
  --doctor-shadow-card: var(--svc-shadow-card, var(--shadow-card, 0 18px 48px rgba(66, 47, 40, 0.11)));
  --doctor-shadow-hover: var(--svc-shadow-hover, var(--shadow-hover, 0 26px 68px rgba(66, 47, 40, 0.16)))
}

body.inner-page .doctor-profile-section {
  position: relative !important;
  isolation: isolate !important;
  max-width: 1180px !important;
  margin: clamp(18px, 3vw, 32px) auto clamp(48px, 6vw, 72px) !important;
  padding: clamp(24px, 3.8vw, 46px) !important;
  overflow: hidden !important;
  color: var(--doctor-ink) !important;
  background: var(--doctor-surface) !important;
  border: 0 !important;
  border-radius: var(--doctor-radius-card) !important;
  box-shadow: var(--doctor-shadow-card) !important;
  font-family: var(--font-ui, Nunito, Montserrat, Inter, sans-serif) !important
}

body.inner-page .doctor-info-block h4,
body.inner-page .doctor-name {
  font-family: var(--font-display, Castoro, "Cormorant Garamond", serif) !important;
  text-wrap: balance !important;
  font-weight: 400 !important
}

body.inner-page .doctor-profile-section::after,
body.inner-page .doctor-profile-section::before {
  display: none !important;
  content: none !important;
  animation: none !important
}

body.inner-page .section>.container>.row.g-4:has(.doctor-profile-section) {
  margin-top: clamp(18px, 3vw, 42px) !important
}

body.inner-page .doctor-profile-section>.row {
  display: grid !important;
  grid-template-columns: minmax(250px, 0.42fr) minmax(0, 0.58fr) !important;
  gap: clamp(26px, 4vw, 48px) !important;
  align-items: start !important;
  margin-left: 0 !important;
  margin-right: 0 !important
}

body.inner-page .doctor-profile-section>.row>[class*=col-] {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important
}

body.inner-page .doctor-photo-wrapper {
  position: sticky !important;
  top: clamp(92px, 10vw, 126px) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 4/5 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: var(--doctor-radius-card) !important;
  background: var(--doctor-surface-light) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .62), 0 14px 34px rgba(66, 47, 40, .09) !important
}

body.inner-page .doctor-photo-wrapper img {
  object-position: center top !important;
  transform: scale(1.01) !important;
  transition: transform 760ms cubic-bezier(.22, 1, .36, 1), filter 760ms cubic-bezier(.22, 1, .36, 1) !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-position: center top !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: translate3d(0, 0, 0) scale(1.01) !important;
  transition: transform var(--transition, 260ms cubic-bezier(.2, .8, .2, 1)), filter var(--transition, 260ms cubic-bezier(.2, .8, .2, 1)) !important
}

body.inner-page .doctor-name {
  max-width: 16ch !important;
  margin: 0 0 16px !important;
  color: var(--doctor-ink) !important;
  font-size: clamp(2rem, 4.2vw, 4rem) !important;
  letter-spacing: -1.5px !important;
  line-height: 1.08 !important
}

body.inner-page .doctor-spec-wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
  margin: 0 0 clamp(20px, 3vw, 32px) !important
}

body.inner-page .doctor-profile-section .btn.btn-primary,
body.inner-page .doctor-spec-badge,
body.inner-page .doctor-spec-wrapper .doctor-exp-badge {
  display: inline-flex !important;
  width: auto !important;
  max-width: 100% !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-align: center !important
}

body.inner-page .doctor-spec-badge,
body.inner-page .doctor-spec-wrapper .doctor-exp-badge {
  position: static !important;
  min-height: 31px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 6px 11px !important;
  color: var(--doctor-muted) !important;
  background: rgba(141, 105, 89, .08) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-family: var(--font-ui, Nunito, Montserrat, Inter, sans-serif) !important;
  font-size: clamp(.86rem, .96vw, .96rem) !important;
  line-height: 1.1 !important
}

body.inner-page .doctor-info-block {
  position: relative !important;
  margin-top: 14px !important;
  padding: clamp(22px, 2.6vw, 30px) !important;
  overflow: hidden !important;
  color: var(--doctor-ink) !important;
  background: var(--doctor-surface-light) !important;
  border: 0 !important;
  border-radius: var(--doctor-radius-card) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .62), 0 12px 30px rgba(66, 47, 40, .08) !important;
  transition: transform var(--transition, 260ms cubic-bezier(.2, .8, .2, 1)), box-shadow var(--transition, 260ms cubic-bezier(.2, .8, .2, 1)) !important
}

body.inner-page .doctor-info-block:hover {
  transform: translate3d(0, -3px, 0) !important;
  box-shadow: var(--doctor-shadow-hover) !important;
  transform: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .62), 0 12px 30px rgba(66, 47, 40, .08) !important
}

body.inner-page .doctor-info-block h4 {
  display: block !important;
  margin: 0 0 12px !important;
  color: var(--doctor-ink) !important;
  font-size: clamp(1.22rem, 1.65vw, 1.55rem) !important;
  letter-spacing: -.5px !important;
  line-height: 1.18 !important
}

body.inner-page .doctor-info-block hr {
  display: none !important
}

body.inner-page .doctor-info-block li,
body.inner-page .doctor-info-block p {
  margin-bottom: 0 !important;
  color: var(--doctor-muted) !important;
  font-size: clamp(.96rem, 1.05vw, 1.04rem) !important;
  font-weight: 400 !important;
  line-height: 1.62 !important;
  text-wrap: pretty !important
}

body.inner-page .doctor-info-block p+p {
  margin-top: 10px !important
}

body.inner-page .doctor-info-block ul {
  display: grid !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important
}

body.inner-page .doctor-info-block li {
  position: relative !important;
  padding-left: 18px !important
}

body.inner-page .doctor-info-block li::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: .72em !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: var(--doctor-olive) !important
}

body.inner-page .doctor-profile-section .btn.btn-primary {
  min-height: 48px !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: clamp(20px, 3vw, 30px) !important;
  padding: 13px 24px !important;
  color: var(--s-cream, #fcfaf7) !important;
  background: var(--doctor-olive) !important;
  border: 0 !important;
  border-radius: var(--s-radius-pill, 100px) !important;
  box-shadow: none !important;
  font-size: 16px !important;
  line-height: 1.2 !important
}

body.inner-page .doctor-profile-section .btn.btn-primary:focus-visible,
body.inner-page .doctor-profile-section .btn.btn-primary:hover {
  color: var(--s-cream, #fcfaf7) !important;
  background: var(--doctor-olive-dark) !important;
  transform: translate3d(0, -2px, 0) !important;
  box-shadow: none !important
}

body.inner-page .doctor-profile-section .btn.btn-primary:active {
  transform: translate3d(0, -1px, 0) scale(.99) !important
}

@media (max-width:991.98px) {
  body.inner-page .doctor-profile-section {
    margin-top: clamp(14px, 3vw, 24px) !important;
    padding: clamp(22px, 4.5vw, 34px) !important
  }

  body.inner-page .doctor-profile-section>.row {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: clamp(22px, 5vw, 36px) !important
  }

  body.inner-page .doctor-photo-wrapper {
    position: relative !important;
    top: auto !important;
    width: min(100%, 520px) !important;
    margin: 0 auto !important
  }

  body.inner-page .doctor-name {
    max-width: 100% !important;
    font-size: clamp(2rem, 8vw, 3.35rem) !important;
    text-align: center !important
  }

  body.inner-page .doctor-spec-wrapper {
    justify-content: center !important
  }
}

@media (max-width:575.98px) {
  body.inner-page .doctor-profile-section {
    padding: 18px !important;
    border-radius: 24px !important
  }

  body.inner-page .doctor-info-block,
  body.inner-page .doctor-photo-wrapper {
    border-radius: 22px !important
  }

  body.inner-page .doctor-photo-wrapper {
    width: 100% !important;
    aspect-ratio: 4/4.85 !important
  }

  body.inner-page .doctor-spec-badge,
  body.inner-page .doctor-spec-wrapper .doctor-exp-badge {
    width: auto !important
  }

  body.inner-page .doctor-profile-section .btn.btn-primary {
    width: 100% !important
  }
}

.navbar .btn-services-all .serenity-roll-char,
.navbar .btn-services-all .serenity-roll-stack,
.navbar .btn-services-all .serenity-roll-text {
  color: currentColor !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  text-shadow: none !important
}

body.inner-page:has(.therapy-prices),
body.inner-page:has(> section.section:first-of-type .doctor-section) {
  background: var(--s-bg, #f1ede1) !important
}

body.inner-page:has(.therapy-prices) .cta-form-section,
body.inner-page:has(.therapy-prices) .therapy-benefits,
body.inner-page:has(.therapy-prices) .therapy-prices,
body.inner-page:has(> section.section:first-of-type .doctor-section)>section.section:first-of-type {
  background: 0 0 !important;
  border: 0 !important;
  outline: 0 !important
}

body.inner-page:has(.therapy-prices) .benefit-card::after,
body.inner-page:has(.therapy-prices) .benefit-card::before,
body.inner-page:has(.therapy-prices) .price-card::after,
body.inner-page:has(.therapy-prices) .price-card::before,
body.inner-page:has(.therapy-prices) .therapy-benefits::after,
body.inner-page:has(.therapy-prices) .therapy-benefits::before,
body.inner-page:has(.therapy-prices) .therapy-prices::after,
body.inner-page:has(.therapy-prices) .therapy-prices::before,
body.inner-page:has(> section.section:first-of-type .doctor-section) .card-custom::after,
body.inner-page:has(> section.section:first-of-type .doctor-section) .card-custom::before,
body.inner-page:has(> section.section:first-of-type .doctor-section) .doctor-section::after,
body.inner-page:has(> section.section:first-of-type .doctor-section) .doctor-section::before {
  display: none !important;
  content: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background: 0 0 !important
}

body.inner-page:has(.therapy-prices) .cta-form-section .cta-form-card,
body.inner-page:has(.therapy-prices) .cta-form-section .cta-form-inner,
body.inner-page:has(.therapy-prices) .therapy-benefits .benefit-card,
body.inner-page:has(.therapy-prices) .therapy-prices .price-card,
body.inner-page:has(.therapy-prices) .therapy-prices .price-row,
body.inner-page:has(> section.section:first-of-type .doctor-section) .card-custom,
body.inner-page:has(> section.section:first-of-type .doctor-section) .doctor-section {
  border: 0 !important;
  outline: 0 !important;
  background-image: none !important
}

body.inner-page:has(.therapy-prices) .therapy-benefits .benefit-card,
body.inner-page:has(.therapy-prices) .therapy-prices .price-card,
body.inner-page:has(> section.section:first-of-type .doctor-section) .card-custom,
body.inner-page:has(> section.section:first-of-type .doctor-section) .doctor-section {
  background: var(--s-cream, #fcfaf7) !important;
  box-shadow: 0 18px 48px rgba(66, 47, 40, .09) !important
}

body.inner-page:has(.therapy-prices) .therapy-prices .price-row {
  background: var(--s-bg, #f1ede1) !important;
  box-shadow: none !important
}

body.inner-page:has(.therapy-prices) .therapy-benefits .benefit-card:hover,
body.inner-page:has(.therapy-prices) .therapy-prices .price-row:hover,
body.inner-page:has(> section.section:first-of-type .doctor-section) .card-custom:hover,
body.inner-page:has(> section.section:first-of-type .doctor-section) .doctor-section:hover {
  border: 0 !important;
  transform: translate3d(0, -5px, 0) !important;
  box-shadow: 0 24px 62px rgba(66, 47, 40, .13) !important
}

body.inner-page:has(.therapy-prices) .btn-outline-primary,
body.inner-page:has(.therapy-prices) .btn-primary,
body.inner-page:has(.therapy-prices) .btn.btn-primary,
body.inner-page:has(.therapy-prices) .cta-form-submit,
body.inner-page:has(> section.section:first-of-type .doctor-section) .btn-outline-primary,
body.inner-page:has(> section.section:first-of-type .doctor-section) .btn-primary,
body.inner-page:has(> section.section:first-of-type .doctor-section) .btn.btn-primary {
  color: var(--s-cream, #fcfaf7) !important;
  background: var(--s-olive, #8e9867) !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important
}

body.inner-page:has(.therapy-prices) .btn-outline-primary:focus-visible,
body.inner-page:has(.therapy-prices) .btn-outline-primary:hover,
body.inner-page:has(.therapy-prices) .btn-primary:focus-visible,
body.inner-page:has(.therapy-prices) .btn-primary:hover,
body.inner-page:has(.therapy-prices) .btn.btn-primary:focus-visible,
body.inner-page:has(.therapy-prices) .btn.btn-primary:hover,
body.inner-page:has(.therapy-prices) .cta-form-submit:focus-visible,
body.inner-page:has(.therapy-prices) .cta-form-submit:hover,
body.inner-page:has(> section.section:first-of-type .doctor-section) .btn-outline-primary:focus-visible,
body.inner-page:has(> section.section:first-of-type .doctor-section) .btn-outline-primary:hover,
body.inner-page:has(> section.section:first-of-type .doctor-section) .btn-primary:focus-visible,
body.inner-page:has(> section.section:first-of-type .doctor-section) .btn-primary:hover,
body.inner-page:has(> section.section:first-of-type .doctor-section) .btn.btn-primary:focus-visible,
body.inner-page:has(> section.section:first-of-type .doctor-section) .btn.btn-primary:hover {
  color: var(--s-cream, #fcfaf7) !important;
  background: var(--s-muted, #8d6959) !important;
  background-image: none !important;
  border: 0 !important;
  transform: translate3d(0, -2px, 0) !important;
  box-shadow: none !important
}

.navbar .btn-services-all .serenity-roll-char {
  text-shadow: 0 1.2em 0 currentColor !important
}

html.works-reviews-motion body.inner-page [data-works-review-reveal] {
  opacity: 0 !important;
  transform: translate3d(0, var(--index-reveal-y, 42px), 0) !important;
  transform-origin: center center;
  transition-delay: var(--works-review-delay, 0ms) !important;
  backface-visibility: hidden
}

html.works-reviews-motion body.inner-page [data-works-review-style=soft-rise] {
  transform: translate3d(0, var(--index-reveal-soft-y, 30px), 0) !important
}

html.works-reviews-motion body.inner-page [data-works-review-reveal].is-visible {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) rotateX(0) rotateZ(0) !important;
  will-change: auto
}

html.works-reviews-motion body.inner-page .reviews-scroll-track[data-works-review-reveal] .review-scroll-card {
  opacity: 0 !important;
  transform: perspective(1200px) translate3d(0, var(--index-review-card-y, 30px), 0) rotateX(4deg) scale(.97) !important;
  transition: opacity 860ms cubic-bezier(.22, 1, .36, 1), transform 860ms cubic-bezier(.22, 1, .36, 1) !important;
  transition-delay: var(--works-review-delay, 0ms) !important;
  will-change: transform, opacity
}

html.works-reviews-motion body.inner-page .reviews-scroll-track[data-works-review-reveal].is-visible .review-scroll-card {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) rotateX(0) !important;
  will-change: auto
}

body.inner-page:has(.doctor-profile-section) .doctor-profile-section:hover .doctor-photo-wrapper img {
  box-shadow: none !important
}

body.inner-page .therapy-prices .price-row-value,
body.inner-page:has(> section.section:first-of-type .doctor-section) .col-lg-4 .card-custom .display-5,
body.inner-page:has(> section.section:first-of-type .doctor-section) .col-lg-4 .card-custom p.fw-bold {
  font-family: var(--font-ui, Nunito, Montserrat, Inter, sans-serif) !important;
  font-size: clamp(.9rem, .98vw, .98rem) !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1.14 !important;
  font-variant-numeric: tabular-nums !important;
  color: var(--s-muted, #8d6959) !important
}

body.inner-page:has(.therapy-prices) .therapy-prices .price-card,
body.inner-page:has(.therapy-prices) .therapy-prices .price-row,
body.inner-page:has(.therapy-prices) .therapy-prices .price-row:hover,
body.inner-page:has(> section.section:first-of-type .doctor-section) .col-lg-4 .card-custom:first-child,
body.inner-page:has(> section.section:first-of-type .doctor-section) .col-lg-4 .card-custom:first-child:hover {
  border: 0 transparent !important;
  outline: 0 !important
}

body.inner-page:has(.therapy-prices) .therapy-prices .price-card::after,
body.inner-page:has(.therapy-prices) .therapy-prices .price-card::before,
body.inner-page:has(.therapy-prices) .therapy-prices .price-row::after,
body.inner-page:has(.therapy-prices) .therapy-prices .price-row::before,
body.inner-page:has(> section.section:first-of-type .doctor-section) .col-lg-4 .card-custom:first-child::after,
body.inner-page:has(> section.section:first-of-type .doctor-section) .col-lg-4 .card-custom:first-child::before {
  display: none !important;
  content: none !important;
  border: 0 !important;
  box-shadow: none !important
}

body.inner-page:has(.therapy-prices) .therapy-prices .price-card,
body.inner-page:has(.therapy-prices) .therapy-prices .price-card:focus-within,
body.inner-page:has(.therapy-prices) .therapy-prices .price-card:hover,
body.inner-page:has(.therapy-prices) .therapy-prices .price-row,
body.inner-page:has(.therapy-prices) .therapy-prices .price-row.reveal.visible,
body.inner-page:has(.therapy-prices) .therapy-prices .price-row.reveal.visible:hover,
body.inner-page:has(.therapy-prices) .therapy-prices .price-row:focus-within,
body.inner-page:has(.therapy-prices) .therapy-prices .price-row:hover,
body.inner-page:has(> section.section:first-of-type .doctor-section) .col-lg-4 .card-custom:first-child,
body.inner-page:has(> section.section:first-of-type .doctor-section) .col-lg-4 .card-custom:first-child:focus-within,
body.inner-page:has(> section.section:first-of-type .doctor-section) .col-lg-4 .card-custom:first-child:hover {
  border: 0 transparent !important;
  outline: 0 !important;
  box-shadow: none !important
}

body.inner-page:has(.therapy-prices) .therapy-prices .price-card *,
body.inner-page:has(.therapy-prices) .therapy-prices .price-row *,
body.inner-page:has(> section.section:first-of-type .doctor-section) .col-lg-4 .card-custom:first-child * {
  outline: 0 !important
}

body.inner-page .therapy-prices .price-card,
body.inner-page .therapy-prices .price-card:focus-within,
body.inner-page .therapy-prices .price-card:hover,
body.inner-page .therapy-prices .price-row,
body.inner-page .therapy-prices .price-row.reveal.visible,
body.inner-page .therapy-prices .price-row.reveal.visible:hover,
body.inner-page .therapy-prices .price-row:focus-within,
body.inner-page .therapy-prices .price-row:hover,
body.inner-page>section.section:first-of-type .col-lg-4 .card-custom:first-child,
body.inner-page>section.section:first-of-type .col-lg-4 .card-custom:first-child:focus-within,
body.inner-page>section.section:first-of-type .col-lg-4 .card-custom:first-child:hover {
  border: 0 transparent !important;
  outline: 0 !important;
  box-shadow: none !important
}

body.inner-page .therapy-prices .price-card::after,
body.inner-page .therapy-prices .price-card::before,
body.inner-page .therapy-prices .price-row::after,
body.inner-page .therapy-prices .price-row::before,
body.inner-page>section.section:first-of-type .col-lg-4 .card-custom:first-child::after,
body.inner-page>section.section:first-of-type .col-lg-4 .card-custom:first-child::before {
  display: none !important;
  content: none !important;
  border: 0 !important;
  box-shadow: none !important
}

@media (prefers-reduced-motion:reduce) {

  html.index-motion-boot:not(.motion-ready) .contacts-block-section,
  html.index-motion-boot:not(.motion-ready) .cta-form-section,
  html.index-motion-boot:not(.motion-ready) .doctors-block-section,
  html.index-motion-boot:not(.motion-ready) .faq-section,
  html.index-motion-boot:not(.motion-ready) .footer,
  html.index-motion-boot:not(.motion-ready) .hero-static,
  html.index-motion-boot:not(.motion-ready) .lead-magnet-section,
  html.index-motion-boot:not(.motion-ready) .reviews-scroll-section,
  html.index-motion-boot:not(.motion-ready) .services-premium-section,
  html.index-motion-boot:not(.motion-ready) .why-choose-section,
  html.motion-ready .reviews-scroll-track[data-scroll-reveal] .review-scroll-card,
  html.motion-ready [data-scroll-reveal] {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important
  }

  .faq-item:not([data-scroll-reveal]),
  .faq-item:not([data-scroll-reveal]):focus-within,
  .faq-item:not([data-scroll-reveal]):hover,
  html.motion-ready .faq-item[data-scroll-reveal].is-visible,
  html.motion-ready .faq-item[data-scroll-reveal].is-visible:focus-within,
  html.motion-ready .faq-item[data-scroll-reveal].is-visible:hover {
    transform: none !important;
    transition: none !important
  }

  html.works-reviews-motion body.inner-page .reviews-scroll-track[data-works-review-reveal] .review-scroll-card,
  html.works-reviews-motion body.inner-page [data-works-review-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important
  }
}

@media (min-width:768px) {

  html.home-page .checkup-title,
  html.home-page .contacts-block-header h2,
  html.home-page .cta-form-title,
  html.home-page .doctors-block-header-left h2,
  html.home-page .faq-title,
  html.home-page .lead-magnet-title,
  html.home-page .privacy-title,
  html.home-page .promo-hero h1,
  html.home-page .reviews-scroll-title,
  html.home-page .section-header h2,
  html.home-page .services-list-header h2,
  html.home-page .services-premium-title,
  html.home-page .why-choose-title,
  html.home-page .works-gallery-title,
  html.home-page .works-hero h1 {
    font-size: clamp(38px, 3.6vw, 52px) !important;
    line-height: 1.05 !important;
    letter-spacing: -1.5px !important;
    text-wrap: balance !important
  }

  html.home-page .services-premium-grid-unique .service-premium-card {
    display: flex !important;
    flex-direction: column !important
  }

  html.home-page .services-premium-grid-unique .sp-card-body {
    display: flex !important;
    flex-direction: column !important;
    min-height: clamp(170px, 14vw, 200px) !important;
    padding-top: clamp(20px, 2.4vw, 26px) !important;
    padding-bottom: clamp(22px, 2.8vw, 30px) !important
  }

  html.home-page .services-premium-grid-unique .service-premium-card:nth-child(4) .sp-card-body h5,
  html.home-page .services-premium-grid-unique .sp-card-body h5 {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    min-height: 5rem !important;
    margin-bottom: 14px !important;
    text-wrap: balance !important
  }

  html.home-page .services-premium-grid-unique .sp-card-tags {
    margin-top: auto !important
  }
}

html.home-page .services-premium-header .btn-services-all,
html.home-page .services-premium-header .btn-services-all.serenity-roll-button {
  word-break: normal !important;
  overflow-wrap: normal !important;
  word-wrap: normal !important;
  white-space: normal !important
}

html.home-page .doctors-block-header {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-items: center !important;
  gap: clamp(18px, 4vw, 36px) !important;
  padding-inline: 0 !important
}

html.home-page .doctors-block-header-left,
html.home-page .doctors-block-header-right {
  justify-content: center !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-inline: 0 !important;
  transform: none !important;
  left: auto !important;
  right: auto !important;
  text-align: center !important
}

html.home-page .doctors-block-header-left h2 {
  margin-inline: auto !important;
  text-align: center !important;
  text-wrap: balance !important
}

html.home-page .doctors-block-badge {
  margin-inline: auto !important;
  text-align: center !important;
  white-space: normal !important
}

@media (max-width:991.98px) {
  html.home-page .doctors-block-header {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    gap: clamp(14px, 4vw, 24px) !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    text-align: center !important
  }

  html.home-page .doctors-block-header-left,
  html.home-page .doctors-block-header-right {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    justify-content: center !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    text-align: center !important
  }

  html.home-page .doctors-block-header-left h2 {
    width: min(100%, calc(100vw - 32px)) !important;
    margin-inline: auto !important;
    text-align: center !important;
    margin-left: 20px !important
  }

  html.home-page .doctors-block-header-left h2 span {
    display: block !important;
    white-space: normal !important
  }

  html.home-page .doctors-block-header-left h2 br {
    display: block !important
  }

  html.home-page .doctors-block-badge {
    max-width: min(100%, calc(100vw - 32px)) !important;
    margin-inline: auto !important;
    text-align: center !important
  }
}

@media (max-width:560px) {

  html.home-page .lead-magnet-section .btn-lead-magnet,
  html.home-page .lead-magnet-section .btn-lead-magnet.serenity-roll-button,
  html.home-page .services-premium-header .btn-services-all,
  html.home-page .services-premium-header .btn-services-all.serenity-roll-button {
    color: var(--s-cream, #fcfaf7) !important;
    background: var(--s-olive, #8e9867) !important;
    background-image: none !important;
    background-size: auto !important;
    animation: none !important;
    transform: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transition: background-color var(--transition, 260ms ease), color var(--transition, 260ms ease), border-color var(--transition, 260ms ease) !important;
    will-change: auto !important
  }

  html.home-page .lead-magnet-section .btn-lead-magnet.serenity-roll-button:active,
  html.home-page .lead-magnet-section .btn-lead-magnet.serenity-roll-button:focus-visible,
  html.home-page .lead-magnet-section .btn-lead-magnet.serenity-roll-button:hover,
  html.home-page .lead-magnet-section .btn-lead-magnet:active,
  html.home-page .lead-magnet-section .btn-lead-magnet:focus-visible,
  html.home-page .lead-magnet-section .btn-lead-magnet:hover,
  html.home-page .services-premium-header .btn-services-all.serenity-roll-button:active,
  html.home-page .services-premium-header .btn-services-all.serenity-roll-button:focus-visible,
  html.home-page .services-premium-header .btn-services-all.serenity-roll-button:hover,
  html.home-page .services-premium-header .btn-services-all:active,
  html.home-page .services-premium-header .btn-services-all:focus-visible,
  html.home-page .services-premium-header .btn-services-all:hover {
    color: var(--s-cream, #fcfaf7) !important;
    background: var(--s-muted, #8d6959) !important;
    background-image: none !important;
    background-size: auto !important;
    animation: none !important;
    transform: none !important;
    box-shadow: none !important
  }

  html.home-page .lead-magnet-section .btn-lead-magnet:active,
  html.home-page .services-premium-header .btn-services-all:active {
    transform: none !important
  }

  html.home-page .services-premium-header .btn-services-all.serenity-roll-button .serenity-roll-char,
  html.home-page .services-premium-header .btn-services-all.serenity-roll-button .serenity-roll-stack,
  html.home-page .services-premium-header .btn-services-all.serenity-roll-button .serenity-roll-text {
    display: none !important
  }

  html.home-page .services-premium-header .btn-services-all.serenity-roll-button::before {
    content: attr(aria-label);
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    color: currentColor !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    line-height: 1.25 !important;
    text-align: center !important
  }
}

.nav-link::after,
.navbar-nav .nav-link::after {
  bottom: 7px !important;
}

.nav-link,
.navbar-nav .nav-link {
  padding-bottom: 7px !important;
}

/* Header Navigation Centering Fix */
@media (min-width: 992px) {
  .navbar>.container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative !important;
    max-width: 1280px !important;
    padding: 0 15px !important;
    gap: 0 !important;
  }

  /* Ensure other elements don't take space */
  .navbar>.container>.navbar-brand,
  .navbar>.container>.mobile-menu-btn {
    display: none !important;
  }

  /* Logo */
  .navbar>.container>a:first-child {
    position: static !important;
    transform: none !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    z-index: 10 !important;
  }

  /* The menu container - takes all available middle space */
  .navbar-collapse {
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    width: auto !important;
    visibility: visible !important;
  }

  /* The menu list */
  .navbar-nav {
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(15px, 2.5vw, 32px) !important;
    position: static !important;
    transform: none !important;
    width: auto !important;
  }

  .navbar-nav .nav-item {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  .navbar-nav .nav-link {
    padding: 10px 0 !important;
    white-space: nowrap !important;
  }

  /* Right side button */
  .navbar .d-none.d-lg-flex.align-items-center,
  .navbar div[style*="position: absolute"][style*="right:"] {
    position: static !important;
    transform: none !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    z-index: 10 !important;
    right: auto !important;
  }
}

/* Popup Button Word Wrap Fix */
.lead-popup-btn {
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
  word-break: normal !important;
  hyphens: none !important;
  text-align: center !important;
  height: auto !important;
}

/* Restoring padding for works.html first block to prevent collision with global resets */
html body.inner-page .works-hero:first-of-type,
html body.inner-page main>section:first-of-type:not(.hero-static) {
  padding-top: clamp(42px, 6vh, 64px) !important;
  margin-top: 0 !important;
}

@media (max-width: 767px) {

  html body.inner-page .works-hero:first-of-type,
  html body.inner-page main>section:first-of-type:not(.hero-static) {
    padding-top: clamp(32px, 5vh, 48px) !important;
  }
}



/* Смещение текста в боковом блоке Hero после удаления кнопки */
.home-page .hero-side-content h2 {
  margin-top: 40px !important;
}

/* Поднимаем блок с отзывами чуть выше */
.home-page .hero-trust-row {
  margin-top: 40px !important;
}

/* ============================================================
   DISABLE ALL LAZY LOADING & SCROLL REVEAL (INSTANT LOAD)
   ============================================================ */

/* 1. Force all images to be processed immediately */
img {
  content-visibility: visible !important;
  loading: eager !important;
}

/* 2. Kill all scroll-reveal and AOS animations (make them instant) */
[data-aos],
[data-scroll-reveal],
[data-reveal],
[data-reveal-left],
[data-reveal-right],
.aos-init,
.section-revealed,
.always-visible,
.is-visible,
.why-left-reveal,
.why-card-reveal,
.sp-card-reveal,
.review-scroll-card,
.doctor-block-card-link,
.section-disabled,
.disabled-left,
.disabled-right {
  visibility: visible !important;
  transition: none !important;
}

/* 3. Ensure no content-visibility lag */
* {
  content-visibility: visible !important;
}

/* 4. Ensure clean white background during transitions and kill any darkening/fade animations */
html:not(.is-loaded),
html:not(.is-loaded) body,
.page-transitioning,
.page-transitioning body {
  background-color: #ffffff !important;
  background-image: none !important;
  animation: none !important;
}

.page-transitioning main {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: none !important;
}

/* 5. Force hardware acceleration for smooth scroll elements */
.doctor-block-card,
.service-card,
.work-card,
.review-card,
.card-custom {
  will-change: transform;
  transform: translateZ(0);
}

/* 6. Kill expensive effects that cause scroll lag */
* {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-shadow: none !important;
}

/* Фикс для удаления подчеркивания у ссылки разработчика (Сайт разработан: @vampkid) */
html body footer.footer .footer-bottom a.dev-credit-link,
html body footer.footer .footer-bottom a.dev-credit-link:hover,
html body footer.footer .footer-bottom a.dev-credit-link:focus,
html body footer.footer .footer-bottom a.dev-credit-link span,
html body footer.footer .footer-bottom a.dev-credit-link .vampkid-anim,
.footer-bottom a.dev-credit-link,
.dev-credit-link,
.vampkid-anim {
  text-decoration: none !important;
  border-bottom: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: none !important;
  background-image: none !important;
  outline: none !important;
  -webkit-text-decoration: none !important;
}

/* --- МАСШТАБИРОВАНИЕ НАВБАРА И МОБИЛЬНОГО МЕНЮ (x1.25) --- */
@media (max-width: 991.98px) {

  /* Логотип в навбаре и мобильном меню */
  .navbar .container>a:first-child img,
  .mobile-menu-header img {
    height: 73px !important;
    max-height: 73px !important;
  }

  .navbar>.container {
    min-height: 85px !important;
  }

  /* Кнопка открытия меню (бургер) */
  .mobile-menu-btn {
    width: 58px !important;
    height: 58px !important;
    gap: 6px !important;
  }

  .mobile-menu-btn span {
    width: 23px !important;
    height: 3px !important;
  }

  /* Шапка и футер мобильного меню */
  .mobile-menu-header {
    padding: 23px 25px !important;
  }

  .mobile-menu-footer {
    padding: 23px !important;
  }

  /* Ссылки на контакты в мобильном меню */
  .mobile-menu-contact a {
    font-size: 1.19rem !important;
  }

  .mobile-menu-contact i {
    font-size: 1.5rem !important;
  }

  /* Кнопка записи в мобильном меню */
  .mobile-menu-booking {
    font-size: 20px !important;
    min-height: 60px !important;
    padding: 15px 25px !important;
  }

  /* Кнопка закрытия меню */
  .mobile-menu-close {
    width: 53px !important;
    height: 53px !important;
  }

  .mobile-menu-close svg {
    width: 28px !important;
    height: 28px !important;
  }

  /* Ссылки на контакты в мобильном меню (повторное уточнение для иконок) */
  .mobile-menu-contact a {
    font-size: 1.19rem !important;
    gap: 15px !important;
  }

  .mobile-menu-contact i,
  .mobile-menu-contact svg {
    font-size: 1.5rem !important;
    width: 30px !important;
  }
}

/* --- Масштабирование контактов в верхней панели (Top Bar) --- */
.top-bar-text {
  font-size: 1.1rem !important;
  /* Увеличение с ~14px до ~17.5px (или с 0.85rem до 1.06rem) */
}

.top-bar-link svg,
.top-bar-link i {
  font-size: 1.45rem !important;
  /* Увеличение с 1.15rem до 1.44rem */
  width: auto !important;
}

@media (max-width: 991.98px) {
  .top-bar-link {
    gap: 10px !important;
  }
}

/* --- Отключение интерактивности для статических карточек акций --- */
.promo-card-static {
  cursor: default !important;
  /* Полное отключение всех событий мыши для гарантии */
}

.promo-card-static:hover {
  transform: none !important;
  box-shadow: var(--shadow-card) !important;
  border-color: var(--border) !important;
}

/* --- ГЛОБАЛЬНОЕ ИСПРАВЛЕНИЕ ВИДИМОСТИ БЛОКОВ --- */
/* Убираем принудительное opacity: 0 для всех блоков, которые могут быть скрыты старыми скриптами */
/* Используем очень специфичные селекторы, чтобы перекрыть любые старые стили */
html body [data-scroll-reveal]:not(.motion-in),
html body [data-reveal]:not(.motion-in),
html body [data-promo-reveal]:not(.motion-in),
html body [data-services-reveal]:not(.motion-in),
html body .reveal:not(.motion-in),
html body .reveal-delay-1:not(.motion-in),
html body .reveal-delay-2:not(.motion-in),
html body .reveal-delay-3:not(.motion-in),
html body [data-aos]:not(.motion-in) {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Если ViewMotion инициализирован, он сам применит нужные стили через [data-motion] */
[data-motion]:not(.motion-in) {
  /* Здесь мы НЕ ставим opacity 1, чтобы ViewMotion мог показать анимацию при скролле */
  /* Но если это НЕ мобилка, можно подстраховаться (опционально) */
}

/* Принудительная видимость для критических секций на всех страницах услуг */
html body .therapy-prices,
html body .therapy-benefits,
html body .cta-form-section,
html body .price-card,
html body .benefit-card,
html body .section-header {
  opacity: 1;
}

/* Убираем инлайновое opacity: 0 если оно не связано с новой анимацией */
html body [style*="opacity: 0"]:not([data-motion]),
html body [style*="opacity:0"]:not([data-motion]) {
  opacity: 1 !important;
}


/* Фикс для страницы политики конфиденциальности: сброс лишних отступов у body */
body.privacy-page {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* --- ULTIMATE SAFARI / IOS FLICKERING FIX FOR PREMIUM CARDS --- */
/* Forces Safari to keep cards on a hardware accelerated GPU layer and prevents flashing/flickering during animations or scroll */
html body .service-premium-card {
  -webkit-backface-visibility: hidden !important;
  backface-visibility: hidden !important;
  -webkit-transform-style: preserve-3d !important;
  transform-style: preserve-3d !important;
}

html body .service-premium-card * {
  -webkit-backface-visibility: hidden !important;
  backface-visibility: hidden !important;
  -webkit-transform-style: preserve-3d !important;
  transform-style: preserve-3d !important;
}

html body .sp-card-img {
  -webkit-backface-visibility: hidden !important;
  backface-visibility: hidden !important;
  -webkit-transform-style: preserve-3d !important;
  transform-style: preserve-3d !important;
  /* Forces proper rounded corners clipping on accelerated layers in Safari */
  -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
  mask-image: radial-gradient(white, black) !important;
  contain: paint !important;
}

html body .sp-card-img img {
  -webkit-backface-visibility: hidden !important;
  backface-visibility: hidden !important;
  -webkit-transform-style: preserve-3d !important;
  transform-style: preserve-3d !important;
}

/* --- BURGER MENU COMPACT OPTIMIZATION FOR SHORT VIEWPORTS (< 735px height) --- */
@media (max-height: 735px) {
  /* Ensure burger menu is a flexbox column with 100vh height */
  html body .mobile-menu {
    height: 100vh !important;
    height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* Make header slightly more compact to save vertical space */
  html body .mobile-menu-header {
    padding: 10px 20px !important;
    min-height: 52px !important;
    height: 52px !important;
  }
  
  html body .mobile-menu-header img {
    height: 36px !important;
    width: auto !important;
  }
  
  html body .mobile-menu-close {
    width: 36px !important;
    height: 36px !important;
  }
  
  html body .mobile-menu-close svg {
    width: 18px !important;
    height: 18px !important;
  }

  /* Keep standard nav scrollable, with vertical column layout */
  html body .mobile-menu-nav {
    flex: 1 !important;
    padding: 4px 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  /* Retain normal link spacing and font sizes */
  html body .mobile-menu-nav a {
    padding: 10px 24px !important;
    font-size: 1.1875rem !important;
    gap: 12px !important;
  }

  /* Maintain normal vertical column layout for footer (same as >735px) */
  html body .mobile-menu-footer {
    padding: 12px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    border-top: 1px solid #e8d8c4 !important;
    background: #fdf8f0 !important;
    flex-shrink: 0 !important;
  }
  
  /* Reset Grid styles */
  html body .mobile-menu-social,
  html body .mobile-menu-contact,
  html body .mobile-menu-booking {
    grid-column: auto !important;
    grid-row: auto !important;
  }
  
  /* Keep vertical contact links stack */
  html body .mobile-menu-contact {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    margin-bottom: 12px !important;
  }
  
  html body .mobile-menu-contact a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 5px 0 !important;
    font-size: 1rem !important;
    color: var(--text-main, #5C4033) !important;
  }
  
  html body .mobile-menu-contact a i {
    font-size: 1.05rem !important;
    width: 20px !important;
    text-align: center !important;
    color: var(--primary-dark, #6B4423) !important;
  }
  
  /* Keep horizontal socials below contacts */
  html body .mobile-menu-social {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
    align-items: center !important;
  }
  
  html body .mobile-menu-social a {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.15rem !important;
  }
  
  /* Keep standard booking button at the bottom of the footer stack */
  html body .mobile-menu-booking {
    width: 100% !important;
    padding: 12px !important;
    min-height: 44px !important;
    font-size: 0.95rem !important;
    border-radius: 12px !important;
    margin-top: 0 !important;
  }
}

/* --- BURGER MENU ULTRA-COMPACT FOR SUPER SHORT VIEWPORTS (< 593px height) --- */
@media (max-height: 593px) {
  html body .mobile-menu-footer {
    display: none !important;
  }
}

/* --- HERO IMAGE TAGS ZIGZAG LAYOUT (GLOBAL) --- */
html body .hero-image-tag-one,
html body .hero-image-tag-two,
html body .hero-image-tag-three,
html body .hero-image-tag-four {
  position: absolute !important;
  margin: 0 !important;
  align-self: auto !important;
}

html body .hero-image-tag-one {
  display: inline-flex !important;
  bottom: clamp(144px, 18vw, 180px) !important;
  left: clamp(12px, 8vw, 15%) !important;
  right: auto !important;
  transform: none !important;
  max-width: calc(100% - 24px) !important;
}
html body .hero-image-tag-two {
  display: inline-flex !important;
  bottom: clamp(104px, 13vw, 130px) !important;
  left: auto !important;
  right: clamp(12px, 8vw, 15%) !important;
  transform: none !important;
  max-width: calc(100% - 24px) !important;
}
html body .hero-image-tag-three {
  display: inline-flex !important;
  bottom: clamp(64px, 8vw, 80px) !important;
  left: clamp(12px, 8vw, 15%) !important;
  right: auto !important;
  transform: none !important;
  max-width: calc(100% - 24px) !important;
}
html body .hero-image-tag-four {
  display: inline-flex !important;
  bottom: clamp(24px, 3vw, 30px) !important;
  left: auto !important;
  right: clamp(12px, 8vw, 15%) !important;
  transform: none !important;
  max-width: calc(100% - 24px) !important;
}

/* ==========================================================================
   Mobile Menu Pinned Header & Hamburger Button Transitions
   ========================================================================== */
html.mobile-menu-open .navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1050 !important; /* Keep it fixed in background, below mobile menu overlay (3998) and menu (3999) */
  background: rgba(252, 250, 247, 0.94) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 10px 40px rgba(142, 152, 103, 0.08) !important;
}

/* Style mobile menu top padding and internal header since it overlays the navbar */
.mobile-menu {
  padding-top: 0 !important;
  -ms-overflow-style: none !important;  /* IE and Edge */
  scrollbar-width: none !important;  /* Firefox */
}

.mobile-menu::-webkit-scrollbar {
  display: none !important; /* Chrome, Safari and Opera */
}

.mobile-menu-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 24px !important;
  border-bottom: 1px solid rgba(142, 152, 103, 0.15) !important;
  background: transparent !important;
}

/* Animate hamburger to X when mobile menu is open */
.mobile-menu-btn span {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

html.mobile-menu-open .mobile-menu-btn span:nth-child(1) {
  transform: translateY(7px) rotate(45deg) !important;
}

html.mobile-menu-open .mobile-menu-btn span:nth-child(2) {
  opacity: 0 !important;
  transform: scale(0) !important;
}

html.mobile-menu-open .mobile-menu-btn span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg) !important;
}


