/* =====================================================
   Sai Industrial Solutions — Homepage styles
   Brand colours come from the logo: royal blue #013e93, gold #e3a92c
   ===================================================== */

:root {
  --header-h: 84px;
  --navy-950: #001134;
  --navy-900: #001a49;
  --navy: #012a6b;
  --navy-700: #013582;
  --navy-600: #013e93;
  --gold: #e3a92c;
  --gold-hover: #f1bc48;
  --gold-dk: #a97808;          /* gold that stays readable on light backgrounds */
  --bg: #f6f3ee;
  --bg-2: #eee9df;
  --ink: #0a1d47;
  --text: #4d5670;
  --line: #dcd6ca;
  --font-head: 'Barlow', 'Arial Narrow', sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1360px;
  --fs: 1;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 calc(15px * var(--fs))/1.75 var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 13px; height: 13px; }
.icon--lg { width: 36px; height: 36px; stroke-width: 1.4; color: var(--gold-dk); }
.icon--xl { width: 48px; height: 48px; stroke-width: 1.2; color: var(--gold-dk); }

/* ---------- Typography helpers ---------- */
.title {
  font: 500 clamp(calc(34px * var(--fs)), 4.4vw, calc(50px * var(--fs)))/1.05 var(--font-head);
  color: var(--ink);
  margin-bottom: 18px;
}
.title span { color: var(--gold-dk); }
.title--light { color: #fff; }
.title--light span { color: var(--gold); }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font: 500 calc(13px * var(--fs))/1.4 var(--font-body);
  letter-spacing: .04em;
  color: var(--gold-dk);
  margin-bottom: 8px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: currentColor; }
.link { font-size: calc(13px * var(--fs)); font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 1px; }
.link:hover { color: var(--gold-dk); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px;
  font: 500 calc(13px * var(--fs))/1.2 var(--font-body);
  border: 1px solid transparent; border-radius: 0;
  cursor: pointer; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--navy-950); }
.btn--gold:hover { background: var(--gold-hover); }
.btn--outline { border-color: #fff; color: #fff; background: transparent; }
.btn--outline:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }
.btn--sm { padding: 9px 20px; font-size: calc(12px * var(--fs)); }
.btn--block { width: 100%; }
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  background: transparent; border: 0; cursor: pointer; color: inherit; border-radius: 50%;
  transition: background .25s, color .25s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .12); color: var(--gold); }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 100; height: var(--header-h); color: #fff; }
.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; transition: background .25s, color .25s; }
.social .icon { width: 14px; height: 14px; }
.social a:hover { background: var(--gold); color: var(--navy-950); }

.navbar { position: relative; color: var(--ink); background: #fff; }
.navbar .brand__logo-wrap { background: transparent; border-radius: 0; padding: 6px 0; }
.navbar .icon-btn:hover { background: rgba(1, 42, 107, .08); color: var(--gold-dk); }
.navbar__inner { display: flex; align-items: center; gap: 20px; min-height: 84px; }
.navbar__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }

.brand { display: flex; align-items: center; flex: none; }
.brand__logo-wrap { display: inline-flex; align-items: center; background: #fff; border-radius: 10px; padding: 8px 16px; transition: padding .3s; }
.brand__logo-wrap--lg, .brand__logo-wrap--panel { padding: 12px 22px; }
.brand__logo-wrap--panel { margin: 0 0 18px; }
.brand__logo { display: block; height: 52px; width: auto; }
.brand__logo--lg { height: 68px; }

.nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.nav__list { display: flex; }
.nav__list > li { position: relative; }
.nav a { display: flex; align-items: center; gap: 5px; padding: 30px 14px; font-size: calc(14px * var(--fs)); font-weight: 500; letter-spacing: .05em; text-transform: uppercase; transition: color .25s; }
.nav a:hover, .nav a.is-active, .has-sub:hover > a { color: var(--gold-dk); }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 270px;
  background: var(--navy-950); border-top: 2px solid var(--gold);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .3); color: #fff;
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { padding: 9px 20px; text-transform: none; letter-spacing: 0; font-size: calc(13px * var(--fs)); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.sub li:last-child a { border-bottom: 0; }
.sub a:hover { background: rgba(255, 255, 255, .05); padding-left: 26px; color: var(--gold); }
.nav-toggle { display: none; }
.nav .nav__cta { display: none; }

.site-header.is-sticky .navbar { position: fixed; inset: 0 0 auto; animation: slideDown .4s ease; }
.site-header.is-sticky .navbar { background: rgba(255, 255, 255, .97); box-shadow: 0 6px 24px rgba(0, 17, 52, .18); }
.site-header.is-sticky .navbar__inner { min-height: 72px; }
.site-header.is-sticky .navbar .brand__logo-wrap { padding: 4px 0; }
.site-header.is-sticky .brand__logo-wrap:not(.brand__logo-wrap--lg) .brand__logo { height: 40px; }
.brand__logo { transition: height .3s; }
.site-header.is-sticky .nav a { padding-block: 24px; }
.site-header .nav .sub a, .site-header.is-sticky .nav .sub a { padding-block: 13px; line-height: 1.35; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- Info panel + overlay ---------- */
.overlay { position: fixed; inset: 0; z-index: 190; background: rgba(0, 17, 52, .6); }
.info-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 200; width: min(370px, 90vw);
  padding: 60px 32px 32px; background: var(--navy-950); color: #fff; overflow-y: auto;
  transform: translateX(100%); transition: transform .4s ease; visibility: hidden;
}
.info-panel.is-open { transform: none; visibility: visible; }
.info-panel__close { position: absolute; top: 14px; right: 14px; }
.info-panel h3 { font: 500 calc(30px * var(--fs))/1.1 var(--font-head); margin: 18px 0 10px; }
.info-panel p { font-size: calc(13px * var(--fs)); color: rgba(255, 255, 255, .75); }
.info-panel__list { margin: 22px 0 28px; display: grid; gap: 14px; font-size: calc(13px * var(--fs)); }
.info-panel__list li { display: flex; gap: 12px; align-items: flex-start; }
.info-panel__list .icon { color: var(--gold); margin-top: 3px; }

/* ---------- Background slider (hero + page banners) ---------- */
.bg-slider { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.bg-slider__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.6s ease; }
.bg-slider__slide.is-active { opacity: 1; }

/* ---------- 1. Hero ---------- */
.hero {
  position: relative; overflow: hidden; display: grid; place-items: center; text-align: center; color: #fff;
  min-height: max(600px, 82vh); padding: calc(160px - var(--header-h)) 0 150px;
  background-color: var(--navy-950);
}
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(0, 10, 34, .72), rgba(0, 17, 52, .82)); pointer-events: none; }
.hero__content { position: relative; z-index: 2; display: grid; }
.hero__slide-content { grid-area: 1 / 1; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.hero__slide-content.is-active { opacity: 1; pointer-events: auto; }
.hero h1 { font: 500 clamp(calc(46px * var(--fs)), 7vw, calc(92px * var(--fs)))/.98 var(--font-head); margin-bottom: 18px; }
.hero h1 span { color: var(--gold); }
.hero p { font-style: italic; font-weight: 500; font-size: calc(15px * var(--fs)); max-width: 560px; margin: 0 auto 28px; color: rgba(255, 255, 255, .9); }
.hero__strip { position: absolute; z-index: 2; bottom: 0; left: 24%; right: 0; display: grid; grid-template-columns: 300px 1fr; min-height: 104px; }
.hero__strip > div { display: flex; align-items: center; padding: 18px 30px; text-align: left; }
.hero__strip-b { background: var(--gold); color: var(--navy-950); font: 500 calc(27px * var(--fs))/1.05 var(--font-head); }
.hero__strip-c { background: var(--navy-900); }
.hero__strip-c p { margin: 0; max-width: none; font-style: normal; font-weight: 500; font-size: calc(12.5px * var(--fs)); line-height: 1.7; color: rgba(255, 255, 255, .85); }

/* ---------- Shared section ---------- */
.section { padding: 110px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; margin-bottom: 46px; }
.section-head .title { margin-bottom: 0; }
.section-head p { font-size: calc(13px * var(--fs)); }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.section-head--row p { margin-top: 12px; max-width: 520px; }

/* ---------- 2. About ---------- */
.about { position: relative; overflow: hidden; padding-top: 72px; }
.about__watermark {
  position: absolute; top: 72px; left: 0; right: 0; z-index: 0; text-align: center;
  font: 600 clamp(calc(44px * var(--fs)), 6.2vw, calc(100px * var(--fs)))/1 var(--font-head); letter-spacing: .05em; color: transparent;
  -webkit-text-stroke: 1.2px rgba(1, 42, 107, .09); pointer-events: none; user-select: none; white-space: nowrap;
}
.about__grid {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: start;
  margin-top: clamp(80px, 9vw, 140px);
}
.about__text { text-align: right; }
.about__text p { margin-bottom: 14px; font-size: calc(13.5px * var(--fs)); }
.about__row { display: flex; align-items: center; justify-content: flex-end; gap: 34px; flex-wrap: wrap; margin-top: 34px; }
.about__media { position: relative; max-width: 500px; margin: clamp(-115px, -7vw, -85px) 0 0 auto; padding: 38px 30px 72px 0; }
.about__frame { position: absolute; top: 0; right: 0; left: 38%; bottom: 46px; background: var(--navy-900); }
.about__img { position: relative; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.about__quote {
  position: absolute; left: -20px; bottom: 0; width: min(88%, 320px);
  padding: 18px 22px; background: var(--navy-900); border-left: 4px solid var(--gold); color: #fff;
  box-shadow: 0 20px 40px rgba(0, 17, 52, .3);
}
.about__quote p { font-size: calc(13.5px * var(--fs)); color: #e8ecf6; margin-bottom: 8px; }
.about__quote cite { font: 500 calc(20px * var(--fs))/1 var(--font-head); font-style: normal; color: var(--gold); }

/* ---------- 2b. About — full-width stacked variant (about.html only, via .about--full) ---------- */
.about--full { padding-top: 100px; padding-bottom: 30px; overflow: visible; }
.about--full .about__text { text-align: left; }
.about--full .about__text .title { margin-bottom: 20px; }
.vm { padding-top: 50px; padding-bottom: 30px; }
.why--tight { padding-top: 50px; }

/* ---------- 3. Clients (uses the .brands marquee below) ---------- */
.logo-ph { display: inline-flex; align-items: center; gap: 8px; color: #a1a8b8; font-weight: 500; white-space: nowrap; }
.logo-ph i { width: 26px; height: 26px; border-radius: 6px; background: currentColor; opacity: .55; }
.logo-ph--a { font: 500 calc(34px * var(--fs))/1 var(--font-head); }
.logo-ph--a b { font-weight: 500; color: #7d859a; }
.logo-ph--b { letter-spacing: .34em; font-size: calc(13px * var(--fs)); }
.logo-ph--c { letter-spacing: .3em; font-size: calc(12px * var(--fs)); }

/* ---------- 4. Services ---------- */
.services__banner { position: relative; color: #fff; padding: 84px 0 108px; }
.services__banner::before {
  content: ''; position: absolute; inset: 0 max(0px, calc(50% - (var(--container) / 2) + 170px)) 0 0; z-index: 0;
  background: linear-gradient(90deg, rgba(0, 17, 52, .92), rgba(1, 23, 51, .74)), url('../img/placeholders/hero-products.jpg') center / cover fixed;
}
.services__banner-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.services__banner-inner > div { max-width: 640px; }
.services__banner-inner p { font-size: calc(13px * var(--fs)); color: rgba(255, 255, 255, .82); }
.services__banner .title { margin-bottom: 12px; }
.services__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: -64px; padding-bottom: 100px; }
.svc {
  position: relative; text-align: center; padding: 46px 30px 26px; background: var(--bg);
  border: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0, 17, 52, .12);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.svc:hover { border-color: var(--gold); box-shadow: 0 24px 46px rgba(0, 17, 52, .16); transform: translateY(-4px); }
.svc .icon { margin: 0 auto 18px; }
.svc h3 { font: 500 calc(28px * var(--fs))/1.1 var(--font-head); color: var(--ink); margin-bottom: 10px; }
.svc p { font-size: calc(13px * var(--fs)); margin-bottom: 18px; }

/* ---------- 4b. Vision & Mission ---------- */
.vm__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.vm__card {
  position: relative; padding: 46px 38px; background: var(--bg-2); border: 1px solid var(--line);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.vm__card:hover { border-color: var(--gold); box-shadow: 0 20px 40px rgba(0, 17, 52, .1); transform: translateY(-4px); }
.vm__icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 50%; background: rgba(227, 169, 44, .14); color: var(--gold); }
.vm__card h3 { font: 500 calc(27px * var(--fs))/1.1 var(--font-head); color: var(--ink); margin-bottom: 10px; }
.vm__card p { font-size: calc(13.5px * var(--fs)); line-height: 1.7; }

/* ---------- 5. Why choose us ---------- */
.why__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.why__media { position: relative; display: flex; gap: 4%; align-items: flex-start; padding: 0 0 130px; }
.why__img { flex: 0 0 47%; width: 47%; object-fit: cover; }
.why__img--a { aspect-ratio: 3 / 4; }
.why__img--b { aspect-ratio: 3 / 3.9; margin-top: 46px; }
.skills { position: absolute; left: 18%; bottom: 0; width: 82%; padding: 26px 30px 20px; background: var(--navy-950); color: #fff; box-shadow: 0 22px 44px rgba(0, 17, 52, .3); }
.skill + .skill { margin-top: 14px; }
.skill__head { display: flex; justify-content: space-between; align-items: center; font-size: calc(12.5px * var(--fs)); font-weight: 500; margin-bottom: 8px; }
.skill__head b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--navy-950); font-size: calc(10.5px * var(--fs)); font-weight: 600; }
.skill__bar { height: 4px; background: rgba(255, 255, 255, .18); }
.skill__bar i { display: block; height: 100%; width: var(--w); background: var(--gold); transition: width 1.5s cubic-bezier(.2, .7, .2, 1); }
.js .skills:not(.is-in) .skill__bar i { width: 0; }
.why__text > p { font-size: calc(13.5px * var(--fs)); margin-bottom: 14px; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.features li { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.features h4 { font: 500 calc(23px * var(--fs))/1.1 var(--font-head); color: var(--ink); margin-bottom: 4px; }
.features p { font-size: calc(12.5px * var(--fs)); line-height: 1.6; }

/* ---------- 6. Process ---------- */
.process { position: relative; padding: 120px 0; background: var(--navy-950); color: #fff; overflow: hidden; }
.process::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10, 53, 115, .35), transparent 60%); }
.process .container { position: relative; }
.process__title { text-align: center; font: 500 clamp(calc(30px * var(--fs)), 4vw, calc(44px * var(--fs)))/1.15 var(--font-head); margin-bottom: 54px; }
.process__title span { color: var(--gold); }
.process__steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.process__card {
  position: relative; text-align: center; padding: 40px 30px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04);
  transition: border-color .25s, background .25s, transform .25s;
}
.process__card:hover { border-color: var(--gold); background: rgba(255, 255, 255, .07); transform: translateY(-4px); }
.process__arrow {
  position: absolute; top: 50%; right: -21px; z-index: 2; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--navy-950);
  opacity: 0; transform: translateY(-50%) translateX(-10px); transition: opacity .3s, transform .3s;
}
.process__arrow .icon { width: 18px; height: 18px; stroke-width: 2.4; }
.process__card:hover .process__arrow { opacity: 1; transform: translateY(-50%) translateX(0); }
.num { display: block; font: 500 calc(68px * var(--fs))/1 var(--font-head); color: transparent; -webkit-text-stroke: 1px rgba(227, 169, 44, .8); margin-bottom: 8px; }
.process h3 { font: 500 calc(30px * var(--fs))/1.1 var(--font-head); margin-bottom: 8px; }
.process p { font-size: calc(13px * var(--fs)); color: rgba(255, 255, 255, .75); max-width: 300px; margin: 0 auto; }

/* ---------- 7. Products ---------- */
.pgrid { display: flex; flex-direction: column; gap: 16px; }
.pgrid__row { display: flex; gap: 16px; height: clamp(240px, 26vw, 380px); }
.pcard {
  position: relative; overflow: hidden; background: var(--navy-900); contain: layout paint;
  flex: 1 1 0%; min-width: 0; height: 100%; transition: flex-grow .6s cubic-bezier(.25, .1, .25, 1);
  will-change: flex-grow;
}
.pcard:hover, .pcard:focus-within { flex-grow: 2.6; }
.pcard img { width: 100%; height: 100%; object-fit: cover; }
/* last row of 2: an empty 3rd slot keeps tile width + hover-expand identical to the rows above */
.pgrid__row--2::after { content: ""; flex: 1 1 0%; min-width: 0; }
.pcard__over {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 20px; text-align: center; color: #fff; background: rgba(0, 17, 52, .74); opacity: 0; transition: opacity .35s;
}
.pcard:hover .pcard__over, .pcard:focus-within .pcard__over { opacity: 1; }
.pcard__over h3 { font: 500 calc(27px * var(--fs))/1.1 var(--font-head); transform: translateY(10px); transition: transform .35s; }
.pcard:hover .pcard__over h3, .pcard:focus-within .pcard__over h3 { transform: none; }

/* ---------- 8. Testimonials ---------- */
.testi { position: relative; padding: 110px 0; overflow: hidden; }
.testi__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 5fr 7fr; gap: 30px; align-items: center; }
.testi__text > p:last-child { font-size: calc(13px * var(--fs)); }
.testi__carousel { position: relative; z-index: 1; min-width: 0; padding-top: 58px; }
/* Right edge bleeds all the way to the true viewport edge (not just the capped-width
   .container) on wide screens — that only works because .testi__back lives directly
   in .testi (full viewport width), not nested inside the capped-width .container.
   top/height are NOT set here: they're computed in JS (main.js, syncTestiBack) from
   the actual rendered position of the cards + dots, because a pure-CSS pixel guess
   here previously went out of sync whenever .testi__text's height changed the
   align-items:center row (see project-overview.md memory before re-tuning this). */
.testi__back { position: absolute; left: 50%; right: 0; background: var(--navy-900); }
.testi__cards {
  position: relative; z-index: 1;
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; padding-bottom: 4px; scrollbar-width: none;
}
.testi__cards::-webkit-scrollbar { display: none; }
.tcard {
  flex: 0 0 calc(50% - 11px); scroll-snap-align: start;
  padding: 38px 28px 32px; text-align: center; color: #fff; background: var(--navy-950); border: 1px solid rgba(227, 169, 44, .6);
}
.testi__arrows { position: absolute; top: 0; right: 0; display: flex; gap: 12px; z-index: 2; }
.testi__arrow {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--navy-950); border: 1px solid rgba(255, 255, 255, .35); color: #fff; cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 17, 52, .25); transition: background .25s, border-color .25s, color .25s;
}
.testi__arrow .icon { width: 16px; height: 16px; stroke: currentColor; transform: rotate(180deg); }
.testi__arrow--next .icon { transform: none; }
.testi__arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }
.testi__dots { position: relative; z-index: 1; display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.testi__dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .3); cursor: pointer; transition: background .25s, transform .25s; }
.testi__dots button.is-active { background: var(--gold); transform: scale(1.25); }
.tcard__mark { display: block; font: 700 calc(84px * var(--fs))/.8 Georgia, serif; height: 44px; color: #fff; }
.tcard blockquote { font-style: italic; font-size: calc(13px * var(--fs)); line-height: 1.75; color: #e6eaf4; margin: 10px 0 18px; }
.tcard hr { width: 28px; margin: 0 auto 14px; border: 0; border-top: 2px solid var(--gold); }
.tcard strong { display: block; font: 500 calc(20px * var(--fs))/1.1 var(--font-head); }
.tcard small { font-size: calc(11.5px * var(--fs)); color: rgba(255, 255, 255, .6); }

/* ---------- 9. Team ---------- */
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
.member { position: relative; overflow: hidden; }
.member:nth-child(even) { margin-top: 26px; }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s; }
.member:hover img { transform: scale(1.05); }
.member figcaption {
  position: absolute; inset: auto 0 0; padding: 40px 18px 16px; text-align: center; color: #fff;
  background: linear-gradient(transparent, rgba(0, 17, 52, .9)); opacity: 0; transform: translateY(12px); transition: opacity .35s, transform .35s;
}
.member:hover figcaption, .member:focus-within figcaption { opacity: 1; transform: none; }
.member strong { display: block; font: 500 calc(22px * var(--fs))/1.1 var(--font-head); }
.member small { font-size: calc(12px * var(--fs)); color: var(--gold); }

/* ---------- 10. Milestones ---------- */
.milestones {
  padding: 90px 0 80px; color: #fff;
  background: linear-gradient(rgba(0, 17, 52, .74), rgba(0, 17, 52, .84)), url('../img/placeholders/hero-products.jpg') center / cover fixed;
  background-color: var(--navy-950);
}
.milestones__head { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .28); }
.milestones__head .title { margin-bottom: 0; }
.milestones__head p { font-size: calc(12.5px * var(--fs)); color: rgba(255, 255, 255, .85); }
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; padding-top: 34px; }
.counters__item {
  padding: 40px 24px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: border-color .25s, background .25s, transform .25s;
}
.counters__item:hover { border-color: var(--gold); background: rgba(255, 255, 255, .1); transform: translateY(-4px); }
.counters__icon { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; background: rgba(227, 169, 44, .16); color: var(--gold); }
.counters b { display: block; font: 500 clamp(calc(40px * var(--fs)), 5vw, calc(60px * var(--fs)))/1 var(--font-head); margin-bottom: 6px; }
.counters small { font-size: calc(13px * var(--fs)); font-weight: 500; color: rgba(255, 255, 255, .82); }

