/* =========================================================
   SRI TECH — Precision Machining
   ========================================================= */

:root {
  --navy-950: #050f22;
  --navy-900: #0a1a33;
  --navy-800: #0f2546;
  --navy-700: #16335e;
  --blue-500: #1e88e5;
  --blue-400: #3aa0ff;
  --blue-300: #6bbcff;
  --blue-50:  #eef5fd;
  --ink:      #0d1b2e;
  --text:     #42526b;
  --muted:    #6b7a90;
  --line:     #e3eaf3;
  --white:    #ffffff;
  --bg-soft:  #f5f8fc;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(10, 26, 51, .06);
  --shadow:    0 12px 34px rgba(10, 26, 51, .10);
  --shadow-lg: 0 24px 60px rgba(10, 26, 51, .18);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --script: "Caveat", cursive;
  --ease: cubic-bezier(.22, .9, .28, 1);
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 6px); }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
/* Off-screen reveal animations must never widen the page on mobile. */
html { overflow-x: hidden; }
main, footer { overflow-x: clip; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.dark {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(30, 136, 229, .18), transparent 60%),
    radial-gradient(800px 400px at 0% 110%, rgba(30, 136, 229, .12), transparent 60%),
    var(--navy-900);
  color: rgba(255, 255, 255, .72);
}

.text-grad {
  background: linear-gradient(90deg, var(--blue-400), var(--blue-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow--light { color: var(--blue-300); }

.title { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 18px; }
.title--light { color: var(--white); }
.muted { color: var(--muted); max-width: 520px; }
.script { font-family: var(--script); font-weight: 700; color: var(--blue-500); line-height: 1.05; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn i { font-size: 18px; transition: transform .3s var(--ease); }
.btn:hover i.ri-arrow-right-line { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--lg { padding: 17px 30px; font-size: 15.5px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--blue-500); color: var(--white); }
.btn--primary:hover { background: #1670cc; }
.btn--dark { background: var(--navy-900); color: var(--white); }
.btn--dark:hover { background: var(--blue-500); }
.btn--outline { border: 1.5px solid var(--navy-900); color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: var(--white); }
.btn--outline-light { border: 1.5px solid rgba(255, 255, 255, .35); color: var(--white); }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn--white { background: var(--white); color: var(--navy-900); }
.btn--white:hover { background: var(--blue-50); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-content: center; justify-items: center; gap: 14px;
  background: var(--navy-950);
  color: var(--white);
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader__gear { font-size: 54px; color: var(--blue-400); animation: spin 1.6s linear infinite; line-height: 1; }
.preloader__text { font-weight: 800; letter-spacing: .3em; font-size: 15px; }
.preloader__bar { width: 140px; height: 3px; background: rgba(255,255,255,.12); border-radius: 3px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 40%; background: var(--blue-400); border-radius: 3px; animation: bar 1.1s ease-in-out infinite; }
body.loaded .preloader { opacity: 0; visibility: hidden; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bar { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s, box-shadow .35s, height .35s;
}
.header.scrolled {
  --header-h: 68px;
  background: rgba(8, 21, 43, .88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .2);
}
.header__inner { display: flex; align-items: center; gap: 28px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); }
.logo__icon { font-size: 40px; line-height: 1; color: var(--white); display: inline-flex; transition: transform .6s var(--ease); }
.logo:hover .logo__icon { transform: rotate(90deg); }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text strong { font-size: 22px; font-weight: 800; letter-spacing: .01em; }
.logo__text small { font-size: 10.5px; opacity: .75; letter-spacing: .02em; margin-top: 3px; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 6px; }
.nav__link {
  position: relative;
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, .82);
  transition: color .25s;
}
.nav__link::after {
  content: "";
  position: absolute; left: 12px; right: 12px; bottom: 0;
  height: 2px; border-radius: 2px;
  background: var(--blue-400);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__link:hover, .nav__link.active { color: var(--white); }
.nav__link.active { color: var(--blue-300); }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }

.burger {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  flex-direction: column; justify-content: center; align-items: flex-end;
  gap: 5px; padding: 0 12px;
}
.burger span { display: block; height: 2px; width: 22px; background: var(--white); border-radius: 2px; transition: width .3s var(--ease); }
.burger span:nth-child(2) { width: 15px; }
.burger span:nth-child(3) { width: 18px; }
.burger:hover span { width: 22px; }

/* ---------- Mobile menu ---------- */
.mmenu { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; }
.mmenu.open { visibility: visible; pointer-events: auto; }
.mmenu__backdrop {
  position: absolute; inset: 0;
  background: rgba(3, 10, 24, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .4s ease;
}
.mmenu.open .mmenu__backdrop { opacity: 1; }
.mmenu__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(380px, 88vw);
  display: flex; flex-direction: column;
  padding: 22px 24px 28px;
  background:
    radial-gradient(420px 300px at 100% 0%, rgba(30, 136, 229, .35), transparent 70%),
    radial-gradient(320px 280px at 0% 100%, rgba(30, 136, 229, .18), transparent 70%),
    var(--navy-950);
  color: var(--white);
  transform: translateX(100%);
  transition: transform .55s var(--ease);
  box-shadow: -20px 0 60px rgba(0, 0, 0, .35);
  overflow-y: auto;
}
.mmenu.open .mmenu__panel { transform: none; }
.mmenu__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.mmenu__head .logo__icon { font-size: 34px; }
.mmenu__head .logo__text strong { font-size: 19px; }
.mmenu__close {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  font-size: 24px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .4s var(--ease), background .3s;
}
.mmenu__close:hover { transform: rotate(90deg); background: var(--blue-500); }

.mmenu__list { margin: 18px 0 auto; }
.mmenu__list li {
  opacity: 0; transform: translateX(30px);
  transition: opacity .45s ease, transform .55s var(--ease);
}
.mmenu.open .mmenu__list li { opacity: 1; transform: none; }
.mmenu.open .mmenu__list li:nth-child(1) { transition-delay: .12s; }
.mmenu.open .mmenu__list li:nth-child(2) { transition-delay: .17s; }
.mmenu.open .mmenu__list li:nth-child(3) { transition-delay: .22s; }
.mmenu.open .mmenu__list li:nth-child(4) { transition-delay: .27s; }
.mmenu.open .mmenu__list li:nth-child(5) { transition-delay: .32s; }
.mmenu.open .mmenu__list li:nth-child(6) { transition-delay: .37s; }
.mmenu.open .mmenu__list li:nth-child(7) { transition-delay: .42s; }
.mmenu__list a {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 6px;
  font-size: 19px; font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: color .25s, padding .35s var(--ease);
}
.mmenu__list a i { margin-left: auto; font-size: 20px; opacity: .35; transition: opacity .25s, transform .35s var(--ease); }
.mmenu__list a:hover, .mmenu__list a.active { color: var(--blue-300); padding-left: 12px; }
.mmenu__list a:hover i, .mmenu__list a.active i { opacity: 1; transform: translate(2px, -2px); }

.mmenu__foot {
  margin-top: 26px; display: grid; gap: 10px;
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s ease .45s, transform .5s var(--ease) .45s;
}
.mmenu.open .mmenu__foot { opacity: 1; transform: none; }
.mmenu__contact {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  font-size: 14.5px; font-weight: 500;
}
.mmenu__contact i { color: var(--blue-400); font-size: 18px; }
.mmenu__foot .btn { margin-top: 6px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: max(720px, min(100svh, 920px));
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 40px) 0 0;
  background: var(--navy-950);
  color: rgba(255, 255, 255, .8);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0 0 0 32%; z-index: -4; overflow: hidden; }
.hero__bg {
  position: absolute; inset: -3%;
  background: url('../images/hero-bg.jpg') 58% 45% / cover no-repeat;
  filter: grayscale(1) contrast(1.25) brightness(.8);
  animation: heroZoom 16s ease-out both;
  will-change: transform;
}
/* duotone: turn the greyscale photo steel-blue */
.hero__tint {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #1d6fd6, #0b3478);
  mix-blend-mode: color;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: -3;
  background:
    linear-gradient(90deg, var(--navy-950) 30%, rgba(5, 15, 34, .88) 40%, rgba(5, 15, 34, .35) 58%, rgba(5, 15, 34, .05) 80%),
    linear-gradient(0deg, rgba(5, 15, 34, .9) 0%, transparent 28%),
    linear-gradient(180deg, rgba(5, 15, 34, .65) 0%, transparent 22%);
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

/* diagonal light streaks */
.hero__streak {
  position: absolute; z-index: -2;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--blue-400) 45%, var(--blue-300) 55%, transparent);
  transform: rotate(38deg);
  opacity: .8;
}
.hero__streak--l1 { left: 30px; top: 8%; height: 380px; }
.hero__streak--l2 { left: -10px; top: 32%; height: 300px; width: 16px; opacity: .35; filter: blur(2px); }
.hero__streak--r1 { right: 80px; bottom: 40px; height: 320px; }
.hero__streak--r2 { right: 30px; bottom: 0; height: 260px; width: 18px; opacity: .3; filter: blur(2px); }
body.loaded .hero__streak { animation: streakIn 1.4s var(--ease) .4s both; }
@keyframes streakIn { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }

.hero__inner { flex: 1; display: flex; align-items: center; padding-bottom: 60px; }
.hero__content { max-width: 720px; }

.hero__pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 14px;
  margin-bottom: 26px;
  border-radius: 40px;
  font-size: 13.5px; font-weight: 500; color: var(--white);
  background: rgba(10, 26, 51, .6);
  border: 1px solid rgba(107, 188, 255, .3);
}
.dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--blue-400); }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s ease-out infinite; }
@keyframes ping { to { transform: scale(3); opacity: 0; } }

