:root {
  --navy: #0b1f5c;
  --navy-deep: #07143d;
  --navy-mid: #16308a;
  --blue: #1d4ed8;
  --steel: #5b6b86;
  --ink: #122033;
  --paper: #f4f6fa;
  --line: #d8dee9;
  --white: #ffffff;
  --accent: #c9a227;
  --accent-light: #e4c766;
  --dark: #0e1730;
  --dark-2: #101c3d;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 40px rgba(7, 20, 61, 0.08);
  --shadow-lg: 0 30px 60px rgba(7, 20, 61, 0.18);
  --container: 1180px;
  --header-h: 96px;
  --header-h-scrolled: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "IBM Plex Sans", "Segoe UI", sans-serif;
  --serif: "IBM Plex Serif", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 12px;
}

/* ============ Section anchors offset for sticky header ============ */
#capabilities,
#categories,
#featured-products,
.category-card {
  scroll-margin-top: var(--header-h-scrolled);
}

/* ============ Top bar ============ */
.topbar {
  background: var(--navy-deep);
  color: #d7def0;
  font-size: 13px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 38px;
}

.topbar a {
  transition: color 0.2s var(--ease);
}

.topbar a:hover {
  color: var(--accent-light);
}

.topbar-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar-links i {
  color: var(--accent);
  margin-right: 4px;
}

.topbar-whatsapp i {
  color: #25d366;
  margin-right: 4px;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(7, 20, 61, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 24px;
  transition: min-height 0.3s var(--ease);
}

.site-header.is-scrolled .header-inner {
  min-height: var(--header-h-scrolled);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 118px;
  height: auto;
  transition: transform 0.3s var(--ease);
}

.brand:hover img {
  transform: scale(1.04);
}

.brand-copy {
  display: none;
}

.brand-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

.brand-tag {
  font-size: 12px;
  color: var(--steel);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  cursor: pointer;
  z-index: 80;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  margin: 0 auto;
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-scrim {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 0.25s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--navy-mid);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.nav-caret {
  font-size: 10px;
  transition: transform 0.25s var(--ease);
}

.nav-item.has-dropdown:hover .nav-caret,
.nav-item.has-dropdown.is-open .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 70;
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown li a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.nav-dropdown li a:hover {
  background: var(--paper);
  color: var(--navy-mid);
  padding-left: 18px;
}

.nav-dropdown-all {
  border-top: 1px solid var(--line);
  margin-top: 6px;
  padding-top: 6px;
}

.nav-dropdown-all a {
  color: var(--navy-mid) !important;
  font-weight: 600;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}

.nav-cta {
  min-height: 42px;
  padding: 0 20px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn i {
  transition: transform 0.25s var(--ease);
}

.btn:hover i.fa-arrow-right {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--accent);
  color: var(--navy-deep);
  box-shadow: 0 10px 26px rgba(201, 162, 39, 0.35);
}

.btn-primary:hover {
  background: var(--accent-light);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy-deep);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.btn-light:hover {
  background: var(--accent);
  color: var(--navy-deep);
}

/* ============ Section heading (small kicker + slash + big heading) ============ */
.section-heading {
  max-width: 700px;
  margin-bottom: 44px;
}

.section-heading.is-center {
  margin-inline: auto;
  text-align: center;
}

.section-heading.is-center .eyebrow-row {
  justify-content: center;
}

.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.eyebrow-row .slash {
  width: 12px;
  height: 24px;
  background: var(--accent);
  transform: skewX(-14deg);
  flex-shrink: 0;
}

.eyebrow-row .eyebrow-text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.section-heading h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.18;
  color: var(--navy);
  text-transform: none;
}

.section-heading .lead {
  color: var(--steel);
  font-size: 17px;
  margin: 0;
}

.section-heading.on-dark .eyebrow-text {
  color: #b9c3de;
}

.section-heading.on-dark h2,
.section-heading.on-dark .lead {
  color: var(--white);
}

.section-heading.on-dark .lead {
  color: #c3cce4;
}

/* ============ Hero slider ============ */
.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  background: var(--navy-deep);
}

