/* ============================================================
   IT Realms — home.css
   Cinematic homepage overrides & enhancements
   ============================================================ */

/* ============================================================
   REVEAL ANIMATIONS — scroll-triggered entrance effects
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible,
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.96) translateY(16px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-scale.is-visible,
.reveal-scale.visible {
  opacity: 1;
  transform: none;
}
/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-stagger.is-visible > *,
.reveal-stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:0s; }
.reveal-stagger.is-visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.08s; }
.reveal-stagger.is-visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.16s; }
.reveal-stagger.is-visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.24s; }
.reveal-stagger.is-visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:0.32s; }
.reveal-stagger.is-visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:0.40s; }
.reveal-stagger.is-visible > *:nth-child(7) { opacity:1; transform:none; transition-delay:0.48s; }
.reveal-stagger.is-visible > *:nth-child(8) { opacity:1; transform:none; transition-delay:0.56s; }


/* ============================================================
   SECTION EYEBROW — consistent across all sections
   ============================================================ */

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal);
  flex-shrink: 0;
}


/* ============================================================
   CLIENT PROOF BAR — enhanced
   ============================================================ */

.home-clients-bar {
  position: relative;
  overflow: hidden;
  background: #020810;
  border-top: 1px solid rgba(38,204,202,0.12);
  border-bottom: 1px solid rgba(38,204,202,0.12);
}

.hcb-stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hcb-nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hcb-nebula--teal {
  width: 300px;
  height: 300px;
  top: -50%;
  left: 20%;
  background: radial-gradient(circle, rgba(38,204,202,0.15), transparent 70%);
}

.hcb-nebula--blue {
  width: 250px;
  height: 250px;
  top: -40%;
  right: 15%;
  background: radial-gradient(circle, rgba(26,26,46,0.5), transparent 70%);
}

.hcb-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(38,204,202,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38,204,202,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.home-clients-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-align: center;
  margin-bottom: 20px;
}

.home-clients-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
}

.home-client-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 20px;
}

.home-client-item > span:first-of-type {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.3s ease;
}

.home-client-item:hover > span:first-of-type {
  color: var(--teal);
}

.home-client-sector {
  font-size: 0.65rem;
  color: rgba(255,230,37,0.6);
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
}

.home-client-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .home-client-divider { display: none; }
  .home-client-item { padding: 8px 16px; }
}


/* ============================================================
   MISSION SECTION — upgraded visual impact
   ============================================================ */

.home-mission {
  position: relative;
  background: #f6faff;
  padding: 48px 0;
  overflow: hidden;
}

/* Binary code texture layer — subtle depth */
.home-mission::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/binary_code_abstract_background_by_lagartofilm_gettyimages-583977080_2400x1600-100788490-large.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

/* Dual radial glows — top-right teal + bottom-left yellow */
.home-mission::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 80% 10%, rgba(38,204,202,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 90%, rgba(255,230,37,0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.msn-bg-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.msn-bg-lines span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(38,204,202,0.06), transparent);
}

.msn-bg-lines span:nth-child(1) { left: 10%; animation: lineGlow 4s ease-in-out infinite; }
.msn-bg-lines span:nth-child(2) { left: 25%; animation: lineGlow 4s ease-in-out 0.5s infinite; }
.msn-bg-lines span:nth-child(3) { left: 50%; animation: lineGlow 4s ease-in-out 1s infinite; }
.msn-bg-lines span:nth-child(4) { left: 75%; animation: lineGlow 4s ease-in-out 1.5s infinite; }
.msn-bg-lines span:nth-child(5) { left: 90%; animation: lineGlow 4s ease-in-out 2s infinite; }

@keyframes lineGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.msn-bg-word {
  position: absolute;
  right: -1%;
  bottom: -0.15em;
  font-family: var(--font-heading);
  font-size: clamp(6rem, 16vw, 15rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(38,204,202,0.06);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
  z-index: 2;
}

.home-mission .ui-container {
  position: relative;
  z-index: 3;
}

.home-mission-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.home-mission-text .section-eyebrow { margin-bottom: 20px; }

.home-mission-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--heading);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.home-mission-text h2 em {
  color: var(--teal);
  font-style: normal;
}

