/* PREVENT_MOBILE_HORIZONTAL_SCROLL */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: clip !important;
  overscroll-behavior-x: none !important;
}
@media (max-width: 1023px) {
  html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
    position: relative !important;
  }
}
/* ================= DIORY NAILSLAB - LUXURY ANIMATIONS & STYLES ================= */

/* Prevent horizontal shift / wobble on mobile devices */
html {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: clip !important;
  overscroll-behavior-x: none !important;
  scroll-behavior: auto !important;
}

html.lenis, html.lenis body {
  font-family: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  /* Scroll is halted via JS in Lenis, avoid overflow:hidden breaking position:sticky */
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  font-family: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  width: 100% !important;
  max-width: 100vw !important;
  overscroll-behavior-x: none !important;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #FFF8F6;
}
::-webkit-scrollbar-thumb {
  background: #F89B88;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #E87060;
}

/* ================= KEYFRAME ANIMATIONS ================= */

/* 1. Gentle Floating Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-float-slow {
  animation: float 6s ease-in-out infinite;
}

/* 2. Pulse Glow for CTA Buttons */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 112, 96, 0.6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(232, 112, 96, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(232, 112, 96, 0);
  }
}

.animate-pulse-glow {
  animation: pulseGlow 2.5s infinite;
}

/* 3. Gold Shimmer Light Sweep Effect */
@keyframes shimmerSweep {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.shimmer-btn {
  background-size: 200% auto;
  transition: all 0.4s ease;
}

.shimmer-btn:hover {
  background-position: right center;
  box-shadow: 0 12px 25px -5px rgba(232, 112, 96, 0.45);
}

/* 4. Sparkle Spin & Glow */
@keyframes sparkleSpin {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: rotate(180deg) scale(1.15);
    opacity: 1;
    color: #dfb76c;
  }
  100% {
    transform: rotate(360deg) scale(1);
    opacity: 0.85;
  }
}

.fa-sparkles, .animate-sparkle {
  display: inline-block;
  animation: sparkleSpin 5s linear infinite;
}

/* 5. Smooth Fade In */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 5.1 Whole Trust Card Luxury Entrance */
@keyframes trustCardEntrance {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.trust-card-entrance {
  opacity: 0;
  animation: trustCardEntrance 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* 6. Card Hover Depth Effect */
.luxury-card {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.luxury-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px -10px rgba(232, 112, 96, 0.18), 0 8px 15px -4px rgba(0, 0, 0, 0.05);
  border-color: #FCD8D2;
}

/* 7. Image Ken-Burns Zoom On Hover */
.zoom-image-container {
  overflow: hidden;
}

.zoom-image-container img {
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.zoom-image-container:hover img {
  transform: scale(1.08);
}

/* 8. Glowing Border Badge */
.badge-glow {
  position: relative;
}
.badge-glow::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(223, 183, 108, 0.5), rgba(232, 112, 96, 0.2));
  z-index: -1;
  filter: blur(4px);
  opacity: 0.7;
}

/* ================= SWIPER STYLING ================= */

.heroSwiper {
  height: 580px;
  overflow: hidden !important;
  touch-action: pan-y !important;
  width: 100% !important;
  max-width: 100% !important;
}
@media (min-width: 1024px) {
  .heroSwiper {
    height: 640px;
  }
}
.heroSwiper .swiper-wrapper {
  touch-action: pan-y !important;
  height: 100% !important;
}
.heroSwiper .swiper-slide {
  height: 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  touch-action: pan-y !important;
  overflow: hidden !important;
}

.hero-pagination {
  bottom: 54px !important;
  z-index: 35 !important;
}
@media (min-width: 640px) {
  .hero-pagination {
    bottom: 60px !important;
  }
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.6) !important;
  opacity: 0.7 !important;
  width: 10px !important;
  height: 10px !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.swiper-pagination-bullet-active {
  background: #DFB76C !important;
  width: 32px !important;
  border-radius: 9999px !important;
  opacity: 1 !important;
  box-shadow: 0 2px 8px rgba(223, 183, 108, 0.5);
}

.testSwiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.3) !important;
}

