/* ============================================================
   Tianjin Dejun Automobile Sales & Service Co., Ltd. — Website Styles
   Style: Minimal & Premium · Theme-ready via CSS variables
   Default theme: Charcoal & Emerald
   Themes derived from the company logo (black + signature lime green):
   Charcoal+Emerald / Obsidian+Neon / Carbon+Lime / Slate+Mint / Ink+Teal
   ============================================================ */

/* ---------- Self-hosted webfonts (latin subset, served with the site) ---------- */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/playfair-display-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/playfair-display-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/playfair-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/work-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/work-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/space-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/space-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/source-sans-3-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }

/* ---------- Default theme: Charcoal + Emerald (premium & stable) ---------- */
:root {
  --navy: #141b18;
  --navy-2: #1c2621;
  --navy-3: #24322c;
  --navy-deep: #0b100e;
  --navy-bright: #2e4037;
  --gold: #00c853;
  --gold-light: #4dd97f;
  --gold-dark: #00a844;
  --navy-rgb: 20, 27, 24;
  --navy3-rgb: 36, 50, 44;
  --gold-rgb: 0, 200, 83;
  --goldlight-rgb: 77, 217, 127;
  --ink: #101418;
  --gray: #5b6673;
  --gray-light: #8a94a1;
  --line: #e4e8ee;
  --bg-soft: #f6f8fa;
  --white: #ffffff;
  --radius: 6px;
  --shadow: 0 12px 40px rgba(var(--navy-rgb), 0.08);
  /* Typography — default: Classic Serif (Playfair Display + Source Serif 4) */
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Source Serif 4", Georgia, "Palatino Linotype", serif;
  --font: var(--font-body);
}

/* ---------- Typography themes (international business styles) ---------- */
/* Classic Serif — timeless, trust (law firms / legacy banking) */
html[data-font="classic"] {
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Source Serif 4", Georgia, "Palatino Linotype", serif;
}
/* Modern Corporate — clean, professional (tech enterprises) */
html[data-font="modern"] {
  --font-head: "Montserrat", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}
/* Swiss Minimal — international style, neutral (B2B) */
html[data-font="swiss"] {
  --font-head: "IBM Plex Sans", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}
/* Executive Mix — serif headline + sans body (consulting / finance) */
html[data-font="executive"] {
  --font-head: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body: "Work Sans", "Segoe UI", Arial, sans-serif;
}
/* Bold Geometric — confident, modern industrial (automotive) */
html[data-font="bold"] {
  --font-head: "Space Grotesk", "Century Gothic", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

/* ---------- Theme: Obsidian + Neon (direct from logo) ---------- */
html[data-theme="obsidian"] {
  --navy: #0a0a0a;
  --navy-2: #161616;
  --navy-3: #222222;
  --navy-deep: #050505;
  --navy-bright: #2b2b2b;
  --gold: #76ff03;
  --gold-light: #a6ff4d;
  --gold-dark: #5fd400;
  --navy-rgb: 10, 10, 10;
  --navy3-rgb: 34, 34, 34;
  --gold-rgb: 118, 255, 3;
  --goldlight-rgb: 166, 255, 77;
}

/* ---------- Theme: Carbon + Lime (refined neon) ---------- */
html[data-theme="lime"] {
  --navy: #14161a;
  --navy-2: #1d2026;
  --navy-3: #272b33;
  --navy-deep: #0b0c0f;
  --navy-bright: #31363f;
  --gold: #b4ff39;
  --gold-light: #cdff7a;
  --gold-dark: #97dd1f;
  --navy-rgb: 20, 22, 26;
  --navy3-rgb: 39, 43, 51;
  --gold-rgb: 180, 255, 57;
  --goldlight-rgb: 205, 255, 122;
}

/* ---------- Theme: Slate + Mint (business-soft green) ---------- */
html[data-theme="mint"] {
  --navy: #1f2429;
  --navy-2: #2a3037;
  --navy-3: #353d46;
  --navy-deep: #14171b;
  --navy-bright: #424c57;
  --gold: #7fd494;
  --gold-light: #a3e3b4;
  --gold-dark: #5cb876;
  --navy-rgb: 31, 36, 41;
  --navy3-rgb: 53, 61, 70;
  --gold-rgb: 127, 212, 148;
  --goldlight-rgb: 163, 227, 180;
}

/* ---------- Theme: Charcoal + Emerald (premium & stable) ---------- */
html[data-theme="emerald"] {
  --navy: #141b18;
  --navy-2: #1c2621;
  --navy-3: #24322c;
  --navy-deep: #0b100e;
  --navy-bright: #2e4037;
  --gold: #00c853;
  --gold-light: #4dd97f;
  --gold-dark: #00a844;
  --navy-rgb: 20, 27, 24;
  --navy3-rgb: 36, 50, 44;
  --gold-rgb: 0, 200, 83;
  --goldlight-rgb: 77, 217, 127;
}

/* ---------- Theme: Ink + Teal (fresh international) ---------- */
html[data-theme="teal"] {
  --navy: #101c1f;
  --navy-2: #17282c;
  --navy-3: #1f3439;
  --navy-deep: #0a1214;
  --navy-bright: #29444b;
  --gold: #1de9b6;
  --gold-light: #5ff0cd;
  --gold-dark: #12c29a;
  --navy-rgb: 16, 28, 31;
  --navy3-rgb: 31, 52, 57;
  --gold-rgb: 29, 233, 182;
  --goldlight-rgb: 95, 240, 205;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Headings & brand elements use the headline font */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); }
