/* ============================================================
   HANGYI Fire & Rescue Equipment — Global Stylesheet
   Modern industrial B2B style: photo-led hero, deep navy + rescue orange,
   zero external dependencies (fast in China & globally)
   ============================================================ */

:root {
  --navy: #0c1e33;
  --navy-2: #122a44;
  --navy-3: #1c3a5c;
  --accent: #ff6a13;
  --accent-2: #ff8c42;
  --accent-dark: #e0580a;
  --accent-soft: #fff1e7;
  --ink: #15202c;
  --bg: #f3f6f9;
  --surface: #ffffff;
  --text: #26323f;
  --muted: #5c6c7d;
  --line: #e6ebf1;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 30px rgba(12, 30, 51, .08);
  --shadow-lg: 0 22px 60px rgba(12, 30, 51, .18);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.68;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; display: block; }
::selection { background: var(--accent); color: #fff; }
a { color: var(--navy-2); text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; border-radius: 4px; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 { color: var(--navy); line-height: 1.22; font-weight: 800; letter-spacing: -.01em; }

.section { padding: 64px 0; }
.section-head { max-width: 740px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  position: relative;
}
.section-title { font-size: clamp(28px, 4.2vw, 42px); margin-bottom: 16px; letter-spacing: -.02em; }
.section-sub { color: var(--muted); font-size: 17.5px; line-height: 1.7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: .01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); color: #fff; box-shadow: none; }
.btn-sm { padding: 11px 22px; font-size: 14.5px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.site-header.scrolled { box-shadow: 0 6px 26px rgba(12,30,51,.1); border-bottom-color: var(--line); background: rgba(255,255,255,.94); }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 74px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 44px; height: 44px; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-text strong { font-size: 20px; letter-spacing: .08em; color: var(--navy); }
.brand-text small { font-size: 11px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 0; list-style: none; }
.site-nav a {
  display: block;
  padding: 10px 11px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border-radius: 9px;
  transition: color .15s, background .15s;
}
.site-nav a:hover { color: var(--accent); background: rgba(255,106,19,.07); }
.site-nav a.active { color: var(--accent); }

.header-cta { flex-shrink: 0; }
.lang-switch { flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span { display: block; width: 25px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 12px 4%;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { padding: 14px 12px; font-size: 16px; }
}

/* ---------- Hero (photo-led, full bleed) ---------- */
.hero {
  position: relative;
  color: #fff;
  padding: 110px 0 96px;
  overflow: hidden;
  background:
    linear-gradient(95deg, rgba(8,18,30,.94) 0%, rgba(8,18,30,.78) 42%, rgba(8,18,30,.35) 100%),
    #0c1e33 url("../images/app-concrete-lift.webp") center/cover no-repeat;
  background-attachment: fixed;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,18,30,.25), transparent 30%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero .eyebrow { color: var(--accent-2); }
.hero h1 { color: #fff; font-size: clamp(34px, 5.4vw, 58px); line-height: 1.08; margin-bottom: 22px; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--accent-2); }
.hero p { color: rgba(255,255,255,.88); font-size: 18.5px; max-width: 600px; margin-bottom: 34px; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-badge {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.24);
  color: rgba(255,255,255,.94);
  backdrop-filter: blur(4px);
}
.hero-art { display: none; }

@media (max-width: 760px) {
  .hero { background-attachment: scroll; padding: 86px 0 70px; }
}

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--navy); color: #fff; padding: 18px 0; }
.trust-strip .container { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; }
.trust-strip .ts-label { font-size: 14px; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.86); }
.trust-strip .ts-items { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-left: auto; }
.trust-strip .ts-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.82); font-weight: 600; }
.trust-strip .ts-item svg { width: 16px; height: 16px; flex-shrink: 0; }
@media (max-width: 760px) { .trust-strip .ts-items { margin-left: 0; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background:
    linear-gradient(120deg, rgba(10,26,44,.92), rgba(28,58,92,.72)),
    #0c1e33 url("../images/app-rescue-worker.webp") center/cover no-repeat;
  color: #fff;
  padding: 86px 0 60px;
}
.page-hero .eyebrow { color: var(--accent-2); }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 14px; letter-spacing: -.02em; }
.page-hero p { color: rgba(255,255,255,.84); max-width: 660px; font-size: 17.5px; line-height: 1.7; }

/* ---------- Stats band ---------- */
.stats-band { background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff; padding: 52px 0; }
.section + .stats-band { margin-top: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stat strong { display: block; font-size: 38px; color: var(--accent-2); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.stat span { font-size: 14.5px; color: rgba(255,255,255,.76); }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; } }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #d8e0ea; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Product cards ---------- */
.product-card .card-media {
  aspect-ratio: 4 / 3;
  background: #0c1e33;
  overflow: hidden;
}
.product-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .card-media img { transform: scale(1.05); }
.product-card .card-body { padding: 26px; }
.product-card h3 { font-size: 21px; margin-bottom: 11px; }
.product-card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; line-height: 1.65; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag {
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

/* ---------- Feature blocks ---------- */
.feature-card { padding: 30px; border-top: 3px solid var(--accent); }
.feature-card .icon {
  width: 54px; height: 54px;
  border-radius: 13px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-card .icon svg { width: 27px; height: 27px; }
.feature-card h3 { font-size: 18.5px; margin-bottom: 9px; }
.feature-card p { color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ---------- Video placeholders ---------- */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 760px) { .video-grid { grid-template-columns: 1fr; } }

.video-slot {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0c1e33;
  box-shadow: var(--shadow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-slot img, .video-slot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-slot .play-btn {
  position: relative; z-index: 2;
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(255,106,19,.95);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 34px rgba(0,0,0,.45);
  transition: transform .15s ease;
}
.video-slot:hover .play-btn { transform: scale(1.08); }
.video-slot .play-btn svg { width: 27px; height: 27px; margin-left: 4px; }
.video-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 44px 22px 18px;
  background: linear-gradient(transparent, rgba(6,16,26,.85));
  color: #fff;
  font-weight: 700;
  font-size: 15.5px;
  z-index: 2;
}
.video-slot .slot-hint {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.28);
  padding: 4px 11px;
  border-radius: 999px;
  z-index: 2;
}

/* ---------- Split media/text ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 34px; } }
.split .section-sub + .btn { margin-top: 26px; }

.checklist { list-style: none; margin: 22px 0 30px; }
.checklist li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 13px;
  color: var(--text);
  font-size: 15.5px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0580a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 13px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Spec table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
table.spec { width: 100%; border-collapse: collapse; background: #fff; font-size: 15px; }
table.spec th, table.spec td { padding: 14px 19px; text-align: left; border-bottom: 1px solid var(--line); }
table.spec th { background: var(--navy); color: #fff; font-weight: 700; white-space: nowrap; }
table.spec tr:last-child td { border-bottom: none; }
table.spec tr:nth-child(even) td { background: #fafbfd; }
table.spec td:first-child { font-weight: 700; color: var(--navy); }

/* ---------- Applications ---------- */
.app-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #0c1e33; aspect-ratio: 4/3; display: flex; align-items: flex-end; transition: transform .2s ease, box-shadow .2s ease; }
.app-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.app-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.app-card:hover > img { transform: scale(1.06); }
.app-card .app-label { position: relative; z-index: 2; padding: 48px 22px 20px; width: 100%; background: linear-gradient(transparent, rgba(6,16,26,.9)); color: #fff; }
.app-card .app-label h3 { color: #fff; font-size: 18.5px; margin-bottom: 4px; }
.app-card .app-label p { color: rgba(255,255,255,.78); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 840px; margin: 0 auto; }
details.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color .15s;
}
details.faq-item[open] { border-color: #d8e0ea; }
details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 24px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 16.5px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  font-size: 24px;
  color: var(--accent);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform .2s;
  line-height: 1;
}
details.faq-item[open] summary::after { transform: rotate(45deg); }
details.faq-item .faq-body { padding: 0 24px 20px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(800px 320px at 12% 0%, rgba(255,106,19,.3), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--navy-3));
  color: #fff;
  border-radius: 20px;
  padding: 54px 52px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(23px, 3vw, 32px); margin-bottom: 9px; letter-spacing: -.01em; }
.cta-band p { color: rgba(255,255,255,.8); font-size: 16px; }
@media (max-width: 700px) { .cta-band { padding: 38px 28px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { padding: 32px; }
.info-row { display: flex; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: none; }
.info-row .icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 11px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; }
.info-row .icon svg { width: 21px; height: 21px; }
.info-row h4 { font-size: 13.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 4px; }
.info-row p { font-size: 15.5px; font-weight: 600; color: var(--ink); }

.form-card { padding: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--text);
  background: #fbfcfd;
  transition: border-color .15s, background .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.field textarea { min-height: 124px; resize: vertical; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #08151f; color: rgba(255,255,255,.74); padding: 66px 0 0; margin-top: 84px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 38px; padding-bottom: 46px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 19px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 11px; }
.site-footer a { color: rgba(255,255,255,.74); font-size: 14.5px; }
.site-footer a:hover { color: var(--accent-2); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand strong { color: #fff; font-size: 20px; letter-spacing: .07em; }
.footer-desc { font-size: 14.5px; line-height: 1.75; }
.footer-contact li { display: flex; gap: 11px; font-size: 14.5px; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,.5);
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
/* Content is visible by default; scroll-reveal is a progressive enhancement only.
   Forcing visibility ensures search crawlers, slow JS, and headless previews
   always render the page content immediately. */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Breadcrumb */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.65); margin-top: 18px; }
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: var(--accent-2); }
.breadcrumb .sep { opacity: .5; }

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  left: -999px; top: 0;
  background: var(--navy); color: #fff;
  padding: 11px 18px;
  border-radius: 0 0 12px 0;
  z-index: 200;
  font-weight: 700; font-size: 14px;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%; border: none;
  background: var(--accent); color: #fff;
  font-size: 20px; line-height: 1; cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background .15s;
  z-index: 120;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent-dark); }

/* ---------- Anchor offset for sticky header ---------- */
:where(h2, h3)[id], [id].anchor-offset { scroll-margin-top: 92px; }
@media (max-width: 760px) { :where(h2, h3)[id] { scroll-margin-top: 82px; } }

/* ---------- Language switch ---------- */
.lang-switch {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 6px 13px;
  transition: border-color .15s, color .15s, background .15s;
}
.lang-switch:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
@media (max-width: 980px) { .lang-switch { order: -1; } }

/* ---------- Social media icons ---------- */
/* Style: the official brand glyphs themselves, rendered in brand colors (no colored circle) */
.social-icons { display: inline-flex; gap: 12px; align-items: center; margin-left: 6px; }
.social-btn {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: none; border-radius: 10px;
  transition: transform .18s ease, opacity .18s ease;
}
.social-btn:hover {
  transform: translateY(-2px) scale(1.12);
  opacity: .82;
}
.social-btn svg { width: 22px; height: 22px; fill: #fff; display: block; }
/* official brand colors — the icons themselves */
.social-wa svg { fill: #25D366; }   /* WhatsApp green */
.social-tt svg { fill: #ffffff; }   /* TikTok on dark footer = white (official dark variant) */
.social-fb svg { fill: #1877F2; }   /* Facebook blue */
.social-li svg { fill: #0A66C2; }   /* LinkedIn blue */
.social-ig svg { fill: #E4405F; }   /* Instagram pink */
.footer-social { display: flex; gap: 14px; margin-top: 14px; }
.footer-social .social-btn { width: 44px; height: 44px; }
.footer-social .social-btn svg { width: 25px; height: 25px; }
@media (max-width: 980px) { .social-icons { order: 0; } }

/* ---------- Article / blog ---------- */
.article-body { max-width: 820px; margin: 0 auto; font-size: 16.5px; line-height: 1.82; color: #2a3340; }
.article-body h2 { font-size: 28px; color: var(--navy); margin: 42px 0 15px; padding-top: 8px; letter-spacing: -.01em; }
.article-body h3 { font-size: 21.5px; color: var(--navy); margin: 30px 0 11px; }
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; }
.article-body li { margin-bottom: 9px; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: #d2540a; }
.article-body strong { color: var(--navy); }
.article-body .lead { font-size: 18.5px; color: #44505e; }
.article-body blockquote { margin: 24px 0; padding: 15px 24px; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 10px 10px 0; color: #3a4452; }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; color: #6b7686; margin: 4px 0 28px; }
.article-share { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; color: #6b7686; }
.toc { background: #f6f8fb; border: 1px solid var(--line); border-radius: 12px; padding: 19px 24px; margin: 0 0 28px; }
.toc h4 { margin: 0 0 11px; font-size: 15px; color: var(--navy); }
.toc ol { margin: 0; padding-left: 20px; font-size: 15px; }
.toc a { color: var(--accent); text-decoration: none; }

/* Article cards (index) */
.article-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d8e0ea; }
.article-card .ac-thumb { aspect-ratio: 16/9; background: #0c1e33; overflow: hidden; }
.article-card .ac-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-card .ac-body { padding: 21px 23px 25px; display: flex; flex-direction: column; flex: 1; }
.article-card .ac-tag { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--accent); background: var(--accent-soft); padding: 5px 11px; border-radius: 999px; margin-bottom: 13px; }
.article-card h3 { font-size: 19.5px; margin: 0 0 9px; color: var(--navy); }
.article-card p { font-size: 14.5px; color: #5a6573; margin: 0 0 16px; flex: 1; }
.article-card .ac-more { font-size: 14.5px; font-weight: 700; color: var(--accent); text-decoration: none; }
.article-card .ac-more::after { content: " →"; }

/* ============================================================
   Enrichment components — fill inner-page whitespace with
   meaningful trust / process / cross-sell content
   ============================================================ */

/* Alternating section background for visual rhythm */
.section--alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Related products (product detail pages) ---------- */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .related-grid { grid-template-columns: 1fr; } }
.related-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d8e0ea; }
.related-card .rc-media { aspect-ratio: 4/3; overflow: hidden; background: #0c1e33; }
.related-card .rc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.related-card:hover .rc-media img { transform: scale(1.05); }
.related-card .rc-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.related-card h3 { font-size: 17px; margin: 0 0 7px; color: var(--navy); }
.related-card p { font-size: 14px; color: var(--muted); margin: 0 0 14px; flex: 1; line-height: 1.6; }
.related-card .rc-link { font-size: 14px; font-weight: 700; color: var(--accent); text-decoration: none; }
.related-card .rc-link::after { content: " →"; }

/* ---------- Process / how we work band ---------- */
.process-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 900px) { .process-band { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-band { grid-template-columns: 1fr; } }
.process-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 24px; }
.process-step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 18px; right: 20px; font-size: 15px; font-weight: 800; color: var(--accent); opacity: .55; }
.process-step .ps-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.process-step .ps-icon svg { width: 22px; height: 22px; }
.process-step h3 { font-size: 16.5px; margin: 0 0 7px; color: var(--navy); }
.process-step p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ---------- Certifications / trust badges row ---------- */
.cert-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.cert-badge { display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; min-width: 0; flex: 1 1 220px; }
.cert-badge .cb-icon { width: 38px; height: 38px; border-radius: 9px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cert-badge .cb-icon svg { width: 20px; height: 20px; }
.cert-badge strong { display: block; font-size: 14.5px; color: var(--navy); }
.cert-badge span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 600px) { .cert-badge { flex: 1 1 100%; } }

/* ---------- Mini FAQ inline (product pages) ---------- */
.mini-faq { max-width: 820px; margin: 0 auto; }
.mini-faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 22px; margin-bottom: 12px; }
.mini-faq summary { font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; font-size: 15.5px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mini-faq summary::-webkit-details-marker { display: none; }
.mini-faq summary::after { content: "+"; font-size: 22px; color: var(--accent); font-weight: 700; line-height: 1; }
.mini-faq details[open] summary::after { content: "−"; }
.mini-faq details p { margin: 12px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* ============================================================
   2026 content refresh — hero slider, gallery, cert docs, video
   ============================================================ */

/* ---------- Brand text fit for HANGYIXIAOFANG ---------- */
.brand-text strong { font-size: 17px; letter-spacing: .04em; }
.footer-brand strong { font-size: 19px; letter-spacing: .03em; }
@media (max-width: 1120px) { .brand-text strong { font-size: 15px; letter-spacing: .02em; } }

/* ---------- Hero banner slider ---------- */
.hero-slider { position: relative; overflow: hidden; background: #0c1e33; }
.hero-slider .slides { position: relative; aspect-ratio: 16/5; }
@media (max-width: 760px) { .hero-slider .slides { aspect-ratio: auto; height: 220px; } }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; visibility: hidden; }
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-slide .slide-link { position: absolute; inset: 0; display: block; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(8,18,30,.42); border: 1px solid rgba(255,255,255,.3);
  color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .18s, transform .18s;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.hero-arrow:hover { background: var(--accent); }
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }
.hero-dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 5; }
.hero-dots button {
  width: 34px; height: 5px; border: none; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.45); transition: background .2s, width .2s;
  padding: 0;
}
.hero-dots button.active { background: var(--accent); width: 46px; }
@media (max-width: 760px) { .hero-arrow { width: 38px; height: 38px; font-size: 17px; } }

/* ---------- Product gallery (detail pages) ---------- */
.product-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 16px; }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }

/* ---------- Cert / report document display ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.doc-grid figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.doc-grid img { width: 100%; border-radius: 9px; }
.doc-grid figcaption { text-align: center; font-size: 13.5px; font-weight: 700; color: var(--navy); padding: 10px 4px 4px; }
@media (max-width: 640px) { .doc-grid { grid-template-columns: 1fr; } }

/* ---------- Home video embed ---------- */
.video-embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.video-embed video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Product category label ---------- */
.cat-label { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark); background: var(--accent-soft); padding: 7px 14px; border-radius: 999px; margin-bottom: 16px; }

/* ---------- Applications 2026 (photo + text row) ---------- */
.app-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
@media (max-width: 860px) { .app-row { grid-template-columns: 1fr; } }
.app-row figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #0c1e33; }
.app-row figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; }
.app-row .app-text { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.app-row .app-text h3 { font-size: 21px; margin-bottom: 12px; }
.app-row .app-text p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.app-row .app-text ul { margin: 14px 0 0 20px; color: var(--text); font-size: 14.5px; }
.app-row .app-text li { margin-bottom: 7px; }

/* ---------- Quality section ---------- */
.quality-docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 700px) { .quality-docs { grid-template-columns: 1fr; } }
.qdoc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.qdoc img { width: 100%; border-radius: 9px; }
.qdoc p { text-align: center; font-size: 13.5px; font-weight: 700; color: var(--navy); margin: 10px 0 2px; }

/* ---------- Video slots (placeholder) ---------- */
.video-slot { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.video-slot:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.vs-media { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; }
.vs-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.vs-play {
  position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--accent-dark); font-size: 20px;
  display: flex; align-items: center; justify-content: center; padding-left: 4px;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.vs-body { padding: 18px 20px 20px; }
.vs-body h3 { font-size: 16.5px; margin-bottom: 6px; }
.vs-body p { color: var(--muted); font-size: 14px; margin: 0; }





/* ============================================================
   2026 visual polish — premium industrial finish
   Appended layer: safe to roll back, no structural changes
   ============================================================ */

/* Ambient page glow instead of flat grey */
body { background:
  radial-gradient(1100px 560px at 88% -8%, rgba(255,106,19,.055), transparent 60%),
  radial-gradient(900px 480px at -6% 38%, rgba(28,58,92,.06), transparent 55%),
  var(--bg); }

/* Eyebrow accent dash */
.eyebrow::after { content: ""; display: inline-block; width: 34px; height: 2px; vertical-align: middle; margin-left: 10px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), transparent); }
.section-head.center .eyebrow::after { background: linear-gradient(90deg, transparent, var(--accent), transparent); }

/* Buttons — gradient + soft glow */
.btn-accent { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%); box-shadow: 0 12px 24px -12px rgba(255,106,19,.7); }
.btn-accent:hover { background: linear-gradient(135deg, #ff7a2e 0%, #cf4f06 100%); box-shadow: 0 18px 32px -14px rgba(255,106,19,.8); }
.btn-navy { background: linear-gradient(135deg, var(--navy-2), var(--navy)); }
.btn { transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease, filter .16s ease; }
.btn:hover { filter: saturate(1.06); }

/* Hero slider — cinematic zoom + readable dots */
.hero-slider::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 84px; background: linear-gradient(transparent, rgba(6,16,26,.5)); pointer-events: none; z-index: 4; }
.hero-slide.active img { animation: heroZoom 9s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.055); } }
@media (prefers-reduced-motion: reduce) { .hero-slide.active img { animation: none; } }
.hero-dots { bottom: 22px; }
.hero-dots button { box-shadow: 0 1px 6px rgba(0,0,0,.35); }

/* Trust strip — gradient + item hover */
.trust-strip { background: linear-gradient(92deg, var(--navy) 0%, var(--navy-3) 100%); }
.trust-strip .ts-item { transition: color .15s; }
.trust-strip .ts-item:hover { color: #fff; }

/* Product / related / article cards — top accent bar on hover */
.product-card, .related-card, .article-card, .qdoc, .doc-grid figure { position: relative; }
.product-card::before, .related-card::before, .article-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 3;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
}
.product-card:hover::before, .related-card:hover::before, .article-card:hover::before { transform: scaleX(1); }

/* Product media — subtle dark gradient on hover */
.product-card .card-media { position: relative; }
.product-card .card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(6,16,26,.3)); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.product-card:hover .card-media::after { opacity: 1; }

/* Spec tables — richer header + softer zebra */
table.spec th { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%); letter-spacing: .02em; }
table.spec tr:hover td { background: var(--accent-soft); }
table.spec td { transition: background .12s; }

