/* ==========================================================================
   MAIN LAYOUT & ENTRY POINT — Nha Khoa Sơn (Editorial / Beauty Style)
   ========================================================================== */

/* 1. Import Tokens & Component Library */
@import url('./tokens.css');
@import url('./components.css');

/* ------------------------------------------------------------------------
   2. GLOBAL RESETS & OVERFLOW SAFEGUARDS (Mobile-First 100%)
   ------------------------------------------------------------------------ */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

/* Accessibility: Disable all animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  background-color: var(--color-bg-main);
  color: var(--color-neutral-900);
  font-family: var(--font-family-body);
  line-height: var(--line-height-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Base typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-display);
  margin: 0;
  color: var(--color-neutral-900);
}

p {
  margin: 0 0 var(--space-4) 0;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Responsive media safeguards */
img, picture, video, svg, iframe {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* ------------------------------------------------------------------------
   3. CONTAINER & SECTION LAYOUT
   ------------------------------------------------------------------------ */

.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2.5rem);
  padding-right: clamp(1rem, 4vw, 2.5rem);
}

section {
  width: 100%;
  position: relative;
}

section:not(#hero) {
  overflow-x: hidden;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mx-auto { margin-left: auto; margin-right: auto; }



/* ------------------------------------------------------------------------
   4.5 GLOBAL SECTION SPACING
   ------------------------------------------------------------------------ */
section[id] {
  /* Removed scroll-margin-top because header is transparent, 
     sections should scroll to the very top so their top padding sits behind the glass */
}

/* ------------------------------------------------------------------------
   5. HEADER & NAVIGATION
   ------------------------------------------------------------------------ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-header);
  transition: all var(--transition-normal);
  background: transparent;
  border-bottom: none;
  mix-blend-mode: difference;
  color: var(--color-contrast-white);
  pointer-events: none; /* Let clicks pass through empty areas */
}

/* Separate Glassmorphism Background Layer (Must be sibling to avoid breaking difference blend) */
.site-header-glass {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px; /* Approximate header height */
  z-index: 99; /* Just behind the header */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  /* Mask fades from solid black (full blur) to transparent (no blur) */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  transition: backdrop-filter var(--transition-normal);
  pointer-events: none;
}

.site-header-glass--transparent {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Re-enable pointer events for interactive elements */
.site-header .brand-logo,
.site-header .nav-link,
.site-header .lang-switcher,
.site-header .btn-header,
.site-header #mobile-menu-btn {
  pointer-events: auto;
}

/* Hamburger button — 44x44px touch target, ONLY on mobile */
#mobile-menu-btn {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-contrast-white);
}
/* Force hide on desktop regardless of Tailwind */
@media (min-width: 1024px) {
  #mobile-menu-btn {
    display: none !important;
  }
  .mobile-menu-drawer {
    display: none !important;
  }
}

.brand-logo {
  font-family: var(--font-family-display);
  font-size: 1.5rem;
  font-weight: var(--font-weight-regular);
  line-height: 1.1;
  letter-spacing: var(--letter-spacing-normal);
  color: var(--color-contrast-white);
  text-transform: uppercase;
}

.brand-logo span {
  color: inherit;
}

.nav-link {
  position: relative;
  font-family: var(--font-family-heading);
  font-size: 0.85rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-contrast-white);
  transition: opacity var(--transition-fast);
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1.5px;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background-color: currentColor;
  transition: width var(--transition-normal);
}
.nav-link:hover {
  opacity: 0.7;
}

.lang-switcher {
  color: var(--color-contrast-white);
}

.lang-btn.active {
  font-weight: bold;
}

/* ------------------------------------------------------------------------
   BUTTON COMPONENTS
   ------------------------------------------------------------------------ */
.btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: transparent;
  color: var(--color-contrast-white);
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-family: var(--font-family-heading);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition-normal);
  border: 1px solid var(--color-contrast-white);
  white-space: nowrap;
  text-decoration: none;
}
.btn-header:hover {
  background-color: var(--color-contrast-white);
  color: var(--color-contrast-black);
}

.btn-pill-black {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--color-contrast-black);
  color: var(--color-contrast-white);
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-family: var(--font-family-heading);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition-normal);
  border: 1px solid var(--color-contrast-black);
  white-space: nowrap;
  text-decoration: none;
}
.btn-pill-black:hover {
  background-color: transparent;
  color: var(--color-contrast-black);
}

.btn-pill-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--color-contrast-white);
  color: var(--color-contrast-black);
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-family: var(--font-family-heading);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition-normal);
  border: 1px solid var(--color-contrast-white);
  white-space: nowrap;
  text-decoration: none;
}
.btn-pill-white:hover {
  background-color: transparent;
  color: var(--color-contrast-white);
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform var(--transition-normal);
}
.btn-pill-black:hover .btn-icon,
.btn-pill-white:hover .btn-icon {
  transform: translateX(4px);
}
.nav-link:hover::after {
  width: 100%;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-family-heading);
  font-size: 0.85rem;
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.08em;
  color: var(--color-contrast-white);
  transition: color var(--transition-normal);
}
.lang-btn {
  opacity: 1;
  font-weight: var(--font-weight-regular);
  transition: all var(--transition-fast);
}
.lang-btn:hover {
  font-weight: var(--font-weight-medium);
}
.lang-btn.active {
  font-weight: var(--font-weight-bold);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.lang-divider {
  opacity: 0.3;
  font-weight: 300;
}

/* Mobile Menu Drawer — FULL SCREEN overlay, sibling of header */
.mobile-menu-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh; /* Full screen height */
  z-index: 98;
  background-color: #ffffff;
  padding: 0;
  overflow-y: auto;
  mix-blend-mode: normal;
  isolation: isolate;
}

.mobile-menu-drawer.is-active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 2rem 3rem 2rem; /* top = header height + extra */
}