.site-header .brand-name,
.nav-menu a,
.btn,
.sec-tag,
.hero-eyebrow,
.page-hero .eyebrow,
.svc-num,
.stat .num,
.hero-logo .hl-name b,
.region-item .r-name,
.footer h4,
.footer .f-brand b { font-family: var(--font-head); }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 24px rgba(var(--navy-rgb), .06); }

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: #0a0a0a;
  border: 1px solid rgba(var(--navy-rgb), .12);
  object-fit: contain;
  padding: 5px;
  flex-shrink: 0;
  transition: box-shadow .3s, border-color .3s;
}
.brand:hover .brand-mark { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(var(--gold-rgb), .18); }
.brand-name { line-height: 1.25; min-width: 0; }
.brand-name .cn { font-size: 18px; font-weight: 700; color: var(--navy); letter-spacing: 1px; display: block; }
.brand-name .en { font-size: 10.5px; color: var(--gray-light); letter-spacing: 1.2px; text-transform: uppercase; display: block; }

.nav-menu { display: flex; gap: 6px; align-items: center; }
.nav-menu a {
  padding: 8px 18px;
  font-size: 15px;
  color: var(--ink);
  border-radius: 4px;
  transition: color .2s;
  position: relative;
}
.nav-menu a::after {
  content: "";
  position: absolute; left: 18px; right: 18px; bottom: 2px;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.nav-menu a:hover { color: var(--navy-3); }
.nav-menu a:hover::after, .nav-menu a.active::after { transform: scaleX(1); }
.nav-menu a.active { color: var(--navy-3); font-weight: 600; }

.nav-cta {
  margin-left: 16px;
  padding: 10px 26px !important;
  background: var(--navy);
  color: #fff !important;
  border-radius: 4px;
  font-size: 14px;
  letter-spacing: 2px;
  transition: background .25s;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--navy-2); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; flex-shrink: 0; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); transition: .3s; }

/* ---------- Page hero ---------- */
.page-hero {
  padding: 170px 0 90px;
  background:
    radial-gradient(1100px 480px at 82% -10%, rgba(var(--gold-rgb), 0.16), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-bright) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: background .4s;
}
.page-hero::after {
  content: "";
  position: absolute; right: -80px; bottom: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgba(var(--goldlight-rgb), 0.25);
}
.page-hero .eyebrow {
  color: var(--gold-light);
  letter-spacing: 6px;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.page-hero h1 {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.3;
}
.page-hero p {
  margin-top: 20px;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16.5px;
}

section.block { padding: 96px 0; }
section.block.soft { background: var(--bg-soft); }

.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-tag {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold);
  font-size: 13px; letter-spacing: 4px; text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}
