/* =====================================================================
   SLV PRINTERS — Flat Corporate Stylesheet
   Palette: brand blues (dark/rich/mid/bright/light) + white, with red,
   teal and yellow reserved as sparing single-accent highlights only —
   kept deliberately minimal and restrained, not decorative.
   ===================================================================== */

:root {
  --color-primary: #106AA8;       /* mid blue — primary brand color */
  --color-primary-dark: #003964;  /* rich blue — hover / scrolled-nav fill */
  --color-primary-light: #9ED9F7; /* light blue — tints for chips/badges */
  --color-gold: #FAB800;          /* yellow accent — used sparingly for CTAs */
  --color-gold-light: #FDECC2;    /* light yellow tint */
  --color-danger: #D60928;        /* brand red — error states only */
  --color-danger-light: #FCEBEC;
  --color-teal: #00A9AC;          /* brand teal — occasional secondary accent */
  --color-ink: #181E34;           /* dark blue — near-black text */
  --color-ink-soft: #52607A;      /* slate blue-gray soft text */
  --color-bg: #FBFDFE;            /* near-white background */
  --color-bg-alt: #EAF4FB;        /* light blue tint — alternating sections */
  --color-white: #FFFFFF;
  --color-border: #D7E6F0;        /* light blue-gray border */
  --color-nav-text: #F5F8FA;      /* off-white text used on the transparent/navy navbar */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(27,34,44,0.06);
  --shadow-md: 0 8px 30px rgba(27,34,44,0.10);
  --shadow-lg: 0 20px 60px rgba(27,34,44,0.16);
  --container: 1240px;
  --nav-height: 86px; /* fallback only — main.js measures the real height and overrides this on load */
  --page-pad: clamp(20px, 4vw, 64px);
  --hero-pad: clamp(40px, 9vw, 130px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .5em;
  color: var(--color-ink);
}
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* Flat inline-SVG icon set (replaces emoji sitewide) */
.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* Full-bleed / wide layout: no max-width cap, edge-to-edge with breathing-room padding */
.container {
  width: 100%;
  margin: 0;
  padding: 0 var(--page-pad);
}
.section { padding: 72px 0; }
.section-tight { padding: 40px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.section-head .eyebrow {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0; }
.section-head p.sub { color: var(--color-ink-soft); margin: 8px 0 0; max-width: 560px; }
.view-all-link {
  font-weight: 600;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 2px;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--color-gold); color: var(--color-ink); }
.btn-gold:hover { background: #D9A200; transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: currentColor; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-outline-dark { background: transparent; border-color: var(--color-ink); color: var(--color-ink); }
.btn-outline-dark:hover { background: var(--color-ink); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 18px; font-size: .85rem; }

/* ---------- Transparent-to-solid, scroll-fixed navbar ---------- */
/* Sits at the very top of the page (no topbar above it anymore); once the
   page scrolls a little it swaps to a solid navy fill and gains a shadow.
   Before that point it is transparent, so it reads over the hero image (home)
   or the dark page-header band (inner pages) — both of which it overlaps via
   a negative margin equal to --nav-height, see those rules below. */
.navbar-wrap {
  position: sticky;
  top: 0;
  z-index: 500;
}
.navbar {
  width: 100%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--page-pad);
  min-height: var(--nav-height);
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease, min-height .25s ease;
}
.navbar.is-scrolled {
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
  min-height: 64px;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Text logo (left) — Montserrat. "SLV" ExtraBold (800) in the accent colour, "PRINTERS"
   SemiBold (600) Italic in off-white. Both share one font-size (set once on .logo-text, in em),
   so they are guaranteed to stay the same size. Scoped to .navbar so the footer logo is unaffected. */
.navbar .brand-left { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.navbar .logo-icon { height: 44px; width: auto; display: block; flex-shrink: 0; }
.navbar .logo-text {
  font-family: 'Montserrat', 'Poppins', sans-serif; font-size: 1.45rem; line-height: 1;
  display: inline-flex; align-items: baseline; gap: .38em; white-space: nowrap;
}
.navbar .logo-slv { font-weight: 800; font-size: 1em; letter-spacing: .01em; color: var(--color-gold); }
.navbar .logo-printers { font-weight: 600; font-style: italic; font-size: 1em; letter-spacing: .02em; color: var(--color-nav-text); }

/* Everything except the logo sits together on the right */
.navbar-actions { display: flex; align-items: center; gap: 10px; min-width: 0; margin-left: auto; }
.nav-group { display: flex; align-items: center; gap: 2px; }
.navbar-links-inline {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--color-nav-text);
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.navbar-links-inline:hover { background: rgba(255,255,255,.12); color: #fff; }
.navbar-links-inline.active { color: var(--color-gold); background: rgba(255,255,255,.08); }

.navbar-search-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); color: var(--color-nav-text); flex-shrink: 0;
  transition: background .15s ease, border-color .15s ease;
}
.navbar-search-btn:hover { border-color: var(--color-gold); color: var(--color-gold); background: rgba(255,255,255,.14); }
.navbar-toggle { display: none; background: none; border: none; padding: 8px; flex-shrink: 0; }
.navbar-toggle span { display: block; width: 22px; height: 2px; background: var(--color-nav-text); margin: 5px 0; border-radius: 2px; }

/* Mobile slide-down menu (all links live here once collapsed) */
.navbar-links { display: none; z-index: 600; }
.navbar-links a {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--color-ink);
}
.navbar-links a:hover, .navbar-links a.active { background: var(--color-primary-light); color: var(--color-primary-dark); }

/* mobile nav */
@media (max-width: 1180px) {
  .navbar { padding: 14px 20px; }
  .nav-group { display: none; }
  .navbar-links {
    position: fixed; inset: 96px 16px auto 16px; background: #fff; border-radius: var(--radius-md);
    flex-direction: column; align-items: stretch; box-shadow: var(--shadow-lg); padding: 12px; display: none; gap: 2px;
  }
  .navbar-links.open { display: flex; }
  .navbar-links a { padding: 14px 16px; }
  .navbar-toggle { display: block; }
  .navbar .btn-gold.desktop-only { display: none; }
  .navbar .logo-text { font-size: 1.2rem; }
  .navbar .logo-icon { height: 36px; }
}

/* search overlay */
.search-overlay {
  position: fixed; inset: 0; background: rgba(18,37,62,.85);
  z-index: 900; display: none; align-items: flex-start; justify-content: center; padding-top: 12vh;
}
.search-overlay.open { display: flex; }
.search-overlay form { width: min(600px, 92vw); display: flex; gap: 10px; position: relative; align-items: center; }
.search-overlay-icon { position: absolute; left: 20px; color: var(--color-ink-soft); pointer-events: none; }
.search-overlay input {
  flex: 1; padding: 18px 22px 18px 52px; border-radius: 999px; border: none; font-size: 1.05rem;
}
.search-overlay button { border-radius: 999px; padding: 0 26px; background: var(--color-gold); color: var(--color-ink); border: none; font-weight: 700; }
.search-overlay .close-search { position: absolute; top: 24px; right: 32px; color: #fff; background:none; border:none; padding: 6px; }

/* ---------- Hero Slider — light/solid themed (pastel panel + light image wash) ---------- */
.hero-slider { position: relative; height: 640px; max-height: 82vh; overflow: hidden; margin-top: calc(-1 * var(--nav-height)); background: var(--color-bg-alt); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  background-size: cover; background-position: center; display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(250,248,244,.94) 0%, rgba(250,248,244,.72) 45%, rgba(250,248,244,.35) 100%);
}
.hero-slide-content { position: relative; z-index: 2; color: var(--color-ink); max-width: 620px; padding: 0 var(--hero-pad); }
.hero-slide-content .eyebrow { color: var(--color-primary); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; display:block; margin-bottom: 14px; }
.hero-slide-content h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); color: var(--color-ink); margin-bottom: 14px; }
.hero-slide-content p { font-size: 1.08rem; color: var(--color-ink-soft); margin-bottom: 26px; }
.hero-dots { position: absolute; bottom: 26px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 3; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--color-primary); background: transparent; padding: 0; }
.hero-dots button.active { background: var(--color-primary); }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.75); border: 1px solid var(--color-border);
  color: var(--color-ink); display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px);
  box-shadow: var(--shadow-sm);
}
.hero-arrow:hover { background: #fff; border-color: var(--color-primary); color: var(--color-primary); }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }
@media (max-width: 720px) {
  .hero-slider { height: 520px; }
  .hero-arrow { display: none; }
}

/* Homepage nav sits over the light hero — swap the transparent-state text
   from off-white to dark ink so it stays legible. Once scrolled, the navbar
   goes solid navy again and off-white text takes back over automatically. */
body.has-light-hero .navbar:not(.is-scrolled) .navbar-links-inline { color: var(--color-ink); }
body.has-light-hero .navbar:not(.is-scrolled) .navbar-links-inline:hover { background: rgba(18,37,62,.08); color: var(--color-primary); }
body.has-light-hero .navbar:not(.is-scrolled) .navbar-links-inline.active { color: var(--color-primary); background: rgba(18,37,62,.06); }
body.has-light-hero .navbar:not(.is-scrolled) .logo-printers { color: var(--color-ink); }
body.has-light-hero .navbar:not(.is-scrolled) .navbar-search-btn { border-color: var(--color-border); background: rgba(255,255,255,.6); color: var(--color-ink); }
body.has-light-hero .navbar:not(.is-scrolled) .navbar-toggle span { background: var(--color-ink); }

/* ---------- Stats strip ---------- */
.stats-strip { background: var(--color-ink); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 0; text-align: center; }
.stats-grid .stat-num { font-family: 'Poppins', sans-serif; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--color-gold); }
.stats-grid .stat-label { font-size: .88rem; color: #d8d8d8; margin-top: 4px; }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Search by Industries — minimal, corporate tiles ---------- */
/* padding-top/bottom on the scroller reserve room *inside* the scroll box so
   the hover lift and focus ring below never get clipped by overflow-x:auto
   (which forces overflow-y to clip too, per the CSS overflow spec). */
.industry-scroller { display: flex; gap: 16px; overflow-x: auto; overflow-y: visible; padding: 14px 4px 16px; scrollbar-width: thin; }
.industry-tile {
  flex: 0 0 auto; width: 152px; text-align: center; padding: 24px 14px;
  border-radius: var(--radius-md); border: none; outline: none; transition: transform .2s ease, box-shadow .2s ease;
}
.industry-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.industry-tile:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }
.industry-tile .icon-circle {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 14px; background: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
}
.industry-tile .name { font-weight: 700; font-size: .88rem; }

