:root {
  --bg: #081b38;
  --bg-soft: #0d2347;
  --bg-deep: #061225;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --muted-soft: rgba(255, 255, 255, 0.64);
  --gold: #c89a2b;
  --gold-soft: rgba(200, 154, 43, 0.22);
  --teal: #00b8c8;
  --light: #f7f8fa;
  --shadow: 0 30px 80px rgba(1, 8, 21, 0.4);
  --radius: 28px;
  --container: min(1400px, calc(100vw - 64px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 10%, rgba(0, 184, 200, 0.16), transparent 18%),
    radial-gradient(circle at 82% 12%, rgba(200, 154, 43, 0.14), transparent 16%),
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.04), transparent 24%),
    radial-gradient(circle at 18% 75%, rgba(0, 184, 200, 0.08), transparent 22%),
    radial-gradient(circle at 84% 72%, rgba(200, 154, 43, 0.08), transparent 20%),
    linear-gradient(180deg, #081b38 0%, #07152d 45%, #060f21 100%);
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  isolation: isolate;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.site-shell::before {
  z-index: 0;
  opacity: 0.42;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.045), transparent 0 18%),
    radial-gradient(circle at 79% 19%, rgba(0, 184, 200, 0.08), transparent 0 14%),
    radial-gradient(circle at 64% 78%, rgba(200, 154, 43, 0.09), transparent 0 16%),
    radial-gradient(circle at 24% 68%, rgba(255, 255, 255, 0.03), transparent 0 20%);
  filter: blur(50px);
  animation: ambientShift 30s ease-in-out infinite alternate;
}

.site-shell::after {
  z-index: 0;
  opacity: 0.65;
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(115deg, transparent 0 48%, rgba(0, 184, 200, 0.05) 50%, transparent 52%),
    linear-gradient(75deg, transparent 0 46%, rgba(200, 154, 43, 0.035) 48%, transparent 50%);
  background-size: 88px 88px, 88px 88px, 480px 480px, 620px 620px;
  mask-image: radial-gradient(circle at center, black 48%, rgba(0, 0, 0, 0.78) 72%, transparent 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: 0;
  opacity: 0.22;
  background:
    radial-gradient(circle at 14% 22%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 28% 74%, rgba(200, 154, 43, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 26%, rgba(0, 184, 200, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 62%, rgba(255, 255, 255, 0.75) 0 1px, transparent 2px),
    radial-gradient(circle at 52% 48%, rgba(255, 255, 255, 0.55) 0 1px, transparent 2px);
  background-size: 280px 280px, 340px 340px, 300px 300px, 360px 360px, 260px 260px;
  animation: particleDrift 36s linear infinite;
}

body::after {
  z-index: 0;
  background:
    radial-gradient(circle at center, transparent 52%, rgba(0, 0, 0, 0.22) 100%),
    radial-gradient(circle at center, transparent 68%, rgba(0, 0, 0, 0.18) 100%);
}

.noise-overlay,
.cursor-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
}

.noise-overlay {
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 55%, transparent 100%);
  mix-blend-mode: soft-light;
}

.cursor-glow {
  width: 420px;
  height: 420px;
  inset: auto;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 184, 200, 0.14) 0%, rgba(0, 184, 200, 0) 70%);
  filter: blur(10px);
  transform: translate(-50%, -50%);
  transition: left 0.15s linear, top 0.15s linear;
  z-index: 1;
}

.section,
.footer {
  position: relative;
  z-index: 2;
}

