/* ================================================================
   OrientScan — Refined Medical Travel Theme
   Design System: Warm Eastern Modernism
   ================================================================ */

/* ----- Design Tokens ----- */
:root {
  /* OKLCH Color Palette — Warm-tinted neutrals, teal primary, gold accent */
  --color-primary:       oklch(56% 0.12 195);
  --color-primary-dark:  oklch(40% 0.09 195);
  --color-primary-light: oklch(92% 0.03 195);
  --color-primary-pale:  oklch(97% 0.01 195);
  --color-accent:        oklch(68% 0.13 82);
  --color-accent-dark:   oklch(54% 0.11 80);
  --color-accent-light:  oklch(94% 0.03 82);

  /* Tinted Neutrals — never pure black or white */
  --color-surface:   oklch(100% 0 0);
  --color-bg:        oklch(97.5% 0.005 80);
  --color-bg-alt:    oklch(95% 0.006 80);
  --color-text:      oklch(22% 0.01 245);
  --color-text-body: oklch(38% 0.01 245);
  --color-text-muted:oklch(55% 0.008 245);
  --color-border:    oklch(88% 0.01 80);
  --color-border-subtle: oklch(93% 0.006 80);

  /* Typography — Playfair Display for headings, Plus Jakarta Sans for body */
  --font-heading: 'Playfair Display', 'Noto Serif SC', Georgia, 'Times New Roman', serif;
  --font-body:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;

  /* Fluid Type Scale (major third: 1.25) */
  --text-xs:   clamp(0.7rem, 1.5vw, 0.75rem);
  --text-sm:   clamp(0.8rem, 1.6vw, 0.875rem);
  --text-base: clamp(0.95rem, 1.8vw, 1rem);
  --text-md:   clamp(1.05rem, 2vw, 1.15rem);
  --text-lg:   clamp(1.2rem, 2.5vw, 1.35rem);
  --text-xl:   clamp(1.6rem, 3.5vw, 2rem);
  --text-2xl:  clamp(2rem, 5vw, 3.2rem);
  --text-3xl:  clamp(2.4rem, 6vw, 4rem);

  /* Spacing — 4pt base */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Motion */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Container */
  --container-max: 1160px;
  --container-narrow: 800px;
}

/* ----- Reset & Base ----- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-body);
  background: var(--color-surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ----- Bilingual Toggle ----- */
html[lang="en"] [data-zh] { display: none !important; }
html[lang="zh"] [data-en] { display: none !important; }

/* ----- Container ----- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2rem);
}

/* ----- Section Rhythm ----- */
.section       { padding-block: var(--space-2xl); }
.section-tight { padding-block: var(--space-xl); }
.section-roomy { padding-block: var(--space-3xl); }

/* ----- Typography Utilities ----- */
.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 58ch;
}

/* Centered section head */
.section-head {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.section-head .section-subtitle {
  margin-inline: auto;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.75em 2em;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    background 0.2s var(--ease-out),
    transform 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: oklch(48% 0.11 195);
  box-shadow: 0 8px 28px oklch(56% 0.12 195 / 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  box-shadow: inset 0 0 0 1.5px var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--color-accent-dark);
  box-shadow: 0 8px 28px oklch(68% 0.13 82 / 0.3);
}

.btn-white {
  background: #fff;
  color: var(--color-primary);
}
.btn-white:hover {
  background: var(--color-primary-pale);
  box-shadow: 0 8px 28px oklch(100% 0 0 / 0.25);
}

.btn-nav-cta {
  padding: 8px 20px;
  font-size: 0.88rem;
}

/* ----- Navigation ----- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: oklch(100% 0 0 / 0.88);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-border-subtle);
  transition: box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.navbar.scrolled {
  box-shadow: 0 1px 0 oklch(0% 0 0 / 0.04), 0 2px 12px oklch(0% 0 0 / 0.04);
  border-bottom-color: var(--color-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.1em;
  transition: opacity 0.2s var(--ease-out);
}
.nav-logo:hover { opacity: 0.85; }
.nav-logo span {
  color: var(--color-accent);
  font-weight: 400;
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2.25rem);
  align-items: center;
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-body);
  transition: color 0.2s var(--ease-out);
  position: relative;
  padding-block: 4px;
}
.nav-links a:hover { color: var(--color-primary); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-out);
}
.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 14px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text);
  background: transparent;
  transition: all 0.25s var(--ease-out);
}
.lang-toggle:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-pale);
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
}

/* 移动端附加功能 — 桌面端始终隐藏，仅在移动端菜单打开时显示 */
.mobile-nav-extras {
  display: none;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  margin: 4px 0;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
/* 汉堡 → X 动画 */
.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ----- Hero — Asymmetric Layout ----- */
.hero {
  background-color: var(--color-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: var(--space-3xl) 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
}

/* 背景图遮罩：确保文字可读 */
.hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, oklch(98% 0.005 250 / 0.6) 0%, oklch(97% 0.008 220 / 0.3) 50%, transparent 70%);
  z-index: 0;
}

/* Hero Logo 水印 — 半透明重复 Logo 背景 */
.hero-watermark {
  position: absolute;
  top: 50%;
  right: 5%;
  width: 55%;
  height: 80%;
  transform: translateY(-50%);
  background-repeat: repeat;
  background-size: 180px 80px;
  background-position: center;
  opacity: 0.03;
  z-index: 0;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 50%, black 0%, transparent 70%);
}

[data-theme="dark"] .hero-watermark {
  opacity: 0.04;
}

/* Decorative circle */
.hero::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 60% 40%, oklch(56% 0.12 195 / 0.06) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, oklch(68% 0.13 82 / 0.04) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 5px 16px;
  background: oklch(56% 0.12 195 / 0.07);
  border: 1px solid oklch(56% 0.12 195 / 0.15);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.hero p {
  font-size: var(--text-md);
  color: var(--color-text-body);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ----- Stats Bar — Refined horizontal band ----- */
.stats-bar {
  background: var(--color-primary);
  padding: var(--space-lg) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  text-align: center;
}
.stat-item { color: #fff; }
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 2px;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: var(--text-sm);
  opacity: 0.8;
  font-weight: 500;
}

/* ----- Services Grid — Editorial card layout ----- */
.services-bg { background: var(--color-surface); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
  transition:
    border-color 0.3s var(--ease-out),
    box-shadow 0.4s var(--ease-out),
    transform 0.4s var(--ease-out);
}
.service-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 1px 0 oklch(0% 0 0 / 0.03), 0 8px 36px oklch(0% 0 0 / 0.06);
  transform: translateY(-2px);
}

/* Subtle top accent line */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--space-lg);
  right: var(--space-lg);
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.service-card:hover .service-icon {
  background: oklch(56% 0.12 195 / 0.15);
  transform: scale(1.05);
}
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
  line-height: 1.2;
}

.service-subtitle {
  font-size: var(--text-xs);
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.service-card p {
  font-size: var(--text-sm);
  color: var(--color-text-body);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-tag {
  padding: 3px 11px;
  background: var(--color-bg-alt);
  border-radius: 100px;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border-subtle);
}

/* Eye surgery — wide card */
.service-card.wide { grid-column: span 3; }

.eye-surgery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.eye-surgery-block {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid var(--color-border-subtle);
  transition: border-color 0.2s var(--ease-out);
}
.eye-surgery-block:hover {
  border-color: var(--color-primary-light);
}

.eye-surgery-block h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 8px;
}
.eye-surgery-block h4 svg { flex-shrink: 0; }

