/* ============================================================
   HANNSHOW · Hanshang (Jiangsu) Clothing Technology
   Bilingual corporate site stylesheet
   ============================================================ */
:root {
  --ink: #0c1a2c;
  --ink-2: #12253a;
  --navy: #0f2d52;
  --accent: #0f5bd8;
  --accent-d: #0b48ab;
  --gold: #c8a15a;
  --gold-d: #b08a3e;
  --bg: #ffffff;
  --soft: #f4f6fa;
  --line: #e5eaf1;
  --muted: #5b6b7f;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(12, 26, 44, 0.08);
  --shadow-lg: 0 18px 50px rgba(12, 26, 44, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------------- header ---------------- */
.site-head {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.head-in { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 18px; }
.logo { display: flex; align-items: center; gap: 11px; color: var(--navy); flex-shrink: 0; }
.logo svg { color: var(--gold-d); }
.logo img { display: block; height: 42px; width: auto; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo-txt b { font-size: 19px; letter-spacing: 3px; color: var(--navy); font-weight: 800; }
.logo-txt i { font-style: normal; font-size: 11px; letter-spacing: 4px; color: var(--muted); }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 9px 14px; font-size: 15px; border-radius: 9px;
  color: var(--ink); transition: all 0.2s; white-space: nowrap;
}
.main-nav a:hover { color: var(--accent); background: #eef3fb; }
.main-nav a.active { color: var(--accent); font-weight: 600; background: #e8f0fc; }
.head-tools { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px;
  font-size: 13px; color: var(--navy); background: #fff; transition: all 0.2s; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
}
.lang-switch svg { opacity: 0.75; }
.lang-switch:hover { border-color: var(--gold); color: var(--gold-d); }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: 0.25s; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.5px;
  transition: all 0.25s; border: 1px solid transparent; cursor: pointer;
}
.btn-gold { background: linear-gradient(135deg, #d9b978, var(--gold) 55%, var(--gold-d)); color: #fff; box-shadow: 0 8px 22px rgba(200, 161, 90, 0.4); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(200, 161, 90, 0.5); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--accent); transform: translateY(-2px); }
.btn-sm { padding: 9px 20px; font-size: 13px; }

/* ---------------- hero ---------------- */
.hero { position: relative; min-height: 600px; display: flex; align-items: center; overflow: hidden; background: var(--ink); }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0.55; transform: scale(1.04);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(9, 20, 36, 0.92) 22%, rgba(9, 20, 36, 0.55) 60%, rgba(9, 20, 36, 0.35));
}
.hero-in { position: relative; z-index: 2; padding: 90px 24px; }
.hero-badge {
  display: inline-block; padding: 7px 18px; border: 1px solid rgba(200, 161, 90, 0.6);
  color: var(--gold); border-radius: 999px; font-size: 13px; letter-spacing: 2px; margin-bottom: 26px;
  background: rgba(200, 161, 90, 0.08);
}
.hero h1 {
  color: #fff; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.25;
  max-width: 820px; letter-spacing: 1px; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}
.hero p { color: rgba(255, 255, 255, 0.82); max-width: 700px; margin: 22px 0 34px; font-size: 16.5px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------- stats band ---------------- */
.stats-band { background: var(--soft); border-bottom: 1px solid var(--line); }
.stats-in { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding: 34px 24px; }
.stat { text-align: center; padding: 10px 6px; }
.stat b { display: block; font-size: 34px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.stat b i { font-style: normal; font-size: 15px; font-weight: 600; margin-left: 3px; }
.stat span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); letter-spacing: 1px; }

/* ---------------- sections ---------------- */
.sec { padding: 88px 0; }
.sec-soft { background: var(--soft); }
.sec-head { max-width: 840px; margin: 0 auto 46px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 12.5px; letter-spacing: 4px; color: var(--gold-d);
  font-weight: 700; text-transform: uppercase; margin-bottom: 12px;
}
.sec-head h2 { font-size: clamp(24px, 3vw, 36px); color: var(--ink); line-height: 1.3; }
.sec-head .lead { margin-top: 14px; color: var(--muted); font-size: 16px; }

/* ---------------- page hero (subpages) ---------------- */
.page-hero {
  background:
    radial-gradient(1100px 400px at 85% -60%, rgba(15, 91, 216, 0.35), transparent),
    linear-gradient(115deg, #0a1626, var(--navy) 70%, #123a66);
  padding: 84px 0 74px; color: #fff;
}
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: 1px; }
.page-hero p { margin-top: 12px; color: rgba(255, 255, 255, 0.75); font-size: 16px; }

/* ---------------- grids & cards ---------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: all 0.3s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { font-size: 18.5px; margin-bottom: 10px; color: var(--navy); }
.card p { color: var(--muted); font-size: 14.8px; }
.card-ic { font-size: 34px; margin-bottom: 16px; }
.card-img { width: 100%; height: 210px; object-fit: cover; border-radius: 10px; margin-bottom: 16px; }
.stat-cards .card { text-align: left; }
.stat-cards b { font-size: 40px; color: var(--navy); font-weight: 800; }
.stat-cards b i { font-style: normal; font-size: 16px; color: var(--gold-d); margin-left: 4px; }
.stat-cards h3 { margin: 8px 0 10px; }

/* split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: 420px; object-fit: cover; }
.img-tag {
  position: absolute; left: 16px; bottom: 16px; background: rgba(12, 26, 44, 0.78);
  color: #fff; font-size: 12.5px; padding: 7px 14px; border-radius: 8px; letter-spacing: 1px;
}
.split-body p { margin-bottom: 14px; color: #3d4c60; }
.tick { margin: 14px 0 18px; padding-left: 0; }
.tick li { position: relative; padding-left: 26px; margin-bottom: 9px; color: #3d4c60; }
.tick li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold-d); font-weight: 800;
}
.link-more { margin-top: 22px; }
.link-more a { color: var(--accent); font-weight: 600; font-size: 15px; }
.link-more a:hover { color: var(--accent-d); }
.link-more.center { text-align: center; margin-top: 40px; }

/* ---------------- brand tracks & wall ---------------- */
.brand-tracks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 34px; }
.track {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: all 0.3s; position: relative;
}
.track::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(var(--gold), var(--gold-d)); border-radius: 4px 0 0 4px;
}
.track:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.track h3 { color: var(--navy); font-size: 18px; margin-bottom: 8px; }
.track p { font-weight: 600; color: var(--ink); font-size: 15px; margin-bottom: 8px; }
.track span { color: var(--muted); font-size: 13.5px; }
.wall {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: #fff; border: 1px solid var(--line);
}
.wall img { width: 100%; }

/* ---------------- products ---------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.pill {
  border: 1px solid var(--line); background: #fff; padding: 9px 22px; border-radius: 999px;
  font-size: 14px; cursor: pointer; color: var(--muted); transition: all 0.2s; font-family: inherit;
}
.pill:hover { border-color: var(--accent); color: var(--accent); }
.pill.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.product-grid { align-items: stretch; }
.product {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all 0.3s; display: flex; flex-direction: column;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.p-img { background: #fff; aspect-ratio: 3 / 4; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product:hover .p-img img { transform: scale(1.05); }
.p-info { padding: 18px 18px 20px; border-top: 1px solid var(--line); }
.p-info h3 { font-size: 15.5px; color: var(--ink); line-height: 1.4; }
.p-sku { display: block; font-size: 12px; letter-spacing: 1.5px; color: var(--gold-d); font-weight: 700; margin-top: 5px; }
.p-cat { display: inline-block; font-size: 12px; color: var(--muted); margin-top: 7px; background: var(--soft); padding: 3px 10px; border-radius: 999px; }
.p-feats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.p-feats span { font-size: 11.5px; color: var(--accent-d); background: #eef3fb; padding: 3px 9px; border-radius: 6px; }
.foot-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 36px; }

/* cases */
.case { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: all 0.3s; }
.case:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.case img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.case figcaption { padding: 12px 15px; font-size: 13.5px; color: var(--ink); text-align: center; font-weight: 600; }

/* bases */
.base-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.base {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: 10px; padding: 18px 20px; transition: all 0.25s;
}
.base:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.base b { display: block; color: var(--navy); font-size: 16.5px; }
.base span { color: var(--muted); font-size: 13px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 34px; }
.duo img { border-radius: var(--radius); height: 300px; width: 100%; object-fit: cover; box-shadow: var(--shadow); }

/* ---------------- contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; align-items: start; }
.contact-cards { display: grid; gap: 20px; }
.contact-card { border-left: 4px solid var(--gold); }
.contact-card .big { font-size: 24px; font-weight: 800; color: var(--navy); }
.contact-card a { color: var(--accent); font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }
.contact-form-card { padding: 36px; }
.contact-form-card h3 { margin-bottom: 22px; font-size: 20px; color: var(--navy); }
.contact-form-card label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.contact-form-card input, .contact-form-card textarea {
  width: 100%; margin-top: 7px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; font-size: 14.5px; font-family: inherit; outline: none; transition: border 0.2s;
  background: var(--soft);
}
.contact-form-card input:focus, .contact-form-card textarea:focus { border-color: var(--accent); background: #fff; }

/* ---------------- footer ---------------- */
.site-foot { background: linear-gradient(180deg, #0a1626, #0d1f38); color: #c6d2e2; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1.1fr 1.2fr; gap: 40px; padding: 64px 24px 46px; }
.f-brand .logo { color: #fff; margin-bottom: 16px; }
.f-brand .logo img { height: 50px; }
.f-brand .logo-txt b { color: #fff; }
.f-brand .logo-txt i { color: rgba(255, 255, 255, 0.55); }
.f-brand p { font-size: 13.8px; color: rgba(255, 255, 255, 0.6); }
.f-col h4 { color: #fff; font-size: 15px; letter-spacing: 2px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.f-col a { display: block; padding: 5px 0; font-size: 14px; color: rgba(255, 255, 255, 0.65); transition: 0.2s; }
.f-col a:hover { color: var(--gold); padding-left: 4px; }
.f-col p { font-size: 13.8px; color: rgba(255, 255, 255, 0.62); margin-bottom: 8px; }
.f-col p a { display: inline; padding: 0; color: #fff; }
.f-col p a:hover { color: var(--gold); }
.f-contact { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(200, 161, 90, 0.35); border-radius: var(--radius); padding: 24px 22px; align-self: start; }
.f-contact h4 { border-bottom-color: rgba(200, 161, 90, 0.4); color: var(--gold); }
.f-contact-name { font-size: 20px; font-weight: 800; color: #fff !important; letter-spacing: 1px; }
.foot-bar { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 18px 0; font-size: 13px; color: rgba(255, 255, 255, 0.45); }
.foot-bar .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.foot-bar a { color: var(--gold); }
.foot-bar a:hover { text-decoration: underline; }
.contact-card p { font-size: 14.8px; color: var(--muted); margin-bottom: 6px; }
.contact-card p:last-child { margin-bottom: 0; }

/* floating contact */
.float-contact {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #d9b978, var(--gold-d)); color: #fff;
  padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 700;
  box-shadow: 0 10px 26px rgba(200, 161, 90, 0.45); transition: 0.25s;
}
.float-contact:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(200, 161, 90, 0.55); }

/* ---------------- reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- responsive ---------------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .stats-in { grid-template-columns: repeat(3, 1fr); }
  .base-grid { grid-template-columns: repeat(3, 1fr); }
  .main-nav a { padding: 9px 10px; font-size: 14px; }
}
@media (max-width: 900px) {
  .main-nav {
    position: fixed; top: 74px; right: -280px; width: 280px; bottom: 0;
    background: #fff; box-shadow: -12px 0 30px rgba(0, 0, 0, 0.12); transition: right 0.3s;
    padding: 24px 18px; z-index: 95;
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 13px 14px; font-size: 15.5px; }
  .nav-burger { display: block; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split-media img { height: 320px; }
  .grid-3, .grid-4, .brand-tracks, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-3, .grid-4, .brand-tracks, .base-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .duo { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; padding: 46px 24px 36px; }
  .sec { padding: 60px 0; }
  .hero { min-height: 520px; }
  .logo img { height: 34px; }
  .f-brand .logo img { height: 40px; }
  .logo-txt b { font-size: 16px; }
  .logo-txt i { font-size: 9px; letter-spacing: 2.5px; }
}
