/* =========================================================
   MET-CHECKERS INDIA — Stylesheet
   ========================================================= */

:root {
  --navy-dark: #0a1530;
  --navy: #10204a;
  --navy-light: #17285c;
  --gold: #c9973f;
  --gold-light: #f3cc73;
  --amber: #d9861f;
  --rust: #b1540f;
  --ink: #1a2233;
  --muted: #5b6478;
  --bg: #f8f9fc;
  --bg-alt: #eef1f8;
  --white: #ffffff;
  --border: #e2e5ee;

  /* Light "wash" surfaces — used on content sections (cards, about, services) */
  --tint-1: #eef2fb;
  --tint-2: #dfe7f5;
  --tint-border: #d6e0f0;

  /* Medium-navy surfaces — used on structural sections (header, hero, banners, footer).
     Richer than pure white, lighter than the old near-black navy-dark. */
  --navy-mid-dark: #12213f;
  --navy-mid: #1c3160;
  --navy-mid-light: #274674;
  --navy-mid-lighter: #3d6099;
  --gold-glow: radial-gradient(circle at 88% 12%, rgba(243, 204, 115, 0.16), transparent 42%);

  --font-head: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Consolas', monospace;

  --radius: 6px;
  --shadow: 0 10px 30px rgba(10, 21, 48, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 21, 48, 0.16);
  --transition: 0.25s ease;
  --notch: 14px;
  --grid-line: linear-gradient(rgba(16, 32, 74, 0.05) 1px, transparent 1px),
               linear-gradient(90deg, rgba(16, 32, 74, 0.05) 1px, transparent 1px);
  --grid-line-dark: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
               linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--bg);
  background-image: radial-gradient(rgba(16, 32, 74, 0.055) 1px, transparent 1px);
  background-size: 26px 26px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.25;
}

p { margin: 0 0 1em; color: var(--muted); }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 10px 16px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
svg .stroke { fill: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px 13px 24px;
  border-radius: 2px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-body);
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn.small { padding: 10px 22px 10px 18px; font-size: 0.88rem; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.btn.full { width: 100%; border: none; }

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-primary:hover { background: var(--gold-light); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-dark);
  box-shadow: 0 8px 20px rgba(201, 151, 63, 0.35);
}
.btn-gold:hover { box-shadow: 0 12px 26px rgba(201, 151, 63, 0.45); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(16, 32, 74, 0.3);
}
.btn-outline:hover { background: rgba(16, 32, 74, 0.06); border-color: var(--navy); }
.btn-outline.on-dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline.on-dark:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: linear-gradient(90deg, rgba(18, 33, 63, 0.95), rgba(39, 70, 116, 0.95));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffffff, #eef0f6);
  padding: 6px 11px;
  border-radius: 3px;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.brand-logo { height: 32px; width: auto; display: block; }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.3px;
}
.brand-name em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav ul {
  display: flex;
  gap: 28px;
}
.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link-lims { color: var(--gold-light); font-weight: 600; }
.nav-link-lims:hover, .nav-link-lims.active { color: var(--gold-light); }

.nav-cta { padding: 10px 22px; font-size: 0.88rem; }