/* ---------- 10b. Industries we serve ---------- */
.industries__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 24px; }
.ind-card { text-align: center; }
.ind-card img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; box-shadow: 0 10px 26px rgba(0, 17, 52, .16); transition: transform .5s ease; }
.ind-card:hover img { transform: scale(1.06); }
.ind-card__label {
  display: block; margin-top: 16px; font: 500 calc(21px * var(--fs))/1.1 var(--font-head); letter-spacing: .01em; color: var(--ink);
  position: relative; padding-top: 12px;
}
.ind-card__label::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 26px; height: 2px; background: var(--gold); }

/* ---------- 11. Start enquiry / video ---------- */
.start__head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.start__head .eyebrow { justify-content: center; }
.start__head .eyebrow::before { display: none; }
.start__head > p:not(.eyebrow) { font-size: calc(13px * var(--fs)); margin-bottom: 24px; }
.start__video { position: relative; max-width: 820px; margin: 0 auto; box-shadow: 0 30px 60px rgba(0, 17, 52, .25); }
.start__video img { width: 100%; aspect-ratio: 1200 / 680; object-fit: cover; }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  border: 2px solid #fff; background: rgba(0, 17, 52, .3); color: #fff; cursor: pointer;
  transition: background .3s, border-color .3s, color .3s, transform .3s;
}
.play .icon { width: 30px; height: 30px; fill: currentColor; stroke: none; margin-left: 3px; }
.play:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-950); transform: translate(-50%, -50%) scale(1.08); }

