/* ============================================================
   GOLDPRIME GAME — Gaming Machines & Platform OEM/ODM
   Palette: Gold base (goldprime) + Cyan accent (gaming tech)
   Font: System stack only (zero external load)
   ============================================================ */

/* ---------- Reset & Design Tokens ---------- */
:root {
  /* === Primary palette (gold base) === */
  --primary: #F5B301;           /* Gold — CTAs, links */
  --primary-dark: #C9970A;
  --primary-soft: #FEF3D7;      /* light gold tint backgrounds */

  /* === Accent cyan (gaming-tech highlights, card borders) === */
  --accent: #22D3EE;            /* vivid cyan — card top-borders, badges */
  --accent-dark: #0E7490;
  --accent-soft: #CFFAFE;       /* pale cyan bg */
  --accent-pale: #ECFEFF;       /* page-level cyan tint */

  /* === Feature colors (4 product lines) === */
  --f-slot:    #F5B301;         /* Slot machines — gold */
  --f-fish:    #22D3EE;         /* Fish game — cyan */
  --f-push:    #FB923C;         /* Push-score / redemption — amber */
  --f-platform:#A78BFA;         /* Game platform — violet */

  /* === Gray scale === */
  --ink: #111827;               /* headings */
  --text: #374151;              /* body */
  --muted: #6b7280;             /* secondary */
  --subtle: #9ca3af;            /* placeholders */
  --line: #e5e7eb;              /* borders */
  --line-gold: #FDE68A;         /* gold-tinted border */

  /* === Surfaces === */
  --white: #ffffff;
  --bg: #FFFDF7;                /* warm white with hint of gold */
  --bg-alt: #FEFCE8;            /* alternating section (pale gold tint) */
  --bg-card: #ffffff;           /* card surface */
  --dark: #0B1020;              /* dark sections (nav, footer, stats) — near-black w/ blue */
  --dark-2: #161E2E;

  /* === Typography === */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;

  /* === Spacing & Shape === */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 4px 12px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 16px 40px rgba(0,0,0,.10);
  --shadow-gold: 0 8px 24px rgba(245,179,1,.12);
  --maxw: 1200px;
  --header-h: 70px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text); background: var(--bg);
  line-height: 1.7; font-size: 16px; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { color: var(--ink); font-weight: 700; line-height: 1.25; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--primary-dark); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius); font-weight: 600; font-size: .95rem;
  border: none; cursor: pointer; transition: all .2s ease; white-space: nowrap;
}
.btn-primary {
  background: #fff; color: var(--primary);
  border: 1.5px solid #dbeafe;
  box-shadow: 0 2px 10px rgba(26,115,232,.12);
}
.btn-primary:hover { background: #f0f6ff; color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(26,115,232,.20); }
.btn-accent {
  background: #fff; color: var(--accent);
  border: 1.5px solid #ffe4e6;
  box-shadow: 0 2px 10px rgba(225,29,72,.12);
}
.btn-accent:hover { background: #fff5f7; color: var(--accent-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--primary); border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); font-weight: 600; }
.btn-white:hover { background: var(--primary-soft); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 9px 20px; font-size: .88rem; border-radius: var(--radius-sm); }

/* ---------- Header — white clean (RedPlum-style) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200; height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.header-inner { max-width: var(--maxw); margin: 0 auto; height: 100%; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 1.35rem; font-weight: 800; letter-spacing: .3px; }
.logo a { color: var(--ink); display: flex; align-items: baseline; gap: 8px; }
.logo .mark { color: var(--accent); }
.logo .sub { font-size: .7rem; font-weight: 500; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; }
/* ========== NAVIGATION ========== */
.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-menu li { list-style: none; margin: 0; padding: 0; position: relative; }
.nav-menu li a {
  display: block; padding: 8px 13px; color: var(--text); font-size: .9rem; font-weight: 500;
  border-radius: var(--radius-sm); transition: all .18s;
}
.nav-menu li a:hover, .nav-menu li a.active { color: var(--primary); background: var(--primary-soft); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 1.5rem; cursor: pointer; padding: 4px; }

/* --- Dropdown (desktop) --- */
.has-dropdown { position: relative; }
.has-dropdown > a .caret { font-size: .7em; opacity: .7; margin-left: 2px; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 8px 0;
  list-style: none; margin: 0; z-index: 999;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown { display: block; }
.dropdown > li { list-style: none; margin: 0; padding: 0; }
.dropdown li a {
  display: block; padding: 9px 16px; border-radius: 0; color: var(--text);
  font-size: .88rem; font-weight: 500; transition: all .15s;
}
.dropdown li a:hover, .dropdown li a.active { background: var(--primary-soft); color: var(--primary); }

/* ---------- Hero — light overlay (factory photo visible) ---------- */
.hero { position: relative; color: var(--ink); overflow: hidden; min-height: 520px; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; background: url("../assets/img/hero-slot-machine.png") center/cover no-repeat; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  /* light wash — factory photo shows through */
  background: linear-gradient(115deg, rgba(255,255,255,.78) 0%, rgba(232,240,254,.70) 50%, rgba(255,241,243,.65) 100%);
}
.hero-inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 90px 24px 100px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1.5px solid var(--line);
  color: var(--accent-dark); font-weight: 700; font-size: .78rem; letter-spacing: 1px; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2rem, 4.8vw, 3.4rem); line-height: 1.12; font-weight: 800; max-width: 18ch; margin-bottom: 18px; color: var(--ink); }
.hero p.lead { font-size: clamp(1rem, 1.8vw, 1.2rem); max-width: 58ch; margin-bottom: 32px; line-height: 1.65; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust {
  position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 24px 52px;
  display: flex; flex-wrap: wrap; gap: 28px; color: var(--muted); font-size: .88rem;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust b { color: var(--ink); font-weight: 700; }

/* ---------- Stats strip — light clean ---------- */
.stats { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { max-width: var(--maxw); margin: 0 auto; padding: 36px 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat .num { font-size: 2.2rem; font-weight: 800; color: var(--accent); line-height: 1.1; }
.stat .lbl { font-size: .88rem; color: var(--muted); margin-top: 6px; }

/* ========== SECTION STYLES ========== */

/* --- Generic section --- */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }                     /* pink tint */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-tag {
  display: inline-block; color: var(--accent); font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase; font-size: .78rem;
  background: var(--accent-soft); padding: 5px 14px; border-radius: 999px; margin-bottom: 12px;
}
.section-title { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; color: var(--ink); margin: 0 0 12px; }
.section-sub { color: var(--muted); font-size: 1.02rem; line-height: 1.65; }

/* ---------- Product Lines — card style ---------- */
.lines-grid { display: flex; gap: 8px; flex-wrap: nowrap; }
.line-card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow-sm);
  padding: 14px 10px; transition: all .25s ease;
  display: flex; flex-direction: column;
  flex: 1 1 0%; min-width: 0;
  overflow: hidden;
}
.line-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.line-card:nth-child(2) { border-top-color: var(--f-slot); }
.line-card:nth-child(3) { border-top-color: var(--f-fish); }
.line-card:nth-child(4) { border-top-color: var(--f-push); }
.line-card .ico {
  width: 32px; height: 32px; border-radius: var(--radius);
  display: grid; place-items: center; font-size: .95rem; margin-bottom: 8px;
  background: var(--accent-soft); flex-shrink: 0;
}
.line-card h3 { font-size: .82rem; font-weight: 700; margin-bottom: 4px; color: var(--ink); line-height: 1.25; word-break: break-word; }
.line-card p { font-size: .72rem; color: var(--muted); margin-bottom: 8px; line-height: 1.4; flex: 1; word-break: break-word; }
.line-card .more { font-weight: 700; font-size: .76rem; color: var(--accent); }
.line-card:hover .more { text-decoration: underline; }

/* ---------- Featured Solutions (alternating image+text) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.feature:last-child { margin-bottom: 0; }
.feature.reverse .feature-media { order: 2; }
.feature-media {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
}
.feature-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.feature-tag { color: var(--accent); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: .78rem; }
.feature h3 { font-size: clamp(1.35rem, 2.8vw, 1.9rem); color: var(--ink); margin: 10px 0 14px; font-weight: 800; }
.feature p { color: var(--muted); margin-bottom: 18px; line-height: 1.65; }
.feature ul { list-style: none; display: grid; gap: 10px; margin-bottom: 24px; }
.feature li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--text); }
.feature li .tick { color: var(--primary); font-weight: 700; flex: 0 0 auto; font-size: 1.1rem; }

/* ---------- Product Grid (best-selling / cards) ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prod-card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  border-top: 3px solid var(--accent); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all .25s ease;
}
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-gold); }
.prod-card .ph { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-alt); }
.prod-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.prod-card:hover .ph img { transform: scale(1.05); }
.prod-card .body { padding: 20px 20px 24px; }
.prod-card .tag {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .5px;
  color: var(--accent); background: var(--accent-soft); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
}
.prod-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.prod-card p { font-size: .87rem; color: var(--muted); margin-bottom: 14px; min-height: 38px; }
.prod-card .more { font-weight: 700; font-size: .88rem; color: var(--accent); }

/* ---------- Why cards with icon ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  border-top: 3.5px solid var(--accent);     /* ← red top bar */
  box-shadow: var(--shadow-sm); padding: 26px 22px; transition: all .25s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.why-card:nth-child(2) { border-top-color: var(--f-slot); }
.why-card:nth-child(3) { border-top-color: var(--f-fish); }
.why-card:nth-child(4) { border-top-color: var(--f-push); }
.why-card .ico { font-size: 1.7rem; margin-bottom: 14px; }
.why-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.why-card p { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* ---------- Global presence — light blue tint ---------- */
.globe { background: var(--primary-soft); text-align: center; }
.globe .section-title { color: var(--ink); }
.globe .section-sub { color: var(--muted); }
.region-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.region-chips span {
  background: #fff; border: 1.5px solid var(--line);
  padding: 9px 18px; border-radius: 999px; font-size: .9rem; color: var(--text);
  box-shadow: var(--shadow-sm);
}

/* ---------- CTA Band — blue gradient ---------- */
.cta-band {
  background: #fff;
  color: var(--ink); text-align: center;
  border-top: 1px solid var(--border);
}
.cta-band h2 { font-size: clamp(1.55rem, 3.2vw, 2.2rem); font-weight: 800; margin-bottom: 12px; color: var(--ink); }
.cta-band p { opacity: .85; max-width: 54ch; margin: 0 auto 24px; font-size: 1.02rem; color: var(--text); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-contacts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; font-size: .92rem; }
.cta-contacts a { color: var(--primary); background: var(--bg-alt); padding: 9px 18px; border-radius: 999px; font-weight: 500; }
.cta-contacts a:hover { background: #e8f0fe; color: var(--primary); }

/* ---------- Footer — light gray (RedPlum-style) ---------- */
.site-footer { background: #f1f5f9; color: var(--muted); padding: 56px 0 24px; font-size: .9rem; }
.footer-grid { max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.1fr; gap: 28px; }
.footer-col h4 { color: var(--ink); font-size: .95rem; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a { color: var(--muted); transition: color .15s; }
.footer-col a:hover { color: var(--primary); }
.footer-brand .logo-text { font-size: 1.25rem; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.footer-brand p { margin-bottom: 14px; max-width: 34ch; line-height: 1.6; }
.footer-bottom { max-width: var(--maxw); margin: 32px auto 0; padding: 20px 24px 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .82rem; color: var(--subtle); }

/* ========== SUBPAGES ========== */

/* --- Subpage hero — light gradient --- */
.page-hero {
  background: linear-gradient(135deg, #f0f4ff 0%, var(--primary-soft) 50%, #fff1f2 100%);
  color: var(--ink); padding: 64px 0 56px;
}
.page-hero .crumb { font-size: .84rem; color: var(--muted); margin-bottom: 14px; }
.page-hero .crumb a { color: var(--muted); }
.page-hero .crumb a:hover { color: var(--primary); }
.page-hero h1 { font-size: clamp(1.75rem, 3.8vw, 2.6rem); margin-bottom: 12px; line-height: 1.15; font-weight: 800; color: var(--ink); }
.page-hero p { max-width: 64ch; line-height: 1.65; color: var(--text); }

/* ---------- Article content — clean readable ---------- */
.article { background: var(--white); padding: 60px 0; }
.article-wrap { max-width: 840px; margin: 0 auto; padding: 0 24px; }
.article-wrap h2 { font-size: 1.45rem; color: var(--ink); margin: 36px 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--bg-alt); font-weight: 700; }
.article-wrap h3 { font-size: 1.15rem; color: var(--ink); margin: 24px 0 10px; font-weight: 700; }
.article-wrap p { margin-bottom: 16px; color: var(--text); line-height: 1.75; }
.article-wrap ul, .article-wrap ol { margin: 0 0 18px 22px; }
.article-wrap li { margin-bottom: 6px; color: var(--text); }
.article-wrap strong { color: var(--ink); font-weight: 700; }
.callout {
  background: var(--accent-soft); border-left: 4px solid var(--accent);
  padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 22px 0;
}
.callout h4 { color: var(--accent-dark); font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; font-weight: 700; }
.article-wrap blockquote {
  background: var(--accent-soft); border-left: 4px solid var(--accent);
  padding: 14px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 22px 0;
}
.article-wrap blockquote h3, .article-wrap blockquote h4 { color: var(--accent-dark); font-size: .95rem; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 8px; line-height: 1.3; font-weight: 700; }
.article-wrap blockquote p { margin-bottom: 8px; color: var(--text); }
.article-wrap blockquote ul { margin-left: 18px; }
.article-wrap blockquote li { margin-bottom: 5px; }
.article-wrap table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: .9rem; border-radius: var(--radius-sm); overflow: hidden; }
.article-wrap th { background: var(--primary); color: #fff; padding: 12px 14px; text-align: left; font-weight: 600; font-size: .85rem; }
.article-wrap td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.article-wrap tr:nth-child(even) td { background: var(--bg-alt); }
.article-wrap tr:hover td { background: var(--primary-soft); }

/* ---------- Contact Form — clean inputs ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: .93rem; background: var(--white); color: var(--ink);
  transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,115,232,.12);
}
.field textarea { min-height: 120px; resize: vertical; }
.note { font-size: .84rem; color: var(--muted); margin-top: 10px; }
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.contact-info li { list-style: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-info b { color: var(--ink); }

/* ---------- Cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  border-top: 3px solid var(--accent); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all .25s ease;
  display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-gold); }
.post-card .ph { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-alt); }
.post-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .ph img { transform: scale(1.05); }
.post-card .body { padding: 20px 20px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .meta { font-size: .76rem; color: var(--accent); font-weight: 700; letter-spacing: .5px; margin-bottom: 8px; text-transform: uppercase; }
.post-card h4 { font-size: 1.03rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; line-height: 1.35; }
.post-card p { font-size: .87rem; color: var(--muted); margin-bottom: 14px; line-height: 1.55; }
.post-card .more { font-weight: 700; font-size: .88rem; color: var(--accent); margin-top: auto; }

/* ---------- Reveal animation — always visible ---------- */
.reveal { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; }

/* ========== RESPONSIVE ========== */
@media (max-width: 980px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 28px; }
  .feature.reverse .feature-media { order: 0; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .nav-menu { display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; background: #fff; padding: 12px; gap: 2px; box-shadow: var(--shadow-lg); border-bottom: 1px solid var(--line); }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: block; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .why-grid, .grid-3, .blog-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 64px 20px 76px; }
  .hero { min-height: 420px; }
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-actions { flex-direction: column; align-items: center; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* (dropdown styles merged into NAVIGATION section above) */

/* ========== TAB COMPONENT (product pages) ========== */
.tabs { margin: 8px 0 0; }
.tab-nav {
  display: flex; gap: 0; border-bottom: 2px solid var(--line);
  margin: 30px 0 28px; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.tab-btn {
  padding: 14px 26px; font-size: .95rem; font-weight: 600; background: none; border: none;
  color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent;
  margin-bottom: -2px; transition: all .18s; white-space: nowrap;
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel h3 { font-size: 1.3rem; margin: 4px 0 4px; color: var(--ink); }
.tab-panel .tab-sub { color: var(--muted); margin-bottom: 18px; }

/* Product AIDA helpers */
.identity-strip {
  display: flex; flex-wrap: wrap; gap: 16px; margin: 4px 0 28px;
  background: var(--primary-soft); border: 1px solid #dbeafe; border-radius: var(--radius); padding: 18px 22px;
}
.identity-strip .id { flex: 1 1 160px; }
.identity-strip .id b { display: block; color: var(--ink); font-size: 1.05rem; }
.identity-strip .id span { color: var(--muted); font-size: .85rem; }

.compare-table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: .9rem; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare-table th { background: var(--ink); color: #fff; padding: 12px 14px; text-align: left; font-weight: 600; font-size: .82rem; }
.compare-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.compare-table tr:nth-child(even) td { background: var(--bg-alt); }
.compare-table tr:hover td { background: var(--primary-soft); }

.pair-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 14px 0 6px; }
.pair-card { background: var(--bg-card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px 18px; transition: all .2s; }
.pair-card:hover { border-color: var(--accent); box-shadow: var(--shadow-gold); }
.pair-card .pc-tag { font-size: .72rem; font-weight: 700; letter-spacing: .5px; color: var(--accent); text-transform: uppercase; }
.pair-card h4 { font-size: 1rem; margin: 4px 0 6px; color: var(--ink); }
.pair-card p { font-size: .85rem; color: var(--muted); }

.faq-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 12px; background: var(--bg-card); }
.faq-item h4 { font-size: 1rem; color: var(--ink); margin-bottom: 6px; }
.faq-item p { font-size: .9rem; color: var(--text); margin: 0; }

.spec-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 12px; margin: 12px 0 18px; }
.spec-list .sp { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 12px 14px; }
.spec-list .sp b { display: block; color: var(--ink); font-size: .98rem; }
.spec-list .sp span { font-size: .8rem; color: var(--muted); }

/* ========== RFQ (homepage) ========== */
.rfq { background: var(--bg); }
.rfq .section-sub { max-width: 60ch; margin-left: auto; margin-right: auto; }
.rfq-form {
  max-width: 880px; margin: 28px auto 0;
  background: var(--bg-card); border: 1.5px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px 30px;
  box-shadow: var(--shadow);
}
.rfq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rfq-grid .field-full { grid-column: 1 / -1; }
.rfq-grid .field label { font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.rfq-grid .field input,
.rfq-grid .field select,
.rfq-grid .field textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); font-size: .95rem; font-family: var(--font);
  background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.rfq-grid .field input:focus,
.rfq-grid .field select:focus,
.rfq-grid .field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.rfq-grid input[type="file"] { padding: 9px 10px; }
.rfq-grid .form-note { font-size: .78rem; color: var(--muted); margin-top: 5px; display: block; }
.rfq-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 20px; }
.rfq-actions .form-note { margin: 0; flex: 1; min-width: 240px; }
.rfq-status { margin-top: 16px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500; }
.rfq-status[hidden] { display: none; }
.rfq-ok   { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.rfq-warn { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }
.rfq-info { background: var(--accent-pale); color: var(--accent-dark); border: 1px solid #A5F3FC; }

/* ========== Whitepaper download box ========== */
.wp-download {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap; background: var(--primary-soft); border: 1.5px solid var(--line-gold);
  border-radius: var(--radius-lg); padding: 24px 28px; margin: 18px 0 26px;
}
.wp-download h3 { font-size: 1.12rem; color: var(--ink); margin-bottom: 6px; }
.wp-download p { font-size: .9rem; color: var(--text); max-width: 52ch; }

@media (max-width: 720px) {
  .rfq-grid { grid-template-columns: 1fr; }
  .rfq-form { padding: 20px; }
}

/* ========== SOLUTIONS HUB ========== */
.sol-hero { background: linear-gradient(135deg, #f0f4ff 0%, var(--primary-soft) 50%, #fff1f2 100%); padding: 64px 0 56px; }
.sol-hero .crumb { font-size: .84rem; color: var(--muted); margin-bottom: 14px; }
.sol-hero .crumb a { color: var(--muted); }
.sol-hero h1 { font-size: clamp(1.75rem, 3.8vw, 2.6rem); margin-bottom: 12px; color: var(--ink); }
.sol-hero p { max-width: 64ch; color: var(--text); line-height: 1.65; }
.sol-section { padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 12px); }
.sol-section.alt { background: var(--bg-alt); }
.sol-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 8px; flex-wrap: wrap; }
.sol-head .num { font-size: 1.4rem; font-weight: 800; color: var(--accent); }
.sol-head h2 { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--ink); margin: 0; }
.sol-section > .container > p.lead { color: var(--muted); max-width: 72ch; margin-bottom: 26px; line-height: 1.65; }
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sol-card { background: var(--bg-card); border-radius: var(--radius-lg); border-top: 3.5px solid var(--primary); box-shadow: var(--shadow-sm); padding: 22px 20px; transition: all .25s; }
.sol-card:nth-child(2) { border-top-color: var(--f-fish); }
.sol-card:nth-child(3) { border-top-color: var(--f-push); }
.sol-card:nth-child(4) { border-top-color: var(--f-platform); }
.sol-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.sol-card h4 { font-size: 1.05rem; color: var(--ink); margin-bottom: 8px; }
.sol-card p { font-size: .88rem; color: var(--muted); margin-bottom: 14px; line-height: 1.6; }
.sol-card .more { font-weight: 700; font-size: .88rem; color: var(--primary); }
.sol-links { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.sol-links a { background: #fff; border: 1.5px solid var(--line); color: var(--primary); padding: 9px 16px; border-radius: 999px; font-size: .88rem; font-weight: 600; transition: all .18s; }
.sol-links a:hover { background: var(--primary-soft); border-color: #dbeafe; }

/* ========== APPLICATION (SOLUTION) PAGES ========== */
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.sol-hero .tagline { font-size: 1.15rem; font-weight: 600; color: var(--primary); margin: 4px 0 16px; }
.sol-hero .intro { font-size: 1.02rem; color: var(--text); max-width: 70ch; line-height: 1.7; }
.sol-grade { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .3px;
  color: var(--accent); background: var(--bg-alt); border-radius: 999px; padding: 3px 11px; margin-bottom: 10px; }
.sol-card p { font-size: .88rem; color: var(--muted); margin-bottom: 14px; line-height: 1.6; }
.sol-card .more { font-weight: 700; font-size: .88rem; color: var(--primary); }

/* ========== RESOURCES HUB + GUIDE CARDS ========== */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.res-card { background: var(--bg-card); border-radius: var(--radius-lg); border-top: 3.5px solid var(--primary);
  box-shadow: var(--shadow-sm); padding: 26px 22px; transition: all .25s ease; display: flex; flex-direction: column; }
.res-card:nth-child(2) { border-top-color: var(--accent); }
.res-card:nth-child(3) { border-top-color: var(--f-fish); }
.res-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-gold); }
.res-cat { font-size: .76rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px; }
.res-card h4 { font-size: 1.12rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; line-height: 1.35; }
.res-card p { font-size: .88rem; color: var(--muted); margin-bottom: 14px; line-height: 1.6; flex: 1; }
.res-card .more { font-weight: 700; font-size: .88rem; color: var(--primary); margin-top: auto; }

@media (max-width: 980px) { .res-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .res-grid { grid-template-columns: 1fr; } }

/* ========== RESPONSIVE: dropdown + tabs + solutions ========== */

/* ========== FOLLOW US BAR (homepage) ========== */
.follow-bar {
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.follow-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.follow-contact { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.follow-label { font-size: .82rem; font-weight: 700; color: var(--muted); letter-spacing: .5px; text-transform: uppercase; }
.follow-phone {
  font-size: 1.35rem; font-weight: 800; color: var(--ink);
  letter-spacing: .5px;
}
.follow-phone:hover { color: var(--primary); }
.follow-social { display: flex; align-items: center; gap: 10px; }
.soc-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-alt); border: 1.5px solid var(--line);
  display: grid; place-items: center; color: var(--text);
  transition: all .2s ease;
}
.soc-icon:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); }

/* ========== QUALITY INSPECTION — compact (homepage) ========== */
.quality-section {
  padding: 56px 0; background: var(--white);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.quality-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.qc-gallery { display: flex; flex-direction: column; gap: 12px; }
.qc-main {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  background: var(--bg-alt);
}
.qc-thumbs { display: flex; gap: 10px; }
.qc-thumb {
  flex: 1; position: relative; border-radius: var(--radius-sm); overflow: hidden;
  cursor: pointer; border: 2px solid transparent; transition: all .2s;
  aspect-ratio: 3/2;
}
.qc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qc-thumb span {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.55); color: #fff; font-size: .72rem; font-weight: 600;
  padding: 3px 8px; text-align: center;
}
.qc-thumb.active, .qc-thumb:hover { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }

.quality-info h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); margin: 8px 0 14px; }
.quality-info p { color: var(--muted); line-height: 1.7; margin-bottom: 20px; font-size: .98rem; }
.qc-list { list-style: none; display: grid; gap: 10px; }
.qc-list li {
  display: flex; gap: 10px; align-items: baseline; font-size: .92rem; color: var(--text);
  padding: 7px 12px; background: var(--bg-alt); border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
}
.qc-list li b { color: var(--ink); white-space: nowrap; min-width: 110px; }
@media (max-width: 980px) {
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .quality-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  /* Mobile nav: hide until toggled, stack vertically */
  .nav-menu { display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; background: #fff; padding: 12px; gap: 2px;
    box-shadow: var(--shadow-lg); border-bottom: 1px solid var(--line);
    list-style: none; margin: 0; z-index: 998; }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: block; }
  /* Mobile: show dropdowns inline, indented */
  .dropdown { display: block; position: static; box-shadow: none; border: none;
    padding: 4px 0 4px 16px; min-width: 0; list-style: none; margin: 0; background: transparent; }
  .has-dropdown > a .caret { display: none; }
  .dropdown li a { padding: 7px 10px; font-size: .85rem; }
  .sol-grid { grid-template-columns: 1fr; }
  .tab-nav { flex-wrap: nowrap; }
  /* Follow bar responsive */
  .follow-inner { flex-direction: column; gap: 14px; text-align: center; }
  .follow-social { justify-content: center; }
  /* Quality section responsive */
  .quality-inner { grid-template-columns: 1fr; gap: 28px; }
  .qc-gallery { max-width: 560px; margin: 0 auto; width: 100%; }
}

/* ========== PRODUCT PAGE: "On this page" TOC + long-scroll ========== */
.prod-layout { display: grid; grid-template-columns: 248px 1fr; gap: 48px; align-items: start;
  max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 70px; }
.prod-toc { position: sticky; top: 96px; align-self: start; }
.toc-inner { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.toc-title { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px; }
.toc-list { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc-list li { margin: 0; }
.toc-list a { display: block; padding: 7px 14px; margin-left: -2px; border-left: 2px solid transparent;
  font-size: .88rem; color: var(--muted); line-height: 1.4; transition: all .15s; }
.toc-list a:hover { color: var(--primary); }
.toc-list a.active { color: var(--primary); border-left-color: var(--primary); font-weight: 600; background: var(--primary-soft); }
.prod-main { min-width: 0; max-width: 100%; }
/* anchor offset so headings clear the sticky header */
.article-wrap h2, .article-wrap h3 { scroll-margin-top: 92px; }
.cta-center { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin: 44px 0 8px; }

/* ========== P4 ABOUT: certification wall + download center + LCOA ========== */
.cert-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 26px 0 10px; }
.cert-badge { background: var(--bg-card); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 20px 12px; text-align: center; transition: all .2s; }
.cert-badge:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.cert-badge .cb-ico { font-size: 1.7rem; line-height: 1; }
.cert-badge .cb-name { font-weight: 700; color: var(--ink); font-size: .9rem; margin-top: 10px; }
.cert-badge .cb-sub { font-size: .74rem; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.cert-note { font-size: .84rem; color: var(--muted); margin: 6px 0 4px; }

.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 26px 0 6px; }
.dl-card { display: flex; align-items: center; gap: 16px; background: var(--bg-card);
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px 18px; transition: all .2s; }
.dl-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.dl-ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--primary-soft);
  display: grid; place-items: center; font-size: 1.3rem; }
.dl-meta { flex: 1; min-width: 0; }
.dl-meta h4 { font-size: .96rem; color: var(--ink); font-weight: 700; margin-bottom: 2px; }
.dl-meta span { font-size: .8rem; color: var(--muted); }
.dl-btn { flex: 0 0 auto; font-size: .82rem; font-weight: 700; color: var(--primary);
  border: 1.5px solid var(--primary); border-radius: var(--radius-sm); padding: 8px 14px; white-space: nowrap; transition: all .15s; }
.dl-btn:hover { background: var(--primary); color: #fff; }

.lcoa-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: .9rem; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.lcoa-table th { background: var(--ink); color: #fff; padding: 12px 14px; text-align: left; font-weight: 600; font-size: .85rem; }
.lcoa-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.lcoa-table tr:nth-child(even) td { background: var(--bg-alt); }
.lcoa-table td:first-child { font-weight: 600; color: var(--ink); }
.lcoa-yes { color: #15803d; font-weight: 700; }
.lcoa-note { font-size: .84rem; color: var(--muted); margin-top: 6px; }

/* ========== RESPONSIVE: product TOC + P4 ========== */
@media (max-width: 980px) {
  .prod-layout { grid-template-columns: 1fr; gap: 0; }
  .prod-toc { position: static; top: auto; margin-bottom: 26px; order: -1; }
  .toc-inner { padding: 14px 16px; }
  .toc-list { display: flex; flex-wrap: wrap; gap: 6px 4px; border-left: none; }
  .toc-list a { border-left: none; border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 13px; margin-left: 0; font-size: .82rem; }
  .toc-list a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
  .cert-wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .lines-grid { gap: 6px; }
  .line-card { padding: 10px 6px; }
  .line-card .ico { width: 26px; height: 26px; font-size: .8rem; margin-bottom: 6px; }
  .line-card h3 { font-size: .72rem; }
  .line-card p { font-size: .64rem; margin-bottom: 5px; }
  .line-card .more { font-size: .66rem; }
  .dl-grid { grid-template-columns: 1fr; }
  .cert-wall { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Packing & Shipping + Loading Capacity ---------- */
.ship-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 38px; align-items: center; }
.ship-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ship-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.ship-info h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin: 20px 0 10px; }
.ship-info h3:first-child { margin-top: 0; }
.ship-spec { list-style: none; margin: 0 0 6px; padding: 0; }
.ship-spec li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--text); }
.ship-spec li b { color: var(--ink); }
.ship-info p { font-size: .9rem; color: var(--muted); line-height: 1.65; margin-bottom: 18px; }
@media (max-width: 980px) {
  .ship-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* === GOLDPRIME extra components (added) === */
.steps-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:32px}
.step{background:var(--bg-card);border:1px solid var(--line);border-top:3px solid var(--primary);border-radius:var(--radius);padding:24px}
.step .num{display:inline-flex;width:36px;height:36px;align-items:center;justify-content:center;border-radius:50%;background:var(--primary);color:#0B1020;font-weight:800;margin-bottom:12px}
.step h3{font-size:1.05rem;margin-bottom:8px}
.step p{color:var(--text);font-size:.92rem}
.field-full{grid-column:1 / -1}
.form-note{font-size:.8rem;color:var(--muted);margin-top:8px}
.article-wrap{max-width:860px}
.cta-band{background:linear-gradient(120deg,var(--primary),#C9970A);color:#0B1020;text-align:center;padding:56px 0}
.cta-band h2{color:#0B1020;margin-bottom:10px}
.cta-band p{margin-bottom:20px;color:#1a1205}
.cta-band .btn-primary{background:#0B1020;color:var(--primary);border-color:#0B1020}
.cta-band .btn-primary:hover{opacity:.9}
@media(max-width:768px){.steps-grid{grid-template-columns:1fr 1fr}}
/* === Interactive tools (layout: tool) === */
.tool-fence{border:1px solid var(--line);background:var(--bg-alt);border-radius:var(--radius);padding:16px 18px;margin:0 0 24px}
.tool-badge{display:inline-block;font-size:.74rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:#0B1020;background:var(--primary);padding:4px 10px;border-radius:999px}
.tool-fence-note{font-size:.82rem;color:var(--muted);margin:10px 0 0}
.tool-calculator{background:var(--bg-card);border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin:0 0 28px}
.tool-calculator .field{margin-bottom:16px}
.tool-calculator label{display:block;font-weight:600;font-size:.9rem;margin-bottom:6px}
.tool-calculator input,.tool-calculator select{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--ink);font-size:.95rem}
.tool-calculator .row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.tool-calculator .result{margin-top:18px;padding:16px;border-radius:8px;background:var(--bg-alt);border:1px solid var(--line)}
.tool-calculator .result .big{font-size:1.6rem;font-weight:800;color:var(--primary)}
.tool-calculator .result .lbl{font-size:.8rem;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}
.tool-calculator .grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tool-calculator .cta-inline{margin-top:18px}
.tool-calculator .disclaimer{font-size:.76rem;color:var(--muted);margin-top:12px}
@media(max-width:768px){.tool-calculator .row,.tool-calculator .grid2{grid-template-columns:1fr}}
/* cookie / GDPR banner (dark bg #0f172a + light text #e2e8f0 — only allowed here per tool-generator contrast rule) */
.cookie-banner{position:fixed;bottom:0;left:0;right:0;background:#0f172a;color:#e2e8f0;padding:12px 16px;z-index:9999;box-shadow:0 -2px 10px rgba(0,0,0,.25);font-size:.85rem}
.cookie-banner .cookie-inner{max-width:1100px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.cookie-banner p{margin:0}
.cookie-banner a{color:#93c5fd;text-decoration:underline}
.cookie-banner .cookie-btns{display:flex;gap:8px;flex-shrink:0}
.cookie-banner .btn{padding:6px 16px;border-radius:6px;font-size:.85rem;cursor:pointer;border:none}
.cookie-banner .cb-accept{background:#2563eb;color:#fff}
.cookie-banner .cb-reject{background:transparent;color:#e2e8f0;border:1px solid #475569}
@media(max-width:600px){.cookie-banner .cookie-inner{flex-direction:column;align-items:flex-start}}
/* KG entity block + LSI cloud (tool-generator GEO differentiation; light bg #f0f9ff + dark text #0f172a) */
.kg-block{margin:0 0 28px;padding:18px 20px;background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px}
.kg-block h2{margin:0 0 10px;font-size:1.05rem;color:#0f172a}
ul.kg{list-style:none;margin:0;padding:0}
ul.kg li{font-size:.85rem;color:#0f172a;padding:5px 0;border-bottom:1px solid #e0f2fe}
ul.kg li:last-child{border-bottom:none}
ul.kg a{color:#1d4ed8}
.lsi{margin:0 0 24px;padding:14px 16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;display:flex;flex-wrap:wrap;gap:6px}
.lsi-chip{display:inline-block;font-size:.75rem;color:#475569;background:#fff;border:1px solid #cbd5e1;border-radius:999px;padding:3px 10px}
/* Related tools + References blocks (link density) */
.related-tools,.references{margin:0 0 24px;padding:16px 18px;background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px}
.related-tools h3,.references h3{margin:0 0 10px;font-size:1rem;color:#0f172a}
.related-tools ul,.references ul{list-style:none;margin:0;padding:0;columns:2;column-gap:24px}
.related-tools li,.references li{padding:4px 0;font-size:.85rem;color:#0f172a;break-inside:avoid}
.related-tools a,.references a{color:#1d4ed8}
@media(max-width:600px){.related-tools ul,.references ul{columns:1}}

/* ===== gzcosmos port: homepage hero slider, photo cards, who-we-are, certs (20260808a) ===== */
.gz-hero{position:relative;overflow:hidden;background:#0d1117}
.gz-slides{position:relative;height:min(78vh,620px);min-height:480px}
.gz-slide{position:absolute;inset:0;opacity:0;transition:opacity .8s ease;display:flex;align-items:center;pointer-events:none}
.gz-slide.active{opacity:1;z-index:1;pointer-events:auto}
.gz-slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.5)}
.gz-slide .container{position:relative;z-index:2;width:100%}
.gz-hero-tag{color:var(--primary);font-size:13px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase}
.gz-hero h1,.gz-hero h2{color:#fff;font-size:clamp(28px,4.2vw,50px);line-height:1.12;margin:14px 0 16px;max-width:840px}
.gz-hero .lead{color:rgba(255,255,255,.86);max-width:640px;font-size:17px;line-height:1.6}
.gz-hero-actions{display:flex;gap:14px;margin-top:26px;flex-wrap:wrap}
.gz-dots{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);display:flex;gap:10px;z-index:3}
.gz-dot{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.35);border:0;cursor:pointer;padding:0}
.gz-dot.active{background:var(--primary)}
.gz-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;background:rgba(0,0,0,.35);color:#fff;border:0;width:44px;height:44px;border-radius:50%;font-size:22px;line-height:1;cursor:pointer}
.gz-arrow:hover{background:rgba(0,0,0,.6)}
.gz-prev{left:18px}.gz-next{right:18px}
.gz-prod-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.gz-prod-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;text-decoration:none;color:inherit;transition:transform .25s,box-shadow .25s}
.gz-prod-card:hover{transform:translateY(-4px);box-shadow:0 12px 30px rgba(16,24,40,.12)}
.gz-prod-card img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;background:#0d1117}
.gz-prod-body{display:flex;flex-direction:column;gap:8px;padding:18px}
.gz-prod-body strong{font-size:17px;color:#0f172a}
.gz-prod-body>span{font-size:14px;color:var(--muted);line-height:1.5}
.gz-prod-body .more{color:var(--primary-dark);font-weight:600;font-size:14px;margin-top:2px}
.gz-who{position:relative;color:#fff;background:#0d1117 url('/assets/img/factory/factory-collage-01.webp') center/cover no-repeat;padding:72px 0}
.gz-who::before{content:"";position:absolute;inset:0;background:rgba(8,10,14,.84)}
.gz-who .container{position:relative;z-index:1}
.gz-who-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:34px}
.gz-who-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);border-radius:12px;overflow:hidden}
.gz-who-card img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block}
.gz-who-body{padding:16px}
.gz-who-body .gz-num{color:var(--primary);font-weight:800;font-size:13px;letter-spacing:1px}
.gz-who-body h3{margin:6px 0 8px;font-size:16px;color:#fff}
.gz-who-body p{font-size:13.5px;color:rgba(255,255,255,.72);line-height:1.55;margin:0}
.gz-cert-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.gz-cert{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px;text-align:center;margin:0}
.gz-cert img{width:120px;height:auto;display:block;margin:0 auto 10px;border:1px solid var(--line);border-radius:6px}
.gz-cert figcaption{font-size:13px;color:var(--muted)}
@media(max-width:1000px){.gz-prod-grid,.gz-who-grid,.gz-cert-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.gz-prod-grid,.gz-who-grid,.gz-cert-grid{grid-template-columns:1fr}.gz-slides{min-height:420px;height:70vh}.gz-arrow{display:none}}

/* P4-3 process-flow SVG figures (capabilities / parts / distributor pages) */
.flow-figure{margin:28px 0;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#f8fafc;box-shadow:var(--shadow-sm)}
.flow-figure img{width:100%;height:auto;display:block}
.flow-figure figcaption{padding:10px 16px;font-size:13px;color:var(--muted);border-top:1px solid var(--line);background:#fff}

/* About page factory showcase (10-photo grid, compact cells) */
.showcase-grid{display:grid;gap:16px;margin-top:24px}
.showcase-grid.cols-4{grid-template-columns:repeat(4,1fr)}
.showcase-grid.cols-5{grid-template-columns:repeat(5,1fr)}
.showcase-grid.cols-2{grid-template-columns:repeat(2,1fr)}
.showcase-grid .shot{margin:0}
.showcase-grid .shot img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius);border:1px solid var(--line);display:block}
@media(max-width:1100px){.showcase-grid.cols-5{grid-template-columns:repeat(4,1fr)}}
@media(max-width:900px){.showcase-grid.cols-4{grid-template-columns:repeat(2,1fr)}.showcase-grid.cols-5{grid-template-columns:repeat(3,1fr)}}
@media(max-width:640px){.showcase-grid.cols-5{grid-template-columns:repeat(2,1fr)}.showcase-grid.cols-2{grid-template-columns:1fr}}

/* Product page shots — 2 real product photos at quarter width, top of article */
.prod-shots{display:flex;gap:16px;margin:0 0 24px}
.prod-shots figure{margin:0;width:25%}
.prod-shots img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius);border:1px solid var(--line);display:block}
@media(max-width:640px){.prod-shots figure{width:50%}}
