/* ============================================================
   home.css — Unison Systems
   Homepage-specific styles: hero, stat pills, trust strip,
   services, AI section, cybersecurity, why unison,
   industries, and process sections.
   ============================================================ */

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 180px 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 50%, rgba(91,79,207,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 85% 20%, rgba(0,198,162,0.08) 0%, transparent 60%),
    var(--navy);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(91,79,207,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,79,207,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-content h1 { animation: fadeUp 0.6s ease 0.1s both; }
.hero-sub        { animation: fadeUp 0.6s ease 0.2s both; }
.hero-actions    { animation: fadeUp 0.6s ease 0.3s both; }

.hero-content h1 em {
  font-style: normal;
  color: var(--purple-l);
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--gray-lt);
  font-weight: 300;
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 44px;
}

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

/* ── Hero Stats Grid ── */
.hero-stats {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 680px;
  align-self: center;
  animation: fadeLeft 0.6s ease 0.4s both;
}

.stats-row-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.stats-row-bottom {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

/* Centers 2 pills under 3 — column math trick */
.stats-row-bottom .stat-card:nth-child(1) { grid-column: 2 / 4; }
.stats-row-bottom .stat-card:nth-child(2) { grid-column: 4 / 6; }

.stat-card {
  border-radius: 14px;
  height: 95px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  text-align: center;
}

.stat-white { background: #ffffff; }

.stat-card .num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--purple-d);
  letter-spacing: -0.5px;
  line-height: 1.2;
  white-space: nowrap; /* CRITICAL — prevents "AI + Human" wrapping */
}

.stat-card .lbl {
  font-size: 11px;
  color: #888;
  margin-top: 5px;
  line-height: 1.3;
  padding: 0 6px;
}

/* ══════════════════════════════════════════
   HERO SLIDER
══════════════════════════════════════════ */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
}

/* Individual slides */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: 0;
}
.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Slow Ken Burns zoom — resets each time slide becomes active */
@keyframes slideZoom {
  from { transform: scale(1.0); }
  to   { transform: scale(1.08); }
}

/* Background image layer */
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform-origin: center center;
}

.slide.active .slide-bg {
  animation: slideZoom 7s ease-out forwards;
}

/* ── Scrim overlays ── */
/* Dark gradient from left — for white text on dark images */
.slide-scrim-left-dark {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8,7,16,0.75) 0%,
    rgba(8,7,16,0.45) 50%,
    transparent 85%
  );
}
/* Dark gradient from top-left corner — warship sky overlay */
.slide-scrim-topleft-dark {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  rgba(8,7,16,0.70) 0%, rgba(8,7,16,0.30) 55%, transparent 80%),
    linear-gradient(to bottom, rgba(8,7,16,0.40) 0%, transparent 60%);
}
/* Light gradient from left — for dark text on pale left images */
.slide-scrim-left-light {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(245,244,249,0.92) 0%,
    rgba(245,244,249,0.65) 42%,
    transparent 72%
  );
}
/* Light gradient from right — for dark text on pale right images */
.slide-scrim-right-light {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(245,244,249,0.90) 0%,
    rgba(245,244,249,0.60) 42%,
    transparent 72%
  );
}
/* Split scrim — darkens left + right edges, keeps middle of image clear */
.slide-scrim-split-dark {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(8,7,16,0.78) 0%, rgba(8,7,16,0.40) 28%, transparent 52%),
    linear-gradient(to left,  rgba(8,7,16,0.68) 0%, rgba(8,7,16,0.28) 28%, transparent 50%);
}

/* ── Content block ── */
.slide-content {
  position: absolute;
  max-width: 520px;
  z-index: 2;
}