/* ---------- Dropdown nav ---------- */
.nav-dropdown { position: relative; }
.nav-caret { width: 12px; height: 12px; margin-left: 4px; vertical-align: -1px; transition: transform var(--transition); }
.nav-dropdown:hover .nav-caret, .nav-dropdown:focus-within .nav-caret { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 14px;
  min-width: 240px;
  background: linear-gradient(160deg, var(--navy-mid-light), var(--navy-mid-dark));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 210;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition);
}
.dropdown-menu a:hover { background: rgba(255, 255, 255, 0.08); color: var(--gold-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 0 auto;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 12, 28, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 150;
}
.nav-overlay.show { opacity: 1; pointer-events: auto; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background-color: var(--navy-mid);
  background-image: var(--grid-line-dark), var(--gold-glow), radial-gradient(circle at 18% 15%, var(--navy-mid-lighter) 0%, var(--navy-mid) 55%, var(--navy-mid-dark) 100%);
  background-size: 44px 44px, 44px 44px, 100% 100%, 100% 100%;
  color: var(--white);
  padding: 100px 0 90px;
  overflow: hidden;
  border-bottom: 3px solid var(--gold);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg svg { width: 100%; height: 100%; }
.dial-ring { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 1.2; }
.dial-ticks .tick-major { stroke: rgba(255, 255, 255, 0.2); stroke-width: 1.6; }
.dial-ticks .tick-minor { stroke: rgba(255, 255, 255, 0.1); stroke-width: 1; }
.dial-arc { fill: none; stroke: rgba(243, 204, 115, 0.55); stroke-width: 2.5; }
.dial-needle { stroke: rgba(243, 204, 115, 0.6); stroke-width: 1.5; }
.dial-hub { fill: rgba(243, 204, 115, 0.65); }
.dial-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1px;
  fill: rgba(243, 204, 115, 0.3);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 60px;
  align-items: start;
}
.hero-copy { max-width: 620px; }

.spec-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 3px solid var(--gold);
  padding: 22px 22px 18px;
  backdrop-filter: blur(2px);
}
.spec-panel::before, .spec-panel::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--gold-light);
  opacity: 0.75;
}
.spec-panel::before { top: -1px; left: -1px; border-top: 2px solid var(--gold-light); border-left: 2px solid var(--gold-light); }
.spec-panel::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--gold-light); border-right: 2px solid var(--gold-light); }

.spec-panel-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.spec-panel-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
}
.spec-panel-list li:last-child { border-bottom: none; }
.spec-panel-list li span:first-child {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}
.spec-panel-list li span:last-child {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  text-align: right;
}
.spec-panel-foot {
  margin: 14px 0 0;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}
.spec-panel-foot a { color: var(--gold-light); font-weight: 600; }
.spec-panel-foot a:hover { text-decoration: underline; }

/* ---------- Spec panel slider (crossfade) ---------- */
.spec-slider { display: grid; }
.spec-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.spec-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.spec-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}
.spec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.spec-dot:hover { background: rgba(255, 255, 255, 0.55); }
.spec-dot.active { background: var(--gold); transform: scale(1.35); }

.stamp-badge {
  position: absolute;
  top: -108px;
  left: -42px;
  width: 110px;
  height: 110px;
  transform: rotate(-10deg);
  z-index: 3;
  pointer-events: none;
}
.stamp-outer { fill: rgba(10, 21, 48, 0.6); stroke: var(--gold-light); stroke-width: 2.5; }
.stamp-inner { fill: none; stroke: var(--gold-light); stroke-width: 1; opacity: 0.55; }
.stamp-rim-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  fill: var(--gold-light);
}
.stamp-check { fill: none; stroke: var(--gold-light); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.stamp-spin { transform-origin: 100px 100px; }
@media (prefers-reduced-motion: no-preference) {
  .stamp-spin { animation: stamp-rotate 50s linear infinite; }
}
@keyframes stamp-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--gold);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 20px;
}
.text-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* =========================================================
   PAGE BANNER (internal pages)
   ========================================================= */