.eye-surgery-block li {
  font-size: var(--text-sm);
  color: var(--color-text-body);
  padding: 5px 0 5px 20px;
  position: relative;
  line-height: 1.4;
}
.eye-surgery-block li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.6;
}

/* ----- Packages — Comparison Cards ----- */
.packages-bg { background: var(--color-bg); }

.packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.package-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  border: 1px solid var(--color-border-subtle);
  transition:
    border-color 0.3s var(--ease-out),
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.package-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px oklch(0% 0 0 / 0.08);
}

/* Featured plan */
.package-card.featured {
  border-color: var(--color-primary);
  border-width: 2px;
  background: linear-gradient(180deg, var(--color-primary-pale) 0%, var(--color-surface) 28%);
  box-shadow:
    0 1px 0 oklch(56% 0.12 195 / 0.08),
    0 8px 40px oklch(56% 0.12 195 / 0.14);
}

.package-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  padding: 4px 16px;
  border-radius: 100px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.package-days {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 2px;
}
.package-days span {
  font-size: var(--text-base);
  font-weight: 500;
  font-family: var(--font-body);
}

.package-name {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.package-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  line-height: 1.5;
}

.package-price {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.package-price strong {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-top: 4px;
  line-height: 1.1;
}

.package-features {
  text-align: left;
  margin-bottom: var(--space-md);
  flex: 1;
}
.package-features li {
  font-size: var(--text-sm);
  color: var(--color-text-body);
  padding: 5px 0 5px 22px;
  position: relative;
  line-height: 1.4;
}
.package-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary-light);
}
.package-features li::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 13px;
  width: 6px;
  height: 3px;
  border-left: 1.5px solid var(--color-primary);
  border-bottom: 1.5px solid var(--color-primary);
  transform: rotate(-45deg);
}

/* ----- Included Services ----- */
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.included-card {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  border: 1px solid transparent;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.included-card:hover {
  background: var(--color-primary-pale);
  border-color: var(--color-primary-light);
}

.included-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  box-shadow: 0 1px 3px oklch(0% 0 0 / 0.04);
  transition: transform 0.25s var(--ease-out);
}
.included-card:hover .included-icon {
  transform: scale(1.08);
}
.included-icon svg { width: 22px; height: 22px; }

.included-card h4 {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}
.included-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ----- Process Steps ----- */
.process-bg {
  background: var(--color-primary);
  color: #fff;
}
.process-bg .section-title { color: #fff; }
.process-bg .section-subtitle { color: oklch(100% 0 0 / 0.75); }
.process-bg .section-label { color: oklch(100% 0 0 / 0.7); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-sm);
  position: relative;
}
/* Connecting line */
.process-grid::before {
  content: '';
  position: absolute;
  top: 98px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: oklch(100% 0 0 / 0.18);
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--space-xs) auto var(--space-sm);
  box-shadow: 0 4px 20px oklch(0% 0 0 / 0.12);
  transition: transform 0.3s var(--ease-out);
}
.process-step:hover .process-number {
  transform: scale(1.08);
}

.process-step h4 {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 2px;
}
.process-step p {
  font-size: var(--text-xs);
  opacity: 0.7;
  line-height: 1.4;
}

/* ----- Why Us ----- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.why-card {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  background: var(--color-surface);
  transition:
    border-color 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}
.why-card:hover {
  border-color: var(--color-primary-light);
  box-shadow: 0 8px 28px oklch(0% 0 0 / 0.05);
}

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  color: var(--color-primary);
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.why-card:hover .why-icon {
  background: oklch(56% 0.12 195 / 0.12);
  transform: scale(1.05);
}
.why-icon svg { width: 28px; height: 28px; }

.why-card h4 {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}
.why-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ----- CTA (legacy, kept for reference) ----- */
.cta-section {
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: var(--space-2xl) 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, oklch(100% 0 0 / 0.06) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}
.cta-section p {
  font-size: var(--text-md);
  opacity: 0.82;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
  max-width: 52ch;
  margin-inline: auto;
}

/* ================================================================
   Consultation Section — Split Layout
   ================================================================ */
.consult-bg {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

/* Larger, more intentional decorative blobs */
.consult-bg::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -100px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle at 55% 45%, oklch(56% 0.12 195 / 0.05) 0%, oklch(56% 0.12 195 / 0.02) 35%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}
.consult-bg::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle at 45% 55%, oklch(68% 0.13 82 / 0.04) 0%, oklch(68% 0.13 82 / 0.01) 40%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

/* ---- Grid Layout ----
   Two columns: sidebar (~35%) + form (~65%)
   Collapses to single column on mobile */
.consult-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
  margin-top: var(--space-xl);
  position: relative;
  z-index: 1;
}

.consult-grid > * {
  min-width: 0;
}

/* ================================================================
   Left Sidebar — Contact Info + Trust Badges
   ================================================================ */
.consult-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* Contact Channels */
.contact-channels-title {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Contact Chip — clickable card for each channel */
.contact-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.25s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    transform 0.25s var(--ease-out);
  cursor: pointer;
}
.contact-chip:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 18px oklch(0% 0 0 / 0.06);
  transform: translateY(-1px);
}

/* Static chip (non-clickable, e.g. WeChat) */
.contact-chip-static {
  cursor: default;
}
.contact-chip-static:hover {
  transform: none;
  border-color: var(--color-border-subtle);
  box-shadow: none;
}

/* Channel Icon */
.contact-chip-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease-spring);
}
.contact-chip:hover .contact-chip-icon {
  transform: scale(1.08);
}
.contact-chip-static:hover .contact-chip-icon {
  transform: none;
}

/* Channel-specific icon colors */
.whatsapp-icon {
  background: oklch(92% 0.06 142);
  color: oklch(48% 0.14 142);
}
.wechat-icon {
  background: oklch(92% 0.03 160);
  color: oklch(48% 0.08 160);
}
.email-icon {
  background: var(--color-primary-pale);
  color: var(--color-primary);
}
.phone-icon {
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
}

/* Chip Text */
.contact-chip-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.contact-chip-text strong {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}
.contact-chip-val {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Arrow indicator for clickable chips */
.contact-chip-arrow {
  flex-shrink: 0;
  color: var(--color-text-muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.contact-chip:hover .contact-chip-arrow {
  opacity: 0.5;
  transform: translateX(0);
}
.contact-chip-static .contact-chip-arrow {
  display: none;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--color-text-body);
  line-height: 1.4;
}
.trust-badge svg {
  flex-shrink: 0;
  color: var(--color-primary);
  opacity: 0.65;
}

/* ================================================================
   Right Column — Contact Form Card
   ================================================================ */
.consult-form-wrapper {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow:
    0 1px 0 oklch(0% 0 0 / 0.03),
    0 8px 32px oklch(0% 0 0 / 0.05);
  transition:
    border-color 0.3s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}
.consult-form-wrapper:hover {
  border-color: oklch(56% 0.12 195 / 0.15);
  box-shadow:
    0 1px 0 oklch(0% 0 0 / 0.03),
    0 12px 40px oklch(0% 0 0 / 0.07);
}

/* Decorative top accent line on card */
.consult-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--space-md);
  right: var(--space-md);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-accent), transparent);
  opacity: 0.6;
  border-radius: 1px;
}

.consult-form-placeholder {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  color: var(--color-text-muted);
  font-size: var(--text-base);
  border: 1.5px dashed var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
}

/* ================================================================
   Halo Contact Form Plugin — CSS Variables
   Refined to match OrientScan design system
   ================================================================ */