/* Mobile Navigation Links — large editorial style */
.mobile-nav-link {
  display: block;
  font-family: var(--font-family-display);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--color-neutral-900);
  text-decoration: none;
  padding: 0.75rem 0;
  line-height: 1.2;
  transition: opacity 0.2s ease, transform 0.2s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.mobile-nav-link:last-of-type {
  border-bottom: none;
}
.mobile-nav-link:hover {
  opacity: 0.4;
  transform: translateX(8px);
}

/* Mobile Language Switcher */
.mobile-lang-btn {
  font-family: var(--font-family-heading);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-neutral-500);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}
.mobile-lang-btn.active {
  color: var(--color-neutral-900);
  font-weight: 700;
}
.mobile-lang-divider {
  color: var(--color-neutral-300);
  font-weight: 300;
  margin: 0 0.25rem;
}

/* Mobile CTA Button */
.mobile-cta-btn {
  display: block;
  text-align: center;
  background-color: var(--color-neutral-900);
  color: #ffffff;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-family: var(--font-family-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.mobile-cta-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* ------------------------------------------------------------------------
   6. HERO SECTION STYLING
   ------------------------------------------------------------------------ */

#hero-scroll-wrapper,
.hero-scroll-wrapper {
  height: 500vh;
  position: relative;
  background: #1D314E;
}

.hero-sticky-container {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.hero-inner-container,
.hero-overlay-container {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  right: 0;
  z-index: 10;
  pointer-events: none;
}
@media (min-width: 768px) {
  .hero-inner-container,
  .hero-overlay-container {
    bottom: 3.5rem;
  }
}

.hero-label-row {
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .hero-label-row {
    margin-bottom: 1.5rem;
  }
}

.hero-badge,
.hero-badge-text {
  font-family: var(--font-family-body);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.content-overlap-wrapper,
.hero-overlap-section {
  margin-top: -100vh;
  position: relative;
  z-index: 20;
  background: var(--color-bg-main);
}

.hero-section {
  min-height: 100vh;
  padding-top: 80px;
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 768px) {
  .hero-section {
    padding-top: 100px;
    padding-bottom: 20px;
  }
}

/* Video Background */
.hero-video-bg {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
@media (min-width: 1024px) {
  .hero-video-bg {
    width: 100%;
  }
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: 
    linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 20%),
    rgba(0, 0, 0, 0.25);
  z-index: 2;
  pointer-events: none;
}
@media (min-width: 1024px) {
  .hero-section::after {
    left: 0;
    width: 100%;
    background: 
      linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 15%),
      linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 60%);
  }
}

.hero-title {
  font-family: var(--font-family-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: var(--font-weight-medium);
  text-transform: none;
  line-height: 1.1;
  color: var(--color-contrast-white);
  letter-spacing: 0.05em;
}

.hero-title .italic-accent {
  font-family: var(--font-family-display);
  font-style: italic;
  font-weight: var(--font-weight-regular);
  color: var(--color-accent-taupe);
}

.hero-stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  /* Removed glass effect per user request */
}

.hero-stat-card:hover {
  transform: translateX(-6px);
}

.hero-stat-number {
  font-family: var(--font-family-display);
  font-size: 1.75rem;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-none);
}

.hero-stat-label {
  font-family: var(--font-family-heading);
  font-size: 0.7rem;
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .hero-stat-number {
    font-size: 3rem;
  }
}

/* Animations */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

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

/* ==================== HERO INTRO ANIMATION SYSTEM ==================== */

