/* ============================================================
   JCS Safety Systems — Design System
   ============================================================ */

:root {
  /* Brand: matched to JCS logo navy (#1a2f6b / #244a8a) */
  --brand-navy: #1a2f6b;
  --brand-blue: #244a8a;
  --brand-mid: #3d5f9e;
  --brand-light: #6b8fc4;

  --navy-950: #070b16;
  --navy-900: #0b1224;
  --navy-800: #121c34;
  --navy-700: #1a2a48;
  --navy-600: #243a5c;
  --slate-400: #8b9cb3;
  --slate-300: #b0bdd0;
  --slate-200: #d4dbe8;
  --white: #ffffff;
  --off-white: #f4f7fb;
  /* Accents aligned to brand blue (kept as cyan-* tokens for existing CSS) */
  --cyan-400: #6ba3e8;
  --cyan-500: #3d7dd6;
  --cyan-600: #244a8a;
  --blue-500: #3d7dd6;
  --blue-600: #1a2f6b;
  --amber-400: #fbbf24;
  --success: #10b981;
  --danger: #ef4444;

  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Outfit", "DM Sans", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 40px rgba(36, 74, 138, 0.35);

  --container: 1160px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.25s var(--ease);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--slate-200);
  background: var(--navy-950);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.02em;
}
p { color: var(--slate-300); }
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   Top bar + Header
   ============================================================ */
.topbar {
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.875rem;
  color: var(--slate-400);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  flex-wrap: wrap;
}
.topbar a {
  color: var(--slate-300);
  transition: color var(--transition);
}
.topbar a:hover { color: var(--cyan-400); }
.topbar-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.topbar svg { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.8; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 11, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: var(--header-h);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}
.logo-img {
  height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 0.35rem 0.55rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.footer-brand .logo-img {
  height: 72px;
  max-width: 220px;
  padding: 0.45rem 0.65rem;
}
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-mid), var(--brand-navy));
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(26, 47, 107, 0.45);
}
.logo-mark svg { width: 24px; height: 24px; color: white; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.logo-text span {
  font-size: 0.7rem;
  color: var(--cyan-400);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav > a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--slate-300);
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}
.nav > a:hover,
.nav > a.active {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.nav-dropdown:hover,
.nav-dropdown.open {
  background: rgba(255,255,255,0.05);
}
.nav-parent-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.35rem 0.5rem 0.85rem;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--slate-300);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  transition: color var(--transition);
}
.nav-parent-link:hover,
.nav-dropdown.open .nav-parent-link,
.nav-parent-link.active {
  color: var(--white);
}
.nav-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.65rem 0.5rem 0.25rem;
  font-size: 0.925rem;
  color: var(--slate-300);
  border: none;
  background: transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  transition: color var(--transition);
}
.nav-chevron:hover,
.nav-dropdown.open .nav-chevron {
  color: var(--white);
}
.nav-chevron svg {
  width: 14px; height: 14px;
  transition: transform var(--transition);
}
.nav-dropdown.open .nav-chevron svg { transform: rotate(180deg); }
/* Hover opens dropdown on desktop */
@media (hover: hover) and (pointer: fine) {
  .nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.dropdown-menu a:hover { background: rgba(255,255,255,0.05); }
.dropdown-menu .dd-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan-400);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.dropdown-menu .dd-icon svg { width: 18px; height: 18px; }
.dropdown-menu strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.1rem;
}
.dropdown-menu small {
  font-size: 0.75rem;
  color: var(--slate-400);
  line-height: 1.3;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  place-items: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-size: 0.925rem;
  font-weight: 600;
  line-height: 1.25;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.btn:active { transform: scale(0.98); }
.hero-actions {
  align-items: center;
}
.hero-actions .btn {
  text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-mid), var(--brand-navy));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(26, 47, 107, 0.45);
}
.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(36, 74, 138, 0.55);
  transform: translateY(-1px);
}
.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.12);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}
.btn-outline {
  background: transparent;
  color: var(--cyan-400);
  border: 1px solid rgba(34, 211, 238, 0.35);
}
.btn-outline:hover {
  background: rgba(34, 211, 238, 0.08);
  border-color: var(--cyan-400);
}
.btn-lg {
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}
.btn-block { width: 100%; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 5rem 0 6rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7,11,22,0.94) 0%, rgba(7,11,22,0.82) 48%, rgba(7,11,22,0.55) 100%),
    url("/assets/hero-security.jpg") center/cover no-repeat;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(36, 74, 138, 0.2), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(26, 47, 107, 0.18), transparent 50%);
  z-index: -1;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  z-index: -1;
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan-400);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 8px var(--cyan-400);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  margin-bottom: 1.25rem;
  max-width: 16ch;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-lead {
  font-size: 1.125rem;
  color: var(--slate-300);
  max-width: 42ch;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.hero-stats div span {
  font-size: 0.8rem;
  color: var(--slate-400);
}

.hero-card {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan-500), var(--blue-600));
}
.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.hero-card-header h3 {
  font-size: 1rem;
  font-weight: 600;
}
.status-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--success);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.status-live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}
.monitor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}
.monitor-feed {
  aspect-ratio: 16/10;
  border-radius: var(--radius-sm);
  background: var(--navy-950) center/cover no-repeat;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0.5rem;
}
.monitor-feed::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.65) 100%),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.02) 2px, rgba(255,255,255,0.02) 4px);
}
.monitor-feed span {
  position: relative;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--slate-400);
  background: rgba(0,0,0,0.5);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}
