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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  line-height: 1.8;
  color: #2D2D2D;
  background: #FAF8F5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', 'Noto Serif SC', 'Noto Sans SC', serif;
  font-weight: 600;
  line-height: 1.3;
  text-wrap: balance;
}

p { text-wrap: pretty; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button, a { touch-action: manipulation; cursor: pointer; }
input, textarea, select { font-size: 16px; font-family: inherit; }
::selection { background: rgba(201,169,110,0.3); color: #2D2D2D; }

/* ===== VARIABLES ===== */
:root {
  --gold: #C9A96E;
  --gold-light: #D4B97A;
  --gold-dark: #A88B52;
  --rose: #D4A5A5;
  --sage: #A8B5A0;
  --cream: #FAF8F5;
  --cream-dark: #F5F0EB;
  --dark: #1A1A1A;
  --dark-light: #2D2D2D;
  --text-secondary: #6B6B6B;
  --section-pad-x: 24px;
}

@media (min-width: 640px) {
  :root { --section-pad-x: 32px; }
}
@media (min-width: 1024px) {
  :root { --section-pad-x: 64px; }
}
@media (min-width: 1280px) {
  :root { --section-pad-x: 96px; }
}

/* ===== UTILITY ===== */
.section { padding: 64px var(--section-pad-x); }
@media (min-width: 1024px) {
  .section { padding: 96px var(--section-pad-x); }
}
.container { max-width: 1280px; margin: 0 auto; }
.gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
}
.glass-nav {
  background: rgba(250,248,245,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.text-gold { color: var(--gold); }
.bg-gold { background: var(--gold); }
.border-gold { border-color: var(--gold); }
.font-serif { font-family: 'Cormorant Garamond', 'Noto Serif SC', serif; }
.font-sans { font-family: 'Montserrat', 'PingFang SC', sans-serif; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: all 0.5s ease;
}
.nav.transparent { background: transparent; }
.nav.scrolled {
  background: rgba(250,248,245,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,169,110,0.2);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
@media (min-width: 1024px) {
  .nav-inner { height: 80px; }
}
.nav-logo .brand-cn {
  font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--gold);
  display: block;
  line-height: 1.2;
}
.nav-logo .brand-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: rgba(201,169,110,0.8);
  text-transform: uppercase;
}
@media (min-width: 1024px) {
  .nav-logo .brand-cn { font-size: 20px; }
  .nav-logo .brand-en { font-size: 12px; }
}
.nav-links {
  display: none;
  align-items: center;
  gap: 40px;
}
@media (min-width: 1024px) {
  .nav-links { display: flex; }
}
.nav-link {
  position: relative;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: rgba(45,45,45,0.8);
  transition: color 0.3s;
  padding-bottom: 2px;
}
.nav-link:hover { color: var(--gold); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: all 0.3s;
  transform: translateX(-50%);
}
.nav-link:hover::after { width: 100%; }

/* Mobile menu */
.menu-btn {
  display: block;
  background: none;
  border: none;
  padding: 4px;
  color: #2D2D2D;
}
@media (min-width: 1024px) {
  .menu-btn { display: none; }
}
.menu-btn:hover { color: var(--gold); }
.menu-btn svg { width: 24px; height: 24px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(250,248,245,0.97);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu .close-btn {
  position: absolute;
  top: 16px;
  right: var(--section-pad-x);
  background: none;
  border: none;
  padding: 4px;
  color: #2D2D2D;
}
.mobile-menu .close-btn:hover { color: var(--gold); }
.mobile-menu .close-btn svg { width: 24px; height: 24px; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
  font-size: 24px;
  color: #2D2D2D;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg .bg-img {
  position: absolute;
  inset: 0;
  background: url('/ALUDIBA/images/hero-bg.jpg') center/cover;
}
.hero-bg .bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(250,248,245,0.6), rgba(250,248,245,0.3) 50%, #FAF8F5);
}
.hero-bg canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 80px 16px 0;
  max-width: 768px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .hero-content { padding-top: 64px; }
}
.hero-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.3s forwards;
}
@media (min-width: 640px) {
  .hero-label { font-size: 14px; margin-bottom: 24px; }
}
.hero-title {
  font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
  font-size: 36px;
  letter-spacing: 0.12em;
  color: #2D2D2D;
  font-weight: 400;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.45s forwards;
}
@media (min-width: 640px) {
  .hero-title { font-size: 48px; }
}
@media (min-width: 1024px) {
  .hero-title { font-size: 64px; margin-bottom: 12px; }
}
.hero-brand-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.6s forwards;
}
@media (min-width: 640px) {
  .hero-brand-en { font-size: 16px; margin-bottom: 20px; }
}
.hero-slogan {
  font-size: 16px;
  letter-spacing: 0.08em;
  color: rgba(45,45,45,0.7);
  font-weight: 300;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.75s forwards;
}
@media (min-width: 640px) {
  .hero-slogan { font-size: 20px; margin-bottom: 12px; }
}
@media (min-width: 1024px) {
  .hero-slogan { font-size: 24px; }
}
.hero-sub {
  font-size: 12px;
  color: rgba(45,45,45,0.5);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.9s forwards;
}
@media (min-width: 640px) {
  .hero-sub { font-size: 14px; margin-bottom: 40px; }
}
.hero-cta {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.1em;
  background: transparent;
  transition: all 0.3s;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease 1.05s forwards;
}
.hero-cta:hover {
  background: var(--gold);
  color: white;
}
@media (min-width: 640px) {
  .hero-cta { padding: 12px 32px; font-size: 14px; }
}
.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: bounce 2s infinite;
  color: rgba(201,169,110,0.6);
}
.hero-scroll svg { width: 20px; height: 20px; }
@media (min-width: 640px) {
  .hero-scroll { bottom: 32px; }
  .hero-scroll svg { width: 24px; height: 24px; }
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* ===== SECTION HEADERS ===== */
.section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
@media (min-width: 640px) {
  .section-label { font-size: 12px; margin-bottom: 16px; }
}
.section-title {
  font-size: 24px;
  color: #2D2D2D;
  margin-bottom: 12px;
}
@media (min-width: 640px) {
  .section-title { font-size: 32px; }
}
@media (min-width: 1024px) {
  .section-title { font-size: 36px; }
}
.section-title.light { color: #FAF8F5; }
.section-desc {
  font-size: 13px;
  color: rgba(45,45,45,0.5);
  max-width: 600px;
  line-height: 1.8;
}
@media (min-width: 640px) {
  .section-desc { font-size: 14px; }
}
.section-desc.light { color: rgba(250,248,245,0.5); }

/* ===== BRAND MISSION ===== */
.mission-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 1024px) {
  .mission-grid { grid-template-columns: 40% 60%; gap: 64px; }
}
.mission-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(201,169,110,0.2);
}
@media (min-width: 640px) {
  .mission-stats { gap: 24px; margin-top: 40px; padding-top: 32px; }
}
.mission-stat-value {
  font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
  font-size: 20px;
  color: var(--gold);
}
@media (min-width: 640px) {
  .mission-stat-value { font-size: 28px; }
}
.mission-stat-label {
  font-size: 11px;
  color: rgba(45,45,45,0.5);
  margin-top: 4px;
}
@media (min-width: 640px) {
  .mission-stat-label { font-size: 12px; }
}

