/* ==========================================================================
   OCEANIA IMPORT & EXPORT — Stylesheet
   Industrial-Maritime Aesthetic | Responsive | Bilingual EN/ZH
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Manrope:wght@300;400;500;600;700;800&family=Noto+Serif+SC:wght@500;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --navy-deep: #0a2540;
  --navy: #0c2e52;
  --navy-light: #1a3d6b;
  --gold: #c89b3c;
  --gold-light: #d4a548;
  --gold-soft: #e7c98a;
  --cream: #faf8f3;
  --paper: #ffffff;
  --ink: #1c2733;
  --steel: #3a4555;
  --steel-light: #6b7684;
  --line: #e3dfd4;
  --line-soft: #efece4;

  --serif: 'Cormorant Garamond', 'Noto Serif SC', Georgia, serif;
  --sans: 'Manrope', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, 0.14);

  --container: 1280px;
  --radius: 4px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Chinese-specific font override */
html[lang="zh"] {
  --serif: 'Noto Serif SC', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Noto Sans SC', 'Manrope', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ---------- Container ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { color: var(--steel); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--navy-deep);
  color: var(--cream);
  font-size: 0.82rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(200, 155, 60, 0.15);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.topbar-contact {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.topbar-contact span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.85;
}
.topbar-contact svg { width: 14px; height: 14px; opacity: 0.7; }

.lang-switch {
  display: flex;
  gap: 4px;
  align-items: center;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.lang-switch a {
  padding: 4px 10px;
  border-radius: 2px;
  opacity: 0.6;
  transition: all var(--transition);
  font-size: 0.78rem;
}
.lang-switch a.active,
.lang-switch a:hover {
  opacity: 1;
  color: var(--gold-light);
}
.lang-divider { opacity: 0.3; }

/* ---------- Header / Nav ---------- */
.header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.96);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy-deep);
  letter-spacing: 0.02em;
}
.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 3px;
}