:root {
  --halo-contact-form-font-family: var(--font-body);
  --halo-contact-form-font-size: var(--text-base);
  --halo-contact-form-line-height: 1.65;
  --halo-contact-form-border-radius: var(--radius-sm);
  --halo-contact-form-width-submit: 100%;
  --halo-contact-form-spacing: var(--space-md);
  --halo-contact-form-spacing-small: var(--space-sm);

  /* Brand colors */
  --halo-contact-form-color-primary: oklch(56% 0.12 195);
  --halo-contact-form-color-primary-hover: oklch(48% 0.11 195);

  /* Text */
  --halo-contact-form-color-label: oklch(38% 0.01 245);
  --halo-contact-form-color-input: oklch(22% 0.01 245);
  --halo-contact-form-color-input-selection: oklch(56% 0.12 195 / 0.12);
  --halo-contact-form-color-help: oklch(55% 0.008 245);

  /* Borders & rings */
  --halo-contact-form-color-border: oklch(88% 0.01 80);
  --halo-contact-form-color-border-focus: oklch(56% 0.12 195);
  --halo-contact-form-color-danger: oklch(58% 0.18 25);
  --halo-contact-form-focus-ring-color: oklch(56% 0.12 195 / 0.12);
  --halo-contact-form-error-ring-color: oklch(58% 0.18 25 / 0.35);
  --halo-contact-form-error-ring-focus-color: oklch(58% 0.18 25 / 0.2);

  /* Button */
  --halo-contact-form-color-button: oklch(100% 0 0);
  --halo-contact-form-color-button-hover: oklch(97.5% 0.005 195);
  --halo-contact-form-button-hover-shadow: 0 6px 22px oklch(56% 0.12 195 / 0.3);
  --halo-contact-form-button-hover-transform: translateY(-1px);

  /* Backgrounds */
  --halo-contact-form-bg-input: var(--color-bg);
  --halo-contact-form-bg-decorator: linear-gradient(180deg, var(--color-bg) 0%, transparent 100%);
  --halo-contact-form-auto-color-modal-bg: var(--color-surface);
}

/* Dark mode overrides */
[data-theme="dark"] halo-contact-form {
  color-scheme: dark;
  --halo-contact-form-color-primary: oklch(66% 0.14 195);
  --halo-contact-form-color-primary-hover: oklch(58% 0.13 195);
  --halo-contact-form-color-label: oklch(78% 0.01 245);
  --halo-contact-form-color-input: oklch(92% 0.005 250);
  --halo-contact-form-color-input-selection: oklch(66% 0.14 195 / 0.18);
  --halo-contact-form-color-help: oklch(62% 0.008 245);
  --halo-contact-form-color-border: oklch(35% 0.01 245);
  --halo-contact-form-color-border-focus: oklch(66% 0.14 195);
  --halo-contact-form-color-danger: oklch(65% 0.20 25);
  --halo-contact-form-focus-ring-color: oklch(66% 0.14 195 / 0.18);
  --halo-contact-form-error-ring-color: oklch(65% 0.20 25 / 0.4);
  --halo-contact-form-error-ring-focus-color: oklch(65% 0.20 25 / 0.25);
  --halo-contact-form-color-button: oklch(18% 0.01 250);
  --halo-contact-form-color-button-hover: oklch(28% 0.01 250);
  --halo-contact-form-button-hover-shadow: 0 6px 22px oklch(66% 0.14 195 / 0.2);
  --halo-contact-form-button-hover-transform: translateY(-1px);
  --halo-contact-form-bg-input: var(--color-bg-alt);
  --halo-contact-form-bg-decorator: linear-gradient(180deg, var(--color-bg-alt) 0%, transparent 100%);
  --halo-contact-form-auto-color-modal-bg: var(--color-surface);
}

/* Form card background for dark mode */
[data-theme="dark"] .consult-form-wrapper {
  background: var(--color-surface);
  border-color: var(--color-border);
}
[data-theme="dark"] .consult-form-placeholder {
  background: var(--color-bg-alt);
}

.consult-form-wrapper halo-contact-form {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

/* ================================================================
   Responsive — Collapse to single column
   ================================================================ */
@media (max-width: 768px) {
  .consult-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
  }

  /* 关键修复：grid/flex 子元素默认 min-width: auto，导致内容宽度超出视口时无法收缩 */
  .consult-grid > * {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .consult-sidebar {
    order: 2;
  }

  .consult-form-wrapper {
    order: 1;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    max-width: 100%;
    overflow: hidden;
  }

  /* halo-contact-form 是 Shadow DOM Web Component，
     外部 CSS 无法穿透 shadow boundary，
     只能在宿主元素上设置 overflow:hidden 来裁剪内部溢出 */
  .consult-form-wrapper halo-contact-form {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    min-width: 0 !important;
  }

  /* 防止整个区块横向溢出 */
  .consult-bg {
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* 咨询区块标题和描述自适应 */
  .consult-bg .section-title,
  .consult-bg .section-subtitle {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Contact chip 文字不换行值截断 */
  .contact-chip-val {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .contact-chip-text {
    min-width: 0;
    overflow: hidden;
  }

  .consult-form-wrapper::before {
    left: var(--space-sm);
    right: var(--space-sm);
  }

  .contact-channels {
    gap: 8px;
  }

  .contact-chip {
    padding: 12px 14px;
  }

  .trust-badges {
    padding: var(--space-sm);
  }
}

/* Reduced motion — disable hover transforms */
@media (prefers-reduced-motion: reduce) {
  .contact-chip,
  .contact-chip:hover,
  .contact-chip-icon,
  .consult-form-wrapper {
    transform: none !important;
    transition: none !important;
  }
}

/* ----- Footer ----- */
.footer {
  background: oklch(18% 0.01 250);
  color: oklch(70% 0.01 250);
  padding: var(--space-2xl) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-sm);
}
.footer-brand h3 span {
  color: var(--color-accent);
  font-weight: 400;
  font-style: italic;
}
.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  max-width: 36ch;
  color: oklch(65% 0.01 250);
}

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: oklch(100% 0 0 / 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: oklch(70% 0.01 250);
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.footer-social a:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}
.footer-social svg { width: 17px; height: 17px; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.02em;
}
.footer-col li { padding: 5px 0; }
.footer-col a {
  font-size: var(--text-sm);
  color: oklch(65% 0.01 250);
  transition: color 0.2s var(--ease-out);
}
.footer-col a:hover { color: var(--color-primary); }

/* Contact Column */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--text-sm);
  color: oklch(65% 0.01 250);
  padding: 0;
}
.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 2px;
}
.footer-contact-item a {
  color: oklch(65% 0.01 250);
  transition: color 0.2s var(--ease-out);
}
.footer-contact-item a:hover { color: var(--color-primary); }

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--color-primary);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  transition:
    background 0.2s var(--ease-out),
    transform 0.2s var(--ease-out);
}
.footer-cta-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.footer-bottom {
  border-top: 1px solid oklch(100% 0 0 / 0.08);
  padding-top: var(--space-md);
  text-align: center;
  font-size: var(--text-xs);
  color: oklch(50% 0.01 250);
}

/* ----- Blog / Page Templates ----- */
.post-header {
  padding: var(--space-2xl) 0 var(--space-lg);
  background: var(--color-bg);
}
.post-header h1 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}
.post-meta {
  display: flex;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.post-content {
  padding: var(--space-xl) 0 var(--space-2xl);
  max-width: var(--container-narrow);
  margin-inline: auto;
}
.post-content h2 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}
.post-content h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
}
.post-content p {
  margin-bottom: var(--space-sm);
  line-height: 1.75;
  font-size: var(--text-base);
}
.post-content img {
  border-radius: var(--radius-md);
  margin: var(--space-lg) 0;
}