/* ---------- Category grid — minimal corporate cards (2-tone blue + flat icon) ---------- */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 320px)); gap: 24px; }
.category-card-v2 {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border);
  transition: transform .2s ease, box-shadow .2s ease;
}
.category-card-v2:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.category-card-v2:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }
.category-card-v2 .card-top { position: relative; padding: 26px; }
.category-card-v2 .card-icon-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.category-card-v2 .card-icon {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.55);
}
.category-card-v2 .card-count { font-size: .72rem; font-weight: 700; opacity: .75; }
.category-card-v2 h3 { font-size: 1.1rem; margin: 0 0 8px; }
.category-card-v2 p {
  font-size: .86rem; margin: 0 0 18px; opacity: .8; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.category-card-v2 .card-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 700;
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px; transition: gap .15s ease;
}
.category-card-v2:hover .card-link { gap: 10px; }
/* auto-fit + minmax means the grid only ever creates as many columns as
   there are cards (up to the max card width) — so a category or search
   result with just 1-2 items never leaves a row of empty blank cells,
   at any screen width, with no breakpoint tuning needed. */

/* ---------- Product grid & cards — flat, light, one click target ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 310px)); gap: 24px; }
.product-card {
  display: flex; flex-direction: column; background: #fff; overflow: hidden;
  border: 1px solid var(--color-border); border-radius: 18px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.product-card:hover { border-color: var(--color-primary); box-shadow: 0 12px 30px rgba(0,57,100,.10); transform: translateY(-3px); }
.product-card:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }
.product-card .thumb { position: relative; aspect-ratio: 4 / 3; background: var(--color-bg-alt); overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .thumb img { transform: scale(1.04); }
/* no photo yet → a calm flat icon tile instead of a stock image or a broken-image box */
.thumb-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #EAF4FB 0%, #DCEBF7 100%);
}
.thumb-placeholder .ph-icon {
  width: 76px; height: 76px; border-radius: 50%; background: #fff; color: var(--color-primary);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,57,100,.08);
}
.product-card .badge-trend {
  position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--color-ink); font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; padding: 5px 11px 5px 9px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,57,100,.10);
}
.product-card .badge-trend::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--color-gold); }
.product-card .body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.product-card .cat-tag { font-size: .7rem; color: var(--color-primary); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.product-card h3 { font-size: 1.08rem; line-height: 1.3; margin: 0 0 8px; }
.product-card p {
  font-size: .88rem; color: var(--color-ink-soft); line-height: 1.55; flex: 1; margin: 0 0 18px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card .actions { display: flex; gap: 8px; }
.product-card .card-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--color-border); }
.product-card .card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .86rem; color: var(--color-primary); transition: gap .15s ease; }
.product-card:hover .card-link { gap: 10px; }
/* auto-fit already reflows column count to the viewport on its own —
   no manual breakpoints needed for these two grids anymore. */

