/* ============================================================
   SMOSAFE MARINE TECHNOLOGY
   Marine safety equipment manufacturer — website stylesheet
   Navy + safety-orange. Shared across all pages.
   ============================================================ */

:root {
  --navy-900: #06182c;
  --navy-800: #0a2540;
  --navy-700: #0e3458;
  --navy-600: #134a7c;
  --accent:   #ff6a13;   /* safety orange — lifejackets / immersion suits */
  --accent-d: #e2540a;
  --marine:   #00a8c8;   /* secondary marine cyan */
  --ink:      #1c2b3a;
  --muted:    #5b6b7b;
  --line:     #e3e9f0;
  --bg:       #ffffff;
  --bg-alt:   #f4f7fb;
  --white:    #ffffff;
  --green:    #1a9c5b;
  --radius:   14px;
  --shadow:   0 10px 30px rgba(8, 35, 64, 0.08);
  --shadow-lg:0 24px 60px rgba(8, 35, 64, 0.16);
  --maxw:     1180px;
  --font: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(8, 35, 64, 0.08); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-700), var(--marine));
  border-radius: 11px;
  line-height: 1;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-cn { font-weight: 800; font-size: 17px; color: var(--navy-800); letter-spacing: 1.5px; }
.brand-en { font-size: 10.5px; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; }

.main-nav { display: flex; gap: 22px; align-items: center; }
.main-nav > a, .nav-drop-toggle {
  font-size: 14.5px; font-weight: 500; color: var(--ink);
  position: relative; padding: 6px 0; transition: color .2s ease;
  white-space: nowrap; flex: none;
}
.main-nav > a::after, .nav-drop-toggle::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--accent); transition: width .25s ease;
}
.main-nav > a:hover { color: var(--navy-600); }
.main-nav > a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  border: 1px solid var(--line); background: var(--white); color: var(--navy-700);
  font-weight: 700; font-size: 13px; padding: 7px 12px; border-radius: 8px;
  cursor: pointer; transition: all .2s ease;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent-d); }

/* Management platform entry button */
.platform-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600;
  color: var(--navy-700);
  border: 1px solid var(--line);
  background: var(--white);
  padding: 7px 14px; border-radius: 8px;
  transition: all .2s ease;
}
.platform-link svg { width: 15px; height: 15px; }
.platform-link:hover { border-color: var(--navy-600); color: var(--white); background: var(--navy-700); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: transform .3s ease, opacity .2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; padding: 13px 26px; border-radius: 10px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .25s ease, background .2s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-d)); color: var(--white); box-shadow: 0 10px 24px rgba(255, 106, 19, 0.30); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(255, 106, 19, 0.40); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }
.btn-navy { background: var(--navy-700); color: var(--white); }
.btn-navy:hover { transform: translateY(-2px); background: var(--navy-600); }
.btn.full { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(90deg, rgba(6,24,44,.96) 0%, rgba(6,24,44,.88) 48%, rgba(6,24,44,.58) 100%),
    url("images/sms-is-solas.jpg") right 8% center / min(42vw, 560px) auto no-repeat,
    radial-gradient(120% 120% at 80% 0%, var(--navy-600) 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  color: var(--white); padding: 168px 0 150px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 70% 20%, #000, transparent 70%);
}
.hero-waves { position: absolute; bottom: -2px; left: 0; width: 100%; height: 220px; }
.hero-waves path { fill: rgba(0, 168, 200, 0.10); }
.hero-waves .wave2 { fill: rgba(255, 255, 255, 0.04); }

.hero-inner { position: relative; max-width: 840px; }
.hero-eyebrow {
  display: inline-block; font-size: 14px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin: 0 0 18px;
  padding: 6px 14px; border: 1px solid rgba(255, 106, 19, 0.45); border-radius: 999px;
}
.hero-title { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.12; font-weight: 800; margin: 0 0 22px; letter-spacing: .5px; max-width: 100%; overflow-wrap: anywhere; }
.hero-sub { font-size: clamp(15px, 2vw, 19px); color: rgba(255, 255, 255, 0.82); margin: 0 0 34px; max-width: 680px; overflow-wrap: anywhere; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }
.hero-quick { display: flex; flex-wrap: wrap; gap: 12px; }
.quick-chip {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.9);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 9px 16px; border-radius: 999px; transition: all .2s ease;
}
.quick-chip:hover { background: rgba(255,106,19,.18); border-color: var(--accent); transform: translateY(-2px); }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: var(--white); }
.section-head { max-width: 720px; margin: 0 0 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; color: var(--accent-d); margin: 0 0 12px; }
.eyebrow.light { color: var(--accent); }
.section-title { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; color: var(--navy-800); margin: 0 0 16px; line-height: 1.2; }
.section-title.light { color: var(--white); }
.section-lead { font-size: 17px; color: var(--muted); margin: 0; }
.section-lead.light { color: rgba(255,255,255,.78); }
.text-link { font-weight: 700; color: var(--accent-d); display: inline-block; margin-top: 8px; transition: gap .2s ease, color .2s ease; }
.text-link:hover { color: var(--navy-600); }
.placeholder-note { font-size: 13px; color: var(--muted); margin-top: 22px; }
.placeholder-note.light { color: rgba(255,255,255,.6); }
.placeholder-note.center { text-align: center; }

