/* =========================================================================
   Jiya Engineering Company — catalogue site
   Design system: industrial safety signage.
   Near-black + steel + HI-VIS SAFETY YELLOW (#FFD400).
   Display type: Barlow Condensed. Body: Inter.
   Single stylesheet, mobile-first, no framework.
   ========================================================================= */

:root {
  --ink: #14171a;
  --ink-2: #23272c;
  --steel: #57616c;
  --steel-light: #8b95a1;
  --line: #e4e7ec;
  --surface: #f5f6f8;
  --surface-2: #eceff3;
  --white: #ffffff;

  /* the bright safety yellow the client wants front-and-centre */
  --hi-vis: #ffd400;
  --hi-vis-deep: #ffc400;
  --hi-vis-wash: #fff8d6;
  --gold-text: #806600;          /* AA on white for small yellow-family text */

  --wa: #25d366;
  --wa-dark: #1da851;
  --call: #0b6bcb;
  --call-dark: #0a5aab;
  --danger: #c0392b;
  --ok: #1e8e3e;

  --radius: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20, 23, 26, .08), 0 1px 3px rgba(20, 23, 26, .06);
  --shadow-md: 0 6px 18px rgba(20, 23, 26, .12);
  --shadow-lg: 0 18px 44px rgba(20, 23, 26, .20);
  --shadow-glow: 0 8px 24px rgba(255, 212, 0, .35);

  --font: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", "Inter", sans-serif;
  --maxw: 1200px;
  --header-h: 72px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-2);
  background: var(--white);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--gold-text); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
h1, h2 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: .002em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.25; }
h4 { font-weight: 700; }

p { margin: 0 0 1rem; }
strong { font-weight: 700; color: var(--ink-2); }

:focus-visible { outline: 3px solid var(--call); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: 72px 0; }
.section--tight { padding: 44px 0; }
.section--surface { background: var(--surface); }
.section--ink { background: var(--ink); color: #ced3d9; }
.section--ink h2, .section--ink h3, .section--ink h4 { color: var(--white); }
.section--ink a { color: var(--hi-vis); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font);
  font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 4px; background: var(--hi-vis); border-radius: 2px; }
.section--ink .eyebrow { color: var(--white); }

.lead { font-size: 1.15rem; color: var(--steel); max-width: 62ch; }
.section--ink .lead { color: #ced3d9; }

.text-center { text-align: center; }
.center-block { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--hi-vis);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--radius);
  font-family: var(--display); font-weight: 700; font-size: 1.02rem;
  letter-spacing: .04em; text-transform: uppercase;
  border: 2px solid transparent; cursor: pointer; text-decoration: none; line-height: 1;
  transition: transform .08s ease, background .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--hi-vis); color: var(--ink); }
