/* ═══════════════════════════════════════════════════════════════
   WANGDER MALL LIMITED — Website Stylesheet
   Premium Seafood Import & Export · Hong Kong
   Version 4.0
   
   TABLE OF CONTENTS:
   ─────────────────
   1.  Custom Fonts (@font-face)
   2.  Variables & Design Tokens
   3.  Reset & Base Styles
   4.  Typography System
   5.  Layout & Containers
   6.  Scroll Animations
   7.  Navigation
   8.  Hero Section
   9.  Trust Bar
   10. Products Section (with SVG illustrations)
   11. Why Us Section
   12. About & Team Section
   13. Markets Section (with corner flags)
   14. Contact Section (with copy-to-clipboard)
   15. Social Popups
   16. Footer
   17. Responsive — Tablet (≤968px)
   18. Responsive — Mobile (≤768px)
   19. Responsive — Small (≤480px)
   
   COLOR PALETTE:
   Primary     #4E342E   Headlines, hero, dark sections
   Accent 1    #9B7732   Buttons, CTAs, gold highlights
   Accent 2    #A8B5A2   Subtle lines, soft green accents
   Accent 4    #0F4C5C   Seafood teal accent (sparingly)
   Secondary 1 #A1887F   Borders, muted labels, captions
   Secondary 2 #FAF9F6   Main background, white space
   Text        #3E2723   Body text, paragraphs
   Cards       #F5F5F5   Card and panel backgrounds
   ═══════════════════════════════════════════════════════════════ */


/* ─────────────────────────────────────────
   1. CUSTOM FONTS
   
   Place your font files in the /fonts folder:
   - Canela-Regular.otf
   - Graphik-Light.otf
   - Graphik-Regular.otf
   
   If fonts are missing, the site falls back to
   DM Serif Display and DM Sans (loaded via Google Fonts).
   ───────────────────────────────────────── */
@font-face {
  font-family: 'Canela';
  src: url('../fonts/Canela-Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Graphik';
  src: url('../fonts/Graphik-Light.otf') format('opentype');
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'Graphik';
  src: url('../fonts/Graphik-Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}


/* ─────────────────────────────────────────
   2. VARIABLES & DESIGN TOKENS
   ───────────────────────────────────────── */
:root {
  --primary:    #4E342E;
  --accent1:    #9B7732;
  --accent2:    #A8B5A2;
  --accent4:    #0F4C5C;
  --secondary1: #A1887F;
  --secondary2: #FAF9F6;
  --text:       #3E2723;
  --bg-card:    #F5F5F5;
  --font-display: 'Canela', 'DM Serif Display', Georgia, serif;
  --font-body:    'Graphik', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* ─────────────────────────────────────────
   3. RESET & BASE STYLES
   ───────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--secondary2);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  -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; }


/* ─────────────────────────────────────────
   4. TYPOGRAPHY SYSTEM
   ───────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem);   color: var(--primary); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: var(--primary); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--primary); }
p  { max-width: 680px; }


/* ─────────────────────────────────────────
   5. LAYOUT & CONTAINERS
   ───────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}
section { padding: clamp(80px, 10vw, 140px) 0; }

.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--secondary1);
  margin-bottom: 16px;
  font-weight: 400;
}
.section-title { margin-bottom: 24px; }
.section-desc  {
  color: var(--text);
  opacity: 0.7;
  font-size: 1.05rem;
  margin-bottom: 64px;
  line-height: 1.8;
}
.thin-divider {
  width: 60px;
  height: 1px;
  background: var(--accent2);
  margin: 32px 0;
}


/* ─────────────────────────────────────────
   6. SCROLL ANIMATIONS
   ───────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--accent1);
  z-index: 1100;
  width: 0%;
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out),
              transform 0.8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ─────────────────────────────────────────
   7. NAVIGATION
   ───────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: all 0.4s ease;
}
nav.scrolled {
  background: rgba(250, 249, 246, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(161, 136, 127, 0.15);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo — 48px, white on hero → brown on scroll */
.nav-logo img         { height: 48px; width: auto; transition: opacity 0.4s; }
.nav-logo .logo-brown { display: none; }
.nav-logo .logo-white { display: block; }
nav.scrolled .nav-logo .logo-brown { display: block; }
nav.scrolled .nav-logo .logo-white { display: none; }

/* Links */
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 249, 246, 0.7);
  transition: all 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent1);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover        { color: var(--secondary2); }
.nav-links a:hover::after { width: 100%; }
nav.scrolled .nav-links a { color: var(--text); opacity: 0.7; }
nav.scrolled .nav-links a:hover { opacity: 1; }

