/* ============================================================
   BMY Broom Factory — Global Stylesheet
   Redesign v2.0 · 2026-09
   ============================================================ */

:root {
  --blue-900: #07293F;
  --blue-800: #0A3A5A;
  --blue-700: #0E4E7E;
  --blue-600: #1470A8;
  --brand: #1C92CC;
  --brand-dark: #1681B7;
  --green-500: #25D366;
  --gray-50: #F6F8FA;
  --gray-100: #EDF1F5;
  --gray-200: #DDE4EC;
  --ink-900: #1A2433;
  --ink-700: #3D4C5E;
  --ink-600: #5A6B7F;
  --white: #FFFFFF;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 30px rgba(11, 42, 74, .08);
  --shadow-lg: 0 16px 50px rgba(11, 42, 74, .14);
  --container: 1200px;
  --header-h: 76px;
  --font-head: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html, body { overflow-x: hidden; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand); }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink-900); line-height: 1.25; font-weight: 800; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 15px; letter-spacing: .02em;
  border: 2px solid transparent; cursor: pointer; transition: all .25s ease;
  text-decoration: none; line-height: 1.2;
}
.btn-primary { background: var(--brand-dark); color: #fff; border-color: var(--brand-dark); }
.btn-primary:hover { background: #1070A2; border-color: #1070A2; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(28,146,204,.35); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.btn-outline-dark { background: transparent; color: var(--blue-700); border-color: var(--blue-700); }
.btn-outline-dark:hover { background: var(--blue-700); color: #fff; }
.btn-wa { background: var(--green-500); color: #fff; border-color: var(--green-500); }
.btn-wa:hover { background: #1EBE5B; border-color: #1EBE5B; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(37,211,102,.35); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--blue-900); color: rgba(255,255,255,.85);
  font-size: 13px; padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar-links { display: flex; gap: 22px; }
.topbar a { color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar .ico { width: 14px; height: 14px; flex: none; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: #fff; position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 1px 0 var(--gray-200); transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(7,41,63,.10); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 48px; width: auto; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--blue-900); line-height: 1.15; }
.brand-name em { font-style: normal; color: var(--brand); }
.brand-name small { display: block; font-size: 11px; font-weight: 600; color: var(--ink-600); letter-spacing: .12em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 4px; position: relative; }
.main-nav > li { list-style: none; position: relative; }
.main-nav > li > a {
  display: block; padding: 10px 16px; font-weight: 700; font-size: 15px;
  color: var(--ink-900); border-radius: var(--radius-sm);
}
.main-nav > li > a:hover, .main-nav > li.active > a { color: var(--brand); }
.main-nav > li.active > a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 3px;
  background: var(--brand); border-radius: 3px;
}
/* sliding underline: JS swaps the static ::after for one shared bar that
   glides between items (across page loads too, via sessionStorage) */
.main-nav.nav-slide > li.active > a::after { display: none; }
.nav-indicator {
  position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--brand); border-radius: 3px;
  pointer-events: none; z-index: 1;
}
.nav-indicator.animate {
  transition: transform .45s cubic-bezier(.22,.61,.36,1), width .45s cubic-bezier(.22,.61,.36,1);
}
/* dropdown */
.main-nav .sub {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 230px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .25s ease; z-index: 50;
}
.main-nav li:hover .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub li { list-style: none; }
.main-nav .sub a { display: block; padding: 10px 14px; font-weight: 600; font-size: 14px; color: var(--ink-700); border-radius: var(--radius-sm); }
.main-nav .sub a:hover { background: var(--gray-50); color: var(--brand); }

.nav-cta { flex: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--blue-900); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden; background: var(--blue-900);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--hero-bg);
  background-size: cover; background-position: center;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(7,41,63,.96) 0%, rgba(10,58,90,.92) 45%, rgba(28,146,204,.45) 100%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 84px 0 96px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(28,146,204,.16); border: 1px solid rgba(28,146,204,.5);
  color: #8FD4F0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: clamp(32px, 4.2vw, 52px); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p.lead { font-size: 18px; color: rgba(255,255,255,.88); max-width: 560px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-figure { position: relative; }
.hero-figure img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.hero-badge {
  position: absolute; left: -18px; bottom: 26px;
  background: #fff; color: var(--ink-900); border-radius: var(--radius);
  padding: 14px 20px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
}
.hero-badge .num { font-size: 30px; font-weight: 800; color: var(--brand); font-family: var(--font-head); line-height: 1; }
.hero-badge .lbl { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-600); }

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--blue-900); color: #fff;
  margin-top: -1px; position: relative;
}
.stats-strip::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 200px at 85% 0%, rgba(28,146,204,.18), transparent 60%);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 34px 0; position: relative; }
.stat { text-align: center; padding: 6px 12px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.14); }
.stat .num { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; font-family: var(--font-head); color: #fff; line-height: 1.1; }
.stat .num span { color: var(--brand); }
.stat .lbl { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-top: 6px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--gray-50); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head .kicker {
  display: inline-block; color: var(--brand); font-size: 13px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 14px; }
.section-head p { color: var(--ink-600); font-size: 17px; }
.section-head.left { text-align: left; margin-left: 0; }

/* ---------- Product cards ---------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column; border: 1px solid var(--gray-100);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card .thumb { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--gray-50); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card .tag {
  position: absolute; top: 14px; left: 14px; background: rgba(7,41,63,.85); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; backdrop-filter: blur(4px);
}
.product-card .body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-card h3 { font-size: 21px; }
.product-card .desc { font-size: 14.5px; color: var(--ink-600); flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: var(--gray-50); border: 1px solid var(--gray-200); color: var(--ink-700);
  font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 999px;
}
.product-card .more { font-weight: 800; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Feature cards / Why choose ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.custom-dimensions-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-card {
  background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-card .ico {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-700), var(--brand)); margin-bottom: 20px;
}
.feature-card .ico svg { width: 28px; height: 28px; stroke: #fff; }
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: var(--ink-600); }

/* ---------- Process timeline ---------- */
.process { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 20px; position: relative; }
.process::before {
  content: ""; position: absolute; top: 27px; left: 10%; right: 10%;
  height: 2px; background: linear-gradient(90deg, var(--blue-700), var(--brand)); opacity: .3;
}
.step { text-align: center; position: relative; padding: 0 6px; flex: 1 1 180px; max-width: 220px; min-width: 136px; }
.step .n {
  width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%;
  background: #fff; border: 2px solid var(--blue-700); color: var(--blue-700);
  display: grid; place-items: center; font-weight: 800; font-size: 18px; font-family: var(--font-head);
  position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--gray-50);
}
.step:hover .n { background: var(--brand); border-color: var(--brand); color: #fff; }
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--ink-600); }