/* Archive / List */
.archive-list { max-width: var(--container-narrow); margin-inline: auto; }
.archive-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border-subtle);
}
.archive-item img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.archive-item h3 {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}
.archive-item h3 a:hover { color: var(--color-primary); }
.archive-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ----- Responsive ----- */
@media (max-width: 968px) {
  :root {
    --space-2xl: 4rem;
    --space-3xl: 5rem;
  }

  .services-grid, .packages-grid, .included-grid, .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .eye-surgery-grid { grid-template-columns: 1fr; }
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
  .process-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: var(--space-lg); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
}

@media (max-width: 768px) {
  :root {
    --space-2xl: 3rem;
    --space-3xl: 4rem;
  }

  /* ---- Mobile Navbar Redesign ---- */
  .nav-inner {
    height: 56px;
    display: flex;
    gap: var(--space-xs);
  }
  /* 汉堡按钮在左侧 */
  .mobile-menu-btn { display: block; flex-shrink: 0; }
  /* Logo 自动填充中间空间，但限制最大宽度 */
  .nav-logo { flex: 1; min-width: 0; }
  .nav-logo-img {
    max-width: 130px;
    height: auto;
  }
  /* 隐藏桌面端的次要操作 */
  .nav-actions .btn-primary { display: none; }
  .nav-actions .theme-toggle  { display: none; }
  /* 语言切换更紧凑 */
  .lang-toggle {
    padding: 4px 10px;
    font-size: 0.7rem;
    flex-shrink: 0;
  }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    padding: var(--space-md);
    gap: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 12px 32px oklch(0% 0 0 / 0.08);
    z-index: 999;
  }

  /* 移动菜单附加功能区 — 仅移动端显示 */
  .mobile-nav-extras { display: none; }
  .nav-links.open .mobile-nav-extras {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
  }
  .mobile-theme-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-body);
    padding: 10px 0;
    cursor: pointer;
    transition: color 0.2s;
  }
  .mobile-theme-btn:hover { color: var(--color-primary); }
  .mobile-consult-btn {
    display: block;
    text-align: center;
    padding: 10px 0;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 600;
    transition: background 0.2s;
  }
  .mobile-consult-btn:hover {
    background: var(--color-primary-dark);
  }

  .hero { padding: var(--space-2xl) 0 var(--space-xl); }
  .hero h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .hero p { font-size: var(--text-base); }

  .section { padding-block: var(--space-xl); }
  .section-title { font-size: clamp(1.5rem, 6vw, 1.8rem); }

  .services-grid, .packages-grid, .included-grid, .why-grid {
    grid-template-columns: 1fr;
  }
  .service-card.wide { grid-column: span 1; }

  .stats-grid { gap: var(--space-md); }
  .stat-number { font-size: 1.8rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
  .footer-contact-col { grid-column: 1 / -1; }

  .archive-item { flex-direction: column; }
  .archive-item img { width: 100%; height: 160px; }
}

/* ----- Reduced Motion ----- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  html { scroll-behavior: auto; }
}

/* ================================================================
   深色模式 (Dark Mode)
   由 data-theme="dark" 触发（JS 根据后台配置或系统偏好设置）
   ================================================================ */
[data-theme="dark"] {
  /* 深色背景层次 */
  --color-surface:         oklch(14% 0.008 250);
  --color-bg:              oklch(11% 0.006 250);
  --color-bg-alt:          oklch(17% 0.008 250);

  /* 文字 */
  --color-text:            oklch(94% 0.005 250);
  --color-text-body:       oklch(80% 0.006 250);
  --color-text-muted:      oklch(62% 0.007 250);

  /* 边框 */
  --color-border:          oklch(30% 0.01 250);
  --color-border-subtle:   oklch(24% 0.008 250);

  /* 主色 — 在深色背景上稍微提亮 */
  --color-primary:         oklch(65% 0.14 195);
  --color-primary-dark:    oklch(48% 0.11 195);
  --color-primary-light:   oklch(35% 0.06 195);
  --color-primary-pale:    oklch(20% 0.04 195);

  /* 辅助色 */
  --color-accent:          oklch(75% 0.14 82);
  --color-accent-dark:     oklch(60% 0.12 80);
  --color-accent-light:    oklch(25% 0.04 82);
}

/* 深色模式 — Navbar */
[data-theme="dark"] .navbar {
  background: oklch(14% 0.008 250 / 0.92);
  border-bottom-color: var(--color-border);
}
[data-theme="dark"] .nav-links.open {
  background: var(--color-surface);
  border-bottom-color: var(--color-border);
}

/* 深色模式 — 移动菜单附加区 */
[data-theme="dark"] .mobile-nav-extras {
  border-top-color: var(--color-border);
}
[data-theme="dark"] .mobile-theme-btn {
  color: var(--color-text-body);
}
[data-theme="dark"] .mobile-theme-btn:hover {
  color: var(--color-primary);
}
[data-theme="dark"] .mobile-consult-btn {
  background: var(--color-primary);
  color: #fff;
}
[data-theme="dark"] .mobile-consult-btn:hover {
  background: var(--color-primary-dark);
}

/* 深色模式 — Hero 装饰 */
[data-theme="dark"] .hero {
  background-color: var(--color-bg);
}

/* 深色模式 — 卡片 */
[data-theme="dark"] .service-card,
[data-theme="dark"] .package-card,
[data-theme="dark"] .why-card {
  background: var(--color-surface);
  border-color: var(--color-border-subtle);
}
[data-theme="dark"] .package-card.featured {
  background: linear-gradient(180deg, var(--color-primary-pale) 0%, var(--color-surface) 28%);
}

/* 深色模式 — 辅助区块 */
[data-theme="dark"] .eye-surgery-block,
[data-theme="dark"] .included-card {
  background: var(--color-bg-alt);
  border-color: var(--color-border-subtle);
}

/* 深色模式 — 标签 */
[data-theme="dark"] .service-tag {
  background: var(--color-bg-alt);
  border-color: var(--color-border);
  color: var(--color-text-muted);
}

/* 深色模式 — Footer */
[data-theme="dark"] .footer {
  background: oklch(9% 0.005 250);
}
[data-theme="dark"] .footer-cta-btn {
  background: var(--color-primary);
}
[data-theme="dark"] .footer-cta-btn:hover {
  background: var(--color-primary-dark);
}
[data-theme="dark"] .footer-contact-item svg {
  color: var(--color-accent);
}

/* 深色模式 — 滚动条 */
[data-theme="dark"] ::-webkit-scrollbar-track {
  background: var(--color-bg);
}
[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

/* ----- Logo 图片 ----- */
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}
.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: var(--space-sm);
  filter: brightness(0) invert(1);
  opacity: 0.9;
}


/* ----- 主题切换按钮 ----- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  color: var(--color-text-body);
  transition: all 0.25s var(--ease-out);
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-pale);
}
/* 图标切换：浅色时显示月亮，深色时显示太阳 */
[data-theme="light"] .theme-toggle .icon-moon,
[data-theme="auto"] .theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun,
[data-theme="auto"] .theme-toggle .icon-sun  { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* 深色模式 — ICP 页脚 */
.footer-icp {
  margin-top: 6px;
  font-size: var(--text-xs);
}
.footer-icp a {
  color: oklch(50% 0.01 250);
  transition: color 0.2s;
}
.footer-icp a:hover { color: var(--color-primary); }


/* ----- 服务板块重构：Tab 卡片式 ----- */
.services-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border-subtle);
  padding-bottom: 0;
}