.topbar {
  width: var(--container);
  margin: 18px auto 0;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  top: 18px;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(7, 21, 45, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.brand-logo {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a,
.ghost-link {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav a:hover,
.nav a.active,
.ghost-link:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: #0a1730;
  background: linear-gradient(135deg, #f7d26a, var(--gold));
  box-shadow: 0 16px 40px rgba(200, 154, 43, 0.3);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 112px 0;
  overflow: clip;
}

.section::before,
.section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero.section {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 100px;
  padding-left: max(calc((100vw - var(--container)) / 2), 32px);
  padding-right: max(calc((100vw - var(--container)) / 2), 32px);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.hero-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 260px;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-deep) 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-fade-sides {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--bg-deep) 0%, transparent 8%),
    linear-gradient(to left, var(--bg-deep) 0%, transparent 8%);
  pointer-events: none;
  z-index: 2;
}

.hero-backdrop::before,
.hero-backdrop::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 110px 110px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0.45;
}

.hero-backdrop::before {
  width: 620px;
  height: 620px;
  left: 48%;
  top: 48%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: 0.28;
  background:
    radial-gradient(circle at center, transparent 58%, rgba(255, 255, 255, 0.08) 58.4%, transparent 59.6%),
    radial-gradient(circle at center, transparent 70%, rgba(0, 184, 200, 0.1) 70.4%, transparent 71.4%),
    radial-gradient(circle at center, transparent 82%, rgba(200, 154, 43, 0.14) 82.4%, transparent 83.4%),
    repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 42px),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 100%);
  box-shadow:
    inset 0 0 60px rgba(255, 255, 255, 0.03),
    0 0 120px rgba(0, 184, 200, 0.08);
  animation: slowSpin 40s linear infinite;
}

.hero-backdrop::after {
  inset: 12% 8% 8% 34%;
  opacity: 0.3;
  background:
    url("assets/hero-spectrum.svg") center/cover no-repeat,
    linear-gradient(115deg, transparent 0 42%, rgba(0, 184, 200, 0.12) 49%, transparent 56%),
    linear-gradient(65deg, transparent 0 40%, rgba(200, 154, 43, 0.12) 48%, transparent 56%),
    radial-gradient(circle at 48% 50%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 34% 38%, rgba(255, 255, 255, 0.7) 0 1px, transparent 2px),
    radial-gradient(circle at 62% 30%, rgba(255, 255, 255, 0.65) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 62%, rgba(255, 255, 255, 0.65) 0 1px, transparent 2px),
    radial-gradient(circle at 42% 72%, rgba(255, 255, 255, 0.75) 0 1px, transparent 2px);
  background-size: cover, auto, auto, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  filter: blur(0.2px);
  animation: nodePulse 16s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

.hero-streak {
  position: absolute;
  border-radius: 999px;
  filter: blur(22px);
  opacity: 0.6;
}

.hero-streak-one {
  width: 220px;
  height: 220px;
  right: 16%;
  top: 14%;
  background: radial-gradient(circle, rgba(200, 154, 43, 0.42), transparent 70%);
  animation: drift 8s ease-in-out infinite;
}

.hero-streak-two {
  width: 320px;
  height: 320px;
  left: -8%;
  top: 25%;
  background: radial-gradient(circle, rgba(0, 184, 200, 0.22), transparent 70%);
  animation: drift 10s ease-in-out infinite reverse;
}

.hero::before {
  width: 260px;
  height: 260px;
  right: 18%;
  top: 22%;
  border-radius: 50%;
  border: 1px solid rgba(200, 154, 43, 0.26);
  box-shadow:
    inset 0 0 40px rgba(255, 255, 255, 0.03),
    0 0 40px rgba(200, 154, 43, 0.08);
  transform: rotate(-12deg);
  animation: orbitTilt 24s ease-in-out infinite;
}

.hero::after {
  width: 180px;
  height: 180px;
  right: 29%;
  top: 34%;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(0, 184, 200, 0.1), transparent 54%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(1, 8, 21, 0.22);
  filter: blur(0.2px);
  transform: rotate(14deg);
  animation: floatySlow 14s ease-in-out infinite;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: -6%;
  width: 240px;
  height: 240px;
  z-index: -1;
  opacity: 0.34;
  background:
    url("assets/gold-glass-tile.svg") center/contain no-repeat;
  transform: rotate(-6deg);
  filter: blur(0.2px);
  animation: floatySlow 16s ease-in-out infinite reverse;
}

.skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  opacity: 0.08;
  display: flex;
  align-items: end;
  gap: 18px;
  filter: blur(1px);
  mask-image: linear-gradient(90deg, transparent 0, black 18%, black 82%, transparent 100%);
}

.skyline span {
  flex: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02));
  border-radius: 14px 14px 0 0;
}