.page-banner {
  position: relative;
  background-color: var(--navy-mid);
  background-image: var(--grid-line-dark), var(--gold-glow), radial-gradient(circle at 15% 20%, var(--navy-mid-lighter) 0%, var(--navy-mid) 60%, var(--navy-mid-dark) 100%);
  background-size: 44px 44px, 44px 44px, 100% 100%, 100% 100%;
  color: var(--white);
  padding: 56px 0 44px;
  overflow: hidden;
  border-bottom: 3px solid var(--gold);
}
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { text-decoration: underline; }
.page-banner h1 {
  color: var(--white);
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  margin-bottom: 8px;
}
.page-banner p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 620px;
  margin: 0;
}

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
  position: relative;
  background-color: var(--navy-mid);
  background-image: var(--grid-line-dark), var(--gold-glow), linear-gradient(135deg, var(--navy-mid-lighter) 0%, var(--navy-mid) 55%, var(--navy-mid-dark) 100%);
  background-size: 44px 44px, 44px 44px, 100% 100%, 100% 100%;
  color: var(--white);
  padding: 64px 0;
  text-align: center;
  overflow: hidden;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255, 255, 255, 0.75); max-width: 560px; margin: 0 auto 26px; }

/* =========================================================
   QUICK LINK CARDS (home page)
   ========================================================= */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--amber);
  font-weight: 700;
  font-size: 0.88rem;
  transition: gap var(--transition);
}
.card-link svg { width: 16px; height: 16px; }
.card-link:hover { gap: 10px; }

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust-strip {
  background-color: var(--navy-mid-light);
  background-image: var(--grid-line-dark), linear-gradient(90deg, var(--navy-mid) 0%, var(--navy-mid-light) 50%, var(--navy-mid) 100%);
  background-size: 44px 44px, 44px 44px, 100% 100%;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
}
.trust-item svg {
  color: var(--navy-dark);
  background: linear-gradient(135deg, var(--gold-light), var(--amber));
  border-radius: 3px;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
  padding: 9px;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

/* =========================================================
   SECTION HEAD
   ========================================================= */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 10px;
}
.section-head.center .kicker { justify-content: center; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* =========================================================
   ABOUT
   ========================================================= */
.about { padding: 90px 0; }
.about-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.about-inner .section-head { margin-left: auto; margin-right: auto; }
.about-text { font-size: 1.05rem; }
.about-inner .about-text { max-width: 640px; margin-left: auto; margin-right: auto; }
.about-highlight {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 30px;
  box-shadow: var(--shadow);
  margin-top: 28px;
  text-align: left;
}
.about-highlight::before, .about-highlight::after,
.program-card::before, .program-card::after,
.contact-card::before, .contact-card::after,
.contact-form::before, .contact-form::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--gold);
  opacity: 0.6;
  pointer-events: none;
  transition: opacity var(--transition), border-color var(--transition);
}
.about-highlight::before, .program-card::before, .contact-card::before, .contact-form::before {
  top: -1px; left: -1px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}
.about-highlight::after, .program-card::after, .contact-card::after, .contact-form::after {
  bottom: -1px; right: -1px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}
.program-card:hover::before, .program-card:hover::after,
a.contact-card:hover::before, a.contact-card:hover::after {
  opacity: 1;
  border-color: var(--amber);
}
.about-highlight svg { color: var(--gold); width: 34px; height: 34px; flex-shrink: 0; }
.about-highlight p { color: var(--navy); font-weight: 600; font-size: 1.05rem; margin: 0; }

/* =========================================================
   SERVICES
   ========================================================= */
.services { padding: 90px 0; }
.services.alt { background: var(--bg-alt); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 26px;
}
.card-grid-narrow { max-width: 900px; margin: 0 auto; }

.service-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-left-color: var(--amber); }
.service-card::before {
  content: '';
  position: absolute;
  bottom: -28px;
  right: -28px;
  width: 230px;
  height: 230px;
  background-image: url('../assets/images/logo-mark.png');
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }

.card-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(217, 134, 31, 0.12);
  color: var(--rust);
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }
.card-icon.amber { background: linear-gradient(135deg, var(--gold-light), var(--amber)); color: var(--navy-dark); }

.service-card h3 {
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 1.12rem;
  margin: 0 0 14px;
}

.service-card ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 0.92rem;
}
.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.card-note {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}
.service-card ul + .card-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: 0.85rem;
  font-style: italic;
}