/* CTA */
.nav-cta {
  font-size: 12px !important;
  letter-spacing: 0.12em !important;
  padding: 10px 24px;
  border: 1px solid var(--accent1);
  color: var(--accent1) !important;
  opacity: 1 !important;
  transition: all 0.3s ease !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover  { background: var(--accent1); color: var(--secondary2) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--secondary2);
  margin: 6px 0;
  transition: all 0.3s ease;
}
nav.scrolled .nav-toggle span { background: var(--text); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* ─────────────────────────────────────────
   8. HERO SECTION
   ───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--primary);
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(155,119,50,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(15,76,92,0.06) 0%, transparent 50%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent1);
  margin-bottom: 32px;
  font-weight: 400;
}
.hero h1 {
  color: var(--secondary2);
  max-width: 800px;
  margin-bottom: 32px;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
}
.hero-sub {
  color: rgba(250,249,246,0.65);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.8;
  font-weight: 300;
}
.btn-primary {
  display: inline-block;
  padding: 16px 40px;
  background: var(--accent1);
  color: var(--secondary2);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 400;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
}
.btn-primary:hover {
  background: #b08a3a;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(155,119,50,0.3);
}
.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(250,249,246,0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%      { opacity: 0.7; transform: scaleY(1.2); }
}


/* ─────────────────────────────────────────
   9. TRUST BAR
   ───────────────────────────────────────── */
.trust-bar {
  padding: 60px 0;
  border-bottom: 1px solid rgba(161,136,127,0.15);
}
.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.trust-icon {
  width: 40px; height: 40px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
}
.trust-icon svg {
  width: 28px; height: 28px;
  stroke: var(--accent1);
  fill: none;
  stroke-width: 1.5;
}
.trust-label {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text);
  font-weight: 400;
  line-height: 1.5;
}


/* ─────────────────────────────────────────
   10. PRODUCTS SECTION
   ───────────────────────────────────────── */
#products { background: var(--bg-card); }

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
}

.product-card {
  background: var(--secondary2);
  padding: clamp(32px, 4vw, 56px);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.5s ease;
}
.product-card > *:not(.fish-illustration) { position: relative; z-index: 1; }

/* Gold top line on hover */
.product-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
  z-index: 2;
}
.product-card:hover::after { transform: scaleX(1); }
.product-card:hover { box-shadow: 0 16px 48px rgba(78,52,46,0.06); }

/* Fish line-art illustration */
.fish-illustration {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 180px;
  height: 130px;
  opacity: 0.12;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: translateX(10px);
  z-index: 0;
  pointer-events: none;
}
.product-card:hover .fish-illustration {
  opacity: 0.28;
  transform: translateX(0);
}
.fish-illustration svg {
  width: 100%;
  height: 100%;
}

.product-species {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent4);
  margin-bottom: 8px;
  font-weight: 400;
}
.product-card h3   { margin-bottom: 8px; font-size: 1.6rem; }
.product-latin     {
  font-style: italic;
  color: var(--secondary1);
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.product-desc {
  color: var(--text);
  opacity: 0.7;
  font-size: 0.95rem;
  margin-bottom: 28px;
  line-height: 1.8;
}
.product-grades h4 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary1);
  margin-bottom: 12px;
  font-weight: 400;
}
.grade-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(161,136,127,0.1);
  font-size: 0.9rem;
}
.grade-name   { font-weight: 400; }
.grade-weight { color: var(--secondary1); font-weight: 300; }

/* Processing */
.processing-section { margin-top: 64px; }
.processing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}
.processing-group h4 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent1);
  margin-bottom: 20px;
  font-weight: 400;
}
.format-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(161,136,127,0.08);
}
.format-name { font-weight: 400; font-size: 0.95rem; }
.format-desc { color: var(--secondary1); font-size: 0.85rem; margin-top: 2px; }
.processing-note {
  margin-top: 32px;
  font-size: 0.88rem;
  color: var(--secondary1);
  line-height: 1.7;
}


/* ─────────────────────────────────────────
   11. WHY US SECTION
   ───────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.why-item {
  padding: 24px;
  transition: all 0.4s ease;
  cursor: default;
}
.why-item:hover {
  background: var(--bg-card);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(78,52,46,0.06);
}
.why-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--accent2);
  line-height: 1;
  margin-bottom: 20px;
  transition: color 0.3s;
}
.why-item:hover .why-number { color: var(--accent1); }
.why-item h3 { font-size: 1.2rem; margin-bottom: 12px; }
.why-item p  { color: var(--text); opacity: 0.65; font-size: 0.95rem; line-height: 1.7; }


/* ─────────────────────────────────────────
   12. ABOUT & TEAM SECTION
   ───────────────────────────────────────── */
