:root {
  /* Light industrial theme — clean white + blue accent */
  --bg: #f7f9fc;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #f1f5fb;
  --ink: #0a1628;
  --ink-2: #54677d;
  --navy: #0b3a75;
  --navy-2: #062a56;
  --navy-3: #031b38;
  --blue: #1565ff;
  --blue-2: #3b82ff;
  --blue-3: #0b4de0;
  --blue-soft: rgba(21, 101, 255, 0.1);
  --blue-glow: rgba(21, 101, 255, 0.24);
  --gold: #c9a227;
  --gold-2: #d4af37;
  --gold-soft: rgba(201, 162, 39, 0.12);
  --line: #d7e2f0;
  --line-2: #c8d5e8;
  --white: #ffffff;
  --ok: #17803d;
  --err: #c0352b;
  --shadow: 0 18px 44px rgba(3, 27, 56, 0.1);
  --shadow-sm: 0 8px 22px rgba(3, 27, 56, 0.07);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --font-d: "Syne", system-ui, sans-serif;
  --font-b: "Manrope", system-ui, sans-serif;
  --w: min(1140px, calc(100% - 2rem));
  --header: 4.1rem;
  --tabbar-h: 4.35rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --mineral: var(--surface-2);
  --mineral-2: #e8eef8;
  --sky: #eaf1ff;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-b);
  color: var(--ink);
  background:
    radial-gradient(1000px 480px at 8% -8%, rgba(21, 101, 255, 0.06), transparent 50%),
    radial-gradient(800px 400px at 100% 0%, rgba(201, 162, 39, 0.05), transparent 45%),
    var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.22s var(--ease); }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-d);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
  font-weight: 700;
  color: var(--ink);
}
h1 { font-size: clamp(2.05rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 3.8vw, 2.45rem); }
h3 { font-size: clamp(1.08rem, 2.3vw, 1.32rem); }
p { margin: 0 0 1rem; color: var(--ink-2); }

.container { width: var(--w); margin-inline: auto; }

/* Loading bar */
.page-loader {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.page-loader.is-active { opacity: 1; }
.page-loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-3), var(--blue-2), #9ec0ff);
  box-shadow: 0 0 12px var(--blue-glow);
  border-radius: 0 2px 2px 0;
  transition: width 0.35s var(--ease);
}
.page-loader.is-done .page-loader-bar { width: 100% !important; transition: width 0.22s ease; }
.page-loader.is-hide { opacity: 0; transition: opacity 0.35s ease 0.12s; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 1.15rem;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.section { padding: clamp(2.75rem, 6vw, 5rem) 0; }
.section-muted {
  background: linear-gradient(180deg, #eef3fa, #f7f9fc);
  border-block: 1px solid var(--line);
}
.section-dark {
  background:
    radial-gradient(900px 420px at 90% 0%, rgba(21, 101, 255, 0.2), transparent 55%),
    linear-gradient(150deg, var(--navy-3), var(--navy-2) 50%, var(--navy));
  color: #fff;
}
.section-dark h2,
.section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255, 255, 255, 0.72); }
.section-dark .eyebrow { color: var(--blue-2); }
.section-dark .eyebrow::before { background: var(--blue-2); }

.section-head { max-width: 40rem; margin-bottom: clamp(1.5rem, 4vw, 2.4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.gallery-preview-head {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}
.apps-grid-fix { grid-template-columns: repeat(3, 1fr); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-b);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), filter 0.25s var(--ease);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  color: #fff;
  box-shadow: 0 10px 24px var(--blue-glow);
}
.btn-primary:hover { filter: brightness(1.05); }

.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover { background: var(--navy-2); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
}

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--sky);
}

