/* ============================================================
   STEELCORE — Steel Structure B2B Showcase
   ============================================================ */
:root {
  --navy: #0b1f33;
  --navy-2: #10293f;
  --navy-3: #16334e;
  --ink: #1c2b3a;
  --muted: #5b6b7b;
  --line: #e3e9f0;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --accent: #e8541e;
  --accent-dark: #c94413;
  --accent-soft: #fdeee7;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(11, 31, 51, .10);
  --shadow-sm: 0 4px 14px rgba(11, 31, 51, .08);
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue",
          Arial, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: #b8c7d6;
  font-size: 13px;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 38px; gap: 16px;
}
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-left span, .topbar-left a { display: inline-flex; align-items: center; gap: 6px; }
.topbar-left a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; stroke: var(--accent); }
.lang-btn {
  background: transparent; color: #dfe9f3; border: 1px solid #37506a;
  border-radius: 999px; padding: 2px 14px; font-size: 12.5px; cursor: pointer;
  font-family: inherit; letter-spacing: .5px; transition: .2s;
}
.lang-btn:hover { border-color: var(--accent); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent) 0%, #f2783f 100%);
  display: grid; place-items: center; color: #fff;
  font-weight: 800; font-size: 20px; letter-spacing: -1px;
  box-shadow: 0 4px 12px rgba(232, 84, 30, .35);
}
.logo-text { font-weight: 800; font-size: 21px; letter-spacing: .5px; color: var(--navy); }
.logo-text small { display: block; font-size: 10px; font-weight: 600; letter-spacing: 2.4px; color: var(--muted); text-transform: uppercase; line-height: 1; margin-top: 2px; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  display: block; padding: 10px 16px; font-weight: 600; font-size: 15px;
  color: var(--navy-2); border-radius: 8px; transition: .2s;
}
.main-nav a:hover { color: var(--accent); }
.main-nav a.active { color: var(--accent); position: relative; }
.main-nav a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 8px; font-weight: 700; font-size: 15px;
  cursor: pointer; border: none; transition: .2s; font-family: inherit;
  letter-spacing: .3px;
}
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(232, 84, 30, .32); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-outline { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 620px; display: flex; align-items: center;
  background: var(--navy) url("../img/hero.jpg") center/cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7, 21, 36, .88) 0%, rgba(7, 21, 36, .55) 48%, rgba(7, 21, 36, .25) 100%);
}
.hero-content { position: relative; color: #fff; padding: 90px 0; max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232, 84, 30, .18); border: 1px solid rgba(232, 84, 30, .55);
  color: #ffc9b3; font-size: 13px; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; padding: 7px 16px; border-radius: 999px; margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(38px, 5.2vw, 60px); line-height: 1.12; font-weight: 800;
  letter-spacing: -.5px; margin-bottom: 22px;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p { font-size: 18px; color: #c9d6e2; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--navy-2); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: 34px 20px; text-align: center; position: relative;
}
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 28%; bottom: 28%;
  width: 1px; background: rgba(255,255,255,.14);
}
.stat b { display: block; font-size: 40px; font-weight: 800; color: var(--accent); line-height: 1.1; }
.stat span { font-size: 14px; color: #aebccb; letter-spacing: .4px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-tag {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent); font-weight: 700; font-size: 13.5px;
  letter-spacing: 2.2px; text-transform: uppercase; margin-bottom: 14px;
}
.sec-tag::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.section-head.center .sec-tag::after { content: ""; width: 28px; height: 2px; background: var(--accent); }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; color: var(--navy); line-height: 1.2; letter-spacing: -.3px; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 16.5px; }