.home-mission-text > p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 28px;
}

.msn-proof-block {
  display: flex;
  gap: 16px;
  background: rgba(38,204,202,0.04);
  border: 1px solid rgba(38,204,202,0.12);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 28px;
}

.msn-proof-accent {
  width: 3px;
  background: var(--teal);
  border-radius: 2px;
  flex-shrink: 0;
}

.msn-proof-block p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-light);
  font-style: italic;
  margin: 0;
}

.msn-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
  transition: gap 0.3s ease, color 0.3s ease;
}

.msn-cta-link:hover { gap: 14px; color: var(--yellow); }

/* Right column: image stacked above stats */
.home-mission-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-mission-img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  border-radius: 14px;
  display: block;
}

/* Stats grid — 2×2 */
.home-mission-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.home-mission-stat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 12px;
  background: #fff;
  text-align: left;
  border-radius: 10px;
  border: 1px solid var(--border);
  border-top: 2px solid var(--teal);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

/* Layer 1 — fine dot grid drifting diagonally */
.home-mission-stat::before {
  content: '';
  position: absolute;
  inset: -20px;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(38,204,202,0.22) 1px, transparent 1px);
  background-size: 16px 16px;
  animation: statDotDrift 12s linear infinite;
  pointer-events: none;
}

/* Layer 2 — coarser grid at slower speed (parallax depth) */
.home-mission-stat::after {
  content: '';
  position: absolute;
  inset: -20px;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(38,204,202,0.12) 1.5px, transparent 1.5px);
  background-size: 36px 36px;
  background-position: 8px 8px;
  animation: statDotDriftSlow 22s linear infinite;
  pointer-events: none;
}

/* Lift all children above animated layers */
.home-mission-stat > * { position: relative; z-index: 1; }

.home-mission-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(38,204,202,0.14);
}

@keyframes statDotDrift {
  from { background-position: 0 0; }
  to   { background-position: 16px 16px; }
}

@keyframes statDotDriftSlow {
  from { background-position: 8px 8px, 0 0; }
  to   { background-position: 44px 44px, 0 0; }
}

.msn-stat-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(38,204,202,0.08);
  border: 1px solid rgba(38,204,202,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}
.msn-stat-icon i { width: 13px; height: 13px; }

.msn-stat-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.home-mission-stat .home-stat-number {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  display: block;
  letter-spacing: -0.02em;
}

.home-mission-stat-label {
  font-size: 0.56rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .home-mission-inner { grid-template-columns: 1fr; gap: 48px; }
}


/* ============================================================
   SECTORS SECTION — dramatic dark cards
   ============================================================ */

/* ── SOLUTIONS BY SECTOR ─────────────────────────────────────── */
.home-sectors {
  position: relative;
  overflow: hidden;
  background-color: #06060f;
  background-image:
    linear-gradient(rgba(6,6,18,0.99), rgba(6,6,18,0.99)),
    url('../../images/kUAgC-removebg-preview.png');
  background-size: auto, 50%;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  padding: 100px 0;
}

/* z-index lanes: canvas(1) → word(2) → content(3) */
.sectors-stars-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

.sectors-bg-word {
  position: absolute;
  right: -1%;
  bottom: -0.15em;
  font-family: var(--font-heading);
  font-size: clamp(6rem, 16vw, 15rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.05);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
  z-index: 2;
}

.home-sectors .ui-container {
  position: relative;
  z-index: 3;
}

.home-sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.home-sector-card {
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.07);
}

.home-sector-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  background: rgba(255,255,255,0.01);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: background 0.4s ease;
}

.home-sector-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--teal), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.home-sector-card:hover {
  background: rgba(38,204,202,0.04);
}

.home-sector-card:hover::before {
  transform: scaleX(1);
}

.sc-ghost-num {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(38,204,202,0.04);
  line-height: 1;
  pointer-events: none;
  transition: color 0.3s ease, transform 0.4s ease;
}

.home-sector-card:hover .sc-ghost-num {
  color: rgba(38,204,202,0.08);
  transform: scale(1.1);
}