.skyline span:nth-child(1) { height: 28%; }
.skyline span:nth-child(2) { height: 46%; }
.skyline span:nth-child(3) { height: 72%; }
.skyline span:nth-child(4) { height: 55%; }
.skyline span:nth-child(5) { height: 88%; }
.skyline span:nth-child(6) { height: 36%; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: rgba(200, 154, 43, 0.8);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
.page-hero h1 {
  max-width: 12ch;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3.6rem, 7vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

h2 {
  max-width: 13ch;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

h3 {
  font-family: "Manrope", sans-serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.hero-text {
  max-width: 620px;
  margin-top: 28px;
  font-size: 1.15rem;
}

.hero-copy {
  position: relative;
}

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

.hero-aside {
  display: grid;
  gap: 18px;
  position: relative;
}

.hero-aside::before {
  content: "";
  position: absolute;
  inset: 8% -10% 6% 20%;
  z-index: -1;
  opacity: 0.28;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top right, rgba(200, 154, 43, 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(0, 184, 200, 0.12), transparent 24%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 34px;
  backdrop-filter: blur(18px);
  transform: translateZ(0);
  animation: breathe 12s ease-in-out infinite;
}

.hero-aside::after {
  content: "";
  position: absolute;
  left: 4%;
  bottom: -10%;
  width: 210px;
  height: 210px;
  z-index: -1;
  opacity: 0.32;
  background: url("assets/teal-glass-tile.svg") center/contain no-repeat;
  animation: floaty 8s ease-in-out infinite;
}

.glass-card,
.metric-card,
.service-card,
.reason-card,
.industry-card,
.timeline-item,
.article-card,
.featured-article,
.testimonial-card,
.faq-item,
.content-card,
.contact-form,
.cta-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.glass-card,
.dashboard-card {
  padding: 24px;
}

.floating-card {
  transform: translateY(0);
  animation: floaty 6s ease-in-out infinite;
}

.floating-card:nth-child(2) {
  animation-delay: 0.8s;
}

.card-label,
.article-card span,
.article-tag,
.timeline-step,
.service-icon {
  display: inline-flex;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.glass-card strong {
  display: block;
  margin-top: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
}

.dashboard-header,
.dashboard-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.dashboard-status {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 184, 200, 0.14);
  color: #8cf4ff;
  font-size: 0.82rem;
}

.dashboard-metrics {
  margin-top: 26px;
}

.dashboard-metrics div {
  flex: 1;
}

.dashboard-metrics span {
  display: block;
  color: var(--muted-soft);
  font-size: 0.85rem;
}

.dashboard-metrics strong {
  display: block;
  margin-top: 8px;
  font-size: 1.25rem;
}

.dashboard-graph {
  height: 80px;
  margin-top: 24px;
  display: flex;
  align-items: end;
  gap: 10px;
}

.dashboard-graph span {
  flex: 1;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, rgba(0, 184, 200, 0.9), rgba(200, 154, 43, 0.3));
}

.dashboard-graph span:nth-child(1) { height: 28%; }
.dashboard-graph span:nth-child(2) { height: 48%; }
.dashboard-graph span:nth-child(3) { height: 35%; }
.dashboard-graph span:nth-child(4) { height: 62%; }
.dashboard-graph span:nth-child(5) { height: 74%; }
.dashboard-graph span:nth-child(6) { height: 86%; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 40px;
}

.metrics-grid,
.services-grid,
.reasons-grid,
.articles-grid,
.content-grid {
  display: grid;
  gap: 22px;
}

.metrics-grid {
  grid-template-columns: repeat(4, 1fr);
}

.metric-card {
  padding: 30px;
}

.metric-card strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  letter-spacing: -0.05em;
}

.metric-card strong::after {
  content: "+";
  color: var(--gold);
}

.metric-card:nth-child(3) strong::after,
.metric-card:nth-child(4) strong::after {
  content: "%";
}

.metric-card span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services::before {
  inset: 8% -8% 8% -6%;
  background:
    url("assets/gold-glass-tile.svg") 94% 18% / 180px 180px no-repeat,
    linear-gradient(90deg, transparent 0 4%, rgba(200, 154, 43, 0.16) 5%, transparent 6% 100%),
    linear-gradient(0deg, transparent 0 30%, rgba(255, 255, 255, 0.03) 31%, transparent 32% 100%),
    radial-gradient(circle at 82% 30%, rgba(255, 255, 255, 0.05), transparent 22%),
    radial-gradient(circle at 14% 72%, rgba(0, 184, 200, 0.09), transparent 20%);
  opacity: 0.6;
}

.services::after {
  inset: 12% 4% auto auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.06), transparent 64%),
    conic-gradient(from 90deg, rgba(200, 154, 43, 0.16), transparent 32%, rgba(0, 184, 200, 0.14), transparent 70%, rgba(255, 255, 255, 0.06));
  filter: blur(24px);
  opacity: 0.26;
  animation: spinOnly 28s linear infinite reverse;
}

.service-card {
  position: relative;
  padding: 28px;
  min-height: 220px;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 154, 43, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card:hover,
.reason-card:hover,
.industry-card:hover,
.article-card:hover,
.content-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 154, 43, 0.35);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card h3,
.reason-card h3,
.timeline-item h3,
.article-card h3,
.featured-article h3,
.content-card h2 {
  margin-top: 18px;
}

.service-card p,
.reason-card p,
.timeline-item p,
.article-card p,
.featured-article p {
  margin-top: 12px;
}

.service-arrow {
  position: absolute;
  right: 26px;
  bottom: 24px;
  font-size: 1.6rem;
  color: var(--text);
  transition: transform 0.35s ease;
}

.service-card:hover .service-arrow {
  transform: translate(6px, -6px);
}

.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.why-fincore::before {
  inset: 4% -4% 0;
  background:
    url("assets/teal-glass-tile.svg") 88% 22% / 190px 190px no-repeat,
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.05), transparent 18%),
    radial-gradient(circle at 84% 66%, rgba(200, 154, 43, 0.08), transparent 18%),
    linear-gradient(130deg, transparent 0 58%, rgba(255, 255, 255, 0.035) 60%, transparent 62%);
  opacity: 0.8;
}

