/* HuanGang FRP - static site styles */
:root {
  --navy: #0b3049;
  --navy-2: #12405f;
  --blue: #1a6fae;
  --blue-lt: #e8f1f8;
  --accent: #f59e0b;
  --wa: #25d366;
  --ink: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 2px 8px rgba(15, 40, 60, .08);
  --shadow-lg: 0 10px 30px rgba(15, 40, 60, .12);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; margin-top: 28px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px 14px; z-index: 999; border-radius: 6px; }

/* header */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.logo-mark { background: var(--accent); color: var(--navy); font-weight: 800; font-size: 20px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; color: #fff; }
.logo-text strong { font-size: 17px; letter-spacing: 1px; }
.logo-text small { font-size: 11px; color: #9fc3dc; letter-spacing: .5px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: #dbe9f4; font-size: 14.5px; font-weight: 500; text-decoration: none; }
.nav a:hover { color: #fff; text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: .2s; }

/* buttons */
.btn { display: inline-block; padding: 10px 22px; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none !important; cursor: pointer; border: 0; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa-lg { background: var(--wa); color: #fff; padding: 14px 28px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* hero */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #1d5d8a 100%); color: #fff; padding: 64px 0 72px; }
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; background: rgba(245, 158, 11, .18); color: #fbbf24; border: 1px solid rgba(245, 158, 11, .4); font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 99px; margin-bottom: 18px; letter-spacing: .4px; }
.hero h1 { font-size: 40px; line-height: 1.2; margin-bottom: 18px; font-weight: 800; }
.hero-sub { font-size: 17px; color: #c9dcea; margin-bottom: 28px; max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 36px; list-style: none; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 26px; color: var(--accent); }
.hero-stats span { font-size: 13px; color: #9fc3dc; }
.hero-img img { border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }

/* sections */
.section { padding: 64px 0; }
.section-alt { background: #fff; }
.section-title { font-size: 30px; text-align: center; margin-bottom: 10px; font-weight: 800; color: var(--navy); }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 40px; }

/* category cards */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none !important; transition: transform .2s, box-shadow .2s; display: block; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-img { height: 170px; overflow: hidden; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-body { padding: 18px 20px; }
.cat-body h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.cat-body p { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.cat-count { font-size: 12.5px; font-weight: 600; color: var(--blue); background: var(--blue-lt); padding: 3px 10px; border-radius: 99px; }

/* product cards */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none !important; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.prod-img { height: 160px; overflow: hidden; background: #eef2f6; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-body { padding: 14px 16px 18px; flex: 1; display: flex; flex-direction: column; }
.prod-cat { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--blue); background: var(--blue-lt); padding: 2px 9px; border-radius: 99px; align-self: flex-start; margin-bottom: 9px; }
.prod-body h3 { font-size: 14.5px; line-height: 1.35; color: var(--ink); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-body p { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-link { font-size: 13px; font-weight: 600; color: var(--blue); margin-top: auto; }

/* why cards */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { background: #fff; border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.why-icon { font-size: 30px; margin-bottom: 12px; }
.why-card h3 { font-size: 16.5px; color: var(--navy); margin-bottom: 8px; }
.why-card p { font-size: 13.5px; color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding: 56px 0; text-align: center; }
.cta-band h2 { font-size: 28px; margin-bottom: 10px; }
.cta-band p { color: #c9dcea; margin-bottom: 26px; }
.cta-band .btn { margin: 0 8px 10px; }

/* page head / breadcrumb */
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 34px 0 30px; }
.page-head h1 { font-size: 32px; color: var(--navy); font-weight: 800; margin: 8px 0 8px; }
.page-sub { color: var(--muted); font-size: 16px; max-width: 820px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; }
.breadcrumb li + li::before { content: "›"; color: var(--muted); margin-right: 6px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }

/* filter bar */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-btn { border: 1.5px solid var(--line); background: #fff; color: var(--ink); padding: 8px 18px; border-radius: 99px; font-size: 14px; font-weight: 500; cursor: pointer; transition: .15s; }
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* product detail */
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.product-img-lg { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.product-img-lg img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.product-info .prod-cat { font-size: 12px; }
.product-info h1 { font-size: 28px; line-height: 1.25; margin: 10px 0 8px; }
.product-subtitle { color: var(--muted); font-size: 16px; margin-bottom: 16px; }
.product-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.product-badges span { font-size: 13px; font-weight: 600; color: var(--green, #15803d); background: #f0fdf4; border: 1px solid #bbf7d0; padding: 5px 12px; border-radius: 99px; }
.product-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.contact-quick p { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.product-content h2 { color: var(--navy); margin-bottom: 18px; font-size: 24px; }
.rich-text h2 { font-size: 21px; color: var(--navy); margin: 26px 0 12px; }
.rich-text h3 { font-size: 17px; color: var(--navy-2); margin: 20px 0 8px; }
.rich-text p { margin-bottom: 12px; font-size: 15.5px; }
.rich-text ul, .rich-text ol { margin: 0 0 14px 22px; }
.rich-text li { margin-bottom: 6px; font-size: 15.5px; }
.rich-text strong { color: var(--ink); }

/* spec table */
.spec-table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; background: #fff; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; font-size: 14.5px; }
.spec-table th { background: var(--blue-lt); color: var(--navy); font-weight: 600; }

/* blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none !important; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-img { height: 170px; overflow: hidden; background: #eef2f6; }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-img-ph { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 44px; background: linear-gradient(135deg, var(--blue-lt), #dcebf7); }
.post-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; }
.post-date { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.post-body h3 { font-size: 16.5px; line-height: 1.35; color: var(--ink); margin-bottom: 8px; }
.post-body p { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.post-cover { border-radius: var(--radius); margin-bottom: 26px; box-shadow: var(--shadow); }
.post-content { max-width: 820px; }
.post-cta { background: var(--blue-lt); border-radius: var(--radius); padding: 26px; margin-top: 36px; text-align: center; }
.post-cta h3 { color: var(--navy); margin-bottom: 6px; }
.post-cta p { color: var(--muted); margin-bottom: 16px; }

/* about */
.about-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 44px; }
.about-side { display: flex; flex-direction: column; gap: 16px; }
.stat-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; text-align: center; }
.stat-card strong { display: block; font-size: 30px; color: var(--blue); }
.stat-card span { color: var(--muted); font-size: 14px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; }
.contact-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.c-icon { font-size: 24px; }
.contact-row h3 { font-size: 15px; color: var(--navy); margin-bottom: 2px; }
.contact-row p { font-size: 15px; }
.contact-note { background: var(--blue-lt); border-radius: var(--radius); padding: 20px 22px; margin-top: 24px; }
.contact-note h3 { font-size: 15px; color: var(--navy); margin-bottom: 10px; }
.contact-note ul { margin-left: 20px; }
.contact-note li { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.contact-form-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.contact-form-wrap h2 { color: var(--navy); margin-bottom: 20px; }
.inquiry-form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 8px; font-size: 15px; font-family: inherit; transition: border-color .15s; }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus { outline: none; border-color: var(--blue); }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }

/* certifications */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.cert-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 24px; text-align: center; }
.cert-badge { font-size: 24px; font-weight: 800; color: #fff; background: var(--navy); display: inline-block; padding: 12px 26px; border-radius: 10px; margin-bottom: 16px; letter-spacing: .5px; }
.cert-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.cert-card p { font-size: 14px; color: var(--muted); }
.cert-standards { max-width: 860px; }

/* footer */
.site-footer { background: var(--navy); color: #b9cfde; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding: 54px 20px 40px; }
.footer-logo { font-size: 20px; color: #fff; margin-bottom: 12px; letter-spacing: 1px; }
.footer-desc { font-size: 13.5px; line-height: 1.7; margin-bottom: 10px; }
.footer-loc { font-size: 13.5px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: #b9cfde; font-size: 13.5px; }
.footer-links a:hover { color: #fff; }
.footer-contact { list-style: none; }
.footer-contact li { margin-bottom: 9px; font-size: 13.5px; }
.footer-contact a { color: #b9cfde; }
.site-footer .btn-wa { margin-top: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: 12.5px; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* whatsapp float */
.wa-float { position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px; background: var(--wa); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(37, 211, 102, .45); z-index: 90; transition: transform .15s; }
.wa-float:hover { transform: scale(1.08); text-decoration: none; }

/* responsive */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .about-grid, .product-hero { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 18px 24px 24px; gap: 14px; box-shadow: 0 10px 20px rgba(0,0,0,.25); }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 27px; }
  .hero { padding: 44px 0 52px; }
  .section { padding: 44px 0; }
  .section-title { font-size: 23px; }
  .page-head h1 { font-size: 24px; }
  .cat-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .post-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .product-cta .btn { width: 100%; text-align: center; }
}
