/* =====================================================================
   RD Engineering — Core Stylesheet
   Premium industrial theme: White · Dark Blue · Steel Grey · Accent
   Author: RD Engineering Web
   ===================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand colours */
  --navy-900: #071a30;
  --navy-800: #0b2545;
  --navy-700: #123a63;
  --navy-600: #1c4e80;
  --navy-500: #2e6299;

  --steel-900: #2b3542;
  --steel-700: #47566a;
  --steel-500: #6b7a8d;
  --steel-300: #a7b2c0;
  --steel-100: #e6eaef;
  --steel-50:  #f4f6f9;

  --white: #ffffff;
  --off-white: #fbfcfd;

  --accent: #f2681c;        /* industrial safety orange */
  --accent-dark: #d3540c;
  --accent-soft: #fff1e8;

  /* Semantic */
  --bg: var(--white);
  --bg-alt: var(--steel-50);
  --text: var(--steel-900);
  --text-soft: var(--steel-500);
  --heading: var(--navy-800);
  --border: #e2e7ee;

  /* Typography */
  --font-head: "Barlow Semi Condensed", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Roboto, Arial, sans-serif;

  /* Spacing / layout */
  --container: 1200px;
  --container-wide: 1360px;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 8px rgba(11, 37, 69, .06);
  --shadow-md: 0 10px 30px rgba(11, 37, 69, .10);
  --shadow-lg: 0 24px 60px rgba(11, 37, 69, .16);

  --nav-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em;
}
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: var(--container-wide); }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-alt { background: var(--bg-alt); }
.bg-navy { background: var(--navy-800); color: #dfe7f1; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.grid { display: grid; gap: 28px; }

/* ---------- Typography scale ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
}
.bg-navy .eyebrow { color: #ffb686; }
.bg-navy .eyebrow::before { background: #ffb686; }

h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.3rem; }
.lead { font-size: 1.12rem; color: var(--text-soft); max-width: 60ch; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { color: var(--text-soft); font-size: 1.05rem; margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: var(--radius);
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(242,104,28,.28); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-3px); box-shadow: 0 14px 28px rgba(242,104,28,.36); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-outline { border: 2px solid var(--navy-800); color: var(--navy-800); padding: 13px 28px; }
.btn-outline:hover { background: var(--navy-800); color: #fff; transform: translateY(-3px); }
.btn-ghost-light { border: 2px solid rgba(255,255,255,.4); color: #fff; padding: 13px 28px; }
.btn-ghost-light:hover { background: #fff; color: var(--navy-800); border-color: #fff; transform: translateY(-3px); }
.btn-lg { padding: 18px 38px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ========================================================
   HEADER / NAVIGATION
   ======================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), height .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}
.site-header .container { height: 100%; }
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
/* Logo */
.brand { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--navy-800);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.brand-mark span {
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  font-size: 1.15rem;
  letter-spacing: .02em;
  z-index: 1;
}
.brand-mark::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 55%, var(--accent) 55%, var(--accent) 62%, transparent 62%);
}
.brand-text { line-height: 1.2; }
.brand-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--navy-800);
  letter-spacing: .01em;
  line-height: 1.15;
}
.brand-text small {
  display: block;
  margin-top: 4px;
  font-size: .64rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--steel-500);
  font-weight: 600;
  line-height: 1;
}
.btn-sm { padding: 9px 18px; font-size: .82rem; }
/* Actual logo image */
.brand-logo { height: 46px; width: auto; display: block; }
.site-footer .brand-logo {
  height: 58px; background: #fff; padding: 8px 12px;
  border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
/* Nav menu */
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  position: relative;
  padding: 10px 16px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--steel-700);
  border-radius: var(--radius);
  transition: color .2s var(--ease);
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-menu a:hover { color: var(--navy-800); }
.nav-menu a:hover::after,
.nav-menu a.active::after { transform: scaleX(1); }
.nav-menu a.active { color: var(--navy-800); }
.nav-menu .mobile-cta { display: none; }
.nav-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--navy-800); font-size: .95rem;
}
.nav-phone svg { width: 18px; height: 18px; color: var(--accent); }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: var(--radius);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========================================================
   HERO
   ======================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  color: #fff;
  overflow: hidden;
  background: var(--navy-900);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; transform: scale(1.05); }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, var(--navy-900) 20%, rgba(11,37,69,.82) 55%, rgba(11,37,69,.35) 100%),
    radial-gradient(1200px 600px at 80% -10%, rgba(242,104,28,.20), transparent 60%);
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 1; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 70% at 30% 40%, #000 30%, transparent 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; padding: 60px 0; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .hl { color: var(--accent); }
.hero p { font-size: 1.18rem; color: #c6d2e2; max-width: 56ch; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; margin-bottom: 26px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 100px;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  color: #e8eef6;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #46d17f; box-shadow: 0 0 0 4px rgba(70,209,127,.2); }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 40px;
  margin-top: 56px; padding-top: 34px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-meta div strong {
  display: block; font-family: var(--font-head);
  font-size: 2rem; color: #fff; line-height: 1;
}
.hero-meta div span { font-size: .85rem; color: #9fb0c6; letter-spacing: .04em; }

/* ========================================================
   MARQUEE / TRUST STRIP
   ======================================================== */
.trust-strip { background: var(--navy-800); padding: 22px 0; overflow: hidden; }
.trust-track {
  display: flex; align-items: center; gap: 60px;
  white-space: nowrap;
  color: #8fa2ba; font-weight: 600; letter-spacing: .06em; font-size: .95rem;
  animation: marquee 28s linear infinite;
}
.trust-track span { display: inline-flex; align-items: center; gap: 60px; }
.trust-track b { color: #cdd9e8; }
.trust-strip:hover .trust-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ========================================================
   INTRO / SPLIT SECTIONS
   ======================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media .frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.split-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.split-media .badge-float {
  position: absolute; bottom: -26px; right: -18px;
  background: #fff; border-radius: var(--radius-lg);
  padding: 20px 26px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--border);
}
.badge-float .num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--accent); line-height: 1; }
.badge-float .lbl { font-size: .82rem; color: var(--text-soft); font-weight: 600; line-height: 1.3; }
.split-body h2 { margin-bottom: 20px; }
.check-list { display: grid; gap: 14px; margin: 24px 0 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--steel-700); }
.check-list li svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }

