/* ===== CSS Variables ===== */
:root {
  --color-primary: #c4a882;
  --color-primary-dark: #a89070;
  --color-bg-light: #faf7f4;
  --color-bg-warm: #e8e0d6;
  --color-bg-cream: #f5f0eb;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-white: #ffffff;
  --color-black: #1a1a1a;
  --font-serif: 'Playfair Display', 'Georgia', serif;
  --font-sans: 'OPPO Sans', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1200px;
  --nav-height: 60px;
  --transition: 0.3s ease;
}

/* ===== OPPO Sans Font ===== */
@font-face {
  font-family: 'OPPO Sans';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/OPPOSans-L.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'OPPO Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/OPPOSans-R.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'OPPO Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/OPPOSans-M.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'OPPO Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/OPPOSans-B.woff2') format('woff2');
  font-display: swap;
}

/* OPPO Sans for Chinese pages only */
html[lang="zh"] h1,
html[lang="zh"] h2,
html[lang="zh"] h3,
html[lang="zh"] h4,
html[lang="zh"] h5,
html[lang="zh"] h6 {
  font-family: 'OPPO Sans', 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-black);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 10px 28px;
  font-size: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-black);
  border-color: var(--color-black);
}

.btn-outline:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-black);
}

.btn-primary-white {
  background-color: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}

.btn-primary-white:hover {
  background-color: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

/* ===== Layout ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  /* GPU-accelerate fixed nav to prevent mobile scroll jitter */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}

.nav.scrolled {
  background-color: var(--color-white);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  /* Keep GPU-accelerated layer after class change */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.nav.nav-absolute {
  background: var(--color-white);
}

.nav-glass {
  background-color: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-glass .lang-switch a.active {
  color: #ffffff;
}

.nav-glass .nav-toggle span {
  background-color: var(--color-white);
}

.nav-glass.scrolled .nav-toggle span {
  background-color: var(--color-black);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-logo {
  display: inline-block;
  line-height: 0;
}

.nav-logo img {
  height: 24px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.nav.scrolled .nav-logo img {
  filter: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Hide mobile-specific elements on desktop */
.mobile-nav-logo {
  display: none;
}

.nav-links-inner {
  display: contents;
}

.nav-links a {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-white);
  position: relative;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.nav-light .nav-links > a,
.nav-light .nav-links .nav-links-inner > a {
  color: var(--color-text);
}

.nav-light .nav-links > a.btn-book-now,
.nav-light .nav-links .nav-links-inner > a.btn-book-now {
  color: #ffffff;
}

.nav-links a.btn-book-now {
  color: #ffffff;
}

.nav-light .nav-toggle span {
  background-color: var(--color-text);
}

.nav-light .nav-logo img {
  filter: none;
}

.nav.scrolled .nav-links a {
  color: var(--color-text);
}

.nav.scrolled .nav-links a.btn-book-now {
  color: #ffffff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-arrow {
  display: inline-block;
  vertical-align: middle;
  margin-left: 3px;
  transition: transform var(--transition);
}

.nav-dropdown.open .dropdown-arrow,
.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-white);
  border: 1px solid rgba(0,0,0,0.08);
  min-width: 200px;
  padding: 12px 0;
  z-index: 1001;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 0.7rem;
  color: var(--color-text);
  white-space: nowrap;
  text-align: left;
}

.dropdown-menu a::after {
  display: none;
}

.dropdown-menu a:hover {
  background-color: var(--color-bg-cream);
}

.dropdown-trigger {
  cursor: pointer;
}

.nav-light .nav-dropdown > .dropdown-trigger,
.nav-light .nav-dropdown .dropdown-trigger {
  color: var(--color-text);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  transition: all var(--transition);
}

.nav.scrolled .nav-toggle span {
  background-color: var(--color-black);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,0.3);
  transition: border-color 0.3s ease;
}

.nav.scrolled .lang-switch {
  border-left-color: rgba(0,0,0,0.1);
}

/* Book Now button in nav */
.btn-book-now {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
  background-color: var(--color-primary);
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-book-now:hover {
  background-color: #96785a;
  transform: translateY(-1px);
}

.nav-light .nav-links > a.btn-book-now {
  color: #ffffff;
}

.nav-light .lang-switch a {
  color: var(--color-text-light);
}

.nav-light .lang-switch a.active {
  color: var(--color-primary);
}

.nav-light .lang-switch a:hover {
  color: var(--color-primary);
}

.nav-links a.btn-book-now {
  color: #ffffff;
}

.lang-switch a {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 2px 6px;
  transition: color 0.3s ease;
}

.nav.scrolled .lang-switch a {
  color: var(--color-text-light);
}

.lang-switch a.active {
  color: var(--color-primary);
  font-weight: 600;
}

.lang-switch a:hover {
  color: var(--color-primary);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
}

/* Hero Background Layers */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg-layer.active {
  opacity: 1;
}

/* Hero Overlay - left-to-right gradient */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 0 60px;
}

/* Hero Text */
.hero-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-540px, calc(-50% - 20px));
  max-width: 600px;
  text-align: left;
}