/* Bottom-left: F1 pit stop → about.html */
.slide-pos-bottom-left {
  bottom: 100px;
  left: 64px;
}
/* Left-center: digital globe → about.html#our-team */
.slide-pos-left-center {
  top: calc(50% + 68px);
  left: 64px;
  transform: translateY(-50%);
}
/* Top-left: warships → industries.html (clears fixed nav) */
.slide-pos-top-left {
  top: 160px;
  left: 64px;
}
/* Right-center: robots in field → services.html */
.slide-pos-right-center {
  top: calc(50% + 68px);
  right: 64px;
  left: auto;
  transform: translateY(-50%);
  text-align: right;
  max-width: 600px;
}

/* Wide variant — for slides where text should flow further into the image */
.slide-content-wide {
  max-width: 820px;
}

/* ── Slide 4 split layout (Industries) ── */
/* Right-side stacked headline fragments, vertically centered to match left main block */
.slide-frag {
  position: absolute;
  z-index: 2;
}
.slide-frag-right {
  top: calc(50% + 68px);
  right: 64px;
  transform: translateY(-50%);
  text-align: right;
  max-width: 600px;
}
/* Headline size matches the left main block; visible gap between the two phrases */
.slide-frag-right .slide-headline {
  margin-bottom: 36px;
}
.slide-frag-right .slide-headline:last-child {
  margin-bottom: 0;
}
/* Right-column em (Fortune 500, the U.S. Navy) renders white instead of light-purple
   Specificity bumped (combined classes on same element) so this beats
   .slide-text-light .slide-headline em which appears later in source order. */
.slide-frag-right.slide-text-light .slide-headline em {
  color: #ffffff;
}
/* Inline fragments inside the left headline are hidden on desktop (shown on mobile) */
.slide-split-industries .split-mobile-line {
  display: none;
}