.testSwiper .swiper-pagination-bullet-active {
  background: #E87060 !important;
}

/* ================= TAB BUTTON STATES ================= */

.service-tab-btn {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-tab-btn.active {
  background-color: #E87060;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(232, 112, 96, 0.35);
  transform: translateY(-2px);
}

.service-tab-btn:not(.active) {
  background-color: #FDEBE7;
  color: #B54236;
}

.service-tab-btn:not(.active):hover {
  background-color: #FCD8D2;
  transform: translateY(-1px);
}

.city-tab-btn {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.city-tab-btn.active {
  background-color: #141213;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(43, 33, 28, 0.25);
  transform: translateY(-2px);
}

.city-tab-btn:not(.active) {
  background-color: #FDEBE7;
  color: #B54236;
}

.city-tab-btn:not(.active):hover {
  background-color: #FCD8D2;
  transform: translateY(-1px);
}

/* 11. Branch Items Animation & Hover */
@keyframes branchFadeUp {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.branch-item {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  will-change: transform, opacity;
}

.branch-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px -8px rgba(232, 112, 96, 0.18), 0 4px 10px -2px rgba(0, 0, 0, 0.04);
  border-color: #F9BAAF;
}

.branch-item:hover .branch-dot {
  transform: scale(1.2);
}

.branch-item:hover .branch-book-btn {
  color: #D85848;
  transform: translateX(3px);
}

/* 12. Cross-browser & iOS Form Layout Fix */
input[type="date"] {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  display: block !important;
  -webkit-appearance: none;
  appearance: none;
}

input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
}

/* 13. Luxury Custom Select Component Styles */
.custom-select-scrollbar::-webkit-scrollbar {
  width: 5px;
}
.custom-select-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}
.custom-select-scrollbar::-webkit-scrollbar-thumb {
  background: #FDEBE7;
  border-radius: 9999px;
}
.custom-select-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #F89B88;
}

/* 14. Lowkeyprod Signature Dropdown & Stagger Animation */
.lowkey-dropdown,
.luxury-dropdown-menu,
.nav-services-dropdown,
#customServiceMenu,
#customBranchMenu,
#customInquiryBranchMenu,
#customInquiryServiceMenu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transform-origin: top center;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
  box-shadow: 0 12px 35px -5px rgba(232, 112, 96, 0.18), 0 8px 20px -6px rgba(0, 0, 0, 0.08);
}

.nav-services-dropdown {
  transform-origin: top left;
}

/* Open State */
.lowkey-dropdown.open,
.luxury-dropdown-menu.open,
#customServiceMenu.open,
#customBranchMenu.open,
#customInquiryBranchMenu.open,
#customInquiryServiceMenu.open,
.group:hover > .nav-services-dropdown,
.nav-services-dropdown.open {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
}