/* --- Keyframes --- */
@keyframes heroFadeDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroRevealUp {
  0% {
    clip-path: inset(100% 0 0 0);
    opacity: 0;
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

@keyframes heroCardEnter {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* --- Hero elements: hidden by default, animated when .hero-intro-ready is added --- */
.hero-section .hero-badge,
.hero-section .hero-title-new,
.hero-section .hero-floating-card {
  opacity: 0;
}

.hero-intro-ready .hero-badge {
  animation: heroFadeDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-intro-ready .hero-title-new {
  animation: heroRevealUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-intro-ready .hero-floating-card:nth-child(1) {
  animation: heroCardEnter 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

.hero-intro-ready .hero-floating-card:nth-child(2) {
  animation: heroCardEnter 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}

/* ==================== SCROLL REVEAL ANIMATION SYSTEM ==================== */

/* --- Base hidden state for all reveal elements --- */
[data-reveal] {
  opacity: 0;
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* --- Directional start positions --- */
[data-reveal="fade-up"] {
  transform: translateY(40px);
}

[data-reveal="fade-down"] {
  transform: translateY(-40px);
}

[data-reveal="fade-left"] {
  transform: translateX(-40px);
}

[data-reveal="fade-right"] {
  transform: translateX(40px);
}

[data-reveal="scale-in"] {
  transform: scale(0.92);
}

[data-reveal="fade-in"] {
  transform: none;
}

/* --- Revealed state (applied by IntersectionObserver via JS) --- */
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Text Outline Effect - Removed per feedback */

.hero-image-container {
  display: none;
}

/* ------------------------------------------------------------------------
   7. FOOTER STYLING
   ------------------------------------------------------------------------ */

.site-footer {
  background-color: var(--color-bg-main);
  border-top: 1px solid var(--color-neutral-200);
  padding-top: 4rem;
  padding-bottom: 4rem;
  width: 100%;
}
@media (min-width: 1024px) {
  .site-footer {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.site-footer__top {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-bottom: 4rem;
}
@media (min-width: 1024px) {
  .site-footer__top {
    flex-direction: row;
    justify-content: space-between;
    gap: 6rem;
    margin-bottom: 6rem;
  }
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .site-footer__brand {
    width: 33.333%;
  }
}

.site-footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-family-display);
  font-size: 1.5rem;
  color: var(--color-neutral-900);
}

.site-footer__desc {
  color: var(--color-neutral-600);
  line-height: 1.6;
  font-size: 0.875rem;
}
@media (min-width: 1024px) {
  .site-footer__desc {
    font-size: 1rem;
  }
}

.site-footer__socials {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}
.site-footer__socials a {
  color: var(--color-neutral-500);
  transition: color 0.3s ease;
  display: inline-flex;
}
.site-footer__socials a:hover {
  color: var(--color-neutral-900);
}

.site-footer__links-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media (min-width: 768px) {
  .site-footer__links-wrapper {
    flex-direction: row;
    gap: 4rem;
  }
}
@media (min-width: 1024px) {
  .site-footer__links-wrapper {
    width: 66.666%;
    justify-content: flex-end;
    gap: 6rem;
  }
}

.site-footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer__nav-col h4 {
  font-family: var(--font-family-body);
  font-weight: 500;
  color: var(--color-neutral-900);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin: 0 0 0.5rem 0;
}

.site-footer__nav-col a,
.site-footer__nav-col p {
  color: var(--color-neutral-600);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.3s ease;
  margin: 0;
}
.site-footer__nav-col a:hover {
  color: var(--color-neutral-900);
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-neutral-200);
}
.site-footer__bottom p {
  color: var(--color-neutral-500);
  font-size: 0.75rem;
  margin: 0;
}
.site-footer__bottom a {
  font-weight: 500;
  color: var(--color-neutral-900);
  text-decoration: none;
}
.site-footer__bottom a:hover {
  text-decoration: underline;
}
@media (min-width: 768px) {
  .site-footer__bottom {
    flex-direction: row;
  }
}


/* ------------------------------------------------------------------------
   8. HERO UI ENHANCEMENTS
   ------------------------------------------------------------------------ */

/* Scroll Indicator */
.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-scroll-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero-scroll-line {
  width: 1px;
  height: 3rem;
  background-color: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-scroll-drop {
  width: 100%;
  height: 2rem;
  background-color: var(--color-contrast-white);
  position: absolute;
  top: 0;
  left: 0;
}

@keyframes scroll-drop {
  0% { transform: translateY(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(400%); opacity: 0; }
}

.animate-scroll-drop {
  animation: scroll-drop 1.5s cubic-bezier(0.8, 0, 0.2, 1) infinite;
}

/* Hero Text Wrapper Responsive */
.hero-text-wrapper {
  max-width: 100%;
}
@media (min-width: 1024px) {
  .hero-text-wrapper {
    max-width: 55%;
  }
}

/* Scroll Indicator Responsive Placement */
.hero-scroll-indicator {
  right: 1.5rem;
}
@media (min-width: 1024px) {
  .hero-scroll-indicator {
    right: 3rem;
  }
}

/* ==================== 8. SERVICES (ASYMMETRIC BENTO) ==================== */
.services-stats-row {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}
.services-stat-num {
  font-family: var(--font-family-display);
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
  color: var(--color-contrast-black);
  margin-bottom: 0.5rem;
}
.services-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-neutral-500);
}

.services-trusted {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-neutral-300);
}
.services-trusted-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-neutral-400);
  margin-bottom: 1rem;
}
.services-trusted-logos {
  display: flex;
  gap: 2rem;
  align-items: center;
  opacity: 0.4;
  filter: grayscale(100%);
  transition: opacity 0.3s;
}
.services-trusted-logos:hover {
  opacity: 0.8;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  height: 100%;
}
@media (min-width: 640px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .bento-grid {
    gap: 1.5rem;
  }
}

.bento-card {
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  min-height: 340px;
  text-decoration: none;
}
.bento-card:hover {
  transform: translateY(-4px);
}

/* Image as full background */
.bento-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.bento-card:hover .bento-img {
  transform: scale(1.05);
}

/* Gradient overlay to protect text at the bottom */
.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 60%);
  z-index: 5;
  pointer-events: none;
}

.bento-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  z-index: 10;
  position: relative;
  margin-top: auto; /* Push content to bottom */
  justify-content: flex-end;
  color: var(--color-contrast-white);
}

.bento-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}
.bento-card-badge svg {
  width: 1.25rem; height: 1.25rem;
}

.bento-card-title {
  font-family: var(--font-family-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.bento-card-desc {
  font-size: 0.875rem;
  opacity: 0.8;
  line-height: 1.5;
}

.bento-card--wide .bento-card-title {
  font-size: 1.875rem;
}
.bento-card-chart {
  margin-top: 1.5rem;
  height: 120px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}
.bento-bar {
  flex: 1;
  background-color: var(--color-bg-alt);
  border-radius: 0.5rem 0.5rem 0 0;
  animation: bar-grow 1.5s cubic-bezier(0, 0, 0.2, 1) forwards;
  transform-origin: bottom;
  opacity: 0;
}
.bento-bar--1 { height: 20%; animation-delay: 0.1s; }
.bento-bar--2 { height: 40%; animation-delay: 0.2s; }
.bento-bar--3 { height: 60%; animation-delay: 0.3s; }
.bento-bar--4 { height: 100%; animation-delay: 0.4s; }

@keyframes bar-grow {
  0% { transform: scaleY(0); opacity: 0; }
  100% { transform: scaleY(1); opacity: 1; }
}

/* ==================== 9. DOCTORS SECTION (TEAM SHOWCASE) ==================== */
.team-showcase {
  width: 100%;
  /* Remove max-width to allow it to fill the parent .container */
}

.team-showcase__layout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .team-showcase__layout {
    flex-direction: row;
    align-items: center;
    gap: 5rem;
  }
}

/* --- Left: Photo Grid --- */
.team-showcase__left {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  overflow-x: auto;
  padding-bottom: 1rem;
  width: 100%;
  scrollbar-width: none; /* Hide scrollbar Firefox */
}
.team-showcase__left::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}
@media (min-width: 1024px) {
  .team-showcase__left {
    padding-bottom: 0;
    width: auto;
    overflow-x: visible;
  }
}