.hero-slides {
  position: relative;
  min-height: 640px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
  color: var(--white);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

.hero-slide[data-variant="navy"] {
  background: radial-gradient(circle at 80% 20%, rgba(29, 78, 216, 0.32), transparent 32%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 58%, #1a3a8f 100%);
}

.hero-slide[data-variant="steel"] {
  background: linear-gradient(120deg, #0c1c46 0%, #1c3a72 55%, #274a86 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35));
  background-blend-mode: overlay;
}

.hero-slide[data-variant="deep"] {
  background: radial-gradient(circle at 15% 80%, rgba(201, 162, 39, 0.14), transparent 40%),
    linear-gradient(150deg, #060f2e 0%, #0b1f5c 65%, #142c78 100%);
}

/* Right-column product visual. Deliberately never upscales past the
   source photo's natural resolution (width/height:auto + max caps) --
   a small source photo simply sits smaller inside the card instead of
   being stretched into a blurry, pixelated banner. */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.hero-visual-glow {
  position: absolute;
  inset: 6% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.24) 0%, rgba(29, 78, 216, 0.18) 45%, transparent 72%);
  filter: blur(6px);
  z-index: 0;
}

.hero-visual-ring {
  position: absolute;
  inset: 12% 17%;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  z-index: 0;
  animation: heroRingSpin 40s linear infinite;
}

@keyframes heroRingSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-visual-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 380px;
  min-height: 300px;
  padding: 32px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 70px rgba(3, 10, 35, 0.5);
}

.hero-visual-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 320px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));
}

.hero-visual-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 240px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 48px;
}

.hero-slide-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding: 84px 0 96px;
}

.hero-copy {
  max-width: 640px;
}

.hero-eyebrow.anim-item {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d7e3ff;
}

.hero-slide h1 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.12;
  font-weight: 600;
}

.hero-slide p {
  margin: 0 0 30px;
  max-width: 560px;
  color: #d5def3;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Entrance animation: children fade + rise in with stagger, replayed
   every time .is-active is (re)applied to the slide by hero-slider.js */
.anim-item {
  opacity: 0;
  transform: translateY(24px);
}

.hero-slide.is-active .anim-item {
  animation: heroFadeUp 0.8s var(--ease) forwards;
}

.hero-slide.is-active .anim-item[data-anim="1"] { animation-delay: 0.15s; }
.hero-slide.is-active .anim-item[data-anim="2"] { animation-delay: 0.3s; }
.hero-slide.is-active .anim-item[data-anim="3"] { animation-delay: 0.46s; }
.hero-slide.is-active .anim-item[data-anim="4"] { animation-delay: 0.62s; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(7, 20, 61, 0.35);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.hero-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy-deep);
}

.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

.hero-dots {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  padding: 0;
  transition: background 0.25s var(--ease), width 0.25s var(--ease), border-radius 0.25s var(--ease);
}

.hero-dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
  width: 26px;
  border-radius: 6px;
}

/* ============ Brand badge (Metrix+ authorised-dealer pill) ============ */
.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 999px;
  padding: 10px 18px 10px 12px;
  box-shadow: var(--shadow-lg);
}

.brand-badge img {
  height: 22px;
  width: auto;
  display: block;
}

.brand-badge span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
  white-space: nowrap;
}

.hero-badge {
  position: absolute;
  right: max(24px, calc((100% - 1180px) / 2 + 24px));
  bottom: 78px;
  z-index: 6;
}

.footer-metrix-badge {
  margin: 4px 0 18px;
}

/* ============ Feature boxes (post-hero, 3 columns) ============ */
.feature-boxes {
  background: var(--dark);
  position: relative;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.feature-box {
  padding: 44px 34px;
  text-align: center;
  color: #cfd6e8;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-box:last-child {
  border-right: none;
  background: linear-gradient(160deg, rgba(201, 162, 39, 0.14), transparent 70%);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent);
  font-size: 22px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.feature-box:hover .feature-icon {
  transform: translateY(-4px) scale(1.06);
  background: rgba(201, 162, 39, 0.18);
}

.feature-box h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 21px;
}