/* Staggered Item Children - Closed State */
.lowkey-dropdown > *,
.luxury-dropdown-menu > *,
.nav-services-dropdown > *,
#customServiceMenu > *,
#customBranchMenu > *,
#customInquiryBranchMenu > *,
#customInquiryServiceMenu > * {
  opacity: 0;
  transform: translateX(6px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

/* Staggered Item Children - Open State */
.lowkey-dropdown.open > *,
.luxury-dropdown-menu.open > *,
#customServiceMenu.open > *,
#customBranchMenu.open > *,
#customInquiryBranchMenu.open > *,
#customInquiryServiceMenu.open > *,
.group:hover > .nav-services-dropdown > *,
.nav-services-dropdown.open > * {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger Delay Cascade (Lowkeyprod Style) */
.lowkey-dropdown.open > *:nth-child(1),
.luxury-dropdown-menu.open > *:nth-child(1),
#customServiceMenu.open > *:nth-child(1),
#customBranchMenu.open > *:nth-child(1),
#customInquiryBranchMenu.open > *:nth-child(1),
#customInquiryServiceMenu.open > *:nth-child(1),
.group:hover > .nav-services-dropdown > *:nth-child(1),
.nav-services-dropdown.open > *:nth-child(1) {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s 0.03s, transform 0.2s 0.03s;
}

.lowkey-dropdown.open > *:nth-child(2),
.luxury-dropdown-menu.open > *:nth-child(2),
#customServiceMenu.open > *:nth-child(2),
#customBranchMenu.open > *:nth-child(2),
#customInquiryBranchMenu.open > *:nth-child(2),
#customInquiryServiceMenu.open > *:nth-child(2),
.group:hover > .nav-services-dropdown > *:nth-child(2),
.nav-services-dropdown.open > *:nth-child(2) {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s 0.06s, transform 0.2s 0.06s;
}

.lowkey-dropdown.open > *:nth-child(3),
.luxury-dropdown-menu.open > *:nth-child(3),
#customServiceMenu.open > *:nth-child(3),
#customBranchMenu.open > *:nth-child(3),
#customInquiryBranchMenu.open > *:nth-child(3),
#customInquiryServiceMenu.open > *:nth-child(3),
.group:hover > .nav-services-dropdown > *:nth-child(3),
.nav-services-dropdown.open > *:nth-child(3) {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s 0.09s, transform 0.2s 0.09s;
}

.lowkey-dropdown.open > *:nth-child(4),
.luxury-dropdown-menu.open > *:nth-child(4),
#customServiceMenu.open > *:nth-child(4),
#customBranchMenu.open > *:nth-child(4),
#customInquiryBranchMenu.open > *:nth-child(4),
#customInquiryServiceMenu.open > *:nth-child(4),
.group:hover > .nav-services-dropdown > *:nth-child(4),
.nav-services-dropdown.open > *:nth-child(4) {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s 0.12s, transform 0.2s 0.12s;
}

.lowkey-dropdown.open > *:nth-child(5),
.luxury-dropdown-menu.open > *:nth-child(5),
#customServiceMenu.open > *:nth-child(5),
#customBranchMenu.open > *:nth-child(5),
#customInquiryBranchMenu.open > *:nth-child(5),
#customInquiryServiceMenu.open > *:nth-child(5),
.group:hover > .nav-services-dropdown > *:nth-child(5),
.nav-services-dropdown.open > *:nth-child(5) {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s 0.15s, transform 0.2s 0.15s;
}

.lowkey-dropdown.open > *:nth-child(6),
.luxury-dropdown-menu.open > *:nth-child(6),
#customServiceMenu.open > *:nth-child(6),
#customBranchMenu.open > *:nth-child(6),
#customInquiryBranchMenu.open > *:nth-child(6),
#customInquiryServiceMenu.open > *:nth-child(6),
.group:hover > .nav-services-dropdown > *:nth-child(6),
.nav-services-dropdown.open > *:nth-child(6) {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s 0.18s, transform 0.2s 0.18s;
}

.lowkey-dropdown.open > *:nth-child(7),
.luxury-dropdown-menu.open > *:nth-child(7),
#customServiceMenu.open > *:nth-child(7),
#customBranchMenu.open > *:nth-child(7),
#customInquiryBranchMenu.open > *:nth-child(7),
#customInquiryServiceMenu.open > *:nth-child(7),
.group:hover > .nav-services-dropdown > *:nth-child(7),
.nav-services-dropdown.open > *:nth-child(7) {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s 0.21s, transform 0.2s 0.21s;
}

.lowkey-dropdown.open > *:nth-child(8),
.luxury-dropdown-menu.open > *:nth-child(8),
#customServiceMenu.open > *:nth-child(8),
#customBranchMenu.open > *:nth-child(8),
#customInquiryBranchMenu.open > *:nth-child(8),
#customInquiryServiceMenu.open > *:nth-child(8),
.group:hover > .nav-services-dropdown > *:nth-child(8),
.nav-services-dropdown.open > *:nth-child(8) {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s 0.24s, transform 0.2s 0.24s;
}

.lowkey-dropdown.open > *:nth-child(9),
.luxury-dropdown-menu.open > *:nth-child(9),
#customServiceMenu.open > *:nth-child(9),
#customBranchMenu.open > *:nth-child(9),
#customInquiryBranchMenu.open > *:nth-child(9),
#customInquiryServiceMenu.open > *:nth-child(9),
.group:hover > .nav-services-dropdown > *:nth-child(9),
.nav-services-dropdown.open > *:nth-child(9) {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s 0.27s, transform 0.2s 0.27s;
}

.lowkey-dropdown.open > *:nth-child(10),
.luxury-dropdown-menu.open > *:nth-child(10),
#customServiceMenu.open > *:nth-child(10),
#customBranchMenu.open > *:nth-child(10),
#customInquiryBranchMenu.open > *:nth-child(10),
#customInquiryServiceMenu.open > *:nth-child(10),
.group:hover > .nav-services-dropdown > *:nth-child(10),
.nav-services-dropdown.open > *:nth-child(10) {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s 0.30s, transform 0.2s 0.30s;
}

.lowkey-dropdown.open > *:nth-child(11),
.luxury-dropdown-menu.open > *:nth-child(11),
#customServiceMenu.open > *:nth-child(11),
#customBranchMenu.open > *:nth-child(11),
#customInquiryBranchMenu.open > *:nth-child(11),
#customInquiryServiceMenu.open > *:nth-child(11),
.group:hover > .nav-services-dropdown > *:nth-child(11),
.nav-services-dropdown.open > *:nth-child(11) {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s 0.33s, transform 0.2s 0.33s;
}

.lowkey-dropdown.open > *:nth-child(12),
.luxury-dropdown-menu.open > *:nth-child(12),
#customServiceMenu.open > *:nth-child(12),
#customBranchMenu.open > *:nth-child(12),
#customInquiryBranchMenu.open > *:nth-child(12),
#customInquiryServiceMenu.open > *:nth-child(12),
.group:hover > .nav-services-dropdown > *:nth-child(12),
.nav-services-dropdown.open > *:nth-child(12) {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s 0.36s, transform 0.2s 0.36s;
}

/* Item Hover Effect (slide 3-4px to the right for custom select dropdowns only) */
.lowkey-dropdown a:hover,
.lowkey-dropdown button:hover,
.luxury-dropdown-menu a:hover,
.luxury-dropdown-menu button:hover,
#customServiceMenu button:hover,
#customBranchMenu button:hover,
#customInquiryBranchMenu button:hover,
#customInquiryServiceMenu button:hover {
  transform: translateX(4px) !important;
}

.nav-services-dropdown a:hover {
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .lowkey-dropdown,
  .luxury-dropdown-menu,
  .nav-services-dropdown,
  #customServiceMenu,
  #customBranchMenu,
  #customInquiryBranchMenu,
  #customInquiryServiceMenu,
  .lowkey-dropdown > *,
  .luxury-dropdown-menu > *,
  .nav-services-dropdown > *,
  #customServiceMenu > *,
  #customBranchMenu > *,
  #customInquiryBranchMenu > *,
  #customInquiryServiceMenu > * {
    transition: none !important;
    transform: none !important;
  }
}