.why-fincore::after {
  inset: 14% auto auto 4%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(200, 154, 43, 0.18);
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.03);
  opacity: 0.4;
  animation: orbitTilt 20s ease-in-out infinite reverse;
}

.reasons-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reason-card,
.timeline-item,
.article-card,
.featured-article,
.content-card,
.contact-form,
.cta-panel {
  padding: 28px;
}

.industry-cloud {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.industries::before {
  inset: 10% 0 0;
  opacity: 0.56;
  background:
    url("assets/isometric-city.svg") center/cover no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(150deg, transparent 0 42%, rgba(0, 184, 200, 0.08) 48%, transparent 54%);
  background-size: 96px 96px, 96px 96px, 420px 420px;
  mask-image: linear-gradient(180deg, transparent 0, black 18%, black 82%, transparent 100%);
}

.industries::after {
  inset: auto 8% 16% auto;
  width: 360px;
  height: 180px;
  opacity: 0.24;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 70%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  transform: skewX(-28deg);
  filter: blur(0.4px);
}

.industry-card {
  padding: 34px 26px;
  min-height: 200px;
  display: flex;
  align-items: end;
  font-family: "Manrope", sans-serif;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.process::before {
  inset: 0;
  opacity: 0.42;
  background:
    radial-gradient(circle at 12% 24%, rgba(0, 184, 200, 0.08), transparent 18%),
    radial-gradient(circle at 88% 76%, rgba(200, 154, 43, 0.08), transparent 20%),
    linear-gradient(90deg, transparent 0 16%, rgba(255, 255, 255, 0.035) 17%, transparent 18% 100%);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 34px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 184, 200, 0.25), rgba(200, 154, 43, 0.75), rgba(0, 184, 200, 0.25));
}

.timeline-item {
  min-height: 220px;
}

.timeline-step {
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

.insights-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
}

.insights::before {
  inset: 4% -2% 0;
  opacity: 0.58;
  background:
    url("assets/editorial-graph.svg") center/cover no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(0deg, transparent 0 70%, rgba(200, 154, 43, 0.08) 71%, transparent 72%),
    linear-gradient(100deg, transparent 0 38%, rgba(0, 184, 200, 0.08) 40%, transparent 42%);
  background-size: 34px 34px, 34px 34px, auto, 520px 520px;
  mask-image: linear-gradient(180deg, transparent 0, black 12%, black 90%, transparent 100%);
}

.insights::after {
  inset: auto auto 12% 4%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, transparent 46%, rgba(255, 255, 255, 0.08) 47%, transparent 49%),
    conic-gradient(from 30deg, rgba(0, 184, 200, 0.18), transparent 26%, rgba(200, 154, 43, 0.16), transparent 60%, rgba(255, 255, 255, 0.08));
  opacity: 0.22;
  animation: spinOnly 22s linear infinite;
}