/* ---------- Products toolbar: one search field, category pills, industry filter ---------- */
.pd-search {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--color-border);
  border-radius: 999px; padding: 6px 6px 6px 22px; transition: border-color .2s ease, box-shadow .2s ease;
}
.pd-search:focus-within { border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(16,106,168,.12); }
.pd-search > .icon { color: var(--color-ink-soft); }
.pd-search input[type="text"] {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1rem;
  color: var(--color-ink); padding: 13px 4px;
}
.pd-search input::placeholder { color: #8795AB; }
.pd-search-clear { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; color: var(--color-ink-soft); flex-shrink: 0; }
.pd-search-clear:hover { background: var(--color-bg-alt); color: var(--color-ink); }
.pd-search .btn { padding: 13px 28px; flex-shrink: 0; }

.pd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pd-chip {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--color-border); background: #fff;
  color: var(--color-ink-soft); font-size: .85rem; font-weight: 600; white-space: nowrap;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.pd-chip:hover { border-color: var(--color-primary); color: var(--color-primary); }
.pd-chip.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

.pd-meta {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  margin: 26px 0 24px; padding-top: 20px; border-top: 1px solid var(--color-border);
}
.pd-count { color: var(--color-ink-soft); font-size: .92rem; margin: 0; }
.pd-count strong { color: var(--color-ink); }
.pd-meta-right { display: flex; align-items: center; gap: 16px; margin: 0; }
.pd-select {
  -webkit-appearance: none; appearance: none; cursor: pointer; font: inherit; font-size: .86rem; font-weight: 600; color: var(--color-ink);
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2352607A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 14px center;
  border: 1px solid var(--color-border); border-radius: 999px; padding: 9px 38px 9px 18px;
}
.pd-select:hover { border-color: var(--color-primary); }
.pd-select:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.pd-clear { font-size: .86rem; font-weight: 600; color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }

.pd-empty { text-align: center; padding: 72px 20px; max-width: 460px; margin: 0 auto; }
.pd-empty-icon {
  width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; background: var(--color-bg-alt);
  color: var(--color-primary); display: flex; align-items: center; justify-content: center;
}
.pd-empty h3 { margin-bottom: 8px; }
.pd-empty p { color: var(--color-ink-soft); margin-bottom: 24px; }

@media (max-width: 640px) {
  /* phones: let cards use the full width instead of stopping at the desktop max card width */
  .product-grid, .category-grid { grid-template-columns: 1fr; }
  .pd-search { padding-left: 16px; }
  .pd-search .btn { padding: 12px 18px; }
  .pd-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--page-pad)); padding-right: var(--page-pad); }
  .pd-chips::-webkit-scrollbar { display: none; }
  .pd-meta { flex-direction: column; align-items: flex-start; }
}