.sc-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.sc-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(38,204,202,0.1);
  border: 1px solid rgba(38,204,202,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.home-sector-card:hover .sc-icon-wrap {
  background: rgba(38,204,202,0.18);
  border-color: rgba(38,204,202,0.4);
}

.sc-meta {
  flex: 1;
}

.sc-num {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(38,204,202,0.5);
  display: block;
  margin-bottom: 6px;
}

.sc-meta h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.3;
  margin: 0;
}

.home-sector-card > p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
  flex: 1;
}

.sc-caps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.sc-caps span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(38,204,202,0.08);
  color: rgba(38,204,202,0.7);
  border: 1px solid rgba(38,204,202,0.12);
}

.sc-clients {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  margin-bottom: 20px;
  line-height: 1.6;
}

.sc-client-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,230,37,0.45);
  display: block;
  margin-bottom: 4px;
}

.sc-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: auto;
  transition: gap 0.3s ease;
}

.home-sector-card:hover .sc-footer { gap: 14px; }

@media (max-width: 900px) {
  .home-sectors-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .home-sectors-grid { grid-template-columns: 1fr; }
  .home-sector-card { padding: 28px 24px; }
}


/* ============================================================
   ECOSYSTEM SECTION — enhanced
   ============================================================ */

.home-ecosystem {
  background: #edf3fb;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
/* Crosshatch grid overlay */
.home-ecosystem::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(38,204,202,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38,204,202,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 0;
}
/* Central radial glow */
.home-ecosystem::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70%; height: 70%;
  background: radial-gradient(ellipse at center, rgba(38,204,202,0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.home-ecosystem > * { position: relative; z-index: 1; }

.eco-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(38,204,202,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38,204,202,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}


/* ============================================================
   DELIVERY MODEL — dramatic timeline
   ============================================================ */

.home-delivery {
  background-color: #06060f;
  background-image: linear-gradient(rgba(6,6,18,0.99), rgba(6,6,18,0.99)), url('../../images/sector-bg-arrow.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 48px 0;
  overflow: hidden;
  position: relative;
}

.hdel-bg-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hdel-bg-lines span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(38,204,202,0.04), transparent);
}

.hdel-bg-lines span:nth-child(1) { left: 25%; }
.hdel-bg-lines span:nth-child(2) { left: 50%; }
.hdel-bg-lines span:nth-child(3) { left: 75%; }
.hdel-bg-lines span:nth-child(4) { right: 10%; }

.hdel-bg-word {
  position: absolute;
  right: -1%;
  bottom: -0.15em;
  font-family: var(--font-heading);
  font-size: clamp(6rem, 16vw, 15rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.04);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
  z-index: 2;
}

.home-delivery .ui-container {
  position: relative;
  z-index: 3;
}

.home-delivery .section-eyebrow { color: var(--teal); }
.home-delivery h2 { color: #fff; }
.home-delivery h2 em { color: var(--teal); font-style: normal; }
.home-delivery .ui-section-lead { color: rgba(255,255,255,0.45); }

.hdel-split {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 56px;
}

.hdel-phase {
  display: flex;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.25s ease;
  margin-bottom: 4px;
}

.hdel-phase:hover { background: rgba(38,204,202,0.04); }

.hdel-phase.active {
  background: rgba(38,204,202,0.08);
  border: 1px solid rgba(38,204,202,0.15);
}

.hdel-phase-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hdel-phase-marker {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.hdel-phase-marker span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  line-height: 1;
}

.hdel-phase.active .hdel-phase-marker {
  border-color: var(--teal);
  background: rgba(38,204,202,0.12);
}

.hdel-phase.active .hdel-phase-marker span { color: var(--yellow); }

.hdel-phase-pipe {
  width: 1px;
  flex: 1;
  min-height: 24px;
  background: rgba(255,255,255,0.06);
  margin: 4px 0 -8px; /* -8px bridges the 4px phase margin-bottom gap */
}

.hdel-phase-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 6px;
}

.hdel-phase-info strong {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color 0.25s ease;
}

.hdel-phase-info span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

.hdel-phase.active .hdel-phase-info strong { color: #fff; }
.hdel-phase.active .hdel-phase-info span { color: rgba(38,204,202,0.6); }

.hdel-panels {
  position: relative;
}

.hdel-panel {
  display: none;
  padding: 44px 48px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.hdel-panel.active { display: block; }

.hdel-panel-ghost {
  position: absolute;
  right: 32px;
  top: 20px;
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 700;
  color: rgba(38,204,202,0.04);
  line-height: 1;
  pointer-events: none;
}

.hdel-panel-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(38,204,202,0.1);
  border: 1px solid rgba(38,204,202,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin: 0 auto 20px;
}

.hdel-panel-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.hdel-panel h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hdel-panel > p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
}

.hdel-deliverables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
  list-style: none;
  padding: 0;
}

.hdel-deliverables li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

.hdel-deliverables li svg {
  color: var(--teal);
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}

.hdel-outcome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(38,204,202,0.06);
  border: 1px solid rgba(38,204,202,0.12);
  border-radius: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}

.hdel-outcome svg {
  color: var(--teal);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

@media (max-width: 900px) {
  .hdel-split { grid-template-columns: 1fr; gap: 32px; }
  .hdel-phase-pipe { display: none; }
  .hdel-nav { display: flex; overflow-x: auto; gap: 8px; }
  .hdel-phase { flex-direction: column; align-items: center; text-align: center; min-width: 120px; padding: 12px 8px; }
  .hdel-phase-left { flex-direction: row; }
  .hdel-phase-info span { display: none; }
  .hdel-panel { padding: 28px 24px; }
  .hdel-deliverables { grid-template-columns: 1fr; }
}


/* ============================================================
   SERVICES SECTION — cinematic dark grid
   ============================================================ */

.home-services {
  background-color: #08080e;
  background-image:
    linear-gradient(rgba(8,8,14,0.96), rgba(8,8,14,0.96)),
    url('../../images/services-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 48px 0;
  overflow: hidden;
  position: relative;
}

.hsv-bg-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hsv-bg-lines span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(38,204,202,0.03), transparent);
}

.hsv-bg-lines span:nth-child(1) { left: 12%; }
.hsv-bg-lines span:nth-child(2) { left: 24%; }
.hsv-bg-lines span:nth-child(3) { left: 37%; }
.hsv-bg-lines span:nth-child(4) { left: 50%; }
.hsv-bg-lines span:nth-child(5) { left: 63%; }

.hsv-bg-word {
  position: absolute;
  right: -1%;
  bottom: -0.15em;
  font-family: var(--font-heading);
  font-size: clamp(8rem, 18vw, 18rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.015);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
  z-index: 2;
}

.home-services .ui-container {
  position: relative;
  z-index: 3;
}

.home-services .section-eyebrow { color: var(--teal); }
.home-services h2 { color: #fff; }
.home-services h2 em { color: var(--teal); font-style: normal; }
.home-services .ui-section-lead { color: rgba(255,255,255,0.65); }

.hsv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  margin-top: 56px;
}

.hsv-card {
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.07);
}