.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li {
  padding: 6px 14px !important;
  background: var(--bg-alt);
  border-radius: 999px;
  color: var(--navy) !important;
  font-size: 0.82rem !important;
  font-weight: 600;
}
.chip-list li::before { display: none; }

/* =========================================================
   PROGRAMS
   ========================================================= */
.programs { padding: 90px 0; }
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 26px;
}
.program-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.program-card h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 16px; }
.program-card ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: var(--ink);
}
.program-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
}
.program-card ul.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
}
.program-card.highlight {
  background-color: var(--navy-dark);
  background-image: var(--grid-line-dark), var(--gold-glow), linear-gradient(160deg, var(--navy-light) 0%, var(--navy) 55%, var(--navy-dark) 100%);
  background-size: 30px 30px, 30px 30px, 100% 100%, 100% 100%;
  color: var(--white);
  border: none;
  border-top: 3px solid var(--gold-light);
}
.program-card.highlight h3 { color: var(--white); }
.program-card.highlight p { color: rgba(255, 255, 255, 0.85); }
.program-card.highlight .card-icon { background: linear-gradient(135deg, var(--gold-light), var(--amber)); color: var(--navy-dark); }
.program-card.highlight::before, .program-card.highlight::after { border-color: var(--gold-light); opacity: 0.6; }
.program-card.highlight ul li { color: rgba(255, 255, 255, 0.92); }
.program-card.highlight ul li::before { background: var(--gold-light); }

.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pill-list li {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
}
.pill-list li::before { display: none; }

/* =========================================================
   ANNOUNCEMENT BANNER (LIMS)
   ========================================================= */
.lims-banner {
  background: linear-gradient(90deg, var(--gold-light), var(--gold) 60%, var(--amber));
  color: var(--navy-dark);
}
.lims-banner-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 9px 24px;
}
.lims-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--navy-dark);
  color: var(--gold-light);
  padding: 4px 10px;
  border-radius: 2px;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
  flex-shrink: 0;
}
.lims-banner-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(243, 204, 115, 0.25);
}
.lims-banner p {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-dark);
  flex: 1;
  min-width: 220px;
}
.lims-banner-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy-dark);
  flex-shrink: 0;
  border-bottom: 2px solid rgba(10, 21, 48, 0.4);
  padding-bottom: 1px;
  transition: border-color var(--transition);
}
.lims-banner-link svg { width: 15px; height: 15px; }
.lims-banner-link:hover { border-color: var(--navy-dark); }

.nav-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  margin-left: 2px;
  box-shadow: 0 0 0 3px rgba(243, 204, 115, 0.2);
}

/* ---------- Status badge (reusable) ---------- */
.badge-dev {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(217, 134, 31, 0.15);
  color: var(--gold-light);
  border: 1px solid rgba(217, 134, 31, 0.45);
  padding: 6px 13px;
  border-radius: 2px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  margin-bottom: 12px;
}
.badge-dev::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(217, 134, 31, 0.25);
}
.badge-dev.on-light {
  background: rgba(177, 84, 15, 0.08);
  color: var(--rust);
  border-color: rgba(177, 84, 15, 0.3);
}
.badge-dev.on-light::before { background: var(--rust); box-shadow: 0 0 0 3px rgba(177, 84, 15, 0.15); }

/* =========================================================
   LIMS FLAGSHIP SECTION (home page)
   ========================================================= */
.lims-feature {
  position: relative;
  background-color: var(--navy-mid);
  background-image: var(--grid-line-dark), var(--gold-glow), linear-gradient(135deg, var(--navy-mid-lighter) 0%, var(--navy-mid) 55%, var(--navy-mid-dark) 100%);
  background-size: 44px 44px, 44px 44px, 100% 100%, 100% 100%;
  color: var(--white);
  padding: 80px 0;
  overflow: hidden;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}