.featured-article {
  min-height: 100%;
  background:
    url("assets/hero-spectrum.svg") center/cover no-repeat,
    radial-gradient(circle at top right, rgba(200, 154, 43, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
  background-blend-mode: soft-light, normal, normal;
}

.featured-article p {
  max-width: 44ch;
}

.text-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--text);
  font-weight: 700;
}

.section-dark {
  padding: 90px 48px;
  border-radius: 40px;
  background:
    radial-gradient(circle at top left, rgba(0, 184, 200, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(7, 21, 45, 0.96), rgba(4, 11, 24, 0.96));
}

.testimonials.section-dark::before {
  inset: 0;
  opacity: 0.28;
  background:
    linear-gradient(120deg, transparent 0 44%, rgba(255, 255, 255, 0.05) 48%, transparent 52%),
    radial-gradient(circle at 80% 20%, rgba(200, 154, 43, 0.12), transparent 22%);
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 34px;
}

.logo-row span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.16em;
}

.testimonial-stage {
  display: grid;
  gap: 22px;
}

.testimonial-track {
  position: relative;
  min-height: 260px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.45s ease, transform 0.45s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 42px;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.testimonial-card p {
  max-width: 26ch;
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.45;
  color: var(--text);
}

.testimonial-card strong {
  margin-top: 18px;
  color: var(--gold);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.carousel-button {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  padding: 24px 28px;
  cursor: pointer;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 28px 24px;
}

.cta-banner {
  padding-top: 32px;
}

.cta-banner::before {
  inset: 18% 10% 8%;
  background: radial-gradient(circle at center, rgba(200, 154, 43, 0.18), rgba(0, 184, 200, 0.06) 34%, transparent 68%);
  filter: blur(36px);
  opacity: 0.8;
  animation: breathe 10s ease-in-out infinite;
}

.cta-banner::after {
  inset: 16% -12%;
  background: linear-gradient(110deg, transparent 0 44%, rgba(255, 255, 255, 0.12) 48%, transparent 52%);
  opacity: 0.18;
  transform: translateX(-24%);
  animation: lightSweep 10s ease-in-out infinite;
}

.cta-panel {
  text-align: center;
  padding: 56px 28px;
  background:
    radial-gradient(circle at top center, rgba(200, 154, 43, 0.2), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
}

.cta-panel h2 {
  max-width: none;
  margin: 0 auto 24px;
}

.footer {
  width: var(--container);
  margin: 0 auto;
  padding: 0 0 48px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.footer-brand p {
  max-width: 36ch;
  margin-top: 18px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.footer-columns h3 {
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-columns a,
.footer-columns p {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.page-main {
  padding-top: 84px;
}

.page-hero::before {
  inset: 0 -8% auto;
  height: 100%;
  opacity: 0.55;
  background:
    radial-gradient(circle at 12% 24%, rgba(0, 184, 200, 0.1), transparent 20%),
    radial-gradient(circle at 88% 18%, rgba(200, 154, 43, 0.1), transparent 18%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, auto, 84px 84px, 84px 84px;
  z-index: -1;
}

.content-grid::before,
.contact-layout::before,
.articles-grid.section::before,
.industry-cloud.section::before,
.services-grid.section::before {
  inset: 4% -4%;
  opacity: 0.36;
  background:
    url("assets/teal-glass-tile.svg") 10% 76% / 150px 150px no-repeat,
    radial-gradient(circle at 18% 68%, rgba(255, 255, 255, 0.05), transparent 16%),
    radial-gradient(circle at 84% 28%, rgba(200, 154, 43, 0.08), transparent 14%),
    linear-gradient(135deg, transparent 0 56%, rgba(0, 184, 200, 0.06) 60%, transparent 64%);
}

/* Full-width inner-page hero — same technique as homepage hero */
.page-hero.section {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: max(calc((100vw - var(--container)) / 2), 32px);
  padding-right: max(calc((100vw - var(--container)) / 2), 32px);
  padding-bottom: 80px;
  overflow: clip;
}

/* bottom gradient — blends into the dark sections below */
.page-hero.section::after {
  top: auto !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 200px !important;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-deep) 100%) !important;
  z-index: 2 !important;
  filter: none !important;
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

/* keep text and wrapper divs above the bottom fade.
   Background image divs use inline z-index:-1 which
   overrides the CSS below, so they stay behind. */
.page-hero > .eyebrow,
.page-hero > h1,
.page-hero > p,
.page-hero > div {
  position: relative;
  z-index: 3;
}

.page-hero p {
  max-width: 56ch;
  margin-top: 24px;
}

.compact-footer {
  grid-template-columns: 1fr;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 16px 18px;
  outline: none;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  filter: blur(10px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease,
    filter 0.8s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(24px, -18px, 0); }
}

@keyframes ambientShift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(2%, -1.5%, 0) scale(1.06); }
}

@keyframes particleDrift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-24px, -36px, 0); }
}

@keyframes slowSpin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spinOnly {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes orbitTilt {
  0%, 100% { transform: rotate(-12deg) scale(1); }
  50% { transform: rotate(-7deg) scale(1.03); }
}

@keyframes floatySlow {
  0%, 100% { transform: rotate(14deg) translateY(0); }
  50% { transform: rotate(11deg) translateY(-10px); }
}

@keyframes nodePulse {
  0% { opacity: 0.18; transform: scale(0.99); }
  100% { opacity: 0.34; transform: scale(1.02); }
}

@keyframes breathe {
  0%, 100% { opacity: 0.22; transform: scale(1); }
  50% { opacity: 0.34; transform: scale(1.03); }
}

@keyframes lightSweep {
  0%, 15% { transform: translateX(-34%); opacity: 0; }
  25%, 42% { opacity: 0.22; }
  55% { transform: translateX(34%); opacity: 0; }
  100% { transform: translateX(34%); opacity: 0; }
}

@media (max-width: 1100px) {
  .topbar {
    border-radius: 30px;
  }

  .nav,
  .nav-actions .ghost-link {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .topbar.menu-open {
    border-radius: 32px;
    align-items: start;
  }

  .topbar.menu-open .nav {
    display: grid;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(7, 21, 45, 0.96);
    backdrop-filter: blur(16px);
  }

  .topbar.menu-open .nav-actions {
    display: flex;
  }

  .hero,
  .split-layout,
  .insights-layout,
  .contact-layout,
  .footer {
    grid-template-columns: 1fr;
  }

  .metrics-grid,
  .industry-cloud,
  .logo-row,
  .footer-columns,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 28px, 1000px);
    --radius: 22px;
  }

  .topbar {
    top: 12px;
    margin-top: 12px;
    padding: 14px 16px;
  }

  .section {
    padding: 84px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero.section {
    padding-top: 110px;
    padding-bottom: 72px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-fade-sides {
    display: none;
  }

  .hero-actions,
  .nav-actions,
  .button,
  .button-secondary,
  .button-primary {
    width: 100%;
  }

  .services-grid,
  .reasons-grid,
  .metrics-grid,
  .industry-cloud,
  .timeline,
  .logo-row,
  .footer-columns,
  .content-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .section-dark {
    padding: 72px 22px;
    border-radius: 28px;
  }

  .testimonial-card {
    padding: 30px 22px;
  }
}

/* ── IMAGE INTEGRATION ADDITIONS ──────────────────────────── */

/* Industry cards with real photo backgrounds */
.industry-card {
  position: relative;
  color: var(--text);
}

/* Article cards with photo backgrounds */
.article-card {
  position: relative;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.article-card span,
.article-card h3 {
  position: relative;
  z-index: 1;
}

/* Featured article photo background */
.featured-article {
  position: relative;
  background-size: cover !important;
  background-position: center !important;
}
.featured-article > * {
  position: relative;
  z-index: 1;
}

/* Testimonial avatar */
.testimonial-card {
  padding-top: 28px;
}

/* Contact form focus states */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 184, 200, 0.14);
}
.contact-form input:invalid:not(:placeholder-shown),
.contact-form textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(220, 80, 60, 0.6);
}

/* Nav active gold underline */
.nav a.active {
  color: var(--text);
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
}

/* Smooth image loading */
img {
  transition: opacity 0.3s ease;
}
img[loading="lazy"] {
  opacity: 0;
}
img[loading="lazy"].loaded {
  opacity: 1;
}

/* Content-grid 3-col layout for about/careers */
.content-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1100px) {
  .content-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .content-grid { grid-template-columns: 1fr; }
}

/* ── FAQ EXPAND INDICATOR ─────────────────────────────────── */

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(200, 154, 43, 0.4);
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.3s ease, background 0.3s ease;
}