.hsv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 28px;
  background: rgba(255,255,255,0.01);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: background 0.35s ease;
}

.hsv-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--teal), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.hsv-card:hover {
  background: rgba(38,204,202,0.04);
}

.hsv-card:hover::before {
  transform: scaleX(1);
}

.hsv-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--teal), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.hsv-card:hover .hsv-card-accent { transform: scaleX(1); }

.hsv-ghost {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  transition: color 0.3s ease;
}

.hsv-card:hover .hsv-ghost { color: rgba(255,230,37,0.07); }

.hsv-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.hsv-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(38,204,202,0.08);
  border: 1px solid rgba(38,204,202,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.hsv-card:hover .hsv-icon {
  background: rgba(38,204,202,0.15);
  border-color: rgba(38,204,202,0.35);
}

.hsv-num {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255,255,255,0.15);
  letter-spacing: 0.1em;
}

.hsv-card h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
  line-height: 1.3;
  text-align: center;
  transition: color 0.3s ease;
}

.hsv-card:hover h3 { color: #fff; }

.hsv-card > p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
  flex: 1;
  transition: color 0.3s ease;
}

.hsv-card:hover > p { color: rgba(255,255,255,0.5); }

.hsv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.hsv-tags span {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(38,204,202,0.06);
  color: rgba(38,204,202,0.55);
  border: 1px solid rgba(38,204,202,0.1);
  transition: background 0.2s ease, color 0.2s ease;
}