.team-showcase__col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.team-showcase__col--1 { margin-top: 0; }
.team-showcase__col--2 { margin-top: 2rem; }
.team-showcase__col--3 { margin-top: 1rem; }

@media (min-width: 1024px) {
  .team-showcase__col--2 { margin-top: 4rem; }
  .team-showcase__col--3 { margin-top: 2rem; }
}

.photo-card {
  width: 140px;
  height: 180px;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  background-color: var(--color-neutral-200);
}
@media (min-width: 1024px) {
  .photo-card { width: 190px; height: 260px; }
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.85);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.photo-card.is-active {
  box-shadow: 0 10px 30px rgba(0, 168, 150, 0.15);
  transform: translateY(-5px);
}
.photo-card.is-active img {
  filter: grayscale(0) brightness(1);
  transform: scale(1.05);
}

.team-showcase.has-hover .photo-card:not(.is-active) {
  opacity: 0.5;
}

/* --- Right: Member Name List --- */
.team-showcase__right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex-grow: 1;
  width: 100%;
  padding-top: 0.5rem;
}
@media (min-width: 1024px) {
  .team-showcase__right {
    justify-content: center;
    gap: 2rem;
  }
}

.member-row {
  cursor: pointer;
  transition: opacity 0.4s ease;
  padding: 0.5rem 0;
}
.team-showcase.has-hover .member-row:not(.is-active) {
  opacity: 0.35;
}

.member-row__header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Elegant line indicator instead of a block */
.member-row__indicator {
  width: 1.5rem;
  height: 1px;
  background-color: var(--color-neutral-400);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  flex-shrink: 0;
}
.member-row.is-active .member-row__indicator {
  width: 3rem;
  background-color: var(--color-primary);
}

.member-row__name {
  font-family: var(--font-family-display);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-neutral-600);
  transition: color 0.4s ease;
}
@media (min-width: 1024px) {
  .member-row__name { font-size: 1.875rem; }
}
.member-row.is-active .member-row__name {
  color: var(--color-contrast-black);
}

.member-row__social {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-left: 0.25rem;
  opacity: 0;
  transform: translateX(-0.5rem);
  pointer-events: none;
  transition: all 0.2s ease;
}
.member-row.is-active .member-row__social {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.social-icon {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 0.25rem;
  color: var(--color-neutral-500);
  transition: all 0.15s ease;
  text-decoration: none;
}
.social-icon:hover {
  color: var(--color-contrast-black);
  background-color: rgba(0,0,0,0.1);
  transform: scale(1.1);
}
.social-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.member-row__role {
  margin-top: 0.375rem;
  padding-left: 1.625rem;
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-neutral-500);
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-family-heading);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-contrast-black);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}
.card-link svg {
  transition: transform var(--transition-normal);
}
.service-card-premium:hover .card-link svg {
  transform: translateX(6px);
}

/* ==================== 10. TESTIMONIALS SLIDER (EDITORIAL) ==================== */
.testimonial-slider {
  width: 100%;
}

.testimonial-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.testimonial-slide.active {
  display: block;
  opacity: 1;
}

.testimonial-slide__layout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}
@media (min-width: 768px) {
  .testimonial-slide__layout {
    flex-direction: row;
    gap: 4rem;
  }
}

.testimonial-slide__number {
  color: var(--color-neutral-200);
  font-family: var(--font-family-display);
  font-size: 8rem;
  line-height: 1;
  user-select: none;
  margin-top: -1rem;
}
@media (min-width: 768px) {
  .testimonial-slide__number {
    font-size: 12rem;
    margin-top: -2rem;
  }
}

.testimonial-slide__content {
  flex: 1;
}
@media (min-width: 768px) {
  .testimonial-slide__content {
    margin-top: 2rem;
  }
}

.testimonial-slide__quote {
  font-family: var(--font-family-display);
  font-size: 1.5rem;
  color: var(--color-contrast-black);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .testimonial-slide__quote {
    font-size: 2.25rem;
  }
}
@media (min-width: 1024px) {
  .testimonial-slide__quote {
    font-size: 2.5rem;
  }
}

.testimonial-slide__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-slide__avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(100%);
}
.testimonial-slide__name {
  font-weight: 700;
  color: var(--color-contrast-black);
  font-size: 1rem;
}
.testimonial-slide__role {
  color: var(--color-neutral-500);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}
.testimonial-slide__role .divider {
  margin: 0 0.375rem;
  opacity: 0.5;
}

/* Controls */
.testimonial-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-neutral-200);
}
@media (min-width: 768px) {
  .testimonial-controls {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 6rem;
    padding-top: 3rem;
  }
}

.testimonial-progress {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.testimonial-progress__bars {
  display: flex;
  gap: 0.5rem;
}
.progress-bar {
  height: 1px;
  width: 2rem;
  background-color: var(--color-neutral-300);
  transition: all 0.3s ease;
}
.progress-bar.is-active {
  background-color: var(--color-contrast-black);
  width: 2.5rem;
}
.testimonial-progress__text {
  font-family: var(--font-family-display);
  font-size: 0.875rem;
  color: var(--color-neutral-500);
  letter-spacing: 0.1em;
}

.testimonial-arrows {
  display: flex;
  gap: 1rem;
}
.arrow-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-neutral-400);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}
.arrow-btn:hover {
  color: var(--color-contrast-black);
}