/* 15. Smooth FAQ Accordion Expansion */
.faq-content-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  opacity: 0;
}

.faq-content-wrapper.active {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-content-inner {
  overflow: hidden;
}

/* 16. Luxury Booking Modal Animated Transition (Open & Close) */
#bookingModal {
  z-index: 100 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, visibility;
}

#bookingModal .booking-modal-card,
#bookingModal > div {
  opacity: 0;
  transform: scale(0.93) translateY(20px);
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

#bookingModal.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

#bookingModal.open .booking-modal-card,
#bookingModal.open > div {
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
}

@media (prefers-reduced-motion: reduce) {
  #bookingModal,
  #bookingModal .booking-modal-card,
  #bookingModal > div {
    transition: none !important;
    transform: none !important;
  }
}

/* Minimalist Typography Overrides */
.font-script {
  font-family: 'Montserrat', 'Inter', sans-serif !important;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Mobile Drawer Fixed Layout & Smooth Touch Scroll */
#mobileDrawer {
  overscroll-behavior: contain !important;
}
#drawerPanel {
  max-height: 100vh !important;
  max-height: 100dvh !important;
  height: 100% !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  overscroll-behavior-y: contain !important;
}
.drawer-nav-scroll {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  overflow-x: clip !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-y !important;
  overscroll-behavior-y: contain !important;
}