/* Hero Nav (bottom service cards) */
.hero-nav {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0 60px;
  width: 100%;
  max-width: 1200px;
}

.hero-nav-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  text-decoration: none;
  color: var(--color-white);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.hero-nav-card:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.hero-nav-card.active {
  background: rgba(255,255,255,0.92);
  color: var(--color-black);
  border-color: rgba(255,255,255,0.92);
}

.hero-nav-card-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
}

.hero-nav-card.active .hero-nav-card-icon {
  background: var(--color-bg-cream);
}

.hero-nav-card-icon svg {
  width: 28px;
  height: 28px;
}

.hero-nav-card span {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Hero Text */
.hero-text {
  max-width: 700px;
  text-align: left;
}

.hero-text h1 {
  font-size: 3.5rem;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.slide-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  font-weight: 300;
}

.btn-hero {
  display: inline-block;
  padding: 14px 36px;
  background: var(--color-primary);
  color: var(--color-white);
  border: 1px solid var(--color-primary);
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-hero:hover {
  background: var(--color-primary-dark);
}

/* Hero Carousel Dots */
.hero-carousel-dots {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 11;
  display: flex;
  gap: 0;
}

.carousel-line {
  height: 3px;
  flex: 1;
  background-color: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-line.active {
  background-color: var(--color-white);
}

.hero-footer .hero-info {
  position: static;
  z-index: 1;
  pointer-events: auto;
  padding: 0 20px 16px;
  order: 1;
  display: flex;
  gap: 40px;
  justify-content: center;
}

.hero-info-item h4 {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.hero-info-item p {
  font-size: 0.8rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ===== Section Styles ===== */
.section {
  padding: 80px 0;
}

.section-popular {
  padding: 40px 0 80px;
}

.section-warm {
  background-color: var(--color-bg-warm);
}

.section-cream {
  background-color: var(--color-bg-cream);
}

.section-light {
  background-color: var(--color-bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.section-divider {
  width: 30px;
  height: 2px;
  background-color: var(--color-primary);
  margin: 0 auto 20px;
}

/* ===== Popular Treatments ===== */
.section-title-centered {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--color-black);
  margin-bottom: 8px;
}

.section-title-centered::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--color-primary);
  margin: 12px auto 40px;
}

.popular-treatments {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  padding-bottom: 20px;
}

.treatment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  text-decoration: none;
  transition: transform var(--transition);
  white-space: nowrap;
}

.treatment-item:hover {
  transform: translateY(-4px);
}

.treatment-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--color-bg-cream);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.treatment-icon svg {
  width: 24px;
  height: 24px;
}

.treatment-item h3 {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-black);
  line-height: 1.4;
}

/* ===== Two Column Section ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.two-col-content h2 {
  margin-bottom: 20px;
}

.two-col-content p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ===== Our Story Section ===== */
.our-story-section {
  background-color: var(--color-bg-cream);
  padding: 80px 0;
}

.our-story-panel {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 60px;
}

.our-story-panel .our-story-image {
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg-warm);
  padding: 20px;
  aspect-ratio: 1 / 1;
  max-width: 400px;
}

.our-story-panel .our-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.our-story-panel .our-story-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.our-story-panel .our-story-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.our-story-panel .our-story-content h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 20px;
}

.our-story-panel .our-story-content p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.our-story-panel .our-story-content .btn {
  align-self: flex-start;
  margin-top: 8px;
}

/* ===== Gift Cards ===== */
.gift-cards {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.gift-cards-content h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.gift-cards-content p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 24px;
  line-height: 1.6;
}

.gift-cards-image {
  text-align: center;
}