.hero__title { font-size: clamp(38px, 5vw, 70px); line-height: 1.08; letter-spacing: -.035em; color: var(--white); margin-bottom: 22px; }
.hero__lead { font-size: clamp(15.5px, 1.3vw, 18px); max-width: 560px; margin-bottom: 34px; color: rgba(255, 255, 255, .78); }

.hero__features { display: flex; flex-wrap: wrap; align-items: center; margin-bottom: 42px; }
.hero__features li {
  display: flex; align-items: center; gap: 12px;
  padding: 4px 22px;
  font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--white);
  border-left: 1px solid rgba(255, 255, 255, .14);
}
.hero__features li:first-child { padding-left: 0; border-left: 0; }
.hf__icon {
  flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 22px; color: var(--blue-400);
  border: 1.5px solid rgba(58, 160, 255, .55);
  background: rgba(30, 136, 229, .08);
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.hero__features li:hover .hf__icon { background: var(--blue-500); color: var(--white); transform: rotate(-10deg); }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.play {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 7px 26px 7px 7px;
  border-radius: 50px;
  border: 1.5px solid rgba(107, 188, 255, .4);
  color: var(--white); font-weight: 700; font-size: 15px; line-height: 1.25;
  transition: border-color .3s, background .3s;
}
.play:hover { border-color: var(--blue-400); background: rgba(30, 136, 229, .1); }
.play small { display: block; font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .6); }
.play__icon {
  position: relative; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 20px;
  border: 1.5px solid rgba(255, 255, 255, .5);
  transition: background .3s, border-color .3s;
}
.play:hover .play__icon { background: var(--blue-500); border-color: var(--blue-500); }