/* ================= LANDING PAGE - MÀU KHỐI LỆCH VÀ NỔI BẬT SO VỚI NỀN (BLOCK ELEVATION & CONTRAST) ================= */
.landing-block-shadow,
body.home-page #home .aspect-\[4\/3\],
body.home-page .usp-block,
body.home-page #core-courses #coreCoursesContainer > div,
body.home-page #why-diory .grid > div,
body.home-page #why-diory .rounded-3xl,
body.home-page #services article,
body.home-page #services .rounded-3xl,
body.home-page #su-kien .min-w-0,
body.home-page #su-kien .aspect-\[4\/3\],
body.home-page #blog article,
body.home-page #homeBlogCardsGrid > article,
body.home-page #branches .branch-card,
body.home-page #homeMapWrapper > div {
  background-color: #FFFFFF !important;
  box-shadow: 0 10px 28px -4px rgba(216, 88, 72, 0.12), 0 4px 10px -2px rgba(43, 33, 28, 0.05), 0 0 0 1px rgba(249, 186, 175, 0.8) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;
}

/* Khối trong các section nâu (Quy trình UV & Đánh giá) - lệch màu sẫm có chiều sâu */
body.home-page #quy-trinh-uv .grid > div,
body.home-page #danh-gia .swiper-slide figure,
body.home-page #danh-gia .swiper-slide > div {
  background: rgba(36, 25, 20, 0.65) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 14px 35px -5px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.14) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;
}

/* Hover elevation: Nổi bật mạnh hơn khi di chuột */
body.home-page #core-courses #coreCoursesContainer > div:hover,
body.home-page #why-diory .grid > div:hover,
body.home-page #services article:hover,
body.home-page #blog article:hover,
body.home-page #homeBlogCardsGrid > article:hover,
body.home-page #branches .branch-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 18px 36px -6px rgba(216, 88, 72, 0.18), 0 6px 14px -2px rgba(43, 33, 28, 0.08), 0 0 0 1.5px rgba(232, 112, 96, 0.9) !important;
}

body.home-page #quy-trinh-uv .grid > div:hover,
body.home-page #danh-gia .swiper-slide figure:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(232, 112, 96, 0.6) !important;
  box-shadow: 0 18px 40px -5px rgba(0, 0, 0, 0.55), 0 0 0 1.5px rgba(232, 112, 96, 0.5) !important;
}