.gift-cards-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ===== Promotion Slider ===== */
.promotion-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 0 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.promotion-slider::-webkit-scrollbar {
  display: none;
}

.promo-card {
  flex: 0 0 300px;
  scroll-snap-align: center;
  text-align: center;
}

.promo-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 16px;
}

.promo-card .promo-date {
  font-size: 0.7rem;
  color: var(--color-text-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.promo-card .promo-title {
  font-size: 0.85rem;
  font-weight: 500;
}

.promotion-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.promotion-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-bg-warm);
  cursor: pointer;
  transition: background-color var(--transition);
}

.promotion-dots .dot.active {
  background-color: var(--color-primary);
}

/* ===== Service Cards (Chinese homepage) ===== */
.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  background-color: var(--color-white);
  transition: all var(--transition);
  text-decoration: none;
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.service-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--color-bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card-icon svg {
  width: 40px;
  height: 40px;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.service-card-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-primary-dark);
}

.service-card-link span {
  font-size: 1.2rem;
  vertical-align: middle;
}

/* ===== Brand Logos ===== */
.brand-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  padding: 40px 0;
}

.brand-logo-item {
  opacity: 0.5;
  transition: opacity var(--transition);
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 2px;
  color: var(--color-text-light);
}

.brand-logo-item:hover {
  opacity: 1;
}

/* ===== Page Header (service pages) ===== */
.page-header {
  position: relative;
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 60px;
  text-align: center;
  background-color: var(--color-bg-cream);
  overflow: hidden;
}

.page-header h1 {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-black);
}

.page-header-skincare {
  background-image: url('https://static-global.mase.cloud/mase/web/img/missco_hero2.jpg?v=img_v2');
}