/* ========================================================
   FEATURE / WHY CHOOSE CARDS
   ======================================================== */
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--accent);
  transform: scaleY(0); transform-origin: top;
  transition: transform .35s var(--ease);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-card:hover::before { transform: scaleY(1); }
.feature-icon {
  width: 58px; height: 58px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  margin-bottom: 22px;
  transition: transform .35s var(--ease);
}
.feature-card:hover .feature-icon { transform: rotate(-6deg) scale(1.06); }
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--text-soft); margin: 0; font-size: .97rem; }
.feature-num {
  position: absolute; top: 26px; right: 28px;
  font-family: var(--font-head); font-weight: 700;
  font-size: 1rem; color: var(--steel-300);
}

/* ========================================================
   PRODUCTS
   ======================================================== */
.product-grid { grid-template-columns: repeat(3, 1fr); }
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--steel-50);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.08); }
.product-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(11,37,69,.9); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px;
}
.product-zoom {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(11,37,69,.55);
  opacity: 0; transition: opacity .3s var(--ease);
}
.product-card:hover .product-zoom { opacity: 1; }
.product-zoom span {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--navy-800);
  padding: 10px 18px; border-radius: 100px;
  font-weight: 600; font-size: .9rem;
  transform: translateY(8px); transition: transform .3s var(--ease);
}
.product-card:hover .product-zoom span { transform: translateY(0); }
.product-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.18rem; margin-bottom: 8px; }
.product-body p { color: var(--text-soft); font-size: .93rem; margin-bottom: 18px; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-inquiry {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; color: var(--accent);
  font-size: .95rem;
  transition: gap .25s var(--ease);
}
.product-inquiry svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.product-inquiry:hover { gap: 12px; }
.product-inquiry:hover svg { transform: translateX(3px); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 48px; }
.filter-btn {
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 600; font-size: .92rem;
  color: var(--steel-700);
  transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--navy-600); color: var(--navy-800); }