.lims-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 50px;
  align-items: center;
}
.lims-feature h2 { color: var(--white); margin: 14px 0 4px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.lims-product-by {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 16px;
}
.lims-product-by.on-light { color: var(--muted); }
.lims-feature p.about-text { color: rgba(255, 255, 255, 0.8); }
.lims-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0 30px;
}
.lims-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
}
.lims-feature-list li svg {
  width: 18px; height: 18px;
  color: var(--gold-light);
  flex-shrink: 0;
  margin-top: 1px;
}
.lims-feature-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.lims-progress-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 3px solid var(--gold);
  padding: 24px 24px 20px;
}
.lims-progress-panel::before, .lims-progress-panel::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--gold-light);
  opacity: 0.7;
}
.lims-progress-panel::before { top: -1px; left: -1px; border-top: 2px solid var(--gold-light); border-left: 2px solid var(--gold-light); }
.lims-progress-panel::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--gold-light); border-right: 2px solid var(--gold-light); }
.lims-progress-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.lims-progress-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
}
.lims-progress-step:last-child { border-bottom: none; }
.lims-progress-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 2px solid var(--gold-light);
  margin-top: 3px;
  flex-shrink: 0;
}
.lims-progress-step.done .lims-progress-dot { background: var(--gold-light); }
.lims-progress-step.active .lims-progress-dot { background: var(--amber); box-shadow: 0 0 0 4px rgba(217, 134, 31, 0.25); }
.lims-progress-step h4 { margin: 0 0 2px; font-size: 0.86rem; color: var(--white); }
.lims-progress-step p { margin: 0; font-size: 0.76rem; color: rgba(255, 255, 255, 0.55); }
.lims-progress-step .step-status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  flex-shrink: 0;
}
.lims-progress-step.active .step-status { color: var(--gold-light); }

/* =========================================================
   LIMS FEATURED CARD (services page)
   ========================================================= */
.lims-featured {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 36px;
  align-items: center;
  background-image: var(--gold-glow), linear-gradient(160deg, var(--navy-light) 0%, var(--navy) 55%, var(--navy-dark) 100%);
  background-size: 100% 100%, 100% 100%;
  color: var(--white);
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
  padding: 38px 40px;
  margin-bottom: 46px;
  box-shadow: var(--shadow-lg);
}
.lims-featured::before, .lims-featured::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--gold-light);
  opacity: 0.6;
}
.lims-featured::before { top: -1px; left: -1px; border-top: 2px solid var(--gold-light); border-left: 2px solid var(--gold-light); }
.lims-featured::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--gold-light); border-right: 2px solid var(--gold-light); }
.lims-featured h3 { color: var(--white); font-size: 1.4rem; margin: 14px 0 10px; }
.lims-featured-by {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}
.lims-featured p { color: rgba(255, 255, 255, 0.78); }
.lims-featured-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.lims-featured-side {
  border-left: 1px dashed rgba(255, 255, 255, 0.2);
  padding-left: 30px;
}
.lims-featured-side ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  padding: 7px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}
.lims-featured-side ul li:last-child { border-bottom: none; }
.lims-featured-side ul li svg { width: 15px; height: 15px; color: var(--gold-light); flex-shrink: 0; }

/* =========================================================
   WHY US
   ========================================================= */
.why-us {
  position: relative;
  background-color: var(--navy-mid);
  background-image: var(--grid-line-dark), var(--gold-glow), linear-gradient(160deg, var(--navy-mid-light) 0%, var(--navy-mid) 50%, var(--navy-mid-dark) 100%);
  background-size: 44px 44px, 44px 44px, 100% 100%, 100% 100%;
  color: var(--white);
  padding: 70px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.why-inner { text-align: center; }
.why-statement {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  font-weight: 600;
  color: var(--white);
  max-width: 780px;
  margin: 0 auto 40px;
}
.why-statement::before {
  content: '// OUR COMMITMENT';
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--gold-light);
  opacity: 0.9;
  margin-bottom: 14px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 20px;
}
.why-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--white);
}
.why-item svg {
  color: var(--navy-dark);
  background: linear-gradient(135deg, var(--gold-light), var(--amber));
  border-radius: 3px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  padding: 12px;
  width: 46px;
  height: 46px;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding: 0 0 90px; }