/* ---------- Certifications ---------- */
.certs-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.cert-item {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  min-height: 138px; padding: 14px 10px; text-align: center; transition: all .3s;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.cert-item:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: var(--shadow); }
.cert-item img { height: 64px; max-width: 100%; width: auto; margin: 0 auto 8px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: all .3s; }
.cert-item:hover img { filter: none; opacity: 1; }
.cert-item .name { font-size: 12.5px; font-weight: 800; color: var(--ink-900); letter-spacing: .04em; }

/* ---------- Split media section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .media { position: relative; }
.split .media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.sgs-proof-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 22px 96px 22px 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #eef7fb 0%, #dcecf5 100%);
  box-shadow: var(--shadow-lg);
}
.sgs-proof-frame::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  top: -88px;
  right: -48px;
  border-radius: 50%;
  background: rgba(28, 146, 204, .14);
}
.sgs-proof-frame::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 8px;
  right: 25px;
  top: 50%;
  border-radius: 10px;
  background: var(--brand);
  opacity: .85;
  transform: rotate(-32deg);
}
.split .sgs-proof-frame img {
  position: relative;
  z-index: 1;
  width: auto;
  height: 100%;
  aspect-ratio: auto;
  max-width: 76%;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 14px 30px rgba(7, 41, 63, .18);
  transform: rotate(-2deg);
}
.sgs-proof-label {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 24px;
  width: 92px;
  color: var(--blue-800);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.sgs-proof-label::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 8px;
  border-radius: 4px;
  background: #f47b38;
}
.split h2 { font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 18px; }
.split p + p { margin-top: 14px; }
.checklist { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.checklist .ck {
  flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 2px;
  background: rgba(28,146,204,.12); display: grid; place-items: center;
}
.checklist .ck svg { width: 13px; height: 13px; stroke: var(--brand); }

/* ---------- Gallery grid ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery img { border-radius: var(--radius-sm); aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .4s, box-shadow .4s; cursor: pointer; }
.gallery img:hover { transform: scale(1.04); box-shadow: var(--shadow-lg); }

/* ---------- News listing ---------- */
.news-featured {
  position: relative; display: grid; grid-template-columns: 1.05fr 1fr; background: #fff;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--gray-100); margin-bottom: 46px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.news-featured:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(28,146,204,.35); }
.news-featured .thumb { position: relative; overflow: hidden; min-height: 320px; }
.news-featured .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.news-featured:hover .thumb img { transform: scale(1.045); }
.news-featured .cat, .news-card .cat {
  position: absolute; background: rgba(7,41,63,.88); color: #fff; backdrop-filter: blur(4px);
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px; white-space: nowrap;
}
.news-featured .cat { left: 18px; bottom: 18px; }
.news-featured .body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 13px; }
.news-featured .meta, .news-card .meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; color: var(--ink-600);
  letter-spacing: .05em; text-transform: uppercase;
}
.news-featured .meta svg { flex: none; opacity: .55; }
.news-featured .meta .dot, .news-card .meta .dot { opacity: .4; }
.news-featured h2 { font-size: clamp(21px, 2.2vw, 28px); line-height: 1.3; }
.news-featured p {
  color: var(--ink-600); font-size: 15.5px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-featured .more, .news-card .more {
  font-weight: 800; display: inline-flex; align-items: center; gap: 7px;
}
.news-featured .more { font-size: 15px; color: var(--blue-700); }
.news-featured .more svg, .news-card .more svg { transition: transform .25s ease; }
.news-featured:hover .more svg, .news-card:hover .more svg { transform: translateX(4px); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  position: relative; background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(28,146,204,.35); }
.news-card .thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--gray-50); }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .thumb img { transform: scale(1.05); }
.news-card .cat { top: 12px; left: 12px; }
.news-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: 1; }
.news-card h3 { font-size: 18.5px; line-height: 1.35; }
.news-card h3 a { color: inherit; }
.news-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.news-card:hover h3 a { color: var(--blue-700); }
.news-card p {
  font-size: 14px; color: var(--ink-600); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card .more { position: relative; z-index: 2; margin-top: auto; font-size: 14px; color: var(--blue-700); }

/* news grid CTA tile (fills the 6th cell, drives inquiries) */
.news-cta {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(140deg, var(--blue-900), var(--blue-700));
  padding: 32px 28px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 13px;
}
.news-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(340px 200px at 88% 12%, rgba(28,146,204,.35), transparent 65%);
}
.news-cta h3 { color: #fff; font-size: 21px; position: relative; }
.news-cta p { color: rgba(255,255,255,.82); font-size: 14.5px; position: relative; }
.news-cta .actions { position: relative; display: grid; gap: 10px; width: 100%; margin-top: 6px; }
.news-cta .btn { width: 100%; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue-900), var(--blue-700));
  border-radius: var(--radius); color: #fff; padding: 56px 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 260px at 90% 20%, rgba(28,146,204,.25), transparent 60%);
}
.cta-band h2 { color: #fff; font-size: clamp(22px, 2.6vw, 32px); margin-bottom: 8px; position: relative; }
.cta-band p { color: rgba(255,255,255,.8); position: relative; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }

/* ---------- Page header (inner pages) ---------- */
.page-head {
  position: relative; color: #fff; padding: 72px 0 64px; background: var(--blue-900); overflow: hidden;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--ph-bg);
  background-size: cover; background-position: center;
}
.page-head::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(7,41,63,.96), rgba(14,78,126,.92));
}
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 10px; }
.page-head p { color: rgba(255,255,255,.8); font-size: 17px; max-width: 640px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; font-weight: 600; margin-bottom: 18px; color: var(--ink-600); }
.breadcrumb a { color: var(--blue-700); }
.breadcrumb a:hover { color: var(--brand); }
.page-head .breadcrumb { color: rgba(255,255,255,.65); }
.page-head .breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb .sep { opacity: .5; }