.service-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
  margin-bottom: -1px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.service-tab-btn:hover { color: var(--color-primary); }
.service-tab-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  background: var(--color-primary-pale);
}
.service-tab-btn svg { flex-shrink: 0; }

.service-panel { display: none; }
.service-panel.active { display: block; }

.service-panel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  padding: var(--space-lg) 0;
}
@media (max-width: 768px) {
  .service-panel-inner { grid-template-columns: 1fr; gap: var(--space-lg); }
  .services-tabs { gap: 4px; }
  .service-tab-btn { padding: 8px 12px; font-size: var(--text-xs); }
}

.service-panel-text h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.service-panel-text p {
  font-size: var(--text-base);
  color: var(--color-text-body);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.service-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-md);
}

.service-visual {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  border: 1px solid var(--color-border-subtle);
}

/* 眼科子项列表（tab内） */
.eye-sub-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}
.eye-sub-btn {
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid var(--color-border);
  background: transparent;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.eye-sub-btn.active, .eye-sub-btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.eye-sub-list { display: none; }
.eye-sub-list.active { display: block; }
.eye-sub-list li {
  padding: 6px 0 6px 20px;
  position: relative;
  font-size: var(--text-sm);
  color: var(--color-text-body);
  line-height: 1.5;
}
.eye-sub-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.7;
}

/* 服务特色数字 */
.service-stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.service-stat {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border-subtle);
  text-align: center;
}
.service-stat-num {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
}
.service-stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ================================================================
   Shop Pages — 商城模板样式
   复用 OrientScan 设计系统：OKLCH 色彩、Playfair + Jakarta 字体
   ================================================================ */

/* ----- Shop Container ----- */
.shop-section {
  padding-block: var(--space-lg) var(--space-2xl);
  background: var(--color-bg);
  min-height: 60vh;
}

.shop-entry {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2rem);
}

/* ----- Shop Header ----- */
.shop-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}
.shop-header__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}
.shop-header__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

.shop-page-header {
  margin-bottom: var(--space-md);
}
.shop-page-header__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
}

/* ----- Category Bar ----- */
.shop-category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border-subtle);
}
.shop-category-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-body);
  background: var(--color-bg-alt);
  border: 1px solid transparent;
  border-radius: var(--radius-xl);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s var(--ease-out);
  cursor: pointer;
}
.shop-category-pill:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
  background: var(--color-primary-pale);
}
.shop-category-pill.is-active {
  background: var(--color-primary);
  color: oklch(100% 0 0);
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px oklch(56% 0.12 195 / 0.25);
}
.shop-category-pill.is-active:hover {
  background: var(--color-primary-dark);
  color: oklch(100% 0 0);
}

/* ----- Shop Filter ----- */
.shop-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-sm);
}
.shop-filter__search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 200px;
}
.shop-filter__icon {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  color: var(--color-text-muted);
  pointer-events: none;
  z-index: 1;
}

.shop-select,
.shop-input {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text-body);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  outline: none;
}
.shop-select:focus,
.shop-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px oklch(56% 0.12 195 / 0.12);
}
.shop-input {
  width: 100%;
  padding-left: 38px;
}

/* ----- Result Info ----- */
.shop-result-info {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  padding-left: var(--space-xs);
}
.shop-result-info strong {
  color: var(--color-text);
  font-weight: 600;
}

/* ----- Product Grid ----- */
.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

/* ----- Product Card ----- */
.shop-product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.shop-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px oklch(0% 0 0 / 0.08);
  border-color: var(--color-primary-light);
}
.shop-product-card__media {
  position: relative;
}
.shop-product-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.shop-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}
.shop-product-card:hover .shop-product-card__image img {
  transform: scale(1.05);
}
.shop-product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary-dark);
  background: oklch(100% 0 0 / 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}
.shop-product-card__body {
  padding: var(--space-sm) var(--space-md) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
}
.shop-product-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}
.shop-product-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.shop-product-card__footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding-top: var(--space-xs);
}
.shop-product-card__price {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--color-primary);
}
.shop-product-card__price-original {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Halo 商城内置组件：划线价另起一行 */
.shop-section del,
.shop-section s,
.shop-section strike,
.shop-section [class*="original"],
.shop-section [class*="Original"],
.shop-section [class*="strike"],
.shop-section [class*="Strike"],
.shop-section [class*="compare"],
.shop-section [class*="Compare"],
.shop-section [class*="market"],
.shop-section [class*="Market"],
.shop-section [class*="was"],
.shop-section [class*="Was"] {
  display: block !important;
  width: 100%;
  font-size: 0.85em;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-top: 2px;
  text-decoration: line-through;
}

/* 价格容器改为纵向排列 */
.shop-section [class*="price" i],
.shop-section [class*="Price" i],
.shop-section [class*="prices" i],
.shop-section [class*="Prices" i],
.shop-section .price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.shop-section [class*="price" i] > *,
.shop-section [class*="Price" i] > * {
  display: block;
}

/* ----- Products Page: Sidebar Layout ----- */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-lg);
  align-items: start;
}

/* ----- Sidebar ----- */
.shop-sidebar {
  position: sticky;
  top: 90px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.shop-sidebar-close {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}
.shop-sidebar-close:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}
.shop-sidebar-section {
  margin-bottom: var(--space-md);
}
.shop-sidebar-section:last-child {
  margin-bottom: 0;
}
.shop-sidebar-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}

/* ----- Category List ----- */
.shop-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.shop-category-list > li {
  margin-bottom: 2px;
}
.shop-category-item {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-body);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 0.2s var(--ease-out);
  position: relative;
}
.shop-category-item:hover {
  background: var(--color-primary-pale);
  color: var(--color-primary-dark);
}
.shop-category-item.is-active {
  background: var(--color-primary);
  color: oklch(100% 0 0);
  font-weight: 600;
}
.shop-category-item.is-sub {
  padding-left: 28px;
  font-size: 0.875rem;
  font-weight: 400;
}
.shop-subcategory-list {
  list-style: none;
  padding: 0;
  margin: 2px 0 4px;
}

/* ----- Price Filter ----- */
.shop-price-filter {
  list-style: none;
  padding: 0;
  margin: 0;
}
.shop-price-item {
  display: block;
  padding: 10px 14px;
  font-size: var(--text-sm);
  color: var(--color-text-body);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 0.2s var(--ease-out);
  margin-bottom: 2px;
}
.shop-price-item:hover {
  background: var(--color-primary-pale);
  color: var(--color-primary-dark);
}
.shop-price-item.is-active {
  background: var(--color-primary);
  color: oklch(100% 0 0);
  font-weight: 600;
}

/* ----- Filter Toggle (mobile) ----- */
.shop-filter-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-body);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  margin-bottom: var(--space-sm);
  width: 100%;
  justify-content: center;
}