.filter-btn.active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

/* ========================================================
   INDUSTRIES
   ======================================================== */
.industry-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.industry-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  background: #fff;
  border: 1px solid var(--border);
  text-align: center;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
  overflow: hidden;
}
.industry-card:hover { transform: translateY(-6px); background: var(--navy-800); border-color: var(--navy-800); }
.industry-card:hover h3, .industry-card:hover p { color: #fff; }
.industry-icon {
  width: 62px; height: 62px; margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--steel-50); color: var(--navy-700);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.industry-card:hover .industry-icon { background: var(--accent); color: #fff; }
.industry-icon svg { width: 30px; height: 30px; }
.industry-card h3 { font-size: 1.1rem; margin-bottom: 6px; transition: color .3s var(--ease); }
.industry-card p { font-size: .85rem; color: var(--text-soft); margin: 0; transition: color .3s var(--ease); }

/* ========================================================
   STATS / COUNTERS
   ======================================================== */
.stats-band { position: relative; overflow: hidden; }
.stats-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 700;
  color: #fff; line-height: 1;
}
.stat b .suffix { color: var(--accent); }
.stat span { display: block; margin-top: 10px; color: #9fb0c6; font-weight: 600; letter-spacing: .04em; font-size: .95rem; }
.stat { position: relative; padding: 10px; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 1px; background: rgba(255,255,255,.12);
}

/* ========================================================
   EXCELLENCE / PROCESS
   ======================================================== */
.process-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step {
  position: relative;
  padding: 34px 26px 30px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.process-step .step-no {
  font-family: var(--font-head); font-weight: 700;
  font-size: 3rem; color: var(--steel-100);
  line-height: 1; margin-bottom: 8px;
}
.process-step:hover .step-no { color: var(--accent-soft); }
.process-step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.process-step p { font-size: .92rem; color: var(--text-soft); margin: 0; }

/* ========================================================
   CTA BAND
   ======================================================== */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--navy-800), var(--navy-600));
  border-radius: var(--radius-lg);
  padding: 68px 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  color: #fff; flex-wrap: wrap;
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,104,28,.35), transparent 70%);
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #c6d2e2; margin: 0; max-width: 52ch; }
.cta-band .cta-text { position: relative; z-index: 1; }
.cta-band .cta-actions { position: relative; z-index: 1; display: flex; gap: 14px; flex-wrap: wrap; }

/* ========================================================
   TESTIMONIALS
   ======================================================== */
.testi-grid { grid-template-columns: repeat(3, 1fr); }
.testi-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 34px 30px;
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testi-quote { font-family: var(--font-head); font-size: 3rem; color: var(--steel-100); line-height: .6; }
.testi-card p { color: var(--steel-700); font-size: 1rem; margin: 14px 0 22px; }
.testi-stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 16px; font-size: .95rem; }
.testi-person { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-800); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
}
.testi-person strong { display: block; color: var(--navy-800); font-size: .98rem; }
.testi-person span { font-size: .84rem; color: var(--text-soft); }

/* ========================================================
   CLIENTS
   ======================================================== */
.clients-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.client-cell {
  aspect-ratio: 3 / 2;
  display: grid; place-items: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-head); font-weight: 700;
  color: var(--steel-300); font-size: 1.1rem; letter-spacing: .04em;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.client-cell:hover { color: var(--navy-800); background: var(--steel-50); }