/* ---------- Filters (also used by the Infrastructure page's type chips) ---------- */
.filters-bar { display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 18px; background: #fff;
  padding: 16px 20px; border-radius: var(--radius-md); border: 1px solid var(--color-border); }
.filters-bar-group { display: flex; flex-direction: column; gap: 6px; }
.filters-bar-group label { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--color-ink-soft); }
.filters-bar select, .filters-bar input[type="text"] {
  padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid var(--color-border); font-family: inherit; font-size: .9rem; min-width: 200px;
}
.filters-bar .filter-chip {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--color-border); font-size: .84rem; font-weight: 600;
}
.filters-bar .filter-chip.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
@media (max-width: 640px) {
  .filters-bar select, .filters-bar input[type="text"] { min-width: 0; width: 100%; }
}

/* ---------- About / full-bleed banner section ---------- */
.banner-section {
  position: relative; padding: 100px 0; color: #fff; background-size: cover; background-position: center;
}
.banner-section::before { content:''; position:absolute; inset:0; background: rgba(0,57,100,.5); } /* brand rich-blue tint; lower the .5 to show more of the photo, raise it for stronger text contrast */
.banner-section .container { position: relative; z-index: 2; max-width: 720px; text-align: center; margin: 0 auto; }
.banner-section .eyebrow { text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.banner-section h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.banner-section p { color: #fff; font-size: 1.05rem; text-shadow: 0 1px 10px rgba(0,0,0,.35); }

/* ---------- Two column layout (About/Infra style) ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.two-col img { border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Infrastructure grid ---------- */
.infra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.infra-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.infra-card .thumb { aspect-ratio: 16/10; background: var(--color-bg-alt); overflow: hidden; }
.infra-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.infra-card .body { padding: 18px; }
.infra-card .type-tag { font-size: .7rem; text-transform: uppercase; font-weight: 800; letter-spacing: .05em; color: var(--color-primary); }
.infra-card h4 { margin: 6px 0; font-size: 1.05rem; }
.infra-card .brand { color: var(--color-ink-soft); font-size: .85rem; margin-bottom: 8px; }
@media (max-width: 960px) { .infra-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .infra-grid { grid-template-columns: 1fr; } }

/* ---------- Product detail page ---------- */
.pd-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; }
.pd-gallery-main { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1/1; background: var(--color-bg-alt); margin-bottom: 14px; }
.pd-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-thumbs img { width: 76px; height: 76px; object-fit: cover; border-radius: var(--radius-sm); border: 2px solid transparent; cursor: pointer; }
.pd-thumbs img.active { border-color: var(--color-primary); }
.pd-info .cat-tag { color: var(--color-primary); font-weight: 700; text-transform: uppercase; font-size: .78rem; letter-spacing: .05em; }
.pd-info h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 8px 0 14px; }
.pd-info .sku { color: var(--color-ink-soft); font-size: .85rem; margin-bottom: 18px; }
.pd-info .industries-list { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.pd-info .industries-list span { background: var(--color-bg-alt); padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.pd-cta-row { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.pd-specs-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.pd-specs-table td { padding: 12px 14px; border-bottom: 1px solid var(--color-border); font-size: .92rem; }
.pd-specs-table td:first-child { font-weight: 700; width: 40%; color: var(--color-ink-soft); }
.pd-tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--color-border); margin: 48px 0 24px; }
.pd-tabs button { padding: 12px 22px; border: none; background: none; font-weight: 700; color: var(--color-ink-soft); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.pd-tabs button.active { color: var(--color-primary); border-color: var(--color-primary); }
.pd-tab-panel { display: none; }
.pd-tab-panel.active { display: block; }
.faq-item { border-bottom: 1px solid var(--color-border); padding: 18px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--color-primary); }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin-top: 10px; color: var(--color-ink-soft); }
@media (max-width: 860px) { .pd-wrap { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm); border: 1px solid var(--color-border);
  font-family: inherit; font-size: .95rem; background: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--color-primary); }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.card-surface { background: #fff; border-radius: var(--radius-md); border: 1px solid var(--color-border); padding: 28px; }

/* ---------- Alerts ---------- */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 600; font-size: .9rem; }
.alert-success { background: #E6F6EC; color: #17703A; border: 1px solid #B7E4C7; }
.alert-error { background: var(--color-danger-light); color: var(--color-danger); border: 1px solid #F3C3C9; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-ink); color: #d8d8d8; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 64px 0 40px; }
.footer-top h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-top p { color: #aaa; font-size: .9rem; }
.footer-top ul li { margin-bottom: 10px; }
.footer-top ul li a { color: #c9c9c9; font-size: .9rem; }
.footer-top ul li a:hover { color: var(--color-gold); }
.footer-brand .footer-logo-text {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px;
  font-family: 'Montserrat', 'Poppins', sans-serif; letter-spacing: .03em;
}
.footer-brand .footer-logo-icon { height: 44px; width: auto; display: block; flex-shrink: 0; }
.footer-brand .logo-text-inner { display: inline-flex; align-items: baseline; gap: 8px; }
.footer-brand .footer-logo-text .logo-slv { font-weight: 700; font-size: 1.7rem; color: var(--color-gold); }
.footer-brand .footer-logo-text .logo-printers { font-weight: 600; font-size: 1.15rem; color: #fff; letter-spacing: .12em; }
.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.footer-socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #444; display: flex; align-items: center; justify-content: center; }
.footer-socials a:hover { background: var(--color-primary); border-color: var(--color-primary); }
.footer-bottom { border-top: 1px solid #333; padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: #999; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: var(--color-primary-dark);
  color: #fff;
  margin-top: calc(-1 * var(--nav-height));
  padding: calc(40px + var(--nav-height)) 0 40px;
  text-align: center;
}
.page-header h1 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.page-header .breadcrumb { color: #bbb; font-size: .88rem; margin-top: 8px; }
.page-header .breadcrumb a { color: var(--color-gold); }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 400;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
}

/* ---------- Career listing ---------- */
.job-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px; background: #fff;
  border: 1px solid var(--color-border); border-radius: var(--radius-md); margin-bottom: 16px; flex-wrap: wrap; }
.job-card .meta { display: flex; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.job-card .meta span { font-size: .78rem; font-weight: 700; color: var(--color-ink-soft); background: var(--color-bg-alt); padding: 4px 10px; border-radius: 999px; }

/* ---------- utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.bg-alt { background: var(--color-bg-alt); }
.bg-white { background: #fff; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--color-ink-soft); }

/* ---------- Legal pages (Privacy Policy, etc.) ---------- */
.legal-doc { max-width: 820px; }
.legal-doc .legal-updated { color: var(--color-ink-soft); font-size: .88rem; font-weight: 600; margin-bottom: 28px; }
.legal-doc h2 { font-size: 1.25rem; margin-top: 40px; margin-bottom: 14px; color: var(--color-primary-dark); }
.legal-doc h2:first-of-type { margin-top: 0; }
.legal-doc p { color: var(--color-ink-soft); line-height: 1.7; margin-bottom: 16px; }
.legal-doc ul { margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.legal-doc ul li { color: var(--color-ink-soft); line-height: 1.7; margin-bottom: 8px; }
.legal-doc strong { color: var(--color-ink); }
.legal-doc a { color: var(--color-primary); text-decoration: underline; }
.legal-officer-box {
  background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 20px 24px; margin: 16px 0 20px;
}
.legal-officer-box p { margin-bottom: 10px; }
.legal-officer-box p:last-child { margin-bottom: 0; }
.legal-disclaimer { font-size: .82rem; font-style: italic; border-top: 1px solid var(--color-border); padding-top: 20px; margin-top: 36px; }