/* ---------- Spec table ---------- */
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 15px; }
.spec-table th, .spec-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--gray-100); vertical-align: top; overflow-wrap: anywhere; }
.spec-table th { background: var(--gray-50); color: var(--ink-900); font-weight: 700; }
.spec-table tbody > tr > th { width: 38%; }
.spec-table thead th { width: auto; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table tr:hover td, .spec-table tr:hover th { background: rgba(28,146,204,.04); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.comparison-table { min-width: 760px; table-layout: fixed; }
.comparison-table thead th { background: var(--blue-900); color: #fff; border-bottom-color: var(--blue-900); vertical-align: middle; }
.comparison-table thead th:first-child,
.comparison-table tbody > tr > th { width: 18%; }
.comparison-table thead th:not(:first-child) { width: 27.333%; }
.comparison-table tbody th { white-space: normal; }
.comparison-table td, .comparison-table th { line-height: 1.55; }

/* ---------- Product detail gallery ---------- */
.pd-layout { display: grid; grid-template-columns: minmax(0, 520px) 1fr; gap: 44px; align-items: start; }
.pd-main-img {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--gray-200); aspect-ratio: 1; box-shadow: var(--shadow);
}
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.pd-thumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.pd-thumbs button {
  border: 2px solid var(--gray-200); border-radius: var(--radius-sm); overflow: hidden;
  background: none; padding: 0; cursor: pointer; aspect-ratio: 1;
  flex: 0 0 calc((100% - 50px) / 6); max-width: calc((100% - 50px) / 6);
}
.pd-thumbs.thumbs-5 button { flex-basis: calc((100% - 40px) / 5); max-width: calc((100% - 40px) / 5); }
.pd-thumbs.thumbs-7 button { flex-basis: calc((100% - 60px) / 7); max-width: calc((100% - 60px) / 7); }
.pd-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs button.active, .pd-thumbs button:hover { border-color: var(--brand); }
.pd-info h1 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.pd-info .pd-sub { color: var(--ink-600); font-size: 16.5px; margin-bottom: 20px; }
.pd-price-note {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(28,146,204,.09);
  border: 1px dashed rgba(28,146,204,.5); color: var(--brand-dark);
  font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: var(--radius-sm); margin-bottom: 22px;
}
.pd-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 24px 0; }
.pd-points { list-style: none; display: grid; gap: 10px; margin-bottom: 8px; }
.pd-points li { display: flex; gap: 10px; font-size: 15px; }
.pd-points .dot { color: var(--brand); font-weight: 800; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 18px 24px; font-weight: 700; font-size: 16px; color: var(--ink-900);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 22px; font-weight: 600; color: var(--brand); transition: transform .3s; flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 20px; color: var(--ink-600); font-size: 15px; }

/* ---------- Forms ---------- */
.inquiry-form {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 40px; border-top: 4px solid var(--brand);
}
.inquiry-form h3 { font-size: 22px; margin-bottom: 6px; }
.inquiry-form .sub { font-size: 14px; color: var(--ink-600); margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink-900); margin-bottom: 6px; }
.field label .req { color: #E04545; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: 15px; font-family: var(--font-body); color: var(--ink-900); background: var(--gray-50);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--ink-600); margin-top: 12px; }

/* ---------- Contact cards ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card {
  background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 30px;
  text-align: center; box-shadow: var(--shadow);
}
.contact-card .ico { width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%; background: rgba(14,78,126,.08); display: grid; place-items: center; }
.contact-card .ico svg { width: 26px; height: 26px; stroke: var(--blue-700); }
.contact-card h3 { font-size: 17px; margin-bottom: 8px; }
.contact-card p, .contact-card a { font-size: 15px; color: var(--ink-600); word-break: break-word; }
.contact-card a { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: rgba(255,255,255,.75); padding: 72px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; letter-spacing: .04em; }
.f-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.f-brand img { height: 46px; width: 46px; flex: none; background: #fff; border-radius: 11px; padding: 5px; box-sizing: border-box; }
.f-brand-text { font-family: var(--font-head); font-weight: 800; font-size: 19px; color: #fff; line-height: 1.2; }
.f-brand-text em { font-style: normal; color: var(--brand); }
.f-brand-text small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.site-footer img.f-logo { height: 44px; margin-bottom: 18px; background: #fff; border-radius: 8px; padding: 6px 10px; }
.site-footer p { font-size: 14px; line-height: 1.8; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.75); }
.footer-links a:hover { color: var(--brand); padding-left: 4px; }
.footer-contact { list-style: none; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact a { color: rgba(255,255,255,.88); overflow-wrap: anywhere; }
.footer-contact span { overflow-wrap: anywhere; }
.footer-contact a:hover { color: #fff; }
.footer-contact .ico { width: 18px; height: 18px; flex: none; margin-top: 3px; stroke: var(--brand); }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: grid; place-items: center; transition: background .25s, transform .25s;
}
.footer-social a:hover { background: var(--brand); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.55); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 1200;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--green-500); color: #fff; font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: 999px; box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: transform .25s, box-shadow .25s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); color: #fff; box-shadow: 0 14px 36px rgba(37,211,102,.6); }
.wa-float svg { width: 22px; height: 22px; fill: #fff; }
.wa-float::before {
  content: ""; position: absolute; inset: -4px; border-radius: 999px;
  border: 2px solid rgba(37,211,102,.5); animation: waPulse 2s infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 1; }
  70%, 100% { transform: scale(1.18); opacity: 0; }
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 96px; z-index: 1100;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--blue-900); color: #fff; font-size: 18px;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s;
  box-shadow: var(--shadow-lg);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(8,18,32,.92);
  display: none; align-items: center; justify-content: center; padding: 40px; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 1000px); max-height: 88vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox .close {
  position: absolute; top: 24px; right: 30px; background: none; border: 0; color: #fff;
  font-size: 40px; cursor: pointer; line-height: 1;
}

/* ---------- Article ---------- */
.article-layout {
  display: grid; grid-template-columns: 220px minmax(0, 800px);
  gap: 64px; justify-content: center; align-items: start;
}
.breadcrumb-light { color: var(--ink-600); margin-bottom: 24px; }
.breadcrumb-light a { color: var(--ink-700); }
.breadcrumb-light a:hover { color: var(--brand); }
.breadcrumb-light .sep { opacity: .45; }
.breadcrumb-light .current { color: var(--ink-900); font-weight: 700; }

/* sticky table of contents (left rail on article pages) */
.toc { position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 14px; }
.toc-title {
  font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-600); padding-left: 18px;
}
.toc ul { list-style: none; display: grid; gap: 2px; border-left: 2px solid var(--gray-200); }
.toc a {
  display: block; padding: 7px 18px; font-size: 13.5px; font-weight: 600;
  color: var(--ink-600); line-height: 1.45;
  border-left: 2px solid transparent; margin-left: -2px;
}
.toc a:hover { color: var(--brand); }
.toc a.active {
  color: var(--brand-dark); font-weight: 700; border-left-color: var(--brand);
  background: linear-gradient(90deg, rgba(28,146,204,.08), transparent 80%);
}
.toc-back {
  display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 0 18px;
  font-size: 13px; font-weight: 700; color: var(--ink-600);
}
.toc-back:hover { color: var(--brand); }
.toc-back svg { transition: transform .25s; }
.toc-back:hover svg { transform: translateX(-3px); }