.feature-box p {
  margin: 0 0 16px;
  color: #a9b3cc;
  font-size: 15px;
}

.feature-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-light);
  font-weight: 600;
}

.feature-meta i {
  color: var(--accent);
}

/* ============ Reveal-on-scroll ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Generic sections ============ */
.section {
  padding: 88px 0;
  position: relative;
}

.bg-paper {
  background: var(--paper);
}

.section-dark {
  background: linear-gradient(160deg, var(--navy-deep), var(--dark-2));
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.kicker {
  color: var(--navy-mid);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h2 {
  margin: 8px 0 12px;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  color: var(--navy);
}

.lead {
  color: var(--steel);
  font-size: 17px;
}

/* ============ Category showcase — slow auto-scrolling carousel ============ */
.category-carousel {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.category-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: category-scroll 50s linear infinite;
}

.category-carousel:hover .category-track {
  animation-play-state: paused;
}

@keyframes category-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .category-track {
    animation: none;
  }
}

.category-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 300px;
  width: 300px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.category-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #eef2f8;
}

.category-media img {
  position: absolute;
  inset: 26px;
  width: calc(100% - 52px);
  height: calc(100% - 52px);
  object-fit: contain !important;
  transition: transform 0.6s var(--ease);
}

/* Image itself no longer zooms on hover -- .category-card:hover already
   lifts the whole card (translateY), which is enough motion without ever
   scaling the photo past its padded box and getting clipped. */

.category-body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.category-count {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.category-body h3 {
  margin: 0;
  font-size: 21px;
  font-family: var(--serif);
  color: var(--navy);
}

.category-body p {
  margin: 0;
  color: var(--steel);
  flex: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-weight: 600;
  color: var(--navy-mid);
  transition: gap 0.25s var(--ease);
}

.card-link i {
  transition: transform 0.25s var(--ease);
}

.card-link:hover i {
  transform: translateX(4px);
}

/* ============ Capability alternating rows ============ */
.capability-rows {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.capability-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.capability-row.is-reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.capability-row.is-reverse .capability-media {
  order: 2;
}

.capability-media {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow);
  background: #eef2f8;
}

.capability-media img {
  position: absolute;
  inset: 34px;
  width: calc(100% - 68px);
  height: calc(100% - 68px);
  object-fit: contain !important;
  transition: transform 0.6s var(--ease);
}

/* No image zoom on hover here either -- see the same note above the
   .category-media rule; avoids ever clipping the product photo. */

.capability-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e8eefc;
  color: var(--navy);
  font-size: 20px;
  margin-bottom: 16px;
}

.capability-copy h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 26px;
  color: var(--navy);
}

.capability-copy p {
  margin: 0;
  color: var(--steel);
  font-size: 16px;
}

/* ============ Why choose us ============ */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.strength-card {
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.strength-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.strength-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e8eefc;
  color: var(--navy);
  font-size: 19px;
  margin-bottom: 16px;
}

.strength-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  color: var(--navy);
}

.strength-card p {
  margin: 0;
  color: var(--steel);
}

/* ============ Our brands strip ============ */
.brands-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.brand-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 240px;
  padding: 40px 56px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.brand-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.brand-tile img {
  height: 42px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.brand-tile-meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}

@media (max-width: 720px) {
  .brand-tile {
    min-width: 0;
    width: 100%;
    padding: 28px 32px;
  }
}

/* ============ Cards / product cards (shared) ============ */
.cards-4,
.cards-3,
.cards-2 {
  display: grid;
  gap: 20px;
}

.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.capability {
  padding: 24px;
}

.capability-icon-old,
.capability .capability-icon {
  width: 46px;
  height: 46px;
}