.monitor-feed:nth-child(1)::after,
.monitor-feed:nth-child(3)::after {
  content: "AI";
  position: absolute;
  top: 0.4rem; right: 0.4rem;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--cyan-400);
  background: rgba(34,211,238,0.15);
  border: 1px solid rgba(34,211,238,0.3);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}
.alert-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid rgba(34, 211, 238, 0.15);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}
.alert-row:last-child { margin-bottom: 0; }
.alert-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(34, 211, 238, 0.15);
  color: var(--cyan-400);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.alert-icon svg { width: 16px; height: 16px; }
.alert-row strong {
  display: block;
  font-size: 0.8rem;
  color: var(--white);
  font-weight: 600;
}
.alert-row span {
  font-size: 0.7rem;
  color: var(--slate-400);
}

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-400);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  max-width: 22ch;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--slate-300);
  max-width: 52ch;
  margin-bottom: 2.5rem;
}
.section-header {
  margin-bottom: 3rem;
}
.section-header.centered {
  text-align: center;
}
.section-header.centered .section-title,
.section-header.centered .section-lead {
  margin-inline: auto;
  max-width: 40ch;
}
.section-header.centered .section-lead { max-width: 52ch; }

.section-light {
  background: var(--off-white);
  color: var(--navy-900);
}
.section-light h2,
.section-light h3,
.section-light h4 { color: var(--navy-900); }
.section-light p,
.section-light .section-lead { color: #4a5568; }
.section-light .section-label { color: var(--cyan-600); }

.section-alt {
  background: var(--navy-900);
  border-block: 1px solid rgba(255,255,255,0.04);
}

/* ============================================================
   Service cards
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 125, 214, 0.35);
  box-shadow: var(--shadow-md), 0 0 30px rgba(36, 74, 138, 0.15);
}
.service-card-img {
  height: 160px;
  background: var(--navy-900) center/cover no-repeat;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.service-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 28, 48, 0.55) 100%);
  pointer-events: none;
}
.service-card-body {
  padding: 1.35rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.service-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(61,125,214,0.18), rgba(26,47,107,0.35));
  border: 1px solid rgba(61, 125, 214, 0.25);
  color: var(--cyan-400);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  margin-top: -2.35rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}
.service-card p {
  font-size: 0.925rem;
  flex-grow: 1;
  margin-bottom: 1.15rem;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cyan-400);
  transition: gap var(--transition);
}
.card-link:hover { gap: 0.65rem; }
.card-link svg { width: 16px; height: 16px; }

/* ============================================================
   Features / Benefits
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-item {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
}
.feature-item .fi-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan-400);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}
.feature-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.feature-item p { font-size: 0.925rem; }

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  counter-reset: step;
  position: relative;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,0.3), transparent);
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-step .step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy-800);
  border: 2px solid rgba(34, 211, 238, 0.4);
  color: var(--cyan-400);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.1);
}
.process-step h3 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.process-step p {
  font-size: 0.8rem;
  color: var(--slate-400);
  line-height: 1.45;
}

/* Industries */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
a.industry-card { color: inherit; text-decoration: none; }
.industry-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  background: var(--navy-800) center/cover no-repeat;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: border-color var(--transition), transform var(--transition);
}
.industry-card:hover {
  border-color: rgba(61, 125, 214, 0.4);
  transform: translateY(-3px);
}
.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,11,22,0.25) 0%, rgba(7,11,22,0.55) 40%, rgba(7,11,22,0.94) 100%);
  z-index: 0;
}
.industry-card .ind-icon {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan-400);
  display: grid;
  place-items: center;
  z-index: 1;
}
.industry-card .ind-icon svg { width: 24px; height: 24px; }
.industry-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}
.industry-card p {
  position: relative;
  z-index: 1;
  font-size: 0.875rem;
  color: var(--slate-400);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.testimonial {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}
.testimonial .stars {
  color: var(--amber-400);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.testimonial blockquote {
  font-size: 0.95rem;
  color: var(--slate-200);
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}
.testimonial footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-500), var(--blue-600));
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
  flex-shrink: 0;
}
.testimonial footer strong {
  display: block;
  font-size: 0.9rem;
  color: var(--white);
}
.testimonial footer span {
  font-size: 0.8rem;
  color: var(--slate-400);
}