/* ==================== 11. PRICING CARDS ==================== */
.pricing-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-neutral-300);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: all 0.4s ease;
  position: relative;
  height: 100%;
}
.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.pricing-card--featured {
  border: 1px solid var(--color-contrast-black);
  background: var(--color-contrast-black);
  color: var(--color-contrast-white);
}
.pricing-card--featured:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}
@media (min-width: 1024px) {
  .pricing-card--featured {
    transform: scale(1.05);
  }
  .pricing-card--featured:hover {
    transform: scale(1.05) translateY(-5px);
  }
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-contrast-dark);
  color: var(--color-contrast-white);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.pricing-card__title {
  font-family: var(--font-family-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.pricing-card--featured .pricing-card__title {
  color: white;
}

.pricing-card__desc {
  font-size: 0.875rem;
  color: var(--color-neutral-500);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.pricing-card--featured .pricing-card__desc {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.price-label {
  font-size: 0.875rem;
  color: var(--color-neutral-500);
}
.pricing-card--featured .price-label {
  color: rgba(255, 255, 255, 0.7);
}
.price-amount {
  font-family: var(--font-family-display);
  font-size: 2.25rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.price-currency {
  font-size: 0.875rem;
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.pricing-features li {
  font-size: 0.875rem;
  position: relative;
  padding-left: 1.75rem;
  line-height: 1.5;
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: bold;
}
.pricing-card--featured .pricing-features li::before {
  color: var(--color-contrast-white);
}

.pricing-card__footer {
  margin-top: auto;
}
.pricing-card--featured .btn-pill-black {
  background-color: var(--color-contrast-white);
  color: var(--color-contrast-black);
}
.pricing-card--featured .btn-pill-black:hover {
  background-color: var(--color-neutral-100);
}

/* ==================== 12. BOOKING MINIMAL FORM ==================== */
.booking-minimal-group {
  position: relative;
  margin-bottom: 2.5rem;
}

.booking-minimal-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding: 0.5rem 0;
  font-size: 1.125rem;
  color: var(--color-contrast-dark);
  transition: border-color 0.3s ease;
  outline: none;
  border-radius: 0;
}
.booking-minimal-input:focus {
  border-bottom-color: var(--color-contrast-black);
}

.booking-minimal-label {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-neutral-500);
  font-size: 1.125rem;
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Floating label effect */
.booking-minimal-input:focus ~ .booking-minimal-label,
.booking-minimal-input:not(:placeholder-shown) ~ .booking-minimal-label,
select.booking-minimal-input:valid ~ .booking-minimal-label {
  top: -12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-contrast-black);
}

/* Fix for date input which always has a value visually */
input[type="date"].booking-minimal-input ~ .booking-minimal-label {
  top: -12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-contrast-black);
}

/* For Select tag */
select.booking-minimal-input {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='rgba(0,0,0,0.5)'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 1.25rem;
}

.booking-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: transparent;
  border: none;
  color: var(--color-contrast-black);
  cursor: pointer;
  padding: 0;
  transition: color 0.3s ease;
}
.booking-submit-btn:hover {
  color: var(--color-primary);
}

/* ==================== 13. BOOKING SECTION (EDITORIAL SPLIT) ==================== */
.booking-section {
  background-color: var(--color-contrast-dark);
  color: var(--color-contrast-white);
  width: 100%;
}

.booking-split {
  display: flex;
  flex-direction: column;
  min-height: 700px;
}
@media (min-width: 1024px) {
  .booking-split {
    flex-direction: row;
    min-height: 850px;
  }
}

.booking-split__image-wrapper {
  position: relative;
  height: 400px;
  width: 100%;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .booking-split__image-wrapper {
    height: auto;
    flex: 1;
  }
}

.booking-split__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.9;
  transition: transform 2s ease;
}
.booking-split__image-wrapper:hover .booking-split__image {
  transform: scale(1.05);
}

.booking-split__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 41, 59, 0.4);
  mix-blend-mode: multiply;
}

.booking-split__gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, var(--color-contrast-dark), transparent);
  opacity: 0.8;
}

.booking-split__content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  z-index: 10;
}
@media (min-width: 1024px) {
  .booking-split__content {
    padding: 5rem;
  }
}