/* ----- Horizontal Product Card ----- */
.shop-product-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.shop-product-card--horizontal {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch;
  gap: var(--space-md);
  padding: var(--space-sm);
  text-decoration: none;
  color: inherit;
  min-height: 140px;
}
.shop-product-card--horizontal .shop-product-card__image {
  width: 160px;
  min-width: 160px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-product-card--horizontal .shop-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--ease-out);
}
.shop-product-card--horizontal:hover .shop-product-card__image img {
  transform: scale(1.05);
}
.shop-product-card--horizontal .shop-product-card__image-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--color-border);
}
.shop-product-card--horizontal .shop-product-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-xs) 0;
}
.shop-product-card--horizontal .shop-product-card__name {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}
.shop-product-card--horizontal .shop-product-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.shop-product-card--horizontal .shop-product-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: var(--space-xs);
  gap: var(--space-md);
}
.shop-product-card--horizontal .shop-product-card__price-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
  order: 2;
}
.shop-product-card--horizontal .shop-product-card__price-usd {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
}
.shop-product-card--horizontal .shop-product-card__price {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.2;
}
.shop-product-card--horizontal .shop-product-card__price::before {
  content: none;
}
.shop-product-card--horizontal .shop-product-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-pale);
  border-radius: var(--radius-md);
  transition: all 0.2s var(--ease-out);
  white-space: nowrap;
  order: 1;
}
.shop-product-card--horizontal:hover .shop-product-card__cta {
  background: var(--color-primary);
  color: oklch(100% 0 0);
}

/* ----- USD est (used in other shop pages) ----- */
.shop-usd-est {
  font-size: 0.85em;
  color: var(--color-text-muted);
  margin-left: 4px;
  font-weight: 400;
  white-space: nowrap;
  display: block;
}

/* ----- Responsive ----- */
@media (max-width: 960px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .shop-filter-toggle {
    display: flex;
  }
  .shop-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    max-height: 100vh;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.3s var(--ease-out);
    border-radius: 0;
    padding-top: 56px;
  }
  .shop-sidebar.open {
    transform: translateX(0);
    box-shadow: 8px 0 32px oklch(0% 0 0 / 0.15);
  }
  .shop-sidebar-close {
    display: flex;
  }
  .shop-product-card--horizontal .shop-product-card__image {
    width: 120px;
    min-width: 120px;
  }
}

@media (max-width: 640px) {
  .shop-product-card--horizontal {
    gap: var(--space-sm);
    padding: var(--space-xs);
    min-height: 120px;
  }
  .shop-product-card--horizontal .shop-product-card__image {
    width: 100px;
    min-width: 100px;
  }
  .shop-product-card--horizontal .shop-product-card__name {
    font-size: var(--text-sm);
  }
  .shop-product-card--horizontal .shop-product-card__desc {
    display: none;
  }
  .shop-product-card--horizontal .shop-product-card__price {
    font-size: var(--text-md);
  }
  .shop-product-card--horizontal .shop-product-card__cta {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* ----- Empty State ----- */
.shop-empty {
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
  color: var(--color-text-muted);
  font-size: var(--text-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}
.shop-empty__icon {
  width: 64px;
  height: 64px;
  color: var(--color-border);
  margin-bottom: var(--space-xs);
}
.shop-empty__link {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: oklch(100% 0 0);
  background: var(--color-primary);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.2s var(--ease-out);
}
.shop-empty__link:hover {
  background: var(--color-primary-dark);
}

/* ----- Pagination ----- */
.shop-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}
.shop-pagination__info {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}
.shop-pagination__button {
  padding: 8px 20px;
  font-size: var(--text-sm);
}
.shop-pagination__button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ----- Product Detail ----- */
.shop-product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  margin-bottom: var(--space-xl);
}

.shop-product-gallery {
  position: sticky;
  top: 90px;
}
.product-gallery-swiper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
}
.product-gallery-swiper img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.product-gallery-nav-swiper {
  margin-top: var(--space-xs);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.product-gallery-nav-swiper swiper-slide {
  width: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s var(--ease-out);
}
.product-gallery-nav-swiper swiper-slide.thumb-active {
  border-color: var(--color-primary);
}
.product-gallery-nav-swiper img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.shop-product-info {
  padding-top: var(--space-sm);
}
.shop-product-info__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}
.shop-product-info__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

/* ----- Product Content ----- */
.shop-product-content {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border-subtle);
}
.shop-product-content__description {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text-body);
}
.shop-product-content__description :is(h1, h2, h3) {
  font-family: var(--font-heading);
  color: var(--color-text);
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
}
.shop-product-content__description img {
  border-radius: var(--radius-md);
  margin: var(--space-sm) 0;
}

/* ----- Specs Table ----- */
.shop-product-specs {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.shop-product-specs th {
  background: var(--color-primary-pale);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  text-align: left;
  padding: 10px 16px;
  border-bottom: 1px solid var(--color-border);
}
.shop-product-specs td {
  padding: 10px 16px;
  font-size: var(--text-sm);
  color: var(--color-text-body);
  border-bottom: 1px solid var(--color-border-subtle);
}
.shop-product-specs tbody tr:last-child td {
  border-bottom: none;
}
.shop-product-specs td:first-child {
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  width: 30%;
}

/* ----- Shop Web Component Variable Overrides ----- */
shop-buy-box {
  --buy-box-color-primary: var(--color-primary);
  --buy-box-color-primary-hover: var(--color-primary-dark);
  --buy-box-radius: var(--radius-md);
  --buy-box-border-color: var(--color-border);
  --buy-box-text-color: var(--color-text-body);
  --buy-box-bg: var(--color-surface);
}
shop-page-cart,
shop-page-checkout,
shop-page-payments {
  --shop-color-primary: var(--color-primary);
  --shop-color-primary-hover: var(--color-primary-dark);
  --shop-color-text: var(--color-text-body);
  --shop-color-text-muted: var(--color-text-muted);
  --shop-color-border: var(--color-border);
  --shop-color-bg: var(--color-surface);
  --shop-color-bg-alt: var(--color-bg-alt);
  --shop-radius: var(--radius-md);
  --shop-radius-lg: var(--radius-lg);
  --shop-font-family: var(--font-body);
  --shop-font-heading: var(--font-heading);
  --shop-spacing: var(--space-sm);
  display: block;
  margin-top: var(--space-sm);
}

/* ----- Shop Dark Mode ----- */
[data-theme="dark"] .shop-section {
  background: var(--color-bg);
}
[data-theme="dark"] .shop-category-bar {
  border-bottom-color: var(--color-border);
}
[data-theme="dark"] .shop-category-pill {
  background: var(--color-bg-alt);
  color: var(--color-text-body);
}
[data-theme="dark"] .shop-category-pill:hover {
  background: var(--color-surface);
  border-color: var(--color-primary);
}
[data-theme="dark"] .shop-filter {
  background: var(--color-surface);
  border-color: var(--color-border);
}
[data-theme="dark"] .shop-select,
[data-theme="dark"] .shop-input {
  background: var(--color-surface);
  border-color: var(--color-border);
  color: var(--color-text-body);
}
[data-theme="dark"] .shop-product-card {
  background: var(--color-surface);
  border-color: var(--color-border);
}
[data-theme="dark"] .shop-product-card:hover {
  box-shadow: 0 12px 32px oklch(0% 0 0 / 0.3);
  border-color: var(--color-primary);
}
[data-theme="dark"] .shop-product-card__image {
  background: var(--color-bg-alt);
}
[data-theme="dark"] .shop-product-card__badge {
  background: oklch(20% 0.01 245 / 0.92);
  color: var(--color-primary-light);
}
[data-theme="dark"] .shop-product-specs th {
  background: var(--color-bg-alt);
}
[data-theme="dark"] .product-gallery-swiper {
  border-color: var(--color-border);
}

/* ----- Shop Responsive ----- */
@media (max-width: 768px) {
  .shop-product-detail {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .shop-product-gallery {
    position: static;
  }
  .shop-category-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: var(--space-sm);
    margin-left: calc(-1 * clamp(1rem, 5vw, 2rem));
    margin-right: calc(-1 * clamp(1rem, 5vw, 2rem));
    padding-left: clamp(1rem, 5vw, 2rem);
    padding-right: clamp(1rem, 5vw, 2rem);
  }
  .shop-category-bar::-webkit-scrollbar {
    display: none;
  }
  .shop-filter {
    flex-direction: column;
    align-items: stretch;
  }
  .shop-filter__search {
    width: 100%;
  }
  .shop-select {
    width: 100%;
  }
  .shop-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
  .shop-pagination {
    gap: var(--space-xs);
  }
}

@media (max-width: 480px) {
  .shop-product-grid {
    grid-template-columns: 1fr;
  }
  .shop-product-card__body {
    padding: var(--space-xs) var(--space-sm) var(--space-sm);
  }
}

/* ----- Shop Reduced Motion ----- */
@media (prefers-reduced-motion: reduce) {
  .shop-product-card,
  .shop-product-card__image img,
  .shop-category-pill {
    transition: none;
  }
  .shop-product-card:hover {
    transform: none;
  }
}

/* ================================================================
   About Page — 关于我们
   ================================================================ */

/* About Hero — Logo + Badge 大展示 */
.about-hero {
  min-height: 380px;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-2xl) 0;
}