/* Why / about split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-visual {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.split-visual::before {
  content: "";
  position: absolute;
  top: -40%; right: -20%;
  width: 60%; height: 80%;
  background: radial-gradient(circle, rgba(34,211,238,0.12), transparent 70%);
  pointer-events: none;
}
.check-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.check-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.check-list .check {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.check-list .check svg { width: 14px; height: 14px; }
.check-list strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}
.check-list span {
  font-size: 0.875rem;
  color: var(--slate-400);
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-800) 0%, #0c1a32 50%, var(--navy-800) 100%);
  border: 1px solid rgba(34, 211, 238, 0.15);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 20% 50%, rgba(6,182,212,0.1), transparent),
    radial-gradient(ellipse 50% 80% at 80% 50%, rgba(37,99,235,0.1), transparent);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
  position: relative;
}
.cta-banner p {
  font-size: 1.05rem;
  max-width: 48ch;
  margin: 0 auto 1.75rem;
  position: relative;
}
.cta-banner .hero-actions {
  justify-content: center;
  margin-bottom: 0;
  position: relative;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 4rem 0 3.5rem;
  background:
    radial-gradient(ellipse 70% 80% at 80% 0%, rgba(36,74,138,0.15), transparent 50%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}
.page-hero.has-image {
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  padding: 5rem 0 3.5rem;
}
.page-hero.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.page-hero.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(7,11,22,0.92) 0%, rgba(7,11,22,0.78) 45%, rgba(7,11,22,0.45) 100%);
  z-index: 0;
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--slate-400);
  margin-bottom: 1.25rem;
}
.page-hero .breadcrumb a:hover { color: var(--cyan-400); }
.page-hero .breadcrumb svg { width: 14px; height: 14px; opacity: 0.5; }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  max-width: 20ch;
}
.page-hero .lead {
  font-size: 1.1rem;
  max-width: 55ch;
  color: var(--slate-300);
}

/* Content layouts */
.content-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}
.content-stack > * + * { margin-top: 1.25rem; }
.prose h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
}
.prose h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}
.prose p { margin-bottom: 1rem; }
.prose ul {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.prose ul li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--slate-300);
  font-size: 0.95rem;
}
.prose ul li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan-400);
  margin-top: 0.55rem;
  flex-shrink: 0;
}

.sidebar-card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.sidebar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.sidebar-card p {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}
.sidebar-card .contact-bits {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.sidebar-card .contact-bits a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--slate-300);
  transition: color var(--transition);
}
.sidebar-card .contact-bits a:hover { color: var(--cyan-400); }
.sidebar-card .contact-bits svg {
  width: 18px; height: 18px;
  color: var(--cyan-400);
  flex-shrink: 0;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 800px;
}
.faq-item {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item summary {
  padding: 1.15rem 1.35rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(255,255,255,0.03); }
.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--cyan-400);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item .faq-body {
  padding: 0 1.35rem 1.25rem;
  color: var(--slate-300);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Forms */
.form-group {
  margin-bottom: 1.15rem;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-200);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--navy-900);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--slate-400); opacity: 0.7; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-note {
  font-size: 0.8rem;
  color: var(--slate-400);
  margin-top: 0.75rem;
}
.form-success {
  display: none;
  padding: 1rem 1.25rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
  color: var(--success);
  font-weight: 500;
  margin-bottom: 1rem;
}
.form-success.show { display: block; }