.booking-split__title {
  font-family: var(--font-family-display);
  color: var(--color-contrast-white);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.booking-split__desc {
  color: rgba(255, 255, 255, 0.7);
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .booking-split__desc {
    font-size: 1rem;
  }
}

.booking-split__form-wrapper {
  padding: 2rem;
  background-color: var(--color-bg-alt);
  color: var(--color-contrast-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 1024px) {
  .booking-split__form-wrapper {
    padding: 5rem;
    flex: 1;
  }
}

.booking-form-inner {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .booking-form-inner {
    margin: 0 0 0 3rem;
  }
}

.booking-form-header {
  margin-bottom: 3rem;
}

/* ==================== 14. HERO NEW LAYOUT ==================== */
.hero-layout-grid {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 2rem;
  width: 100%;
}
@media (min-width: 1024px) {
  .hero-layout-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.hero-left-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-contact-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-contrast-white);
}

.hero-contact-link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.hero-contact-link:hover {
  opacity: 0.7;
}

.hero-title-new {
  font-family: var(--font-family-display);
  color: var(--color-contrast-white);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.1;
  font-weight: 300;
  margin: 0;
  letter-spacing: -0.02em;
}
.hero-title-new strong {
  font-weight: 500;
}

.hero-right-cards {
  display: none;
}
@media (min-width: 1024px) {
  .hero-right-cards {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: nowrap;
  }
}

.hero-floating-card {
  display: block;
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 0;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
@media (min-width: 400px) {
  .hero-floating-card {
    width: 160px;
    height: 160px;
  }
}
@media (min-width: 768px) {
  .hero-floating-card {
    width: 220px;
    height: 220px;
  }
}
.hero-floating-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-floating-card--dark {
  background-color: rgba(29, 49, 78, 0.6); /* Brand Blue #1D314E with opacity */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: none;
  color: var(--color-contrast-white);
}

.hero-floating-card--light {
  background-color: rgba(255, 255, 255, 0.7); /* Pure White with opacity */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: none;
  color: var(--color-neutral-900);
}

.hero-floating-card__content-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .hero-floating-card__content-text {
    padding: 1.5rem;
  }
}

.hero-floating-card__subtitle {
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
  opacity: 0.9;
}
@media (min-width: 768px) {
  .hero-floating-card__subtitle {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}

.hero-floating-card__bottom {
  display: flex;
  align-items: flex-end;
}

.hero-floating-card__number {
  font-family: var(--font-family-display);
  font-size: 3.5rem;
  font-weight: 400;
  margin: 0;
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-floating-card--dark .hero-floating-card__number {
  color: var(--color-contrast-white); /* Pure White for high contrast on dark background */
}
@media (min-width: 768px) {
  .hero-floating-card__number {
    font-size: 5rem;
  }
}

/* ==================== 15. PARTNER MARQUEE ==================== */
.partner-marquee-section {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.partner-marquee {
  width: 100%;
  overflow: hidden;
}

.partner-marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 25s linear infinite;
}

.partner-marquee__content {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 4rem;
  padding-right: 4rem;
}
@media (min-width: 768px) {
  .partner-marquee__content {
    gap: 8rem;
    padding-right: 8rem;
  }
}

.partner-marquee__item {
  font-family: var(--font-family-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-neutral-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
@media (min-width: 768px) {
  .partner-marquee__item {
    font-size: 2rem;
  }
}

.partner-marquee__item:hover {
  opacity: 1;
}

.partner-marquee:hover .partner-marquee__track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
}

/* ==================== 15.5 EDITORIAL SECTION HEADER (UNIFIED) ==================== */
.editorial-section-header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: clamp(3rem, 5vw, 6rem);
}
.editorial-section-header__title {
  margin: 0;
  font-family: var(--font-family-display);
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--color-neutral-900);
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.editorial-section-header__title strong {
  font-weight: 500;
  color: var(--color-neutral-900);
}
.editorial-section-header__desc {
  margin: 0;
  text-align: left;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.6;
  color: var(--color-neutral-600);
  font-weight: 400;
}
.editorial-section-header__desc strong {
  font-weight: 500;
  color: var(--color-neutral-900);
}
@media (min-width: 1024px) {
  .editorial-section-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
  }
  .editorial-section-header__left {
    width: 58.333%;
  }
  .editorial-section-header__right {
    width: 33.333%;
  }
}

/* ==================== 16. EDITORIAL ABOUT ==================== */
.editorial-about {
  background-color: var(--color-bg-main); /* Pure white */
}

.editorial-about__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

/* Typography styles */
.editorial-about__title {
  font-family: var(--font-family-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--color-neutral-900);
  margin: 0;
  letter-spacing: -0.02em;
}
.editorial-about__title strong {
  font-weight: 500;
  color: var(--color-neutral-900);
}

.editorial-about__desc-1,
.editorial-about__desc-2 {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.6;
  color: var(--color-neutral-600);
  font-weight: 300;
}
.editorial-about__desc-1 strong,
.editorial-about__desc-2 strong {
  font-weight: 500;
  color: var(--color-neutral-900);
}

/* Image wrappers */
.editorial-about__img-1,
.editorial-about__img-2,
.editorial-about__img-3 {
  width: 100%;
  overflow: hidden;
  background-color: var(--color-neutral-100);
}
.editorial-about__img-1 img,
.editorial-about__img-2 img,
.editorial-about__img-3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CTA */
.editorial-about__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-family: var(--font-family-display);
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 400;
  line-height: 1.1;
  transition: opacity 0.3s ease;
}
.editorial-about__cta-link:hover {
  opacity: 0.7;
}

/* ---------------- MOBILE LAYOUT (Default grid) ---------------- */
.editorial-about__title { order: 1; }
.editorial-about__img-1 { order: 2; aspect-ratio: 4/5; }
.editorial-about__desc-2 { order: 3; margin-top: 1rem; }
.editorial-about__desc-1 { order: 4; margin-top: 1rem; }
.editorial-about__img-2 { order: 5; margin-top: 1rem; aspect-ratio: 3/4; }
.editorial-about__img-3 { display: none; }
.editorial-about__cta { order: 6; margin-top: 2rem; padding-bottom: 2rem; }

/* ---------------- DESKTOP LAYOUT (>= 1024px) ---------------- */
@media (min-width: 1024px) {
  .editorial-about__container {
    padding: 0 4rem;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(min-content, max-content);
    gap: 2rem;
    align-items: center;
  }
  
  /* Reset order for grid placement */
  .editorial-about__title,
  .editorial-about__desc-1,
  .editorial-about__desc-2,
  .editorial-about__img-1,
  .editorial-about__img-2,
  .editorial-about__img-3,
  .editorial-about__cta {
    order: 0;
    margin: 0;
  }

  .editorial-about__img-3 { display: block; }

  /* Row 1 */
  .editorial-about__img-1 {
    grid-column: 1 / 5;
    grid-row: 1;
    aspect-ratio: 3/4;
    align-self: center;
  }
  .editorial-about__img-2 {
    grid-column: 6 / 12;
    grid-row: 1;
    aspect-ratio: 4/5;
    z-index: 1;
  }

  /* Row 2 */
  .editorial-about__desc-2 {
    grid-column: 2 / 6;
    grid-row: 2;
    align-self: start;
    margin-top: 4rem;
  }
  .editorial-about__img-3 {
    grid-column: 9 / 13;
    grid-row: 2;
    aspect-ratio: 1/1;
    transform: translateY(-40%);
    border: 16px solid var(--color-contrast-white);
    z-index: 2;
  }
  .editorial-about__cta {
    grid-column: 11 / 13;
    grid-row: 2;
    justify-self: end;
    align-self: end;
    margin-bottom: 2rem;
  }
}

/* ==================== 17. EDITORIAL TEAM ==================== */
.editorial-team {
  background-color: var(--color-bg-alt); 
}

.editorial-team__title {
  font-family: var(--font-family-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--color-neutral-900);
  margin: 0;
  letter-spacing: -0.02em;
}
.editorial-team__title strong {
  font-weight: 500;
  color: var(--color-neutral-900);
}

.editorial-team__desc {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.6;
  font-weight: 300;
}
.editorial-team__desc strong {
  font-weight: 500;
  color: var(--color-neutral-900);
}

/* Grid / Slider Layout */
.editorial-team__grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 2rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.editorial-team__grid::-webkit-scrollbar {
  display: none;
}

.editorial-team__member {
  flex: 0 0 85vw;
  scroll-snap-align: center;
}

@media (min-width: 768px) {
  .editorial-team__member {
    flex: 0 0 calc(50% - 0.5rem);
  }
}

@media (min-width: 1024px) {
  .editorial-team__grid {
    gap: 2rem;
    padding-bottom: 2rem; /* space for scrollbar/scroll area */
  }
  .editorial-team__member {
    flex: 0 0 calc(30% - 1rem); /* Show slightly more than 3 to indicate scroll */
  }
}

.editorial-team__img-wrapper {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background-color: var(--color-neutral-200);
}

.editorial-team__img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.editorial-team__member:hover .editorial-team__img-wrapper img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.editorial-team__name {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-neutral-900);
  margin-bottom: 0.25rem;
}