/* White nav (separate from hero) */
.nav-white {
  position: fixed !important;
  background-color: var(--color-white) !important;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.nav-white .nav-logo img {
  filter: none !important;
}
.nav-white .nav-toggle span {
  background-color: var(--color-black) !important;
}
.nav-white .nav-links > a {
  color: var(--color-text) !important;
}
.nav-white .nav-dropdown > .dropdown-trigger {
  color: var(--color-text) !important;
}
.nav-white .nav-links > a.btn-book-now {
  color: var(--color-white) !important;
}
.nav-white .lang-switch a {
  color: var(--color-text) !important;
}
.nav-white .lang-switch a.active {
  color: var(--color-black) !important;
}

/* ===== UltraFormer MPT Page Header ===== */
.page-header-ultraformer {
  background-image: url('../img/ultraformer-mpt/missco_MPT.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 400px;
  padding-top: 80px;
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-header-ultraformer h1 {
  font-size: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-white);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.page-header-dpl {
  background-image: url('https://static-global.mase.cloud/mase/web/img/dpl/dpl_hero.png?v=img_v3');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 400px;
  padding-top: 80px;
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-header-dpl h1 {
  font-size: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-white);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Nav in document flow (for pages with hero, not overlay) */
.nav.nav-absolute {
  position: relative;
  background-color: var(--color-white);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.nav.nav-absolute .nav-logo img {
  filter: none;
}
.nav.nav-absolute .nav-links > a {
  color: var(--color-text);
}
.nav.nav-absolute .nav-links > a.btn-book-now {
  color: var(--color-white);
}
.nav.nav-absolute .nav-dropdown > .dropdown-trigger {
  color: var(--color-text);
}
.nav.nav-absolute .lang-switch {
  border-left-color: rgba(0,0,0,0.1);
}
.nav.nav-absolute .lang-switch a {
  color: var(--color-text-light);
}
.nav.nav-absolute .lang-switch a.active {
  color: var(--color-primary);
}
.nav.nav-absolute .nav-toggle span {
  background-color: var(--color-black);
}

@media (max-width: 900px) {
  .page-header-ultraformer {
    height: 200px;
    padding-top: 60px;
  }
  .page-header-ultraformer h1 {
    font-size: 1.2rem;
  }
  .page-header-dpl {
    height: 200px;
    padding-top: 60px;
  }
  .page-header-dpl h1 {
    font-size: 1.2rem;
  }
}

/* ===== Page Header (treatment pages) ===== */
.page-header {
  position: relative;
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 60px;
  text-align: center;
  background-color: var(--color-bg-cream);
  overflow: hidden;
}

.page-header h1 {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-black);
}

/* ===== Page Hero (story/contact/appointment pages) ===== */
.page-hero {
  position: relative;
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 60px;
  text-align: center;
  background-color: var(--color-bg-warm);
  background-image: url('https://static-global.mase.cloud/mase/web/img/missco_contact.jpg?v=img_v2');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero-story {
  background-image: url('https://static-global.mase.cloud/mase/web/img/missco_ourstory_bg.jpg?v=img_v2');
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.7);
  z-index: 0;
  pointer-events: none;
}

.page-hero > .container-narrow {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 2.2rem;
  letter-spacing: 1px;
}

/* ===== Contact Form ===== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0,0,0,0.15);
  background: var(--color-white);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--color-text);
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form .submit-btn {
  justify-self: end;
  margin-top: 8px;
}

.contact-form .form-row-2 {
  display: grid;
  gap: 16px;
}

.contact-form .captcha-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-form .captcha-refresh {
  background: none;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 4px;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.contact-form .captcha-refresh:hover {
  background-color: var(--color-bg-cream);
}

.contact-form .captcha-row input {
  flex: 1;
  max-width: 120px;
}

/* ===== Maps Container ===== */
.maps-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 40px;
}

.maps-container .studio-image {
  height: 400px;
  background: linear-gradient(135deg,#e8e0d6,#d9d0c5);
}

.maps-container .studio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.maps-container .map-embed {
  height: 400px;
}

.maps-container .map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== Policies Section ===== */
.policies-section {
  max-width: 700px;
  margin: 0 auto;
}

.policies-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.6rem;
}

.policies-list {
  border-top: 1px solid rgba(0,0,0,0.08);
}

.policies-list .policy-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.policy-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.policy-question .policy-toggle {
  font-size: 1.2rem;
  color: var(--color-text-light);
  transition: transform var(--transition);
}

.policy-item.open .policy-toggle {
  transform: rotate(45deg);
}

.policy-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.policy-answer-inner {
  padding: 0 0 16px;
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.policy-item.open .policy-answer {
  max-height: 500px;
}

/* ===== Inner Page Service Layout ===== */
.inner-page-service {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 60px 0;
  align-items: start;
}

.inner-page-service .sidebar-nav {
  grid-column: 1;
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}

.inner-page-service > *:not(.sidebar-nav) {
  grid-column: 2;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-text-light);
  transition: all var(--transition);
  word-break: break-word;
  hyphens: auto;
  line-height: 1.4;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: var(--color-primary);
}

.sidebar-nav a .nav-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-nav a .nav-icon svg {
  width: 40px;
  height: 40px;
}

/* ===== Pricing Table ===== */
.pricing-section {
  margin-bottom: 60px;
}

.pricing-section h3 {
  text-align: center;
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.pricing-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.pricing-note a {
  color: var(--color-text-light);
  text-decoration: underline;
}

.pricing-note a:hover {
  color: var(--color-primary);
}

.pricing-table {
  max-width: 100%;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  gap: 16px;
}

.pricing-row .service-name {
  flex: 1 1 auto;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
  word-break: break-word;
  min-width: 0;
}

.pricing-row .price {
  flex: 0 0 auto;
  font-size: 0.85rem;
  color: var(--color-text);
  white-space: nowrap;
  text-align: right;
}

.pricing-row .price-trial {
  font-size: 0.7rem;
  color: var(--color-text-light);
  display: block;
}

.pricing-row.trial-price {
  background: rgba(246, 235, 231, 0.4);
  border-bottom: 1px dashed rgba(0,0,0,0.08);
  padding: 6px 0 6px 12px;
  margin: -6px 0 4px;
}

.pricing-row.trial-price .service-name {
  font-weight: 400;
  color: var(--color-text-light);
  font-size: 0.75rem;
}

.pricing-row.trial-price .price {
  font-weight: 600;
  color: #b8860b;
  font-size: 0.8rem;
}

.trial-label {
  display: inline;
  font-size: 0.75rem;
  color: #b8860b;
  font-weight: 500;
  margin-left: 4px;
}

.trial-notice {
  background: rgba(246, 235, 231, 0.6);
  border: 1px solid rgba(184, 134, 11, 0.15);
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 32px;
  font-size: 0.85rem;
  color: var(--color-text);
}

.trial-notice ul li {
  margin-bottom: 4px;
  line-height: 1.6;
}

.pricing-columns {
  display: flex;
  gap: 30px;
}

.pricing-columns > div {
  flex: 1;
  min-width: 0;
}

.pricing-book-btn {
  text-align: center;
  margin-top: 24px;
  display: flex;
  justify-content: center;
  max-width: 600px;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ===== Treatment Card (image + content side by side) ===== */
.treatment-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 30px;
  border-radius: 12px;
}

.treatment-card .treatment-content p {
  margin-bottom: 16px;
  font-size: 0.9rem;
  line-height: 1.8;
}

.treatment-card .treatment-content p:last-child {
  margin-bottom: 0;
}

.treatment-card .treatment-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .treatment-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }
  .treatment-card .treatment-image {
    order: -1;
  }
  .treatment-card .treatment-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

/* Page header for facial */
.page-header-facial {
  background: linear-gradient(135deg, #f5ebe0 0%, #d4a9a9 100%);
}

/* ===== Expandable List (per-item accordion) ===== */
.expandable-list {
  border-top: 1px solid rgba(0,0,0,0.08);
}

.expandable-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.expandable-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition);
  user-select: none;
}

.expandable-item-header:hover {
  color: var(--color-primary);
}

.expandable-item-header .expand-toggle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 12px;
}

.expandable-item.open .expand-toggle {
  transform: rotate(45deg);
}

.expandable-item-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.expandable-item-content p {
  padding: 0 0 14px;
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin: 0;
}

/* ===== MPT Technology Diagram ===== */
.mpt-diagram {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 20px 0;
}

.mpt-diagram-item {
  text-align: center;
}

.mpt-diagram-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: var(--color-bg-cream);
}