/* Contact page layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.info-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
}
.info-card .ic-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan-400);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.info-card .ic-icon svg { width: 20px; height: 20px; }
.info-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.info-card p, .info-card a {
  font-size: 0.9rem;
  color: var(--slate-300);
}
.info-card a:hover { color: var(--cyan-400); }

.form-panel {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

/* About values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
}
.value-card .vc-icon {
  width: 56px; height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34,211,238,0.15), rgba(37,99,235,0.15));
  color: var(--cyan-400);
  display: grid;
  place-items: center;
}
.value-card .vc-icon svg { width: 28px; height: 28px; }
.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.value-card p { font-size: 0.9rem; }

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--cyan-400);
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}
.stat-item span {
  font-size: 0.9rem;
  color: var(--slate-400);
}

/* Footer */
.site-footer {
  background: var(--navy-900);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--slate-400);
  margin: 1rem 0 1.25rem;
  max-width: 32ch;
}
.footer-address {
  font-size: 0.875rem !important;
  line-height: 1.6;
  margin: 0 0 1.15rem !important;
}
.footer-address strong { color: var(--white); font-weight: 600; }
.footer-address a { color: var(--slate-300); }
.footer-address a:hover { color: var(--cyan-400); }
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 1.15rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col a {
  font-size: 0.9rem;
  color: var(--slate-400);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--cyan-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--slate-400);
}
.footer-bottom a:hover { color: var(--cyan-400); }

/* Utility */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-cyan { color: var(--cyan-400); }
.two-col-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
}
.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.benefit-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.benefit-list .bi {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan-400);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.benefit-list .bi svg { width: 20px; height: 20px; }
.benefit-list h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.benefit-list p {
  font-size: 0.9rem;
  color: var(--slate-400);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy-950);
  z-index: 200;
  padding: calc(var(--header-h) + 0.75rem) 1.25rem 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  pointer-events: none;
}
.mobile-nav.open {
  transform: translateX(0);
  display: block;
  pointer-events: auto;
}
.mobile-nav > a,
.mobile-nav .mob-group-link {
  display: flex;
  align-items: center;
  padding: 0.95rem 0.15rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--slate-200);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
}
.mobile-nav > a:active,
.mobile-nav .mob-group-link:active {
  color: var(--white);
}
.mobile-nav .mob-group {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav .mob-group-row {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.mobile-nav .mob-group-link {
  flex: 1;
  border-bottom: none;
  min-width: 0;
}
.mobile-nav .mob-group-toggle {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: none;
  background: transparent;
  color: var(--cyan-400);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.mobile-nav .mob-group-toggle:active {
  background: rgba(255,255,255,0.06);
}
.mobile-nav .mob-sub {
  display: none;
  padding: 0 0 0.5rem 0.85rem;
}
.mobile-nav .mob-group.open .mob-sub {
  display: block;
}
.mobile-nav .mob-group.open .mob-group-toggle {
  transform: none;
}
.mobile-nav .mob-group.open .mob-group-toggle::before {
  content: "−";
}
.mobile-nav .mob-group-toggle::before {
  content: "+";
  font-weight: 400;
}
.mobile-nav .mob-sub a {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-400);
  padding: 0.7rem 0.15rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  text-decoration: none;
}
.mobile-nav .mob-sub a:last-child {
  border-bottom: none;
}
.mobile-nav .mob-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mobile-nav .mob-cta .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero h1 { max-width: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .process-steps::before { display: none; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .nav {
    display: none !important;
  }
  .nav .dropdown-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  .header-cta .btn { display: none; }
  .nav-toggle { display: grid; }
  .site-header { z-index: 220; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .two-col-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-banner { padding: 2.25rem 1.5rem; }
  .hero { padding: 3rem 0 4rem; }
  .section { padding: 3.5rem 0; }
  .topbar-links span.hide-sm { display: none; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.25rem; }
  .monitor-grid { grid-template-columns: 1fr; }
  .logo-img { height: 44px; max-width: 140px; }
}

/* ============================================================
   Media / photo blocks
   ============================================================ */
.media-banner {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 280px;
  background: var(--navy-800) center/cover no-repeat;
  border: 1px solid rgba(255,255,255,0.08);
}
.media-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,11,22,0.88) 0%, rgba(7,11,22,0.55) 55%, rgba(7,11,22,0.25) 100%);
}
.media-banner-inner {
  position: relative;
  z-index: 1;
  padding: 2.5rem;
  max-width: 36rem;
}
.media-banner-inner h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 0.75rem;
}
.media-banner-inner p {
  margin-bottom: 1.25rem;
}
.home-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 180px 180px;
  gap: 0.85rem;
}
.home-gallery-lg {
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  grid-template-rows: 170px 170px;
}
.home-gallery-lg figure:first-child {
  grid-row: span 2;
}
.home-gallery figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
  min-height: 0;
}
.home-gallery figure:first-child {
  grid-row: span 2;
}
.home-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease);
}
.home-gallery figure:hover img {
  transform: scale(1.04);
}
.home-gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.1rem 0.9rem 0.75rem;
  background: linear-gradient(transparent, rgba(7,11,22,0.9));
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 200px;
  background: var(--navy-800) center/cover no-repeat;
  border: 1px solid rgba(255,255,255,0.08);
}
.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7,11,22,0.9) 100%);
}
.photo-card span {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 1;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
}
.split-photo {
  border-radius: var(--radius-xl);
  min-height: 360px;
  background: var(--navy-800) center/cover no-repeat;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-lg);
}
.form-error {
  display: none;
  padding: 0.85rem 1.1rem;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-sm);
  color: #fca5a5;
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.form-error.show { display: block; }
.btn.loading {
  opacity: 0.75;
  pointer-events: none;
}
@media (max-width: 1024px) {
  .home-gallery-lg {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 160px 150px 150px;
  }
  .home-gallery-lg figure:first-child {
    grid-column: span 1;
    grid-row: span 2;
  }
}
@media (max-width: 768px) {
  .photo-grid { grid-template-columns: 1fr; }
  .split-photo { min-height: 220px; }
  .page-hero.has-image { min-height: 300px; padding: 3.5rem 0 2.5rem; }
  .service-gallery { grid-template-columns: 1fr; }
  .service-feature-img { min-height: 220px; }
  .home-gallery,
  .home-gallery-lg {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }
  .home-gallery figure:first-child,
  .home-gallery-lg figure:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
  .home-gallery figure,
  .home-gallery-lg figure {
    min-height: 150px;
  }
  .topbar-links a:last-child { display: none; }
}
@media (max-width: 480px) {
  .home-gallery,
  .home-gallery-lg {
    grid-template-columns: 1fr;
  }
  .home-gallery figure:first-child,
  .home-gallery-lg figure:first-child {
    grid-column: auto;
  }
}

