.site-submenu { position: relative; }
.site-submenu summary { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 9px; color: inherit; font-size: 15px; font-weight: 500; cursor: pointer; list-style: none; }
.site-submenu summary::-webkit-details-marker { display: none; }
.site-submenu .submenu-caret { width: 13px; height: 13px; margin-left: 2px; flex: 0 0 13px; transition: transform 180ms ease; }
.site-submenu[open] .submenu-caret { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .site-submenu .submenu-caret { transition: none; } }
.site-submenu summary:focus-visible { outline: 2px solid #b9a34d; outline-offset: 2px; }
.submenu-links { position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; min-width: 260px; max-width: min(360px, calc(100vw - 32px)); padding: 8px; color: #123e48; background: #fff; border: 1px solid #dce5e4; box-shadow: 0 12px 32px rgba(0,0,0,.14); }
.desktop-nav .submenu-links a { display: flex; height: auto; padding: 12px; color: #123e48; white-space: normal; line-height: 1.4; font-size: 14px; }
.desktop-nav .submenu-links a:hover { color: #123e48; background: #f1f5f4; }
.site-header.is-past-hero .site-submenu summary { color: #171d27; }
.is-inner-page { padding-top: var(--actual-header-height, 75px); }
.page-intro { padding-block: 32px 12px; }
.page-intro > a { color: #386b75; font-size: 14px; }
.page-intro h1 { margin: 18px 0 0; color: #103c42; font: 400 clamp(30px, 3vw, 48px)/1.2 'Shifo Manrope', Arial, sans-serif; }
.procedure-overview { padding: 0; background: radial-gradient(ellipse at 15% 0, #c7dcc0, transparent 48%), radial-gradient(ellipse at 85% 100%, #628c49, transparent 55%), linear-gradient(180deg, #e5eee0, #164e35); scroll-margin-top: -18px; }
.procedure-overview a { color: #103c42; }
.procedure-overview .procedure-collage { display: flex; justify-content: center; width: 100%; line-height: 0; }
.procedure-collage img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100svh - var(--actual-header-height, 75px)); object-fit: contain; }
@media (max-width: 700px) {
  .procedure-collage img { max-height: calc(100svh - var(--actual-header-height, 75px) - 72px); }
}
.social-overview { padding-block: 40px 48px; background: #fff; }
.social-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.social-links > a { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 24px 28px; min-height: 92px; color: #fff; }
.social-instagram { background: linear-gradient(110deg, #79546c, #b34c79); }
.social-dzen { background: #173d44; }
.social-links strong { font: 500 24px/1.2 'Shifo Manrope', Arial, sans-serif; }
.social-links span { font-size: 15px; }
.social-links a:focus-visible { outline: 3px solid #b9a34d; outline-offset: 4px; }
.site-footer { background: #fff; color: #39474c; border-top: 1px solid #e7ebe8; }
.site-footer .footer-brand, .site-footer .footer-links a { color: #142f37; }
.footer-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 36px; padding-top: 28px; border-top: 1px solid #e7ebe8; }
.footer-medical, .footer-social > p { margin: 0; font: 400 14px/1.6 'Shifo Manrope', Arial, sans-serif; text-transform: uppercase; }
.footer-medical { max-width: 520px; white-space: pre-line; }
.footer-social-links { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 10px; }
.footer-social-links a { display: inline-flex; align-items: center; min-height: 44px; color: #142f37; font-size: 15px; }
.footer-social-links a:focus-visible { outline: 2px solid #a18b48; outline-offset: 4px; }
@media (max-width: 700px) { .footer-bottom { grid-template-columns: 1fr; gap: 24px; } }
.mobile-panel { max-height: calc(100svh - var(--header-height) - 72px); overflow-y: auto; }
.mobile-nav .site-submenu { border-bottom: 1px solid #dce5e4; }
.mobile-nav .site-submenu summary { padding: 14px 0; justify-content: space-between; color: #123e48; font-weight: 600; }
.mobile-nav .submenu-links { position: static; min-width: 0; max-width: none; padding: 0 0 10px 12px; border: 0; box-shadow: none; background: transparent; }
.mobile-nav .submenu-links a { padding: 10px 0; font-size: 14px; }
@media (max-width: 700px) {
  .social-links { gap: 12px; }
  .social-links > a { padding: 20px 16px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .social-links strong { font-size: 22px; }
  .social-links span { font-size: 12px; overflow-wrap: anywhere; }
}

/* Shared preview footer location and copy feedback. */
.footer-coordinate-row { flex-wrap: nowrap; max-width: 100%; }
.footer-coordinate-row .map-coordinates { display: block; min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; line-height: 1.6; }
.footer-coordinate-row .copy-coordinate-btn { flex: 0 0 38px; }
.footer-coordinate-row .copy-coordinate-btn .copy-icon-check { display: none; }
.footer-coordinate-row .copy-coordinate-btn.is-copied .copy-icon-check { display: block; }
.footer-copy-status { min-height: 1.4em; margin: 2px 0 0; font-size: 12px; color: #0e4f5c; }
.footer-site-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-site-link:focus-visible { outline: 2px solid #a18b48; outline-offset: 4px; }
.footer-brand-copy { display: grid; gap: 4px; min-width: 0; }
.footer-brand-copy .footer-site-link { width: fit-content; font: 400 15px/1.4 'Shifo Manrope', Arial, sans-serif; overflow-wrap: anywhere; }
.footer-medical > span { display: block; }

/* Footer map, phone contacts and full-size original logo. */
.site-footer .footer-logo { width: 112px; height: auto; flex: 0 0 112px; padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
.footer-coordinate-row a.map-coordinates { text-decoration: underline; text-underline-offset: 3px; }
.footer-phones { display: grid; gap: 2px; margin-top: 8px; }
.footer-phone-row { display: flex; align-items: center; gap: 8px; }
.footer-phone-row > a { color: inherit; font-size: 15px; text-decoration: none; }
.footer-phone-row > a:hover { text-decoration: underline; }
.footer-phone-row .copy-coordinate-btn { flex: 0 0 38px; }
.footer-phone-row .copy-coordinate-btn .copy-icon-check { display: none; }
.footer-phone-row .copy-coordinate-btn.is-copied .copy-icon-check { display: block; }
.footer-phone-row > a:focus-visible, .footer-coordinate-row a:focus-visible { outline: 2px solid #a18b48; outline-offset: 4px; }

/* Preserve social links in the final footer grid column after moving the notice. */
.footer-bottom > .footer-social { grid-column: -2; }

/* Keep the email contact readable within the wrapping social links. */
.footer-social-links .footer-email { max-width: 100%; min-width: 0; }
.footer-email > span { min-width: 0; overflow-wrap: anywhere; }

/* Keep desktop social contacts directly below the footer navigation. */
@media (min-width: 760px) {
  .footer-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto 1fr; gap: 40px 32px; width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
  .footer-layout > .footer-grid, .footer-layout > .footer-bottom { display: contents; }
  .footer-layout .footer-grid > div { grid-column: 1; grid-row: 1 / 3; }
  .footer-layout .footer-links { grid-column: 2; grid-row: 1; align-self: start; }
  .footer-layout .footer-social { grid-column: 2; grid-row: 2; align-self: start; }
  .footer-layout .footer-email { flex-basis: 100%; margin-top: 12px; }
}

/* Keep the chat button and its 8px pulse clear of the measured mobile CTA. */
@media (max-width: 759px) {
  .b24-widget-button-wrapper.b24-widget-button-position-bottom-right {
    bottom: calc(var(--mobile-cta-height, calc(72px + env(safe-area-inset-bottom, 0px))) + 24px) !important;
  }
  .bx-livechat-wrapper.bx-livechat-position-bottom-right {
    left: auto !important;
    right: 16px !important;
    width: min(340px, calc(100% - 32px)) !important;
    bottom: calc(var(--mobile-cta-height, calc(72px + env(safe-area-inset-bottom, 0px))) + 24px) !important;
    max-height: calc(100dvh - var(--mobile-cta-height, 72px) - var(--actual-header-height, 74px) - 48px);
  }
}