#about {
  background: var(--primary);
  color: var(--secondary2);
}
#about h2               { color: var(--secondary2); }
#about .section-eyebrow { color: var(--accent1); }
#about .section-desc    { color: rgba(250,249,246,0.6); }

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-story p {
  color: rgba(250,249,246,0.7);
  margin-bottom: 24px;
  line-height: 1.8;
}

/* Value items — interactive */
.about-values {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}
.value-item {
  padding: 20px 20px 20px 24px;
  border-left: 2px solid rgba(155,119,50,0.3);
  transition: all 0.4s ease;
  cursor: default;
}
.value-item:hover {
  border-left-color: var(--accent1);
  background: rgba(250,249,246,0.04);
  transform: translateX(8px);
}
.value-item h4 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent1);
  margin-bottom: 6px;
}
.value-item p {
  color: rgba(250,249,246,0.55);
  font-size: 0.9rem;
  line-height: 1.6;
  transition: color 0.3s;
}
.value-item:hover p { color: rgba(250,249,246,0.75); }

/* Team */
.team-section { margin-top: 100px; }
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 48px;
}
.team-card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 20px;
  transition: all 0.4s ease;
  cursor: default;
}
.team-card:hover {
  background: rgba(250,249,246,0.04);
  transform: translateY(-4px);
}

/* Team photo — rectangle with rounded corners */
.team-photo {
  width: 130px;
  height: 160px;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border-radius: 12px;
  filter: grayscale(15%) brightness(1.05);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: all 0.4s ease;
}
.team-card:hover .team-photo {
  filter: grayscale(0%) brightness(1.1);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
  transform: scale(1.03);
}

.team-info h3 { color: var(--secondary2); font-size: 1.3rem; margin-bottom: 4px; }
.team-role {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent1);
  margin-bottom: 12px;
  font-weight: 400;
}
.team-bio {
  color: rgba(250,249,246,0.55);
  font-size: 0.88rem;
  line-height: 1.6;
  transition: color 0.3s;
}
.team-card:hover .team-bio { color: rgba(250,249,246,0.75); }

.csr-note {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(250,249,246,0.08);
  color: rgba(250,249,246,0.4);
  font-size: 0.9rem;
  font-style: italic;
}


/* ─────────────────────────────────────────
   13. MARKETS SECTION (with corner flags)
   ───────────────────────────────────────── */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.market-card {
  padding: 40px;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: default;
}
.market-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(78,52,46,0.08);
}
.market-card > *:not(.market-flag) { position: relative; z-index: 1; }