/* ---------- About / stats ---------- */
.home-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-text p { color: var(--muted); margin: 0 0 18px; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.about-stats.cols-2 { grid-template-columns: 1fr 1fr; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; box-shadow: var(--shadow); }
.stat-num { display: block; font-size: 40px; font-weight: 800; color: var(--navy-700); line-height: 1; }
.stat-plus { color: var(--accent); }
.stat-label { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }

.intro-media {
  border-radius: 18px; min-height: 340px; position: relative; overflow: hidden;
  background: var(--white); box-shadow: var(--shadow-lg); display: grid;
  grid-template-columns: 1fr 1fr; gap: 2px; border: 1px solid var(--line);
}
.intro-media img { width: 100%; height: 100%; min-height: 170px; object-fit: cover; background: var(--bg-alt); }

/* ---------- Category / product cards (home overview) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.cat-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 34px 30px; box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: block; color: inherit;
}
.cat-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--navy-600));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-card:hover::before { transform: scaleX(1); }
.cat-icon {
  width: 60px; height: 60px; display: grid; place-items: center; border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,106,19,.14), rgba(18,71,122,.12));
  color: var(--accent-d); margin-bottom: 20px;
}
.cat-icon svg { width: 30px; height: 30px; }
.cat-card h3 { font-size: 22px; font-weight: 700; color: var(--navy-800); margin: 0 0 4px; }
.cat-card .cat-en { font-size: 13px; color: var(--accent-d); font-weight: 600; margin: 0 0 14px; letter-spacing: .3px; }
.cat-card .cat-desc { color: var(--muted); margin: 0 0 16px; font-size: 15px; }
.cat-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.cat-tag { font-size: 12.5px; color: var(--navy-700); background: var(--bg-alt); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
.cat-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent-d); font-size: 14.5px; }
.cat-card:hover .cat-more { gap: 10px; }

/* ---------- Product catalogue (products page) ---------- */
.cat-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 46px; }
.cat-nav a {
  font-size: 14px; font-weight: 600; color: var(--navy-700);
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; transition: all .2s ease;
}
.cat-nav a:hover { border-color: var(--accent); color: var(--accent-d); transform: translateY(-2px); }

.prod-cat-block { margin-bottom: 64px; scroll-margin-top: 96px; }
.prod-cat-head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.prod-cat-head .cat-icon { width: 50px; height: 50px; margin: 0; }
.prod-cat-head .cat-icon svg { width: 26px; height: 26px; }
.prod-cat-head h2 { font-size: 26px; font-weight: 800; color: var(--navy-800); margin: 0; }
.prod-cat-head .cat-en { font-size: 12.5px; color: var(--accent-d); font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.prod-cat-lead { color: var(--muted); margin: 0 0 26px; font-size: 15.5px; max-width: 820px; }

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prod-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.prod-thumb {
  position: relative; height: 168px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(0,168,200,.12), rgba(18,71,122,.16)), var(--navy-700);
  color: rgba(255,255,255,.9); overflow: hidden;
}
.prod-thumb::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.prod-thumb svg { position: relative; width: 56px; height: 56px; opacity: .92; }
.prod-thumb.has-photo::after { display: none; }
.prod-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  background: var(--bg-alt); transition: transform .35s ease;
}
.prod-card:hover .prod-img { transform: scale(1.04); }
.prod-flag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 11.5px; font-weight: 700; letter-spacing: .5px;
  background: var(--accent); color: #fff; padding: 4px 10px; border-radius: 999px;
}
.prod-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.prod-code { font-size: 11.5px; color: var(--muted); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; margin: 0 0 6px; }
.prod-name { font-size: 17px; font-weight: 700; color: var(--navy-800); margin: 0 0 2px; }
.prod-name-en { font-size: 12.5px; color: var(--accent-d); font-weight: 600; margin: 0 0 12px; }
.prod-summary { font-size: 13.5px; color: var(--muted); margin: 0 0 14px; }
.prod-meta { font-size: 12.5px; color: var(--ink); border-top: 1px dashed var(--line); padding-top: 12px; margin-top: auto; }
.prod-meta .pm-row { display: flex; gap: 8px; margin-bottom: 6px; }
.prod-meta .pm-row:last-child { margin-bottom: 0; }
.prod-meta .pm-label { flex: none; color: var(--muted); width: 42px; }
.prod-meta .pm-val { color: var(--ink); }
.cert-pills { display: flex; flex-wrap: wrap; gap: 5px; margin: 12px 0 0; }
.cert-pill {
  font-size: 11px; font-weight: 700; letter-spacing: .3px;
  color: var(--navy-700); background: rgba(19,74,124,.07);
  border: 1px solid rgba(19,74,124,.18); padding: 2px 8px; border-radius: 6px;
}
.cert-pill.med { color: var(--accent-d); background: rgba(255,106,19,.08); border-color: rgba(255,106,19,.28); }