.nav {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav a {
  padding: 10px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--steel);
  position: relative;
  letter-spacing: 0.02em;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav a:hover, .nav a.active {
  color: var(--navy-deep);
}
.nav a:hover::after, .nav a.active::after {
  width: 22px;
}
.nav-cta {
  margin-left: 12px;
  padding: 11px 22px !important;
  background: var(--navy-deep);
  color: var(--cream) !important;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: all var(--transition);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 110;
}
.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy-deep);
  margin: 5px auto;
  transition: all var(--transition);
}
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-deep);
  color: var(--cream);
  padding: 120px 0 100px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 80% 50%, rgba(200, 155, 60, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 100%, rgba(200, 155, 60, 0.08), transparent 60%);
  z-index: -1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 155, 60, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 155, 60, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -1;
  mask-image: radial-gradient(ellipse at center, black, transparent 80%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero h1 { color: var(--cream); margin-bottom: 1.5rem; }
.hero h1 .accent {
  color: var(--gold-light);
  font-style: italic;
  font-weight: 400;
}
.hero h1.company-name {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  letter-spacing: -0.005em;
  margin-bottom: 1rem;
  text-transform: none;
}
.hero-tagline {
  font-family: var(--sans);
  color: var(--gold-light);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(200, 155, 60, 0.25);
  max-width: 540px;
}
html[lang="zh"] .hero-tagline {
  letter-spacing: 0.12em;
  font-size: 0.85rem;
}
.hero-lede {
  font-size: 1.1rem;
  color: rgba(250, 248, 243, 0.75);
  margin-bottom: 2.5rem;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-eyebrow {
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before { background: var(--gold-light); }

.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(200, 155, 60, 0.2);
  border: 1px solid rgba(200, 155, 60, 0.3);
}
.hero-stat {
  padding: 32px 24px;
  background: rgba(10, 37, 64, 0.6);
  text-align: center;
}
.hero-stat-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 8px;
}
.hero-stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 248, 243, 0.7);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(200, 155, 60, 0.3);
}
.btn-outline {
  border-color: rgba(250, 248, 243, 0.3);
  color: var(--cream);
}
.btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}
.btn-dark {
  background: var(--navy-deep);
  color: var(--cream);
}
.btn-dark:hover {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn svg { width: 16px; height: 16px; }

/* ---------- Sections ---------- */
section { padding: 100px 0; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-header .eyebrow { justify-content: center; }
.section-header .eyebrow::before { display: none; }
.section-header .eyebrow {
  padding: 6px 16px;
  background: rgba(200, 155, 60, 0.1);
  border-radius: 100px;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.05rem; }

/* ---------- Categories Grid ---------- */
.categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.category-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: width var(--transition);
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.category-card:hover::before { width: 100%; }
.category-num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 24px;
  display: block;
}
.category-card h3 { margin-bottom: 12px; }
.category-card p { font-size: 0.95rem; margin-bottom: 24px; }
.category-link {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.category-link::after {
  content: '→';
  transition: transform var(--transition);
}
.category-link:hover { color: var(--gold); }
.category-link:hover::after { transform: translateX(4px); }

/* ---------- Products Grid ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-soft);
}
.product-image {
  aspect-ratio: 4 / 3;
  background: var(--line-soft);
  overflow: hidden;
  position: relative;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.product-card:hover .product-image img { transform: scale(1.06); }
.product-info { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.product-cat {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
}
.product-info h3 { margin-bottom: 10px; font-size: 1.3rem; }
.product-info p { font-size: 0.92rem; flex: 1; }

/* ---------- Two-column / Feature ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-grid h2 { margin-bottom: 1.5rem; }
.about-grid p { margin-bottom: 1.25rem; }
.about-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background-color: var(--navy-deep);
  background-image: url('../images/steel-coils.jpeg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 37, 64, 0.15) 0%,
    rgba(10, 37, 64, 0.25) 40%,
    rgba(10, 37, 64, 0.55) 70%,
    rgba(10, 37, 64, 0.88) 100%
  );
}
.about-visual-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  color: var(--cream);
}
.about-visual-year {
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 500;
  line-height: 1;
  color: var(--gold-light);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.about-visual-label {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-top: 1px solid rgba(200, 155, 60, 0.3);
  padding-top: 20px;
  max-width: 280px;
}

.feature-list {
  margin: 2.5rem 0;
  display: grid;
  gap: 20px;
}
.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(200, 155, 60, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.8; }
.feature-text h4 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 4px;
}
.feature-text p { font-size: 0.92rem; margin: 0; }

/* ---------- Section Variants ---------- */
.bg-paper { background: var(--paper); }
.bg-cream { background: var(--cream); }
.bg-navy {
  background: var(--navy-deep);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--cream); }
.bg-navy p { color: rgba(250, 248, 243, 0.7); }
.bg-navy::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(200, 155, 60, 0.15), transparent 60%);
  pointer-events: none;
}

/* ---------- CTA Strip ---------- */
.cta-strip {
  padding: 80px 0;
  text-align: center;
  position: relative;
}
.cta-strip h2 { color: var(--cream); margin-bottom: 1rem; }
.cta-strip p {
  color: rgba(250, 248, 243, 0.75);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 2rem;
}

/* ---------- Page Hero (interior pages) ---------- */
.page-hero {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(200, 155, 60, 0.15), transparent 60%);
}
.page-hero h1 { color: var(--cream); }
.page-hero .breadcrumb {
  display: flex;
  gap: 8px;
  justify-content: center;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 248, 243, 0.6);
  margin-bottom: 1.5rem;
}
.page-hero .breadcrumb a:hover { color: var(--gold-light); }
.page-hero .breadcrumb .sep { color: var(--gold); }
.page-hero-content { position: relative; z-index: 1; }
.page-hero-tagline {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: rgba(250, 248, 243, 0.75);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- About Page ---------- */
.about-story {
  max-width: 820px;
  margin: 0 auto;
}
.about-story p {
  font-size: 1.08rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.about-story .lead {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--navy-deep);
  line-height: 1.5;
  margin-bottom: 2rem;
  font-style: italic;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.value-card {
  text-align: center;
  padding: 40px 24px;
}
.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-icon svg { width: 28px; height: 28px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.value-card h3 { margin-bottom: 12px; }
.value-card p { font-size: 0.95rem; }

/* ---------- Contact Page ---------- */
.contact-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.contact-intro .eyebrow { justify-content: center; }
.contact-intro h2 { margin-bottom: 1rem; }
.contact-intro p { color: var(--steel); font-size: 1.05rem; }

/* Split layout: cards on left, map on right */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: stretch;
}
.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-card {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 26px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  flex: 1;
}
.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(10, 37, 64, 0.10);
  border-color: var(--gold);
}
.contact-card .contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.contact-card .contact-icon svg { width: 20px; height: 20px; stroke: var(--gold-light); fill: none; stroke-width: 1.8; }
.contact-card-body { flex: 1; min-width: 0; }
.contact-card .contact-text-label {
  margin-bottom: 6px;
}
.contact-card h4 {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 6px;
}
.contact-card p {
  font-size: 0.93rem;
  color: var(--steel);
  margin: 0;
  line-height: 1.65;
}
.contact-card p a { color: var(--navy-deep); font-weight: 500; }
.contact-card p a:hover { color: var(--gold); }

/* Map (now inside split layout) */
.contact-map {
  position: relative;
  min-height: 460px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--navy-deep);
}
.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-map-cta {
  text-align: center;
  margin-top: 40px;
}

