:root {
  --c-primary: #0b5ed7;
  --c-primary-dark: #0a3d82;
  --c-navy: #0b2b4f;
  --c-ink: #1c2733;
  --c-muted: #5a6b7b;
  --c-steel: #8a99a8;
  --c-silver: #c9d3dd;
  --c-gold: #c9a227;
  --c-accent: #e8890c;
  --c-bg: #ffffff;
  --c-bg-soft: #f3f6fa;
  --c-bg-dark: #0b2b4f;
  --c-border: #e3e9f0;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(16, 42, 67, 0.08);
  --shadow-md: 0 10px 30px rgba(16, 42, 67, 0.12);
  --shadow-lg: 0 20px 55px rgba(11, 43, 79, 0.18);
  --maxw: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--c-ink);
  line-height: 1.7;
  background: var(--c-bg);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
video { max-width: 100%; display: block; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5 { line-height: 1.28; font-weight: 700; margin: 0 0 .5em; color: var(--c-navy); }
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
strong { color: var(--c-navy); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 76px 0; }
.section--soft { background: var(--c-bg-soft); }
.section--dark { background: var(--c-bg-dark); color: #dbe6f2; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { color: var(--c-muted); font-size: 1.06rem; }
.section--dark .lead { color: #b8cbe0; }
.eyebrow {
  display: inline-block; font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-primary); font-weight: 700; margin-bottom: 12px;
}
.section--dark .eyebrow { color: #7fb5ff; }

.btn {
  display: inline-block; padding: 13px 28px; border-radius: 999px;
  font-weight: 600; font-size: .96rem; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-dark); box-shadow: var(--shadow-md); }
.btn--accent { background: var(--c-accent); color: #fff; }
.btn--gold { background: var(--c-gold); color: #fff; }
.btn--ghost { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn--white { background: #fff; color: var(--c-navy); }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.topbar { background: var(--c-navy); color: #cfe0f2; font-size: .84rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 34px; gap: 16px; }
.topbar a { color: #cfe0f2; }
.topbar a:hover { color: #fff; }
.topbar .topbar-right { display: flex; gap: 18px; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.5rem; letter-spacing: .01em; color: var(--c-navy); }
.brand img { height: 44px; width: auto; }
.brand:hover { text-decoration: none; }
.brand span { color: var(--c-primary); }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--c-ink); font-weight: 500; font-size: .96rem; }
.nav-links a:hover { color: var(--c-primary); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--c-primary); font-weight: 700; }
.nav-cta { margin-left: 2px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.7rem; cursor: pointer; color: var(--c-navy); }

/* Hero */
.hero {
  position: relative; color: #fff; padding: 92px 0 108px; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(125,175,255,.25), transparent 60%),
    linear-gradient(135deg, #081f3e 0%, #0a3d82 48%, #0b5ed7 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: 50px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero .lead { color: #d5e5f8; font-size: 1.14rem; max-width: 560px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 32px; }
.hero-badge {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24);
  padding: 9px 18px; border-radius: 999px; font-size: .87rem; backdrop-filter: blur(4px);
}
.hero-badge b { color: #ffd778; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; }
.hero-media img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.28);
}
.hero-media::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); pointer-events: none;
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm); border-top: 3px solid var(--c-primary);
}
.stat-num { font-size: 2.1rem; font-weight: 800; color: var(--c-primary); line-height: 1.1; }
.stat-num sup { font-size: .55em; }
.stat-label { color: var(--c-muted); font-size: .92rem; margin-top: 8px; }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon { font-size: 2rem; margin-bottom: 14px; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: #eef4fc; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--c-muted); font-size: .96rem; flex: 1; }
.card .link-more { margin-top: 14px; font-weight: 600; }

/* Product cards */
.pcard { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; display: flex; flex-direction: column; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pcard-img { aspect-ratio: 4/3; overflow: hidden; background: #f3f6fa; display: flex; align-items: center; justify-content: center; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-body { padding: 18px 20px; display: flex; flex-direction: column; flex: 1; }
.pcard-body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.pcard-body p { color: var(--c-muted); font-size: .92rem; flex: 1; }

/* Features */
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature-icon { font-size: 1.7rem; line-height: 1; width: 52px; height: 52px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: #fff; border: 1px solid var(--c-border); color: var(--c-primary); }
.feature h4 { margin: 0 0 6px; font-size: 1.06rem; }
.feature p { color: var(--c-muted); font-size: .95rem; margin: 0; }
.section--dark .feature-icon { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #7fb5ff; }
.section--dark .feature p { color: #b8cbe0; }
.section--dark .feature h4 { color: #fff; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 9px 0 9px 32px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 9px; color: var(--c-primary); font-weight: 800; }
.section--dark .checklist li::before { color: #7fb5ff; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #081f3e, #0a3d82 55%, #0b5ed7);
  color: #fff; border-radius: var(--radius-lg); padding: 54px 48px; text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe0f2; max-width: 640px; margin: 0 auto 26px; }

/* Steps / process */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 0 0 0 64px; margin-bottom: 30px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--c-primary); color: #fff; font-weight: 800; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
}
.steps h4 { margin: 0 0 4px; }
.steps p { color: var(--c-muted); margin: 0; }

/* Tables */
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec-table th, .spec-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--c-border); font-size: .95rem; }
.spec-table th { background: var(--c-navy); color: #fff; font-weight: 600; }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { font-weight: 600; color: var(--c-navy); width: 32%; }

/* Forms */
.form-grid { display: grid; gap: 16px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-weight: 600; font-size: .92rem; display: block; margin-bottom: 6px; color: var(--c-navy); }
input, textarea, select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--c-border);
  border-radius: 8px; font-size: 1rem; font-family: inherit; background: #fff; color: var(--c-ink);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(11,94,215,.12); }
.form-note { color: var(--c-muted); font-size: .85rem; margin-top: 10px; }

/* Contact */
.contact-method { display: flex; gap: 16px; align-items: flex-start; padding: 18px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); }
.contact-icon { font-size: 1.7rem; }

/* Video */
.video-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.video-card video { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #000; }
.video-card-body { padding: 16px 18px; }
.video-card-body h4 { margin: 0 0 4px; font-size: 1rem; }
.video-card-body p { color: var(--c-muted); font-size: .88rem; margin: 0; }

/* FAQ */
.faq-item { border: 1px solid var(--c-border); border-radius: var(--radius); margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq-item summary { padding: 18px 22px; font-weight: 600; cursor: pointer; list-style: none; color: var(--c-navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; font-weight: 700; color: var(--c-primary); font-size: 1.3rem; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] summary { border-bottom: 1px solid var(--c-border); }
.faq-body { padding: 16px 22px; color: var(--c-muted); }

/* Certifications */
.cert-list { display: flex; flex-wrap: wrap; gap: 14px; }
.cert-badge {
  background: #fff; border: 1px solid var(--c-border); border-radius: 999px;
  padding: 10px 20px; font-weight: 600; color: var(--c-navy); box-shadow: var(--shadow-sm);
}

/* Blog */
.post-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card-body { padding: 20px 22px; display: flex; flex-direction: column; flex: 1; }
.post-date { color: var(--c-steel); font-size: .82rem; }
.post-card h3 { font-size: 1.1rem; margin: 8px 0; }
.post-card p { color: var(--c-muted); font-size: .94rem; flex: 1; }

/* Breadcrumb */
.breadcrumb { font-size: .85rem; color: #bcd3f5; margin-bottom: 14px; }
.breadcrumb a { color: #eaf3ff; }

/* Page hero (interior) */
.page-hero { background: linear-gradient(135deg, #081f3e, #0a3d82 55%, #0b5ed7); color: #fff; padding: 62px 0; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero .lead { color: #d5e5f8; margin: 0; }

/* Footer */
.site-footer { background: #0a1726; color: #aebccb; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 38px; padding-bottom: 46px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer a { color: #aebccb; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.4rem; color: #fff; margin-bottom: 12px; }
.footer-brand img { height: 38px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 20px 0; font-size: .84rem; color: #71859a; }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Floating contact */
.float-contact { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: flex; flex-direction: column; gap: 12px; }
.float-contact a {
  width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: var(--shadow-lg); transition: transform .15s ease;
}
.float-contact a:hover { transform: scale(1.08); text-decoration: none; }
.float-wa { background: #25d366; }
.float-mail { background: var(--c-primary); color: #fff; }

/* Responsive */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 580px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .nav-links {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 16px 22px;
    border-bottom: 1px solid var(--c-border); gap: 14px; align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 26px; }
  .topbar .topbar-left { display: none; }
}
