/* Hikon Chemical — clean international B2B style (light theme) */
:root {
  --primary: #0b5c8f;
  --primary-dark: #084469;
  --accent: #0e7fb0;
  --teal: #00a3a3;
  --ink: #16283a;
  --muted: #5b6b7b;
  --line: #e3e9ef;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(22, 40, 58, 0.06);
  --shadow-hover: 0 10px 28px rgba(22, 40, 58, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}
h1, h2, h3 { line-height: 1.25; color: var(--primary-dark); margin: 0 0 0.6em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.45rem, 3vw, 2.05rem); }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-decoration: none; }
img, svg { max-width: 100%; }
.icon { width: 26px; height: 26px; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff; padding: 8px 14px; z-index: 99; }
.skip-link:focus { left: 0; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand .logo { width: 36px; height: 36px; flex: none; }
.brand-name { font-weight: 700; font-size: 1.05rem; display: flex; flex-direction: column; line-height: 1.15; }
.brand-name small { font-weight: 400; font-size: 0.66rem; color: var(--muted); letter-spacing: 0.02em; }
.main-nav { display: flex; gap: 4px; margin-left: 8px; }
.main-nav a {
  padding: 8px 12px; border-radius: 8px; color: var(--muted); font-weight: 500; font-size: 0.95rem;
}
.main-nav a:hover { color: var(--primary); background: var(--bg-alt); }
.main-nav a.active { color: var(--primary); background: #e8f1f8; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; gap: 2px; font-size: 0.85rem; }
.lang-switch a { padding: 4px 8px; border-radius: 6px; color: var(--muted); }
.lang-switch a.on { color: #fff; background: var(--primary); }
.action-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-size: 0.88rem; font-weight: 600; }
.action-link .icon { width: 18px; height: 18px; }
.nav-toggle { display: none; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 6px 10px; font-size: 1.2rem; cursor: pointer; }

/* buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 9px; font-weight: 600; font-size: 0.95rem;
  border: 1.5px solid transparent; cursor: pointer; transition: all 0.15s ease; text-align: center;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-ghost:hover { background: #e8f1f8; }
.btn-light { background: #fff; color: var(--primary); }
.btn-outline { border-color: rgba(255,255,255,0.7); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }
.btn-whatsapp { background: #1faa53; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.btn-whatsapp:hover { background: #178f44; }
.btn-whatsapp .icon { width: 18px; height: 18px; }

/* hero */
.hero { background: linear-gradient(135deg, #eef5fa 0%, #ffffff 55%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding: 72px 24px 64px; }
.hero-copy .eyebrow { margin-bottom: 18px; }
.hero-sub { font-size: 1.12rem; color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.hero-art svg { width: 100%; }

.eyebrow {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.09em; font-weight: 700;
  color: var(--accent); margin-bottom: 8px; display: block;
}

/* stats */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 18px 10px; border-radius: var(--radius); background: var(--bg-alt); }
.stat strong { display: block; font-size: 1.6rem; color: var(--primary); }
.stat span { font-size: 0.85rem; color: var(--muted); }

/* sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-cta { margin-top: 28px; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* cards */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow); color: var(--ink);
  display: flex; flex-direction: column; transition: box-shadow 0.16s ease, transform 0.16s ease;
}
a.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; background: #e8f1f8; color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; flex: none;
}
.card-icon .icon { width: 28px; height: 28px; }
.card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.5em; }
.card-more { color: var(--accent); font-weight: 600; font-size: 0.9rem; margin-top: auto; display: inline-flex; align-items: center; gap: 6px; }
.app-card .metric { font-size: 1.7rem; font-weight: 700; color: var(--teal); }
.app-card .metric-label { font-size: 0.85rem; color: var(--muted); }