.article { max-width: 800px; }
.article h1 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.article .meta { color: var(--ink-600); font-size: 14px; margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.article h2 { font-size: 24px; margin: 34px 0 14px; scroll-margin-top: calc(var(--header-h) + 24px); }
.article h3 { font-size: 19px; margin: 26px 0 10px; }
.article p { margin-bottom: 16px; }
.article ul, .article ol { padding-left: 24px; margin-bottom: 16px; }
.article li { margin-bottom: 8px; }
.article .hero-img { border-radius: var(--radius); margin-bottom: 30px; box-shadow: var(--shadow); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; padding: 60px 0 72px; }
  .hero-badge { left: 12px; }
  .products-grid, .features-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .custom-dimensions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-featured { grid-template-columns: 1fr; }
  .news-featured .thumb { min-height: 260px; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  .process { gap: 28px 16px; }
  .process::before { display: none; }
  .certs-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pd-layout { grid-template-columns: 1fr; }
  .pd-main-img { max-width: 560px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .topbar .topbar-links { display: none; }
  .topbar .container { justify-content: center; }
  .nav-toggle { display: block; }
  .nav-toggle { position: relative; z-index: 1101; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .main-nav {
    position: fixed; top: 0; right: -100%; width: min(320px, 84vw); height: 100vh;
    background: #fff; flex-direction: column; align-items: stretch; padding: 90px 24px 30px;
    gap: 6px; box-shadow: var(--shadow-lg); transition: right .35s ease; overflow-y: auto; z-index: 1050;
  }
  .main-nav.open { right: 0; }
  .main-nav > li > a { padding: 14px 12px; border-bottom: 1px solid var(--gray-100); border-radius: 0; }
  .nav-indicator { display: none; }
  .main-nav.nav-slide > li.active > a::after {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 3px;
    background: var(--brand); border-radius: 3px;
  }
  .main-nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 6px 16px; }
  .nav-cta { display: none; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat + .stat { border-left: 0; }
  .section { padding: 60px 0; }
  .cta-band { padding: 40px 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .inquiry-form { padding: 26px 22px; }
  body.nav-open { overflow: hidden; }
  .nav-scrim {
    position: fixed; inset: 0; z-index: 900; background: rgba(7,41,63,.42);
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
  }
  .nav-scrim.open { opacity: 1; visibility: visible; }
}

@media (max-width: 680px) {
  .process { gap: 24px 12px; }
  .step { flex: 0 0 calc(50% - 6px); max-width: none; min-width: 0; }
}

@media (max-width: 560px) {
  .sgs-proof-frame { min-height: 330px; padding-right: 78px; }
  .split .sgs-proof-frame img { max-width: 74%; }
  .sgs-proof-label { right: 14px; bottom: 18px; width: 70px; font-size: 10px; }
  .sgs-proof-frame::after { right: 12px; width: 78px; }
  .products-grid, .features-grid, .gallery, .certs-strip { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .news-featured .thumb { min-height: 200px; }
  .news-featured .body { padding: 26px 24px 30px; }
  .container { padding-left: 18px; padding-right: 18px; }
  .site-header .container { gap: 12px; }
  .brand { gap: 8px; min-width: 0; }
  .brand img { height: 42px; }
  .brand-name { font-size: 17px; white-space: nowrap; }
  .brand-name small { font-size: 9px; letter-spacing: .1em; }
  .process { gap: 24px 12px; }
  .step { flex: 0 0 calc(50% - 6px); max-width: none; min-width: 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .pd-thumbs button { flex-basis: calc((100% - 20px) / 3); max-width: calc((100% - 20px) / 3); }
  .pd-thumbs.thumbs-7 button { flex-basis: calc((100% - 30px) / 4); max-width: calc((100% - 30px) / 4); }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .to-top { right: 18px; bottom: 82px; }
  .wa-float { right: 16px; bottom: 16px; }
  .pd-actions .btn, .cta-band .actions .btn { width: 100%; }
}

@media (max-width: 420px) {
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 34px; }
  .section-head p { font-size: 16px; }
  .products-grid, .features-grid, .certs-strip { grid-template-columns: 1fr; }
  .product-card .body { padding: 20px; }
  .feature-card { padding: 26px 22px; }
  .cert-item { min-height: 120px; }
  .hero-inner { padding: 48px 0 56px; }
  .hero h1 { font-size: clamp(29px, 9vw, 38px); }
  .hero p.lead { font-size: 16px; }
  .page-head { padding: 54px 0 48px; }
  .page-head p { font-size: 16px; }
  .cta-band { padding: 34px 22px; }
  .faq-item summary { padding: 16px 18px; font-size: 15px; }
  .faq-item .faq-body { padding: 0 18px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .nav-indicator { transition: none; }
  html { scroll-behavior: auto; }
}