/* rotating seal */
.seal {
  position: absolute; right: max(24px, calc((100% - 1300px) / 2)); top: 30%; z-index: 2;
  width: 168px; height: 168px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(5, 15, 34, .55);
  border: 1.5px solid rgba(58, 160, 255, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.seal__text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.seal__text text { fill: var(--white); font-size: 15.5px; font-weight: 700; letter-spacing: 3.2px; font-family: var(--font); }
.seal__core {
  width: 66px; height: 66px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 32px; color: var(--white);
  background: var(--blue-500);
}

/* "Custom Precision Parts" card */
.hero__card {
  position: absolute; right: max(24px, calc((100% - 1300px) / 2)); bottom: 150px; z-index: 2;
  display: flex; align-items: center; gap: 18px;
  padding: 18px 30px 18px 22px;
  border-radius: 20px;
  background: rgba(5, 15, 34, .72);
  border: 1.5px solid rgba(58, 160, 255, .5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
}
.hero__card strong { display: block; font-size: 16.5px; font-weight: 700; }
.hero__card small { display: block; font-size: 13px; color: rgba(255, 255, 255, .65); }
.hero__card-icon { font-size: 40px; line-height: 1; color: rgba(255, 255, 255, .9); }
.hero__card-line {
  position: absolute; right: 100%; bottom: 50%;
  width: 54px; height: 80px;
  border-left: 1.5px solid var(--blue-400);
  border-bottom: 1.5px solid var(--blue-400);
  border-bottom-left-radius: 14px;
}
.hero__card-line::before {
  content: ""; position: absolute; left: -5px; top: -5px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--blue-400);
  animation: ping 1.8s ease-out infinite;
}

/* trusted-by strip */
.hero__trust {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(5, 15, 34, .6);
  padding: 22px 0;
}
.hero__trust-inner { display: flex; align-items: center; gap: 34px; }
.hero__trust p { flex: none; font-size: 12.5px; line-height: 1.3; color: rgba(255, 255, 255, .55); padding-right: 34px; border-right: 1px solid rgba(255, 255, 255, .12); }
.hero__trust b { color: var(--white); font-weight: 700; }
.marquee {
  flex: 1; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee__track span {
  display: inline-flex; align-items: center; gap: 14px;
  padding-right: 56px;
  font-size: 17px; font-weight: 800; letter-spacing: .02em;
  color: rgba(255, 255, 255, .55);
  white-space: nowrap;
}
.marquee__track span::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--blue-400); transform: rotate(45deg); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* page-load animations */
.load-up, .load-fade, .load-zoom, .load-left { opacity: 0; }
body.loaded .load-up { animation: loadUp .9s var(--ease) var(--d, 0s) both; }
body.loaded .load-fade { animation: loadFade 1s ease var(--d, 0s) both; }
body.loaded .load-zoom { animation: loadZoom 1s var(--ease) var(--d, 0s) both; }
body.loaded .load-left { animation: loadLeft 1s var(--ease) var(--d, 0s) both; }
@keyframes loadUp { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes loadFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes loadZoom { from { opacity: 0; transform: scale(.6) rotate(-40deg); } to { opacity: 1; transform: none; } }
@keyframes loadLeft { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: none; } }
@keyframes float { 50% { transform: translateY(-8px); } }

/* =========================================================
   About
   ========================================================= */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }

.about__media { position: relative; padding: 0 0 70px 0; }
.about__img {
  position: relative;
  width: 86%;
  aspect-ratio: 4 / 4.2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about__img img, .about__img2 img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__media:hover .about__img img { transform: scale(1.05); }
.about__img2 {
  position: absolute; right: 0; bottom: 0;
  width: 50%;
  aspect-ratio: 4 / 3.3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 8px solid var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.about__exp {
  position: absolute; right: 2%; top: 8%;
  z-index: 2;
  width: 128px; height: 128px;
  display: grid; place-content: center; text-align: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
  color: var(--white);
  box-shadow: 0 18px 40px rgba(30, 136, 229, .45);
  border: 6px solid var(--white);
  animation: float 5s ease-in-out infinite;
}
.about__exp strong { font-size: 34px; line-height: 1; font-weight: 800; }
.about__exp span { font-size: 11.5px; line-height: 1.25; font-weight: 600; margin-top: 4px; }
.about__dots {
  position: absolute; left: -22px; bottom: 30px; z-index: -1;
  width: 140px; height: 140px;
  background-image: radial-gradient(var(--blue-300) 1.6px, transparent 1.6px);
  background-size: 16px 16px;
  opacity: .6;
}

.about__lead { margin-bottom: 26px; }
.about__quote {
  position: relative;
  padding: 18px 22px 18px 24px;
  margin-bottom: 28px;
  border-left: 3px solid var(--blue-500);
  background: linear-gradient(90deg, var(--blue-50), transparent);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.about__quote .script { font-size: 30px; margin-bottom: 6px; }
.about__quote p:not(.script) { font-size: 14.5px; }

.mini-feats { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.mini-feats li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 12.5px; line-height: 1.3; color: var(--muted);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.mini-feats li:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.mini-feats i {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  font-size: 18px; color: var(--blue-500); background: var(--blue-50);
}
.mini-feats b { display: block; color: var(--ink); font-weight: 700; font-size: 13px; }

.about__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; }
.about__sign { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); line-height: 1.3; }
.about__sign b { display: block; font-size: 14.5px; color: var(--ink); }
.about__avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 22px; color: var(--blue-500);
  background: var(--blue-50);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue-300);
}

/* =========================================================
   Section heads
   ========================================================= */
.section-head { margin-bottom: 50px; }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.section-head--split .title { margin-bottom: 14px; }
.section-head__sub { max-width: 560px; color: rgba(255, 255, 255, .7); margin-bottom: 28px; }
.section-head--split .section-head__sub { margin-bottom: 0; }

/* =========================================================
   Products
   ========================================================= */
.products__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pcard {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .3);
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.pcard:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.pcard__img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: #e9eef5; }
.pcard__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5, 15, 34, .45));
}
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.08); }
.pcard__tag {
  position: absolute; top: 14px; right: 14px; z-index: 1;
  padding: 5px 12px; border-radius: 20px;
  background: var(--blue-500); color: var(--white);
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
}
.pcard__body { position: relative; padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.pcard__body::before {
  content: ""; position: absolute; left: 24px; top: 0;
  width: 40px; height: 3px; border-radius: 0 0 3px 3px;
  background: var(--blue-500);
  transition: width .5s var(--ease);
}
.pcard:hover .pcard__body::before { width: calc(100% - 48px); }
.pcard__body h3 { font-size: 19px; letter-spacing: -.015em; margin-bottom: 8px; }
.pcard__body p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.pcard__link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--blue-500);
}
.pcard__link i {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue-50);
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.pcard:hover .pcard__link i { background: var(--blue-500); color: var(--white); transform: rotate(45deg); }
.pcard--service { background: linear-gradient(180deg, #fff, var(--blue-50)); }

/* =========================================================
   CAD Design
   ========================================================= */
.cad { background: var(--white); overflow: hidden; }
.cad__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }

.cad__media { position: relative; padding: 0 40px 60px 0; isolation: isolate; }
.cad__img {
  aspect-ratio: 4 / 3.2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cad__img img, .cad__img2 img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cad__media:hover .cad__img img { transform: scale(1.05); }
.cad__img2 {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  width: 42%; aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 8px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.cad__chip {
  position: absolute; left: 24px; bottom: 24px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  font-size: 12.5px; line-height: 1.3; color: var(--muted);
  animation: float 5s ease-in-out infinite;
}
.cad__chip b { display: block; font-size: 15px; color: var(--ink); }
.cad__chip-icon {
  width: 42px; height: 42px; border-radius: 10px;
  display: grid; place-items: center;
  font-size: 20px; color: var(--white);
  background: var(--blue-500);
}
/* faint drafting-grid behind the images */
.cad__grid-bg {
  position: absolute; left: -30px; top: -30px; z-index: -1;
  width: 60%; height: 70%;
  border-radius: var(--radius-lg);
  background-image:
    linear-gradient(rgba(30, 136, 229, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 136, 229, .12) 1px, transparent 1px);
  background-size: 22px 22px;
}

.cad__body .muted { margin-bottom: 30px; }
.cad__steps { position: relative; display: grid; gap: 6px; margin-bottom: 34px; }
/* connecting line between step icons */
.cad__steps::before {
  content: ""; position: absolute; left: 23px; top: 30px; bottom: 30px;
  border-left: 2px dashed var(--line);
}
.cad__step {
  position: relative;
  display: flex; align-items: flex-start; gap: 18px;
  padding: 12px 14px 12px 0;
  border-radius: var(--radius);
}
.cad__step-icon {
  position: relative; z-index: 1; flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 21px; color: var(--blue-500);
  background: var(--blue-50);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--line);
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.cad__step:hover .cad__step-icon { background: var(--blue-500); color: var(--white); transform: scale(1.08); }
.cad__step h3 { font-size: 16px; margin: 4px 0 3px; letter-spacing: -.01em; }
.cad__step p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* =========================================================
   Machines
   ========================================================= */
.machines { background: var(--bg-soft); overflow: hidden; }
.machines .muted { margin-bottom: 0; }
.arrows { display: flex; gap: 12px; flex: none; }
.machines__controls { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; flex: none; }
.arrow {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 22px; color: var(--navy-900);
  background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: background .3s, color .3s, transform .3s var(--ease), opacity .3s;
}
.arrow:hover { background: var(--blue-500); color: var(--white); transform: scale(1.06); border-color: var(--blue-500); }
.arrow:disabled { opacity: .35; pointer-events: none; }

.slider { min-width: 0; }
.slider__track {
  display: flex; gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 4px 30px;
  scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.mcard {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.mcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.mcard__img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.mcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.mcard:hover .mcard__img img { transform: scale(1.07); }
.mcard__badge {
  position: absolute; top: 14px; left: 14px;
  padding: 6px 12px; border-radius: 20px;
  background: rgba(10, 26, 51, .78); backdrop-filter: blur(6px);
  color: var(--white); font-size: 11.5px; font-weight: 700;
}
.mcard__body { padding: 22px 24px 24px; }
.mcard__body h3 { font-size: 19px; margin-bottom: 14px; }
.mcard dl { display: grid; gap: 0; }
.mcard dl div { display: flex; justify-content: space-between; align-items: center; font-size: 14px; padding: 10px 0; border-top: 1px dashed var(--line); }
.mcard dt { color: var(--muted); display: flex; align-items: center; gap: 8px; }
.mcard dt i { color: var(--blue-500); font-size: 16px; }
.mcard dd { color: var(--ink); font-weight: 700; }
.slider__progress { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; margin: 4px 4px 0; max-width: 300px; }
.slider__progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue-400), var(--blue-500)); border-radius: 4px; transition: width .3s ease; }

/* =========================================================
   Clients
   ========================================================= */
.clients { overflow: hidden; isolation: isolate; }
.clients__bg {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
  opacity: .12;
  mix-blend-mode: luminosity;
}
.clients__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: center; }
.clients__logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.client {
  aspect-ratio: 16 / 10;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
  position: relative; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s;
}
.client::after {
  content: ""; position: absolute; inset: auto 0 0; height: 3px;
  background: var(--blue-500);
  transform: scaleX(0); transition: transform .45s var(--ease);
}
.client:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(0, 0, 0, .4); }
.client:hover::after { transform: scaleX(1); }
.client--more { background: rgba(255, 255, 255, .05); border: 1.5px dashed rgba(255, 255, 255, .25); box-shadow: none; }
.client--more span { display: flex; flex-direction: column; align-items: center; text-align: center; font-size: 13px; font-weight: 600; line-height: 1.35; color: rgba(255, 255, 255, .7); }
.client--more i { font-size: 24px; color: var(--blue-300); margin-bottom: 4px; }
.brand { display: flex; flex-direction: column; align-items: center; text-align: center; font-weight: 800; color: var(--navy-900); font-size: clamp(18px, 1.8vw, 24px); line-height: 1; letter-spacing: -.01em; }
.brand small { font-size: .45em; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin-top: 6px; }
.brand--mahindra { color: #1a1a1a; }
.brand--mahindra small { color: #c8102e; }
.brand--sharp { color: #1f3f7a; }
.brand--texmo { color: #0c2d5a; letter-spacing: .02em; }
.brand--cri { color: #0a4ea2; font-size: clamp(24px, 2.4vw, 32px); font-style: italic; }
.brand--aquasub { color: #0d3b78; }
.brand--aquasub small { color: #2a9fd8; }

/* =========================================================
   Why
   ========================================================= */
.why { background: linear-gradient(180deg, #fff, var(--bg-soft)); overflow: hidden; }
.why__grid { display: grid; grid-template-columns: .95fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.why__media { position: relative; }
.why__media img {
  width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative; z-index: 1;
}
.why__frame {
  position: absolute; inset: 28px -22px -22px 28px;
  border: 2px solid var(--blue-300);
  border-radius: var(--radius-lg);
  opacity: .6;
}
.why__chip {
  position: absolute; left: -20px; bottom: 40px; z-index: 2;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 14px;
  background: var(--white); color: var(--muted);
  font-size: 12.5px; line-height: 1.3;
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}
.why__chip b { display: block; color: var(--ink); font-size: 14px; }
.why__chip i { color: #22a861; font-size: 28px; }
.why__body .muted { margin-bottom: 34px; }

.why__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feat {
  position: relative;
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
  overflow: hidden;
}
.feat::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.feat:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.feat:hover::after { transform: scaleX(1); }
.feat__icon {
  flex: none;
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  font-size: 22px; color: var(--blue-500); background: var(--blue-50);
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.feat:hover .feat__icon { background: var(--blue-500); color: var(--white); transform: rotate(-8deg); }
.feat h3 { font-size: 15.5px; margin-bottom: 3px; letter-spacing: -.01em; }
.feat p { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* =========================================================
   Gallery
   ========================================================= */
.gallery__hint { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .6); flex: none; }
.gallery__hint i { color: var(--blue-300); font-size: 18px; }
.gallery__items {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: repeat(2, 260px);
  gap: 18px;
}
.gitem {
  position: relative; display: block;
  border-radius: var(--radius-lg); overflow: hidden;
  cursor: zoom-in;
  background: var(--navy-800);
}
.gitem--big { grid-row: span 2; }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gitem:hover img { transform: scale(1.08); }
.gitem::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(5, 15, 34, .9), transparent 55%);
  opacity: .75; transition: opacity .4s;
}
.gitem:hover::after { opacity: 1; }
.gitem__cap {
  position: absolute; left: 20px; right: 70px; bottom: 18px; z-index: 1;
  display: flex; flex-direction: column;
  color: var(--white); font-size: 15px; font-weight: 700; text-align: left; line-height: 1.3;
  transform: translateY(6px);
  transition: transform .45s var(--ease);
}
.gitem__cap small { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 4px; }
.gitem:hover .gitem__cap { transform: none; }
.gitem__zoom {
  position: absolute; right: 18px; bottom: 18px; z-index: 1;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 18px; color: var(--white);
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(6px);
  transform: scale(.6); opacity: 0;
  transition: transform .4s var(--ease), opacity .4s, background .3s;
}
.gitem:hover .gitem__zoom { transform: none; opacity: 1; background: var(--blue-500); }

/* =========================================================
   Contact / CTA
   ========================================================= */
.contact { background: var(--white); }
.cta__card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: clamp(34px, 5vw, 60px);
  border-radius: var(--radius-lg);
  background: linear-gradient(115deg, rgba(30, 136, 229, .96), rgba(20, 96, 184, .92) 50%, rgba(10, 26, 51, .9));
  color: rgba(255, 255, 255, .85);
  box-shadow: 0 30px 70px rgba(30, 136, 229, .3);
  margin-bottom: 60px;
}
.cta__bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: .16; mix-blend-mode: luminosity; }
.cta__gear {
  position: absolute; right: -40px; top: -60px;
  font-size: 260px; line-height: 1;
  color: rgba(255, 255, 255, .08);
  animation: spin 30s linear infinite;
}
.cta__text { position: relative; max-width: 560px; }
.cta__text h2 { color: var(--white); font-size: clamp(24px, 3vw, 36px); margin-bottom: 12px; }
.cta__actions { position: relative; display: flex; flex-wrap: wrap; gap: 14px; }

.contact__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 30px; align-items: stretch; }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ccard {
  display: flex; flex-direction: column; gap: 14px;
  padding: 24px 22px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s, background .4s;
}
.ccard:hover { transform: translateY(-5px); box-shadow: var(--shadow); background: var(--white); }
.ccard__icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  font-size: 22px; color: var(--white);
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
  box-shadow: 0 10px 20px rgba(30, 136, 229, .3);
}
.ccard h3 { font-size: 16px; margin-bottom: 6px; }
.ccard a, .ccard p { display: block; font-size: 14px; color: var(--text); line-height: 1.6; word-break: break-word; }
.ccard a:hover { color: var(--blue-500); }
.contact__map {
  min-height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-soft);
}
.contact__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: saturate(.85); }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .65); font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding: 72px 0 50px; }
.footer__brand > p { margin-top: 18px; max-width: 320px; }
.footer__loc { display: flex; align-items: center; gap: 8px; }
.footer__loc i { font-size: 22px; color: var(--blue-400); }
.footer__loc .script { font-size: 24px; color: var(--blue-300); }
.footer h4 { color: var(--white); font-size: 15px; margin-bottom: 20px; letter-spacing: 0; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--blue-500); border-radius: 2px; }
.footer__links li { margin-bottom: 10px; }
.footer__links a, .footer__contact a { transition: color .25s, padding .25s; }
.footer__links a:hover { color: var(--blue-300); padding-left: 4px; }
.footer__contact a:hover { color: var(--blue-300); }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 14px; line-height: 1.5; }
.footer__contact i { color: var(--blue-400); font-size: 17px; margin-top: 1px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; font-size: 13px; }
.footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer__bottom span { margin: 0 8px; opacity: .4; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  padding: 20px 70px;
  background: rgba(3, 10, 24, .94);
  opacity: 0; visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { max-width: min(1100px, 100%); transform: scale(.92); transition: transform .45s var(--ease); }
.lightbox.open figure { transform: none; }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius); }
.lightbox figcaption { color: var(--white); text-align: center; margin-top: 14px; font-weight: 600; }
.lightbox__close, .lightbox__nav {
  position: absolute;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 26px; color: var(--white);
  background: rgba(255, 255, 255, .1);
  transition: background .3s;
  z-index: 1;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--blue-500); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav { top: 50%; translate: 0 -50%; }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  font-size: 22px; color: var(--white);
  background: var(--blue-500);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .35s, visibility .35s, transform .35s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy-900); }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal="left"]  { transform: translateX(-60px); }