.mission-cards { display: flex; flex-direction: column; gap: 16px; }
.mission-card {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
@media (min-width: 640px) {
  .mission-card { padding: 28px 32px; }
}
.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.mission-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 3px;
  background: rgba(201,169,110,0.3);
  border-radius: 2px;
  transition: background 0.3s;
}
.mission-card:hover::before { background: var(--gold); }
.mission-card:nth-child(2) { margin-left: 24px; }
.mission-card:nth-child(3) { margin-left: 12px; }
@media (max-width: 640px) {
  .mission-card:nth-child(2),
  .mission-card:nth-child(3) { margin-left: 0; }
}
.mission-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.mission-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(201,169,110,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
@media (min-width: 640px) {
  .mission-icon { width: 48px; height: 48px; }
}
.mission-card:hover .mission-icon { background: rgba(201,169,110,0.2); }
.mission-icon svg { width: 20px; height: 20px; color: var(--gold); }
.mission-card-title {
  font-size: 15px;
  font-weight: 500;
  color: #2D2D2D;
  margin-bottom: 4px;
}
@media (min-width: 640px) {
  .mission-card-title { font-size: 16px; }
}
.mission-card-desc {
  font-size: 12px;
  color: rgba(45,45,45,0.5);
  line-height: 1.7;
}
@media (min-width: 640px) {
  .mission-card-desc { font-size: 14px; }
}

/* ===== SKIN JOURNEY (DARK) ===== */
.dark-section {
  background: #1A1A1A;
  color: #FAF8F5;
}
.journey-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 32px;
}
@media (min-width: 640px) {
  .journey-steps { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .journey-steps { grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
}
.journey-step {
  background: rgba(45,45,45,0.5);
  border: 1px solid rgba(250,248,245,0.1);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
  cursor: default;
}
.journey-step:hover {
  border-color: rgba(201,169,110,0.3);
  background: rgba(45,45,45,0.8);
}
.journey-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  color: var(--gold);
  transition: all 0.3s;
}
.journey-step:hover .journey-step-num {
  border-color: var(--gold);
  background: rgba(201,169,110,0.1);
}
.journey-step-title {
  font-size: 13px;
  font-weight: 500;
  color: #FAF8F5;
  margin-bottom: 2px;
}
.journey-step-desc {
  font-size: 11px;
  color: rgba(250,248,245,0.4);
}

.journey-end {
  margin-top: 24px;
  text-align: center;
}
@media (min-width: 640px) {
  .journey-end { margin-top: 32px; }
}
.journey-end-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: 999px;
  background: rgba(201,169,110,0.05);
}
.journey-end-badge .label { color: var(--gold); font-size: 13px; font-weight: 500; }
.journey-end-badge .text { color: rgba(250,248,245,0.7); font-size: 13px; }