.mpt-diagram-item p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 12px;
  margin-bottom: 0;
  text-align: center;
}

/* ===== Detail Page (treatment intro) ===== */
.detail-page {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0 40px;
  padding: 60px 20px;
  align-items: start;
}

.detail-page-sidebar {
  grid-column: 1;
  grid-row: 1;
  position: sticky;
  top: calc(var(--nav-height) + 20px);
  padding-right: 16px;
  border-right: 1px solid rgba(0,0,0,0.08);
}

.detail-section {
  grid-column: 2;
  margin-bottom: 48px;
}

.detail-page-sidebar a {
  display: block;
  padding: 8px 0;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  color: var(--color-text-light);
  transition: all var(--transition);
  border-left: 2px solid transparent;
  padding-left: 12px;
  margin-left: -12px;
}

.detail-page-sidebar a:hover,
.detail-page-sidebar a.active {
  color: var(--color-primary);
  border-left-color: var(--color-primary);
}

.detail-section h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.detail-section h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  margin-top: 20px;
}

.detail-section p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 12px;
}

.benefit-list {
  list-style: none;
  padding: 0;
}

.benefit-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.benefit-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.policy-section {
  margin-bottom: 24px;
  padding: 20px;
  background-color: var(--color-bg-cream);
  border-radius: 8px;
}

.policy-section h4 {
  margin-top: 0;
}

.policy-section p {
  margin-bottom: 0;
}

/* ===== FAQ Accordion ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
}

.faq-question .faq-toggle {
  font-size: 1.2rem;
  color: var(--color-text-light);
  transition: transform var(--transition);
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 0 16px;
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 1500px;
}

/* ===== Contact Info Bar ===== */
.contact-bar {
  display: flex;
  justify-content: center;
  gap: 80px;
  padding: 40px 20px;
  text-align: center;
}

.contact-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.contact-bar-item .contact-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-bar-item .contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 1.5;
}

.contact-bar-item h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-bar-item p {
  font-size: 0.8rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
  background-color: var(--color-bg-warm);
  padding: 40px 0 24px;
}

.footer .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.footer-logo {
  display: inline-block;
  line-height: 0;
}

.footer-logo img {
  height: 24px;
  width: auto;
  display: block;
  filter: brightness(0.3);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social a svg {
  width: 20px;
  height: 20px;
  fill: var(--color-text-light);
  transition: fill var(--transition);
}

.footer-social a:hover svg {
  fill: var(--color-primary);
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.05);
  font-size: 0.7rem;
  color: var(--color-text-light);
}

/* ===== Before & After Comparison ===== */
.before-after-slider {
  position: relative;
  overflow: hidden;
  padding: 16px 0 8px;
}

