/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy:        #002855;
  --navy-mid:    #003A70;
  --blue:        #0057A8;
  --orange:      #FD5D14;
  --orange-hover:#E04E08;
  --orange-light: #FFF2EB;
  --charcoal:    #1A202C;
  --body:        #4A5568;
  --muted:       #718096;
  --border:      #DDE4ED;
  --bg:          #F7F9FC;
  --white:       #FFFFFF;
  --font:        'Inter', -apple-system, sans-serif;
  --grad:        linear-gradient(135deg, #002855 0%, #FD5D14 100%);
  --grad-orange: linear-gradient(135deg, #FD5D14 0%, #FF8040 100%);
  --grad-rev:    linear-gradient(135deg, #FD5D14 0%, #002855 100%);
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--charcoal); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* ============================================================
   UTILITIES
============================================================ */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; display: block; width: 22px; height: 2px; flex-shrink: 0;
  background: var(--grad-orange); border-radius: 2px;
}
.g-text {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-heading {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800; line-height: 1.15;
  color: var(--charcoal); margin-bottom: 18px;
}
.section-sub {
  font-size: 16px; line-height: 1.75;
  color: var(--body); max-width: 560px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: 14px; font-weight: 600;
  padding: 13px 26px; border-radius: 6px;
  cursor: pointer; transition: all .18s ease; border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--grad-orange); color: #fff; border-color: transparent; }
.btn-primary:hover { background: var(--orange-hover); border-color: transparent; box-shadow: 0 6px 24px rgba(253,93,20,.35); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy-mid); border-color: var(--navy-mid); }
.btn-outline:hover { background: var(--navy-mid); color: #fff; border-color: transparent; }
.btn-white { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white:hover { background: var(--orange-light); border-color: var(--orange); color: var(--orange); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn i { font-size: 13px; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--orange);
  transition: gap .15s;
}
.text-link:hover { gap: 10px; }
.text-link i { font-size: 13px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   TOPBAR
============================================================ */
.topbar {
  background: var(--navy); padding: 8px 0;
  font-size: 12px; color: rgba(255,255,255,.75);
  border-bottom: 2px solid var(--orange);
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
}
.topbar-left { display: flex; gap: 24px; }
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar-item i { font-size: 12px; color: rgba(255,255,255,.5); flex-shrink: 0; }
.topbar-item a { color: rgba(255,255,255,.75); transition: color .15s; }
.topbar-item a:hover { color: #fff; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-right a { color: rgba(255,255,255,.6); font-size: 12px; transition: color .15s; }
.topbar-right a:hover { color: #fff; }

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  display: flex; align-items: center;
  height: 72px; gap: 0;
}

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 11px; margin-right: 48px; flex-shrink: 0; }
.logo-mark {
  width: 38px; height: 38px; background: var(--navy);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; overflow: hidden;
}
.logo-mark::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--orange);
}
.logo-mark i { font-size: 17px; color: #fff; position: relative; z-index: 1; }
.logo-text { line-height: 1.1; }
.logo-text strong { display: block; font-size: 16px; font-weight: 800; color: var(--navy-mid); letter-spacing: -.3px; }
.logo-text span { font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; }

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-item { position: relative; }
.nav-item::after {
  content: ''; position: absolute; top: 100%; left: 0;
  width: 100%; height: 12px;
}
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px; border-radius: 6px;
  font-size: 14px; font-weight: 500; color: var(--charcoal);
  transition: background .15s, color .15s; cursor: pointer;
  white-space: nowrap; user-select: none;
}
.nav-link:hover, .nav-link.active { color: var(--orange); background: var(--orange-light); }
.nav-link i.fa-chevron-down { font-size: 11px; color: var(--muted); transition: transform .2s; }
.nav-item:hover > .nav-link i.fa-chevron-down { transform: rotate(180deg); }
.nav-phone i { font-size: 13px; color: var(--orange); }

/* Dropdown */
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; box-shadow: 0 8px 32px rgba(0,0,0,.1);
  padding: 6px; min-width: 220px; z-index: 100;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: all .18s ease; pointer-events: none;
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: all; }
.nav-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 6px;
  font-size: 13.5px; font-weight: 500; color: var(--body);
  transition: all .12s;
}
.nav-dropdown a:hover { background: var(--orange-light); color: var(--orange); }
.nav-dropdown-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--border); flex-shrink: 0; transition: background .12s; }
.nav-dropdown a:hover .nav-dropdown-dot { background: var(--orange); }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-phone { font-size: 13px; font-weight: 600; color: var(--charcoal); display: flex; align-items: center; gap: 6px; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; border-radius: 4px; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: all .2s; }