.editorial-team__role {
  font-size: 0.875rem;
  color: var(--color-neutral-600);
  margin: 0;
}

/* ==================== 18. NEW FOOTER ==================== */
.new-footer {
  background-color: var(--color-bg-main); /* Pure white */
  padding-top: 4rem;
  padding-bottom: 4rem;
  border-top: 1px solid var(--color-neutral-200);
}
@media (min-width: 1024px) {
  .new-footer {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.new-footer__nav a {
  font-size: 1rem;
  color: var(--color-neutral-800);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}
.new-footer__nav a:hover {
  opacity: 0.6;
}

.new-footer__info-col h4 {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--color-neutral-900);
  margin-bottom: 1rem;
}
.new-footer__info-col p {
  font-size: 0.9375rem;
  color: var(--color-neutral-600);
  line-height: 1.6;
  margin: 0;
}

.new-footer__logo {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}
.new-footer__brand-text {
  font-family: var(--font-family-display);
  font-size: 3.5rem;
  line-height: 0.9;
  font-weight: 300;
  color: var(--color-neutral-900);
  letter-spacing: -0.04em;
}
.new-footer__brand-icon {
  width: 54px;
  height: 54px;
  color: var(--color-neutral-600);
}

.new-footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-neutral-900);
  color: var(--color-contrast-white);
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.new-footer__socials a svg {
  width: 20px;
  height: 20px;
}
.new-footer__socials a:hover {
  transform: translateY(-4px);
  background-color: var(--color-primary);
}

/* ==================== 19. EDITORIAL RESULTS ==================== */
.editorial-results__title {
  font-family: var(--font-family-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  color: var(--color-neutral-900);
  letter-spacing: -0.02em;
}
.editorial-results__title strong {
  font-weight: 500;
}
.editorial-results__title .font-light {
  font-weight: 300;
}

.editorial-results__desc {
  font-size: clamp(1.125rem, 1.5vw, 1.5rem);
  line-height: 1.4;
  color: var(--color-neutral-900);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.editorial-results__arrow {
  color: var(--color-neutral-900);
  transition: transform 0.3s ease, opacity 0.3s ease;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.editorial-results__arrow:hover {
  transform: scale(1.1);
  opacity: 0.7;
}

/* Slider */
.editorial-results__slider {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* padding removed because clones act as buffer */
}

.editorial-results__slider::-webkit-scrollbar {
  display: none;
}

.editorial-results__slide {
  flex: 0 0 85vw;
  scroll-snap-align: center;
  height: auto;
}
@media (min-width: 768px) {
  .editorial-results__slide {
    flex: 0 0 calc(50% - 0.5rem);
  }
}
@media (min-width: 1024px) {
  .editorial-results__slide {
    flex: 0 0 calc(30% - 1rem); 
    height: auto;
  }
}

.editorial-results__slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==================== 20. EDITORIAL SERVICES ==================== */
.editorial-services {
  background-color: var(--color-bg-secondary); /* #F5F5F5 */
}

.editorial-services__title {
  font-family: var(--font-family-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  color: var(--color-neutral-900);
  letter-spacing: -0.02em;
}
.editorial-services__title strong {
  font-weight: 500;
}
.editorial-services__title .font-light {
  font-weight: 300;
  color: var(--color-neutral-700);
}

.editorial-services__desc {
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.5;
  color: var(--color-neutral-600);
  font-weight: 400;
}

.editorial-services__arrow {
  color: var(--color-neutral-900);
  transition: transform 0.3s ease, opacity 0.3s ease;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.editorial-services__arrow:hover {
  transform: scale(1.1);
  opacity: 0.7;
}

/* Slider */
.editorial-services__slider {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2rem; /* space for scroll */
}
.editorial-services__slider::-webkit-scrollbar {
  display: none;
}

.editorial-services__slide {
  flex: 0 0 85vw;
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  .editorial-services__slide {
    flex: 0 0 calc(50% - 0.75rem);
  }
}
@media (min-width: 1024px) {
  .editorial-services__slide {
    flex: 0 0 calc(40% - 0.75rem);
  }
}

/* Service Card */
.editorial-service-card {
  background-color: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03);
  padding: 2rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.editorial-service-card > div {
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .editorial-service-card {
    padding: 3rem 2rem;
  }
}
.editorial-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.editorial-service-card__title {
  font-family: var(--font-family-display);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--color-neutral-900);
  margin-bottom: 1rem;
}

.editorial-service-card__desc {
  font-family: var(--font-family-body);
  font-size: var(--font-size-body-sm);
  color: var(--color-neutral-500); /* Medium Gray #8F8F8F from design.md */
  line-height: 1.5;
}

.editorial-service-card__img {
  position: absolute;
  bottom: 0rem;
  right: -1rem;
  width: 180px;
  height: 180px;
  object-fit: contain;
  transition: transform 0.4s ease;
  z-index: 0;
  pointer-events: none;
  opacity: 1.0;
}
@media (min-width: 768px) {
  .editorial-service-card__img {
    width: 280px;
    height: 280px;
    bottom: -2rem;
    right: -2rem;
  }
}

.editorial-service-card:hover .editorial-service-card__img {
  transform: scale(1.05);
}

.editorial-service-card__num {
  font-family: var(--font-family-display);
  font-size: 5.5rem;
  line-height: 1;
  color: var(--color-neutral-500); /* Medium Gray #8F8F8F */
  opacity: 0.15; /* Làm mờ để tạo hiệu ứng watermark nhưng vẫn sắc nét */
  font-weight: 300;
  margin-top: 3rem;
  align-self: flex-start;
}

/* ==================== 21. EDITORIAL PRICING ==================== */
.editorial-pricing__title {
  font-family: var(--font-family-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.1;
  color: var(--color-neutral-900);
  letter-spacing: -0.02em;
  margin: 0;
}
.editorial-pricing__title strong {
  font-weight: 500;
}
.editorial-pricing__title .font-light {
  font-weight: 300;
}
.editorial-pricing__desc {
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.5;
  color: var(--color-neutral-600);
  margin: 0;
}

.editorial-pricing__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-neutral-200);
}

.editorial-pricing__item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-neutral-200);
  transition: padding-left 0.4s ease, padding-right 0.4s ease, background-color 0.4s ease;
}
@media (min-width: 1024px) {
  .editorial-pricing__item {
    flex-direction: row;
    align-items: center;
    padding: 3rem 0;
    gap: 1.5rem;
  }
}
.editorial-pricing__item:hover {
  background-color: #fafafa;
}
@media (min-width: 1024px) {
  .editorial-pricing__item:hover {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.editorial-pricing__item-info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
}
@media (min-width: 1024px) {
  .editorial-pricing__item-info {
    gap: 2rem;
  }
}

.editorial-pricing__item-num {
  font-family: var(--font-family-display);
  font-size: 1.5rem;
  color: var(--color-neutral-400);
  font-weight: 300;
  min-width: 2rem;
}

.editorial-pricing__item-title {
  font-family: var(--font-family-display);
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 400;
  color: var(--color-neutral-900);
  margin-top: -0.25rem;
  margin-bottom: 0.5rem;
}

.editorial-pricing__item-desc {
  font-size: 1rem;
  color: var(--color-neutral-600);
  max-width: 28rem;
}

.editorial-pricing__item-price {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.5rem;
  margin-left: 2.5rem; /* Align under title (num width + gap = 2rem + 1rem roughly, tweak to 2.5rem for visual balance) */
}
@media (min-width: 1024px) {
  .editorial-pricing__item-price {
    flex-direction: column;
    align-items: flex-end;
    margin-left: 0;
    gap: 0;
  }
}
.editorial-pricing__item-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-neutral-400);
  margin-bottom: 0;
}
@media (min-width: 1024px) {
  .editorial-pricing__item-label {
    margin-bottom: 0.25rem;
  }
}
.editorial-pricing__item-amount {
  font-family: var(--font-family-display);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 400;
  color: var(--color-neutral-900);
  line-height: 1;
}

