/* =========================================================
   Yong Chin 9 Enterprise — site styles
   Brand colours taken from the product packaging:
   deep black, festive red, fresh green.
   ========================================================= */

:root {
  --ink: #17140f;
  --ink-2: #4a443b;
  --muted: #7a7266;
  --paper: #fbf8f3;
  --paper-2: #f3ede3;
  --card: #ffffff;
  --line: #e6ddcf;

  --red: #c3202e;
  --red-dark: #9c1723;
  --green: #2f7d32;
  --green-light: #8cc63f;
  --gold: #e8b64c;
  --night: #121110;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(23, 20, 15, .06), 0 2px 8px rgba(23, 20, 15, .04);
  --shadow: 0 10px 30px -12px rgba(23, 20, 15, .22);
  --shadow-lg: 0 30px 60px -20px rgba(23, 20, 15, .35);

  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-zh: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--night); color: #f4efe6; }
.section-dark .eyebrow { color: var(--green-light); }
.section-dark .muted { color: #b8afa1; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mono { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .04em; }
.lead { font-size: 1.125rem; color: var(--ink-2); }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: .9em;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.center .eyebrow::before { display: none; }
.zh { font-family: var(--font-zh); font-weight: 700; color: var(--red); margin: 0 0 .15em; letter-spacing: .05em; }
.zh-lg { font-size: 1.6rem; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--ink-2); font-size: 1.075rem; }
.section-dark .section-head p { color: #cfc6b8; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head-row h2 { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font: 700 .95rem/1 var(--font-body); cursor: pointer; white-space: nowrap;
  transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px -8px rgba(195, 32, 46, .6); }