.icon {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  flex-shrink: 0;
}
.icon svg {
  width: 1.28rem;
  height: 1.28rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-lg { width: 3.15rem; height: 3.15rem; }
.icon-lg svg { width: 1.5rem; height: 1.5rem; }

/* Topbar + Header */
.topbar {
  background: var(--navy-3);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 500;
}
.topbar-inner {
  width: var(--w);
  margin-inline: auto;
  min-height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.4rem 0;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar a { color: rgba(255, 255, 255, 0.9); }
.topbar a:hover { color: var(--blue-2); }
.topbar-item { display: inline-flex; align-items: center; gap: 0.35rem; }
.topbar-item svg { width: 0.88rem; height: 0.88rem; opacity: 0.85; flex-shrink: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: var(--w);
  margin-inline: auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  min-width: 0;
  z-index: 120;
  position: relative;
}
.logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue-2), var(--blue-3));
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px var(--blue-glow);
  flex-shrink: 0;
}
.logo-mark svg { width: 1.1rem; height: 1.1rem; color: #fff; }
.logo-text { display: flex; flex-direction: column; line-height: 1.12; min-width: 0; }
.logo-text strong {
  font-family: var(--font-d);
  font-size: 0.96rem;
  font-weight: 800;
  white-space: nowrap;
}
.logo-text span {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.site-nav { display: flex; align-items: center; gap: 0.1rem; }
.site-nav > a,
.nav-drop > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.7rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: var(--radius-pill);
  list-style: none;
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease);
}
.site-nav > a:hover,
.nav-drop > summary:hover,
.site-nav > a.is-active,
.nav-drop.is-active > summary {
  color: var(--blue);
  background: var(--blue-soft);
}
.nav-drop { position: relative; }
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-drop > summary::after {
  content: "";
  width: 0.36rem;
  height: 0.36rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.7;
}
.nav-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 14.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.4rem;
  border-radius: var(--radius);
  display: none;
  z-index: 20;
}
.nav-drop[open] > .nav-menu { display: grid; }
.nav-menu a {
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-2);
}
.nav-menu a:hover { background: var(--blue-soft); color: var(--blue); }

.nav-cta {
  margin-left: 0.35rem !important;
  background: linear-gradient(180deg, var(--blue-2), var(--blue)) !important;
  color: #fff !important;
  padding: 0.6rem 1rem !important;
  box-shadow: 0 8px 18px var(--blue-glow);
}
.nav-cta:hover {
  filter: brightness(1.05);
  background: linear-gradient(180deg, var(--blue-2), var(--blue)) !important;
  color: #fff !important;
}

.nav-toggle {
  display: none;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  cursor: pointer;
  z-index: 120;
  position: relative;
  place-items: center;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 1.05rem;
  height: 2px;
  margin: 0.26rem auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.28s var(--ease), opacity 0.28s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Page hero */
.page-hero {
  position: relative;
  min-height: clamp(13.5rem, 36vw, 17.5rem);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.42) saturate(0.95);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 27, 56, 0.2), rgba(3, 27, 56, 0.82));
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  width: var(--w);
  margin: 0 auto;
  padding: clamp(2.75rem, 7vw, 4rem) 0 clamp(1.75rem, 4vw, 2.5rem);
}
.page-hero h1 { max-width: 18ch; color: #fff; }
.page-hero p { color: rgba(255, 255, 255, 0.8); max-width: 36rem; margin: 0; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}
.breadcrumb a { color: var(--blue-2); }

/* Home hero */
.home-hero {
  position: relative;
  min-height: min(88vh, 44rem);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.home-hero-media { position: absolute; inset: 0; }
.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: drift 22s var(--ease) infinite alternate;
}
@keyframes drift {
  from { transform: scale(1.04); }
  to { transform: scale(1.1) translate(-1%, -1%); }
}
.home-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(3, 27, 56, 0.9) 0%, rgba(6, 42, 86, 0.68) 48%, rgba(6, 42, 86, 0.4) 100%),
    linear-gradient(180deg, rgba(3, 27, 56, 0.25), rgba(3, 27, 56, 0.78));
}
.home-hero-content {
  position: relative;
  z-index: 1;
  width: var(--w);
  margin: 0 auto;
  padding: clamp(3.25rem, 8vw, 5rem) 0 clamp(2.75rem, 6vw, 4rem);
  max-width: 42rem;
}
.brand-kicker {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  color: #9ec0ff;
  margin-bottom: 0.7rem;
}
.home-hero h1 { margin-bottom: 0.85rem; color: #fff; }
.home-hero .lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  margin-bottom: 1.15rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.15rem;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.hero-chip svg { width: 0.9rem; height: 0.9rem; color: #9ec0ff; }

/* Trust + highlights */
.trust-strip {
  background: var(--navy-3);
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.trust-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.15rem 1rem;
  color: rgba(255, 255, 255, 0.88);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.trust-item:last-child { border-right: 0; }
.trust-item .icon {
  background: rgba(21, 101, 255, 0.18);
  color: var(--blue-2);
}
.trust-item strong {
  display: block;
  font-family: var(--font-d);
  font-size: 0.92rem;
  color: #fff;
  margin-bottom: 0.08rem;
}
.trust-item span { font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); line-height: 1.35; }

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 5;
}
.highlight-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(3, 27, 56, 0.14);
  border-color: transparent;
}
.highlight-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a0c10;
}
.highlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.highlight-card:hover .highlight-media img { transform: scale(1.05); }
.highlight-card-body { padding: 1.15rem 1.15rem 1.3rem; }
.highlight-card h3 { margin-bottom: 0.35rem; }
.highlight-card p { margin: 0; font-size: 0.9rem; }

