/* AN NHA — Modern Medical Luxury Custom Stylesheet */

/* Demo-site top notice banner */
.demo-notice {
  background: #1e3a8a;
  color: #fff;
}

.demo-notice-inner {
  width: 92%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 9px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  text-align: center;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

.demo-notice p {
  margin: 0;
}

.demo-notice strong {
  font-weight: 700;
}

.demo-notice-logo {
  width: 42px;
  height: auto;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

@media (max-width: 480px) {
  .demo-notice-inner {
    padding: 8px 4px;
    font-size: 12px;
    gap: 8px;
    flex-wrap: nowrap;
    text-align: left;
  }

  .demo-notice-logo {
    width: 30px;
  }
}

.material-symbols-outlined {
  display: inline-block;
  width: 1em;
  height: 1em;
  line-height: 1 !important;
  box-sizing: content-box;
  overflow: hidden;
  white-space: nowrap;
  direction: ltr;
  vertical-align: middle;
}

.ambient-shadow {
  box-shadow: 0 12px 32px -8px rgba(15, 76, 92, 0.08);
}

.ambient-shadow-lg {
  box-shadow: 0 20px 44px -12px rgba(15, 76, 92, 0.14);
}

/* Pricing row & detail drawer transitions */
.pricing-item {
  cursor: pointer;
}

#service-detail-card {
  transform-origin: center center;
  backface-visibility: hidden;
}

/* FAQ smooth accordion */
.faq-panel {
  display: grid;
  transition: grid-template-rows 420ms cubic-bezier(0.22, 1, 0.36, 1), opacity 340ms ease;
}

.faq-panel > div {
  overflow: hidden;
}

.faq-icon {
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Mobile drawer transitions */
body.menu-open,
body.drawer-open {
  overflow: hidden;
}

body.menu-open #page-top-btn,
body.drawer-open #page-top-btn {
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