/* ===== PRODUCT SERIES ===== */
.cream-section { background: #F5F0EB; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 32px;
}
@media (min-width: 640px) {
  .products-grid { gap: 24px; }
}
@media (min-width: 1024px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); margin-top: 48px; }
}
.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
@media (min-width: 640px) {
  .product-card { border-radius: 20px; }
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.product-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.4), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.product-card:hover .product-img-overlay { opacity: 1; }
.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  font-size: 10px;
  color: rgba(45,45,45,0.8);
  letter-spacing: 0.05em;
}
@media (min-width: 640px) {
  .product-tag { top: 16px; left: 16px; padding: 5px 12px; font-size: 12px; }
}
.product-info { padding: 16px; }
@media (min-width: 640px) {
  .product-info { padding: 20px; }
}
.product-name {
  font-size: 14px;
  font-weight: 500;
  color: #2D2D2D;
  margin-bottom: 4px;
  transition: color 0.3s;
}
@media (min-width: 640px) {
  .product-name { font-size: 16px; margin-bottom: 6px; }
}
.product-card:hover .product-name { color: var(--gold); }
.product-desc {
  font-size: 11px;
  color: rgba(45,45,45,0.5);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 640px) {
  .product-desc { font-size: 13px; }
}

.products-banner {
  margin-top: 32px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
@media (min-width: 640px) {
  .products-banner { margin-top: 48px; border-radius: 20px; }
}
.products-banner img { width: 100%; height: auto; }

/* ===== PRODUCT SHOWCASE ===== */
.product-showcase {
  margin-top: 32px;
}
@media (min-width: 640px) {
  .product-showcase { margin-top: 48px; }
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) {
  .showcase-grid { gap: 16px; }
}
@media (min-width: 1024px) {
  .showcase-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}
.showcase-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  cursor: pointer;
}
@media (min-width: 640px) {
  .showcase-card { border-radius: 20px; }
}
.showcase-card:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
  z-index: 2;
}
.showcase-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.showcase-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.showcase-card:hover .showcase-img-wrap img {
  transform: scale(1.12);
}
.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.5), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.showcase-card:hover .showcase-overlay {
  opacity: 1;
}
.showcase-info {
  padding: 14px 16px 18px;
}
@media (min-width: 640px) {
  .showcase-info { padding: 18px 20px 22px; }
}
.showcase-title {
  font-size: 14px;
  font-weight: 600;
  color: #2D2D2D;
  margin-bottom: 4px;
  transition: color 0.3s;
}
@media (min-width: 640px) {
  .showcase-title { font-size: 16px; }
}
.showcase-card:hover .showcase-title {
  color: var(--gold);
}
.showcase-series {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  font-weight: 500;
}
@media (min-width: 640px) {
  .showcase-series { font-size: 12px; }
}
.showcase-desc {
  font-size: 11px;
  color: rgba(45,45,45,0.5);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 640px) {
  .showcase-desc { font-size: 13px; }
}

