:root {
  --bg-cream: #f7efe6;
  --bg-sand: #efe1cf;
  --ink: #1f1a16;
  --ink-soft: #3a2f29;
  --gold: #d1a24a;
  --gold-deep: #b58433;
  --gold-soft: rgba(209, 162, 74, 0.35);
  --sage: #6e7b63;
  --sage-deep: #4d5a45;
  --sage-light: #e3ece0;
  --dark: #14110f;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(20, 17, 15, 0.15);
  --font-body: "Space Grotesk", "Futura", sans-serif;
  --font-display: "Cormorant Garamond", serif;
  --lux-corner: rgba(209, 162, 74, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(209, 162, 74, 0.18), transparent 40%),
    radial-gradient(circle at 82% 12%, rgba(110, 123, 99, 0.2), transparent 45%),
    linear-gradient(140deg, var(--bg-cream), var(--bg-sand));
  min-height: 100vh;
}

body.lang-zh {
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Noto Serif SC", "Songti SC", serif;
}

body.lang-en {
  --font-body: "Space Grotesk", "Futura", sans-serif;
  --font-display: "Cormorant Garamond", serif;
}

body.lang-fr {
  --font-body: "Space Grotesk", "Futura", sans-serif;
  --font-display: "Cormorant Garamond", serif;
}

body.home {
  background:
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.2) 0 1px, rgba(255, 255, 255, 0) 1px 14px),
    radial-gradient(circle at 12% 10%, rgba(209, 162, 74, 0.18), transparent 40%),
    radial-gradient(circle at 82% 12%, rgba(110, 123, 99, 0.2), transparent 45%),
    linear-gradient(140deg, var(--bg-cream), var(--bg-sand));
  background-blend-mode: soft-light, screen, screen, normal;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto auto 8% -12%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(209, 162, 74, 0.2), transparent 70%);
  filter: blur(12px);
  z-index: 0;
  pointer-events: none;
}

body::after {
  inset: 12% -10% auto auto;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(78, 95, 70, 0.18), transparent 65%);
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 96px 0;
}

.section-sage {
  background:
    linear-gradient(140deg, rgba(227, 236, 224, 0.94), rgba(255, 255, 255, 0.6)),
    url("assets/pattern-green.png");
  background-size: 380px;
  background-blend-mode: screen;
  border-top: 1px solid rgba(78, 95, 70, 0.12);
  border-bottom: 1px solid rgba(78, 95, 70, 0.12);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(247, 239, 230, 0.82);
  border-bottom: 1px solid rgba(209, 162, 74, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand img {
  height: 42px;
  filter: drop-shadow(0 6px 12px rgba(20, 17, 15, 0.18));
}

.brand-gold {
  color: var(--gold);
  text-shadow: 0 6px 18px rgba(209, 162, 74, 0.22);
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-mobile {
  display: none;
  position: relative;
}

.nav-mobile summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(31, 26, 22, 0.2);
  font-weight: 600;
}

.nav-mobile summary::-webkit-details-marker {
  display: none;
}

.nav-mobile[open] summary {
  background: var(--sage-deep);
  color: var(--white);
  border-color: transparent;
}

.nav-mobile-panel {
  position: absolute;
  right: 0;
  top: 52px;
  display: grid;
  gap: 10px;
  min-width: 220px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 26, 22, 0.1);
  z-index: 10;
}

.nav-mobile-panel a {
  font-weight: 600;
}

.nav-mobile-panel .btn {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--gold-deep);
}