.hsv-card:hover .hsv-tags span {
  background: rgba(38,204,202,0.1);
  color: rgba(38,204,202,0.8);
}

.hsv-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(38,204,202,0.5);
  margin-top: auto;
  transition: color 0.3s ease, gap 0.3s ease;
}

.hsv-card:hover .hsv-footer {
  color: var(--teal);
  gap: 14px;
}

@media (max-width: 1024px) {
  .hsv-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .hsv-grid { grid-template-columns: 1fr; }
  .hsv-card { padding: 28px 24px; }
}


/* ============================================================
   HOME PROOF BAND — unified Standards · KPIs · Stack
   ============================================================ */

.home-proof-band {
  background-color: #ffffff;
  background-image:
    linear-gradient(rgba(38,204,202,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38,204,202,0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  border-top: 2px solid rgba(38,204,202,0.3);
  border-bottom: 2px solid rgba(38,204,202,0.3);
}

/* Shared row title */
.hpb-row-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  text-align: center;
  margin: 0 0 16px;
}

/* ── Row 1: Standards ── */
.hpb-standards {
  padding: 20px 0 16px;
}

.hpb-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hpb-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(13,27,46,0.6);
  border: 1px solid rgba(13,27,46,0.15);
  border-radius: 100px;
  padding: 5px 18px;
  transition: color 0.2s, border-color 0.2s;
}

.hpb-pill:hover {
  color: var(--teal);
  border-color: rgba(38,204,202,0.5);
}

/* ── Row 2: KPIs ── */
.hpb-kpis {
  padding: 16px 0;
  background: rgba(255,255,255,0.75);
  border-top: 1px solid rgba(38,204,202,0.2);
  border-bottom: 1px solid rgba(38,204,202,0.2);
}

.hpb-kpis-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.hpb-kpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 1;
  min-width: 140px;
}

.hpb-kpi--rating {
  gap: 6px;
}

.hpb-stars {
  display: flex;
  gap: 2px;
}

.hpb-stars svg {
  width: 13px;
  height: 13px;
}

.hpb-kpi-val {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}

.hpb-kpi-label {
  font-size: 0.7rem;
  color: rgba(13,27,46,0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

.hpb-kpi-divider {
  width: 1px;
  height: 36px;
  background: rgba(13,27,46,0.1);
  flex-shrink: 0;
}

/* ── Row 3: Tech Marquee ── */
.hpb-marquee {
  padding: 14px 0 16px;
  background: rgba(255,255,255,0.75);
  border-top: 1px solid rgba(38,204,202,0.2);
}

.hpb-marquee-track-wrap {
  position: relative;
  overflow: hidden;
}

.hpb-marquee-track-wrap::before,
.hpb-marquee-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.hpb-marquee-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.95), transparent);
}

.hpb-marquee-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,0.95), transparent);
}

@media (max-width: 768px) {
  .hpb-kpi-divider { display: none; }
  .hpb-kpis-inner { justify-content: center; gap: 24px; }
}

/* ============================================================
   TRUST BAND — upgraded
   ============================================================ */

.home-trust-band {
  background: #fff;
  border-top: 1px solid rgba(38,204,202,0.2);
  border-bottom: 1px solid rgba(38,204,202,0.2);
  padding: 40px 0;
}

.htb-label {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  text-align: center;
  margin-bottom: 24px;
}