/* Client logo wall */
.clients-logos {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.client-logo {
  display: grid; place-items: center; min-height: 132px; padding: 26px 22px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.client-logo:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.client-logo img {
  max-width: 100%; max-height: 76px; width: auto; height: auto;
  object-fit: contain; display: block;
}
/* Text wordmark tile (e.g. clients without a supplied logo) */
.client-wordmark {
  font-family: var(--font-head); font-weight: 700; font-size: 1.55rem;
  letter-spacing: .01em; line-height: 1; text-align: center; color: var(--navy-800);
}
.client-wordmark span { color: var(--accent); }
.client-wordmark small {
  display: block; font-size: .58rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--steel-500); margin-top: 8px; font-weight: 600;
}

/* ========================================================
   CERTIFICATIONS
   ======================================================== */
.cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.cert-card {
  display: grid; grid-template-columns: 190px 1fr; gap: 26px; align-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.cert-thumb {
  display: block; border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
  background: var(--steel-50); position: relative;
}
.cert-thumb img { width: 100%; height: 240px; object-fit: cover; object-position: top center; display: block; }
.cert-thumb::after {
  content: "View"; position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(11,37,69,.72); color: #fff; font-family: var(--font-head);
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem;
  opacity: 0; transition: opacity .3s var(--ease);
}
.cert-thumb:hover::after { opacity: 1; }
.cert-body .eyebrow { margin-bottom: 10px; }
.cert-body h3 { font-size: 1.35rem; margin: 0 0 6px; color: var(--navy-800); }
.cert-body p { color: var(--text-soft); font-size: .95rem; margin: 0 0 14px; }
.cert-meta { list-style: none; margin: 0 0 16px; padding: 0; }
.cert-meta li { font-size: .88rem; color: var(--steel-600, #475569); padding: 3px 0; }
.cert-meta li b { color: var(--navy-800); font-weight: 700; }

/* ========================================================
   FOOTER
   ======================================================== */
.site-footer { background: var(--navy-900); color: #9fb0c6; padding-top: 72px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 54px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand p { margin: 20px 0; font-size: .95rem; max-width: 34ch; color: #8fa2ba; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.06); color: #cdd9e8;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.footer-social a:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { color: #fff; font-size: 1.02rem; margin-bottom: 20px; letter-spacing: .02em; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: .93rem; color: #9fb0c6; transition: color .2s var(--ease), padding .2s var(--ease); }
.footer-col a:hover { color: #fff; padding-left: 5px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: .93rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .86rem; color: #7d8ea6;
}
.footer-bottom a { color: #9fb0c6; }
.footer-bottom a:hover { color: #fff; }

/* ========================================================
   PAGE HERO (inner pages)
   ======================================================== */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 0 72px;
  background: var(--navy-800);
  color: #fff;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 80% at 70% 0%, #000, transparent);
}
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,104,28,.22), transparent 70%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 720px; }
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p { color: #c6d2e2; font-size: 1.12rem; margin: 0; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: #9fb0c6; margin-bottom: 20px; font-weight: 600; }
.breadcrumb a { color: #9fb0c6; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: var(--accent); }

/* ========================================================
   ABOUT — MVV / VALUES / TIMELINE / TEAM
   ======================================================== */
.mvv-grid { grid-template-columns: repeat(3, 1fr); }
.mvv-card {
  padding: 40px 34px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: #fff;
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.mvv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.mvv-card .mvv-icon {
  width: 60px; height: 60px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 22px;
  background: var(--navy-800); color: #fff;
}
.mvv-card .mvv-icon svg { width: 30px; height: 30px; }
.mvv-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.mvv-card p { color: var(--text-soft); margin: 0; }

.values-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; padding: 8px 0; }
.value-item .vi-icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.value-item .vi-icon svg { width: 24px; height: 24px; }
.value-item h3 { font-size: 1.1rem; margin-bottom: 4px; }
.value-item p { font-size: .92rem; color: var(--text-soft); margin: 0; }

/* Timeline */
.timeline { position: relative; max-width: 860px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--border); transform: translateX(-50%);
}
.tl-item { position: relative; width: 50%; padding: 0 44px 44px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-item .tl-dot {
  position: absolute; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 4px solid var(--accent);
  z-index: 1;
}
.tl-item:nth-child(odd) .tl-dot { right: -9px; }
.tl-item:nth-child(even) .tl-dot { left: -9px; }
.tl-year { font-family: var(--font-head); font-weight: 700; color: var(--accent); font-size: 1.35rem; }
.tl-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 24px; margin-top: 8px;
  box-shadow: var(--shadow-sm);
}
.tl-card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.tl-card p { font-size: .92rem; color: var(--text-soft); margin: 0; }

/* Team */
.team-grid { grid-template-columns: repeat(4, 1fr); }
.team-card { text-align: center; }
.team-photo {
  aspect-ratio: 1; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--navy-700), var(--navy-800));
  display: grid; place-items: center; margin-bottom: 18px;
  color: #fff; font-family: var(--font-head); font-size: 2.6rem; font-weight: 700;
  position: relative; overflow: hidden;
}
.team-photo::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 5px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.team-card:hover .team-photo::after { transform: scaleX(1); }
.team-card h3 { font-size: 1.12rem; margin-bottom: 2px; }
.team-card span { color: var(--accent); font-weight: 600; font-size: .88rem; }

/* Strengths (icon list two col) */
.strength-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 40px; }
.strength-item { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: #fff; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.strength-item:hover { transform: translateY(-4px); border-color: var(--navy-600); }
.strength-item .si-num { font-family: var(--font-head); font-weight: 700; color: var(--accent); font-size: 1.4rem; flex-shrink: 0; }
.strength-item h3 { font-size: 1.08rem; margin-bottom: 4px; }
.strength-item p { font-size: .9rem; color: var(--text-soft); margin: 0; }

/* ========================================================
   INFRASTRUCTURE — GALLERY
   ======================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  cursor: pointer; background: var(--steel-100);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-caption {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(7,26,48,.85), transparent 55%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.gallery-item:hover .gallery-caption { opacity: 1; }
.gallery-caption span { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; }

/* Infra feature rows */
.infra-feature-grid { grid-template-columns: repeat(3, 1fr); }
.infra-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.infra-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.infra-card .ic-icon { width: 54px; height: 54px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 20px; }
.infra-card .ic-icon svg { width: 28px; height: 28px; }
.infra-card h3 { margin-bottom: 10px; }
.infra-card p { color: var(--text-soft); font-size: .95rem; margin: 0; }

/* Quality bars */
.qc-list { display: grid; gap: 26px; }
.qc-item h3 { display: flex; justify-content: space-between; font-size: 1rem; margin-bottom: 10px; color: var(--navy-800); }
.qc-item h3 span { color: var(--accent); }
.qc-bar { height: 8px; border-radius: 100px; background: var(--steel-100); overflow: hidden; }
.qc-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--navy-600), var(--accent)); border-radius: 100px; transition: width 1.4s var(--ease); }