.capability h3,
.product-card h3,
.info-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--navy);
}

.capability p,
.product-card p,
.info-card p {
  margin: 0;
  color: var(--steel);
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), opacity 0.3s var(--ease);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card.is-hidden {
  display: none;
}

.product-card {
  cursor: pointer;
}

.product-media {
  position: relative;
}

.media-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(11, 31, 92, 0.82);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  pointer-events: none;
}

.product-card:hover .media-hint {
  opacity: 1;
}

.product-media {
  height: 220px;
  background: #eef2f8;
  overflow: hidden;
}

.product-media img {
  position: absolute;
  inset: 18px;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  object-fit: contain !important;
}

.product-media.is-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--steel);
}

.product-media.is-placeholder i {
  font-size: 34px;
  color: #c3cde0;
}

.product-media.is-placeholder span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* No image zoom on hover -- .product-card:hover already lifts the card
   and .media-hint fades in over the photo; scaling the <img> itself risked
   clipping it against the padded, overflow-hidden media box. */

.product-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-cat {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-mid);
}

.product-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* On dark sections (featured products) restyle the card to sit on navy */
.section-dark .product-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.section-dark .product-card h3,
.section-dark .capability h3 {
  color: var(--white);
}

.section-dark .product-card p {
  color: #b7c0da;
}

.section-dark .product-cat {
  color: var(--accent-light);
}

/* ============ Carousel (featured products) ============ */
.carousel {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s var(--ease);
}

.carousel-slide {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 0;
  display: flex;
}

.carousel-slide .product-card {
  width: 100%;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.carousel-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: var(--white);
  display: grid;
  place-items: center;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.carousel-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy-deep);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  padding: 0;
  transition: background 0.25s var(--ease), width 0.25s var(--ease), border-radius 0.25s var(--ease);
}

.carousel-dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
  width: 22px;
  border-radius: 5px;
}

.view-all-link {
  text-align: center;
  margin-top: 36px;
}

/* ============ Full-width CTA band ============ */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #1a3a8f 100%);
  color: var(--white);
  padding: 96px 0;
  text-align: center;
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(28px, 3.6vw, 42px);
  margin: 0 0 16px;
}

.cta-band p {
  margin: 0 0 32px;
  color: #d5def3;
  font-size: 17px;
}

.cta-band-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============ Split / checklist / info-card (about, home) ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.checklist {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.checklist i {
  color: var(--navy-mid);
  margin-top: 3px;
}

.page-hero {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: var(--white);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  margin: 8px 0 10px;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
}

.page-hero p {
  margin: 0;
  max-width: 680px;
  color: #d5def3;
}

.info-card {
  padding: 24px;
}

/* ============ Product filters (products.html) ============ */
.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.filter-chip {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--steel);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.filter-chip:hover {
  border-color: var(--navy-mid);
  color: var(--navy-mid);
}

.filter-chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.subcategory-filters {
  margin: -18px 0 30px;
}

.subcategory-group {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.subcategory-group.is-active-group {
  display: flex;
}

.subchip {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--steel);
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.subchip:hover {
  border-color: var(--navy-mid);
  color: var(--navy-mid);
}

.subchip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy-deep);
}

/* ============ Product detail modal ============ */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}

.product-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 20, 61, 0.6);
  backdrop-filter: blur(2px);
}

.product-modal-dialog {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 920px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 40px;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.3s var(--ease);
}

.product-modal.is-open .product-modal-dialog {
  transform: translateY(0) scale(1);
}

.product-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 16px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.product-modal-close:hover {
  background: var(--navy);
  color: var(--white);
}

body.modal-open {
  overflow: hidden;
}

.modal-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.modal-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  background: #eef2f8;
  border-radius: var(--radius);
  overflow: hidden;
}

.modal-media > img {
  position: absolute;
  inset: 24px;
  width: calc(100% - 48px);
  height: calc(100% - 48px);
  object-fit: contain !important;
}