.htb-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.htb-item {
  padding: 6px 20px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(13,27,46,0.6);
  background: transparent;
  border: 1px solid rgba(13,27,46,0.15);
  border-radius: 100px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.htb-item:last-child { border-right: 1px solid rgba(13,27,46,0.15); }
.htb-item:hover { color: var(--teal); border-color: rgba(38,204,202,0.5); }


/* ============================================================
   TESTIMONIALS — bright section override
   ============================================================ */

.testimonials-section {
  background: #fff !important;
  color: #0d1b2e !important;
}

.testimonials-section .section-eyebrow { color: var(--teal); }
.testimonials-section .section-title   { color: #0d1b2e !important; }
.testimonials-section .ui-section-lead { color: rgba(13,27,46,0.6); }

.testi-card {
  background: #fff !important;
  border: 1px solid rgba(13,27,46,0.1) !important;
  box-shadow: 0 4px 24px rgba(13,27,46,0.07);
}

.testi-text {
  color: rgba(13,27,46,0.8) !important;
}

.testi-name {
  color: #0d1b2e !important;
}

.testi-role {
  color: rgba(13,27,46,0.5) !important;
}

.testi-btn {
  border: 1px solid rgba(13,27,46,0.15) !important;
  background: rgba(13,27,46,0.05) !important;
  color: rgba(13,27,46,0.6) !important;
}

.testi-btn:hover {
  background: var(--teal) !important;
  border-color: var(--teal) !important;
  color: #fff !important;
}

.testi-counter {
  color: rgba(13,27,46,0.35) !important;
}

/* ============================================================
   TECH MARQUEE — bright section override
   ============================================================ */

.ui-marquee-section {
  background: #fff !important;
  border-top: 1px solid rgba(38,204,202,0.2) !important;
  border-bottom: 1px solid rgba(38,204,202,0.2) !important;
  padding: 32px 0 28px;
}

.ui-marquee-section::before {
  background: linear-gradient(to right, #fff, transparent) !important;
}

.ui-marquee-section::after {
  background: linear-gradient(to left, #fff, transparent) !important;
}

.ui-marquee-label {
  font-family: var(--font-heading) !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  color: var(--teal) !important;
  opacity: 1 !important;
  margin-bottom: 24px !important;
}

.ui-marquee-item--text {
  color: rgba(13,27,46,0.65) !important;
}

.ui-marquee-dot {
  background: var(--teal) !important;
}

.ui-marquee-item--yellow {
  background: transparent !important;
  color: #0d1b2e !important;
  border: 1.5px solid var(--yellow);
  border-radius: 6px;
  padding: 4px 14px !important;
  font-weight: 700 !important;
}

.ui-marquee-item--yellow .ui-marquee-dot {
  background: var(--yellow) !important;
}

.ui-marquee-item--yellow:hover {
  background: var(--yellow) !important;
  color: #0d1b2e !important;
}


/* ============================================================
   HOME CTA — 2-column redesign
   ============================================================ */

.home-cta.ui-space-section {
  display: block;
  padding: 0;
  min-height: 0 !important;
}

.home-cta-inner {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 0;
  align-items: stretch;
}

/* LEFT: image panel */
.home-cta-visual {
  position: relative;
  overflow: hidden;
}

.home-cta-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.75;
}

/* gradient fade from left edge → right, blending into dark background */
.home-cta-visual-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(2,10,24,0.15) 0%, rgba(2,10,24,0.92) 80%, #020a18 100%),
    linear-gradient(to bottom, rgba(2,10,24,0.4) 0%, transparent 20%, transparent 80%, rgba(2,10,24,0.4) 100%);
  pointer-events: none;
}

/* animated teal vertical scan line on right edge */
.home-cta-scanline {
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(38,204,202,0.5) 40%, rgba(38,204,202,0.5) 60%, transparent);
  animation: ctaScanPulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ctaScanPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* RIGHT: content */
.home-cta .ui-space-content {
  text-align: left;
  padding: 3rem 3.5rem 3rem 2.5rem;
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-cta .section-eyebrow {
  justify-content: flex-start !important;
  margin-left: 0 !important;
}

/* STATS row */
.home-cta-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(38,204,202,0.15);
}

.home-cta-stat-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}

.home-cta-stat-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 5px;
}

/* Responsive */
@media (max-width: 900px) {
  .home-cta-inner {
    grid-template-columns: 1fr;
  }
  .home-cta-visual {
    height: 260px;
  }
  .home-cta .ui-space-content {
    padding: 3rem 2rem;
  }
}

/* ============================================================
   SPACE SECTION CTAs — button hover effects
   ============================================================ */

.ui-space-section a:first-of-type:hover {
  background: var(--teal-bright) !important;
  transform: translateY(-2px) !important;
}

.ui-space-section a:last-of-type:hover {
  border-color: var(--teal) !important;
  color: var(--teal) !important;
}