/* ============================================================
   PAGE BANNER (inner pages)
============================================================ */
.page-banner {
  background: var(--navy);
  padding: 56px 0 52px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--orange);
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(253,93,20,.15) 0%, transparent 60%);
  pointer-events: none;
}
.page-banner-inner { position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,.5);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,.5); transition: color .12s; }
.breadcrumb a:hover { color: rgba(255,255,255,.85); }
.breadcrumb i { font-size: 10px; }
.page-banner h1 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800; color: #fff;
  line-height: 1.1; margin-bottom: 14px;
}
.page-banner h1 span {
  background: var(--grad-orange);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-banner p {
  font-size: 16px; color: rgba(255,255,255,.6);
  max-width: 560px; line-height: 1.75;
}

/* ============================================================
   HERO
============================================================ */
.hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 58% 42%;
  align-items: center; min-height: 580px; gap: 0;
}
.hero-left { padding: 80px 56px 80px 0; }
.hero-cert {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange-light); border: 1px solid rgba(253,93,20,.2);
  border-left: 3px solid var(--orange);
  border-radius: 4px; padding: 5px 12px;
  font-size: 11px; font-weight: 600; color: var(--orange);
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 24px;
}
.hero-cert i { font-size: 12px; color: var(--orange); flex-shrink: 0; }
.hero-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800; line-height: 1.1;
  color: var(--charcoal); margin-bottom: 22px; letter-spacing: -.5px;
}
.hero-title span {
  background: var(--grad-orange);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 16px; line-height: 1.8; color: var(--body);
  max-width: 520px; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex; gap: 0;
  border-top: 1px solid var(--border); padding-top: 32px;
}
.hstat {
  padding: 0 32px 0 0; margin-right: 32px;
  border-right: 1px solid var(--border);
}
.hstat:last-child { border-right: none; margin-right: 0; }
.hstat-num {
  font-size: 28px; font-weight: 800; line-height: 1; margin-bottom: 4px;
  background: var(--grad-orange);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hstat-label { font-size: 12px; font-weight: 500; color: var(--muted); }

/* Hero right */
.hero-right {
  position: relative; height: 100%;
  background: var(--bg);
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center; padding: 48px 40px;
}
.hero-img-frame {
  width: 100%; aspect-ratio: 4/3;
  border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
  position: relative;
}
.hero-img-inner {
  width: 100%; height: 100%; position: absolute; inset: 0;
}
.hero-img-inner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-img-label {
  position: absolute; bottom: 16px; left: 16px;
  background: var(--navy); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 12px; border-radius: 4px;
}
.hero-badges { display: flex; gap: 12px; margin-top: 20px; width: 100%; }
.hero-badge-item {
  flex: 1; background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 14px 16px;
  display: flex; align-items: center; gap: 10px;
}
.badge-icon { width: 32px; height: 32px; border-radius: 6px; background: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.badge-icon i { font-size: 14px; color: var(--orange); }
.badge-text strong { display: block; font-size: 12px; font-weight: 700; color: var(--charcoal); }
.badge-text span { font-size: 11px; color: var(--muted); }

/* ============================================================
   CLIENTS STRIP
============================================================ */
.clients-strip {
  background: var(--bg); border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.clients-label {
  text-align: center; font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 28px;
}
.clients-grid {
  display: flex; justify-content: center; align-items: center;
  gap: 12px; flex-wrap: wrap;
}
.client-chip {
  padding: 10px 22px; background: var(--white);
  border: 1px solid var(--border); border-radius: 6px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  transition: all .18s; white-space: nowrap;
}
.client-chip:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-light); }

/* ============================================================
   ABOUT
============================================================ */
.about-inner {
  display: grid; grid-template-columns: 52% 44%; gap: 64px; align-items: center;
}
.about-img { position: relative; }
.about-img-main {
  width: 100%; aspect-ratio: 4/3;
  border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-img-card {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--navy-mid); border-radius: 8px;
  padding: 20px 24px; display: flex; flex-direction: column; gap: 2px;
}
.about-img-card strong { font-size: 28px; font-weight: 800; color: #fff; line-height: 1; }
.about-img-card span { font-size: 12px; color: rgba(255,255,255,.6); font-weight: 500; }
.about-text-block { display: flex; flex-direction: column; }
.about-text-block p { font-size: 15px; line-height: 1.8; color: var(--body); margin-bottom: 18px; }
.about-key-points { display: flex; flex-direction: column; gap: 12px; margin: 24px 0 32px; }
.about-point {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 6px;
  transition: border-color .15s;
}
.about-point:hover { border-color: var(--orange); }
.about-point-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad-orange); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.about-point-check i { font-size: 10px; color: #fff; }
.about-point-text strong { display: block; font-size: 13px; font-weight: 700; color: var(--charcoal); margin-bottom: 2px; }
.about-point-text span { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ============================================================
   PRODUCTS
============================================================ */
.products { background: var(--bg); }
.products-header { text-align: center; margin-bottom: 48px; }
.products-header .section-sub { margin: 0 auto; }

/* Tabs */
.prod-tabs {
  display: flex; gap: 4px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 40px;
}
.prod-tab {
  padding: 9px 20px; border-radius: 6px;
  font-size: 13.5px; font-weight: 600; cursor: pointer;
  background: var(--white); border: 1px solid var(--border);
  color: var(--body); transition: all .15s;
}
.prod-tab:hover { border-color: var(--orange); color: var(--orange); }
.prod-tab.active { background: var(--grad-orange); border-color: transparent; color: #fff; }

/* Product grid */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod-panel { display: none; }
.prod-panel.active { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.prod-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
  transition: border-color .18s, transform .18s, box-shadow .18s;
  display: flex; flex-direction: column;
}
.prod-card:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(253,93,20,.12); }
.prod-img {
  height: 200px; overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.prod-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.prod-card:hover .prod-img img { transform: scale(1.04); }
.prod-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.prod-cat {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--orange); margin-bottom: 8px;
}
.prod-body h3 { font-size: 15px; font-weight: 700; color: var(--charcoal); margin-bottom: 8px; line-height: 1.3; }
.prod-body p { font-size: 13px; color: var(--body); line-height: 1.6; flex: 1; }
.prod-footer {
  padding: 14px 20px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.prod-link { font-size: 13px; font-weight: 600; color: var(--orange); display: flex; align-items: center; gap: 5px; transition: gap .12s; }
.prod-link:hover { gap: 9px; }
.prod-link i { font-size: 12px; }

.products-cta { text-align: center; margin-top: 44px; }

/* ============================================================
   WHY CHOOSE US
============================================================ */
.why { background: var(--navy-mid); }
.why-top {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 56px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.why-top .section-heading { color: #fff; margin-bottom: 0; }
.why-top .section-sub { color: rgba(255,255,255,.55); margin-top: 12px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: 8px; overflow: hidden; }
.why-item {
  background: var(--navy); padding: 36px 28px;
  transition: background .18s; position: relative;
}
.why-item:hover { background: rgba(255,255,255,.04); }
.why-num {
  font-size: 48px; font-weight: 800;
  background: var(--grad-orange);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; opacity: .2;
  line-height: 1; margin-bottom: 20px; font-variant-numeric: tabular-nums;
}
.why-item:hover .why-num { opacity: .45; }
.why-icon {
  width: 44px; height: 44px; border-radius: 8px;
  background: var(--grad-orange);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.why-icon i { font-size: 18px; color: #fff; }
.why-item h4 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.why-item p { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.7; }

/* ============================================================
   INDUSTRIES
============================================================ */
.industries-inner {
  display: grid; grid-template-columns: 36% 60%; gap: 64px; align-items: start;
}
.industries-left { position: sticky; top: 96px; }
.industries-left .section-sub { margin-bottom: 28px; }
.industries-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.industry-card {
  padding: 20px; background: var(--white);
  border: 1px solid var(--border); border-radius: 8px;
  border-left: 3px solid transparent;
  transition: all .18s;
}
.industry-card:hover { border-left-color: transparent; background: var(--orange-light); position: relative; }
.industry-card:hover::before { content:''; position:absolute; top:0; left:0; bottom:0; width:3px; background: var(--grad-orange); border-radius: 3px 0 0 3px; }
.industry-card:hover h4 { color: var(--orange); }
.industry-card h4 { font-size: 14px; font-weight: 700; color: var(--charcoal); margin-bottom: 5px; transition: color .15s; }
.industry-card p { font-size: 12px; color: var(--muted); line-height: 1.55; }

/* ============================================================
   CERTIFICATIONS STRIP
============================================================ */
.certs { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.certs-inner {
  display: flex; justify-content: center; align-items: stretch;
}
.cert-item {
  flex: 1; padding: 40px 36px;
  display: flex; align-items: center; gap: 18px;
  border-right: 1px solid var(--border);
}
.cert-item:last-child { border-right: none; }
.cert-icon {
  width: 52px; height: 52px; border-radius: 10px;
  background: var(--grad-orange); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cert-icon i { font-size: 22px; color: #fff; }
.cert-label { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.cert-value { font-size: 17px; font-weight: 800; color: var(--charcoal); margin-bottom: 2px; }
.cert-sub { font-size: 12px; color: var(--muted); }
.cert-download {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--orange);
  transition: gap .12s;
}
.cert-download:hover { gap: 8px; }
.cert-download i { font-size: 11px; }

/* ============================================================
   CONTACT
============================================================ */
.contact-inner {
  display: grid; grid-template-columns: 42% 54%; gap: 64px;
}
.contact-left { display: flex; flex-direction: column; }
.contact-left .section-sub { margin-bottom: 40px; }
.office-block { margin-bottom: 28px; }
.office-country {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--navy-mid); margin-bottom: 14px;
}
.office-country::before { content: ''; display: block; width: 20px; height: 2px; background: var(--grad-orange); border-radius: 2px; }
.office-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.office-row i { font-size: 13px; color: var(--orange); flex-shrink: 0; margin-top: 3px; width: 16px; text-align: center; }
.office-row span { font-size: 13.5px; color: var(--body); line-height: 1.5; }
.office-row a { color: var(--orange); font-weight: 600; transition: color .12s; }
.office-row a:hover { color: var(--orange-hover); }
.office-divider { height: 1px; background: var(--border); margin: 24px 0; }

/* Form */
.contact-form {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 36px;
}
.contact-form h3 { font-size: 20px; font-weight: 800; color: var(--charcoal); margin-bottom: 8px; }
.contact-form > p { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row + .form-row { margin-top: 16px; }
.form-field { display: flex; flex-direction: column; margin-bottom: 16px; }
.form-field label {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--charcoal); margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: 6px; font-family: var(--font);
  font-size: 14px; color: var(--charcoal);
  background: var(--white); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(253,93,20,.1);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field select { cursor: pointer; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #A0AEC0; }
.form-submit {
  width: 100%; display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px;
  background: var(--grad-orange); color: #fff;
  font-family: var(--font); font-size: 15px; font-weight: 700;
  border: none; border-radius: 6px; cursor: pointer;
  transition: background .15s; margin-top: 8px;
}
.form-submit:hover { background: var(--orange-hover); }
.form-submit i { font-size: 14px; }

/* ============================================================
   TIMELINE (About page)
============================================================ */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 2px; background: var(--border);
}
.timeline-item {
  position: relative; padding-bottom: 36px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -39px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--grad-orange); border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--orange);
}
.timeline-year {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--orange); text-transform: uppercase; margin-bottom: 4px;
}
.timeline-item h4 { font-size: 15px; font-weight: 700; color: var(--charcoal); margin-bottom: 4px; }
.timeline-item p { font-size: 13px; color: var(--body); line-height: 1.6; }

/* ============================================================
   TEAM CARDS
============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
  transition: border-color .18s, transform .18s;
}
.team-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.team-img { height: 220px; background: var(--bg); overflow: hidden; }
.team-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-body { padding: 18px 20px; }
.team-body h4 { font-size: 15px; font-weight: 700; color: var(--charcoal); margin-bottom: 3px; }
.team-role { font-size: 12px; font-weight: 600; color: var(--orange); margin-bottom: 8px; }
.team-body p { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ============================================================
   VALUES GRID
============================================================ */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card {
  padding: 32px 28px; background: var(--white);
  border: 1px solid var(--border); border-radius: 8px;
  transition: border-color .18s;
}
.value-card:hover { border-color: var(--orange); }
.value-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--grad-orange);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.value-icon i { font-size: 20px; color: #fff; }
.value-card h4 { font-size: 16px; font-weight: 700; color: var(--charcoal); margin-bottom: 10px; }
.value-card p { font-size: 13px; color: var(--body); line-height: 1.7; }

/* ============================================================
   GALLERY
============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item {
  border-radius: 8px; overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 1;
  cursor: pointer; position: relative;
}
.gallery-item.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery-item.wide { grid-column: span 2; aspect-ratio: auto; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(0,40,85,.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 24px; color: #fff; }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 3000;
  background: rgba(0,0,0,.9);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 90vh; border-radius: 4px; display: block; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; cursor: pointer;
  color: #fff; font-size: 28px;
}

/* ============================================================
   STATS BAR
============================================================ */
.stats-bar { background: var(--navy); padding: 56px 0; }
.stats-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: 8px; overflow: hidden; }
.stat-block { padding: 36px 28px; background: var(--navy); text-align: center; }
.stat-num {
  font-size: 40px; font-weight: 800; line-height: 1;
  background: var(--grad-orange);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 8px;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,.5); font-weight: 500; }

/* ============================================================
   MAP PLACEHOLDER
============================================================ */
.map-placeholder {
  width: 100%; height: 320px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  color: var(--muted);
}
.map-placeholder i { font-size: 36px; color: var(--border); }
.map-placeholder p { font-size: 13px; }

/* ============================================================
   CTA BAND
============================================================ */
.cta-band {
  background: var(--grad);
  padding: 72px 0;
}
.cta-band-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.cta-band h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800; color: #fff; line-height: 1.2;
  max-width: 560px;
}
.cta-band p { font-size: 15px; color: rgba(255,255,255,.65); margin-top: 10px; }
.cta-band-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: var(--navy);
  border-top: 3px solid var(--orange);
}
.footer-main {
  padding: 72px 0 56px;
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
  gap: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .nav-logo { margin-bottom: 18px; }
.footer-brand .logo-text strong { color: #fff; }
.footer-brand .logo-mark { background: var(--orange); }
.footer-brand .logo-mark::after { display: none; }
.footer-brand .logo-text span { color: rgba(255,255,255,.4); }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.8; margin-bottom: 22px; }
.footer-social { display: flex; gap: 8px; }
.social-link {
  width: 34px; height: 34px; border-radius: 6px;
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.social-link:hover { background: var(--orange); border-color: var(--orange); }
.social-link i { font-size: 14px; color: rgba(255,255,255,.5); transition: color .15s; }
.social-link:hover i { color: #fff; }
.footer-col h6 {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 13.5px; color: rgba(255,255,255,.55); transition: color .12s; }
.footer-col ul li a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 10px; }
.footer-contact-item i { font-size: 12px; color: rgba(255,255,255,.4); flex-shrink: 0; margin-top: 3px; width: 14px; text-align: center; }
.footer-contact-item span { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.5; }
.footer-contact-item a { color: rgba(255,255,255,.5); transition: color .12s; }
.footer-contact-item a:hover { color: #fff; }
.footer-bottom {
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.3); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 12px; color: rgba(255,255,255,.3); transition: color .12s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* ============================================================
   MOBILE DRAWER
============================================================ */
.mobile-drawer {
  display: none; position: fixed; inset: 0; z-index: 2000;
}
.drawer-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 300px;
  background: var(--white); overflow-y: auto; padding: 24px;
  transform: translateX(100%); transition: transform .25s ease;
}
.drawer-panel.open { transform: translateX(0); }
.drawer-close {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}
.drawer-close button {
  width: 32px; height: 32px; background: var(--bg); border: none;
  border-radius: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.drawer-close button i { font-size: 16px; color: var(--charcoal); }
.drawer-links { display: flex; flex-direction: column; gap: 2px; }
.drawer-link {
  display: block; padding: 12px 14px; border-radius: 6px;
  font-size: 14px; font-weight: 500; color: var(--charcoal);
  transition: background .12s;
}
.drawer-link:hover { background: var(--bg); color: var(--blue); }
.drawer-sep { height: 1px; background: var(--border); margin: 10px 0; }
.drawer-cta { margin-top: 20px; display: block; width: 100%; text-align: center; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .wrap { padding: 0 24px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-left { padding: 64px 0 32px; }
  .hero-right { display: none; }
  .about-inner { grid-template-columns: 1fr; }
  .about-img { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .industries-inner { grid-template-columns: 1fr; }
  .industries-left { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .topbar-right { display: none; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item.wide { grid-column: span 1; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .cta-band-actions { justify-content: center; }
  .stats-bar-inner { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .topbar { display: none; }
  .nav-links, .nav-actions .btn, .nav-phone { display: none; }
  .hamburger { display: flex; }
  .mobile-drawer { display: block; }
  .hero-title { font-size: 30px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hstat { border-right: none; margin-right: 0; padding-right: 0; }
  .prod-panel.active { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .certs-inner { flex-direction: column; }
  .cert-item { border-right: none; border-bottom: 1px solid var(--border); }
  .cert-item:last-child { border-bottom: none; }
  .contact-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.tall { grid-row: span 1; }
  .stats-bar-inner { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .prod-panel.active { grid-template-columns: 1fr; }
  .prod-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PRODUCT DETAIL PAGE
============================================================ */
.prod-detail-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}
.prod-gallery { position: sticky; top: 96px; }
.prod-main-img {
  width: 100%; aspect-ratio: 4/3;
  border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; background: var(--bg); margin-bottom: 12px;
}
.prod-main-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prod-thumbs { display: flex; gap: 10px; }
.prod-thumb {
  width: 80px; height: 64px; border-radius: 6px;
  border: 2px solid var(--border); overflow: hidden;
  cursor: pointer; background: var(--bg); flex-shrink: 0;
  transition: border-color .15s;
}
.prod-thumb.active, .prod-thumb:hover { border-color: var(--orange); }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prod-detail-body { display: flex; flex-direction: column; }
.prod-detail-cat {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 10px;
}
.prod-detail-body h1 {
  font-size: clamp(22px, 3vw, 34px); font-weight: 800;
  color: var(--charcoal); line-height: 1.2; margin-bottom: 16px;
}
.prod-detail-desc { font-size: 15px; color: var(--body); line-height: 1.8; margin-bottom: 24px; }
.prod-badges-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.prod-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 6px;
  background: var(--orange-light); border: 1px solid rgba(253,93,20,.2);
  font-size: 12px; font-weight: 600; color: var(--orange);
}
.prod-badge i { font-size: 12px; }
.prod-detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.prod-spec-section { border-top: 1px solid var(--border); padding-top: 28px; margin-bottom: 28px; }
.prod-spec-title {
  font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--charcoal); margin-bottom: 16px;
}
.prod-features { display: flex; flex-direction: column; gap: 10px; }
.prod-feature {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 6px;
}
.prod-feature i { font-size: 13px; color: var(--orange); margin-top: 2px; flex-shrink: 0; }
.prod-feature span { font-size: 13.5px; color: var(--body); line-height: 1.5; }
.prod-feature span strong { color: var(--charcoal); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 10px 0; vertical-align: top; }
.spec-table td:first-child { color: var(--muted); font-weight: 500; width: 45%; }
.spec-table td:last-child { color: var(--charcoal); font-weight: 600; }
.material-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.material-chip {
  padding: 6px 14px; border-radius: 20px;
  border: 1.5px solid var(--border);
  font-size: 12px; font-weight: 600; color: var(--body);
  transition: all .15s; cursor: default;
}
.material-chip.active { border-color: var(--orange); color: var(--orange); background: var(--orange-light); }
.material-chip:hover { border-color: var(--orange); color: var(--orange); }
.enquiry-card {
  background: var(--navy); border-radius: 8px; padding: 24px;
  margin-top: 28px; display: flex; align-items: center; gap: 16px;
}
.enquiry-card-icon { width: 44px; height: 44px; border-radius: 8px; background: var(--grad-orange); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.enquiry-card-icon i { font-size: 18px; color: #fff; }
.enquiry-card-text strong { display: block; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.enquiry-card-text span { font-size: 12px; color: rgba(255,255,255,.5); }
.enquiry-card .btn { margin-left: auto; flex-shrink: 0; }
/* Tabs inside product detail */
.detail-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 28px; }
.detail-tab {
  padding: 10px 20px; font-size: 13.5px; font-weight: 600;
  color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: all .15s;
}
.detail-tab.active { color: var(--orange); border-bottom-color: var(--orange); }
.detail-tab-panel { display: none; }
.detail-tab-panel.active { display: block; }

@media (max-width: 1024px) {
  .prod-detail-layout { grid-template-columns: 1fr; }
  .prod-gallery { position: static; }
}

/* ============================================================
   BLOG LISTING PAGE
============================================================ */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.blog-featured {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden; margin-bottom: 28px;
  display: grid; grid-template-columns: 1.2fr 1fr;
  transition: border-color .18s, box-shadow .18s;
}
.blog-featured:hover { border-color: var(--orange); box-shadow: 0 4px 24px rgba(253,93,20,.1); }
.blog-featured-img { height: 100%; min-height: 300px; overflow: hidden; }
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.blog-featured:hover .blog-featured-img img { transform: scale(1.03); }
.blog-featured-body { padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.blog-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
  transition: border-color .18s, transform .18s, box-shadow .18s;
  display: flex; flex-direction: column;
}
.blog-card:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(253,93,20,.1); }
.blog-card-img { height: 180px; overflow: hidden; background: var(--bg); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.blog-cat {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--orange); padding: 3px 9px;
  background: var(--orange-light); border-radius: 3px;
}
.blog-date { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.blog-date i { font-size: 10px; }
.blog-read-time { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.blog-read-time i { font-size: 10px; }
.blog-card-body h3 { font-size: 15px; font-weight: 700; color: var(--charcoal); line-height: 1.35; margin-bottom: 10px; }
.blog-card-body p { font-size: 13px; color: var(--body); line-height: 1.65; flex: 1; }
.blog-card-footer {
  padding: 12px 20px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.blog-author { display: flex; align-items: center; gap: 8px; }
.blog-author-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.blog-author-name { font-size: 12px; font-weight: 600; color: var(--charcoal); }
/* Sidebar */
.blog-sidebar { position: sticky; top: 96px; }
.sidebar-widget { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 22px; margin-bottom: 20px; }
.sidebar-widget h5 { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--charcoal); margin-bottom: 16px; }
.sidebar-cats { display: flex; flex-direction: column; gap: 4px; }
.sidebar-cat {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 12px; border-radius: 6px;
  font-size: 13.5px; color: var(--body); transition: all .12s; cursor: pointer;
}
.sidebar-cat:hover { background: var(--orange-light); color: var(--orange); }
.sidebar-cat-count {
  font-size: 11px; font-weight: 700; color: var(--muted);
  background: var(--bg); padding: 2px 7px; border-radius: 10px;
}
.sidebar-recent { display: flex; flex-direction: column; gap: 14px; }
.sidebar-recent-item { display: flex; gap: 12px; }
.sidebar-recent-img { width: 56px; height: 44px; border-radius: 5px; overflow: hidden; flex-shrink: 0; background: var(--bg); }
.sidebar-recent-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sidebar-recent-text h6 { font-size: 12.5px; font-weight: 600; color: var(--charcoal); line-height: 1.35; margin-bottom: 3px; }
.sidebar-recent-text h6 a:hover { color: var(--orange); }
.sidebar-recent-text span { font-size: 11px; color: var(--muted); }
.sidebar-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.sidebar-tag {
  padding: 5px 11px; border-radius: 4px; border: 1px solid var(--border);
  font-size: 12px; font-weight: 500; color: var(--body);
  cursor: pointer; transition: all .12s;
}
.sidebar-tag:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-light); }
/* Pagination */
.pagination { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 40px; }
.page-btn {
  width: 38px; height: 38px; border-radius: 6px;
  border: 1.5px solid var(--border); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: var(--body);
  cursor: pointer; transition: all .15s;
}
.page-btn:hover, .page-btn.active { border-color: var(--orange); color: var(--orange); background: var(--orange-light); }
.page-btn.active { background: var(--grad-orange); border-color: transparent; color: #fff; }

@media (max-width: 1024px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { min-height: 240px; }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BLOG DETAIL PAGE
============================================================ */
.blog-detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
.blog-detail-header { margin-bottom: 32px; }
.blog-detail-header h1 {
  font-size: clamp(24px, 3.5vw, 40px); font-weight: 800;
  color: var(--charcoal); line-height: 1.2; margin-bottom: 20px;
}
.blog-detail-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.blog-detail-author { display: flex; align-items: center; gap: 10px; }
.blog-detail-author-img {
  width: 40px; height: 40px; border-radius: 50%;
  overflow: hidden; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.blog-detail-author-info strong { display: block; font-size: 13px; font-weight: 700; color: var(--charcoal); }
.blog-detail-author-info span { font-size: 11px; color: var(--muted); }
.blog-detail-meta-item { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); }
.blog-detail-meta-item i { font-size: 11px; }
/* Article content */
.article-body { font-size: 15.5px; line-height: 1.85; color: var(--body); }
.article-body h2 {
  font-size: clamp(18px, 2.5vw, 26px); font-weight: 800;
  color: var(--charcoal); margin: 40px 0 16px;
  padding-top: 8px; border-top: 2px solid var(--border);
}
.article-body h3 {
  font-size: 18px; font-weight: 700;
  color: var(--charcoal); margin: 28px 0 12px;
}
.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 20px; }
.article-body li { margin-bottom: 8px; line-height: 1.7; }
.article-body ul li::marker { color: var(--orange); }
.article-body strong { color: var(--charcoal); }
.article-body a { color: var(--orange); text-decoration: underline; }
.article-img {
  width: 100%; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--border); margin: 28px 0;
}
.article-img img { width: 100%; height: auto; display: block; }
.article-img figcaption { font-size: 12px; color: var(--muted); text-align: center; padding: 10px 16px; background: var(--bg); }
.article-callout {
  border-left: 3px solid var(--orange); background: var(--orange-light);
  padding: 18px 20px; border-radius: 0 6px 6px 0;
  margin: 24px 0; font-size: 14.5px; color: var(--charcoal);
}
.article-callout strong { color: var(--orange); }
.article-table-wrap { overflow-x: auto; margin: 24px 0; }
.article-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.article-table th { background: var(--navy); color: #fff; padding: 12px 14px; text-align: left; font-weight: 600; font-size: 12px; letter-spacing: .5px; }
.article-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); color: var(--body); }
.article-table tr:hover td { background: var(--bg); }
/* Share bar */
.share-bar { display: flex; align-items: center; gap: 12px; padding: 20px 0; border-top: 1px solid var(--border); margin-top: 40px; }
.share-bar span { font-size: 13px; font-weight: 600; color: var(--charcoal); }
.share-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 6px; border: 1.5px solid var(--border);
  font-size: 12px; font-weight: 600; color: var(--body); cursor: pointer;
  transition: all .15s;
}
.share-btn:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-light); }
.share-btn i { font-size: 13px; }
/* Author bio box */
.author-bio {
  border: 1px solid var(--border); border-radius: 8px;
  padding: 24px; display: flex; gap: 18px;
  margin-top: 36px; background: var(--bg);
}
.author-bio-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.author-bio-text h5 { font-size: 15px; font-weight: 700; color: var(--charcoal); margin-bottom: 2px; }
.author-bio-text .author-title { font-size: 12px; color: var(--orange); font-weight: 600; margin-bottom: 8px; }
.author-bio-text p { font-size: 13px; color: var(--body); line-height: 1.65; }
/* Related posts */
.related-posts { margin-top: 56px; }
.related-posts h4 { font-size: 20px; font-weight: 800; color: var(--charcoal); margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* TOC sticky sidebar in article */
.toc-widget { position: sticky; top: 96px; }
.toc-list { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.toc-link {
  display: block; padding: 7px 10px; border-radius: 4px;
  font-size: 12.5px; color: var(--body); transition: all .12s;
  border-left: 2px solid transparent;
}
.toc-link:hover, .toc-link.active { background: var(--orange-light); color: var(--orange); border-left-color: var(--orange); }

@media (max-width: 1024px) {
  .blog-detail-layout { grid-template-columns: 1fr; }
  .toc-widget { display: none; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .related-grid { grid-template-columns: 1fr; }
  .share-bar { flex-wrap: wrap; }
  .author-bio { flex-direction: column; }
}