.sec-tag::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.sec-head.center .sec-tag::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.sec-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  color: var(--navy);
  letter-spacing: 1px;
  font-weight: 700;
}
.sec-head p { margin-top: 16px; color: var(--gray); font-size: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 40px;
  font-size: 15px; letter-spacing: 2px;
  border-radius: 4px;
  transition: all .25s;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-gold { background: var(--gold); color: #101418; font-weight: 600; }
.btn-gold:hover { background: var(--gold-light); color: #101418; }
.btn-gold:hover { background: var(--gold-dark); }
.btn-line { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-line:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Home hero ---------- */
.home-hero {
  min-height: 100vh;
  display: flex; align-items: center;
  background:
    radial-gradient(900px 520px at 88% 18%, rgba(var(--gold-rgb), 0.20), transparent 62%),
    radial-gradient(700px 500px at -5% 100%, rgba(var(--navy3-rgb), 0.9), transparent 65%),
    linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 45%, var(--navy-bright) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 140px 0 110px;
  transition: background .4s;
}
.home-hero .grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 90px 90px;
  pointer-events: none;
}
.home-hero .hero-inner { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--gold-light); letter-spacing: 5px; font-size: 13px;
  text-transform: uppercase; margin-bottom: 26px;
}
.hero-eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.home-hero h1 {
  font-size: clamp(36px, 5.2vw, 62px);
  font-weight: 700; letter-spacing: 3px; line-height: 1.28;
}
.home-hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub {
  margin-top: 26px; max-width: 640px;
  color: rgba(255,255,255,.75); font-size: 17px;
}
.hero-actions { margin-top: 46px; display: flex; gap: 18px; flex-wrap: wrap; }
.hero-tags { margin-top: 60px; display: flex; gap: 36px; flex-wrap: wrap; }
.hero-tags span {
  display: flex; align-items: center; gap: 9px;
  color: rgba(255,255,255,.72); font-size: 14.5px; letter-spacing: 1px;
}
.hero-tags i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}

/* ---------- Hero brand logo (home) ---------- */
.hero-logo {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 34px;
  padding: 12px 22px 12px 12px;
  border-radius: 14px;
  background: rgba(var(--navy-rgb), 0.55);
  border: 1px solid rgba(var(--gold-rgb), 0.28);
  backdrop-filter: blur(6px);
}
.hero-logo img {
  width: 64px; height: 64px;
  object-fit: contain;
  border-radius: 12px;
  background: #0a0a0a;
  padding: 6px;
  border: 1px solid rgba(var(--gold-rgb), .35);
}
.hero-logo .hl-name { line-height: 1.35; text-align: left; }
.hero-logo .hl-name b { display: block; color: #fff; font-size: 18px; letter-spacing: 1.5px; font-weight: 700; }
.hero-logo .hl-name span { display: block; color: var(--gold-light); font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase; }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 52px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat .num {
  font-size: 44px; font-weight: 700; color: var(--navy);
  letter-spacing: 1px; line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.stat .num small { font-size: 22px; color: var(--gold); font-weight: 600; margin-left: 2px; }
.stat .lab { margin-top: 8px; color: var(--gray); font-size: 14.5px; letter-spacing: 2px; }
.stat .sub { color: var(--gray-light); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }

/* ---------- Card grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 34px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .c-icon {
  width: 54px; height: 54px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(var(--gold-rgb), .14), rgba(var(--navy3-rgb), .10));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  color: var(--navy-3);
}
.card .c-icon svg { width: 26px; height: 26px; stroke: var(--gold); }
.card h3 { font-size: 19px; color: var(--navy); letter-spacing: 1px; margin-bottom: 6px; }
.card .c-en { font-size: 11.5px; color: var(--gray-light); letter-spacing: 1.6px; text-transform: uppercase; display: block; margin-bottom: 16px; }
.card p { color: var(--gray); font-size: 14.8px; }
.card .c-num {
  position: absolute; top: 26px; right: 30px;
  font-size: 44px; font-weight: 700;
  color: rgba(var(--navy-rgb), 0.06);
  line-height: 1;
}

/* ---------- Feature rows ---------- */
.feature-row {
  display: grid; grid-template-columns: 92px 1fr;
  gap: 26px; padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: none; }
.feature-row .f-idx {
  font-size: 30px; font-weight: 700; color: var(--gold);
  font-variant-numeric: tabular-nums; padding-top: 4px;
}
.feature-row h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; letter-spacing: 1px; }
.feature-row h3 span { font-size: 12px; color: var(--gray-light); margin-left: 10px; letter-spacing: 1.5px; font-weight: 400; }
.feature-row p { color: var(--gray); font-size: 15px; max-width: 880px; }

/* ---------- World band ---------- */
.world-band {
  background:
    radial-gradient(800px 400px at 15% 20%, rgba(var(--gold-rgb), .12), transparent 55%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
  transition: background .4s;
}
.world-band h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: 2px; }
/* Deep-background fix: keep headlines light wherever a dark band wraps .sec-head */
.world-band .sec-head h2 { color: #fff; }
.world-band .sec-tag { color: var(--gold-light); }
.world-band .sec-tag::before { background: var(--gold-light); }
.world-band p.lead { color: rgba(255,255,255,.72); margin-top: 14px; max-width: 700px; }

.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 50px; }
.region-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.region-item {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 6px;
  padding: 24px 26px;
  background: rgba(255,255,255,.03);
  transition: all .3s;
}
.region-item:hover { border-color: var(--gold); background: rgba(var(--gold-rgb), .08); }
.region-item .r-name { font-size: 17px; font-weight: 600; letter-spacing: 1px; color: #fff; }
.region-item .r-en { font-size: 11px; color: var(--gold-light); letter-spacing: 1.5px; text-transform: uppercase; display: block; margin: 3px 0 10px; }
.region-item .r-desc { font-size: 13.5px; color: rgba(255,255,255,.62); }

/* ---------- Business cards (home) ---------- */
.biz-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition: all .3s;
  display: flex; flex-direction: column;
}
.biz-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.biz-card .b-top {
  padding: 44px 36px 36px;
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-3) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.biz-card .b-top img.b-top-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .42;
  transition: transform .6s;
}
.biz-card:hover .b-top img.b-top-img { transform: scale(1.05); }
.biz-card .b-top::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(var(--navy-rgb), .95) 0%, rgba(var(--navy3-rgb), .82) 100%);
  z-index: 1; pointer-events: none;
}
.biz-card .b-top::after {
  content: ""; position: absolute; right: -30px; top: -30px;
  width: 130px; height: 130px; border-radius: 50%;
  border: 1px solid rgba(var(--goldlight-rgb), .3);
  z-index: 2; pointer-events: none;
}
.biz-card .b-top > * { position: relative; z-index: 3; }
.biz-card .b-top h3 { font-size: 21px; letter-spacing: 2px; }
.biz-card .b-top .b-en { font-size: 11px; letter-spacing: 2px; color: var(--gold-light); text-transform: uppercase; display: block; margin-top: 8px; }
.biz-card .b-body { padding: 30px 36px 38px; flex: 1; }
.biz-card .b-body p { color: var(--gray); font-size: 14.8px; }
.biz-card .b-body ul { margin-top: 18px; }
.biz-card .b-body li {
  font-size: 14.2px; color: var(--gray);
  padding: 6px 0 6px 22px; position: relative;
}
.biz-card .b-body li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 8px; height: 8px; border: 1.5px solid var(--gold); border-radius: 2px;
  transform: rotate(45deg);
}

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-bright) 100%);
  color: #fff; padding: 84px 0;
  position: relative; overflow: hidden;
  transition: background .4s;
}
.cta-band::before {
  content: ""; position: absolute; left: -60px; top: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  border: 1px solid rgba(var(--goldlight-rgb), .22);
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap; position: relative;
}
.cta-inner h2 { font-size: clamp(24px, 2.8vw, 32px); letter-spacing: 2px; }
.cta-band .sec-head h2 { color: #fff; }
.cta-inner p { color: rgba(255,255,255,.7); margin-top: 12px; }

/* ---------- About page ---------- */
.milestone { position: relative; padding-left: 30px; }
.milestone::before {
  content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px;
  width: 1.5px; background: linear-gradient(var(--gold), var(--line));
}
.ms-item { position: relative; padding: 0 0 34px 24px; }
.ms-item::before {
  content: ""; position: absolute; left: -30px; top: 8px;
  width: 13px; height: 13px; border-radius: 50%;
  background: #fff; border: 3px solid var(--gold);
}
.ms-item .ms-year { font-size: 15px; color: var(--gold); font-weight: 700; letter-spacing: 2px; }
.ms-item h3 { font-size: 18px; color: var(--navy); margin: 6px 0 8px; letter-spacing: 1px; }
.ms-item p { color: var(--gray); font-size: 14.5px; }

.info-table { width: 100%; border-collapse: collapse; background: #fff; }
.info-table th, .info-table td {
  text-align: left; padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 14.8px; vertical-align: top;
}
.info-table th {
  width: 190px; color: var(--navy); font-weight: 600;
  background: var(--bg-soft); white-space: nowrap;
}
.info-table td { color: var(--gray); }

.qual-badge {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 28px;
}
.qual-badge .q-ico {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.qual-badge h4 { font-size: 16px; color: var(--navy); letter-spacing: 1px; }
.qual-badge p { font-size: 13.8px; color: var(--gray); margin-top: 6px; }

/* ---------- Services page ---------- */
.svc-block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.svc-block:last-child { border-bottom: none; }
.svc-block.reverse { direction: rtl; }
.svc-block > * { direction: ltr; }
.svc-num { font-size: 60px; font-weight: 700; color: rgba(var(--gold-rgb), .28); line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.svc-block h3 { font-size: 24px; color: var(--navy); letter-spacing: 1.5px; }
.svc-block .s-en { display: block; font-size: 12px; color: var(--gray-light); letter-spacing: 2px; text-transform: uppercase; margin: 6px 0 18px; }
.svc-block p { color: var(--gray); font-size: 15.2px; }
.svc-block ul.checks { margin-top: 20px; }
.svc-block ul.checks li {
  padding: 7px 0 7px 28px; position: relative; color: var(--ink); font-size: 14.6px;
}
.svc-block ul.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 7px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(var(--gold-rgb), .15); color: var(--gold);
  font-size: 11px; display: flex; align-items: center; justify-content: center;
}
.svc-visual {
  border-radius: 8px; min-height: 340px;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-2) 70%, var(--navy-bright) 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  transition: background .4s;
}
.svc-visual img.svc-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.svc-visual:hover img.svc-img { transform: scale(1.04); }
.svc-visual::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(var(--navy-rgb), .25) 0%, rgba(var(--navy-deep), .78) 100%);
  z-index: 1; pointer-events: none;
}
.svc-visual .v-label {
  position: relative; z-index: 2;
  padding: 26px 28px;
  color: #fff; font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  font-weight: 600;
}