/* ========================================================
   CONTACT
   ======================================================== */
.contact-layout { grid-template-columns: 1fr 1.1fr; gap: 54px; align-items: start; }
.contact-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 30px; }
.contact-info-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px 24px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.contact-info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-info-card .ci-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--navy-800); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.contact-info-card .ci-icon svg { width: 22px; height: 22px; }
.contact-info-card h3 { font-size: 1rem; margin-bottom: 6px; }
.contact-info-card p, .contact-info-card a { font-size: .92rem; color: var(--text-soft); margin: 0; display: block; }
.contact-info-card a:hover { color: var(--accent); }

.contact-form-wrap {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-md);
}
.contact-form-wrap h2 { font-size: 1.6rem; margin-bottom: 6px; }
.contact-form-wrap > p { color: var(--text-soft); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--navy-800); margin-bottom: 7px; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-family: inherit; font-size: .96rem; color: var(--text);
  background: var(--off-white);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-600); background: #fff;
  box-shadow: 0 0 0 4px rgba(28,78,128,.1);
}
.field.error input, .field.error select, .field.error textarea { border-color: #e0483b; background: #fff6f5; }
.field .err-msg { display: none; color: #d13c2e; font-size: .8rem; margin-top: 6px; font-weight: 500; }
.field.error .err-msg { display: block; }
.form-note { font-size: .82rem; color: var(--text-soft); margin-top: 14px; }
.form-success {
  display: none;
  background: #eafaf0; border: 1px solid #b7e9c9; color: #1c7a45;
  border-radius: var(--radius); padding: 16px 18px; margin-bottom: 20px;
  font-weight: 600; font-size: .95rem;
  align-items: center; gap: 10px;
}
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; flex-shrink: 0; }

/* Map */
.map-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  aspect-ratio: 21 / 8; position: relative;
  background:
    linear-gradient(135deg, var(--steel-50), var(--steel-100)),
    repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(11,37,69,.03) 30px, rgba(11,37,69,.03) 31px);
  display: grid; place-items: center;
}
.map-placeholder { text-align: center; color: var(--steel-500); }
.map-placeholder svg { width: 48px; height: 48px; color: var(--accent); margin-bottom: 10px; }
.map-placeholder strong { display: block; color: var(--navy-800); font-family: var(--font-head); font-size: 1.2rem; }
.map-pin {
  position: absolute; top: 42%; left: 50%; transform: translate(-50%,-50%);
  width: 20px; height: 20px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 8px rgba(242,104,28,.25);
  animation: pulse 2s var(--ease) infinite;
}