/* ============================================================
   SECTION HEADERS — shared across all home sections
   ============================================================ */

.ui-section-header {
  max-width: 700px;
}

.ui-section-header.text-center {
  margin: 0 auto;
  text-align: center;
}

.ui-section-header.text-center .section-eyebrow {
  justify-content: center;
}

.ui-section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: 16px;
}

.ui-section-header h2 em {
  color: var(--teal);
  font-style: normal;
}

.ui-section-lead {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-light);
}

/* ── Core Capabilities Section — dot-grid background ── */
.home-caps-section {
  position: relative;
  background-color: #f8f9fc;
}
.home-caps-section > * { position: relative; z-index: 1; }

/* ── Core Capabilities Grid (SVG draw-in section) ─── */
.home-caps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.home-cap-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-sm);
}
.home-cap-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-teal), 0 16px 40px rgba(0,0,0,0.08);
  border-color: rgba(38,204,202,0.4);
}
.home-cap-icon {
  width: 52px; height: 52px;
  background: rgba(38,204,202,0.09);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 4px;
  flex-shrink: 0;
  align-self: center;
  transition: background 0.2s;
}
.home-cap-item:hover .home-cap-icon {
  background: rgba(38,204,202,0.16);
}
.home-cap-icon svg { width: 28px; height: 28px; }
.home-cap-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--heading);
  text-align: center;
}
.home-cap-desc {
  font-size: 0.83rem;
  color: var(--text-light);
  line-height: 1.65;
  text-align: center;
}
@media (max-width: 900px) {
  .home-caps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .home-caps-grid { grid-template-columns: 1fr; }
}