/* ---------- "Let's Talk" bold typography hero ---------- */
.talk {
  position: relative;
  background-color: var(--navy-mid);
  background-image: var(--grid-line-dark), var(--gold-glow), radial-gradient(circle at 15% 10%, var(--navy-mid-lighter) 0%, var(--navy-mid) 55%, var(--navy-mid-dark) 100%);
  background-size: 44px 44px, 44px 44px, 100% 100%, 100% 100%;
  color: var(--white);
  padding: 90px 0 70px;
  overflow: hidden;
  border-bottom: 5px solid var(--gold);
}
.talk-heading {
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin: 6px 0 20px;
}
.talk-lead { font-size: 1.1rem; color: rgba(255, 255, 255, 0.8); max-width: 640px; margin-bottom: 44px; }

.talk-rows { margin-bottom: 40px; }
.talk-row {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: padding-left var(--transition), border-color var(--transition);
}
.talk-row:first-child { border-top: 1px solid rgba(255, 255, 255, 0.15); }
a.talk-row:hover { padding-left: 16px; border-color: var(--gold); }

.talk-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--amber));
  color: var(--navy-dark);
  border-radius: 3px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: transform var(--transition), box-shadow var(--transition);
}
.talk-icon svg { width: 22px; height: 22px; }
a.talk-row:hover .talk-icon { transform: scale(1.08); box-shadow: 0 6px 16px -4px rgba(217, 134, 31, 0.55); }

.talk-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.talk-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--amber);
}
.talk-value {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
}
.talk-value-wrap { word-break: break-word; }
.talk-value-sep { color: rgba(255, 255, 255, 0.4); margin: 0 4px; }
a.talk-row:hover .talk-value { color: var(--gold-light); }

.talk-arrow {
  width: 22px;
  height: 22px;
  color: var(--gold-light);
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--transition), transform var(--transition);
}
a.talk-row:hover .talk-arrow { opacity: 1; transform: translateX(0); }

.talk-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.talk-chip {
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.talk-chip:hover { border-color: var(--gold-light); color: var(--white); }
.talk-chip.active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: transparent;
  color: var(--navy-dark);
}

#reveal-form-btn svg { width: 18px; height: 18px; transition: transform var(--transition); }
#reveal-form-btn:hover svg { transform: translateX(4px); }

/* ---------- Collapsible form reveal ---------- */
.form-reveal {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s ease;
}
.form-reveal.open { grid-template-rows: 1fr; }
.form-reveal > div { overflow: hidden; min-height: 0; }
.form-reveal .contact-form { margin-top: 70px; }

.contact-form {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 20px;
}
.form-grid .form-row.full { grid-column: 1 / -1; }
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.form-row input, .form-row select, .form-row textarea {
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 151, 63, 0.2);
}
.form-status {
  margin: 12px 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  min-height: 1.2em;
}

/* =========================================================
   PROCESS STEPS ("How We Work")
   ========================================================= */
.process-strip { padding: 90px 0; background: var(--bg-alt); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  counter-reset: process;
}
.process-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.process-grid.cols-6 { grid-template-columns: repeat(6, 1fr); }
.process-step {
  position: relative;
  text-align: center;
  padding: 0 16px;
  counter-increment: process;
}
.process-step::before {
  content: counter(process, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 3px;
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%);
  background: var(--navy);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
}
.process-step h3 { font-size: 1.02rem; margin-bottom: 6px; color: var(--rust); }
.process-step p { font-size: 0.86rem; margin: 0; }
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 26px;
  left: calc(50% + 42px);
  width: calc(100% - 84px);
  height: 2px;
  background-image: repeating-linear-gradient(90deg, var(--amber) 0 6px, transparent 6px 12px);
  opacity: 0.6;
}