.btn--primary:hover { background: var(--hi-vis-deep); box-shadow: var(--shadow-glow); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #000; box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; border-color: rgba(20,23,26,.2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--white); }
.section--ink .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.3); }
.section--ink .btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--wa { background: var(--wa); color: var(--white); }
.btn--wa:hover { background: var(--wa-dark); box-shadow: 0 8px 22px rgba(37,211,102,.35); }
.btn--sm { padding: 10px 16px; font-size: .9rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* ---------- Icon action buttons (call / whatsapp shortcuts) ---------- */
.icon-btn {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  color: var(--white); flex-shrink: 0;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn:hover { transform: translateY(-2px); text-decoration: none; }
.icon-btn--wa { background: var(--wa); }
.icon-btn--wa:hover { box-shadow: 0 8px 20px rgba(37,211,102,.4); }
.icon-btn--call { background: var(--call); }
.icon-btn--call:hover { box-shadow: 0 8px 20px rgba(11,107,203,.4); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: ""; display: block; height: 3px;
  background: repeating-linear-gradient(45deg, var(--hi-vis) 0 14px, var(--ink) 14px 28px);
}
.nav { display: flex; align-items: center; gap: 18px; height: var(--header-h); }

.brand { display: flex; flex-direction: column; justify-content: center; flex-shrink: 0; line-height: 1; }
.brand:hover { text-decoration: none; }
.brand__word {
  font-family: var(--display); font-weight: 800; font-size: 1.5rem;
  letter-spacing: .01em; text-transform: uppercase; color: var(--ink);
  display: inline-flex; gap: .32em; align-items: baseline;
}
.brand__word-2 { color: var(--steel); font-weight: 600; }
.brand__tag {
  font-size: .64rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold-text); margin-top: 4px;
}
.brand__logo { max-height: 46px; width: auto; }

.nav__links { display: flex; align-items: center; gap: 2px; margin-left: 26px; }
.nav__links a {
  display: block; padding: 9px 13px; border-radius: 7px;
  color: var(--ink-2); font-weight: 600; font-size: .95rem;
}
.nav__links a:hover { background: var(--surface); text-decoration: none; }
.nav__links a.is-active { color: var(--ink); box-shadow: inset 0 -3px 0 var(--hi-vis); border-radius: 0; }

/* Products dropdown */
.nav__group { position: relative; display: inline-flex; align-items: center; }
.nav__caret {
  border: 0; background: transparent; cursor: pointer; padding: 8px 6px;
  color: var(--steel); display: inline-grid; place-items: center;
}
.nav__caret svg { width: 13px; height: 13px; transition: transform .15s ease; }
.nav__group.is-open .nav__caret svg { transform: rotate(180deg); }
.subnav {
  position: absolute; top: 100%; left: 0; margin-top: 4px; width: 480px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-md); padding: 10px; display: none; z-index: 120;
}
.nav__group.is-open .subnav { display: block; }
@media (hover: hover) and (min-width: 1001px) { .nav__group:hover .subnav { display: block; } }
.subnav a {
  display: block; padding: 8px 12px; border-radius: 7px;
  color: var(--ink-2); font-weight: 600; font-size: .9rem;
}
.subnav a:hover { background: var(--surface); text-decoration: none; }
.subnav__all { font-weight: 700 !important; border-bottom: 1px solid var(--line); border-radius: 7px 7px 0 0; margin-bottom: 6px; }
.subnav__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.subnav__toggle {
  width: 100%; text-align: left; border: 0; background: transparent; cursor: default;
  padding: 6px 12px 4px; font-size: .66rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--steel-light);
  display: flex; align-items: center; justify-content: space-between;
}
.subnav__toggle-caret { display: none; }
.subnav__more { color: var(--gold-text) !important; }

/* header search */
.nav__search-btn {
  border: 1px solid var(--line); background: var(--white); border-radius: 9px;
  width: 40px; height: 40px; cursor: pointer; display: grid; place-items: center; color: var(--ink);
  flex-shrink: 0;
}
.nav__search-btn:hover { border-color: var(--steel); background: var(--surface); }
.nav__search-btn svg { width: 18px; height: 18px; }
.header-search { border-top: 1px solid var(--line); background: var(--surface); }
.header-search .container { display: flex; align-items: center; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
.header-search__icon { color: var(--steel-light); display: grid; place-items: center; flex-shrink: 0; }
.header-search__icon svg { width: 18px; height: 18px; }
.header-search input {
  flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--line);
  border-radius: var(--radius); font: inherit; font-size: .95rem; background: var(--white);
}
.header-search input:focus { outline: 3px solid var(--hi-vis); border-color: var(--hi-vis); }
.header-search__close {
  border: 0; background: transparent; font-size: 1.6rem; line-height: 1; color: var(--steel);
  cursor: pointer; padding: 0 6px; flex-shrink: 0;
}

/* desktop: both dropdown columns always expanded */
@media (min-width: 1001px) {
  .subnav__list { display: block !important; }
  .subnav__col { padding: 4px 0; }
}

.nav__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: auto; }