/* ── Credibility Stats Strip ─────────────────────────── */
.cred-strip {
  background: #fff;
  border-top: 1px solid rgba(38,204,202,0.2);
  border-bottom: 1px solid rgba(38,204,202,0.2);
  padding: 28px 0;
}
/* when inside unified proof band, strip standalone styles */
.home-proof-band .cred-strip,
.hpb-kpis .cred-strip {
  background: transparent;
  border: none;
  padding: 0;
}
.cred-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cred-stat {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 160px;
  justify-content: center;
}
.cred-divider {
  width: 1px;
  height: 36px;
  background: rgba(13,27,46,0.12);
  flex-shrink: 0;
}
.cred-kpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.cred-kpi-val {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}
.cred-kpi-label {
  font-size: 0.72rem;
  color: rgba(13,27,46,0.5);
  letter-spacing: 0.05em;
  text-align: center;
}
/* Star rating dark variant spacing */
.cred-strip .star-rating-display {
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.cred-strip .stars { gap: 3px; }
.cred-strip .stars svg { width: 14px; height: 14px; }
.cred-strip .rating-value {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}
.cred-strip .rating-label {
  font-size: 0.7rem;
  color: rgba(13,27,46,0.5);
  letter-spacing: 0.05em;
}
@media (max-width: 768px) {
  .cred-divider { display: none; }
  .cred-strip-inner { justify-content: center; gap: 28px; }
}


/* ============================================================
   RESPONSIVE — Mobile & Tablet
   ============================================================ */

/* ─── 1024px: Large tablet ─────────────────────────── */
@media (max-width: 1024px) {
  .home-mission   { padding: 80px 0; }
  .home-sectors   { padding: 80px 0; }
  .home-delivery  { padding: 80px 0; }
  .home-services  { padding: 80px 0; }
  .home-ecosystem { padding: 80px 0; }
}

/* ─── 900px: Tablet — section padding + mission layout ─ */
@media (max-width: 900px) {
  .home-mission   { padding: 68px 0; }
  .home-sectors   { padding: 68px 0; }
  .home-delivery  { padding: 68px 0; }
  .home-services  { padding: 68px 0; }
  .home-ecosystem { padding: 68px 0; }

  .home-mission-stats  { gap: 7px; }
  .home-mission-stat   { padding: 12px 14px 10px; }
}

/* ─── 768px: Tablet / phablet ───────────────────────── */
@media (max-width: 768px) {
  .home-mission   { padding: 56px 0; }
  .home-sectors   { padding: 56px 0; }
  .home-delivery  { padding: 56px 0; }
  .home-services  { padding: 56px 0; }
  .home-ecosystem { padding: 56px 0; }
  .home-trust-band { padding: 28px 0; }

  .home-mission-text h2 { font-size: clamp(1.75rem, 5.5vw, 2.4rem); }
  .home-mission-text > p { font-size: 0.95rem; }
  .home-mission-stat   { padding: 11px 13px 10px; }
  .home-mission-stat .home-stat-number { font-size: 1.3rem; }

  .hdel-panel { padding: 24px 20px; }
  .hdel-panel h3 { font-size: 1.25rem; }

  .home-clients-bar .ui-container { padding: 24px var(--gap); }
  .home-client-item { padding: 6px 14px; }

  .htb-items { gap: 8px; }
  .htb-item  { padding: 5px 12px; font-size: 0.6rem; }

  .ui-section-header { margin-bottom: 40px; }
}

/* ─── 580px: Mobile — grids go single column ────────── */
@media (max-width: 580px) {
  .home-mission   { padding: 48px 0; }
  .home-sectors   { padding: 48px 0; }
  .home-delivery  { padding: 48px 0; }
  .home-services  { padding: 48px 0; }
  .home-ecosystem { padding: 48px 0; }

  .home-mission-inner  { gap: 36px; }
  .home-mission-stats  { gap: 6px; }
  .home-sectors-grid   { margin-top: 36px; }
  .hsv-grid            { margin-top: 36px; }
  .hdel-split          { margin-top: 36px; }

  .msn-proof-block { padding: 14px 16px; gap: 12px; }
  .msn-proof-block p { font-size: 0.85rem; }

  .hdel-panel { padding: 20px 16px; }
  .hdel-panel h3 { font-size: 1.15rem; }
  .hdel-panel-ghost { display: none; }

  .home-sector-card { padding: 28px 20px; }

  .cred-strip { padding: 20px 0; }
  .cred-kpi-val { font-size: 1.2rem; }

  .home-clients-label { font-size: 0.55rem; letter-spacing: 0.14em; }
}

/* ─── 480px: Small phone ────────────────────────────── */
@media (max-width: 480px) {
  .home-mission-stats { grid-template-columns: 1fr; }
  .home-mission-stat .home-stat-number { font-size: 1.2rem; }
  /* Disable animated dots on low-end hardware */
  .home-mission-stat::before,
  .home-mission-stat::after { animation: none; }

  .hdel-phase-info strong { font-size: 0.8rem; }
  .hdel-deliverables li { font-size: 0.82rem; }

  .cred-strip-inner { gap: 18px; }
  .cred-kpi-val { font-size: 1.1rem; }
  .cred-kpi-label { font-size: 0.65rem; }

  .htb-item { padding: 4px 10px; font-size: 0.58rem; }

  .home-cap-item { padding: 22px 18px 20px; }
}

/* ── Mission world-map image ── */
.home-mission-img--map {
  border-radius: 12px;
  background: rgba(38,204,202,0.05);
  padding: 12px;
  mix-blend-mode: normal;
}


/* ============================================================
   PROVEN DEPLOYMENTS — light background redesign
   ============================================================ */
/* LMS card spans both grid columns to show the full image */
#deployments .ui-dg-card--wide {
  grid-column: span 2;
}

#deployments.ui-dark-gallery {
  background: #f0f6ff;
  color: var(--dark, #06060f);
}
/* Remove dark section patterns — not needed on light bg */
#deployments.ui-dark-gallery::before,
#deployments.ui-dark-gallery::after {
  display: none;
}
/* Header text → dark */
#deployments .ui-dg-title {
  color: var(--dark, #06060f);
}
#deployments .section-eyebrow {
  color: var(--teal);
}
/* Cards — light-bg shadow treatment */
#deployments .ui-dg-card {
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  background: #fff;
}
#deployments .ui-dg-card:hover {
  border-color: rgba(38,204,202,0.35);
  box-shadow: 0 8px 36px rgba(38,204,202,0.13);
}
/* Keep overlay always slightly visible so content is readable */
#deployments .ui-dg-overlay {
  background: linear-gradient(180deg, transparent 10%, rgba(6,6,18,0.82) 100%);
}