/* ---------- Why / features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .2s ease, box-shadow .25s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; background: var(--bg-alt); color: var(--accent-d); margin-bottom: 16px; }
.feature-icon svg { width: 26px; height: 26px; }
.feature h4 { margin: 0 0 8px; font-size: 18px; color: var(--navy-800); }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Certification wall ---------- */
.class-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.class-badge {
  display: grid; place-items: center; height: 84px;
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius);
  background: rgba(255,255,255,.04); font-size: 22px; font-weight: 800; letter-spacing: 1px;
  color: rgba(255,255,255,.9); transition: all .25s ease; text-align: center; padding: 8px;
}
.class-badge small { display: block; font-size: 10.5px; letter-spacing: .5px; font-weight: 600; color: rgba(255,255,255,.55); margin-top: 4px; }
.class-badge:hover { background: rgba(255,106,19,.14); border-color: var(--accent); color: var(--white); }

/* cert cards (quality page, light) */
.cert-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cert-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .25s ease; }
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cert-card .cc-body { font-size: 26px; font-weight: 800; color: var(--navy-700); letter-spacing: .5px; }
.cert-card h4 { margin: 8px 0 6px; font-size: 16px; color: var(--navy-800); }
.cert-card p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ---------- Values ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .2s ease, box-shadow .25s ease; }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card .v-num { font-size: 14px; font-weight: 800; color: var(--accent); letter-spacing: 1px; }
.value-card h4 { margin: 10px 0 8px; font-size: 19px; color: var(--navy-800); }
.value-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Milestones ---------- */
.milestones { position: relative; margin-top: 10px; }
.milestones::before { content: ""; position: absolute; left: 13px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.milestone { position: relative; padding: 0 0 30px 46px; }
.milestone:last-child { padding-bottom: 0; }
.milestone::before { content: ""; position: absolute; left: 6px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 4px solid var(--accent); }
.milestone .m-year { font-weight: 800; color: var(--navy-700); font-size: 18px; }
.milestone .m-text { color: var(--muted); margin: 4px 0 0; }

/* ---------- Inner-page hero ---------- */
.page-hero { position: relative; background: radial-gradient(120% 140% at 85% 0%, var(--navy-600) 0%, var(--navy-800) 50%, var(--navy-900) 100%); color: var(--white); padding: 150px 0 70px; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(circle at 75% 10%, #000, transparent 70%);
}
.page-hero-inner { position: relative; }
.breadcrumb { font-size: 13.5px; color: rgba(255,255,255,.6); margin: 0 0 14px; }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 8px; opacity: .5; }
.page-hero h1 { font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; margin: 0 0 12px; line-height: 1.15; }
.page-hero .page-hero-en { font-size: 15px; color: var(--accent); font-weight: 600; letter-spacing: .5px; margin: 0 0 14px; text-transform: uppercase; }
.page-hero p.page-hero-lead { font-size: 17px; color: rgba(255,255,255,.82); max-width: 700px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-700), var(--navy-900)); color: var(--white); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 56px 0; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 8px; color: var(--white); }
.cta-band p { margin: 0; color: rgba(255,255,255,.78); font-size: 16px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.ci-ico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--white); border: 1px solid var(--line); color: var(--accent-d); }
.ci-ico svg { width: 22px; height: 22px; }
.ci-label { display: block; font-size: 13px; color: var(--muted); }
.contact-list strong { font-size: 16px; color: var(--navy-800); }