.about-hero-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

/* About Hero Watermark */
.about-hero-watermark {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  background-size: 200px 90px;
  background-position: center;
  opacity: 0.025;
  z-index: 0;
  pointer-events: none;
}
[data-theme="dark"] .about-hero-watermark {
  opacity: 0.03;
}

.about-hero-content {
  position: relative;
  z-index: 1;
}

.about-logo-block {
  margin-bottom: var(--space-lg);
}

.about-logo {
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-inline: auto;
}

.about-logo-text {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 10vw, 4.5rem);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  display: inline-block;
}
.about-logo-text span {
  color: var(--color-accent);
  font-weight: 400;
  font-style: italic;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 5px 16px;
  background: oklch(56% 0.12 195 / 0.07);
  border: 1px solid oklch(56% 0.12 195 / 0.15);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* About Content Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.about-text-col .about-lead {
  font-size: var(--text-md);
  color: var(--color-text-body);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.about-text-col p {
  font-size: var(--text-base);
  color: var(--color-text-body);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.about-values-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.about-values-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about-value-item {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border-subtle);
  transition: border-color 0.25s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.about-value-item:hover {
  border-color: var(--color-primary-light);
  box-shadow: 0 4px 18px oklch(0% 0 0 / 0.05);
}

.about-value-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}
.about-value-icon svg { width: 22px; height: 22px; }

.about-value-item h4 {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}
.about-value-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* About CTA */
.about-cta-bg {
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: var(--space-2xl) 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.about-cta-inner {
  position: relative;
  z-index: 1;
}

.about-cta-bg h2 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}
.about-cta-bg p {
  font-size: var(--text-md);
  opacity: 0.82;
  margin-bottom: var(--space-lg);
  max-width: 52ch;
  margin-inline: auto;
}

.about-cta-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}
.about-cta-bg .btn-outline {
  color: #fff;
  box-shadow: inset 0 0 0 1.5px #fff;
}
.about-cta-bg .btn-outline:hover {
  background: #fff;
  color: var(--color-primary);
}
.about-cta-bg .btn-primary {
  background: #fff;
  color: var(--color-primary);
}
.about-cta-bg .btn-primary:hover {
  background: var(--color-primary-pale);
  box-shadow: 0 8px 28px oklch(100% 0 0 / 0.25);
}

/* 深色模式 — About */
[data-theme="dark"] .about-hero {
  background: var(--color-bg);
}
[data-theme="dark"] .about-value-item {
  background: var(--color-bg-alt);
  border-color: var(--color-border);
}

/* Responsive — About */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .about-logo {
    height: 60px;
  }
  .about-hero {
    min-height: 280px;
    padding: var(--space-xl) 0;
  }
  .about-cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ================================================================
   404 Error Page — 品牌化错误页
   ================================================================ */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
  padding: var(--space-2xl) 0;
}

/* Decorative blobs */
.error-page::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at 55% 45%, oklch(56% 0.12 195 / 0.06) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.error-page::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, oklch(68% 0.13 82 / 0.04) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.error-page-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 580px;
}

.error-logo-wrapper {
  margin-bottom: var(--space-lg);
}

.error-logo-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.1em;
  transition: opacity 0.2s var(--ease-out);
}
.error-logo-link:hover { opacity: 0.85; }

.error-logo {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.error-logo-text {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
.error-logo-text span {
  color: var(--color-accent);
  font-weight: 400;
  font-style: italic;
}

.error-code {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 15vw, 8rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-sm);
  opacity: 0.15;
  user-select: none;
}

.error-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.error-desc {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
  max-width: 46ch;
  margin-inline: auto;
}

.error-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.error-suggestions {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border-subtle);
}

.error-suggestions h3 {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.error-suggestions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.error-suggestion-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: var(--space-md) var(--space-sm);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-body);
  text-decoration: none;
  transition:
    border-color 0.25s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    transform 0.25s var(--ease-out);
}
.error-suggestion-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 18px oklch(0% 0 0 / 0.06);
  transform: translateY(-2px);
  color: var(--color-primary);
}
.error-suggestion-card svg {
  color: var(--color-primary);
  opacity: 0.6;
}

/* 深色模式 — 404 */
[data-theme="dark"] .error-page {
  background: var(--color-bg);
}
[data-theme="dark"] .error-code {
  color: var(--color-primary);
  opacity: 0.08;
}
[data-theme="dark"] .error-suggestion-card {
  background: var(--color-bg-alt);
  border-color: var(--color-border);
}

/* Responsive — 404 */
@media (max-width: 768px) {
  .error-code {
    font-size: clamp(4rem, 20vw, 6rem);
  }
  .error-suggestions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .error-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ================================================================
   Preloader — 全屏 Logo 加载动画
   ================================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s var(--ease-out);
}
.preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.preloader-logo-wrapper {
  animation: preloaderPulse 1.8s var(--ease-in-out) infinite;
}

.preloader-logo {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
  opacity: 0;
  animation: preloaderFadeIn 0.6s var(--ease-out) 0.2s forwards;
}

.preloader-text {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  opacity: 0;
  animation: preloaderFadeIn 0.6s var(--ease-out) 0.2s forwards;
}
.preloader-text span {
  color: var(--color-accent);
  font-weight: 400;
  font-style: italic;
}

/* 进度条 */
.preloader-bar {
  width: 120px;
  height: 3px;
  background: var(--color-border-subtle);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  animation: preloaderFadeIn 0.4s var(--ease-out) 0.4s forwards;
}
.preloader-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--color-primary);
  border-radius: 2px;
  animation: preloaderBarFill 1.6s var(--ease-out) 0.5s forwards;
}

@keyframes preloaderFadeIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.03); opacity: 0.85; }
}

@keyframes preloaderBarFill {
  from { width: 0%; }
  to   { width: 100%; }
}

/* 深色模式 — Preloader */
[data-theme="dark"] .preloader {
  background: oklch(14% 0.008 250);
}

/* 减少动画偏好 — 立即完成 */
@media (prefers-reduced-motion: reduce) {
  .preloader-logo-wrapper { animation: none; }
  .preloader-logo,
  .preloader-text,
  .preloader-bar { animation: none; opacity: 1; }
  .preloader-bar-fill { animation: none; width: 100%; }
  .preloader { transition-duration: 0.01ms; }
}