.ba-slider-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
}

.ba-card {
  flex: 0 0 100%;
}

.ba-card img {
  display: block;
  width: 100%;
  max-height: 700px;
  object-fit: cover;
  border-radius: 8px;
}

.ba-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}

.ba-nav-btn:hover {
  background: rgba(255,255,255,0.95);
}

.ba-nav-btn svg {
  width: 20px;
  height: 20px;
  stroke: #333;
  stroke-width: 2;
  fill: none;
}

.ba-prev { left: 8px; }
.ba-next { right: 8px; }

.ba-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.ba-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.ba-dot.active {
  background: rgba(0,0,0,0.5);
}

/* ===== FAQ Tabs ===== */
.faq-tabs {
  max-width: 100%;
}

.faq-tabs-nav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-bottom: 2px solid rgba(0,0,0,0.08);
  padding: 0;
  scroll-snap-type: x mandatory;
}

.faq-tabs-nav::-webkit-scrollbar {
  display: none;
}

.faq-tab-btn {
  flex: 0 0 auto;
  padding: 12px 20px;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: var(--font-sans);
  color: var(--color-text-light);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  scroll-snap-align: start;
}

.faq-tab-btn:hover {
  color: var(--color-text);
}

.faq-tab-btn.active {
  color: var(--color-black);
  border-bottom-color: var(--color-primary);
  font-weight: 600;
}

.faq-tabs-content {
  position: relative;
  min-height: 120px;
}

.faq-tab-panel {
  display: none;
  padding: 20px 0;
  animation: fadeInTab 0.3s ease;
}

.faq-tab-panel.active {
  display: block;
}