.nav__toggle {
  display: none; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 9px; background: var(--white);
  cursor: pointer; place-items: center; flex-shrink: 0;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 20px; height: 2.5px; border-radius: 2px;
  background: var(--ink); position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 130% at 15% 0%, #23272c 0%, #14171a 55%, #0c0e10 100%);
  color: #d7dbe0; padding: 92px 0 100px;
}
.hero__stripes {
  position: absolute; inset: -20% -10%; z-index: 0; opacity: .12;
  background: repeating-linear-gradient(50deg, var(--hi-vis) 0 26px, transparent 26px 66px);
  animation: hero-pan 24s linear infinite;
}
@keyframes hero-pan { to { transform: translateX(66px); } }
.hero__glow {
  position: absolute; z-index: 0; width: 460px; height: 460px; right: -120px; top: -140px;
  background: radial-gradient(circle, rgba(255,212,0,.22), transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; max-width: 820px; }
.hero .eyebrow { color: var(--white); }
.hero h1 { color: var(--white); }
.hero h1 .hl {
  color: var(--ink); background: var(--hi-vis);
  padding: 0 .14em; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.hero p { font-size: 1.22rem; color: #c7ccd3; max-width: 60ch; }
.hero .btn-row { margin-top: 32px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .86rem; font-weight: 600; color: #c7ccd3;
}
.hero__badge::before { content: ""; width: 8px; height: 8px; background: var(--hi-vis); border-radius: 50%; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--hi-vis); color: var(--ink); }
.trust-strip__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(20, 23, 26, .18);
}
.trust-strip__item { background: var(--hi-vis); padding: 22px 18px; text-align: center; }
.trust-strip__item strong {
  display: block; font-family: var(--display); font-weight: 800; font-size: 1.5rem;
  text-transform: uppercase; letter-spacing: .02em; color: var(--ink);
}
.trust-strip__item span { font-size: .82rem; color: rgba(20,23,26,.75); font-weight: 500; }

/* ---------- Section head ---------- */
.section-head { max-width: 66ch; }
.section-head--center { margin: 0 auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d3d8df; text-decoration: none; }
.card__media {
  position: relative; aspect-ratio: 1 / 1; background: var(--surface-2);
  overflow: hidden; border-bottom: 1px solid var(--line);
}
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card__eyebrow { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-light); }
.card__title { font-size: 1.06rem; font-weight: 700; color: var(--ink); margin: 0; line-height: 1.28; }
.card__desc {
  font-size: .9rem; color: var(--steel); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; gap: 8px; }
.card__foot .link-arrow { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; color: var(--ink); }
.card__foot .link-arrow::after { content: " →"; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: 4px 11px; border-radius: var(--radius-pill);
  font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  background: var(--hi-vis-wash); color: var(--gold-text); border: 1px solid #f0e2a6;
}
.badge--made { background: #e7f4ec; color: var(--ok); border-color: #c3e4d0; }
.badge--soon { background: var(--surface-2); color: var(--steel); border-color: var(--line); }
a.badge--link { transition: border-color .12s ease, background .12s ease; }
a.badge--link:hover { border-color: var(--ink); text-decoration: none; }

/* ---------- Category / brand tiles ---------- */
.tile {
  display: flex; flex-direction: column; gap: 11px; padding: 24px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
  position: relative; overflow: hidden;
}
.tile::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--hi-vis); transform: scaleY(0); transform-origin: top; transition: transform .2s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d3d8df; text-decoration: none; }
.tile:hover::before { transform: scaleY(1); }
.tile__icon {
  width: 54px; height: 54px; border-radius: 13px;
  background: var(--ink); color: var(--hi-vis); display: grid; place-items: center;
}
.tile__icon svg { width: 28px; height: 28px; }
.tile h3 { margin: 0; font-size: 1.1rem; }
.tile p { margin: 0; font-size: .88rem; color: var(--steel); }
.tile__count { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--steel-light); margin-top: auto; padding-top: 6px; }