/* ================================================================
   Newsroom — Articles & Press Releases
   ================================================================ */
.newsroom-preview-bg,
.newsroom-page-bg {
  background: var(--color-bg);
  position: relative;
}

/* Decorative blobs */
.newsroom-preview-bg::before,
.newsroom-page-bg::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at 55% 45%, oklch(56% 0.12 195 / 0.04) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.newsroom-preview-bg::after,
.newsroom-page-bg::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, oklch(68% 0.13 82 / 0.03) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

/* ---- Tab Switcher ---- */
.newsroom-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.newsroom-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 28px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}

.newsroom-tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.newsroom-tab.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 16px oklch(56% 0.12 195 / 0.25);
}

/* ---- Tab Content ---- */
.newsroom-tab-content {
  display: none;
  position: relative;
  z-index: 1;
}
.newsroom-tab-content.active {
  display: block;
  animation: newsroomFadeIn 0.4s var(--ease-out);
}

@keyframes newsroomFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Newsroom Grid ---- */
.newsroom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

/* ---- Newsroom Card ---- */
.newsroom-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    border-color 0.3s var(--ease-out),
    box-shadow 0.4s var(--ease-out),
    transform 0.3s var(--ease-out);
}

.newsroom-card:hover {
  border-color: oklch(56% 0.12 195 / 0.2);
  box-shadow: 0 12px 40px oklch(0% 0 0 / 0.08);
  transform: translateY(-3px);
}

.newsroom-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* Card Cover */
.newsroom-card-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.newsroom-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.newsroom-card:hover .newsroom-card-cover img {
  transform: scale(1.05);
}

/* Placeholder cover */
.newsroom-card-cover-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-border);
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-primary-pale) 100%);
}
.newsroom-card-cover-placeholder svg {
  width: 40px;
  height: 40px;
}

/* Card Body */
.newsroom-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.newsroom-card-date {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.newsroom-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  letter-spacing: -0.01em;
  /* Clamp to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.newsroom-card-excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  /* Clamp to 3 lines */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.newsroom-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  margin-top: var(--space-xs);
  transition: gap 0.25s var(--ease-out);
}
.newsroom-card:hover .newsroom-card-readmore {
  gap: 8px;
}

/* ---- Category Archive ---- */
.category-archive-bg {
  background: var(--color-bg);
}

.category-count-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-pale);
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: var(--space-sm);
  letter-spacing: 0.02em;
}

.category-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.category-archive-grid .newsroom-card {
  /* Reuse newsroom card styles — no extra overrides needed */
}

/* Pagination */
.category-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border-subtle);
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 10px 20px;
  transition:
    background 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out);
}

.pagination-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.pagination-info {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 8px 16px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
}

/* Back Link */
.category-back-link {
  text-align: center;
  margin-top: var(--space-lg);
}

.back-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color 0.2s var(--ease-out);
}

.back-link-btn:hover {
  color: var(--color-primary);
}

/* Dark Mode — Category Archive */
[data-theme="dark"] .category-archive-bg {
  background: var(--color-bg);
}
[data-theme="dark"] .category-count-badge {
  background: oklch(25% 0.03 195);
}
[data-theme="dark"] .pagination-btn {
  background: var(--color-bg-alt);
  border-color: var(--color-border);
}
[data-theme="dark"] .pagination-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
[data-theme="dark"] .pagination-info {
  background: var(--color-bg-alt);
}

/* ================================================================
   Homepage Image Sections
   ================================================================ */

/* ----- Hero Floating Image ----- */
@media (min-width: 900px) {
  .hero-content {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.hero-text {
  position: relative;
  z-index: 2;
}
.hero-floating {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}
.hero-floating img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.12),
    0 0 0 8px rgba(255, 255, 255, 0.6);
  animation: hero-float 6s ease-in-out infinite;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (max-width: 899px) {
  .hero-floating img {
    max-width: 320px;
  }
}

/* ----- Service Panel Visual Image ----- */
.service-visual-image {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 6 / 4;
  background: var(--color-bg-alt);
}
.service-visual-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ----- Package Cover Image ----- */
.package-cover {
  width: calc(100% + calc(var(--space-lg) * 2));
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin: calc(var(--space-xl) * -1) calc(var(--space-lg) * -1) var(--space-lg);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.package-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.package-card:hover .package-cover img {
  transform: scale(1.05);
}
.package-card.featured .package-cover {
  margin-top: calc(var(--space-xl) * -1);
}

/* ----- Included Card Image ----- */
.included-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ----- Process Step Visual ----- */
.process-visual {
  width: 100%;
  max-width: 140px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-surface);
  border: 3px solid var(--color-primary-pale);
  margin-bottom: var(--space-xs);
}
.process-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive — Category Archive */
@media (max-width: 768px) {
  .category-archive-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  .category-pagination {
    flex-wrap: wrap;
    gap: var(--space-sm);
  }
  .pagination-btn {
    padding: 8px 14px;
    font-size: var(--text-xs);
  }
}
@media (min-width: 769px) and (max-width: 968px) {
  .category-archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- Empty State ---- */
.newsroom-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
  color: var(--color-text-muted);
}
.newsroom-empty svg {
  margin: 0 auto var(--space-sm);
  color: var(--color-border);
}
.newsroom-empty p {
  font-size: var(--text-base);
}

/* ---- View All Button ---- */
.newsroom-view-all {
  text-align: center;
  position: relative;
  z-index: 1;
}

/* ---- Dark Mode ---- */
[data-theme="dark"] .newsroom-tab {
  background: var(--color-bg-alt);
  border-color: var(--color-border);
  color: var(--color-text-muted);
}
[data-theme="dark"] .newsroom-tab.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
[data-theme="dark"] .newsroom-card {
  background: var(--color-surface);
  border-color: var(--color-border);
}
[data-theme="dark"] .newsroom-card-cover-placeholder {
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, oklch(25% 0.02 195) 100%);
  color: var(--color-border);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .newsroom-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .newsroom-tabs {
    gap: 4px;
    margin-bottom: var(--space-md);
  }

  .newsroom-tab {
    padding: 8px 20px;
    font-size: var(--text-xs);
  }

  .newsroom-card-body {
    padding: var(--space-sm);
  }
}

/* ---- Contact Page Styles ---- */
.contact-info-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.contact-info-cards {
  display: grid;
  gap: 24px;
  margin-bottom: 48px;
}

.contact-info-card {
  padding: 24px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.contact-info-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon-whatsapp {
  background: #25D366;
}

.contact-info-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.contact-info-value {
  margin: 0;
  font-size: 1.05rem;
  color: var(--color-text-body);
}

.contact-info-value a {
  color: var(--color-primary);
  text-decoration: none;
}

.contact-info-hint {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.contact-cta {
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(135deg, var(--color-primary), #0a5c5b);
  border-radius: var(--radius-xl);
  color: #fff;
}

.contact-cta h2 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.contact-cta p {
  margin-bottom: 24px;
  opacity: 0.9;
}

.contact-cta-btn {
  font-size: 1.05rem;
  padding: 14px 36px;
}

/* Responsive — Contact Page */
@media (max-width: 640px) {
  .contact-info-cards {
    gap: 16px;
  }
  .contact-cta {
    padding: 32px 20px;
  }
  .contact-cta h2 {
    font-size: 1.25rem;
  }
}