.modal-media.is-placeholder {
  flex-direction: column;
  gap: 10px;
  color: var(--steel);
}

.modal-media.is-placeholder i {
  font-size: 40px;
  color: #c3cde0;
}

/* ---- Multi-image product gallery (inside the modal's media slot) ---- */
.modal-media.modal-gallery {
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: none;
  border-radius: 0;
  overflow: visible;
}

.gallery-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #eef2f8;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}

.gallery-main-img {
  position: absolute;
  inset: 24px;
  width: calc(100% - 48px);
  height: calc(100% - 48px);
  object-fit: contain !important;
  cursor: zoom-in;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 13px;
  box-shadow: var(--shadow);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.gallery-arrow:hover {
  background: var(--navy);
  color: var(--white);
}

.gallery-prev {
  left: 10px;
}

.gallery-next {
  right: 10px;
}

.gallery-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(7, 20, 61, 0.68);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 20px;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 4px;
}

.gallery-thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 8px;
  border: 2px solid var(--line);
  background: #eef2f8;
  overflow: hidden;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s var(--ease);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
}

.gallery-thumb.is-active {
  border-color: var(--accent);
}

.gallery-thumb:hover {
  border-color: var(--navy-mid);
}

/* ---- Image lightbox (click a gallery's main image to enlarge) ---- */
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}

.image-lightbox.is-open {
  visibility: visible;
  opacity: 1;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 20, 61, 0.85);
}

.image-lightbox-img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.image-lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: background 0.2s var(--ease);
}

.image-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 720px) {
  .gallery-thumb {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .gallery-arrow {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }
}

.modal-info h2 {
  margin: 8px 0 12px;
  font-family: var(--serif);
  font-size: 26px;
  color: var(--navy);
  line-height: 1.2;
}

.modal-desc {
  color: var(--steel);
  font-size: 15px;
  margin: 0 0 18px;
}

.modal-section {
  margin-top: 18px;
}

.modal-section h4 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-mid);
}

.modal-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.modal-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--dark);
}

.modal-features i {
  color: var(--accent);
  margin-top: 3px;
  font-size: 12px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.modal-catalogue-pending {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--steel);
  font-size: 13px;
  font-style: italic;
}

.modal-specs-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.modal-specs-section h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-mid);
}

.modal-specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.modal-specs tr {
  border-bottom: 1px solid var(--line);
}

.modal-specs tr:last-child {
  border-bottom: none;
}

.modal-specs th {
  text-align: left;
  padding: 9px 16px 9px 0;
  color: var(--steel);
  font-weight: 600;
  width: 42%;
  vertical-align: top;
}

.modal-specs td {
  padding: 9px 0;
  color: var(--dark);
  vertical-align: top;
}

/* ============ Contact page ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.enquiry-form {
  padding: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  font-size: 14px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 13px;
  background: var(--white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(22, 48, 138, 0.12);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  display: none;
  margin-top: 12px;
  color: #0f6b3a;
  font-weight: 600;
}

.form-note.is-visible {
  display: block;
}

.map-wrap {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 280px;
}

.map-wrap iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

/* ============ Footer ============ */
.site-footer {
  background: #101a3a;
  color: #b7c0da;
  padding: 64px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr 1.2fr;
  gap: 32px;
}