/* =========================================================
   INDUSTRIES GRID
   ========================================================= */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 16px;
}
.industry-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  overflow: hidden;
  isolation: isolate;
  cursor: default;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.industry-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-dark));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: -1;
}
.industry-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.industry-item:hover::before { transform: scaleX(1); }
.industry-item .card-icon {
  margin-bottom: 0;
  flex-shrink: 0;
  transition: background 0.35s ease, color 0.35s ease, transform 0.4s ease;
}
.industry-item:hover .card-icon {
  background: rgba(255, 255, 255, 0.15);
  color: var(--gold-light);
  transform: rotate(-8deg) scale(1.08);
}
.industry-item span {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.35s ease;
}
.industry-item:hover span { color: var(--white); }

/* Staggered reveal cascade */
.industries-grid.reveal-group .industry-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.industries-grid.reveal-group.in-view .industry-item { opacity: 1; transform: translateY(0); }
.industries-grid.reveal-group .industry-item:nth-child(1) { transition-delay: 0.03s; }
.industries-grid.reveal-group .industry-item:nth-child(2) { transition-delay: 0.08s; }
.industries-grid.reveal-group .industry-item:nth-child(3) { transition-delay: 0.13s; }
.industries-grid.reveal-group .industry-item:nth-child(4) { transition-delay: 0.18s; }
.industries-grid.reveal-group .industry-item:nth-child(5) { transition-delay: 0.23s; }
.industries-grid.reveal-group .industry-item:nth-child(6) { transition-delay: 0.28s; }
.industries-grid.reveal-group .industry-item:nth-child(7) { transition-delay: 0.33s; }
.industries-grid.reveal-group .industry-item:nth-child(8) { transition-delay: 0.38s; }
.industries-grid.reveal-group .industry-item:nth-child(9) { transition-delay: 0.43s; }
.industries-grid.reveal-group .industry-item:nth-child(10) { transition-delay: 0.48s; }
.industries-grid.reveal-group .industry-item:nth-child(11) { transition-delay: 0.53s; }
.industries-grid.reveal-group .industry-item:nth-child(12) { transition-delay: 0.58s; }
@media (prefers-reduced-motion: reduce) {
  .industry-item, .industry-item::before, .industry-item .card-icon,
  .industries-grid.reveal-group .industry-item { transition: none !important; }
}

/* =========================================================
   PROJECT / RESOURCE / BLOG CARDS
   ========================================================= */
.project-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-card-media {
  height: 160px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-dark));
  background-image: var(--grid-line-dark), linear-gradient(135deg, var(--navy-light), var(--navy-dark));
  background-size: 30px 30px, 30px 30px, 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 3px solid var(--gold);
}
.project-card-media svg { width: 44px; height: 44px; color: var(--gold-light); opacity: 0.8; }
.project-card-body { padding: 24px; }
.project-card-body h3 { color: var(--rust); font-size: 1.08rem; margin-bottom: 10px; }