.btn-primary:hover { background: var(--red-dark); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper-2); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { padding: .7em 1.2em; font-size: .875rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--red); }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow svg { transition: transform .2s; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(251, 248, 243, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: block; width: 68px; height: 68px; flex-shrink: 0; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; }
.brand-text small { font-size: .74rem; color: var(--muted); letter-spacing: .06em; font-family: var(--font-zh), var(--font-body); }
.brand-light .brand-text small { color: #b8afa1; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav ul a {
  display: block; padding: .5em .8em; border-radius: 8px; font-weight: 600; font-size: .93rem; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.site-nav ul a:hover { color: var(--ink); background: var(--paper-2); }
.site-nav ul a[aria-current="page"] { color: var(--red); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; border-radius: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle span + span { margin-top: 6px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1020px) {
  /* A backdrop filter traps fixed children inside the header's height. */
  .site-header { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper);
    flex-direction: column; align-items: stretch; gap: 20px; padding: 24px var(--gutter) 40px;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    transform: translateX(100%); visibility: hidden;
    transition: transform .3s ease, visibility .3s; overflow-y: auto;
    overscroll-behavior-y: contain;
  }
  .nav-open .site-nav { transform: none; visibility: visible; }
  .site-nav > * { flex-shrink: 0; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { font-size: 1.15rem; padding: 1em .25em; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav .btn { align-self: flex-start; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% 20%, #2a1a14 0%, var(--night) 60%);
  color: #f7f1e7;
  padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 10vw, 120px);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 6px;
  background: linear-gradient(90deg, var(--red) 0 50%, var(--green-light) 50% 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero .lead { color: #d7cfc2; max-width: 540px; }
.hero .eyebrow { color: var(--green-light); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 2rem; color: #fff; line-height: 1; }
.hero-stats span { font-size: .85rem; color: #b8afa1; margin-top: 6px; }

.hero-collage { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, 1fr); gap: 14px; aspect-ratio: 1 / 1; }
.hero-collage figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #222; }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.hero-collage figure:hover img { transform: scale(1.05); }
.hc-1 { grid-column: 1 / 5; grid-row: 1 / 5; }
.hc-2 { grid-column: 5 / 7; grid-row: 1 / 4; }
.hc-3 { grid-column: 5 / 7; grid-row: 4 / 7; }
.hc-4 { grid-column: 1 / 5; grid-row: 5 / 7; }
.hero-badge {
  position: absolute; left: -18px; bottom: 22%; z-index: 2;
  background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 16px;
  display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-lg); font-size: .85rem; line-height: 1.3;
}
.hero-badge i { font-style: normal; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #e9f5dc; color: var(--green); font-size: 1.1rem; }
.hero-badge strong { display: block; font-size: .95rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-collage { max-width: 560px; }
  .hero-badge { left: 12px; bottom: 12px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; background: var(--night); color: #f7f1e7; overflow: hidden;
  padding: clamp(56px, 8vw, 100px) 0;
}
.page-hero-bg {
  position: absolute; inset: -10%; opacity: .32;
  background-position: 85% 50%; background-size: cover; background-repeat: no-repeat;
  filter: saturate(1.1);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--night) 25%, rgba(18,17,16,.55) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero p { color: #d7cfc2; max-width: 640px; font-size: 1.1rem; margin: 0; }
.page-hero .eyebrow { color: var(--green-light); }
.page-hero-sm { padding: 22px 0; }
.page-hero-sm::after { background: var(--night); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: #b8afa1; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; }

/* ---------- Grids & cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-2); margin: 0; font-size: .96rem; }
.section-dark .card { background: #1c1a18; border-color: #2d2a26; }
.section-dark .card p { color: #bfb6a8; }
.section-dark .card h3 { color: #fff; }

.icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  background: #fbe9ea; color: var(--red);
}
.icon svg { width: 26px; height: 26px; }
.icon.green { background: #e9f5dc; color: var(--green); }
.icon.gold { background: #fbf1da; color: #a87614; }
.section-dark .icon { background: rgba(195, 32, 46, .18); color: #ff8a93; }
.section-dark .icon.green { background: rgba(140, 198, 63, .15); color: var(--green-light); }

/* ---------- Feature image blocks ---------- */
.media-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.2; background: #222; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame .tag {
  position: absolute; left: 16px; bottom: 16px; background: rgba(18,17,16,.82); color: #fff;
  padding: 8px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600; backdrop-filter: blur(6px);
}
.company-logo { display: flex; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 40px); }
.company-logo img { display: block; width: 100%; max-width: 420px; height: auto; object-fit: contain; }
.media-stack { position: relative; }
.media-stack .media-frame + .media-frame {
  position: absolute; width: 48%; right: -4%; bottom: -12%; aspect-ratio: 1; border: 6px solid var(--paper);
}
@media (max-width: 760px) { .media-stack .media-frame + .media-frame { right: 4%; } .media-stack { margin-bottom: 12%; } }

.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; color: var(--ink-2); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.section-dark .check-list li { color: #cfc6b8; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats > div { background: var(--card); padding: 28px 24px; }
.stats strong { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 3.5vw, 2.6rem); line-height: 1; color: var(--red); }
.stats span { display: block; margin-top: 8px; color: var(--ink-2); font-size: .92rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.product-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card-link { display: flex; flex-direction: column; height: 100%; }
.product-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #1a1a1a; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); transition: transform .6s ease; }
.product-card:hover .product-card-media img { transform: scale(1.45); }
.product-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product-card-body h3 { font-size: 1.2rem; margin-bottom: .35em; }
.product-card-body .zh { font-size: .95rem; }
.product-card-body .desc { color: var(--ink-2); font-size: .93rem; margin-bottom: 16px; }
.product-card-meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .8rem; font-weight: 600; }
.product-card-meta span:not(.more) { background: var(--paper-2); padding: 4px 10px; border-radius: 999px; color: var(--ink-2); }
.product-card-meta .more { margin-left: auto; color: var(--red); display: inline-flex; align-items: center; gap: .3em; }
.product-card:hover .more svg { transform: translateX(3px); }
.more svg { transition: transform .2s; }

.chip {
  display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .03em;
}
.chip-cat { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: var(--shadow-sm); }
.chip-static { position: static; background: #e9f5dc; color: var(--green); box-shadow: none; margin-bottom: 18px; }

/* ---------- Catalogue ---------- */
.catalogue-filters {
  position: sticky; top: var(--header-h); z-index: 20; background: rgba(251,248,243,.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); padding: 14px 0;
}
.filters { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex-shrink: 0; border: 1px solid var(--line); background: var(--card); color: var(--ink-2);
  padding: .6em 1.1em; border-radius: 999px; font: 600 .9rem/1 var(--font-body); cursor: pointer;
  display: inline-flex; align-items: center; gap: .5em; transition: all .2s;
}
.filter span { background: var(--paper-2); border-radius: 999px; padding: 2px 8px; font-size: .75rem; }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter.active span { background: var(--red); color: #fff; }
.catalogue-group { padding-top: clamp(40px, 6vw, 64px); scroll-margin-top: calc(var(--header-h) + 70px); }
.catalogue-group[hidden] { display: none; }
.catalogue-group-head { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: end; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.catalogue-group-head h2 { margin: 0; }
.catalogue-group-head p:last-child { margin: 0; color: var(--ink-2); }
.catalogue-group-head .eyebrow { font-family: var(--font-zh); letter-spacing: .2em; }
@media (max-width: 760px) { .catalogue-group-head { grid-template-columns: 1fr; } }

/* ---------- Product detail ---------- */
.pd-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.pd-media { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
.pd-media figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.pd-photo { aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.pd-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); }
.pd-label img { width: 100%; height: auto; }
.pd-label figcaption { padding: 10px 16px; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); }
.pd-info h1 { font-size: clamp(2rem, 4vw, 3rem); }
.pd-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin: 28px 0 20px; }
.pd-facts div { background: var(--card); padding: 14px 18px; }
.pd-facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.pd-facts dd { margin: 4px 0 0; font-weight: 700; font-size: 1.02rem; }
.pd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.badge { padding: 6px 12px; border-radius: 8px; background: var(--paper-2); font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.badge-frozen { background: #e4f0fb; color: #1d5a8e; }
.badge-note { background: #fbe9ea; color: var(--red-dark); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pd-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.spec-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.spec-card h3 { font-size: 1.1rem; display: flex; align-items: center; gap: .5em; }
.spec-card h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.spec-card p { color: var(--ink-2); margin: 0; font-size: .95rem; }
.spec-card table { width: 100%; border-collapse: collapse; font-size: .92rem; margin-top: 8px; }
.spec-card th, .spec-card td { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: left; }
.spec-card th { font-weight: 500; color: var(--ink-2); }
.spec-card td { text-align: right; font-weight: 700; }
.spec-card tr:last-child th, .spec-card tr:last-child td { border-bottom: 0; }
@media (max-width: 860px) { .pd-grid { grid-template-columns: 1fr; } .pd-media { position: static; } }
@media (max-width: 420px) { .pd-facts { grid-template-columns: 1fr; } }

.empty-state { padding: 120px var(--gutter); text-align: center; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 24px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--red); margin-bottom: 14px; font-weight: 600;
}
.step h3 { font-size: 1.08rem; }
.step p { margin: 0; color: var(--ink-2); font-size: .93rem; }
.section-dark .step { background: #1c1a18; border-color: #2d2a26; }
.section-dark .step p { color: #bfb6a8; }
.section-dark .step h3 { color: #fff; }
.section-dark .step::before { color: var(--green-light); }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 28px; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--red), var(--green-light)); }
.timeline-item { position: relative; }
.timeline-item::before { content: ""; position: absolute; left: -36px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 4px solid var(--red); }
.timeline-item:last-child::before { border-color: var(--green); }
.timeline-item .when { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.timeline-item h3 { margin: .2em 0 .3em; }
.timeline-item p { margin: 0; color: var(--ink-2); }

/* ---------- Mission / Vision ---------- */
.mv-card { border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.mv-card h3 { font-size: 1.6rem; }
.mv-card p { margin: 0; font-size: 1.05rem; }
.mv-mission { background: var(--red); color: #fff; }
.mv-mission p { color: #fde3e5; }
.mv-vision { background: var(--night); color: #fff; }
.mv-vision p { color: #cfc6b8; }
.mv-card .big { position: absolute; right: -10px; bottom: -38px; font-family: var(--font-zh); font-weight: 900; font-size: 9rem; opacity: .1; line-height: 1; }

/* ---------- Certifications ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.cert {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px;
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.cert-seal {
  width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  border: 3px double currentColor; font: 800 1.05rem/1.1 var(--font-body); letter-spacing: .04em; text-align: center; padding: 10px;
}
.cert-seal small { display: block; font-size: .6rem; font-weight: 700; letter-spacing: .12em; margin-top: 4px; }
.cert h3 { font-size: 1.05rem; margin-bottom: .3em; }
.cert p { font-size: .88rem; color: var(--ink-2); margin: 0 0 14px; }
.cert .status { margin-top: auto; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--paper-2); color: var(--muted); }
.seal-red { color: var(--red); }
.seal-green { color: var(--green); }
.seal-gold { color: #a87614; }
.seal-ink { color: var(--ink); }

.cert-docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.cert-doc {
  aspect-ratio: 1 / 1.35; border-radius: var(--radius-sm); border: 2px dashed var(--line); background: var(--card);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; color: var(--muted); font-size: .88rem;
}
.cert-doc strong { color: var(--ink); font-size: 1rem; margin-bottom: 6px; }
.cert-doc svg { width: 40px; height: 40px; margin-bottom: 12px; color: var(--line); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(120deg, var(--red) 0%, #8f1520 100%); color: #fff;
  padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center;
}
.cta-band::after {
  content: "永青"; position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  font-family: var(--font-zh); font-weight: 900; font-size: clamp(6rem, 16vw, 12rem); opacity: .08; pointer-events: none;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #fde3e5; margin: 0; font-size: 1.08rem; max-width: 560px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact-card .icon { margin: 0; flex-shrink: 0; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: .2em; }
.contact-card p, .contact-card a { margin: 0; color: var(--ink-2); font-size: .95rem; }
.contact-card a:hover { color: var(--red); }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--paper-2); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .88rem; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .96rem; padding: .8em 1em; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(195,32,46,.12); background: #fff; }
.form-note { font-size: .88rem; color: var(--green); margin: 12px 0 0; min-height: 1.4em; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #cfc6b8; padding-top: clamp(56px, 7vw, 80px); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.footer-grid h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .94rem; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { margin: 18px 0 0; font-size: .94rem; max-width: 340px; }
.footer-brand .reg { font-size: .8rem; color: #8d8578; margin-top: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { margin-top: .25em; color: var(--green-light); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px var(--gutter); border-top: 1px solid #2a2724; font-size: .84rem; color: #8d8578; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 28px -8px rgba(37,211,102,.7);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Language support ---------- */
html.i18n-pending main, html.i18n-pending footer { opacity: 0; }
main, footer { transition: opacity .2s ease; }

.header-tools { display: flex; align-items: center; gap: 8px; order: 3; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px 4px 3px 10px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--muted);
}
.lang-switch svg { width: 16px; height: 16px; margin-right: 4px; }
.lang-switch button {
  border: 0; background: transparent; cursor: pointer; color: var(--ink-2);
  font: 700 .8rem/1 var(--font-body); padding: 7px 10px; border-radius: 999px; transition: background .2s, color .2s;
}
.lang-switch button[lang="zh-Hans"] { font-family: var(--font-zh); }
.lang-switch button:hover { background: var(--paper-2); color: var(--ink); }
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
@media (min-width: 1021px) {
  .header-inner { justify-content: flex-start; }
  .site-nav { margin-left: auto; order: 2; }
  .header-tools { margin-left: 16px; }
}
@media (max-width: 420px) {
  .lang-switch svg { display: none; }
  .lang-switch { padding-left: 4px; }
  .lang-switch button { padding: 7px 8px; }
  .brand-text small { display: none; }
}

/* Chinese typography */
html[lang="zh-Hans"] body { font-family: var(--font-body), var(--font-zh); line-height: 1.8; }
html[lang="zh-Hans"] h1, html[lang="zh-Hans"] h2, html[lang="zh-Hans"] h3, html[lang="zh-Hans"] h4 {
  font-family: var(--font-display), "Noto Serif SC", "Songti SC", serif; letter-spacing: .02em; line-height: 1.3;
}
html[lang="zh-Hans"] .eyebrow { letter-spacing: .12em; }
html[lang="zh-Hans"] .brand-text strong { font-family: "Noto Serif SC", var(--font-display); letter-spacing: .08em; }
html[lang="zh-Hans"] .hero h1 em { font-style: normal; }
.lang-switch button, .brand-text strong { white-space: nowrap; }
@media (max-width: 600px) {
  :root { --header-h: 84px; }
  .header-inner { gap: 8px; }
  .brand { gap: 8px; }
  .brand-mark { width: 56px; height: 56px; }
}
@media (max-width: 420px) { .brand-text strong { font-size: .9rem; } }