.brand-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center;
  min-height: 104px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); font-family: var(--display); font-weight: 700; font-size: 1.15rem;
  text-transform: uppercase; letter-spacing: .03em; color: var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.brand-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--hi-vis); text-decoration: none; }
.brand-tile img { max-height: 54px; width: auto; }
.brand-tile__count {
  font-family: var(--font); font-size: .7rem; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase; color: var(--steel-light);
}
.brand-hero__logo { max-height: 64px; width: auto; margin-bottom: 14px; }

/* ---------- Marquee (auto-scrolling logo strip) ---------- */
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  flex-shrink: 0; min-width: 200px; min-height: 92px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  font-family: var(--display); font-weight: 700; font-size: 1.1rem; text-transform: uppercase;
  letter-spacing: .03em; color: var(--ink); padding: 0 26px;
}
.marquee__item img { max-height: 52px; width: auto; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }

/* ---------- Slider (scroll-snap carousel) ---------- */
.slider { position: relative; }
.slider__viewport {
  display: grid; grid-auto-flow: column; gap: 22px;
  grid-auto-columns: minmax(280px, 1fr);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 6px; scrollbar-width: none;
}
.slider--3 .slider__viewport { grid-auto-columns: calc(33.333% - 15px); }
.slider--2 .slider__viewport { grid-auto-columns: calc(50% - 11px); }
.slider__viewport::-webkit-scrollbar { display: none; }
.slider__viewport > * { scroll-snap-align: start; }
.slider__nav {
  display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px;
}
.slider__btn {
  width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--ink);
  background: var(--white); color: var(--ink); cursor: pointer;
  display: grid; place-items: center; transition: background .14s ease, color .14s ease;
}
.slider__btn:hover { background: var(--hi-vis); border-color: var(--hi-vis); }
.slider__btn svg { width: 18px; height: 18px; }
.slider__btn[disabled] { opacity: .35; cursor: default; }
.slider__btn[disabled]:hover { background: var(--white); border-color: var(--ink); }

/* ---------- Slideshow (fading hero-style) ---------- */
.slideshow { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); min-height: 260px; }
.section--ink .slideshow { background: #1c2024; border: 1px solid #2b3037; }
.slideshow__slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease;
  display: grid; place-items: center; padding: 36px;
}
.slideshow__slide.is-active { opacity: 1; position: relative; }
.slideshow__slide h3 { margin-bottom: 8px; }
.slideshow__slide p { margin: 0; }
.slideshow__dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; gap: 8px; justify-content: center; z-index: 2; }
.slideshow__dot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; }
.slideshow__dot.is-active { background: var(--hi-vis); width: 26px; border-radius: 5px; }

/* ---------- Products page ---------- */
.catalogue-toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.toggle { display: inline-flex; border: 2px solid var(--ink); border-radius: var(--radius-pill); background: var(--white); padding: 3px; }
.toggle button {
  border: none; background: transparent; padding: 10px 20px; border-radius: var(--radius-pill);
  font-family: var(--display); font-weight: 700; font-size: .95rem; text-transform: uppercase;
  letter-spacing: .04em; color: var(--steel); cursor: pointer;
}
.toggle button.is-active { background: var(--ink); color: var(--white); }

.search-input {
  flex: 1; min-width: 220px; max-width: 360px; padding: 12px 15px;
  border: 1px solid var(--line); border-radius: var(--radius); font: inherit; font-size: .95rem;
}
.search-input:focus { outline: 3px solid var(--hi-vis); outline-offset: 0; border-color: var(--hi-vis); }

