/* ============================================================
   VERTICALS — premium page treatment
   Uses only the master-site brand tokens defined in style.css
============================================================ */

/* ── Cinematic banner ──────────────────────────────────────── */
.v-hero {
  position: relative;
  background: var(--dark-bg);
  padding: 118px 0 190px;
  overflow: hidden;
  isolation: isolate;
}

/* layered aurora mesh */
.v-hero-mesh { position: absolute; inset: -20% -10%; z-index: 0; pointer-events: none; }
.v-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.v-blob-1 { width: 620px; height: 620px; top: -12%; right: 2%;  background: radial-gradient(circle, rgba(24,119,242,0.55), transparent 70%); animation: vFloat1 22s ease-in-out infinite; }
.v-blob-2 { width: 520px; height: 520px; bottom: -18%; left: -4%; background: radial-gradient(circle, rgba(20,97,204,0.45), transparent 70%); animation: vFloat2 26s ease-in-out infinite; }
.v-blob-3 { width: 380px; height: 380px; top: 22%; left: 38%;   background: radial-gradient(circle, rgba(24,119,242,0.28), transparent 70%); animation: vFloat3 30s ease-in-out infinite; }

@keyframes vFloat1 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-40px,34px,0) scale(1.08); } }
@keyframes vFloat2 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(46px,-30px,0) scale(1.06); } }
@keyframes vFloat3 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(30px,26px,0) scale(1.1); } }

/* engineered grid overlay */
.v-hero-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 78%);
  animation: vGridPan 38s linear infinite;
}
@keyframes vGridPan { from { background-position: 0 0, 0 0; } to { background-position: 76px 76px, 76px 76px; } }

.v-hero-inner { position: relative; z-index: 3; }
.v-hero h1 {
  font-size: 80.5px;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #fff;
  margin: 0;
  max-width: 900px;
}
.v-hero h1 .hl {
  background: linear-gradient(92deg, #1877F2 0%, #6FB0FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.v-hero-sub {
  font-size: 18.5px;
  line-height: 1.85;
  color: rgba(255,255,255,0.62);
  max-width: 640px;
  margin: 26px 0 0;
}

/* headline word entrance */
.v-word { display: inline-block; opacity: 0; transform: translateY(120%) rotate(2deg); animation: vWordUp 0.9s cubic-bezier(.19,1,.22,1) forwards; }
.v-line { display: block; overflow: hidden; padding-bottom: 4px; }
@keyframes vWordUp { to { opacity: 1; transform: translateY(0) rotate(0); } }

/* wave sign-off */
.v-waves { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; line-height: 0; pointer-events: none; }
.v-waves svg { display: block; width: 200%; height: 130px; }
.v-wave-a { fill: rgba(255,255,255,0.05); animation: vWaveSlide 26s linear infinite; }
.v-wave-b { fill: rgba(255,255,255,0.08); animation: vWaveSlide 19s linear infinite reverse; }
.v-wave-c { fill: #ffffff; animation: vWaveSlide 32s linear infinite; }
@keyframes vWaveSlide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Section chrome ────────────────────────────────────────── */
/* no `overflow: hidden` here — it would disable position:sticky inside.
   Decorative layers are inset:0, and body already guards overflow-x. */
.v-sec { position: relative; padding: 108px 0; }
.v-sec-light { background: #fff; }
.v-sec-light::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11,29,58,0.030) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,29,58,0.030) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.v-sec > .container-brand { position: relative; z-index: 2; }

.v-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.20em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px;
}
.v-kicker::before { content: ''; width: 30px; height: 2px; background: var(--primary); }
.v-kicker-light { color: rgba(255,255,255,0.62); }

.v-title {
  font-size: 34px; font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.08; color: var(--dark-bg); margin: 0;
}
.v-title-light { color: #fff; }
.v-count {
  font-size: 14.5px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--grey-500);
}
/* ── Industries — editorial index ──────────────────────────── */
.ix-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--grey-200);
}
.ix-head-meta {
  font-size: 13px; font-weight: 700; letter-spacing: 0.20em;
  text-transform: uppercase; color: var(--grey-500);
  white-space: nowrap; padding-bottom: 6px;
}

.ix-list { list-style: none; margin: 0; padding: 0; }