/* Cards / grids */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.product-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}
.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease);
}
.product-card:hover .product-card-media img { transform: scale(1.05); }
.product-card-body {
  padding: 1.1rem 1.05rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-body p { flex: 1; font-size: 0.9rem; margin-bottom: 0.45rem; }
.product-card-body .link {
  margin-top: 0.4rem;
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.product-card-body .link svg { width: 0.95rem; height: 0.95rem; }

.product-card-cta {
  background: linear-gradient(160deg, var(--navy-2), var(--navy));
  border-color: transparent;
  color: #fff;
  justify-content: center;
}
.product-card-cta .product-card-body {
  justify-content: center;
  padding: 1.7rem 1.3rem;
  min-height: 14rem;
}
.product-card-cta .icon {
  background: rgba(61, 130, 255, 0.2);
  color: var(--blue-2);
  margin-bottom: 0.9rem;
}
.product-card-cta h3 { color: #fff; }
.product-card-cta p { color: rgba(255, 255, 255, 0.72); margin-bottom: 1rem; }
.product-card-cta .btn { align-self: flex-start; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}
.feature {
  padding: 1.2rem 1.05rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  transition: box-shadow 0.28s var(--ease), transform 0.28s var(--ease), border-color 0.28s var(--ease);
}
.feature:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
  border-color: rgba(21, 101, 255, 0.25);
}
.feature .icon { margin-bottom: 0.85rem; }
.feature h3 { margin-bottom: 0.35rem; }
.feature p { margin: 0; font-size: 0.88rem; }

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.industry-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1.05rem 0.95rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  transition: background 0.28s var(--ease), border-color 0.28s var(--ease);
}
.industry-item:hover {
  background: rgba(21, 101, 255, 0.12);
  border-color: rgba(61, 130, 255, 0.35);
}
.industry-item .icon {
  background: rgba(21, 101, 255, 0.18);
  color: var(--blue-2);
}
.industry-item h3 { color: #fff; font-size: 0.98rem; margin-bottom: 0.15rem; }
.industry-item p { margin: 0; font-size: 0.86rem; color: rgba(255, 255, 255, 0.7); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.2rem, 4vw, 2.75rem);
  align-items: center;
}
.split-media {
  overflow: hidden;
  min-height: 17rem;
  background: var(--surface-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.split-media img {
  width: 100%;
  height: 100%;
  min-height: 17rem;
  object-fit: cover;
}
.split-copy .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.cta-band {
  background:
    linear-gradient(120deg, rgba(3, 27, 56, 0.92), rgba(11, 58, 117, 0.82)),
    url("images/facility-entrance.png") center / cover;
  color: #fff;
  padding: clamp(2.4rem, 5vw, 3.75rem) 0;
}
.cta-band-inner {
  width: var(--w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; max-width: 18ch; margin-bottom: 0.45rem; }
.cta-band p { color: rgba(255, 255, 255, 0.78); max-width: 34rem; margin: 0; }

/* About */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  margin-top: 1.6rem;
}
.stat {
  padding: 1rem 0.85rem;
  background: var(--surface-2);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.stat strong {
  display: block;
  font-family: var(--font-d);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: var(--navy);
}
.stat span { font-size: 0.8rem; color: var(--ink-2); }

.principle-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
.principle {
  display: flex;
  gap: 0.85rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
}
.principle-num {
  font-family: var(--font-d);
  font-weight: 800;
  color: var(--blue);
  font-size: 1.02rem;
  flex-shrink: 0;
}

/* Products detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.15rem, 3vw, 1.85rem);
  align-items: start;
  padding: clamp(1.35rem, 3vw, 1.85rem) 0;
  border-bottom: 1px solid var(--line);
}
.product-detail:last-child { border-bottom: 0; }
.product-detail-media {
  overflow: hidden;
  background: var(--surface-2);
  min-height: 13.5rem;
  border-radius: var(--radius);
}
.product-detail-media img {
  width: 100%;
  height: 100%;
  min-height: 13.5rem;
  object-fit: cover;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.85rem; }
.tag {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.32rem 0.7rem;
  background: var(--blue-soft);
  color: var(--blue-3);
  border-radius: var(--radius-pill);
}

/* Gallery */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.filter-btn {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-2);
  font: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: 0.22s var(--ease);
}
.filter-btn:hover,
.filter-btn.is-active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 6px 16px var(--blue-glow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-2);
  cursor: zoom-in;
  border: 0;
  padding: 0;
  border-radius: var(--radius);
  width: 100%;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-cap {
  position: absolute;
  inset: auto 0 0;
  padding: 1.4rem 0.85rem 0.75rem;
  background: linear-gradient(transparent, rgba(3, 27, 56, 0.88));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
}
.gallery-item.is-hidden { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(3, 27, 56, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  padding-bottom: calc(1rem + var(--safe-b));
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 76vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
}
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 0.75rem; }
.lightbox-next { right: 0.75rem; }
.lightbox-cap {
  position: absolute;
  bottom: calc(0.85rem + var(--safe-b));
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.86rem;
  text-align: center;
  width: min(90%, 28rem);
  margin: 0;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.15rem, 3vw, 1.85rem);
  align-items: start;
}
.contact-card {
  background: var(--surface-2);
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 1.15rem;
}
.contact-list { display: grid; gap: 0.95rem; margin-top: 1.05rem; }
.contact-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.contact-list strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.12rem;
}
.contact-list a { font-weight: 600; color: var(--navy); word-break: break-word; }

.quote-form {
  border: 1px solid var(--line);
  padding: clamp(1.1rem, 3vw, 1.55rem);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.quote-form label {
  display: grid;
  gap: 0.32rem;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  padding: 0.78rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease);
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px var(--blue-soft);
}
.form-status { min-height: 1.25em; font-weight: 700; margin: 0.65rem 0 0; font-size: 0.88rem; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }

/* Footer */
.site-footer {
  background: linear-gradient(180deg, var(--navy-2), var(--navy-3));
  color: rgba(255, 255, 255, 0.7);
  padding-top: clamp(2.1rem, 5vw, 3.1rem);
}
.footer-grid {
  width: var(--w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.45fr 0.9fr 0.9fr 1.1fr;
  gap: clamp(1.35rem, 3vw, 2.1rem);
  padding-bottom: clamp(1.6rem, 4vw, 2.35rem);
}
.footer-brand p { color: rgba(255, 255, 255, 0.65); max-width: 28rem; font-size: 0.9rem; }
.site-footer .logo { color: #fff; margin-bottom: 0.85rem; }
.site-footer .logo-text span { color: rgba(255, 255, 255, 0.55); }
.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1.4rem;
  height: 2px;
  background: var(--blue-2);
  border-radius: 2px;
}
.footer-col a {
  display: block;
  padding: 0.3rem 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}
.footer-col a:hover { color: var(--blue-2); }

.footer-contact li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0.7rem;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.7);
}
.footer-contact .icon {
  width: 2rem;
  height: 2rem;
  background: rgba(21, 101, 255, 0.18);
  color: var(--blue-2);
}
.footer-contact .icon svg { width: 0.95rem; height: 0.95rem; }
.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
  padding: 0;
  display: inline;
  word-break: break-word;
}
.footer-contact a:hover { color: var(--blue-2); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: var(--w);
  margin: 0 auto;
  padding: 1rem 0 calc(1rem + var(--safe-b));
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, 0.55); }

