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

:root {
  --color-bg: #F7F4EF;
  --color-bg-light: #FAF8F5;
  --color-bg-warm: #F0EBE3;
  --color-text: #2E2E2E;
  --color-text-secondary: #6B6B6B;
  --color-text-muted: #9A9A9A;
  --color-accent: #B86B4C;
  --color-accent-hover: #A05A3D;
  --color-sage: #8A9A87;
  --color-gold: #C4A77D;
  --color-border: #E5E0D8;
  --font-serif-en: 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-serif-cn: 'Noto Serif SC', 'Songti SC', serif;
  --font-sans-en: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans-cn: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --transition: all 0.3s ease;
  --shadow-soft: 0 4px 24px rgba(46, 46, 46, 0.06);
  --shadow-medium: 0 8px 40px rgba(46, 46, 46, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans-en), var(--font-sans-cn);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body:lang(zh),
body.lang-cn {
  font-family: var(--font-sans-cn), var(--font-sans-en);
}

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

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

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Typography === */
h1, h2, h3, h4 {
  font-family: var(--font-serif-en), var(--font-serif-cn);
  font-weight: 400;
  line-height: 1.2;
}

body.lang-cn h1,
body.lang-cn h2,
body.lang-cn h3,
body.lang-cn h4 {
  font-family: var(--font-serif-cn), var(--font-serif-en);
}

.section {
  padding: 120px 0;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-tag {
  display: block;
  font-family: var(--font-sans-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

body.lang-cn .section-tag {
  font-family: var(--font-sans-cn);
  text-transform: none;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.section-header h2 {
  font-size: 42px;
  margin-bottom: 20px;
  color: var(--color-text);
}

body.lang-cn .section-header h2 {
  font-size: 38px;
}

.section-header p {
  font-size: 17px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

body.lang-cn .section-header p {
  font-size: 16px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

body.lang-cn .btn {
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 14px;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

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

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

.btn-outline:hover {
  background-color: var(--color-text);
  color: #fff;
}

/* === Header === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition);
  padding: 20px 0;
}

.site-header.scrolled {
  background-color: rgba(247, 244, 239, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  padding: 14px 0;
}

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

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.logo-en {
  font-family: var(--font-serif-en);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.logo-cn {
  font-family: var(--font-serif-cn);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color-text-secondary);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  gap: 40px;
}

.main-nav a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
}

body.lang-cn .main-nav a {
  text-transform: none;
  letter-spacing: 0.04em;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: var(--transition);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-toggle {
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  padding: 4px;
  transition: var(--transition);
}

.lang-toggle:hover {
  color: var(--color-accent);
}

.nav-cta {
  padding: 12px 24px;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--color-text);
  transition: var(--transition);
}

/* === Hero === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(247, 244, 239, 0.45), rgba(247, 244, 239, 0.85));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  margin-bottom: 24px;
}

body.lang-cn .hero-label {
  text-transform: none;
  letter-spacing: 0.1em;
  font-size: 13px;
}

.hero-title {
  font-size: 72px;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--color-text);
}

body.lang-cn .hero-title {
  font-size: 60px;
}

.hero-title-strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  display: block;
  letter-spacing: -0.01em;
}

.hero-title em {
  font-style: italic;
  color: var(--color-accent);
}

.hero-lead {
  font-family: var(--font-serif-cn), var(--font-serif-en);
  font-size: 19px;
  color: var(--color-text);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 8px;
}

body.lang-en .hero-lead {
  font-family: var(--font-serif-en), var(--font-serif-cn);
  font-size: 18px;
}

.hero-lead-sub {
  font-size: 17px;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
}

body.lang-en .hero-lead-sub {
  font-size: 16px;
}

.hero-subtitle {
  font-family: var(--font-serif-en), var(--font-serif-cn);
  font-size: 22px;
  font-style: italic;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  margin-bottom: 40px;
  line-height: 1.5;
}

body.lang-cn .hero-subtitle {
  font-family: var(--font-serif-cn), var(--font-serif-en);
  font-size: 20px;
  font-style: normal;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  animation: bounce 2s infinite;
}

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

/* === About / Pillars === */
.section-about {
  background-color: var(--color-bg);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}

.pillar {
  background-color: var(--color-bg-light);
  padding: 48px 36px;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.pillar:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.pillar-number {
  display: block;
  font-family: var(--font-serif-en);
  font-size: 14px;
  color: var(--color-accent);
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.pillar h3 {
  font-size: 26px;
  margin-bottom: 16px;
  color: var(--color-text);
}

body.lang-cn .pillar h3 {
  font-size: 24px;
}

.pillar p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.process {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  background-color: var(--color-bg-light);
  padding: 48px;
  border: 1px solid var(--color-border);
}

.process-step {
  flex: 1;
  text-align: center;
  max-width: 280px;
}

.process-tag {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

body.lang-cn .process-tag {
  text-transform: none;
  font-size: 12px;
}

.process-step h4 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--color-text);
}

body.lang-cn .process-step h4 {
  font-size: 20px;
}

.process-step p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.process-arrow {
  display: flex;
  align-items: center;
  font-family: var(--font-serif-en);
  font-size: 24px;
  color: var(--color-accent);
  padding-top: 20px;
}

/* === Services === */
.section-services {
  background-color: var(--color-bg-warm);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-medium);
}

.service-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 36px;
}

.service-category {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

body.lang-cn .service-category {
  text-transform: none;
  font-size: 12px;
}

.service-content h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--color-text);
}

body.lang-cn .service-content h3 {
  font-size: 26px;
}

.service-content ul {
  margin-bottom: 20px;
}

.service-content li {
  font-size: 15px;
  color: var(--color-text);
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}

.service-content li:last-child {
  border-bottom: none;
}

.service-content p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* === Space === */
.section-space {
  background-color: var(--color-bg);
}

.space-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, 280px);
  gap: 16px;
}

.space-image {
  overflow: hidden;
  position: relative;
}

.space-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.space-image:hover img {
  transform: scale(1.05);
}

.space-image-large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.space-image-wide {
  grid-column: 2 / 4;
  grid-row: 2 / 3;
}

/* === First Visit === */
.section-first-visit {
  background-color: var(--color-bg-warm);
}

.first-visit-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.first-visit-content {
  max-width: 560px;
}

.first-visit-content h2 {
  font-size: 42px;
  margin: 16px 0 20px;
}

body.lang-cn .first-visit-content h2 {
  font-size: 38px;
}

.first-visit-content > p {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

.visit-steps {
  margin-bottom: 40px;
}

.visit-steps li {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
}

.visit-steps li:first-child {
  padding-top: 0;
}

.visit-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  font-family: var(--font-serif-en);
  font-size: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.visit-steps h4 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--color-text);
}

body.lang-cn .visit-steps h4 {
  font-size: 18px;
}

.visit-steps p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.first-visit-image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.first-visit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === Contact === */
.section-contact {
  background-color: var(--color-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
  min-height: 520px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  font-size: 42px;
  margin: 16px 0 20px;
}

body.lang-cn .contact-info h2 {
  font-size: 38px;
}

.contact-info > p {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact-details {
  margin-bottom: 40px;
}

.contact-item {
  margin-bottom: 28px;
}

.contact-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 6px;
}

body.lang-cn .contact-label {
  text-transform: none;
  font-size: 12px;
}

.contact-item p {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.6;
}

.contact-item a {
  color: var(--color-accent);
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--color-accent-hover);
}

.contact-cn {
  display: block;
  color: var(--color-text-secondary);
  font-size: 15px;
  margin-top: 4px;
}

.contact-map {
  border: 1px solid var(--color-border);
  overflow: hidden;
  min-height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  filter: grayscale(20%) sepia(10%);
}

/* === Footer === */
.site-footer {
  background-color: var(--color-text);
  color: var(--color-bg-light);
  padding: 64px 0 32px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo-en {
  font-family: var(--font-serif-en);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.footer-logo-cn {
  font-family: var(--font-serif-cn);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.footer-brand p {
  font-family: var(--font-serif-en), var(--font-serif-cn);
  font-style: italic;
  font-size: 15px;
  color: var(--color-text-muted);
  margin-top: 12px;
}

body.lang-cn .footer-brand p {
  font-style: normal;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-bg-light);
  opacity: 0.8;
  transition: var(--transition);
}

body.lang-cn .footer-links a {
  text-transform: none;
  letter-spacing: 0.04em;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-accent);
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  width: 100%;
}

.footer-legal p {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* === Mobile Menu === */
.mobile-menu-open .main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  z-index: 999;
}

.mobile-menu-open .main-nav a {
  font-size: 20px;
}

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

.mobile-menu-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

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

/* === Responsive === */
@media (max-width: 1024px) {
  .pillars,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card:last-child {
    grid-column: span 2;
  }

  .space-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 220px);
  }

  .space-image-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .space-image-wide {
    grid-column: span 2;
    grid-row: span 1;
  }
}

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

  .section-header h2 {
    font-size: 32px;
  }

  body.lang-cn .section-header h2 {
    font-size: 28px;
  }

  .hero-title {
    font-size: 48px;
  }

  body.lang-cn .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-lead {
    font-size: 17px;
  }

  body.lang-en .hero-lead {
    font-size: 16px;
  }

  .hero-lead-sub {
    font-size: 15px;
  }

  body.lang-en .hero-lead-sub {
    font-size: 15px;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .pillars,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card:last-child {
    grid-column: span 1;
  }

  .process {
    flex-direction: column;
    padding: 36px 24px;
  }

  .process-arrow {
    transform: rotate(90deg);
    padding: 0;
  }

  .space-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 240px);
  }

  .space-image-large,
  .space-image-wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .first-visit-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .first-visit-image {
    aspect-ratio: 4 / 3;
  }

  .contact-map {
    min-height: 320px;
  }

  .footer-links {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .pillar {
    padding: 36px 24px;
  }

  .service-content {
    padding: 28px;
  }
}