/* ================= NÚT BẤM HIỆU ỨNG GRADIENT NHẸ (SUBTLE BUTTON GRADIENT) ================= */
.btn-gradient,
a.bg-brand-500,
button.bg-brand-500,
a[class*="bg-brand-500"],
button[class*="bg-brand-500"],
.bg-gradient-to-r.from-brand-500.to-brand-600 {
  background-image: linear-gradient(135deg, #F89B88 0%, #E26656 100%) !important;
  background-color: #E87060 !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

a.bg-brand-500:hover,
button.bg-brand-500:hover,
a[class*="bg-brand-500"]:hover,
button[class*="bg-brand-500"]:hover,
.bg-gradient-to-r.from-brand-500.to-brand-600:hover {
  background-image: linear-gradient(135deg, #F9A594 0%, #D85646 100%) !important;
  box-shadow: 0 8px 24px -4px rgba(232, 112, 96, 0.45) !important;
}

a.bg-brand-500:active,
button.bg-brand-500:active,
a[class*="bg-brand-500"]:active,
button[class*="bg-brand-500"]:active {
  background-image: linear-gradient(135deg, #E67767 0%, #CB4738 100%) !important;
}

/* Lighter warm brown gradient for Footer & UV Waterless */
.bg-brown-gradient {
  background: linear-gradient(135deg, #5A453D 0%, #46342D 50%, #362620 100%) !important;
}

/* ================= AUTO-RESPONSIVE CONTENT & SCREEN DETECTOR ================= */
:root {
  --app-vh: 1vh;
  --app-vw: 1vw;
}

/* Ngăn tràn khung ngang không mong muốn trên toàn bộ thiết bị */
html, body {
  max-width: 100%;
  overflow-x: clip;
}

/* Tự động cân đối dòng cho tiêu đề tránh chữ mồ côi */
h1, h2, h3, .heading-balanced {
  text-wrap: balance;
}

/* Khung cuộn mượt cho bảng khi màn hình nhỏ */
.auto-responsive-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
  border-radius: 1rem;
}

/* Ảnh & Iframe tự co giãn mượt mà theo container */
img, video, iframe {
  max-width: 100%;
}


/* ================= LANDING PAGE DISPLAY SETTINGS ================= */
/* Disable animations on landing page */
.home-page,
.home-page *,
.home-page *::before,
.home-page *::after {
  animation: none !important;
  animation-duration: 0s !important;
  animation-delay: 0s !important;
}

.home-page [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}


/* ================= TUITION PRICE NUMBER TYPOGRAPHY ================= */
/* Synchronized 100% with Admin Live Preview */
.tuition-price,
.font-extrabold.text-brand-600 {
  font-family: 'Montserrat', 'Inter', system-ui, -apple-system, sans-serif !important;
  font-weight: 800 !important;
  font-variant-numeric: tabular-nums lining-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ================= LANDING PAGE SECTION TONAL GRADATIONS ================= */
/* Nuanced Korean luxury spa tones: soft blush white, pure white */
#services {
  background-color: #FFFFFF;
}
#quy-trinh-uv {
  background-color: #FFF5F2;
}
#academy-intro {
  background-color: #FFFFFF;
}
#lookbook {
  background-color: #FFF5F2;
}
#community-values {
  background-color: #FFFFFF;
}
#booking-cta-section {
  background-color: #FFF8F6;
}

/* ================= TYPOGRAPHY & LEGIBILITY ENHANCEMENTS ================= */
/* Cải thiện độ rõ nét và độ dày cho các đoạn văn bản (không ảnh hưởng icon) */
.font-light {
  font-weight: 500 !important;
}

/* Đảm bảo màu chữ xám đậm đà, tương phản tốt */
.text-neutral-700 {
  color: #2D241F;
}

.text-neutral-600 {
  color: #372E28;
}

.text-neutral-500 {
  color: #4A3E38;
}

.text-neutral-400 {
  color: #65554D;
}

/* Chỉ áp dụng độ dày cho các đoạn văn bản chữ xám thực tế, tuyệt đối không áp dụng lên thẻ <i> (icon) */
p.text-neutral-600,
p.text-neutral-500,
p.text-neutral-400,
li.text-neutral-600,
li.text-neutral-500,
li.text-neutral-400 {
  font-weight: 500;
}

/* ================= FONT AWESOME ICONS PROTECTION ================= */
/* Bảo vệ tuyệt đối FontAwesome icons để không bao giờ bị đè font-family hay font-weight */
.fa, .fas, .fa-solid, [class*="fa-solid"] {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal !important;
}

.fa-brands, .fab, [class*="fa-brands"] {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
  font-style: normal !important;
}

.fa-regular, .far, [class*="fa-regular"] {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 400 !important;
  font-style: normal !important;
}

/* Trang Điều khoản & Chính sách bảo mật (Legal Pages) */
.legal-article {
  font-family: "Montserrat", "Inter", system-ui, sans-serif;
  color: #241C18 !important;
}

.legal-article p,
.legal-article li {
  font-weight: 500;
  line-height: 1.75;
  color: #322823 !important;
}

.legal-article strong {
  font-weight: 700;
  color: #1A120E !important;
}