/* Legacy contact-grid (unused but kept for safety) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
}
.contact-info { padding-right: 24px; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { margin-bottom: 2.5rem; }

.contact-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.contact-item:last-child { border-bottom: 1px solid var(--line); }
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; stroke: var(--gold-light); fill: none; stroke-width: 1.8; }
.contact-text-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 6px;
}
.contact-text h4 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 4px;
}
.contact-text p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--steel);
}
.contact-text p a:hover { color: var(--gold); }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 48px;
}
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  transition: all var(--transition);
  border-radius: var(--radius);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { width: 100%; justify-content: center; padding: 16px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  color: rgba(250, 248, 243, 0.7);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer .brand-name { color: var(--cream); }
.footer p { font-size: 0.9rem; color: rgba(250, 248, 243, 0.6); margin-top: 16px; line-height: 1.7; }
.footer h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  font-size: 0.92rem;
  color: rgba(250, 248, 243, 0.7);
  transition: all var(--transition);
}
.footer ul a:hover { color: var(--gold-light); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: rgba(250, 248, 243, 0.75);
}
.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  fill: none;
  flex-shrink: 0;
  margin-top: 4px;
  stroke-width: 1.8;
}

.footer-bottom {
  border-top: 1px solid rgba(200, 155, 60, 0.15);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(250, 248, 243, 0.5);
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
.fade-up.d1 { animation-delay: 0.1s; }
.fade-up.d2 { animation-delay: 0.2s; }
.fade-up.d3 { animation-delay: 0.3s; }
.fade-up.d4 { animation-delay: 0.4s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-split { grid-template-columns: 1fr; gap: 28px; }
  .contact-intro { margin-bottom: 40px; }
  .contact-map { min-height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .categories, .products-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 80px 0; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(10, 37, 64, 0.12);
    transform: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0s linear 0.35s;
  }
  .nav.active {
    max-height: 600px;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0s;
  }
  .nav a {
    padding: 18px 24px;
    font-size: 1.05rem;
    font-family: var(--sans);
    font-weight: 700;
    border-bottom: 1px solid rgba(10, 37, 64, 0.06);
    text-align: center;
    width: 100%;
    max-width: none;
    color: var(--navy-deep);
    letter-spacing: 0.03em;
  }
  .nav a.active {
    color: var(--gold);
    background: rgba(200, 155, 60, 0.06);
  }
  .nav a:last-child { border-bottom: none; }
  .nav a::after { display: none; }
  html[lang="zh"] .nav a {
    font-size: 1.05rem;
  }
  .nav-cta {
    margin-left: 0 !important;
    margin-top: 20px;
    text-align: center;
    font-family: var(--sans) !important;
    font-size: 0.9rem !important;
  }
  .mobile-toggle { display: block; }

  .topbar-inner { justify-content: center; text-align: center; }
  .topbar-contact { font-size: 0.75rem; gap: 14px; justify-content: center; }

  .hero { padding: 80px 0 60px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat { padding: 20px 16px; }
  .hero-stat-num { font-size: 2.2rem; }

  .categories, .products-grid, .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .brand-name { font-size: 0.95rem; }
  .brand-mark { width: 48px; height: 48px; }

  section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .about-visual-content { padding: 32px 24px; }
  .topbar-contact span:not(:first-child) { display: none; }
}

/* ---------- Product Lightbox ---------- */
.product-card { cursor: pointer; }
.product-card .product-image { position: relative; }
.product-card .product-image::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(10, 37, 64, 0.85) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c89b3c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><path d='M21 21l-4.35-4.35'/><line x1='11' y1='8' x2='11' y2='14'/><line x1='8' y1='11' x2='14' y2='11'/></svg>") center / 18px no-repeat;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.product-card:hover .product-image::after {
  opacity: 1;
  transform: translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 24, 42, 0.92);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 40px 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  backdrop-filter: blur(8px);
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s;
}