.ix-row {
  position: relative;
  display: grid;
  grid-template-columns: 82px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 30px 28px 30px 22px;
  border-bottom: 1px solid var(--grey-200);
  cursor: default;
  isolation: isolate;
  transition: padding-left 0.55s cubic-bezier(.19,1,.22,1);
}
/* tint wash */
.ix-row::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(24,119,242,0.07) 0%, rgba(24,119,242,0.02) 42%, transparent 78%);
  opacity: 0;
  transition: opacity 0.45s ease;
}
/* left accent */
.ix-row::after {
  content: '';
  position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px;
  background: linear-gradient(180deg, var(--primary), rgba(24,119,242,0.15));
  border-radius: 3px;
  transform: scaleY(0); transform-origin: center;
  transition: transform 0.5s cubic-bezier(.19,1,.22,1);
}
.ix-row:hover { padding-left: 34px; }
.ix-row:hover::before { opacity: 1; }
.ix-row:hover::after { transform: scaleY(1); }

.ix-num {
  font-size: 14.5px; font-weight: 800; letter-spacing: 0.18em;
  color: var(--grey-500);
  transition: color 0.35s ease, transform 0.5s cubic-bezier(.19,1,.22,1);
}
.ix-row:hover .ix-num { color: var(--primary); transform: translateY(-2px); }

.ix-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.12;
  color: var(--grey-700);
  margin: 0;
  transition: color 0.4s ease, transform 0.55s cubic-bezier(.19,1,.22,1);
}
.ix-row:hover .ix-name { color: var(--primary); transform: translateX(6px); }

.ix-mark {
  display: flex; align-items: center; gap: 18px;
}
.ix-icon {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid var(--grey-200);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.6s cubic-bezier(.19,1,.22,1);
}
.ix-icon svg { width: 23px; height: 23px; color: var(--accent); transition: color 0.4s ease; }
.ix-row:hover .ix-icon { background: var(--primary); border-color: var(--primary); transform: rotate(-8deg) scale(1.06); }
.ix-row:hover .ix-icon svg { color: #fff; }

.ix-arrow {
  width: 26px; height: 26px; color: var(--primary);
  opacity: 0; transform: translateX(-10px);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(.19,1,.22,1);
}
.ix-row:hover .ix-arrow { opacity: 1; transform: translateX(0); }

/* cursor-follow preview (pointer devices only) */
.ix-peek {
  position: fixed;
  top: 0; left: 0;
  width: 188px; height: 188px;
  border-radius: 14px;
  background: linear-gradient(150deg, #ffffff 0%, var(--light-tint) 100%);
  border: 1px solid rgba(24,119,242,0.22);
  box-shadow: 0 30px 70px rgba(11,29,58,0.20);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  pointer-events: none;
  opacity: 0;
  z-index: 980;
  transform: translate3d(-9999px, -9999px, 0) scale(0.88);
  transition: opacity 0.35s ease, scale 0.45s cubic-bezier(.19,1,.22,1);
  will-change: transform;
}
.ix-peek.is-on { opacity: 1; scale: 1; }
.ix-peek svg { width: 46px; height: 46px; color: var(--primary); }
.ix-peek-num {
  font-size: 13px; font-weight: 800; letter-spacing: 0.22em;
  color: var(--accent);
}
.ix-peek::after {
  content: '';
  position: absolute; inset: 9px;
  border: 1px dashed rgba(24,119,242,0.22);
  border-radius: 9px;
  pointer-events: none;
}

@media (hover: none), (max-width: 991px) {
  .ix-peek { display: none; }
}

@media (max-width: 991px) {
  .ix-head { padding-bottom: 26px; }
  .ix-head-meta { display: none; }
  .ix-row { grid-template-columns: 54px 1fr auto; gap: 16px; padding: 24px 4px 24px 18px; }
  .ix-name { font-size: 26.5px; }
  .ix-icon { width: 44px; height: 44px; }
  .ix-icon svg { width: 20px; height: 20px; }
  .ix-arrow { display: none; }
  .ix-row:hover { padding-left: 24px; }
}

@media (max-width: 575px) {
  .ix-row { grid-template-columns: 34px 1fr auto; gap: 12px; padding: 20px 0 20px 14px; }
  .ix-num { font-size: 13px; letter-spacing: 0.12em; }
  .ix-name { font-size: 21px; letter-spacing: -0.02em; }
  .ix-icon { width: 38px; height: 38px; }
  .ix-icon svg { width: 17px; height: 17px; }
}

/* ── Service offerings (dark) ──────────────────────────────── */
.v-dark { background: var(--dark-bg); color: rgba(255,255,255,0.72); }
.v-dark::before {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle at 88% 10%, rgba(24,119,242,0.26) 0%, transparent 50%),
    radial-gradient(circle at 4% 92%, rgba(20,97,204,0.20) 0%, transparent 52%);
}
.v-dark::after {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 78% 68% at 50% 46%, #000 22%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 78% 68% at 50% 46%, #000 22%, transparent 78%);
}

/* Layout: sticky navigator + capability cards */
.so-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 72px;
  align-items: start;
  margin-top: 58px;
}