/* Service page imagery */
.service-feature-img {
  width: 100%;
  min-height: 280px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-md);
  margin: 1.5rem 0 2rem;
  background: var(--navy-800);
}
.service-gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
.service-gallery figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--navy-800);
  position: relative;
}
.service-gallery figure img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}
.service-gallery figure:hover img {
  transform: scale(1.03);
}
.service-gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.25rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(7,11,22,0.92));
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
}
.service-gallery figure:first-child {
  grid-row: span 1;
}
.service-gallery.tall figure:first-child img {
  min-height: 320px;
}
.sidebar-card .sidebar-photo {
  width: calc(100% + 3.5rem);
  margin: -1.75rem -1.75rem 1.25rem;
  height: 160px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  margin: 1.5rem 0 2rem;
  box-shadow: var(--shadow-md);
}
.img-frame img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

/* ============================================================
   Industry pages (wireframe: header → challenges → services → FAQ → CTA)
   ============================================================ */
.challenge-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.challenge-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 1.75rem;
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
}
.challenge-row.reverse .challenge-copy { order: 2; }
.challenge-row.reverse .challenge-media { order: 1; }
.challenge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(61, 125, 214, 0.15);
  color: var(--cyan-400);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}
.challenge-copy h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.challenge-copy p {
  font-size: 0.975rem;
  line-height: 1.7;
}
.challenge-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 220px;
  background: var(--navy-900) center/cover no-repeat;
  border: 1px solid rgba(255,255,255,0.06);
}
.challenge-media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}
.industry-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.industry-service-card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition);
}
.industry-service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(61, 125, 214, 0.35);
}
.industry-service-card .isc-img {
  height: 160px;
  background: var(--navy-900) center/cover no-repeat;
}
.industry-service-card .isc-body {
  padding: 1.35rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.industry-service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}
.industry-service-card p {
  font-size: 0.9rem;
  flex-grow: 1;
  margin-bottom: 1.1rem;
}
.industry-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.industry-hub-card {
  display: flex;
  flex-direction: column;
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
  height: 100%;
}
.industry-hub-card:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 125, 214, 0.35);
}
.industry-hub-card .ihc-img {
  height: 150px;
  background: var(--navy-900) center/cover no-repeat;
}
.industry-hub-card .ihc-body {
  padding: 1.35rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.industry-hub-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.industry-hub-card p {
  font-size: 0.9rem;
  flex-grow: 1;
  margin-bottom: 1rem;
}
@media (max-width: 1024px) {
  .industry-services,
  .industry-hub-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .challenge-row,
  .challenge-row.reverse {
    grid-template-columns: 1fr;
  }
  .challenge-row.reverse .challenge-copy,
  .challenge-row.reverse .challenge-media { order: unset; }
  .industry-services,
  .industry-hub-grid { grid-template-columns: 1fr; }
}