.btn-ghost {
  border: 1px solid rgba(31, 26, 22, 0.2);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.btn-sage {
  background: var(--sage-deep);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-sage:hover {
  transform: translateY(-2px);
  background: var(--sage);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(110, 123, 99, 0.18);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 600;
}

body.lang-zh .nav,
body.lang-zh .badge {
  text-transform: none;
  letter-spacing: 0.06em;
}

.hero {
  padding-top: 120px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  margin: 16px 0 12px;
}

.hero-tagline {
  margin: 0 0 10px;
  font-size: 0.92rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.hero-tagline strong {
  font-weight: 700;
}

body.lang-zh .hero-tagline {
  text-transform: none;
  letter-spacing: 0.08em;
}

.hero-copy p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.hero-copy .lead {
  font-size: 1.2rem;
  color: var(--ink);
}

.hero-keywords {
  margin-top: 10px;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 26px 0;
}

.hero-meta {
  display: grid;
  gap: 16px;
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(31, 26, 22, 0.1);
}

.meta-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(31, 26, 22, 0.6);
}

.meta-value {
  font-weight: 600;
}

.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  background: linear-gradient(150deg, rgba(214, 206, 195, 0.92), rgba(167, 179, 165, 0.78));
  padding: 28px;
  border-radius: 32px;
  box-shadow: var(--shadow);
  color: var(--white);
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 26px;
  border: 2px solid rgba(207, 167, 93, 0.35);
  pointer-events: none;
}

.hero-frame img {
  border-radius: 24px;
}

.hero-card {
  margin-top: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-highlights {
  margin: 18px 0 20px;
}

.hero-highlights .pill-row {
  margin-top: 0;
}

.hero-card h3 {
  margin: 10px 0 8px;
}

.hero-card a {
  color: var(--gold);
  font-weight: 600;
}

.mini-logo {
  height: 40px;
  width: auto;
  border-radius: 0;
  object-fit: contain;
}


.section-head h2,
.split-copy h2,
.contact-copy h2,
.page-hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 12px;
}

.section-head p {
  margin: 0 0 36px;
  color: var(--ink-soft);
}

.section-head h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.services {
  position: relative;
}

.service-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-card {
  padding: 26px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(209, 162, 74, 0.16);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card ul {
  padding-left: 18px;
  color: var(--ink-soft);
  margin: 0;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.service-details {
  margin-top: 32px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-detail-group {
  padding: 24px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(209, 162, 74, 0.16);
}

.service-detail-title {
  margin: 0 0 12px;
}

.service-detail-group details {
  border-top: 1px solid rgba(31, 26, 22, 0.1);
  padding: 14px 0;
}

.service-detail-group details:first-of-type {
  border-top: none;
  padding-top: 0;
}

.service-detail-group summary {
  cursor: pointer;
  font-weight: 600;
}

.service-detail-group summary::marker {
  color: var(--gold);
}

.service-detail-group p {
  margin: 10px 0 0;
  color: var(--ink-soft);
}

.service-note {
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.split-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.pill-row span {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(110, 123, 99, 0.18);
  font-size: 0.85rem;
  font-weight: 600;
}

.pill-row span.pill-gold {
  background: rgba(209, 162, 74, 0.2);
  color: var(--gold-deep);
}

.split-panel {
  background: rgba(236, 232, 224, 0.9);
  color: var(--ink);
  padding: 28px;
  border-radius: 28px;
  display: grid;
  gap: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 26, 22, 0.12);
}

.split-panel ul {
  margin: 0;
  padding-left: 20px;
}

.salon-gallery {
  margin-top: 36px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: row;
}

.salon-photo {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}

.salon-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery {
  position: relative;
}

.gallery-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: row;
}

.gallery-grid-large {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid-duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-item {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-cta {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.gallery-note {
  margin-top: 16px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(31, 26, 22, 0.5);
}

body.lang-zh .gallery-note {
  text-transform: none;
  letter-spacing: 0.08em;
}

.offers {
  background: linear-gradient(140deg, rgba(209, 162, 74, 0.08), rgba(20, 17, 15, 0.05));
}

.offer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.offer-card {
  padding: 22px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid rgba(209, 162, 74, 0.16);
  box-shadow: var(--shadow);
}

.gift-card {
  margin-top: 32px;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(209, 162, 74, 0.18);
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.contact {
  background: var(--dark);
  color: var(--white);
}

.contact-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.contact-details {
  display: grid;
  gap: 16px;
  margin: 20px 0 28px;
}

.contact-note {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.contact-panel {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.site-footer {
  padding: 48px 0;
  background: #0d0b0a;
  color: rgba(255, 255, 255, 0.8);
}

.footer-inner {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.site-footer img {
  height: 34px;
  margin-bottom: 12px;
}

.site-footer a {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.85);
}

.floating-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--sage-deep);
  color: var(--white);
  font-weight: 600;
  box-shadow: var(--shadow);
}

.page-hero {
  padding: 140px 0 80px;
}

.page-hero-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.page-hero-copy p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.page-hero-copy .lead {
  font-size: 1.2rem;
  color: var(--ink);
}

.page-hero-visual {
  position: relative;
}

.page-hero-media {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-hero-card {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(209, 162, 74, 0.2);
  box-shadow: var(--shadow);
}

.page-hero-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.detail-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.detail-card {
  padding: 22px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid rgba(31, 26, 22, 0.08);
  box-shadow: var(--shadow);
}

.detail-card-wide {
  margin-top: 18px;
  border: 1px solid rgba(209, 162, 74, 0.2);
  background: rgba(255, 255, 255, 0.92);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(31, 26, 22, 0.1);
}

.lang-switch a {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-family: "Noto Sans SC", "Space Grotesk", sans-serif;
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
}

.lang-switch a:hover {
  transform: translateY(-1px);
  border-color: rgba(209, 162, 74, 0.6);
}

.lang-switch a.is-active {
  border-color: var(--gold);
  box-shadow: 0 6px 12px rgba(209, 162, 74, 0.25);
  background: rgba(255, 255, 255, 0.9);
}

:is(.service-card, .detail-card, .detail-card-wide, .hero-card, .page-hero-card, .offer-card, .gallery-card, .info-card, .split-panel) {
  position: relative;
}

:is(.service-card, .detail-card, .detail-card-wide, .hero-card, .page-hero-card, .offer-card, .gallery-card, .info-card, .split-panel)::before,
:is(.service-card, .detail-card, .detail-card-wide, .hero-card, .page-hero-card, .offer-card, .gallery-card, .info-card, .split-panel)::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1px solid var(--lux-corner);
  opacity: 0.85;
  pointer-events: none;
}

:is(.service-card, .detail-card, .detail-card-wide, .hero-card, .page-hero-card, .offer-card, .gallery-card, .info-card, .split-panel)::before {
  top: 14px;
  left: 14px;
  border-right: 0;
  border-bottom: 0;
}

:is(.service-card, .detail-card, .detail-card-wide, .hero-card, .page-hero-card, .offer-card, .gallery-card, .info-card, .split-panel)::after {
  bottom: 14px;
  right: 14px;
  border-left: 0;
  border-top: 0;
}

.guarantee-card {
  display: grid;
  gap: 12px;
  align-items: center;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.92), rgba(227, 236, 224, 0.7));
  border: 1px solid rgba(209, 162, 74, 0.25);
}

.guarantee-card .guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--gold-deep);
}

.guarantee-card .guarantee-badge span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(209, 162, 74, 0.2);
  border: 1px solid rgba(209, 162, 74, 0.45);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--gold-deep);
}

.cta-band {
  padding: 48px;
  border-radius: 28px;
  background: linear-gradient(140deg, rgba(110, 123, 99, 0.2), rgba(209, 162, 74, 0.1));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .nav-mobile {
    display: block;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 90px;
  }

  .salon-gallery,
  .gallery-grid,
  .gallery-grid-large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }

  .hero-actions,
  .gallery-cta,
  .service-actions,
  .service-links {
    flex-direction: column;
  }

  .hero-actions .btn,
  .gallery-cta .btn,
  .service-actions .btn,
  .service-links .btn {
    width: 100%;
  }

  .floating-cta {
    right: 16px;
    bottom: 16px;
  }

  .salon-gallery,
  .gallery-grid,
  .gallery-grid-large {
    grid-template-columns: 1fr;
  }

  .page-hero-media {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    transition: none;
    transform: none;
    opacity: 1;
  }

  .btn {
    transition: none;
  }
}