.warehouse-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.wh-item {
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 20px 22px; display: flex; align-items: center; gap: 16px;
  transition: all .25s;
}
.wh-item:hover { border-color: var(--gold); }
.wh-item .w-no {
  font-size: 13px; color: var(--gold); font-weight: 700;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wh-item .w-name { font-size: 15.5px; color: var(--navy); font-weight: 600; }
.wh-item .w-region { font-size: 12.5px; color: var(--gray-light); }

.process-flow { display: flex; flex-wrap: wrap; gap: 10px; }
.pf-step {
  background: #fff; border: 1px solid var(--line);
  border-radius: 4px; padding: 10px 18px;
  font-size: 13.6px; color: var(--ink);
  position: relative;
  transition: all .25s;
}
.pf-step:hover { border-color: var(--gold); color: var(--navy-3); }
.pf-step .s { color: var(--gold); font-weight: 700; margin-right: 8px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: start; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block; font-size: 13.5px; color: var(--navy);
  letter-spacing: 1px; margin-bottom: 8px; font-weight: 600;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--line); border-radius: 4px;
  font-family: var(--font); font-size: 14.5px; color: var(--ink);
  background: #fff; outline: none; transition: border .25s;
  resize: vertical;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }

.contact-card {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: 8px; color: #fff; padding: 44px 40px;
  position: relative; overflow: hidden;
  transition: background .4s;
}
.contact-card::after {
  content: ""; position: absolute; right: -60px; bottom: -90px;
  width: 260px; height: 260px; border-radius: 50%;
  border: 1px solid rgba(var(--goldlight-rgb), .25);
}
.cc-item { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); position: relative; }
.cc-item:last-child { border-bottom: none; }
.cc-item .ico {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(var(--gold-rgb), .16); border: 1px solid rgba(var(--gold-rgb), .3);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cc-item .ico svg { width: 20px; height: 20px; stroke: var(--gold-light); }
.cc-item .t { font-size: 12px; letter-spacing: 2px; color: var(--gold-light); text-transform: uppercase; }
.cc-item .v { font-size: 15.5px; margin-top: 4px; line-height: 1.6; }
.cc-item .v small { display: block; font-size: 12.5px; color: rgba(255,255,255,.55); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.65); padding: 70px 0 0; transition: background .4s; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-grid h4 { color: #fff; font-size: 15.5px; letter-spacing: 2px; margin-bottom: 20px; }
.footer-grid p, .footer-grid a { font-size: 13.8px; line-height: 2.1; color: rgba(255,255,255,.6); }
.footer-grid a:hover { color: var(--gold-light); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand .brand-mark { background: #0a0a0a; border: 1px solid rgba(var(--gold-rgb), .35); }
.footer-brand .brand-mark { width: 56px; height: 56px; }
.footer-brand .cn { color: #fff; font-size: 16.5px; font-weight: 700; letter-spacing: 1px; display: block; }
.footer-brand .en { font-size: 10px; color: rgba(255,255,255,.4); letter-spacing: 1.5px; text-transform: uppercase; display: block; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0; display: flex; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; font-size: 12.8px; color: rgba(255,255,255,.4);
}

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; }

/* ---------- Theme switcher (floating palette) ---------- */
.theme-switch {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 200;
  font-family: var(--font);
}
.theme-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 28px rgba(var(--navy-rgb), .18);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s, box-shadow .25s;
}
.theme-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 34px rgba(var(--navy-rgb), .24); }
.theme-btn svg { width: 22px; height: 22px; stroke: var(--navy); }
.theme-panel {
  position: absolute;
  right: 0; bottom: 66px;
  width: 252px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(var(--navy-rgb), .16);
  padding: 18px;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.theme-panel.open { opacity: 1; visibility: visible; transform: none; }
.theme-panel h5 {
  font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gray-light); margin-bottom: 12px;
}
.theme-opt {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: none;
  cursor: pointer;
  text-align: left;
  transition: background .2s, border-color .2s;
}
.theme-opt:hover { background: var(--bg-soft); }
.theme-opt.active { border-color: var(--gold); background: var(--bg-soft); }
.theme-opt .sw {
  display: flex; flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
}
.theme-opt .sw i { flex: 1; height: 100%; }
.theme-opt .tx { line-height: 1.3; }
.theme-opt .tx b { display: block; font-size: 13px; color: var(--ink); font-weight: 600; }
.theme-opt .tx span { font-size: 10.5px; color: var(--gray-light); letter-spacing: .5px; text-transform: uppercase; }

/* ---------- Typography switcher (Aa) ---------- */
.font-switch {
  position: fixed;
  right: 92px; bottom: 26px;
  z-index: 200;
  font-family: var(--font-body);
}
.font-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 28px rgba(var(--navy-rgb), .18);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 700; color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -1px;
  transition: transform .25s, box-shadow .25s;
}
.font-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 34px rgba(var(--navy-rgb), .24); }
.font-panel {
  position: absolute;
  right: 0; bottom: 66px;
  width: 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(var(--navy-rgb), .16);
  padding: 18px;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.font-panel.open { opacity: 1; visibility: visible; transform: none; }
.font-panel h5 {
  font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gray-light); margin-bottom: 12px;
}
.font-opt {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: none;
  cursor: pointer;
  text-align: left;
  transition: background .2s, border-color .2s;
}
.font-opt:hover { background: var(--bg-soft); }
.font-opt.active { border-color: var(--gold); background: var(--bg-soft); }
.font-opt .f-sample {
  flex-shrink: 0;
  width: 108px;
  font-size: 15px; line-height: 1.2;
  color: var(--navy);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.font-opt .f-meta { min-width: 0; line-height: 1.35; }
.font-opt .f-meta b { display: block; font-size: 12.5px; color: var(--ink); font-weight: 700; }
.font-opt .f-meta span { font-size: 9.5px; color: var(--gray-light); letter-spacing: .3px; text-transform: uppercase; display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav-menu {
    position: fixed; top: 76px; left: 0; right: 0;
    background: #fff; flex-direction: column;
    padding: 20px 6%; gap: 4px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(var(--navy-rgb), .1);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { width: 100%; padding: 12px 6px; }
  .nav-cta { margin: 10px 0 0; text-align: center; justify-content: center; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .region-grid, .region-grid.cols-4, .warehouse-list { grid-template-columns: repeat(2, 1fr); }
  .svc-block { grid-template-columns: 1fr; gap: 34px; }
  .svc-block .svc-visual { min-height: 220px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
}
@media (max-width: 680px) {
  .nav-bar { position: relative; }
  .nav-toggle { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
  .brand-mark { width: 40px; height: 40px; padding: 4px; border-radius: 8px; }
  .brand { gap: 10px; min-width: 0; padding-right: 44px; }
  .brand-name { max-width: calc(100vw - 110px); }
  .brand-name .cn { font-size: 14.5px; letter-spacing: .5px; }
  .brand-name .en { font-size: 9px; letter-spacing: .8px; }
  .brand-name .cn, .brand-name .en { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .grid-2, .grid-3, .grid-4, .region-grid, .region-grid.cols-4, .warehouse-list, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 8px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  section.block { padding: 64px 0; }
  .home-hero { padding: 120px 0 80px; }
  .page-hero { padding: 140px 0 64px; }
  .theme-switch { right: 16px; bottom: 16px; }
  .theme-panel { width: 232px; }
  .font-switch { right: 82px; bottom: 16px; }
  .font-panel { width: 272px; }
}

/* ===== Floating contact buttons (WhatsApp / WeChat) ===== */
.contact-float {
  position: fixed;
  left: 26px; bottom: 26px;
  z-index: 190;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cf-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 28px rgba(var(--navy-rgb), .18);
  cursor: pointer;
  color: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.cf-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(var(--navy-rgb), .26); }
.cf-btn svg { width: 26px; height: 26px; display: block; }
.cf-wa { background: #25D366; border-color: #25D366; }
.cf-wx { background: #07C160; border-color: #07C160; }

/* WeChat popup card */
.wx-pop {
  position: fixed;
  left: 26px; bottom: 96px;
  z-index: 210;
  width: 224px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(var(--navy-rgb), .22);
  padding: 20px 18px 18px;
  text-align: center;
  font-family: var(--font-body);
  display: none;
}
.wx-pop.open { display: block; }
.wx-pop .wx-close {
  position: absolute; top: 8px; right: 12px;
  border: 0; background: none;
  font-size: 20px; line-height: 1;
  cursor: pointer; color: var(--gray);
}
.wx-pop .wx-close:hover { color: var(--ink); }
.wx-pop h5 { margin: 0 0 2px; font-family: var(--font-head); letter-spacing: 1px; font-size: 15px; color: var(--ink); }
.wx-pop .wx-sub { margin: 0 0 10px; font-size: 11.5px; color: var(--gray); }
.wx-pop img { width: 150px; height: 150px; border-radius: 8px; margin: 0 auto 12px; display: block; }
.wx-pop p { margin: 0; font-size: 12px; line-height: 1.6; color: var(--gray); }
.wx-pop p b { color: var(--ink); font-weight: 600; }

@media (max-width: 680px) {
  .contact-float { left: 16px; bottom: 16px; gap: 12px; }
  .cf-btn { width: 48px; height: 48px; }
  .cf-btn svg { width: 24px; height: 24px; }
  .wx-pop { left: 16px; bottom: 82px; width: 206px; }
}