/* ---------- Split (about) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split-media::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 2px solid var(--accent); border-radius: var(--radius); z-index: -1;
}
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin: 26px 0 30px; }
.about-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--navy-2); }
.about-points svg { width: 20px; height: 20px; stroke: var(--accent); flex: none; }

/* ---------- Category / feature cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: .25s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-media { aspect-ratio: 16/10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.card-body p { color: var(--muted); font-size: 15px; flex: 1; }
.card-link {
  margin-top: 18px; font-weight: 700; font-size: 14px; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: 1px;
}
.card-link svg { width: 16px; height: 16px; stroke: currentColor; transition: transform .2s; }
.card-link:hover svg { transform: translateX(4px); }

/* Numbered feature cards */
.num-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; transition: .25s; position: relative; overflow: hidden; }
.num-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.num-card .num {
  font-size: 52px; font-weight: 800; color: transparent;
  -webkit-text-stroke: 1.5px rgba(232, 84, 30, .5); line-height: 1; margin-bottom: 18px;
}
.num-card h3 { font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.num-card p { color: var(--muted); font-size: 14.5px; }
.num-card::after {
  content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0;
  background: var(--accent); transition: .3s;
}
.num-card:hover::after { height: 100%; }

/* ---------- Projects ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.proj-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.proj-card img { width: 100%; aspect-ratio: 16/9.5; object-fit: cover; transition: transform .5s; }
.proj-card:hover img { transform: scale(1.05); }
.proj-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px; background: linear-gradient(to top, rgba(7, 21, 36, .88) 0%, rgba(7, 21, 36, .25) 45%, transparent 70%);
  color: #fff;
}
.proj-overlay h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.proj-meta { font-size: 13.5px; color: #ffc9b3; font-weight: 600; letter-spacing: .5px; }

/* ---------- News ---------- */
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s; }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.news-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.news-date { font-size: 12.5px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 10px; }
.news-body h3 { font-size: 18px; line-height: 1.4; color: var(--navy); margin-bottom: 10px; }
.news-body h3 a:hover { color: var(--accent); }
.news-body p { color: var(--muted); font-size: 14.5px; flex: 1; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .55;
  background:
    linear-gradient(115deg, transparent 40%, rgba(232, 84, 30, .25) 40.5%, rgba(232, 84, 30, .25) 41.5%, transparent 42%),
    linear-gradient(115deg, transparent 55%, rgba(232, 84, 30, .18) 55.5%, rgba(232, 84, 30, .18) 56.5%, transparent 57%),
    linear-gradient(115deg, transparent 70%, rgba(232, 84, 30, .12) 70.5%, rgba(232, 84, 30, .12) 71.5%, transparent 72%);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 72px 0; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; max-width: 560px; line-height: 1.25; }