.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 34px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy-800); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--bg-alt); color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 3px rgba(255,106,19,.15);
}
.contact-form .btn.full { grid-column: 1 / -1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding: 64px 24px 48px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .brand-cn, .footer-brand .brand-en { color: var(--white); }
.footer-brand .brand-en { color: rgba(255,255,255,.55); }
.footer-tag { margin: 0 0 14px; font-size: 14px; max-width: 300px; color: rgba(255,255,255,.7); }
.footer-col h5 { color: var(--white); font-size: 15px; margin: 0 0 16px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; margin-bottom: 10px; color: rgba(255,255,255,.7); transition: color .2s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-staff { display: inline-flex; align-items: center; gap: 6px; }
.footer-staff svg { width: 14px; height: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: 13px; }
.footer-bottom .container { text-align: center; color: rgba(255,255,255,.55); }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px;
  display: grid; place-items: center; background: var(--navy-700); color: var(--white);
  border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden;
  transform: translateY(12px); transition: all .3s ease; z-index: 90;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--accent); }
.back-top svg { width: 20px; height: 20px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Nav dropdown ---------- */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-drop-toggle { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-drop-toggle .caret { width: 15px; height: 15px; transition: transform .25s ease; }
.nav-dropdown:hover .caret { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 8px; min-width: 220px; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 50;
}
.nav-dropdown:hover .nav-drop-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
.nav-drop-menu a { padding: 10px 14px; border-radius: 8px; font-size: 14.5px; white-space: nowrap; color: var(--ink); }
.nav-drop-menu a:hover { background: var(--bg-alt); color: var(--navy-700); }
.main-nav > a.active, .nav-drop-toggle.active { color: var(--accent-d); }
.main-nav > a.active::after, .nav-drop-toggle.active::after { width: 100%; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 140px 24px 80px; }
.notfound .code { font-size: clamp(80px, 16vw, 160px); font-weight: 800; line-height: 1; color: var(--navy-800); }
.notfound h1 { font-size: 26px; margin: 10px 0 12px; color: var(--navy-800); }
.notfound p { color: var(--muted); margin: 0 0 26px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .home-intro-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cat-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .value-grid, .cert-card-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .class-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .main-nav {
    position: fixed; top: 72px; right: 0; width: min(82vw, 340px); height: calc(100vh - 72px);
    background: var(--white); flex-direction: column; gap: 0; padding: 16px 24px; align-items: stretch;
    box-shadow: -10px 0 40px rgba(8,35,64,.12); transform: translateX(110%); transition: transform .3s ease; border-left: 1px solid var(--line);
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > a, .nav-drop-toggle { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .main-nav > a::after, .nav-drop-toggle::after { display: none; }
  .header-inner { position: relative; }
  .header-actions { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); }
  .nav-toggle {
    display: grid; place-items: center; position: fixed; right: 22px; top: 16px; z-index: 130;
    width: 42px; height: 42px; background: var(--white); border: 1px solid var(--line);
    border-radius: 10px; box-shadow: 0 6px 18px rgba(8,35,64,.10);
  }
  .nav-toggle span { display: none; }
  .nav-toggle::before {
    content: ""; width: 20px; height: 2px; background: var(--navy-800);
    box-shadow: 0 -6px 0 var(--navy-800), 0 6px 0 var(--navy-800); border-radius: 2px;
  }
  .lang-toggle { display: none; }
  .platform-link { display: none; }
  .hero {
    padding: 130px 0 110px;
    background:
      linear-gradient(90deg, rgba(6,24,44,.98) 0%, rgba(6,24,44,.90) 70%, rgba(6,24,44,.78) 100%),
      url("images/sms-is-solas.jpg") right -130px center / 300px auto no-repeat,
      radial-gradient(120% 120% at 80% 0%, var(--navy-600) 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  }
  .hero-title, .page-hero h1 { word-break: break-word; overflow-wrap: anywhere; }
  .hero-title { font-size: 30px; line-height: 1.2; }
  .hero-quick { display: grid; grid-template-columns: 1fr; gap: 10px; max-width: 240px; }
  .quick-chip { display: block; text-align: center; padding: 8px 10px; white-space: normal; }
  .prod-grid { grid-template-columns: 1fr; }
  .feature-grid, .value-grid, .cert-card-grid { grid-template-columns: 1fr; }
  .class-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .nav-dropdown { flex-direction: column; align-items: stretch; }
  .nav-drop-menu {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0;
    border-radius: 0; padding: 0; max-height: 0; overflow: hidden; min-width: 0; transition: max-height .3s ease;
  }
  .nav-dropdown.open .nav-drop-menu { max-height: 360px; }
  .nav-drop-menu a { padding-left: 16px; font-size: 15px; color: var(--muted); border-bottom: 1px solid var(--line); }
  .nav-drop-toggle { justify-content: space-between; }
  .page-hero { padding: 120px 0 50px; }
  .prod-cat-head h2 { font-size: 22px; }
}

/* ============================================================
   EXPANSION: product detail / news / honors
   ============================================================ */

/* ---------- Product card as link ---------- */
a.prod-card { color: inherit; text-decoration: none; }
.prod-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; color: var(--accent-d); font-size: 14px; }
.prod-card:hover .prod-more { gap: 10px; }

/* ---------- Product detail page ---------- */
.pd-breadcrumb { font-size: 13.5px; color: var(--muted); margin: 0 0 22px; }
.pd-breadcrumb a { color: var(--accent-d); }
.pd-breadcrumb span { margin: 0 8px; opacity: .5; }
.pd-top { display: grid; grid-template-columns: 460px 1fr; gap: 44px; align-items: stretch; }
.pd-media {
  position: relative; border-radius: 18px; min-height: 340px; display: grid; place-items: center;
  background: var(--white);
  color: rgba(255,255,255,.92); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.pd-media::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.pd-media svg { position: relative; width: 96px; height: 96px; }
.pd-media.has-photo::after { display: none; }
.pd-img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; background: var(--bg-alt); }
.pd-flag { position: absolute; top: 16px; left: 16px; z-index: 2; font-size: 12px; font-weight: 700; background: var(--accent); color: #fff; padding: 5px 12px; border-radius: 999px; }
.pd-info { display: flex; flex-direction: column; }
.pd-code { font-size: 12.5px; color: var(--muted); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; margin: 0 0 8px; }
.pd-cat { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent-d); background: rgba(255,106,19,.08); border: 1px solid rgba(255,106,19,.28); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; align-self: flex-start; }
.pd-name { font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: var(--navy-800); margin: 0 0 4px; line-height: 1.2; }
.pd-name-en { font-size: 15px; color: var(--accent-d); font-weight: 600; margin: 0 0 18px; }
.pd-summary { font-size: 16px; color: var(--muted); margin: 0 0 20px; }
.pd-certs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 30px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.spec-table th, .spec-table td { text-align: left; padding: 14px 20px; font-size: 14.5px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 160px; color: var(--navy-800); font-weight: 700; background: var(--bg-alt); }
.spec-table td { color: var(--ink); }
.pd-section-title { font-size: 20px; font-weight: 800; color: var(--navy-800); margin: 44px 0 6px; }

.pd-related { margin-top: 16px; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.news-card {
  display: flex; gap: 18px; background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; padding: 22px 24px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .25s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-date { flex: none; width: 64px; text-align: center; border-right: 1px solid var(--line); padding-right: 16px; }
.news-date .nd-day { display: block; font-size: 28px; font-weight: 800; color: var(--navy-700); line-height: 1; }
.news-date .nd-ym { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.news-body { min-width: 0; }
.news-tag { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--accent-d); background: rgba(255,106,19,.08); padding: 2px 9px; border-radius: 6px; margin-bottom: 8px; }
.news-title { font-size: 16.5px; font-weight: 700; color: var(--navy-800); margin: 0 0 6px; }
.news-sum { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Honors gallery ---------- */
.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.honor-card { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .25s ease; }
.honor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.honor-img {
  height: 150px; display: grid; place-items: center; font-size: 44px; color: rgba(255,255,255,.85);
  background: linear-gradient(135deg, rgba(0,168,200,.16), rgba(18,71,122,.24)), var(--navy-700);
}
.honor-card figcaption { padding: 14px 16px; font-size: 13.5px; color: var(--navy-800); font-weight: 600; text-align: center; }

@media (max-width: 960px) {
  .pd-top { grid-template-columns: 1fr; gap: 28px; }
  .news-grid { grid-template-columns: 1fr; }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .honor-grid { grid-template-columns: 1fr 1fr; }
  .news-card { flex-direction: column; gap: 12px; }
  .news-date { width: auto; text-align: left; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 10px; display: flex; gap: 8px; align-items: baseline; }
  .spec-table th { width: 110px; }
}