/* App tabs / sectors / quick enquire */
.sector-strip { display: flex; flex-wrap: wrap; gap: 0.55rem; justify-content: center; }
.sector-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy);
  transition: 0.22s var(--ease);
}
.sector-pill:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue);
}
.sector-pill svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-tabs { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.35rem; }
.app-tab {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-2);
  font: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: 0.22s var(--ease);
}
.app-tab:hover,
.app-tab.is-active {
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 18px var(--blue-glow);
}
.app-panel { display: none; }
.app-panel.is-active {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.app-chip {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: #fff;
}
.app-chip .icon {
  background: rgba(21, 101, 255, 0.2);
  color: var(--blue-2);
}
.app-chip strong {
  display: block;
  font-family: var(--font-d);
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}
.app-chip span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.65); }

.light-app-panel .app-chip {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.light-app-panel .app-chip span { color: var(--ink-2); }
.light-app-panel .app-chip .icon {
  background: var(--sky);
  color: var(--blue);
}

.quick-enquire {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1.5rem;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-2), var(--navy));
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.35rem, 3vw, 2rem);
  color: #fff;
  box-shadow: var(--shadow);
}
.quick-enquire h2 { color: #fff; }
.quick-enquire p { color: rgba(255, 255, 255, 0.75); }
.quick-enquire .eyebrow { color: var(--blue-2); }
.quick-enquire .eyebrow::before { background: var(--blue-2); }
.quick-form { display: grid; gap: 0.7rem; }
.quick-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.quick-form input,
.quick-form select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font: inherit;
  font-weight: 500;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-sm);
}
.quick-form input::placeholder { color: rgba(255, 255, 255, 0.55); }
.quick-form select option { color: var(--ink); }
.quick-form input:focus,
.quick-form select:focus {
  outline: none;
  border-color: var(--blue-2);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 3px rgba(59, 130, 255, 0.25);
}