/* ==================== 22. EDITORIAL BOOKING ==================== */
.editorial-booking__title {
  font-family: var(--font-family-display);
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 1.1;
  color: var(--color-neutral-900);
  letter-spacing: -0.02em;
  margin: 0;
}
.editorial-booking__title strong {
  font-weight: 500;
}
.editorial-booking__title .font-light {
  font-weight: 300;
}

.editorial-booking__desc {
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.5;
  color: var(--color-neutral-600);
}

.editorial-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-neutral-300);
  padding: 1rem 0;
  font-size: 1.25rem;
  color: var(--color-neutral-900);
  font-weight: 300;
  transition: border-color 0.3s ease;
  outline: none;
  border-radius: 0;
}
.editorial-input::placeholder {
  color: var(--color-neutral-400);
}
.editorial-input:focus {
  border-bottom-color: var(--color-neutral-900);
}
.editorial-input[type="date"], select.editorial-input {
  color: var(--color-neutral-900);
}
.editorial-btn-submit {
  display: inline-flex;
  align-items: center;
  background-color: var(--color-neutral-900);
  color: #fff;
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
  font-weight: 400;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.editorial-btn-submit:hover {
  background-color: var(--color-primary);
  transform: translateY(-2px);
}

.editorial-service-card__title {
  font-family: var(--font-family-display);
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 400;
  color: var(--color-neutral-900);
  margin-top: 0;
  margin-bottom: 1.5rem;
}

/* ------------------------------------------------------------------------
   DRAG TO SCROLL CLASSES
   ------------------------------------------------------------------------ */
.is-dragging {
  user-select: none !important;
  -webkit-user-select: none !important;
}
.is-dragging * {
  user-select: none !important;
  -webkit-user-select: none !important;
}

/* Prevent native image drag in all sliders */
.js-results-slider img,
.editorial-services__slider img,
.js-team-slider img,
.is-dragging img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

/* ------------------------------------------------------------------------
   CUSTOM CURSOR
   ------------------------------------------------------------------------ */
@media (pointer: fine) {
  body, a, button, input, textarea, select, .editorial-service-card, .photo-card {
    cursor: none !important;
  }
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--color-neutral-900);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, background-color 0.3s ease, transform 0.1s ease;
  will-change: transform;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
  will-change: transform;
}

/* Hover States */
.cursor-ring.is-hovering {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
}

.cursor-dot.is-hidden,
.cursor-ring.is-hidden {
  opacity: 0;
}

.editorial-service-card__desc {
  font-size: 1rem;
  line-height: 1.5;
}

.editorial-service-card__num {
  font-size: 3.5rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .editorial-service-card__num {
    font-size: 5rem;
    margin-top: 3rem;
  }
}