/* Small corner flag — top right */
.market-flag {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 22px;
  border-radius: 3px;
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.4s ease;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.market-card:hover .market-flag {
  opacity: 0.85;
  transform: translateY(0);
}

/* Hong Kong flag */
.flag-hk { background: #DE2910; }
.flag-hk::after {
  content: '★';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 12px;
}

/* Canada flag */
.flag-ca {
  background: linear-gradient(90deg, #FF0000 27%, #FFFFFF 27%, #FFFFFF 73%, #FF0000 73%);
}
.flag-ca::after {
  content: '🍁';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* World / expansion */
.flag-world {
  background: var(--accent4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.flag-world::after {
  content: '🌐';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.market-tag {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary2);
  background: var(--accent1);
  padding: 4px 12px;
  display: inline-block;
  margin-bottom: 16px;
  font-weight: 400;
}
.market-tag.secondary { background: var(--secondary1); }
.market-tag.future    { background: var(--accent2); color: var(--text); }
.market-card h3 { margin-bottom: 12px; }
.market-card p  { color: var(--text); opacity: 0.6; font-size: 0.92rem; line-height: 1.7; }


/* ─────────────────────────────────────────
   14. CONTACT SECTION (with copy-to-clipboard)
   ───────────────────────────────────────── */
#contact { background: var(--bg-card); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-detail { margin-bottom: 24px; }
.contact-label  {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary1);
  margin-bottom: 6px;
  font-weight: 400;
}

/* Copyable contact values */
.contact-value { font-size: 1rem; font-weight: 400; }
.contact-copyable {
  cursor: pointer;
  position: relative;
  display: inline-block;
  border-bottom: 1px solid rgba(161,136,127,0.3);
  transition: border-color 0.3s;
}
.contact-copyable:hover { border-color: var(--accent1); }

/* "Click to copy" hint on hover */
.contact-copyable::after {
  content: 'Click to copy';
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--primary);
  color: var(--secondary2);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
.contact-copyable:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* "Copied!" state */
.contact-copyable.copied::after {
  content: 'Copied!';
  background: var(--accent1);
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Mobile: regular links instead of copy */
.contact-mobile-link {
  display: none;
  font-size: 1rem;
  font-weight: 400;
  border-bottom: 1px solid rgba(161,136,127,0.3);
}
.contact-mobile-link:hover { border-color: var(--accent1); }

/* Form */
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary1);
  margin-bottom: 8px;
  font-weight: 400;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid rgba(161,136,127,0.25);
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent1); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--secondary1); opacity: 0.6; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.btn-submit {
  display: inline-block;
  padding: 16px 48px;
  background: var(--primary);
  color: var(--secondary2);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 400;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
  transition: all 0.4s ease;
}
.btn-submit:hover {
  background: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(62,39,35,0.2);
}


/* ─────────────────────────────────────────
   15. SOCIAL POPUPS
   ───────────────────────────────────────── */
.social-links { display: flex; gap: 24px; margin-top: 40px; }
.social-item  { position: relative; text-align: center; }

.social-link {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(161,136,127,0.25);
  cursor: pointer;
  background: transparent;
  transition: all 0.3s;
}
.social-link:hover { border-color: var(--accent1); background: var(--accent1); }
.social-link:hover svg { stroke: var(--secondary2); }
.social-link svg {
  width: 18px; height: 18px;
  stroke: var(--text);
  fill: none;
  stroke-width: 1.5;
}
.social-link .icon-fill { fill: var(--text); stroke: none; }
.social-link:hover .icon-fill { fill: var(--secondary2); stroke: none; }

.social-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
  color: var(--secondary1);
}

/* Popup card */
.social-popup {
  position: absolute;
  bottom: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--secondary2);
  border: 1px solid rgba(161,136,127,0.15);
  box-shadow: 0 16px 48px rgba(62,39,35,0.15);
  padding: 24px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 100;
}
.social-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.social-popup::after {
  content: '';
  position: absolute;
  bottom: -7px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: var(--secondary2);
  border-right: 1px solid rgba(161,136,127,0.15);
  border-bottom: 1px solid rgba(161,136,127,0.15);
}
.popup-title  { font-family: var(--font-display); font-size: 1.1rem; color: var(--primary); margin-bottom: 4px; }
.popup-handle { font-size: 0.85rem; color: var(--secondary1); margin-bottom: 12px; }
.popup-link   {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent1);
  border-bottom: 1px solid var(--accent1);
  padding-bottom: 2px;
  transition: opacity 0.3s;
}
.popup-link:hover { opacity: 0.7; }
.popup-qr {
  width: 160px; height: 160px;
  background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  margin: 12px auto 0;
  font-size: 0.8rem;
  color: var(--secondary1);
}
.popup-qr img { width: 100%; height: 100%; object-fit: contain; }


/* ─────────────────────────────────────────
   16. FOOTER
   ───────────────────────────────────────── */
footer {
  background: var(--primary);
  padding: 60px 0 40px;
  color: rgba(250,249,246,0.4);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(250,249,246,0.06);
}
.footer-brand img  { height: 48px; width: auto; opacity: 0.6; margin-bottom: 16px; }
.footer-tagline    { font-size: 0.9rem; max-width: 300px; line-height: 1.6; }
.footer-links      { display: flex; gap: 60px; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250,249,246,0.25);
  margin-bottom: 16px;
  font-weight: 400;
}
.footer-col a { display: block; font-size: 0.9rem; margin-bottom: 8px; transition: color 0.3s; }
.footer-col a:hover { color: var(--secondary2); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  font-size: 0.8rem;
}
.footer-legal { opacity: 0.5; }
.footer-reg   { opacity: 0.4; font-size: 0.75rem; }


/* ─────────────────────────────────────────
   17. RESPONSIVE — TABLET (≤968px)
   ───────────────────────────────────────── */