.faq-tab-panel p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 0;
}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Image Placeholder ===== */
.img-placeholder {
  background-color: var(--color-bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* ===== Responsive 1200px ===== */
@media (max-width: 1200px) {
  .hero-text {
    left: 60px;
    transform: translate(0, calc(-50% - 20px));
  }

  .hero-nav {
    left: 0;
    right: 0;
    transform: none;
    max-width: none;
    width: auto;
  }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh; /* Use dynamic viewport height on mobile */
    background-color: var(--color-bg-light);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 12px;
    padding-bottom: 40px;
    gap: 0;
    transform: translate3d(100%, 0, 0);
    -webkit-transform: translate3d(100%, 0, 0);
    transition: transform 0.3s ease;
    z-index: 10001;
    pointer-events: none; /* Prevent hidden nav from intercepting touches */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.open {
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    pointer-events: auto; /* Re-enable touches when open */
  }

  .nav-links.open ~ .nav-toggle,
  .nav-links.open ~ div > .nav-toggle {
    display: none;
  }

  /* Mobile nav logo centered at top */
  .nav-links .mobile-nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px 24px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
  }

  .nav-links .mobile-nav-logo .nav-logo img {
    height: 40px;
    filter: none;
  }

  /* Close button positioned absolutely on the right */
  .nav-links .mobile-nav-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--color-text);
    font-size: 1.5rem;
    line-height: 1;
    z-index: 3;
  }

  /* Links container */
  .nav-links .nav-links-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    padding: 0 24px;
    position: relative;
    z-index: 1;
  }

  .nav-links a {
    font-size: 1.1rem;
    font-family: var(--font-serif);
    color: var(--color-text);
    text-align: center;
    padding: 8px 0;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 400;
  }

  .nav-links .lang-switch a.active {
    color: var(--color-primary);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links .nav-dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav-dropdown .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0 0;
    gap: 8px;
  }

  .nav-dropdown .dropdown-menu::before {
    content: 'SERVICES';
    font-size: 0.65rem;
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text-light);
    display: block;
    margin-bottom: 12px;
    text-align: center;
  }

  .nav-dropdown.open .dropdown-menu {
    display: flex;
  }

  .dropdown-menu a {
    font-size: 1.1rem;
    font-family: var(--font-serif);
    padding: 4px 0;
    color: var(--color-text);
    text-align: center;
  }

  .dropdown-menu a:hover {
    background-color: transparent;
  }

  .nav-dropdown .dropdown-arrow {
    display: none;
  }

  .dropdown-trigger {
    display: none;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle span {
    background-color: var(--color-black);
  }

  .lang-switch {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    justify-content: center;
    margin-top: 8px;
  }

  /* Disable backdrop-filter on mobile — causes scroll jitter / repaint storms */
  .nav-glass {
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-glass.scrolled {
    background-color: var(--color-white);
  }

  /* Disable expensive transitions on mobile to prevent scroll jitter */
  .nav {
    transition: background-color 0.3s ease;
  }
  .nav.scrolled {
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    transition: background-color 0.3s ease;
  }

  /* Ensure nav-toggle responds to touch without delay */
  .nav-toggle {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  /* Chinese pages use OPPO Sans for mobile nav */
  html[lang="zh"] .nav-links a,
  html[lang="zh"] .dropdown-menu a {
    font-family: 'OPPO Sans', 'Inter', sans-serif;
  }

  /* Book Now button in mobile nav */
  .nav-links .btn-book-now {
    margin-top: 16px;
    padding: 14px 40px;
    font-size: 0.75rem;
    border-radius: 50px;
    letter-spacing: 2px;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .two-col-image {
    order: -1;
  }

  .hero {
    height: 650px;
  }

  .hero-bg-layer {
    background-position: 65% center;
  }

  .hero-content {
    padding: 0 30px;
  }

  .hero-text {
    left: 30px;
    transform: translateY(-50%);
    max-width: 360px;
  }

  .hero-nav {
    padding: 0 30px;
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-nav-card {
    padding: 14px 16px;
    gap: 12px;
  }

  .hero-nav-card-icon {
    width: 40px;
    height: 40px;
  }

  .hero-nav-card-icon svg {
    width: 24px;
    height: 24px;
  }

  .hero-nav-card span {
    font-size: 0.9rem;
  }

  .hero-text h1 {
    font-size: 2.5rem;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
  }

  .slide-subtitle {
    font-size: 0.95rem;
  }

  .btn-hero {
    padding: 12px 30px;
    font-size: 0.85rem;
  }

  .hero-footer .hero-info {
    flex-direction: column;
    gap: 12px;
    padding: 0 12px 12px;
  }

  .contact-bar {
    flex-direction: column;
    gap: 30px;
  }

  .gift-cards {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .our-story-panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .our-story-panel .our-story-image {
    aspect-ratio: 1 / 1;
    padding: 16px;
  }

  .our-story-panel .our-story-content {
    padding: 0;
  }

  .pricing-columns {
    flex-direction: column;
  }

  .pricing-row {
    flex-wrap: wrap;
  }

  .popular-treatments {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .treatment-item {
    min-width: auto;
  }

  .section-title-centered {
    font-size: 1.8rem;
  }

  .treatment-icon {
    width: 56px;
    height: 56px;
  }

  .treatment-icon svg,
  .treatment-icon img {
    width: 24px;
    height: 24px;
  }

  .treatment-item {
    white-space: normal;
  }

  .treatment-item h3 {
    font-size: 0.75rem;
    word-break: break-word;
  }

  .service-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .service-card {
    padding: 30px 16px;
  }

  .service-card-icon {
    width: 64px;
    height: 64px;
  }

  .service-card-icon svg {
    width: 32px;
    height: 32px;
  }

  .brand-logos {
    gap: 30px;
  }

  .inner-page-service {
    display: block !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .inner-page-service > * {
    padding-left: 8px;
    padding-right: 8px;
  }

  .inner-page-service .sidebar-nav {
    margin-left: -8px;
    margin-right: -8px;
    padding: 0 8px;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    margin-bottom: 24px;
    padding-bottom: 0;
    background: rgba(255,255,255,0.95); /* Higher opacity, no blur for mobile perf */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    position: sticky;
    top: var(--nav-height);
    z-index: 10;
    /* GPU-accelerate sticky nav to prevent scroll jitter */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }

  .inner-page-service .sidebar-nav a {
    padding: 12px 14px;
    font-size: 0.65rem;
    white-space: nowrap;
    flex-shrink: 0;
    word-break: normal;
    hyphens: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
  }

  .inner-page-service .sidebar-nav a.active {
    border-bottom-color: var(--color-primary);
  }

  .inner-page-service .sidebar-nav a .nav-icon {
    display: none;
  }

  .inner-page-service .sidebar-nav a .nav-icon svg {
    display: none;
  }

  .inner-page-service .sidebar-nav::-webkit-scrollbar {
    display: none;
  }

  .detail-page {
    display: block !important;
    padding: 40px 16px;
  }

  .detail-page-sidebar {
    display: none !important;
  }

  .detail-page > *:first-child {
    display: block;
  }

  .policy-section {
    padding: 16px;
  }

  .ba-card img {
    max-height: 350px;
  }

  .faq-tab-btn {
    padding: 10px 16px;
    font-size: 0.75rem;
  }

  .page-header h1 {
    font-size: 1.2rem;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr;
  }

  .maps-container {
    grid-template-columns: 1fr;
  }

  .maps-container .studio-image,
  .maps-container .map-embed {
    height: 300px;
  }

  .policies-section {
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.2rem; }

  .container {
    padding: 0 16px;
  }

  .inner-page-service {
    padding: 0 16px !important;
  }

  .pricing-section {
    padding: 0 12px;
  }

  .hero {
    height: 500px;
  }

  .hero-content {
    padding: 0 16px;
  }

  .hero-text {
    left: 16px;
    transform: translateY(-50%);
    max-width: calc(100% - 32px);
  }

  .hero-text h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
  }

  .slide-subtitle {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }

  .btn-hero {
    padding: 10px 24px;
    font-size: 0.8rem;
  }

  .hero-nav {
    padding: 0 16px;
    gap: 8px;
    grid-template-columns: repeat(2, 1fr);
    bottom: 20px;
  }

  .hero-nav-card {
    padding: 12px 14px;
    gap: 10px;
  }

  .hero-nav-card-icon {
    width: 36px;
    height: 36px;
  }

  .hero-nav-card-icon svg {
    width: 20px;
    height: 20px;
  }

  .hero-nav-card span {
    font-size: 0.8rem;
  }

  .section {
    padding: 50px 0;
  }

  .popular-treatments {
    gap: 8px;
  }

  .section-title-centered {
    font-size: 1.5rem;
  }

  .section-title-centered::after {
    margin-bottom: 30px;
  }

  .treatment-icon {
    width: 48px;
    height: 48px;
  }

  .treatment-icon svg,
  .treatment-icon img {
    width: 22px;
    height: 22px;
  }

  .treatment-item h3 {
    font-size: 0.75rem;
  }

  .pricing-section {
    padding: 0 16px;
  }

  .our-story-panel .our-story-image {
    aspect-ratio: 1 / 1;
    padding: 12px;
  }

  .our-story-panel .our-story-content {
    padding: 0;
  }

  .our-story-panel .our-story-content h2 {
    font-size: 1.4rem;
  }

  .footer .container {
    flex-direction: column;
    gap: 20px;
  }
}

/* ===== Animation ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* ===== Eyelash Extensions Page ===== */
.page-header-eyelash {
  background-image: none !important;
}

/* Override detail-page sidebar grid — eyelash page has no sidebar */
.eyelash-content {
  display: block;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.lashes-category {
  margin-bottom: 2rem;
}

.lashes-category-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  text-align: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.lashes-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.lashes-price-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lashes-price-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #e8e0d6;
}

.lashes-price-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Placeholder card: center the icon */
.lashes-price-placeholder .lashes-price-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lashes-price-placeholder .lashes-price-image img {
  width: auto;
  height: auto;
  max-width: 64px;
  max-height: 64px;
  object-fit: contain;
  opacity: 0.4;
}

.lashes-price-item:hover .lashes-price-image img {
  transform: scale(1.03);
}

.lashes-price-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #333;
  text-align: center;
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}

.lashes-category-price-range {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

#eyelash-extensions .photo-menu-text,
.pricing-section .photo-menu-text,
.photo-menu-text {
  text-align: center !important;
  margin: -4px 0 16px 0;
  display: block !important;
}

#eyelash-extensions .photo-menu-text a,
.photo-menu-text a {
  text-align: center !important;
  display: inline-block;
}

.photo-menu-link {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: #999;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s ease;
}

.photo-menu-link:hover {
  color: var(--color-primary);
}

.lashes-extras-list {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0.5rem 0;
}

.lashes-extra-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #333;
}

.lashes-extra-price {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #c4a882;
  white-space: nowrap;
}

.lashes-price-value {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #c4a882;
  text-align: center;
}

@media (max-width: 768px) {
  .lashes-price-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .lashes-category-title {
    font-size: 1rem;
  }
  .lashes-extras-list {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }
}