.catalogue-layout { display: grid; grid-template-columns: 244px 1fr; gap: 34px; align-items: start; }
.filter-panel { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; position: sticky; top: calc(var(--header-h) + 16px); }
.filter-panel h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--steel-light); margin-bottom: 12px; }
.filter-list { list-style: none; margin: 0; padding: 0; }
.filter-list button {
  width: 100%; text-align: left; border: none; background: transparent;
  padding: 9px 11px; border-radius: 7px; font: inherit; font-size: .92rem; color: var(--ink-2);
  cursor: pointer; display: flex; justify-content: space-between; gap: 8px;
}
.filter-list button:hover { background: var(--surface); }
.filter-list button.is-active { background: var(--ink); color: var(--white); font-weight: 600; }
.filter-list button.is-active span { color: var(--hi-vis); }
.filter-list button span { color: var(--steel-light); font-weight: 600; }

.result-meta { font-size: .92rem; color: var(--steel); margin-bottom: 18px; font-weight: 600; }

.empty-state { text-align: center; padding: 64px 22px; border: 2px dashed var(--line); border-radius: var(--radius-lg); color: var(--steel); }

/* ---------- Product detail ---------- */
.pd-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pd-gallery__main {
  position: relative; aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--surface-2);
}
.pd-gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.pd-gallery__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(20,23,26,.78);
  color: #fff; cursor: pointer; display: grid; place-items: center;
}
.pd-gallery__arrow svg { width: 18px; height: 18px; }
.pd-gallery__arrow--prev { left: 12px; }
.pd-gallery__arrow--next { right: 12px; }
.pd-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-gallery__thumbs button { width: 70px; height: 70px; border: 2px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface-2); cursor: pointer; padding: 0; }
.pd-gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pd-gallery__thumbs button.is-active { border-color: var(--hi-vis); }

.pd-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.pd-title { margin-bottom: 12px; }
.pd-short { font-size: 1.08rem; color: var(--steel); }
.pd-desc p { color: var(--ink-2); }

.spec-table { width: 100%; border-collapse: collapse; margin: 10px 0 26px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 15px; border-bottom: 1px solid var(--line); font-size: .93rem; vertical-align: top; }
.spec-table th { width: 40%; color: var(--steel); font-weight: 600; background: var(--surface); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

.enquire-box { border: 1px solid var(--line); border-left: 5px solid var(--hi-vis); border-radius: var(--radius-lg); padding: 22px; background: var(--surface); }
.enquire-box h3 { margin-bottom: 4px; }
.enquire-box p { font-size: .9rem; color: var(--steel); margin-bottom: 16px; }
.enquire-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.breadcrumbs { font-size: .85rem; color: var(--steel); margin-bottom: 20px; }
.breadcrumbs a { color: var(--steel); }
.breadcrumbs span { margin: 0 6px; color: var(--steel-light); }

/* ---------- Contact band ---------- */
.contact-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.contact-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; text-align: center;
  background: var(--white); display: flex; flex-direction: column; align-items: center; gap: 9px;
  transition: transform .12s ease, box-shadow .12s ease;
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); text-decoration: none; }
.contact-card__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: var(--white); }
.contact-card__icon svg { width: 25px; height: 25px; }
.contact-card--call .contact-card__icon { background: var(--call); }
.contact-card--wa .contact-card__icon { background: var(--wa); }
.contact-card--mail .contact-card__icon { background: var(--ink); }
.contact-card strong { color: var(--ink); font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: 1.1rem; }
.contact-card span { font-size: .88rem; color: var(--steel); word-break: break-word; }