.resource-card, .blog-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.resource-card:hover, .blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.resource-card .card-icon, .blog-card .card-icon { margin-bottom: 0; flex-shrink: 0; }
.resource-card h3, .blog-card h3 { font-size: 1rem; margin-bottom: 6px; color: var(--navy); }
.resource-card p, .blog-card p { font-size: 0.86rem; margin: 0; }
.blog-card .post-date {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* =========================================================
   FAQ (accordion)
   ========================================================= */
.faq { padding: 90px 0; background: var(--white); }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 4px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy-dark);
  cursor: pointer;
}
.faq-question:hover { color: var(--rust); }
.faq-icon {
  width: 22px;
  height: 22px;
  color: var(--amber);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-question { color: var(--rust); }
.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer > div { overflow: hidden; min-height: 0; }
.faq-answer p {
  margin: 0;
  padding: 0 4px 24px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 680px;
}
.faq-answer a { color: var(--rust); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background-color: var(--navy-mid);
  background-image: var(--grid-line-dark), linear-gradient(180deg, var(--navy-mid-light) 0%, var(--navy-mid) 40%, var(--navy-mid-dark) 100%);
  background-size: 44px 44px, 44px 44px, 100% 100%;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
  border-top: 3px solid var(--gold);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand .brand-name { font-size: 1.05rem; }
.footer-brand p { color: rgba(255, 255, 255, 0.55); font-size: 0.85rem; margin: 4px 0 0; }
.footer-cert { color: var(--gold-light); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.3px; margin: 6px 0 0; }

.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--amber));
  color: var(--navy-dark);
  border-radius: 3px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  transition: transform var(--transition), box-shadow var(--transition);
}
.footer-social-icon svg { width: 17px; height: 17px; }
.footer-social-icon:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 6px 14px -4px rgba(217, 134, 31, 0.5); }

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 14px;
}
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; transition: color var(--transition); }
.footer-nav a:hover { color: var(--gold-light); }

.footer-contact { display: flex; flex-direction: column; gap: 13px; }
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--gold-light); }
.footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--amber));
  color: var(--navy-dark);
  border-radius: 3px;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%);
  transition: transform var(--transition);
}
.footer-contact-icon svg { width: 15px; height: 15px; }
.footer-contact a:hover .footer-contact-icon { transform: scale(1.08); }

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 24px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom-inner p { margin: 0; color: inherit; }

/* =========================================================
   BACK TO TOP
   ========================================================= */
#back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--gold);
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  z-index: 180;
}
#back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
#back-to-top:hover { background: var(--gold-light); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 100%; }
  .spec-panel { max-width: 420px; margin-top: 40px; }
  .stamp-badge { width: 96px; height: 96px; top: -80px; left: 16px; }
  .lims-feature-grid { grid-template-columns: 1fr; }
  .lims-progress-panel { max-width: 460px; }
  .lims-featured { grid-template-columns: 1fr; }
  .lims-featured-side { border-left: none; border-top: 1px dashed rgba(255, 255, 255, 0.2); padding-left: 0; padding-top: 24px; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 76px;
    right: 0;
    height: calc(100vh - 76px);
    width: min(320px, 82vw);
    background: linear-gradient(180deg, var(--navy-mid-light), var(--navy-mid-dark));
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
    gap: 28px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 22px; width: 100%; }
  .nav-cta { width: 100%; }
  .nav-toggle { display: flex; }

  .nav-caret { display: none; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 4px 0 0 14px;
    margin-top: 12px;
    margin-left: 0;
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .dropdown-menu a { padding: 0; font-size: 0.86rem; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .lims-feature-list { grid-template-columns: 1fr; }
  .process-grid, .process-grid.cols-3, .process-grid.cols-6 { grid-template-columns: 1fr; gap: 28px; }
  .process-step:not(:last-child)::after { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .hero { padding: 70px 0 60px; }
  .page-banner { padding: 42px 0 34px; }
  .about, .services, .programs { padding: 60px 0; }
  .why-us { padding: 50px 0; }
  .contact { padding: 60px 0; }
  .cta-banner { padding: 46px 0; }
  .program-card ul.two-col { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
  .stamp-badge { display: none; }
  .lims-feature { padding: 56px 0; }
  .lims-featured { padding: 28px 24px; }
  .lims-banner-inner { padding: 10px 18px; }
}

@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; }
  .contact-card { flex-direction: column; text-align: center; align-items: center; }
  .contact-card div { align-items: center; }
  .spec-panel-list li { flex-direction: column; align-items: flex-start; gap: 2px; }
  .spec-panel-list li span:last-child { text-align: left; }
  .lims-featured { text-align: center; }
  .lims-featured-actions { justify-content: center; }
  .lims-featured-side { text-align: left; }
  .btn.small { width: 100%; }
}