.footer-col h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-rule {
  display: block;
  width: 36px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 18px;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a {
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-brand img {
  width: 116px;
  margin-bottom: 16px;
}

.footer-contact {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
}

.footer-contact i {
  color: var(--accent);
  margin-top: 3px;
  width: 16px;
}

/* Phone and email are both short, so they share one row instead of a line
   each — only the address (which wraps) keeps its own line. */
.footer-contact-inline {
  flex-wrap: wrap;
  column-gap: 20px;
  row-gap: 8px;
}

.footer-contact-inline a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-contact-inline i {
  margin-top: 0;
}

.footer-enquire p {
  font-size: 14px;
  margin: 0 0 16px;
}

.footer-enquire .btn {
  width: 100%;
  margin-bottom: 14px;
}

.footer-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #b7c0da;
}

.footer-whatsapp i {
  color: #25d366;
}

.legal {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  text-align: center;
}

/* ============ Back to top ============ */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, background 0.25s var(--ease);
  z-index: 90;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
  color: var(--navy-deep);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1200px) {
  .container {
    width: min(calc(100% - 32px), 960px);
  }

  .feature-grid,
  .strength-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-box:nth-child(2) {
    border-right: none;
  }

  .carousel-slide {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 992px) {
  .split,
  .contact-grid,
  .cards-4,
  .cards-3,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .brand-copy {
    display: block;
  }

  .capability-row,
  .capability-row.is-reverse {
    grid-template-columns: 1fr;
  }

  .capability-row.is-reverse .capability-media {
    order: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
}

@media (max-width: 860px) {
  .topbar-inner {
    padding: 8px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(86vw, 360px);
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 96px 28px 32px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 75;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-link {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    justify-content: space-between;
    width: 100%;
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    display: none;
    padding: 4px 0 4px 14px;
    transition: none;
  }

  .nav-item.has-dropdown.is-open .nav-dropdown {
    display: block;
  }

  .nav-cta {
    width: 100%;
    margin-top: 8px;
  }

  body.nav-open .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(7, 20, 61, 0.45);
    z-index: 70;
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero-slider,
  .hero-slides {
    min-height: 560px;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
  }

  .hero-badge {
    bottom: 58px;
  }
}

@media (max-width: 768px) {
  .hero-inner,
  .split,
  .contact-grid,
  .cards-4,
  .cards-3,
  .cards-2,
  .form-row,
  .footer-grid,
  .feature-grid,
  .strength-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    flex-basis: 240px;
    width: 240px;
  }

  .category-track {
    gap: 18px;
  }

  .feature-box {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .feature-box:last-child {
    border-bottom: none;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero-slider,
  .hero-slides {
    min-height: 520px;
  }

  .hero-slide-inner {
    grid-template-columns: 1fr;
    padding: 64px 0 76px;
  }

  .carousel-slide {
    flex: 0 0 100%;
  }

  .cta-band {
    padding: 64px 0;
  }

  .brand-copy {
    display: none;
  }

  .hero-badge {
    display: none;
  }

  .hero-visual {
    display: none;
  }
}

@media (max-width: 430px) {
  .container {
    width: calc(100% - 28px);
  }

  .hero-slider,
  .hero-slides {
    min-height: 480px;
  }

  .hero-slide h1 {
    font-size: 30px;
  }

  .hero-slide p {
    font-size: 16px;
  }

  .product-modal-dialog {
    padding: 28px 20px;
  }

  .modal-grid {
    grid-template-columns: 1fr;
  }

  .modal-media {
    aspect-ratio: 4 / 3;
  }

  .gallery-frame {
    aspect-ratio: 4 / 3;
  }

  .btn {
    min-height: 44px;
    padding: 0 18px;
    font-size: 13px;
  }

  .section-heading h2 {
    font-size: 26px;
  }

  .hero-arrow-prev { left: 10px; }
  .hero-arrow-next { right: 10px; }
}

/* ============ Multi-brand additions (nav, footer, filters, modal) ============ */

/* Nav dropdown grows with more brands/categories. On desktop, the mega
   variant lays brands out side by side (one column each) instead of one
   long list, so three brands' worth of categories fit in roughly the
   height of one; the plain single-column list (and its scroll cap) remains
   as a fallback for a single-brand dropdown. */
.nav-dropdown {
  max-height: 74vh;
  overflow-y: auto;
}

.nav-dropdown-heading {
  padding: 10px 14px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}

.nav-dropdown-heading:not(:first-child) {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

@media (min-width: 861px) {
  .nav-dropdown-mega {
    left: auto;
    right: 0;
    width: max-content;
    max-width: min(680px, 92vw);
    max-height: none;
    overflow: visible;
    padding: 16px 18px 10px;
  }

  .nav-dropdown-mega .nav-dropdown-columns {
    display: grid;
    grid-template-columns: repeat(var(--col-count, 3), minmax(168px, 1fr));
    column-gap: 28px;
  }

  .nav-dropdown-mega .nav-dropdown-heading {
    padding: 0 10px 8px;
  }

  .nav-dropdown-mega .nav-dropdown-col li a {
    padding: 8px 10px;
    font-size: 13.5px;
  }

  .nav-dropdown-mega .nav-dropdown-all {
    margin-top: 10px;
  }
}

@media (max-width: 860px) {
  .nav-dropdown-col + .nav-dropdown-col {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
}

/* Footer category list mirrors the same brand-heading treatment. */
.footer-subhead {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-top: 4px;
}

.footer-subhead:first-child {
  margin-top: 0;
}

/* Products page toolbar — brand/category/sub-category dropdowns + search,
   replacing the old chip rows (they didn't scale past a handful of
   sub-categories; Multispan alone has 44). */
.product-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 14px;
  margin-bottom: 14px;
}

.toolbar-search {
  position: relative;
  flex: 1 1 280px;
  display: flex;
  align-items: center;
}

.toolbar-search-icon {
  position: absolute;
  left: 16px;
  color: var(--steel);
  font-size: 14px;
  pointer-events: none;
}

.toolbar-search-input {
  width: 100%;
  min-height: 48px;
  padding: 0 40px 0 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.toolbar-search-input::placeholder {
  color: var(--steel);
}

.toolbar-search-input:focus {
  outline: none;
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(22, 48, 138, 0.12);
}

.toolbar-search-input::-webkit-search-cancel-button {
  display: none;
}

.toolbar-search-clear {
  position: absolute;
  right: 8px;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--steel);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.toolbar-search-clear:hover {
  background: var(--paper);
  color: var(--navy);
}

.toolbar-selects {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
}

.select-wrap {
  position: relative;
  min-width: 190px;
}

.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 48px;
  padding: 0 38px 0 16px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.select-wrap select:focus {
  outline: none;
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(22, 48, 138, 0.12);
}

.select-wrap select:disabled {
  background: var(--paper);
  color: var(--steel);
  cursor: not-allowed;
}

.select-wrap i {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--steel);
  pointer-events: none;
}

/* Combo dropdown: replaces the native <select> picker for the category and
   sub-category filters, whose option lists grow long once every brand's
   categories are grouped together (a native mobile picker for that list
   takes over the full screen). The real <select> is kept for the existing
   filter logic but visually hidden; this is the control people actually see
   and use — a bounded, own-scroll panel with a live search box on top. */
.select-wrap select.combo-native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.combo-trigger {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 48px;
  padding: 0 38px 0 16px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.combo-trigger-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.combo-trigger:focus,
.combo-trigger[aria-expanded="true"] {
  outline: none;
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(22, 48, 138, 0.12);
}

.combo-trigger[aria-expanded="true"] i {
  transform: translateY(-50%) rotate(180deg);
}

.combo-trigger:disabled,
.combo-trigger.is-disabled {
  background: var(--paper);
  color: var(--steel);
  cursor: not-allowed;
}

.combo-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.combo-search-wrap {
  position: relative;
  flex: 0 0 auto;
  border-bottom: 1px solid var(--line);
}

.combo-search-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--steel);
  pointer-events: none;
}

.combo-search {
  width: 100%;
  height: 42px;
  padding: 0 14px 0 36px;
  border: none;
  font-family: var(--font);
  font-size: 13px;
  color: var(--ink);
}

.combo-search:focus {
  outline: none;
}

.combo-options {
  overflow-y: auto;
  max-height: min(320px, 50vh);
  padding: 6px;
}

.combo-group + .combo-group {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.combo-group-label {
  padding: 8px 10px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
}

.combo-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}

.combo-option:hover {
  background: var(--paper);
}

.combo-option.is-active {
  background: rgba(22, 48, 138, 0.08);
  color: var(--navy);
  font-weight: 700;
}

.combo-empty {
  padding: 16px 12px;
  text-align: center;
  font-size: 13px;
  color: var(--steel);
}

@media (max-width: 480px) {
  .combo-options {
    max-height: min(280px, 46vh);
  }
}

.toolbar-reset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-mid);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.toolbar-reset:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.toolbar-meta {
  margin: -2px 0 22px;
  font-size: 13px;
  color: var(--steel);
}

/* These controls declare their own "display" (flex/grid), which otherwise
   beats the plain [hidden] attribute used to show/hide them from JS. */
.toolbar-reset[hidden],
.toolbar-search-clear[hidden],
.site-search-clear[hidden],
.combo-panel[hidden],
.combo-group[hidden],
.combo-option[hidden],
.combo-empty[hidden] {
  display: none !important;
}

/* Model badge under the modal title (Multispan products carry a base model
   number distinct from the display name). */
.modal-model-badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--navy-mid);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* Specification block sub-headings, for source tables that mix section
   dividers with label/value rows (e.g. "Input", "Output", "Environmental"). */
.modal-spec-divider {
  margin: 18px 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-mid);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.modal-spec-divider:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.modal-specs + .modal-spec-divider,
.modal-table-scroll + .modal-spec-divider {
  margin-top: 18px;
}

/* Wider variant/model comparison tables (3+ columns) get their own
   horizontally-scrollable strip so they never break the modal's layout. */
.modal-table-scroll {
  overflow-x: auto;
  margin: 4px 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.modal-data-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 13px;
}

.modal-data-table thead th {
  background: var(--paper);
  color: var(--navy-mid);
  text-align: left;
  font-weight: 700;
  padding: 9px 14px;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}

.modal-data-table tbody td {
  padding: 9px 14px;
  color: var(--dark);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.modal-data-table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 720px) {
  .product-toolbar {
    flex-direction: column;
  }

  .toolbar-selects {
    flex-direction: column;
  }

  .select-wrap {
    min-width: 0;
  }

  .toolbar-reset {
    justify-content: center;
  }
}

/* ============ Site search (header) ============ */
.site-search {
  position: relative;
  flex: 1 1 380px;
  max-width: 440px;
}

.site-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.site-search-icon {
  position: absolute;
  left: 16px;
  color: var(--steel);
  font-size: 14px;
  pointer-events: none;
}

.site-search-input {
  width: 100%;
  min-height: 44px;
  padding: 0 40px 0 42px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.site-search-input::placeholder {
  color: var(--steel);
}

.site-search-input:focus {
  outline: none;
  border-color: var(--navy-mid);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(22, 48, 138, 0.12);
}

.site-search-input::-webkit-search-cancel-button {
  display: none;
}

.site-search-clear {
  position: absolute;
  right: 8px;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--steel);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.site-search-clear:hover {
  background: var(--line);
  color: var(--navy);
}

.site-search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  max-height: 70vh;
  overflow-y: auto;
  z-index: 90;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.15s var(--ease);
}

.search-result:hover,
.search-result.is-active {
  background: var(--paper);
}

.search-result-media {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.search-result-media img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
}

.search-result-noimg {
  color: var(--line);
  font-size: 16px;
}

.search-result-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-result-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-meta {
  font-size: 12px;
  color: var(--steel);
}

.search-empty {
  padding: 16px 12px;
  font-size: 13.5px;
  color: var(--steel);
  text-align: center;
}

.search-view-all {
  display: block;
  text-align: center;
  margin-top: 4px;
  padding: 10px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-mid);
}

.search-view-all:hover {
  color: var(--accent);
}

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .brand {
    order: 1;
  }

  .nav-toggle {
    order: 2;
  }

  .site-search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
    margin-top: 4px;
  }

  .site-nav {
    order: 4;
  }
}

@media (max-width: 480px) {
  .search-result-name {
    white-space: normal;
  }
}