/* ---------- Forms ---------- */
.form-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; background: var(--white); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 17px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink-2); }
.field .req { color: var(--danger); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; font-size: .95rem; background: var(--white); color: var(--ink-2);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--hi-vis); outline-offset: 0; border-color: var(--hi-vis); }
.field textarea { min-height: 120px; resize: vertical; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--steel-light); }
.form-success { display: none; padding: 18px; border-radius: var(--radius); background: #e7f4ec; border: 1px solid #c3e4d0; color: #14532d; }
.form-success.is-visible { display: block; }
.form-error { display: none; margin-top: 12px; padding: 14px; border-radius: var(--radius); background: #fdecea; border: 1px solid #f5c6c0; color: #7a1c12; font-size: .9rem; }
.form-error.is-visible { display: block; }

/* ---------- Info blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 24px 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.section--ink .stat { background: #1c2024; border-color: #2b3037; }
.stat strong { display: block; font-family: var(--display); font-weight: 800; font-size: 2.4rem; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.section--ink .stat strong { color: var(--hi-vis); }
.stat span { font-size: .84rem; color: var(--steel); }
.section--ink .stat span { color: #aeb4bc; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 13px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 6px; background: var(--hi-vis); }
.checklist li::after { content: ""; position: absolute; left: 7px; top: 5px; width: 6px; height: 11px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* ---------- Floating action buttons ----------
   Bottom-LEFT on purpose: Netlify's own "hosted on Netlify" badge occupies
   bottom-right on every page and can't be moved or removed from our side, so
   these get their own corner instead of fighting it for space. Styled as
   labelled pills (same display type + uppercase treatment as the site's other
   buttons) so they read as part of the page, not a bolted-on widget; they
   collapse to icon-only circles on phones to stay out of the way while
   keeping a full-size, thumb-friendly tap target. */
.fab-stack { position: fixed; left: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.fab {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding-right: 20px; border-radius: 999px;
  color: var(--white); box-shadow: var(--shadow-lg); text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: .92rem;
  letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.fab:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 0 20px 40px rgba(16,19,23,.28); }
.fab__icon {
  position: relative; width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; background: rgba(0,0,0,.14);
}
.fab__icon svg { width: 25px; height: 25px; }
.fab--wa { background: var(--wa); }
.fab--call { background: var(--call); }
.fab.only-mobile { display: none; }
.fab__pulse { position: absolute; inset: 0; border-radius: 50%; background: rgba(255,255,255,.55); opacity: .6; animation: fab-pulse 2.6s ease-out infinite; }
@keyframes fab-pulse { 0% { transform: scale(1); opacity: .5; } 70% { transform: scale(1.7); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 640px) {
  .fab { width: 52px; height: 52px; padding-right: 0; border-radius: 50%; justify-content: center; }
  .fab__icon { background: transparent; }
  .fab__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9aa1ab; padding: 60px 0 28px; font-size: .9rem; }
.site-footer::before { content: ""; display: block; height: 3px; margin-bottom: 56px; background: repeating-linear-gradient(45deg, var(--hi-vis) 0 14px, transparent 14px 28px); }
.site-footer a { color: #d3d8df; }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px; margin-bottom: 40px; }
.footer-grid h4 { color: var(--white); font-family: var(--display); font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-brand .brand__word { color: var(--white); }
.footer-brand .brand__word-2 { color: #9aa1ab; }
.footer-brand .brand__tag { color: var(--hi-vis); }
.footer-socials { display: flex; gap: 10px; margin-top: 14px; }
.footer-socials a { width: 38px; height: 38px; border: 1px solid #333941; border-radius: 9px; display: grid; place-items: center; }
.footer-socials a:hover { border-color: var(--hi-vis); background: rgba(255,212,0,.08); }
.footer-socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { border-top: 1px solid #2a2f37; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: #767e89; }

/* ---------- Misc ---------- */
.ph-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.muted { color: var(--steel); }
.hide { display: none !important; }
.notice { border-left: 4px solid var(--hi-vis); background: var(--hi-vis-wash); padding: 13px 16px; border-radius: 0 var(--radius) var(--radius) 0; font-size: .88rem; color: var(--ink-2); }

/* one-time load reveal — starts visible, animates gently */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: reveal .55s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes reveal { from { opacity: .4; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .hero__stripes, .marquee__track, .fab__pulse { animation: none !important; }
  html { scroll-behavior: auto; }
  .slider__viewport { scroll-behavior: auto; }
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1000px) {
  .nav__links {
    position: absolute; top: calc(var(--header-h) + 3px); left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: 8px 18px 18px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); display: none;
    max-height: calc(100vh - var(--header-h) - 3px); overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links > a { padding: 13px 12px; border-radius: 8px; font-size: 1rem; }
  .nav__links > a + a, .nav__links > .nav__group + a, .nav__links > a + .nav__group { border-top: 1px solid var(--surface); }
  .nav__links a.is-active { box-shadow: inset 3px 0 0 var(--hi-vis); border-radius: 8px; }
  .nav__toggle { display: grid; }
  .nav__dl { display: none; }

  .nav__group { display: flex; flex-wrap: wrap; width: 100%; align-items: center; border-top: 1px solid var(--surface); }
  .nav__group > a { flex: 1; padding: 15px 12px; border-radius: 8px 8px 0 0; font-size: 1rem; }
  .nav__caret { padding: 15px 16px; margin-left: auto; color: var(--ink); }
  .nav__caret svg { width: 15px; height: 15px; }
  .nav__group.is-open { background: var(--surface); border-radius: 8px; }
  .nav__group.is-open > a { background: transparent; }
  .subnav {
    position: static; display: none; box-shadow: none; border: 0; border-radius: 0;
    padding: 4px 0 8px; margin: 0; width: 100%; background: transparent;
  }
  .nav__group.is-open .subnav { display: block; }
  .subnav__all {
    border: 0; margin: 4px 6px 6px; padding: 13px 14px; background: var(--white);
    border: 1px solid var(--line); border-radius: 8px;
  }
  .subnav__cols { grid-template-columns: 1fr; gap: 8px; padding: 0 6px; }
  .subnav__col { border: 1px solid var(--line); border-radius: 8px; background: var(--white); overflow: hidden; }
  .subnav__toggle {
    cursor: pointer; font-size: .82rem; letter-spacing: .05em; color: var(--ink);
    padding: 15px 16px; background: var(--surface);
  }
  .subnav__col.is-open .subnav__toggle { border-bottom: 1px solid var(--line); }
  .subnav__toggle-caret { display: inline-grid; color: var(--steel); }
  .subnav__toggle-caret svg { width: 13px; height: 13px; transition: transform .15s ease; }
  .subnav__col.is-open .subnav__toggle-caret svg { transform: rotate(180deg); }
  .subnav__list { display: none; padding: 4px 0; }
  .subnav__col.is-open .subnav__list { display: block; }
  .subnav a { font-size: .95rem; padding: 12px 16px 12px 24px; }
  .subnav__more { font-weight: 700 !important; }

  .catalogue-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .slider--3 .slider__viewport { grid-auto-columns: minmax(260px, 78%); }
  .slider--2 .slider__viewport { grid-auto-columns: minmax(260px, 88%); }
  .pd-layout { grid-template-columns: 1fr; gap: 30px; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .hero { padding: 60px 0 68px; }
  .brand__word { font-size: 1.3rem; }
  .brand__tag { display: none; }
  .trust-strip__grid { grid-template-columns: 1fr; }
  .grid--4, .grid--3, .grid--2, .grid--auto { grid-template-columns: 1fr; }
  .contact-band { grid-template-columns: 1fr; }
  .enquire-actions { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .catalogue-toolbar { flex-direction: column; align-items: stretch; }
  .search-input { max-width: none; }
  .toggle { width: 100%; }
  .toggle button { flex: 1; }
  .btn-row .btn { flex: 1; }
  .slider--3 .slider__viewport, .slider--2 .slider__viewport { grid-auto-columns: 86%; }
  .fab.only-mobile { display: grid; }

  /* Category tiles: swipe sideways instead of stacking into a long list. */
  .grid--scroll-mobile {
    display: grid !important; grid-auto-flow: column; grid-template-columns: none !important;
    grid-auto-columns: 42%; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding-bottom: 6px; margin: 0 -22px; padding-left: 22px; padding-right: 22px;
    scrollbar-width: none;
  }
  .grid--scroll-mobile::-webkit-scrollbar { display: none; }
  .grid--scroll-mobile > * { scroll-snap-align: start; }
}