/* ── Left navigator ───────────────────────────────────────── */
.so-rail { position: sticky; top: calc(var(--nav-h) + 46px); }

.so-hub {
  position: relative;
  width: 178px; height: 178px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(24,119,242,0.22), rgba(24,119,242,0.05) 62%, transparent 70%);
  margin-bottom: 38px;
}
.so-hub::before,
.so-hub::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
}
.so-hub::after {
  inset: -16px;
  border-style: dashed;
  border-color: rgba(255,255,255,0.10);
  animation: soSpin 46s linear infinite;
}
@keyframes soSpin { to { transform: rotate(360deg); } }

.so-hub-arc { position: absolute; inset: -16px; pointer-events: none; }
.so-hub-arc circle {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 40 600;
  filter: drop-shadow(0 0 6px rgba(24,119,242,0.55));
  transition: stroke-dashoffset 0.7s cubic-bezier(.19,1,.22,1);
}

.so-hub-label {
  font-size: 17.5px; font-weight: 800; color: #fff;
  letter-spacing: -0.01em; line-height: 1.25; padding: 0 26px;
}

.so-index { list-style: none; margin: 0; padding: 0; position: relative; }
.so-index::before {
  content: '';
  position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 2px; background: rgba(255,255,255,0.10);
}
.so-marker {
  position: absolute; left: 0; width: 2px;
  background: var(--primary);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(24,119,242,0.7);
  transition: transform 0.55s cubic-bezier(.19,1,.22,1), height 0.35s ease;
}
.so-index li a {
  display: flex; align-items: baseline; gap: 12px;
  padding: 13px 0 13px 22px;
  font-size: 16px; font-weight: 700;
  color: rgba(255,255,255,0.46);
  transition: color 0.3s ease, padding-left 0.35s cubic-bezier(.19,1,.22,1);
}
.so-index li a .n {
  font-size: 13px; font-weight: 800; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.30); transition: color 0.3s ease;
}
.so-index li a:hover { color: #fff; padding-left: 28px; }
.so-index li.is-active a { color: #fff; }
.so-index li.is-active a .n { color: var(--primary); }

/* ── Capability cards ─────────────────────────────────────── */
.so-cards { display: grid; gap: 22px; }

.so-card {
  position: relative;
  border-radius: 10px;
  padding: 40px 44px 36px;
  background: linear-gradient(150deg, rgba(255,255,255,0.075) 0%, rgba(255,255,255,0.028) 55%, rgba(255,255,255,0.015) 100%);
  border: 1px solid rgba(255,255,255,0.11);
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.45s ease, transform 0.5s cubic-bezier(.19,1,.22,1), box-shadow 0.5s ease;
}
.so-card::before {
  content: '';
  position: absolute; left: 0; top: 26px; bottom: 26px; width: 3px;
  background: linear-gradient(180deg, var(--primary), rgba(24,119,242,0));
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.6s cubic-bezier(.19,1,.22,1);
}
.so-card::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(520px circle at var(--mx, 20%) var(--my, 0%), rgba(24,119,242,0.16), transparent 62%);
  opacity: 0; transition: opacity 0.5s ease;
}
.so-card:hover,
.so-card.is-current {
  border-color: rgba(24,119,242,0.42);
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
}
.so-card:hover { transform: translateY(-4px); }
.so-card:hover::after { opacity: 1; }
.so-card:hover::before,
.so-card.is-current::before { transform: scaleY(1); }

.so-card-head {
  display: flex; align-items: center; gap: 18px;
  padding-bottom: 22px; margin-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.so-badge {
  flex-shrink: 0;
  width: 46px; height: 46px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(24,119,242,0.16);
  border: 1px solid rgba(24,119,242,0.34);
  color: #fff;
  font-size: 15.5px; font-weight: 900; letter-spacing: 0.02em;
  transition: background 0.4s ease, transform 0.5s cubic-bezier(.19,1,.22,1);
}
.so-card:hover .so-badge { background: var(--primary); transform: translateY(-2px) scale(1.04); }
.so-card h3 {
  font-size: 26.5px; font-weight: 800; color: #fff;
  letter-spacing: -0.022em; line-height: 1.2; margin: 0;
}
.so-tag {
  margin-left: auto;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.34);
  white-space: nowrap;
}

.so-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 32px;
}
.so-list li {
  position: relative;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 0;
  font-size: 16.5px; line-height: 1.55;
  color: rgba(255,255,255,0.70);
  transition: color 0.3s ease, transform 0.35s cubic-bezier(.19,1,.22,1);
}
.so-list li:hover { color: #fff; transform: translateX(4px); }
.so-list .tick {
  flex-shrink: 0;
  width: 18px; height: 18px; margin-top: 2px;
  border-radius: 50%;
  background: rgba(24,119,242,0.15);
  border: 1px solid rgba(24,119,242,0.4);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.so-list .tick svg { width: 9px; height: 9px; color: var(--primary); transition: color 0.3s ease; }
.so-list li:hover .tick { background: var(--primary); border-color: var(--primary); }
.so-list li:hover .tick svg { color: #fff; }

/* ── Responsive: service offerings ────────────────────────── */
@media (max-width: 1200px) {
  .so-layout { grid-template-columns: 250px 1fr; gap: 48px; }
  .so-card { padding: 34px 32px 30px; }
}

@media (max-width: 991px) {
  /* block flow so the rail can stick across the whole section, not just its grid row */
  .so-layout { display: block; margin-top: 34px; }
  .so-cards { margin-top: 22px; gap: 18px; }
  .so-rail {
    position: sticky;
    top: var(--nav-h);
    z-index: 40;
    margin: 0;
    padding: 12px 0;
    background: rgba(11,29,58,0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.10);
  }
  .so-hub { display: none; }
  .so-index {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0;
    scroll-snap-type: x proximity;
  }
  .so-index::-webkit-scrollbar { display: none; }
  .so-index::before, .so-marker { display: none; }
  .so-index li { flex: 0 0 auto; scroll-snap-align: start; }
  .so-index li a {
    padding: 9px 16px;
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.05);
    font-size: 14.5px;
    white-space: nowrap;
    transition: all 0.3s ease;
  }
  .so-index li a:hover { padding-left: 16px; }
  .so-index li.is-active a { background: rgba(24,119,242,0.22); border-color: var(--primary); }
  .so-card { scroll-margin-top: calc(var(--nav-h) + 70px); }
}

@media (max-width: 767px) {
  .so-list { grid-template-columns: 1fr; gap: 0; }
  .so-card { padding: 28px 24px 24px; border-radius: 8px; }
  .so-card h3 { font-size: 22px; }
  .so-card-head { gap: 14px; padding-bottom: 18px; margin-bottom: 18px; flex-wrap: wrap; }
  .so-badge { width: 40px; height: 40px; font-size: 14.5px; }
  .so-tag { display: none; }
  .so-list li { font-size: 16px; padding: 10px 0; }
}

/* ── Closing band ──────────────────────────────────────────── */
.v-close { position: relative; background: var(--off-white); padding: 92px 0; overflow: hidden; }
.v-close::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(11,29,58,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, #000, transparent 65%);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 65%);
}
.v-close-inner { position: relative; z-index: 2; }
.v-close h2 { font-size: 40.5px; font-weight: 800; color: var(--primary); letter-spacing: -0.028em; line-height: 1.16; margin: 0; }

/* Verticals CTA Banner */
.verticals-cta-banner {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a365d 100%);
  border-radius: 20px;
  padding: 48px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.verticals-cta-banner::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(24,119,242,0.2);
  filter: blur(60px);
}
.verticals-cta-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(24,119,242,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.verticals-cta-icon svg {
  width: 30px;
  height: 30px;
  color: var(--primary);
}
.verticals-cta-content {
  flex: 1;
  position: relative;
  z-index: 1;
}
.verticals-cta-content h2 {
  font-size: 27.5px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.verticals-cta-content p {
  font-size: 16.5px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin: 0;
}
.verticals-cta-banner .btn-brand {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .v-hero h1 { font-size: 65.5px; }
}

@media (max-width: 991px) {
  .v-hero { padding: 86px 0 150px; }
  .v-hero h1 { font-size: 49px; }
  .v-title { font-size: 29.5px; }
  .v-sec { padding: 76px 0; }
  .verticals-cta-banner { flex-direction: column; text-align: center; gap: 24px; padding: 40px 28px; }
  .verticals-cta-content { text-align: center; }
}

@media (max-width: 575px) {
  .v-hero h1 { font-size: 36px; }
  .v-hero-sub { font-size: 17px; }
  .v-title { font-size: 26.5px; }
  .v-close h2 { font-size: 28.5px; }
  .verticals-cta-content h2 { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .v-blob, .v-hero-grid, .v-wave-a, .v-wave-b, .v-wave-c,
  .v-word { opacity: 1; transform: none; }
}