details[open] > summary::after {
  content: "−";
  background: var(--gold-soft);
  transform: rotate(180deg);
}

.faq-item summary:hover::after {
  background: var(--gold-soft);
}

/* ── TESTIMONIAL DOTS ─────────────────────────────────────── */

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(200, 154, 43, 0.5);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, width 0.3s ease;
}

.testimonial-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  width: 22px;
  border-radius: 999px;
}

/* ── FOOTER BOTTOM BAR ────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--line);
  padding-top: 48px;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.footer-bottom p,
.footer-bottom a {
  color: var(--muted-soft);
  font-size: 0.85rem;
  margin: 0;
}

.footer-bottom a:hover {
  color: var(--text);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

@media (max-width: 760px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ══════════════════════════════════════════════════════════
   LIGHT SECTIONS
   ══════════════════════════════════════════════════════════ */

/*
 * Full-width light band: same padding trick as the hero.
 * Overrides the container-capped width so the background
 * bleeds to viewport edges while content stays aligned.
 */
.section--light {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: max(calc((100vw - var(--container)) / 2), 32px);
  padding-right: max(calc((100vw - var(--container)) / 2), 32px);
  background: linear-gradient(180deg, #f5f8fc 0%, #edf2f8 100%);
  overflow: clip;
}

/* suppress dark-themed decorative pseudo-elements */
.section--light::before,
.section--light::after {
  display: none !important;
}

/* ── Typography on light ── */
.section--light,
.section--light h2,
.section--light h3,
.section--light h4 {
  color: #0c1e38;
}

.section--light p {
  color: #3d5472;
}

.section--light .eyebrow {
  color: var(--gold);
}

.section--light .section-heading p {
  color: #4a6585;
}

.section--light .section-heading a,
.section--light .text-link {
  color: #0c1e38;
}


/* ── Cards: solid white, no backdrop-filter ── */
.section--light .service-card,
.section--light .metric-card,
.section--light .reason-card,
.section--light .timeline-item,
.section--light .faq-item,
.section--light .testimonial-card {
  background: #ffffff !important;
  border: 1px solid rgba(12, 30, 56, 0.08) !important;
  backdrop-filter: none !important;
  box-shadow: 0 2px 16px rgba(12, 30, 56, 0.06), 0 1px 3px rgba(12, 30, 56, 0.04) !important;
}

.section--light .service-card:hover {
  border-color: rgba(200, 154, 43, 0.45) !important;
  box-shadow: 0 10px 36px rgba(12, 30, 56, 0.1), 0 0 0 1px rgba(200, 154, 43, 0.18) !important;
  transform: translateY(-8px);
}

/* gold hover glow stays, but softer on white */
.section--light .service-card::after {
  background: radial-gradient(circle, rgba(200, 154, 43, 0.1), transparent 68%) !important;
}

/* ── Service card text ── */
.section--light .service-card h3,
.section--light .reason-card h3 {
  color: #0c1e38;
}

.section--light .service-card p,
.section--light .reason-card p {
  color: #4a6585;
}

.section--light .service-icon {
  color: var(--teal);
}

.section--light .service-arrow {
  color: rgba(12, 30, 56, 0.45);
}

.section--light .service-card:hover .service-arrow {
  color: #0c1e38;
}

/* ── Metric cards ── */
.section--light .metric-card strong {
  color: #0c1e38;
}

.section--light .metric-card span {
  color: #4a6585;
}

/* ── Testimonials on light ── */

/* quote text & name need enough room — bump track height */
.section--light .testimonial-track {
  min-height: 400px;
}

/* no background needed — card fills the track */
.section--light .testimonial-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.section--light .testimonial-card p {
  color: #0c1e38;
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
}

.section--light .testimonial-card strong {
  color: var(--gold);
}

.section--light .logo-row span {
  border: 1px solid rgba(12, 30, 56, 0.12);
  color: rgba(12, 30, 56, 0.38);
  letter-spacing: 0.14em;
  background: rgba(12, 30, 56, 0.03);
}

.section--light .carousel-button {
  border: 1px solid rgba(12, 30, 56, 0.16);
  background: rgba(12, 30, 56, 0.05);
  color: #0c1e38;
}

.section--light .carousel-button:hover {
  background: rgba(12, 30, 56, 0.1);
}

.section--light .testimonial-dot {
  background: rgba(12, 30, 56, 0.18);
}

.section--light .testimonial-dot.active {
  background: var(--gold);
  width: 28px;
}

/* ── FAQ on light ── */
.section--light .faq-item summary {
  color: #0c1e38;
}

.section--light .faq-item p {
  color: #4a6585;
}


/* ── WIDE SCREEN (1600px+) ────────────────────────────────── */

@media (min-width: 1600px) {
  :root {
    --container: min(1560px, calc(100vw - 96px));
  }
}

/* ══════════════════════════════════════════════════════════
   MEGA MENU
   ══════════════════════════════════════════════════════════ */

.nav-item {
  position: static;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.nav-trigger:hover,
.nav-item.mega-open .nav-trigger {
  color: var(--text);
}

.nav-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  opacity: 0.7;
}

.nav-item.mega-open .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* ── Panel ── */
.megamenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: rgba(5, 14, 32, 0.97);
  backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 28px 32px;
  display: grid;
  opacity: 0;
  transform: translateY(-10px) scale(0.99);
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 200;
  box-shadow:
    0 48px 80px rgba(1, 8, 21, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.nav-item.mega-open .megamenu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ── Services: 3 cols + featured ── */
.megamenu--services {
  grid-template-columns: 1fr 1fr 1fr 256px;
  gap: 0 28px;
}

/* ── Industries: content col + featured ── */
.megamenu--industries {
  grid-template-columns: 1fr 280px;
  gap: 0 28px;
}

/* ── Case Studies: 3 equal cards ── */
.megamenu--case-studies {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ── Column ── */
.mega-col {
  position: relative;
}

/* thin divider centred in the grid gap */
.mega-col:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -14px;
  width: 1px;
  background: rgba(255, 255, 255, 0.07);
}

.mega-col-label {
  display: block;
  font-size: 0.69rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(200, 154, 43, 0.2);
}

/* ── Service item row ── */
.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 8px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mega-item:last-child {
  border-bottom: none;
}

.mega-item-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.mega-item:hover .mega-item-icon {
  background: var(--gold-soft);
  border-color: rgba(200, 154, 43, 0.3);
  color: var(--gold);
}

.mega-item-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 2px;
  transition: color 0.2s;
}

.mega-item:hover .mega-item-text strong {
  color: var(--gold);
}

.mega-item-text span {
  font-size: 0.77rem;
  color: var(--muted-soft);
  line-height: 1.45;
}

/* ── Featured panel ── */
.mega-featured {
  border-radius: 16px;
  padding: 22px 20px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover !important;
  background-position: center !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
}

.mega-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top right, rgba(200, 154, 43, 0.12), transparent 50%);
  pointer-events: none;
}