/* FAQ — refined plus glyph + hover */
details.faq-item summary { transition: background .15s, color .15s; }
details.faq-item summary:hover { background: var(--accent-soft); }
details.faq-item summary::after { width: 27px; height: 27px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; }
details.faq-item[open] summary { background: var(--accent-soft); }

/* CTA band — texture + glow */
.cta-band { position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(520px 260px at 90% 115%, rgba(255,255,255,.14), transparent 60%),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.022) 0 12px, transparent 12px 24px); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band .btn-accent { box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }

/* Stats band — glowing figures */
.stat strong { text-shadow: 0 2px 20px rgba(255,106,19,.4); }

/* Footer — gradient top hairline + animated link underline */
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,106,19,.55), transparent); }
.site-footer a { position: relative; }
.site-footer a::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1.5px; background: var(--accent-2); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-footer a:hover::after { transform: scaleX(1); }

/* Image polish */
img { -webkit-user-drag: none; }
.card-media img, .rc-media img, .ac-thumb img { background: var(--navy); }

/* Mobile nav drop-in */
@media (max-width: 980px) {
  .site-nav.open { animation: navDrop .22s ease; }
}
@keyframes navDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Back-to-top gradient */
.to-top { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }

/* Slim, branded scrollbar (desktop) */
@media (min-width: 980px) {
  ::-webkit-scrollbar { width: 11px; }
  ::-webkit-scrollbar-track { background: #edf1f5; }
  ::-webkit-scrollbar-thumb { background: #c3cdd8; border-radius: 8px; border: 2px solid #edf1f5; }
  ::-webkit-scrollbar-thumb:hover { background: var(--accent-2); }
}

/* Video embed frame */
.video-embed { box-shadow: 0 26px 60px -24px rgba(12,30,51,.5); }

/* Selected text already brand orange; keep article images non-selectable visually */
.article-body img { border-radius: 12px; box-shadow: var(--shadow); }


/* ---------- Video library (2026) ---------- */
.vs-media { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; }
.vs-duration {
  position: absolute; bottom: 10px; right: 10px; z-index: 3;
  font-size: 12px; font-weight: 700; color: #fff;
  background: rgba(6,16,26,.72); border: 1px solid rgba(255,255,255,.25);
  padding: 3px 9px; border-radius: 999px; letter-spacing: .03em;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.video-group .section-head { margin-top: 48px; }
.video-group .section-head:first-of-type { margin-top: 0; }
.video-slot .vs-body p strong { color: var(--accent); font-size: 13px; }


/* ---------- Product page video spot ---------- */
.video-spot {
  display: grid; grid-template-columns: 460px 1fr; gap: 30px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); max-width: 980px; margin: 0 auto;
}
.video-spot-media { position: relative; display: block; aspect-ratio: 16/9; background: #0c1e33; overflow: hidden; }
.video-spot-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.video-spot-media:hover img { transform: scale(1.04); }
.video-spot-media .vs-play { width: 64px; height: 64px; font-size: 22px; }
.video-spot-body { padding: 12px 34px 12px 6px; }
.video-spot-body h3 { font-size: 21px; margin-bottom: 10px; }
.video-spot-body p { color: var(--muted); font-size: 15px; margin-bottom: 20px; line-height: 1.65; }
@media (max-width: 860px) {
  .video-spot { grid-template-columns: 1fr; }
  .video-spot-media { aspect-ratio: 16/9; }
  .video-spot-body { padding: 8px 24px 26px; }
}