/* ---------- 12. FAQ ---------- */
.faq {
  padding: 110px 0; color: #fff;
  background: linear-gradient(90deg, rgba(0, 17, 52, .9), rgba(0, 17, 52, .6)), url('../img/placeholders/about.jpg') center / cover;
}
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.faq__text .eyebrow { color: var(--gold); }
.faq__text > p:last-child { font-size: calc(13px * var(--fs)); color: rgba(255, 255, 255, .8); max-width: 460px; }
.faq__list { background: #fff; color: var(--text); padding: 12px 30px; box-shadow: 0 24px 50px rgba(0, 0, 0, .3); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; cursor: pointer; list-style: none; font-size: calc(13.5px * var(--fs)); font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 calc(22px * var(--fs))/1 var(--font-body); color: var(--gold-dk); }
.faq details[open] summary::after { content: '\2212'; }
.faq details > div { padding: 0 0 20px; }
.faq details p { font-size: calc(12.5px * var(--fs)); line-height: 1.75; }

/* ---------- 13. Blog ---------- */
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post { text-align: center; }
.post__img { display: block; overflow: hidden; margin-bottom: 22px; }
.post__img img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; transition: transform .6s; }
.post:hover .post__img img { transform: scale(1.06); }
.post h3 { font: 500 calc(27px * var(--fs))/1.15 var(--font-head); color: var(--ink); margin-bottom: 8px; padding: 0 12px; }
.post h3 a:hover { color: var(--gold-dk); }
.post__meta { display: flex; justify-content: center; gap: 18px; font-size: calc(11.5px * var(--fs)); color: #8a91a4; }

/* ---------- 14. Book bar ---------- */
.bookbar { background: var(--bg-2); border-block: 1px solid var(--line); padding: 44px 0; }
.bookbar__inner { display: flex; align-items: center; gap: 44px; }
.bookbar__info { display: flex; align-items: center; gap: 16px; flex: none; max-width: 100%; }
.bookbar__info small { display: block; font: 500 calc(19px * var(--fs))/1 var(--font-head); color: var(--ink); }
.bookbar__info a { font: 500 calc(34px * var(--fs))/1.1 var(--font-head); color: var(--ink); }
.bookbar__info a:hover { color: var(--gold-dk); }
.bookbar p { flex: 1; font-size: calc(12.5px * var(--fs)); }

/* ---------- Footer ---------- */
.footer { color: rgba(255, 255, 255, .8); font-size: calc(14.5px * var(--fs)); background: linear-gradient(rgba(0, 17, 52, .93), rgba(0, 17, 52, .97)), url('../img/placeholders/hero-products.jpg') center / cover; padding-top: 44px; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.footer__quote { font: italic 500 calc(16px * var(--fs))/1.6 var(--font-body); color: #fff; max-width: 560px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr .9fr 1.45fr 1.4fr; gap: 44px; padding: 34px 0; }
.footer__about p { margin-bottom: 18px; }
.footer__about .social { margin-bottom: 18px; }
.footer__about .social a { background: rgba(255, 255, 255, .14); }
.footer__about .social a:hover { background: var(--gold); }
.footer__contact { display: grid; gap: 11px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .icon { color: var(--gold); width: 17px; height: 17px; margin-top: 4px; }
.footer a:hover { color: var(--gold); }
.footer__title { font: 500 calc(28px * var(--fs))/1 var(--font-head); color: #fff; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.footer__title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--gold); }
.footer__links { display: grid; gap: 8px; }
.footer__links a { font-size: calc(14.5px * var(--fs)); }
.footer__small { font-size: calc(12.5px * var(--fs)); margin-bottom: 14px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .16); padding: 16px 0; text-align: center; font-size: calc(13.5px * var(--fs)); }
.footer__bottom a { color: var(--gold); font-weight: 500; transition: color .25s; }
.footer__bottom a:hover { color: var(--gold-hover); text-decoration: underline; }

/* ---------- Modal + form ---------- */
.modal { position: fixed; inset: 0; z-index: 300; padding: 16px; overflow-y: auto; background: rgba(0, 17, 52, .75); }
.modal:not([hidden]) { display: grid; place-items: center; }
.modal__box { position: relative; width: min(640px, 100%); background: #fff; padding: 38px 36px 34px; border-top: 4px solid var(--gold); animation: pop .3s ease; }
.modal__box--video { width: min(900px, 100%); padding: 0; background: #000; border-top: 0; }
.modal__close { position: absolute; top: 10px; right: 10px; color: var(--ink); z-index: 2; }
.modal__box--video .modal__close { color: #fff; top: -46px; right: 0; }
.modal__box h3 { font: 500 calc(38px * var(--fs))/1.05 var(--font-head); color: var(--ink); }
.modal__box h3 span { color: var(--gold-dk); }
.modal__lead { font-size: calc(13px * var(--fs)); margin: 6px 0 22px; }
.field { margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: calc(12px * var(--fs)); font-weight: 500; color: var(--ink); margin-bottom: 5px; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: calc(13.5px * var(--fs)) var(--font-body); border-radius: 0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.field .is-invalid { border-color: #c0392b; }
.form-note { margin-top: 12px; padding: 11px 13px; font-size: calc(12.5px * var(--fs)); background: #fff7e0; border-left: 3px solid var(--gold); color: var(--ink); }
.form-note--ok { background: #e8f6ec; border-color: #2e9e57; }
.video-frame { width: 100%; aspect-ratio: 16 / 9; display: block; background: #000; }
.video-empty { display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 30px; text-align: center; color: #fff; background: var(--navy-900); font-size: calc(14px * var(--fs)); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
/* .pcard is also .reveal (scroll fade-in) — re-declare its own flex-grow transition here
   (same specificity as .js .reveal, later in source) so the accordion hover keeps animating
   instead of the rule above silently replacing the whole transition list. */
.pcard.reveal { transition: opacity .8s ease, transform .8s ease, flex-grow .6s cubic-bezier(.25, .1, .25, 1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 1199px) {
  .nav a { padding-inline: 10px; font-size: calc(13px * var(--fs)); }
  .hero__strip { left: 12%; grid-template-columns: 250px 1fr; }
}

@media (max-width: 991px) {
  :root { --header-h: 76px; }
  .nav-toggle { display: inline-grid; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; display: none; max-height: calc(100vh - 90px); overflow-y: auto; background: var(--navy-950); border-top: 2px solid var(--gold); color: #fff; }
  .nav a:hover, .nav a.is-active, .has-sub:hover > a { color: var(--gold); }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; }
  .nav a { padding: 15px 22px; border-bottom: 1px solid rgba(255, 255, 255, .08); justify-content: space-between; }
  .sub { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0; background: rgba(255, 255, 255, .04); }
  .has-sub.is-open > .sub { display: block; }
  .has-sub.is-open > a .icon { transform: rotate(180deg); }
  .sub a { padding: 9px 22px 9px 38px; line-height: 1.35; }
  .navbar__inner { min-height: 76px; }
  .navbar__cta { display: none; }
  .nav .nav__cta { display: block; padding: 18px 22px 22px; }

  .hero { padding: calc(170px - var(--header-h)) 0 0; min-height: 0; }
  .hero__content { padding-bottom: 60px; }
  .hero__strip { position: relative; left: 0; grid-template-columns: 1fr; min-height: 0; }
  .hero__strip > div { padding: 22px 28px; }
  .hero__strip-b { justify-content: flex-start; }

  .section, .testi, .faq { padding: 80px 0; }
  .about__grid, .why__grid, .faq__grid { grid-template-columns: 1fr; gap: 60px; }
  .vm__grid { grid-template-columns: 1fr; gap: 24px; }
  .why__media { max-width: 520px; }
  .services__banner::before { right: 0; }
  .services__banner-inner { flex-direction: column; align-items: flex-start; }
  .services__grid { grid-template-columns: 1fr; gap: 18px; padding-bottom: 70px; }
  .process { padding: 90px 0; }
  .process__steps { grid-template-columns: 1fr; gap: 20px; }
  .process__arrow { top: auto; right: 50%; bottom: -30px; transform: translateX(50%) translateY(-10px); }
  .process__arrow .icon { transform: rotate(90deg); }
  .process__card:hover .process__arrow { transform: translateX(50%) translateY(0); }
  .pgrid__row { height: clamp(180px, 30vw, 260px); gap: 12px; }
  .testi__back { left: 0; right: 0; }
  .testi__grid { grid-template-columns: 1fr; gap: 40px; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .industries__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .milestones { background-attachment: scroll; }
  .milestones__head, .section-head { grid-template-columns: 1fr; gap: 16px; }
  .bookbar__inner { flex-wrap: wrap; gap: 22px 30px; }
  .bookbar p { flex: 1 1 100%; order: 3; }
  .bookbar .btn { order: 4; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__top { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (max-width: 767px) {
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .features { grid-template-columns: 1fr; }
  .features li { flex-direction: row; gap: 14px; }
  .tcard { flex-basis: 100%; }
  .counters { grid-template-columns: 1fr; gap: 18px; }
  .counters__item { padding: 30px 22px; }
  .blog__grid { grid-template-columns: 1fr; }
  .industries__grid { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
  .ind-card__label { font-size: calc(17px * var(--fs)); margin-top: 12px; }
  .pgrid__row { flex-direction: column; height: auto; gap: 12px; }
  .pgrid__row--2::after { display: none; }
  .pcard { flex-basis: auto !important; aspect-ratio: 4 / 3; }
  .pcard:hover { flex-grow: 1; }
  .about__media { padding: 26px 20px 90px 0; }
  .about__quote { left: 0; }
  .why__media { padding-bottom: 150px; }
  .skills { left: 6%; width: 94%; padding: 20px 20px 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .modal__box { padding: 34px 20px 26px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; padding: 30px 0; }
  .play { width: 68px; height: 68px; }
}

/* =====================================================
   Products page
   ===================================================== */

/* ---------- Page banner ---------- */
.pbanner {
  position: relative; overflow: hidden; color: #fff; text-align: center; padding: calc(200px - var(--header-h)) 0 92px;
  background-color: var(--navy-950);
}
.pbanner::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(0, 10, 34, .8), rgba(0, 17, 52, .9)); pointer-events: none; }
.pbanner__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.crumb { font-size: calc(12.5px * var(--fs)); color: rgba(255, 255, 255, .7); margin-bottom: 14px; }
.crumb a { color: #fff; }
.crumb a:hover { color: var(--gold); }
.crumb span:first-of-type { margin: 0 6px; }
.pbanner h1 { font: 500 clamp(calc(38px * var(--fs)), 6vw, calc(60px * var(--fs)))/1.05 var(--font-head); margin-bottom: 14px; }
.pbanner h1 span { color: var(--gold); }
.pbanner > .pbanner__inner > p { font-size: calc(14px * var(--fs)); color: rgba(255, 255, 255, .85); margin-bottom: 30px; }
.badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.badges li {
  display: flex; align-items: center; gap: 10px; padding: 12px 22px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25);
  font: 500 calc(13px * var(--fs))/1 var(--font-body); letter-spacing: .02em;
}
.badges .icon { color: var(--gold); }

/* ---------- Category quick-nav + search ---------- */
.cat-nav { position: static; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.cat-nav__inner { display: flex; align-items: center; gap: 10px 24px; padding: 38px 0; flex-wrap: wrap; }
.cat-pills { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; flex: 1 1 100%; min-width: 0; padding-bottom: 2px; }
.cat-pills a {
  padding: 8px 16px; font: 500 calc(12px * var(--fs))/1.2 var(--font-body); letter-spacing: .02em;
  color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.cat-pills a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
@media (min-width: 1232px) {
  .cat-pills { gap: 5px; }
  .cat-pills a { padding: 8px 9px; font-size: calc(11px * var(--fs)); letter-spacing: 0; }
}
.cat-side {
  position: fixed; right: 22px; top: 50%; z-index: 45; display: flex; flex-direction: column; gap: 10px;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-50%) translateX(16px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.cat-side.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(-50%) translateX(0); }
.cat-side a {
  padding: 9px 18px; font: 500 calc(12px * var(--fs))/1.2 var(--font-body); letter-spacing: .02em; text-align: right;
  color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 20px; white-space: nowrap;
  box-shadow: 0 8px 18px rgba(0, 17, 52, .12); transition: background .2s, color .2s, border-color .2s;
}
.cat-side a:hover, .cat-side a.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.cat-fab { display: none; }
/* Tablet + mobile: the right-hand vertical list becomes a "Categories" button (bottom-left) that opens a sheet */
@media (max-width: 991px) {
  .cat-fab {
    position: fixed; left: 14px; bottom: 30px; z-index: 72; display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 18px; border: 0; border-radius: 999px; cursor: pointer;
    background: var(--navy); color: #fff; font: 600 calc(13px * var(--fs))/1 var(--font-body);
    box-shadow: 0 8px 20px rgba(0, 17, 52, .3);
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s, background .2s;
  }
  .cat-fab .icon { width: 16px; height: 16px; }
  .cat-fab.is-visible { opacity: 1; visibility: visible; transform: none; }
  .cat-fab[aria-expanded="true"] { background: var(--gold); color: var(--navy-950); }
  .cat-side {
    top: auto; left: 14px; right: 14px; bottom: 84px; z-index: 71; gap: 2px; padding: 8px;
    max-height: min(60vh, 440px); overflow-y: auto; overscroll-behavior: contain;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 17, 52, .28);
    transform: translateY(14px);
  }
  .cat-side.is-visible { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(14px); }
  .cat-side.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .cat-side a { text-align: left; white-space: normal; border: 0; border-radius: 8px; box-shadow: none; padding: 12px 14px; font-size: calc(13.5px * var(--fs)); }
}
.psearch { display: flex; align-items: center; gap: 8px; padding: 9px 16px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; flex: none; width: 300px; max-width: 100%; }
.psearch .icon { width: 15px; height: 15px; color: #8a91a4; flex: none; }
.psearch input { flex: 1; min-width: 0; border: 0; background: transparent; font: calc(13px * var(--fs)) var(--font-body); color: var(--ink); outline: none; }
.psearch input::placeholder { color: #9aa1b4; }
.psearch__count { font-size: calc(11px * var(--fs)); color: #8a91a4; white-space: nowrap; flex: none; }
.psearch__empty { display: block; text-align: center; padding: 50px 20px; font-size: calc(13.5px * var(--fs)); color: var(--text); }
.psearch__empty[hidden] { display: none; }
.psearch__empty .link { font-size: inherit; }

/* ---------- Category sections ---------- */
.cat-section { padding: 56px 0; }
.cat-section:nth-of-type(even) { background: var(--bg-2); }
.cat-bar {
  position: relative; margin: 0 0 30px; padding-bottom: 16px;
  font: 500 clamp(calc(24px * var(--fs)), 2.8vw, calc(32px * var(--fs)))/1.15 var(--font-head); color: var(--ink); letter-spacing: .01em;
}
.cat-bar::before { content: ''; position: absolute; left: 0; bottom: 0; width: 50px; height: 3px; background: var(--gold); }
.cat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 991px) {
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.prow-card {
  background: #fff; border: 1px solid var(--line); padding: 12px 12px 16px; text-align: center;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.prow-card:hover { border-color: var(--gold); box-shadow: 0 16px 32px rgba(0, 17, 52, .12); transform: translateY(-3px); }
.prow-card[hidden] { display: none; }
.prow-card__media { position: relative; overflow: hidden; background: var(--bg-2); }
.prow-card__media img { width: 100%; height: auto; aspect-ratio: 480 / 378; object-fit: cover; display: block; }
.prow-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); text-align: left; }
.prow-card__name { flex: 1; min-width: 0; font: 500 calc(15px * var(--fs))/1.3 var(--font-head); color: var(--ink); }
.prow-card__enquire {
  flex: none; padding: 6px 14px; font: 500 calc(11px * var(--fs)) var(--font-body); letter-spacing: .02em; white-space: nowrap;
  background: var(--navy); color: #fff; border: 0; border-radius: 20px; cursor: pointer;
  transition: background .2s;
}
.prow-card__enquire:hover { background: var(--gold-dk); }

/* ---------- Brands (logo marquee) ---------- */
.brands { padding: 80px 0 90px; background: var(--bg-2); overflow: hidden; }
.brands__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: start; margin-bottom: 48px; }
.brands__eyebrow { font: 600 calc(12px * var(--fs))/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dk); margin-bottom: 10px; }
.brands__title .title { margin-bottom: 14px; }
.brands__rule { display: block; width: 80px; height: 2px; background: var(--gold); }
.brands__sub { font-size: calc(15px * var(--fs)); line-height: 1.75; color: var(--ink); max-width: 520px; }
.brands__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.brands__track { display: flex; width: max-content; animation: brands-scroll 55s linear infinite; }
.brands__marquee:hover .brands__track { animation-play-state: paused; }
.brands__track li {
  flex: none; width: 200px; height: 100px; margin-right: 22px; padding: 18px 24px;
  display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line);
}
.brands__track img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@keyframes brands-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .brands__track { animation: none; width: auto; }
  .brands__marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .brands__track li[aria-hidden] { display: none; }
}
@media (max-width: 767px) {
  .brands { padding: 56px 0 64px; }
  .brands__head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .brands__track li { width: 160px; height: 84px; margin-right: 14px; padding: 14px 18px; }
}

/* ---------- Clients pill (homepage): label + circular logo badges scrolling ---------- */
.clients-pill { padding: 10px 0 80px; }
.clients-pill__box {
  display: flex; align-items: center; gap: 32px; padding: 26px 0;
}
.clients-pill__label {
  flex: none; max-width: 230px; padding-right: 32px; border-right: 1px solid var(--line);
  font: 500 calc(19px * var(--fs))/1.3 var(--font-head); color: var(--ink);
}
.clients-pill__marquee {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.clients-pill__track { display: flex; width: max-content; animation: brands-scroll 50s linear infinite; }
.clients-pill__marquee:hover .clients-pill__track { animation-play-state: paused; }
.clients-pill__track li {
  flex: none; width: 190px; height: 96px; margin-right: 20px; padding: 16px 22px;
  display: flex; align-items: center; justify-content: center; background: #fff;
  border: 1px solid var(--line);
}
.clients-pill__track img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@media (prefers-reduced-motion: reduce) {
  .clients-pill__track { animation: none; width: auto; }
  .clients-pill__marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .clients-pill__track li[aria-hidden] { display: none; }
}
@media (max-width: 767px) {
  .clients-pill { padding-bottom: 56px; }
  .clients-pill__box { flex-direction: column; align-items: stretch; gap: 18px; padding: 24px 18px; }
  .clients-pill__label { max-width: none; padding: 0 0 16px; border-right: 0; border-bottom: 1px solid var(--line); text-align: center; }
  .clients-pill__track li { width: 150px; height: 80px; margin-right: 14px; padding: 12px 16px; }
}

/* ---------- Services page ---------- */
.svc-intro { padding-bottom: 20px; }
.svc-detail { padding: 50px 0; }
.svc-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.svc-detail--rev .svc-detail__media { order: 2; }
.svc-detail__media { position: relative; }
.svc-detail__media::before { content: ''; position: absolute; top: -14px; left: -14px; width: 55%; height: 55%; border: 2px solid var(--gold); z-index: 0; }
.svc-detail--rev .svc-detail__media::before { left: auto; right: -14px; }
.svc-detail__media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 24px 46px rgba(0, 17, 52, .16); }
.svc-detail__num { display: block; font: 500 calc(54px * var(--fs))/1 var(--font-head); color: var(--gold); opacity: .55; margin-bottom: 6px; }
.svc-detail__text .title { margin-bottom: 14px; }
.svc-detail__text > p { font-size: calc(14px * var(--fs)); line-height: 1.75; margin-bottom: 18px; }
.checks { display: grid; gap: 10px; margin-bottom: 28px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: calc(14px * var(--fs)); color: var(--ink); line-height: 1.5; }
.checks .icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--gold-dk); }
@media (max-width: 991px) {
  .svc-detail__grid { grid-template-columns: 1fr; gap: 36px; }
  .svc-detail--rev .svc-detail__media { order: 0; }
  .svc-detail { padding: 36px 0; }
}

/* ---------- Back-to-top ---------- */
.back-top {
  position: fixed; right: 33px; bottom: 138px; z-index: 60;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-950); color: var(--gold); border: 0; cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 17, 52, .35); transition: background .25s, transform .25s;
}
.back-top:hover { background: var(--gold); color: var(--navy-950); transform: translateY(-3px); }
.back-top[hidden] { display: none; }
.back-top.is-on-dark { background: var(--gold); color: var(--navy-950); box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.back-top.is-on-dark:hover { background: #fff; color: var(--navy-950); }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed; right: 30px; bottom: 74px; z-index: 60;
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 8px 20px rgba(0, 17, 52, .3);
  transition: background .25s, transform .25s, box-shadow .25s;
}
.whatsapp-float:hover { background: #1ebe59; transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 17, 52, .35); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

@media (max-width: 767px) {
  .cat-nav__inner { flex-direction: column; align-items: stretch; }
  .cat-pills { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; min-width: 0; width: 100%; }
  .psearch { width: 100%; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-bar { padding: 13px 18px; }
}

/* Touch devices have no hover: show product/team captions permanently */
@media (hover: none) {
  .pcard__over { opacity: 1; justify-content: flex-end; background: linear-gradient(transparent 35%, rgba(0, 17, 52, .88)); }
  .pcard__over h3 { transform: none; }
  .member figcaption { opacity: 1; transform: none; }
}

/* =====================================================
   Contact page
   ===================================================== */
.section-head--center { max-width: 680px; margin: 0 auto 50px; text-align: center; }
.section-head--center .title { margin-bottom: 14px; }
.section-head--center p { font-size: calc(13.5px * var(--fs)); }

.contact-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }
.info-card {
  display: flex; align-items: center; gap: 18px; padding: 30px 26px; background: #fff; border: 1px solid var(--line);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.info-card:hover { border-color: var(--gold); box-shadow: 0 16px 34px rgba(0, 17, 52, .1); transform: translateY(-3px); }
.info-card__icon { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: rgba(227, 169, 44, .14); color: var(--gold); }
.info-card h3 { font: 500 calc(18px * var(--fs))/1.2 var(--font-head); color: var(--ink); margin-bottom: 4px; }
.info-card p { font-size: calc(12.5px * var(--fs)); }
.info-card p a { color: var(--text); }
.info-card p a:hover { color: var(--gold-dk); }

.contact-main { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.contact-map {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center;
  min-height: 420px; padding: 40px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text);
}
.contact-map__icon { color: var(--gold); }
.contact-form h3 { margin-bottom: 10px; }
.contact-form > p { font-size: calc(13.5px * var(--fs)); margin-bottom: 24px; }

@media (max-width: 991px) and (min-width: 768px) {
  .contact-info { grid-template-columns: 1fr 1fr; }
  .contact-info .info-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .contact-info { grid-template-columns: 1fr; }
  .contact-main { grid-template-columns: 1fr; }
  .contact-map { min-height: 220px; }
}

/* =====================================================
   Sub-category hover dropdown (Option 1) + sub-category cards (Option 2)
   ===================================================== */
.cat-pill__drop {
  position: fixed; top: 0; left: 0; min-width: 170px; z-index: 45;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 30px rgba(0, 17, 52, .14);
  list-style: none; padding: 6px 0; margin: 0; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.cat-pill__drop.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.cat-pill__drop a { display: block; padding: 9px 18px; font-size: calc(12.5px * var(--fs)); color: var(--ink); white-space: nowrap; }
.cat-pill__drop a:hover { background: var(--bg-2); color: var(--gold-dk); }

.subcat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 30px; }
.subcat-card {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px;
  background: #fff; border: 1px solid var(--line); cursor: pointer; text-align: left;
  font: 500 calc(14px * var(--fs)) var(--font-head); color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s, background .2s;
}
.subcat-card .icon { width: 15px; height: 15px; color: var(--gold); flex: none; transition: transform .2s; }
.subcat-card:hover { border-color: var(--gold); box-shadow: 0 10px 22px rgba(0, 17, 52, .1); transform: translateY(-2px); }
.subcat-card:hover .icon { transform: translateX(3px); }
.subcat-card.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

@media (max-width: 991px) {
  .subcat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .cat-pill__drop { display: none; }
  .subcat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* very small phones */
@media (max-width: 400px) {
  .bookbar__info { gap: 12px; }
  .bookbar__info a { font-size: calc(26px * var(--fs)); }
  .bookbar__info small { font-size: calc(16px * var(--fs)); }
  .prow-card__head { flex-wrap: wrap; row-gap: 8px; }
  .prow-card__name { flex: 1 1 100%; }
}

/* phones: hero heading sized like the other page banners */
@media (max-width: 575px) {
  .hero { padding-top: calc(120px - var(--header-h)); }
  .hero h1 { font-size: clamp(calc(30px * var(--fs)), 8.4vw, calc(40px * var(--fs))); line-height: 1.08; margin-bottom: 14px; }
  .hero p { font-size: calc(14px * var(--fs)); margin-bottom: 22px; }
  .hero__content { padding-bottom: 44px; }
}

/* phones: compact hero info strip (Industrial Products & Solutions, then the blurb) */
@media (max-width: 767px) {
  .hero__strip { grid-template-columns: 1fr; }
  .hero__strip > div { padding: 14px 18px; }
  .hero__strip > .hero__strip-b { font-size: calc(18px * var(--fs)); line-height: 1.2; justify-content: center; text-align: center; }
  .hero__strip-c { padding: 16px 20px; }
  .hero__strip-c p { font-size: calc(13px * var(--fs)); line-height: 1.6; text-align: center; }
}

/* phones: less empty space between the "About Us" watermark and the heading */
@media (max-width: 767px) {
  .about { padding-top: 36px; }
  .about__watermark { top: 36px; font-size: calc(40px * var(--fs)); }
  .about__grid { margin-top: 58px; gap: 36px; }
}

/* tablet + phone: the About photo stacks below the text, so it must not be pulled up over the "Read More" button */
@media (max-width: 991px) {
  .about__media { margin-top: 28px; }
}

/* phones: tighter gap between "Read More" and the About photo, slightly shorter photo block */
@media (max-width: 767px) {
  .about__grid { gap: 12px; }
  .about__row { margin-top: 26px; }
  .about__media { margin-top: 20px; padding: 22px 20px 74px 0; }
  .about__img { aspect-ratio: 1 / .9; }
}

/* phones: homepage category tiles in 2 columns - whole tile is the link (no button) */
@media (max-width: 767px) {
  .pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pgrid__row { display: contents; }
  .pgrid__row--2::after { display: none; }
  .pcard { aspect-ratio: 1 / 1.1; flex: none; min-width: 0; }
  .pcard:hover, .pcard:focus-within { flex-grow: 0; }
  .pcard picture { display: block; width: 100%; height: 100%; }
  .pcard img { object-fit: contain; padding: 6px 6px 44px; }
  .pcard__over { opacity: 1; justify-content: flex-end; padding: 0 6px 10px; gap: 0; background: linear-gradient(rgba(0, 17, 52, 0) 72%, rgba(0, 17, 52, .9)); }
  .pcard__over h3 { font-size: calc(14px * var(--fs)); line-height: 1.2; }
  .pcard__over .btn { position: absolute; inset: 0; z-index: 3; width: auto; padding: 0; border: 0; background: transparent; font-size: 0; color: transparent; }
}

/* ---------- Privacy policy page ---------- */
.policy { padding: 70px 0 90px; }
.policy__inner { max-width: 860px; }
.policy__meta { font: 500 calc(12px * var(--fs))/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dk); margin-bottom: 26px; }
.policy h2 { font: 500 calc(24px * var(--fs))/1.2 var(--font-head); color: var(--ink); margin: 34px 0 12px; }
.policy p { font-size: calc(14.5px * var(--fs)); line-height: 1.8; margin-bottom: 12px; }
.policy ul { margin: 0 0 14px; padding-left: 20px; list-style: disc; display: grid; gap: 8px; }
.policy li { font-size: calc(14.5px * var(--fs)); line-height: 1.7; color: var(--text); }
.policy strong { color: var(--ink); font-weight: 600; }
.policy a { color: var(--navy-700); border-bottom: 1px solid var(--gold); }
.policy a:hover { color: var(--gold-dk); }
.policy__contact { list-style: none; padding-left: 0; }
@media (max-width: 767px) {
  .policy { padding: 44px 0 64px; }
  .policy h2 { font-size: calc(21px * var(--fs)); margin-top: 28px; }
}

.form-consent { margin-top: 10px; font-size: calc(11.5px * var(--fs)); line-height: 1.5; color: var(--text); text-align: center; }
.form-consent a { color: var(--navy-700); border-bottom: 1px solid var(--gold); }

/* Large screens: scale all text up (--fs is multiplied into every font-size) */
@media (min-width: 1500px) { :root { --fs: 1.1; } }
@media (min-width: 1800px) { :root { --fs: 1.2; } }
@media (min-width: 2100px) { :root { --fs: 1.3; } }

@media (min-width: 1500px) {
  .hero__strip { grid-template-columns: calc(300px * var(--fs) * 1.15) 1fr; }
}

/* desktop: photo sits at the container edge (clear gap to the text); "About Us" sits a bit higher and ends 16px before the photo */
@media (min-width: 992px) {
  .about__watermark {
    top: 58px; left: 0; text-align: right;
    right: calc(100% - ((100% + min(100% - 32px, var(--container))) / 2 - 500px) + 16px);
  }
}

/* Homepage category tiles use full-bleed studio photos (cover) */
.pcard picture { display: block; width: 100%; height: 100%; }
.pcard img { object-fit: cover; padding: 0; }
.pcard__over { background: rgba(0, 17, 52, .74); }
@media (max-width: 767px) {
  .pcard__over { background: linear-gradient(rgba(0, 17, 52, 0) 58%, rgba(0, 17, 52, .88)); }
}
@media (hover: none) {
  .pcard__over { background: linear-gradient(rgba(0, 17, 52, 0) 58%, rgba(0, 17, 52, .88)); }
}