.cta-inner p { color: #b8c7d6; margin-top: 10px; max-width: 520px; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background: var(--navy) url("../img/hero.jpg") center 35%/cover no-repeat;
  position: relative; color: #fff; padding: 84px 0 72px;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(7,21,36,.92), rgba(7,21,36,.68)); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; letter-spacing: -.4px; }
.page-hero p { color: #c3d1de; margin-top: 12px; max-width: 640px; font-size: 17px; }
.breadcrumb { font-size: 13.5px; color: #93a7ba; margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb b { color: #ffc9b3; font-weight: 600; }

/* ---------- Products page ---------- */
.cat-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.cat-block:last-child { border-bottom: none; }
.cat-block:nth-child(even) .cat-media { order: 2; }
.cat-media img { border-radius: var(--radius); box-shadow: var(--shadow-sm); width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.cat-info h2 { font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.cat-info h2 span { color: var(--accent); margin-right: 10px; font-size: 22px; }
.cat-info .cat-desc { color: var(--muted); margin: 12px 0 18px; }
.spec-list li {
  display: flex; gap: 10px; align-items: flex-start; padding: 9px 0;
  border-bottom: 1px dashed var(--line); font-size: 15px; color: var(--navy-2);
}
.spec-list li:last-child { border-bottom: none; }
.spec-list svg { width: 18px; height: 18px; stroke: var(--accent); flex: none; margin-top: 3px; }

/* ---------- About page ---------- */
.cert-row { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.cert-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 22px; font-weight: 700; color: var(--navy); box-shadow: var(--shadow-sm);
}
.cert-chip svg { width: 22px; height: 22px; stroke: var(--accent); }
.flow-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.flow-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; text-align: center; position: relative; }
.flow-step b {
  display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 14px;
  background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 18px;
  border-radius: 50%; border: 1.5px solid rgba(232, 84, 30, .35);
}
.flow-step h4 { font-size: 15.5px; color: var(--navy); margin-bottom: 6px; }
.flow-step p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ---------- Contact page ---------- */
.contact-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.info-card { background: var(--navy); color: #fff; border-radius: var(--radius); overflow: hidden; }
.info-item { display: flex; gap: 16px; padding: 26px 30px; border-bottom: 1px solid rgba(255,255,255,.09); }
.info-item:last-child { border-bottom: none; }
.info-item svg { width: 22px; height: 22px; stroke: var(--accent); flex: none; margin-top: 3px; }
.info-item h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 1.4px; color: #8fa3b6; margin-bottom: 5px; }
.info-item p { font-size: 15.5px; line-height: 1.55; }
.info-item a:hover { color: var(--accent); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow-sm); }
.form-grid { 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-weight: 700; font-size: 13.5px; color: var(--navy); letter-spacing: .3px; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 8px; padding: 12px 14px;
  background: #fbfcfe; transition: .2s; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 3px rgba(232, 84, 30, .12);
}
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.form-msg { display: none; margin-top: 16px; padding: 13px 16px; border-radius: 8px; font-size: 14.5px; font-weight: 600; }
.form-msg.ok { display: block; background: #e8f7ee; color: #147a3d; border: 1px solid #b5e4c8; }
.form-msg.err { display: block; background: #fdecea; color: #b3261e; border: 1px solid #f5c6c2; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #aebccb; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding: 70px 0 50px; }
.site-footer h4 { color: #fff; font-size: 15px; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--accent); }
.footer-blurb { font-size: 14.5px; line-height: 1.75; margin-top: 18px; max-width: 300px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 14.5px; transition: .2s; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 14.5px; line-height: 1.6; }
.footer-contact svg { width: 17px; height: 17px; stroke: var(--accent); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45); transition: .2s;
}
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Admin ---------- */
.admin-wrap { max-width: 1100px; margin: 40px auto 80px; padding: 0 4%; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 32px; box-shadow: var(--shadow-sm); }
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.admin-stat { background: var(--bg-soft); border-radius: 10px; padding: 20px; text-align: center; }
.admin-stat b { display: block; font-size: 32px; color: var(--accent); font-weight: 800; }
.admin-stat span { color: var(--muted); font-size: 13.5px; }
.inq-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.inq-table th { text-align: left; background: var(--navy); color: #fff; padding: 11px 12px; font-size: 12.5px; letter-spacing: .6px; text-transform: uppercase; white-space: nowrap; }
.inq-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.inq-table tr:hover td { background: #f8fafc; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge.new { background: #fdeee7; color: #c94413; }
.badge.read { background: #e8f0fb; color: #1d5bbf; }
.badge.replied { background: #e8f7ee; color: #147a3d; }
.admin-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.admin-actions button {
  font-family: inherit; font-size: 12.5px; padding: 5px 12px; border-radius: 6px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--navy-2);
}
.admin-actions button:hover { border-color: var(--accent); color: var(--accent); }
.admin-actions button.danger:hover { border-color: #b3261e; color: #b3261e; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .flow-grid { grid-template-columns: repeat(3, 1fr); }
  .split { gap: 44px; }
}
@media (max-width: 900px) {
  .main-nav {
    position: fixed; inset: 74px 0 auto 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 12px 5%;
    transform: translateY(-130%); transition: .3s; z-index: 99; box-shadow: var(--shadow);
  }
  .main-nav.open { transform: none; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 13px 10px; border-bottom: 1px solid var(--bg-soft); }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }
  .split, .cat-block, .contact-wrap { grid-template-columns: 1fr; }
  .cat-block:nth-child(even) .cat-media { order: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat + .stat::before { display: none; }
  .stat { border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .proj-grid { grid-template-columns: 1fr; }
  .topbar-left span:last-child { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; }
  .hero { min-height: 540px; }
  .hero-content { padding: 64px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat b { font-size: 30px; }
  .about-points { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .admin-stats { grid-template-columns: 1fr; }
}

/* ============================================================
   Bilingual dual-block content (static, SEO-friendly)
   ============================================================ */
html[lang="en"] .i18n-zh { display: none !important; }
html[lang="zh-CN"] .i18n-en { display: none !important; }

/* ---------- Detail layout (article + sticky sidebar) ---------- */
.detail-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 52px; align-items: start; padding: 64px 0 96px; }
.detail-main h2 { font-size: 24px; color: var(--navy); margin: 38px 0 14px; font-weight: 800; }
.detail-main h2:first-child { margin-top: 0; }
.detail-main h3 { font-size: 18px; color: var(--navy); margin: 26px 0 10px; font-weight: 700; }
.detail-main p { color: #42566a; margin-bottom: 14px; font-size: 15.5px; line-height: 1.8; }
.detail-main ul.ticks { margin: 8px 0 18px; }
.detail-main ul.ticks li { display: flex; gap: 10px; padding: 6px 0; color: #42566a; font-size: 15.5px; }
.detail-main ul.ticks li::before {
  content: ""; width: 7px; height: 7px; margin-top: 9px; flex: none;
  background: var(--accent); border-radius: 50%;
}

/* spec table */
.spec-table { width: 100%; border-collapse: collapse; margin: 16px 0 26px; font-size: 14.5px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.spec-table th, .spec-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table th { background: var(--bg-soft); color: var(--navy); font-weight: 700; width: 40%; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table td { color: #42566a; }

/* sidebar inquiry card */
.side-card { position: sticky; top: 96px; background: var(--navy); border-radius: var(--radius); padding: 30px 28px; color: #fff; }
.side-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.side-card p { color: #b3c3d2; font-size: 14px; margin-bottom: 20px; }
.side-card .field { margin-bottom: 12px; }
.side-card .field input, .side-card .field textarea {
  background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); color: #fff;
}
.side-card .field input::placeholder, .side-card .field textarea::placeholder { color: #8ea3b7; }
.side-card .field textarea { min-height: 84px; }
.side-card .btn { width: 100%; }
.side-card .form-msg { font-size: 13px; }

/* FAQ */
.faq-list { margin-top: 8px; }
.faq-item { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 17px 22px; font-weight: 700; color: var(--navy); font-size: 15.5px;
  list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--accent); font-weight: 400; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-a { padding: 0 22px 18px; color: var(--muted); font-size: 15px; line-height: 1.8; }

/* components grid */
.comp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.comp-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px 22px; transition: .2s; }
.comp-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.comp-card h4 { font-size: 15.5px; color: var(--navy); margin-bottom: 8px; font-weight: 800; }
.comp-card p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.comp-card .comp-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--accent); text-transform: uppercase; margin-bottom: 8px; }

/* related */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 18px; }
.related-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: .2s; background: #fff; }
.related-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.related-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.related-card span { display: block; padding: 14px 16px; font-weight: 700; font-size: 14.5px; color: var(--navy); }

/* ---------- Quote modal ---------- */
.quote-modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(7, 21, 36, .68); backdrop-filter: blur(3px);
  padding: 24px; overflow-y: auto;
}
.quote-modal.open { display: flex; align-items: flex-start; justify-content: center; }
.quote-panel {
  background: #fff; border-radius: 14px; width: min(560px, 100%); margin: 6vh auto;
  padding: 34px; position: relative; box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.quote-panel h3 { font-size: 22px; color: var(--navy); margin-bottom: 6px; font-weight: 800; }
.quote-panel .sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.quote-close {
  position: absolute; top: 14px; right: 16px; border: none; background: none;
  font-size: 26px; line-height: 1; color: #94a3b3; cursor: pointer;
}
.quote-close:hover { color: var(--accent); }

/* ---------- Floating quote + mobile action bar ---------- */
.float-quote {
  position: fixed; right: 26px; bottom: 94px; z-index: 90;
  background: var(--accent); color: #fff; border: none; cursor: pointer;
  border-radius: 999px; padding: 13px 22px; font-weight: 700; font-size: 14px;
  font-family: inherit; box-shadow: 0 8px 22px rgba(232, 84, 30, .4);
  display: inline-flex; align-items: center; gap: 8px; transition: .2s;
}
.float-quote:hover { background: var(--accent-dark); transform: translateY(-2px); }
.mobile-bar { display: none; }

@media (max-width: 1024px) {
  .detail-wrap { grid-template-columns: 1fr; gap: 34px; }
  .side-card { position: static; }
  .comp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .comp-grid, .related-grid { grid-template-columns: 1fr; }
  .float-quote { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: rgba(11, 31, 51, .15);
  }
  .mobile-bar a, .mobile-bar button {
    background: var(--navy); color: #fff; border: none; font-family: inherit;
    padding: 13px 4px; font-size: 13px; font-weight: 700; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 3px;
  }
  .mobile-bar .primary { background: var(--accent); }
  .mobile-bar svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }
  body { padding-bottom: 62px; }
  .float-wa { bottom: 78px; right: 18px; width: 48px; height: 48px; }
}

/* ============================================================
   Social icons + direct channels (WhatsApp / Gmail / phone)
   ============================================================ */
.footer-social { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.footer-social:empty { display: none; }
.footer-social .soc {
  width: 36px; height: 36px; border-radius: 9px; display: inline-flex;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); color: #cfdae4;
  border: 1px solid rgba(255,255,255,.12); transition: .2s;
}
.footer-social .soc:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }
.footer-social .soc svg { width: 17px; height: 17px; }

.channels-sec { padding-top: 8px; }
.channel-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px;
}
.channel-row.soc-row { grid-template-columns: repeat(5, 1fr); margin-top: 18px; }
.channel-row.soc-row:empty { display: none; }
.channel {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 20px 22px; text-decoration: none; transition: .2s;
}
.channel:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.channel .ch-ico {
  width: 40px; height: 40px; border-radius: 10px; margin-bottom: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(232,84,30,.1); color: var(--accent);
}
.channel .ch-ico svg { width: 20px; height: 20px; }
.channel b { font-size: 16px; color: var(--navy); font-weight: 800; }
.channel .ch-sub { font-size: 13px; color: var(--muted); line-height: 1.5; }
.channel-soc { align-items: center; text-align: center; }
.channel-soc .ch-ico { background: var(--bg-soft); color: var(--navy); }

@media (max-width: 860px) {
  .channel-row, .channel-row.soc-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .channel-row, .channel-row.soc-row { grid-template-columns: 1fr; }
}