.mega-featured-tag {
  display: block;
  font-size: 0.69rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 9px;
}

.mega-featured h4 {
  font-family: "Manrope", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin: 0 0 8px;
}

.mega-featured p {
  font-size: 0.79rem;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.55;
}

.mega-featured-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.81rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  transition: gap 0.2s;
}

.mega-featured-link:hover {
  gap: 10px;
}

/* ── Industry pills ── */
.mega-industry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 2px;
}

.mega-industry-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 9px;
  font-size: 0.85rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.mega-industry-item::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.2s, background 0.2s;
}

.mega-industry-item:hover {
  background: var(--gold-soft);
  color: var(--text);
  border-color: rgba(200, 154, 43, 0.25);
}

.mega-industry-item:hover::before {
  background: var(--gold);
  opacity: 1;
}

/* ── Case study preview cards ── */
.mega-case-card {
  border-radius: 16px;
  padding: 20px 18px;
  min-height: 158px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover !important;
  background-position: center !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.mega-case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 154, 43, 0.45);
}

.mega-case-tag {
  display: block;
  font-size: 0.69rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 7px;
}

.mega-case-card h4 {
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
  color: var(--text);
}

/* ── Mobile: hide mega menus entirely ── */
@media (max-width: 1100px) {
  .megamenu {
    display: none !important;
  }

  .nav-chevron {
    display: none;
  }
}