[data-reveal="zoom"]  { transform: scale(.88); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav__link { padding: 8px 9px; font-size: 13.5px; }
  .header__inner { gap: 18px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  :root { --header-h: 70px; }
  .nav, .header__cta { display: none; }
  .burger { display: flex; }
  .header { background: rgba(8, 21, 43, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

  .hero { min-height: 0; }
  .hero__inner { padding: 30px 0 80px; }
  .hero__media { inset: 0; }
  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(5, 15, 34, .94) 0%, rgba(5, 15, 34, .8) 55%, rgba(5, 15, 34, .45) 100%),
      linear-gradient(0deg, rgba(5, 15, 34, .9) 0%, transparent 30%);
  }
  .seal, .hero__card { display: none; }

  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .mcard { flex-basis: calc((100% - 24px) / 2); }
  .clients__grid { grid-template-columns: 1fr; gap: 40px; }
  .why__grid { grid-template-columns: 1fr; }
  .why__media { max-width: 560px; }
  .cad__grid { grid-template-columns: 1fr; }
  .cad__media { max-width: 600px; }
  .why__media img { aspect-ratio: 16 / 11; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .hero__trust-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .hero__trust p { border: 0; padding: 0; }
  .hero__trust br { display: none; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .cta__card { flex-direction: column; align-items: flex-start; }
  .gallery__items { grid-template-columns: 1fr 1fr; grid-template-rows: 300px repeat(2, 200px); }
  .gitem--big { grid-row: auto; grid-column: 1 / -1; }
  .members { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .logo__text small { display: none; }
  .logo__icon { font-size: 34px; }
  .logo__text strong { font-size: 20px; }

  .hero { padding-top: calc(var(--header-h) + 30px); }
  .hero__inner { padding-bottom: 40px; }
  .hero__pill { font-size: 12px; }
  .hero__bg { background-position: 62% 45%; }
  .hero__features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; margin-bottom: 34px; }
  .hero__features li, .hero__features li:first-child { padding: 0; border: 0; font-size: 13px; gap: 10px; }
  .hf__icon { width: 42px; height: 42px; font-size: 19px; }
  .hero__actions .btn, .hero__actions .play { width: 100%; }
  .hero__streak--r1, .hero__streak--r2 { display: none; }
  .marquee__track span { font-size: 15px; padding-right: 40px; }

  .about__media { padding-bottom: 50px; }
  .about__img { width: 92%; }
  .about__exp { width: 100px; height: 100px; border-width: 4px; }
  .about__exp strong { font-size: 26px; }
  .about__exp span { font-size: 10px; }
  .about__img2 { border-width: 5px; width: 52%; }
  .about__quote .script { font-size: 26px; }

  .products__grid { grid-template-columns: 1fr; gap: 20px; }

  .cad__media { padding: 0 16px 44px 0; }
  .cad__img2 { width: 44%; border-width: 5px; }
  .cad__chip { left: 12px; bottom: 14px; padding: 10px 14px 10px 10px; }
  .cad__chip-icon { width: 36px; height: 36px; font-size: 17px; }
  .cad__chip b { font-size: 14px; }
  .cad__grid-bg { left: -16px; top: -16px; }
  .pcard__img { aspect-ratio: 16 / 10; }

  .mcard { flex-basis: 84%; }
  .arrow { width: 46px; height: 46px; }

  .clients__logos { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .why__list { grid-template-columns: 1fr; gap: 12px; }
  .why__chip { left: 12px; bottom: 16px; }
  .why__frame { inset: 16px -10px -10px 16px; }

  .gallery__items { grid-template-rows: 240px repeat(2, 150px); gap: 12px; }
  .gitem__cap { left: 14px; right: 14px; bottom: 12px; font-size: 13px; }
  .gitem__zoom { display: none; }
  .gitem:not(.gitem--big) .gitem__cap small { display: none; }

  .cta__actions, .cta__actions .btn { width: 100%; }
  .cta__card { margin-bottom: 40px; }
  .contact__cards { grid-template-columns: 1fr; }
  .ccard { flex-direction: row; align-items: flex-start; padding: 18px; }
  .ccard__icon { flex: none; }
  .contact__map, .contact__map iframe { min-height: 280px; }

  .footer__grid { grid-template-columns: 1fr; gap: 34px; padding: 56px 0 36px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }

  .lightbox { padding: 20px 12px; }
  .lightbox__nav { top: auto; bottom: 18px; translate: none; }
  .lightbox__nav--prev { left: calc(50% - 58px); }
  .lightbox__nav--next { right: calc(50% - 58px); }
}

/* =========================================================
   Inner pages
   ========================================================= */

/* ---------- Page hero / banner ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 90px) 0 100px;
  background: var(--navy-950);
  color: rgba(255, 255, 255, .78);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg {
  position: absolute; inset: -3%; z-index: -3;
  background-size: cover; background-position: center;
  filter: grayscale(1) contrast(1.2) brightness(.75);
  animation: heroZoom 14s ease-out both;
}
.page-hero__tint { position: absolute; inset: 0; z-index: -2; background: linear-gradient(160deg, #1d6fd6, #0b3478); mix-blend-mode: color; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--navy-950) 10%, rgba(5, 15, 34, .8) 45%, rgba(5, 15, 34, .35)),
    linear-gradient(0deg, rgba(5, 15, 34, .6), transparent 40%);
}
.page-hero .hero__streak { z-index: 0; }
.page-hero__inner { position: relative; max-width: 720px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.08; letter-spacing: -.035em; color: var(--white); margin-bottom: 18px; }
.page-hero p { font-size: clamp(15.5px, 1.3vw, 18px); max-width: 580px; }
.breadcrumb {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px;
  padding: 8px 18px;
  margin-bottom: 24px;
  border-radius: 40px;
  font-size: 13.5px; font-weight: 500;
  background: rgba(10, 26, 51, .6);
  border: 1px solid rgba(107, 188, 255, .3);
}
.breadcrumb a { color: var(--white); transition: color .25s; }
.breadcrumb a:hover { color: var(--blue-300); }
.breadcrumb i { color: var(--blue-400); }
.breadcrumb span { color: var(--blue-300); }

/* ---------- Jump chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 40px;
  font-size: 14px; font-weight: 600; color: var(--white);
  border: 1.5px solid rgba(107, 188, 255, .35);
  transition: background .3s, border-color .3s;
}
.chip i { color: var(--blue-300); font-size: 17px; }
.chip:hover { background: var(--blue-500); border-color: var(--blue-500); }
.chip:hover i { color: var(--white); }

/* ---------- Section head (centered) ---------- */
.section-head--center { text-align: center; max-width: 680px; margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .muted, .section-head--center .section-head__sub { margin-inline: auto; margin-bottom: 0; }

/* ---------- About: story ---------- */
.story p + p { margin-top: 16px; }
.story .about__quote { margin-top: 26px; }

/* ---------- About: company profile ---------- */
.profile__grid { display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.profile__tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ptile {
  display: flex; align-items: center; gap: 16px;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: background .3s, border-color .3s, transform .4s var(--ease);
}
.ptile:hover { background: rgba(30, 136, 229, .12); border-color: rgba(107, 188, 255, .35); transform: translateY(-4px); }
.ptile i {
  flex: none;
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  font-size: 22px; color: var(--blue-300);
  background: rgba(30, 136, 229, .14);
  border: 1px solid rgba(107, 188, 255, .25);
}
.ptile span { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .55); line-height: 1.3; }
.ptile strong { display: block; font-size: 17px; color: var(--white); line-height: 1.35; }
.ptile--wide { grid-column: 1 / -1; }

/* ---------- About: team ---------- */
.team { background: var(--white); }
.team__label {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; margin-bottom: 22px;
}
.team__label i {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  font-size: 18px; color: var(--blue-500); background: var(--blue-50);
}
.team__label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* leadership: large cards with a photo slot */
.leaders { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 60px; }
.leader {
  display: grid; grid-template-columns: 220px 1fr; align-items: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: rgba(255, 255, 255, .7);
  transition: transform .45s var(--ease), box-shadow .45s;
}
.leader:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.leader__photo {
  position: relative; align-self: stretch;
  min-height: 250px;
  display: grid; place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .9) 0%, transparent 62%),
    linear-gradient(180deg, var(--blue-50), #cfe2f8);
}
.leader__photo > i { font-size: 96px; color: var(--blue-300); opacity: .75; }
.leader__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.leader:hover .leader__photo img { transform: scale(1.05); }
.leader__body { padding: 30px 30px 30px 32px; }
.leader__tag {
  display: inline-block; padding: 4px 12px; margin-bottom: 14px;
  border-radius: 20px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-300);
  background: rgba(30, 136, 229, .15);
  border: 1px solid rgba(107, 188, 255, .3);
}
.leader__body h3 { font-size: clamp(20px, 2vw, 25px); color: var(--white); margin-bottom: 6px; }
.leader__role { font-size: 15px; font-weight: 600; color: var(--blue-300); margin-bottom: 18px; }
.leader__since {
  display: flex; align-items: center; gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13.5px;
}
.leader__since i { color: var(--blue-400); font-size: 16px; }

/* team members: compact cards with initials, no photos */
.members { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.member {
  display: flex; align-items: center; gap: 14px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s, background .4s, border-color .4s;
}
.member:hover { transform: translateY(-4px); background: var(--white); box-shadow: var(--shadow); border-color: transparent; }
.member__avatar {
  flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 15px; font-weight: 800; letter-spacing: .02em; color: var(--white);
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
  transition: transform .4s var(--ease);
}
.member:hover .member__avatar { transform: rotate(-8deg) scale(1.06); }
.member h4 { font-size: 14.5px; color: var(--ink); line-height: 1.3; margin-bottom: 3px; letter-spacing: -.01em; }
.member p { font-size: 12.5px; font-weight: 600; color: var(--blue-500); line-height: 1.35; }

/* ---------- About: mission / vision / values ---------- */
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vcard {
  position: relative; overflow: hidden;
  padding: 36px 30px 34px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s, border-color .45s;
}
.vcard::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.vcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.vcard:hover::before { transform: scaleX(1); }
.vcard__icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center;
  font-size: 28px; color: var(--blue-500); background: var(--blue-50);
  margin-bottom: 22px;
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.vcard:hover .vcard__icon { background: var(--blue-500); color: var(--white); transform: rotate(-8deg); }
.vcard h3 { font-size: 21px; margin-bottom: 10px; }
.vcard p { font-size: 14.5px; color: var(--muted); }
.vcard ul { margin-top: 4px; display: grid; gap: 8px; }
.vcard li { display: flex; gap: 8px; font-size: 14.5px; color: var(--text); }
.vcard li i { color: var(--blue-500); margin-top: 3px; }

/* ---------- Horizontal process steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; }
.steps::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 36px;
  border-top: 2px dashed var(--line);
}
.dark .steps::before { border-color: rgba(255, 255, 255, .15); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step__icon {
  position: relative; z-index: 1;
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 20px;
  font-size: 28px; color: var(--blue-500);
  background: var(--white);
  border: 2px solid var(--line);
  transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease);
}
.dark .step__icon { background: var(--navy-800); border-color: rgba(107, 188, 255, .3); color: var(--blue-300); }
.step:hover .step__icon { background: var(--blue-500); color: var(--white); border-color: var(--blue-500); transform: translateY(-4px); }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.dark .step h3 { color: var(--white); }
.step p { font-size: 14px; color: var(--muted); }
.dark .step p { color: rgba(255, 255, 255, .6); }

/* ---------- Products page: product card feature list ---------- */
.pcard__list { display: grid; gap: 7px; margin: -4px 0 20px; }
.pcard__list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--text); line-height: 1.45; }
.pcard__list i { color: var(--blue-500); font-size: 16px; margin-top: 1px; }

/* ---------- Products page: service rows ---------- */
.srow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.srow + .srow { margin-top: clamp(70px, 8vw, 110px); }
.srow--rev .srow__media { order: 2; }
.srow__media { position: relative; }
.srow__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.srow__badge {
  position: absolute; right: -16px; bottom: -16px;
  width: 76px; height: 76px; border-radius: 20px;
  display: grid; place-items: center;
  font-size: 34px; color: var(--white);
  background: var(--blue-500);
  border: 6px solid var(--white);
}
.srow--rev .srow__badge { right: auto; left: -16px; }
.srow__body h3 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 14px; }
.srow__body > p { color: var(--muted); margin-bottom: 22px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-bottom: 30px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.checks i {
  flex: none;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 14px; color: var(--white); background: var(--blue-500);
}

/* ---------- Products page: machines ---------- */
.mgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 50px; }
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); }
.spec-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14.5px; }
.spec-table th {
  text-align: left; padding: 16px 22px;
  background: var(--navy-900); color: var(--white);
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.spec-table td { padding: 16px 22px; border-top: 1px solid var(--line); color: var(--text); }
.spec-table td:first-child { font-weight: 700; color: var(--ink); }
.spec-table tbody tr { transition: background .25s; }
.spec-table tbody tr:hover { background: var(--blue-50); }
.table-title { font-size: 22px; margin-bottom: 18px; }
.clients__logos--row { grid-template-columns: repeat(5, 1fr); }
.clients__logos--row .client { border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.clients__logos--row .client:hover { box-shadow: var(--shadow); }
.tag {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 700; color: var(--blue-500); background: var(--blue-50);
}

/* ---------- Gallery page ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.filter {
  padding: 10px 22px; border-radius: 40px;
  font-size: 14px; font-weight: 600;
  color: rgba(255, 255, 255, .8);
  border: 1.5px solid rgba(255, 255, 255, .2);
  transition: background .3s, border-color .3s, color .3s;
}
.filter:hover { border-color: var(--blue-400); color: var(--white); }
.filter.active { background: var(--blue-500); border-color: var(--blue-500); color: var(--white); }
.ggrid { columns: 3; column-gap: 18px; }
.ggrid .gitem { width: 100%; margin-bottom: 18px; break-inside: avoid; }
.ggrid .gitem img { height: auto; }
.ggrid .gitem.is-hidden { display: none; }

/* ---------- Contact page ---------- */
.contact-page__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 30px; align-items: start; }
.cform {
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.cform h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 8px; }
.cform > p { color: var(--muted); margin-bottom: 28px; }
.cform__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.field label em { color: #e04848; font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--bg-soft);
  font: inherit; font-size: 15px; color: var(--ink);
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); background: var(--white);
  box-shadow: 0 0 0 4px rgba(30, 136, 229, .12);
}
.cform__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; }
.cform__note { font-size: 13px; color: var(--muted); }
.form-note {
  display: none;
  margin-top: 18px; padding: 14px 16px;
  border-radius: 10px;
  background: #eaf8f0; color: #1b7a47;
  font-size: 14px; font-weight: 600;
}
.form-note.show { display: flex; gap: 10px; align-items: center; }
.cinfo { display: grid; gap: 16px; }
.cinfo .ccard { flex-direction: row; align-items: flex-start; }
.cinfo .ccard__icon { flex: none; }
.cinfo__hours {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--navy-900);
  color: rgba(255, 255, 255, .7);
}
.cinfo__hours h3 { color: var(--white); font-size: 17px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.cinfo__hours h3 i { color: var(--blue-300); }
.cinfo__hours li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.cinfo__hours li b { color: var(--white); font-weight: 600; }
.map-full { margin-top: 30px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-full iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- CTA band (inner pages) ---------- */
.cta-band { padding: 0 0 clamp(70px, 9vw, 110px); background: var(--white); }
.cta-band .cta__card { margin-bottom: 0; }
/* after a dark section there's no white padding above, so the banner needs its own */
.dark + .cta-band { padding-top: clamp(70px, 9vw, 110px); }

@media (max-width: 1024px) {
  .profile__grid { grid-template-columns: 1fr; }
  .leaders { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; margin-bottom: 50px; }
  .members { grid-template-columns: repeat(3, 1fr); }
  .mvv { grid-template-columns: 1fr 1fr; }
  .mvv .vcard:last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .srow { grid-template-columns: 1fr; }
  .srow--rev .srow__media { order: 0; }
  .srow__media { max-width: 620px; }
  .mgrid { grid-template-columns: 1fr 1fr; }
  .clients__logos--row { grid-template-columns: repeat(3, 1fr); }
  .ggrid { columns: 2; }
  .contact-page__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .page-hero { padding: calc(var(--header-h) + 50px) 0 64px; }
  .page-hero::after { background: linear-gradient(90deg, rgba(5, 15, 34, .92), rgba(5, 15, 34, .7)); }
  .chip { padding: 8px 14px; font-size: 13px; }
  .profile__tiles { grid-template-columns: 1fr; }
  .leader { grid-template-columns: 1fr; }
  .leader__photo { min-height: 0; aspect-ratio: 4 / 3.4; }
  .leader__body { padding: 22px 22px 24px; }
  .members { grid-template-columns: 1fr; gap: 10px; }
  .member { padding: 12px 14px; }
  .member__avatar { width: 42px; height: 42px; font-size: 14px; }
  .mvv { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .srow__badge { width: 60px; height: 60px; font-size: 26px; right: 12px; bottom: -14px; border-width: 4px; border-radius: 16px; }
  .srow--rev .srow__badge { left: auto; right: 12px; }
  .mgrid { grid-template-columns: 1fr; }
  .clients__logos--row { grid-template-columns: repeat(2, 1fr); }
  .ggrid { column-gap: 10px; }
  .ggrid .gitem { margin-bottom: 10px; border-radius: var(--radius); }
  .ggrid .gitem__cap { display: none; }   /* captions show in the lightbox instead */
  .filter { padding: 8px 16px; font-size: 13px; }
  .cform__fields { grid-template-columns: 1fr; }
  .cform__foot .btn { width: 100%; }
  .map-full iframe { height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   WordPress additions
   ========================================================= */

/* keep the fixed header below the admin bar when logged in */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }

/* uploaded client logos */
.client__logo { max-width: 72%; max-height: 62%; width: auto; height: auto; object-fit: contain; }

/* contact form: status message + hidden spam trap */
.form-alert {
  display: flex; align-items: center; gap: 10px;
  margin: -8px 0 24px; padding: 14px 16px;
  border-radius: 10px;
  font-size: 14.5px; font-weight: 600;
}
.form-alert i { font-size: 20px; }
.form-alert--ok { background: #eaf8f0; color: #1b7a47; }
.form-alert--error { background: #fdeeee; color: #b42828; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* generic pages (page.php) */
.entry-content { max-width: 820px; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; list-style: revert; }
.entry-content a { color: var(--blue-500); text-decoration: underline; }
.entry-content img { border-radius: var(--radius); height: auto; }