/* ===== RESEARCH ===== */
.research-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 1024px) {
  .research-grid { grid-template-columns: 55% 45%; gap: 48px; }
}
.research-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (min-width: 640px) {
  .research-images { gap: 16px; }
}
.research-img-main { grid-column: span 2; }
.research-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
@media (min-width: 640px) {
  .research-img { border-radius: 16px; }
}
.research-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.research-img:hover img { transform: scale(1.05); }

.research-highlights { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) {
  .research-highlights { gap: 16px; }
}
.research-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.research-item svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.research-item span {
  font-size: 13px;
  color: rgba(45,45,45,0.7);
}
@media (min-width: 640px) {
  .research-item span { font-size: 14px; }
}

.research-gallery {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(201,169,110,0.2);
}
.research-gallery-label {
  font-size: 12px;
  color: rgba(45,45,45,0.4);
  margin-bottom: 12px;
}
.research-gallery-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.research-gallery-row img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .research-gallery-row img { width: 96px; height: 96px; }
}

/* ===== GLOBAL GROUP ===== */
.global-map {
  position: relative;
  margin-bottom: 32px;
  display: none;
}
@media (min-width: 640px) {
  .global-map { display: block; }
}
.global-map-svg {
  width: 100%;
  height: 200px;
  opacity: 0.2;
}
.global-map-pins {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
@media (min-width: 1024px) {
  .global-map-pins { gap: 64px; }
}
.global-map-pin {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(250,248,245,0.6);
  font-size: 13px;
}
.global-map-pin svg { width: 16px; height: 16px; color: var(--gold); }

.global-regions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
@media (min-width: 640px) {
  .global-regions { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .global-regions { grid-template-columns: repeat(4, 1fr); }
}
.global-region {
  background: rgba(45,45,45,0.4);
  border: 1px solid rgba(250,248,245,0.1);
  border-radius: 12px;
  padding: 16px 20px;
}
.global-region-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 10px;
}
.global-region-title svg { width: 14px; height: 14px; }
.global-region ul { list-style: none; }
.global-region li {
  font-size: 11px;
  color: rgba(250,248,245,0.5);
  line-height: 1.8;
}
@media (min-width: 640px) {
  .global-region li { font-size: 12px; }
}

.global-factories {
  background: rgba(201,169,110,0.05);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 12px;
  padding: 16px 20px;
  text-align: center;
}
.global-factories-title {
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.global-factories-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}
.global-factories-list span {
  font-size: 12px;
  color: rgba(250,248,245,0.6);
}

/* ===== QUALITY ===== */
.certs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}
@media (min-width: 640px) {
  .certs-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (min-width: 1024px) {
  .certs-grid { grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
}
.cert-card {
  background: white;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid transparent;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s;
}
@media (min-width: 640px) {
  .cert-card { padding: 40px 32px; border-radius: 20px; }
}
.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  border-color: rgba(201,169,110,0.2);
}
.cert-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(201,169,110,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
}
@media (min-width: 640px) {
  .cert-icon { width: 80px; height: 80px; margin-bottom: 24px; }
}
.cert-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.2);
  transition: border-color 0.3s;
}
.cert-card:hover .cert-icon::after { border-color: rgba(201,169,110,0.4); }
.cert-icon svg { width: 28px; height: 28px; color: var(--gold); }
@media (min-width: 640px) {
  .cert-icon svg { width: 32px; height: 32px; }
}
.cert-title { font-size: 18px; color: #2D2D2D; margin-bottom: 6px; }
.cert-sub { font-size: 13px; color: var(--gold); margin-bottom: 12px; }
.cert-desc { font-size: 13px; color: rgba(45,45,45,0.5); line-height: 1.7; }

.cert-img-wrap {
  margin-top: 32px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  background: white;
}
@media (min-width: 640px) {
  .cert-img-wrap { margin-top: 48px; border-radius: 20px; }
}
.cert-img-wrap img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  margin: 0 auto;
}