.lightbox-content {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 32px;
  width: 100%;
  max-width: 700px;
  max-height: calc(100vh - 120px);
}
.lightbox.has-specs .lightbox-content {
  max-width: 1140px;
}
.lightbox-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}
.lightbox-specs { display: none; }
.lightbox.has-specs .lightbox-specs {
  display: flex;
  flex-direction: column;
  flex: 0 0 340px;
  width: 340px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 155, 60, 0.25);
  border-radius: 6px;
  padding: 28px 26px;
  overflow-y: auto;
  max-height: calc(100vh - 120px);
}
.lightbox-specs h4 {
  font-family: var(--serif);
  color: var(--gold-light);
  font-size: 1.3rem;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(200, 155, 60, 0.25);
  font-weight: 500;
}
.lightbox-spec-row {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.lightbox-spec-row:last-child { border-bottom: none; }
.lightbox-spec-key {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(250, 248, 243, 0.55);
  font-weight: 600;
}
.lightbox-spec-val {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--cream);
  line-height: 1.45;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: rgba(200, 155, 60, 0.15);
  border: 1px solid rgba(200, 155, 60, 0.4);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  transition: background 0.25s ease, transform 0.25s ease;
  z-index: 3;
}
.lightbox-close:hover {
  background: rgba(200, 155, 60, 0.3);
  transform: rotate(90deg);
}
.lightbox-close svg { width: 18px; height: 18px; stroke: currentColor; }

.lightbox-stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.lightbox-img-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  overflow: hidden;
}
.lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 320px);
  object-fit: contain;
  display: block;
  transition: opacity 0.25s ease;
}
.lightbox-img.swapping { opacity: 0; }

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(200, 155, 60, 0.15);
  border: 1px solid rgba(200, 155, 60, 0.4);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  transition: background 0.25s ease;
  z-index: 2;
}
.lightbox-arrow:hover { background: rgba(200, 155, 60, 0.3); }
.lightbox-arrow.prev { left: -20px; }
.lightbox-arrow.next { right: -20px; }
.lightbox-arrow svg { width: 20px; height: 20px; }

.lightbox-caption {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: 16px;
  text-align: center;
  font-weight: 500;
}
.lightbox-counter {
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.lightbox-thumbs {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 600px;
}
.lightbox-thumb {
  width: 72px;
  height: 72px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.5;
  transition: opacity 0.25s ease, border-color 0.25s ease;
  background: rgba(0, 0, 0, 0.3);
  padding: 0;
}
.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lightbox-thumb:hover { opacity: 0.85; }
.lightbox-thumb.active {
  opacity: 1;
  border-color: var(--gold-light);
}

@media (max-width: 768px) {
  .lightbox { padding: 64px 12px 20px; }
  .lightbox-close { top: 16px; right: 16px; width: 40px; height: 40px; }
  .lightbox-content {
    flex-direction: column;
    gap: 16px;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }
  .lightbox.has-specs .lightbox-content { max-width: 100%; }
  .lightbox.has-specs .lightbox-specs {
    flex: 1 1 auto;
    width: 100%;
    max-height: none;
    padding: 20px 18px;
  }
  .lightbox-specs h4 { font-size: 1.15rem; }
  .lightbox-arrow { width: 40px; height: 40px; }
  .lightbox-arrow.prev { left: 6px; }
  .lightbox-arrow.next { right: 6px; }
  .lightbox-caption { font-size: 1.1rem; }
  .lightbox-thumb { width: 54px; height: 54px; }
  .lightbox-img { max-height: 42vh; }
  .product-card .product-image::after { width: 32px; height: 32px; background-size: 14px; top: 10px; right: 10px; }
}