/* Business hours */
.hours-list { display: grid; gap: 12px; }
.hours-list li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--border); font-size: .95rem; }
.hours-list li:last-child { border-bottom: none; }
.hours-list b { color: var(--navy-800); }
.hours-list .closed { color: #d13c2e; font-weight: 600; }
.hours-list .open-now { color: #1c7a45; font-weight: 600; }

/* ========================================================
   FLOATING BUTTONS
   ======================================================== */
.floating { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: flex; flex-direction: column; gap: 14px; }
.float-btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.float-btn svg { width: 26px; height: 26px; }
.float-btn:hover { transform: translateY(-4px) scale(1.05); }
.float-wa { background: #25d366; color: #fff; }
.float-wa::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37,211,102,.5);
  animation: ring 2.4s ease-out infinite;
}
.float-wa { position: relative; }
.float-call { background: var(--navy-800); color: #fff; }
.scroll-top {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .25s var(--ease);
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--accent-dark); transform: translateY(-3px); }
.scroll-top svg { width: 22px; height: 22px; }

@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 8px rgba(242,104,28,.25); } 50% { box-shadow: 0 0 0 14px rgba(242,104,28,.08); } }

/* ========================================================
   PRODUCT MODAL
   ======================================================== */
.modal {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(7,26,48,.72);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.modal.open { opacity: 1; visibility: visible; }
.modal-card {
  background: #fff; border-radius: var(--radius-lg);
  max-width: 900px; width: 100%; max-height: 90vh; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(.97);
  transition: transform .35s var(--ease);
}
.modal.open .modal-card { transform: translateY(0) scale(1); }
.modal-media { background: var(--steel-50); }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 40px; overflow-y: auto; position: relative; }
.modal-tag {
  display: inline-block; background: var(--accent-soft); color: var(--accent-dark);
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px; margin-bottom: 14px;
}
.modal-body h3 { font-size: 1.7rem; margin-bottom: 12px; }
.modal-body p { color: var(--text-soft); font-size: .96rem; }
.modal-specs { display: grid; gap: 10px; margin: 20px 0 26px; }
.modal-specs li { display: flex; gap: 10px; font-size: .92rem; align-items: flex-start; }
.modal-specs svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(11,37,69,.06); color: var(--navy-800);
  display: grid; place-items: center; z-index: 2;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.modal-close:hover { background: var(--accent); color: #fff; transform: rotate(90deg); }
.modal-close svg { width: 20px; height: 20px; }

/* Lightbox (infra gallery) reuses modal shell */
.lightbox-card { max-width: 1000px; display: block; background: transparent; box-shadow: none; }
.lightbox-card img { width: 100%; max-height: 84vh; object-fit: contain; border-radius: var(--radius-lg); }

/* No-JS fallback */
.no-js .reveal { opacity: 1 !important; transform: none !important; }