/* ===== FOOTER ===== */
.footer {
  background: #1A1A1A;
  color: #FAF8F5;
  padding: 64px var(--section-pad-x) 32px;
}
.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 40px;
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 80px; margin-bottom: 64px; }
}
.footer-brand { font-family: 'Cormorant Garamond', 'Noto Serif SC', serif; font-size: 28px; color: #FAF8F5; margin-bottom: 8px; }
@media (min-width: 640px) { .footer-brand { font-size: 36px; } }
.footer-brand-en { font-family: 'Cormorant Garamond', serif; font-size: 16px; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; margin-bottom: 16px; }
.footer-slogan { font-size: 16px; color: rgba(250,248,245,0.6); letter-spacing: 0.1em; margin-bottom: 20px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a { display: flex; align-items: center; gap: 10px; color: rgba(250,248,245,0.5); font-size: 14px; transition: color 0.3s; }
.footer-contact a:hover { color: var(--gold); }
.footer-contact a svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.footer-company { color: rgba(250,248,245,0.4); font-size: 13px; margin-top: 8px; }

.footer-qr {
  display: flex;
  justify-content: flex-start;
}
@media (min-width: 1024px) {
  .footer-qr { justify-content: flex-end; }
}
.footer-qr-inner {
  background: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 0 40px rgba(201,169,110,0.15);
  display: flex;
  gap: 16px;
}
.footer-qr-inner .qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-qr-inner .qr-item img { width: 120px; height: 120px; object-fit: contain; }
@media (min-width: 640px) { .footer-qr-inner .qr-item img { width: 140px; height: 140px; } }
.footer-qr-inner .qr-item p { text-align: center; color: rgba(45,45,45,0.6); font-size: 12px; margin-top: 8px; white-space: nowrap; }

.footer-bottom {
  border-top: 1px solid;
  border-image: linear-gradient(90deg, transparent, rgba(201,169,110,0.3), transparent) 1;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-copyright { font-size: 11px; color: rgba(250,248,245,0.3); }
.btn-top {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.btn-top:hover { background: var(--gold); border-color: var(--gold); }
.btn-top svg { width: 16px; height: 16px; color: var(--gold); }
.btn-top:hover svg { color: white; }

/* ===== ADMIN LOGIN ===== */
.admin-body {
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}
.login-box { width: 100%; max-width: 420px; }
.login-header { text-align: center; margin-bottom: 32px; }
.login-header .brand-cn { font-family: 'Cormorant Garamond', 'Noto Serif SC', serif; font-size: 28px; color: #2D2D2D; margin-bottom: 4px; }
.login-header .brand-en { font-family: 'Cormorant Garamond', serif; font-size: 14px; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; }
.login-header .subtitle { font-size: 14px; color: rgba(45,45,45,0.4); margin-top: 12px; }
.login-form {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(201,169,110,0.1);
}
.login-field { margin-bottom: 20px; }
.login-field label { display: block; font-size: 13px; color: rgba(45,45,45,0.6); margin-bottom: 6px; }
.login-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(250,248,245,0.5);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 8px;
  color: #2D2D2D;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.login-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.1);
}
.login-input-wrap { position: relative; }
.login-input-wrap .icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(201,169,110,0.6);
}
.login-input-wrap .icon svg { width: 16px; height: 16px; }
.login-input-wrap input { padding-left: 40px; }
.login-input-wrap .toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(201,169,110,0.6);
  padding: 4px;
}
.login-input-wrap .toggle-btn svg { width: 16px; height: 16px; }
.btn-submit {
  width: 100%;
  padding: 12px;
  background: var(--gold);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-submit:hover { background: var(--gold-dark); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
}
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #16a34a; }
.login-hint { text-align: center; font-size: 12px; color: rgba(45,45,45,0.3); margin-top: 16px; }

/* ===== ADMIN DASHBOARD ===== */
.admin-layout { min-height: 100vh; background: var(--cream); }
.admin-header {
  background: white;
  border-bottom: 1px solid rgba(201,169,110,0.1);
  padding: 12px var(--section-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 30;
}
.admin-header-left { display: flex; align-items: center; gap: 12px; }
.admin-header-left .back-btn { color: rgba(45,45,45,0.5); background: none; border: none; padding: 4px; transition: color 0.3s; }
.admin-header-left .back-btn:hover { color: var(--gold); }
.admin-header-left .back-btn svg { width: 20px; height: 20px; }
.admin-header-left h1 { font-size: 16px; color: #2D2D2D; }
.admin-header-left .user-info { font-size: 12px; color: rgba(45,45,45,0.4); margin-top: 2px; }
.btn-logout {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  color: rgba(45,45,45,0.6);
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-logout:hover { color: #dc2626; background: #fef2f2; }
.btn-logout svg { width: 16px; height: 16px; }

.admin-body-pad { max-width: 1280px; margin: 0 auto; padding: 24px var(--section-pad-x); }
.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.admin-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  color: rgba(45,45,45,0.6);
  background: white;
}
.admin-tab:hover { color: #2D2D2D; background: var(--cream-dark); }
.admin-tab.active { background: var(--gold); color: white; }
.admin-tab svg { width: 16px; height: 16px; }

.admin-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.admin-section-title h2 { font-size: 18px; color: #2D2D2D; }
.btn-add {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--gold);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-add:hover { background: var(--gold-dark); }
.btn-add svg { width: 16px; height: 16px; }

/* Tables */
.data-table {
  width: 100%;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(201,169,110,0.05);
  overflow: hidden;
  overflow-x: auto;
}
.data-table table { width: 100%; min-width: 600px; border-collapse: collapse; }
.data-table th {
  background: rgba(245,240,235,0.5);
  text-align: left;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(45,45,45,0.5);
  border-bottom: 1px solid rgba(201,169,110,0.1);
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(201,169,110,0.05);
  font-size: 13px;
  vertical-align: middle;
}
.data-table tbody tr { transition: background 0.2s; }
.data-table tbody tr:hover { background: rgba(245,240,235,0.3); }
.data-table .cell-img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.data-table .cell-name { color: #2D2D2D; font-weight: 500; }
.data-table .cell-desc { color: rgba(45,45,45,0.4); font-size: 12px; }
.data-table .cell-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(201,169,110,0.1);
  color: var(--gold);
  border-radius: 999px;
  font-size: 11px;
}
.data-table .actions { display: flex; gap: 4px; justify-content: flex-end; }
.btn-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-icon:hover { background: rgba(201,169,110,0.1); }
.btn-icon svg { width: 16px; height: 16px; }
.btn-icon.edit { color: var(--gold); }
.btn-icon.delete { color: #f87171; }
.btn-icon.delete:hover { background: #fef2f2; }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.4);
}
.modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(201,169,110,0.1);
}
.modal-header h3 { font-size: 16px; color: #2D2D2D; }
.modal-close { background: none; border: none; padding: 4px; color: rgba(45,45,45,0.4); cursor: pointer; }
.modal-close:hover { color: #2D2D2D; }
.modal-close svg { width: 20px; height: 20px; }
.modal-body { padding: 20px 24px; }
.modal-body .field { margin-bottom: 16px; }
.modal-body .field label { display: block; font-size: 13px; color: rgba(45,45,45,0.6); margin-bottom: 6px; }
.modal-body .field input,
.modal-body .field textarea {
  width: 100%;
  padding: 10px 14px;
  background: rgba(250,248,245,0.5);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 8px;
  color: #2D2D2D;
  outline: none;
  font-size: 14px;
  transition: border-color 0.3s;
}
.modal-body .field input:focus,
.modal-body .field textarea:focus { border-color: var(--gold); }
.modal-body .field textarea { resize: vertical; min-height: 80px; }
.modal-body .field-hint { font-size: 11px; color: rgba(45,45,45,0.35); margin-top: 4px; }
.modal-body .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-footer {
  display: flex;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid rgba(201,169,110,0.1);
}
.modal-footer button { flex: 1; padding: 10px; border-radius: 8px; font-size: 14px; cursor: pointer; transition: all 0.3s; }
.btn-cancel { background: none; border: 1px solid rgba(201,169,110,0.3); color: #2D2D2D; }
.btn-cancel:hover { background: var(--cream-dark); }
.btn-save { background: var(--gold); border: 1px solid var(--gold); color: white; }
.btn-save:hover { background: var(--gold-dark); }
.btn-save:disabled { opacity: 0.5; cursor: not-allowed; }

/* Image grid in admin */
.img-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) {
  .img-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .img-grid { grid-template-columns: repeat(4, 1fr); }
}
.img-card {
  background: white;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(201,169,110,0.05);
  cursor: pointer;
  transition: border-color 0.3s;
}
.img-card:hover { border-color: rgba(201,169,110,0.2); }
.img-card .thumb {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(245,240,235,0.3);
  margin-bottom: 8px;
}
.img-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.img-card:hover .thumb img { transform: scale(1.05); }
.img-card .name { font-size: 11px; color: rgba(45,45,45,0.4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Tab content */
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Mobile font size */
@media (max-width: 640px) {
  html { font-size: 15px; }
}

/* Utility */
.text-center { text-align: center; }
.hidden { display: none !important; }
.loading { color: rgba(45,45,45,0.4); text-align: center; padding: 48px; }
.empty-state { color: rgba(45,45,45,0.4); text-align: center; padding: 48px; font-size: 14px; }