/* page hero */
.page-hero { background: linear-gradient(135deg, #0b5c8f 0%, #0e7fb0 100%); color: #fff; padding: 56px 0; }
.page-hero h1 { color: #fff; }
.page-hero .page-sub { color: rgba(255,255,255,0.85); font-size: 1.08rem; max-width: 760px; margin: 0; }

/* products */
.product-section { padding: 64px 0; }
.product-section:nth-of-type(even) { background: var(--bg-alt); }
.product-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 26px; }
.product-head h2 { margin-bottom: 4px; }
.product-form { color: var(--muted); font-size: 0.92rem; margin: 0; }
.product-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; }
.spec-table h3, .product-desc h3 { margin-top: 0; }
.spec-table table, .table-wrap table {
  width: 100%; border-collapse: collapse; font-size: 0.92rem; background: #fff;
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
}
.spec-table th, .spec-table td { text-align: left; }
.spec-table th { width: 55%; background: #f7fafc; }
.table-wrap { overflow-x: auto; }
table .th-row th { background: #eef4f9; color: var(--primary-dark); }
.spec-table th, .spec-table td, .table-wrap th, .table-wrap td {
  padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top;
}
.spec-table tr:last-child th, .spec-table tr:last-child td, .table-wrap tr:last-child td, .table-wrap tr:last-child th { border-bottom: none; }
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; }
.chip-list li {
  background: #e8f1f8; color: var(--primary); border-radius: 20px; padding: 4px 12px; font-size: 0.85rem; font-weight: 500;
}
.product-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

/* applications */
.app-section { padding: 64px 0; }
.app-head { display: flex; gap: 20px; align-items: center; margin-bottom: 22px; }
.metric-line { display: flex; align-items: baseline; gap: 10px; }
.metric-line strong { color: var(--teal); font-size: 1.5rem; }
.metric-line span { color: var(--muted); font-size: 0.9rem; }
.app-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.app-block h3 { margin-top: 0; }
.app-solution { border-left: 3px solid var(--teal); }
.dosage-note {
  margin-top: 22px; background: #eef7f4; border: 1px solid #cfe9e2; color: #116149;
  border-radius: 8px; padding: 12px 16px; font-size: 0.93rem;
}

/* technical */
.guide-intro { color: var(--muted); max-width: 820px; }
.steps { max-width: 820px; padding-left: 22px; }
.steps li { margin-bottom: 12px; }
.note-box {
  background: #eef4f9; border: 1px solid #d7e5f0; border-radius: var(--radius);
  padding: 20px 24px; margin-top: 24px; max-width: 820px;
}
.note-box h3 { margin-top: 0; color: var(--primary-dark); }
.note-box ul { margin: 0; padding-left: 20px; }
.note-box li { margin-bottom: 6px; }

/* insights */
.article-section { padding: 56px 0; }
.article-section + .article-section { border-top: 1px solid var(--line); }
.tag {
  display: inline-block; background: #e8f1f8; color: var(--primary); font-size: 0.75rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; border-radius: 20px; padding: 3px 12px; margin-bottom: 12px;
}
.article-meta { color: var(--muted); font-size: 0.85rem; }
.article-summary { font-size: 1.05rem; color: var(--muted); }
.article-body p { font-size: 1rem; }
.takeaways { background: #eef7f4; border-color: #cfe9e2; }
.takeaways h3 { color: #116149; }

/* downloads */
.dl-group { padding: 48px 0; }
.dl-card h3 { font-size: 0.98rem; }
.dl-meta { font-size: 0.8rem; color: var(--muted); }
.dl-note { font-size: 0.82rem; }
.dl-static { cursor: default; }

/* forms */
.steps-grid { margin: 44px 0 0; }
.step-num {
  display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--primary);
  color: #fff; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 12px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.inquiry-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.88rem; font-weight: 600; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
  font: inherit; font-weight: 400; padding: 11px 14px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; color: var(--ink);
}
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.form-actions { display: flex; gap: 14px; margin-top: 22px; flex-wrap: wrap; align-items: center; }
.form-note { color: var(--muted); font-size: 0.85rem; }

/* contact */
.contact-card p { word-break: break-all; }

/* video */
.video-wrap video { width: 100%; border-radius: var(--radius); background: #0b2740; aspect-ratio: 16/9; display: block; }
.video-note { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 10px; }

/* faq */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 4px 18px; }
.faq-item summary { cursor: pointer; font-weight: 600; padding: 12px 0; color: var(--primary-dark); }
.faq-item p { color: var(--muted); margin: 0 0 12px; }

/* cta band */
.cta-band { background: linear-gradient(120deg, var(--primary-dark), var(--accent)); color: #fff; padding: 60px 0; text-align: center; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { opacity: 0.9; max-width: 640px; margin: 0 auto 22px; }
.cta-band .hero-cta { justify-content: center; }

/* footer */
.site-footer { background: #0d2338; color: #c4d3e0; padding: 56px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.site-footer h3 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #c4d3e0; }
.site-footer a:hover { color: #fff; }
.f-brand .brand { color: #fff; margin-bottom: 14px; }
.f-brand .brand .logo path { stroke: #7fc5e8; }
.f-brand .brand .logo circle { fill: #7fc5e8; }
.f-brand p { font-size: 0.9rem; }
.f-contact { font-size: 0.85rem; font-style: normal; }
.social-row { display: flex; gap: 12px; margin-top: 14px; }
.social-row a { color: #c4d3e0; display: inline-flex; }
.social-row a:hover { color: #fff; }
.social-row .icon { width: 24px; height: 24px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 24px; font-size: 0.82rem; color: #8ba2b5;
}

/* responsive */
@media (max-width: 960px) {
  .grid-3, .stats-bar, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; padding-top: 52px; }
  .hero-art { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; width: 100%; flex-direction: column; margin: 4px 0 10px; }
  .main-nav.open { display: flex; }
  .header-actions { margin-left: 0; }
  .nav-toggle { display: inline-block; margin-left: auto; }
  .nav-toggle.shifted { margin-left: 0; }
  .header-actions { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2, .form-grid, .stats-bar, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .action-link span { display: none; }
  .app-head, .product-head { flex-direction: row; }
}