/* App tabbar */
.app-tabbar {
  display: none;
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(0.65rem + var(--safe-b));
  z-index: 140;
  height: var(--tabbar-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(215, 226, 240, 0.95);
  border-radius: 22px;
  box-shadow: 0 14px 40px rgba(8, 34, 67, 0.16);
  padding: 0.35rem;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.15rem;
}
.app-tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  border-radius: 16px;
  color: var(--ink-2);
  font-size: 0.68rem;
  font-weight: 700;
  min-height: 100%;
  transition: 0.22s var(--ease);
}
.app-tabbar a svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.app-tabbar a.is-active {
  color: var(--blue);
  background: var(--blue-soft);
}
.app-tabbar a.tab-cta {
  color: #fff;
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  box-shadow: 0 8px 18px var(--blue-glow);
}
.app-tabbar a.tab-cta.is-active {
  color: #fff;
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.06s; }
.d2 { transition-delay: 0.12s; }
.d3 { transition-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-hero-media img { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .product-card:hover, .feature:hover, .highlight-card:hover { transform: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .site-nav > a, .nav-drop > summary { padding: 0.45rem 0.55rem; font-size: 0.84rem; }
}

@media (max-width: 980px) {
  .product-grid, .feature-grid, .industry-grid, .gallery-grid, .apps-grid-fix {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .product-detail, .contact-grid, .quick-enquire { grid-template-columns: 1fr; }
  .highlight-grid { grid-template-columns: 1fr; margin-top: 1.25rem; }
  .app-panel.is-active { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .trust-item:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.08); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  body {
    padding-bottom: calc(var(--tabbar-h) + 1.4rem + var(--safe-b));
    background: #f7f9fc;
  }
  .app-tabbar { display: grid; }
  .nav-toggle { display: inline-grid; }
  .site-nav {
    position: fixed;
    inset: auto 0.75rem calc(var(--tabbar-h) + 1.1rem + var(--safe-b)) 0.75rem;
    z-index: 130;
    display: flex;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(18px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0.2rem;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(18px) scale(0.98);
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s var(--ease);
    padding: 0.75rem;
    border-radius: 22px;
    border: 1px solid var(--line);
    box-shadow: 0 18px 50px rgba(8, 34, 67, 0.18);
    max-height: min(70vh, 28rem);
    overflow-y: auto;
  }
  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: none;
  }
  .site-nav > a, .nav-drop > summary {
    font-size: 1rem;
    width: 100%;
    justify-content: flex-start;
    padding: 0.85rem 0.95rem;
    min-height: 3rem;
    border-radius: 14px;
  }
  .nav-drop { width: 100%; }
  .nav-menu {
    position: static;
    box-shadow: none;
    border: 0;
    background: var(--surface-2);
    margin-top: 0.2rem;
  }
  .nav-cta { margin: 0.45rem 0 0 !important; width: 100%; justify-content: center; }
  .topbar { display: none; }
  .form-row, .principle-list, .quick-form .row { grid-template-columns: 1fr; }
  .home-hero {
    min-height: calc(100svh - 3.65rem);
    border-radius: 0 0 28px 28px;
  }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 2.35rem 0; }
  .container, .header-inner, .home-hero-content, .page-hero-content, .cta-band-inner, .footer-grid, .footer-bottom {
    width: min(1160px, calc(100% - 1.25rem));
  }
  .cta-band-inner, .gallery-preview-head { flex-direction: column; align-items: flex-start; }
  .trust-strip { margin: 0.85rem 0.65rem 0; }
  .page-hero { border-radius: 0 0 24px 24px; }
  .site-footer { border-radius: 28px 28px 0 0; }
}

@media (max-width: 640px) {
  :root { --w: min(1160px, calc(100% - 1.2rem)); }
  .product-grid, .feature-grid, .industry-grid, .gallery-grid, .trust-grid, .stats, .footer-grid, .apps-grid-fix, .app-panel.is-active {
    grid-template-columns: 1fr;
  }
  .trust-item:nth-child(odd) { border-right: 0; }
  .hero-actions { grid-template-columns: 1fr; }
  .split-media, .split-media img, .product-detail-media, .product-detail-media img { min-height: 12rem; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .lightbox-prev { left: 0.4rem; bottom: 4.5rem; top: auto; }
  .lightbox-next { right: 0.4rem; bottom: 4.5rem; top: auto; }
}

@media (min-width: 861px) {
  .app-tabbar { display: none !important; }
}