@media (max-width: 968px) {
  .products-grid,
  .about-content,
  .team-grid,
  .contact-layout,
  .processing-grid { grid-template-columns: 1fr; }
  .about-content { gap: 48px; }
  .why-grid      { grid-template-columns: 1fr 1fr; gap: 32px; }
  .markets-grid  { grid-template-columns: 1fr; }
  .trust-items   { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-top    { flex-direction: column; gap: 40px; }
  .footer-links  { gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}


/* ─────────────────────────────────────────
   18. RESPONSIVE — MOBILE (≤768px)
   ───────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--secondary2);
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 999;
  }
  .nav-links.open a {
    font-size: 18px;
    color: var(--text) !important;
    opacity: 1 !important;
  }
  .nav-links.open .nav-cta { font-size: 14px !important; padding: 14px 32px; }
  .nav-toggle { display: block; }

  .hero        { min-height: 90vh; }
  .hero-scroll { display: none; }
  .why-grid    { grid-template-columns: 1fr; gap: 24px; }
  .team-card   { flex-direction: column; align-items: center; text-align: center; }
  .team-photo  { width: 120px; height: 150px; }
  .form-row    { grid-template-columns: 1fr; }
  .social-popup { min-width: 200px; }
  .social-links { flex-wrap: wrap; }

  /* On mobile: show native links, hide copy-to-clipboard */
  .contact-copyable     { display: none; }
  .contact-mobile-link  { display: inline-block; }
}


/* ─────────────────────────────────────────
   19. RESPONSIVE — SMALL MOBILE (≤480px)
   ───────────────────────────────────────── */
@media (max-width: 480px) {
  .trust-items  { grid-template-columns: 1fr; gap: 24px; }
  .nav-logo img { height: 36px; }
  .hero h1      { font-size: 2rem; }
  .hero-sub     { font-size: 0.95rem; }
  .product-card { padding: 24px; }
  .why-item     { padding: 16px; }
  .market-card  { padding: 28px; }
  .contact-layout { gap: 48px; }
}


/* ─────────────────────────────────────────
   20. LANGUAGE TOGGLE
   EN/繁 toggle button in navigation.
   ───────────────────────────────────────── */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid rgba(250,249,246,0.25);
  padding: 5px 12px;
  cursor: pointer;
  margin-left: 12px;
  transition: border-color 0.3s;
}
.lang-toggle:hover { border-color: var(--accent1); }
nav.scrolled .lang-toggle { border-color: rgba(161,136,127,0.3); }
nav.scrolled .lang-toggle:hover { border-color: var(--accent1); }

.lang-opt {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(250,249,246,0.5);
  cursor: pointer;
  transition: color 0.3s;
}
nav.scrolled .lang-opt { color: rgba(62,39,35,0.4); }
.lang-opt.lang-active { color: var(--accent1) !important; }
.lang-divider {
  font-size: 11px;
  color: rgba(250,249,246,0.2);
  pointer-events: none;
}
nav.scrolled .lang-divider { color: rgba(161,136,127,0.25); }

/* Mobile toggle — shown next to hamburger */
.lang-toggle-mobile { display: none; }
.nav-right-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Chinese font fallback */
[lang="zh-Hant"] h1,
[lang="zh-Hant"] h2,
[lang="zh-Hant"] h3 {
  font-family: 'Noto Serif TC', 'Canela', 'DM Serif Display', serif;
}
[lang="zh-Hant"] body,
[lang="zh-Hant"] p,
[lang="zh-Hant"] a,
[lang="zh-Hant"] span,
[lang="zh-Hant"] label,
[lang="zh-Hant"] button,
[lang="zh-Hant"] select,
[lang="zh-Hant"] input,
[lang="zh-Hant"] textarea,
[lang="zh-Hant"] .section-eyebrow,
[lang="zh-Hant"] .trust-label,
[lang="zh-Hant"] .contact-label,
[lang="zh-Hant"] .format-name,
[lang="zh-Hant"] .format-desc,
[lang="zh-Hant"] .processing-note {
  font-family: 'Noto Sans TC', 'Graphik', 'DM Sans', sans-serif;
}

@media (max-width: 768px) {
  /* Show mobile toggle, hide desktop toggle */
  .lang-toggle-mobile { display: inline-flex; }
  .nav-links .lang-toggle { display: none; }
  
  /* In open mobile menu, show toggle */
  .nav-links.open .lang-toggle {
    display: inline-flex;
    border-color: rgba(161,136,127,0.3);
    margin-left: 0;
    margin-top: 8px;
  }
  .nav-links.open .lang-toggle .lang-opt { color: rgba(62,39,35,0.4); }
  .nav-links.open .lang-toggle .lang-opt.lang-active { color: var(--accent1) !important; }
  .nav-links.open .lang-toggle .lang-divider { color: rgba(161,136,127,0.25); }
}