/* ── Light-background text (dark colors) ── */
.slide-text-dark .slide-eyebrow {
  color: var(--purple-d);
}
.slide-text-dark .slide-eyebrow::before,
.slide-text-dark .slide-eyebrow::after {
  background: var(--purple-d);
}
.slide-text-dark .slide-headline { color: #141318; }
.slide-text-dark .slide-headline em { color: var(--purple); font-style: normal; }
.slide-text-dark .slide-sub { color: #000000; font-weight: 400; }

/* ── Dark-background text (light colors) ── */
.slide-text-light .slide-eyebrow {
  color: #ffffff;
}
.slide-text-light .slide-eyebrow::before,
.slide-text-light .slide-eyebrow::after {
  background: #ffffff;
}
.slide-text-light .slide-headline { color: #ffffff; }
.slide-text-light .slide-headline em { color: var(--purple-l); font-style: normal; }
.slide-text-light .slide-sub { color: #ffffff; text-shadow: 0 1px 8px rgba(0,0,0,0.35); }

/* Narrow sub variant — for cases where the supporting line should hug the left
   even when the headline column is wide (e.g. slide 3 over a busy image center) */
.slide-sub-narrow { max-width: 460px; }

/* ── Shared text styles ── */
.slide-eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.slide-eyebrow::before,
.slide-eyebrow::after {
  content: '';
  width: 24px;
  height: 1.5px;
  display: block;
  flex-shrink: 0;
}
/* Right-aligned eyebrow — aligns with right-justified text below */
.slide-pos-right-center .slide-eyebrow {
  justify-content: flex-end;
}

.slide-headline {
  font-family: var(--font-head);
  font-size: clamp(43px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.slide-sub {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 28px;
}

/* ── Slider controls ── */
.slider-controls {
  position: absolute;
  bottom: 110px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 10;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.slider-dot.active {
  background: #ffffff;
  transform: scale(1.35);
}

.slider-arrow {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
  transition: background 0.2s;
  padding: 0;
}
.slider-arrow:hover { background: rgba(255,255,255,0.30); }
.slider-arrow svg { width: 14px; height: 14px; }

/* ══════════════════════════════════════════
   TRUST STRIP — scrolling marquee
══════════════════════════════════════════ */
.trust-strip {
  padding: 26px 48px;
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  background: rgba(8,7,16,0.78);
  overflow: hidden;
  /* Lift up into the hero frame so the marquee overlaps the bottom of the slider */
  margin-top: -88px;
  position: relative;
  z-index: 5;
}

.trust-inner {
  display: flex;
  align-items: center;
}

.trust-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFA032;
  padding-right: 36px;
  border-right: 1px solid rgba(255,255,255,0.14);
  margin-right: 36px;
  flex-shrink: 0;
  white-space: nowrap;
}

.trust-track-wrap {
  overflow: hidden;
  flex: 1;
}

.trust-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee 110s linear infinite;
}

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

.trust-logo {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
  cursor: default;
  transition: color 0.2s;
}

.trust-logo:hover { color: rgba(255,255,255,0.85); }

.tl-spectrum, .tl-xfinity, .tl-gd, .tl-uhc, .tl-optum {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.tl-fiserv, .tl-transunion, .tl-prologis {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.tl-newmont, .tl-astec, .tl-choreograph {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.tl-blueorigin, .tl-starz, .tl-davita {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ══════════════════════════════════════════
   SERVICES SECTION
══════════════════════════════════════════ */
.services {
  background: #ffffff;
  padding: 100px 48px;
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 56px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── Services overview (hero + left-side stats) ── */
.services-overview {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 88px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

/* Stats panel — adapts the Services page hero stats design, mirrored
   horizontally because this column sits on the LEFT of its row.
   Left-aligned rows with a thin purple stripe on the left edge keep
   the stats anchored to the page margin instead of crowding the text. */
.services-stats {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.svc-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 22px;
  border-left: 3px solid var(--purple);
}

.svc-stat-num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1.5px;
  color: #141318;
  white-space: nowrap;
}

.svc-stat-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B6882;
  max-width: 220px;
  text-align: left;
}

/* Stagger — desktop only. Even-numbered stats (2nd and 4th) shift right
   ~40% of the column width and flip their accent stripe to the right edge,
   creating a zigzag stack. */
@media (min-width: 769px) {
  .svc-stat:nth-child(even) {
    margin-left: 40%;
    align-items: flex-end;
    border-left: none;
    border-right: 3px solid var(--purple);
  }
  .svc-stat:nth-child(even) .svc-stat-label {
    text-align: right;
  }
}

.services-overview-text h2 {
  font-family: var(--font-head);
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -1.5px;
  margin: 18px 0 22px;
  color: #141318;
}
.services-overview-text h2 em {
  font-style: normal;
  color: var(--purple);
}
/* Eyebrow on white bg — default purple-l washes out, use deeper purple */
.services-overview-text .section-eyebrow            { color: var(--purple); }
.services-overview-text .section-eyebrow::before,
.services-overview-text .section-eyebrow::after     { background: var(--purple); }
.services-overview-text .section-sub {
  font-size: 18px;
  line-height: 1.7;
  color: #4D4A5C;
  margin-bottom: 32px;
  max-width: 600px;
}
.services-overview-cta {
  margin-top: 8px;
}


.service-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  background: rgba(91,79,207,0.12);
  color: var(--purple-l);
  border: 1px solid rgba(91,79,207,0.2);
  border-radius: 99px;
  padding: 4px 12px;
  margin-right: 6px;
  margin-bottom: 6px;
}

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

.service-tags .service-tag {
  margin: 0;
}

.service-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--purple-l);
  text-decoration: none;
  margin-top: 16px;
  transition: color 0.2s;
}
.service-link:hover { color: var(--white); }

/* AI card variant */
.card-ai { border-color: rgba(0,198,162,0.2); }
.card-ai::before { background: var(--teal); }
.card-ai:hover { border-color: rgba(0,198,162,0.45); }
.card-ai .service-icon { background: rgba(0,198,162,0.12); }
.card-ai .service-tag  { background: rgba(0,198,162,0.1); color: var(--teal); border-color: rgba(0,198,162,0.2); }
.card-ai .service-link { color: var(--teal); }

/* Cybersecurity card variant */
.card-cyber { border-color: rgba(255,160,50,0.15); }
.card-cyber::before { background: #FFA032; }
.card-cyber:hover { border-color: rgba(255,160,50,0.4); }
.card-cyber .service-icon { background: rgba(255,160,50,0.1); }
.card-cyber .service-tag  { background: rgba(255,160,50,0.08); color: #FFBE74; border-color: rgba(255,160,50,0.2); }
.card-cyber .service-link { color: #FFBE74; }

/* ══════════════════════════════════════════
   AI SECTION
══════════════════════════════════════════ */
.ai-section {
  background: var(--gray-1);
  padding: 100px 48px;
  position: relative;
  overflow: hidden;
}

.ai-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(0,198,162,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.ai-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

.ai-text .section-eyebrow         { color: var(--teal); }
.ai-text .section-eyebrow::before,
.ai-text .section-eyebrow::after  { background: var(--teal); }
.ai-text h2 em                    { color: var(--teal); }

.ai-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.ai-role-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  background: rgba(0,198,162,0.08);
  border: 1px solid rgba(0,198,162,0.18);
  border-radius: 99px;
  padding: 6px 14px;
  font-family: var(--font-body);
}

.ai-role-chip span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   CYBERSECURITY SECTION
══════════════════════════════════════════ */
.cyber-section {
  background: #ffffff;
  padding: 100px 48px;
}

.cyber-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.cyber-text .section-eyebrow         { color: #FFBE74; }
.cyber-text .section-eyebrow::before,
.cyber-text .section-eyebrow::after  { background: #FFA032; }
.cyber-text h2 em                    { color: #FFBE74; }

.cyber-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cyber-card {
  background: rgba(255,160,50,0.04);
  border: 1px solid rgba(255,160,50,0.12);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: border-color 0.2s, background 0.2s;
}

.cyber-card:hover {
  border-color: rgba(255,160,50,0.28);
  background: rgba(255,160,50,0.07);
}

.cyber-card h5 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: #FFBE74;
  margin-bottom: 6px;
}

.cyber-card p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--gray-m);
  margin: 0;
}

/* Cyber checklist — replaces inline styles from HTML */
.checklist-cyber {
  list-style: none;
  margin-top: 32px;
}

.checklist-cyber li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--gray-lt);
  margin-bottom: 14px;
  font-family: var(--font-body);
}

.checklist-cyber li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(255,160,50,0.1);
  border: 1px solid rgba(255,160,50,0.3);
  flex-shrink: 0;
  margin-top: 3px;
  display: block;
}

/* ══════════════════════════════════════════
   WHY UNISON SECTION
══════════════════════════════════════════ */
.why {
  background: var(--gray-1);
  padding: 100px 48px;
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

/* Shared visual box — Why Unison and AI section */
.why-visual {
  background: rgba(91,79,207,0.06);
  border: 1px solid rgba(91,79,207,0.15);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}

/* Standard checklist */
.checklist {
  list-style: none;
  margin-top: 32px;
}

.checklist li {
  font-size: 15px;
  color: var(--gray-lt);
  font-family: var(--font-body);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.checklist li:last-child { border-bottom: none; }

.checklist li::before {
  content: '✓';
  color: var(--purple-l);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Pillars */
.pillars {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pillar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--purple-l);
  flex-shrink: 0;
  margin-top: 6px;
}

.pillar h4 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.pillar p {
  font-size: 14px;
  color: var(--gray-m);
  line-height: 1.6;
  margin: 0;
}

/* AI visual box eyebrow */
.ai-box-eyebrow           { color: var(--teal) !important; }
.ai-box-eyebrow::before,
.ai-box-eyebrow::after    { background: var(--teal) !important; }

/* ══════════════════════════════════════════
   INDUSTRIES SECTION
══════════════════════════════════════════ */
.industries {
  background: #ffffff;
  padding: 100px 48px;
  text-align: center;
}

.industries .section-eyebrow { justify-content: center; }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.industry-chip {
  background: var(--gray-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s, transform 0.2s;
  cursor: default;
}

.industry-chip:hover {
  border-color: rgba(91,79,207,0.3);
  transform: translateY(-3px);
}

.industry-chip .icon { font-size: 28px; }

.industry-chip span {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-lt);
  text-align: center;
  line-height: 1.3;
}

/* ══════════════════════════════════════════
   PROCESS SECTION
══════════════════════════════════════════ */
.process {
  background: var(--gray-1);
  padding: 100px 48px;
}

.process-header {
  text-align: center;
  margin-bottom: 56px;
}

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

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  background: var(--gray-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.2s;
}

.step:hover { border-color: rgba(91,79,207,0.3); }

.step-num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  color: rgba(91,79,207,0.55);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -2px;
}

.step h4 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: var(--gray-lt);
  line-height: 1.6;
  margin: 0;
}

/* ══════════════════════════════════════════
   FOOTER LOGO + ADDRESS
══════════════════════════════════════════ */
/* Footer logo size set in components.css — no override needed here */

.footer-address {
  font-size: 13px;
  color: var(--gray-3);
  margin-top: 8px;
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero { padding: 100px 24px 60px; flex-direction: column; }
  .hero-stats { width: 100%; align-self: auto; margin-top: 40px; }
  .stats-row-top    { grid-template-columns: repeat(2, 1fr); }
  .stats-row-bottom { grid-template-columns: repeat(2, 1fr); }
  .stats-row-bottom .stat-card:nth-child(1) { grid-column: auto; }
  .stats-row-bottom .stat-card:nth-child(2) { grid-column: auto; }

  /* Mobile: drop the lift; trust strip flows below the hero like before */
  .trust-strip {
    padding: 20px 24px;
    margin-top: 0;
  }
  .trust-logo { font-size: 16px; }
  .trust-label { font-size: 11px; padding-right: 24px; margin-right: 24px; }
  /* Restore slider controls position for mobile */
  .slider-controls { bottom: 36px !important; }

  .services, .ai-section, .cyber-section, .why, .industries, .process { padding: 72px 24px; }
  .services-header  { flex-direction: column; gap: 16px; }
  .services-grid    { grid-template-columns: repeat(3, 1fr); }

  /* Services overview stacks on mobile: text first, stats below */
  .services-overview {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .services-overview-text { order: -1; }
  .ai-inner, .cyber-inner, .why-inner { grid-template-columns: 1fr; gap: 48px; }
  .cyber-inner > .cyber-text { order: -1; }
  .industries-grid  { grid-template-columns: repeat(3, 1fr); }
  .process-steps    { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* ── Hero slider mobile — no zoom, strong scrim, bigger text ── */
  .slide.active .slide-bg {
    animation: none !important;
    transform: none !important;
  }

  /* Replace all scrim variants with a strong bottom-dark fade
     so text at the bottom is legible on any image */
  .slide-scrim-left-dark,
  .slide-scrim-topleft-dark,
  .slide-scrim-left-light,
  .slide-scrim-right-light {
    background: linear-gradient(
      to bottom,
      rgba(8,7,16,0.30) 0%,
      rgba(8,7,16,0.55) 45%,
      rgba(8,7,16,0.82) 100%
    ) !important;
  }

  /* Reposition slide content: anchored upper-third, full-width text */
  .slide-content {
    position: absolute !important;
    left: 24px !important;
    right: 24px !important;
    top: 28% !important;
    bottom: auto !important;
    transform: none !important;
    max-width: none !important;
    text-align: left !important;
  }

  /* Slide 4 split layout — hide desktop fragments, show inline lines in BL block */
  .slide-split-industries .slide-frag {
    display: none !important;
  }
  .slide-split-industries .split-mobile-line {
    display: inline !important;
  }

  /* Force white text on all slides regardless of -dark/-light class */
  .slide-eyebrow,
  .slide-headline,
  .slide-sub,
  .slide-text-dark .slide-eyebrow,
  .slide-text-dark .slide-headline,
  .slide-text-dark .slide-sub {
    color: #ffffff !important;
  }
  /* em highlight — white on mobile (image too busy for purple to read) */
  .slide-headline em,
  .slide-text-light .slide-headline em,
  .slide-text-dark .slide-headline em {
    color: #ffffff !important;
  }

  .slide-eyebrow { font-size: 12px !important; }

  .slide-headline {
    font-size: clamp(34px, 9vw, 52px) !important;
    line-height: 1.08 !important;
    letter-spacing: -1px !important;
    text-shadow: 0 2px 16px rgba(0,0,0,0.45);
  }

  .slide-sub {
    font-size: 16px !important;
    line-height: 1.55 !important;
    text-shadow: 0 1px 10px rgba(0,0,0,0.45);
  }
}

@media (max-width: 640px) {
  .services-grid    { grid-template-columns: 1fr; }
  .industries-grid  { grid-template-columns: repeat(2, 1fr); }
  .process-steps    { grid-template-columns: 1fr; }
  .cyber-cards      { grid-template-columns: 1fr; }
}

/* ── why-visual modifier variants ── */
.why-visual--ai {
  background: rgba(0,198,162,0.04);
  border-color: rgba(0,198,162,0.15);
}

.why-visual--cyber {
  background: rgba(255,160,50,0.03);
  border-color: rgba(255,160,50,0.15);
}

/* ── pillar-dot teal modifier ── */
.pillar-dot--teal { background: var(--teal); }


/* ══════════════════════════════════════════
   LIGHT-THEME OVERRIDES — home page sections
   The home page now alternates light → dark gray → light → dark gray.
   .services already uses dark text on its overview block, so it just needs
   the white background. .cyber-section and .industries had light-theme
   text designed for dark bgs, so they need text/border/accent flips.
══════════════════════════════════════════ */

/* ── Cybersecurity section (light) ──
   Tangerine accent (#F26B00) replaces the earlier burnt-orange. Card
   backgrounds switched from a faint amber wash to a soft warm-cream tone
   so the six pills feel distinct against the white section. */
.cyber-section .why-visual--cyber {
  background: #FFF3E8;
  border-color: rgba(242,107,0,0.20);
}
.cyber-section .cyber-text h2          { color: #141318; }
.cyber-section .cyber-text h2 em       { color: #F26B00; }
.cyber-section .cyber-text .section-sub { color: #4D4A5C; }
.cyber-section .cyber-text .section-eyebrow         { color: #F26B00; }
.cyber-section .cyber-text .section-eyebrow::before,
.cyber-section .cyber-text .section-eyebrow::after  { background: #F26B00; }

.cyber-section .cyber-card {
  background: #FFF3E8;
  border-color: rgba(242,107,0,0.22);
}
.cyber-section .cyber-card:hover {
  background: #FFE6CC;
  border-color: rgba(242,107,0,0.50);
}
.cyber-section .cyber-card h5 { color: #F26B00; }
.cyber-section .cyber-card p  { color: #4D4A5C; }

.cyber-section .checklist-cyber li         { color: #4D4A5C; }
.cyber-section .checklist-cyber li::before {
  background: rgba(242,107,0,0.14);
  border-color: rgba(242,107,0,0.45);
}

/* ── Industries section (light) ── */
.industries h2                 { color: #141318; }
.industries h2 em              { color: var(--purple); }
.industries .section-eyebrow            { color: var(--purple); }
.industries .section-eyebrow::before,
.industries .section-eyebrow::after     { background: var(--purple); }

.industries .industry-chip {
  background: rgba(91,79,207,0.05);
  border-color: rgba(91,79,207,0.18);
}
.industries .industry-chip:hover {
  border-color: var(--purple);
  background: rgba(91,79,207,0.09);
}
.industries .industry-chip span { color: #4D4A5C; }
