:root {
  --brand-blue-900: #021d3b;
  --brand-blue-700: #0f3f70;
  --brand-green-700: #146850;
  --brand-green-500: #2fa084;
  --ink-900: #0b1523;
  --ink-700: #2b3e55;
  --ink-500: #58708a;
  --surface: #ffffff;
  --surface-soft: #f2f7fb;
  --line: #d4e0eb;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 12px 32px rgba(2, 29, 59, 0.1);
  --shadow-strong: 0 24px 48px rgba(2, 29, 59, 0.16);
  --header-offset: 130px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink-900);
  line-height: 1.6;
  background:
    radial-gradient(circle at 84% -10%, rgba(20, 104, 80, 0.16), transparent 36%),
    radial-gradient(circle at 8% 18%, rgba(15, 63, 112, 0.15), transparent 32%),
    linear-gradient(180deg, #f8fbfe 0%, #eef4f9 100%);
}

.container {
  width: min(1160px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(2, 29, 59, 0.08);
  background: rgba(248, 252, 255, 0.8);
  backdrop-filter: blur(10px);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

[id]:not(#topo) {
  scroll-margin-top: calc(var(--header-offset) + 14px);
}

.top-social-bar {
  border-bottom: 1px solid rgba(2, 29, 59, 0.08);
  background: linear-gradient(90deg, #072443, #0d3a66);
  color: #d7e7f7;
}

.top-social-wrap {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  font-size: 0.84rem;
  font-weight: 700;
}

.top-social-links {
  display: flex;
  gap: 1rem;
}

.top-social-links a {
  color: #e6f3ff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.top-social-links a:hover {
  opacity: 0.82;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 22px rgba(2, 29, 59, 0.08);
}

.nav-wrap {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img {
  width: 190px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a {
  color: var(--brand-blue-900);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.24rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-green-700), var(--brand-green-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.btn {
  border: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
  background: linear-gradient(120deg, var(--brand-blue-900), var(--brand-blue-700));
  box-shadow: 0 10px 24px rgba(2, 29, 59, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(2, 29, 59, 0.3);
}

.btn-sm {
  padding: 0.66rem 1rem;
  font-size: 0.9rem;
}

.btn-ghost {
  color: var(--brand-blue-900);
  background: transparent;
  border: 2px solid rgba(2, 29, 59, 0.28);
  box-shadow: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--brand-green-700);
  font-size: 0.76rem;
}

.eyebrow-light {
  color: #cde8df;
}

h1,
h2,
h3,
h4 {
  font-family: "Sora", sans-serif;
  letter-spacing: -0.02em;
  margin-top: 0;
}

h1 {
  margin: 0.75rem 0 1rem;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.13;
  color: var(--brand-blue-900);
}

h2 {
  margin: 0.55rem 0 0.9rem;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  line-height: 1.22;
  color: var(--brand-blue-900);
}

h3 {
  margin: 0 0 0.6rem;
  font-size: 1.12rem;
  color: var(--brand-blue-900);
}

p {
  margin: 0 0 1rem;
  color: var(--ink-700);
}

.section {
  padding: 5rem 0;
}

.hero {
  position: relative;
  padding: 5.2rem 0 4.2rem;
  overflow: clip;
}

.partner-spotlight {
  padding-bottom: 2rem;
}

.partner-wrap {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 1rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(234, 245, 241, 0.92));
  border: 1px solid rgba(20, 104, 80, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: var(--shadow-soft);
}

.partner-connection {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.8rem;
}

.partner-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem;
  display: flex;
  justify-content: center;
  min-height: 120px;
}

.partner-card img {
  width: min(100%, 360px);
  display: block;
}

.partner-card-brand img {
  width: min(100%, 200px);
}

.partner-card-main img {
  width: min(100%, 220px);
}

.connection-node {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--brand-blue-900), var(--brand-green-700));
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.connection-node::before,
.connection-node::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, rgba(2, 29, 59, 0.18), rgba(20, 104, 80, 0.55));
}

.connection-node::before {
  left: -34px;
}

.connection-node::after {
  right: -34px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(12px);
}

.hero-orb-a {
  width: 520px;
  height: 520px;
  right: -220px;
  top: -180px;
  background: conic-gradient(from 190deg, rgba(47, 160, 132, 0.38), rgba(2, 29, 59, 0.28), rgba(15, 63, 112, 0.38));
}

.hero-orb-b {
  width: 460px;
  height: 460px;
  left: -220px;
  bottom: -220px;
  background: radial-gradient(circle at 38% 35%, rgba(20, 104, 80, 0.36), rgba(20, 104, 80, 0));
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: center;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.hero-metrics {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.hero-metrics div {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(2, 29, 59, 0.12);
  border-radius: 12px;
  padding: 0.72rem 0.8rem;
}

.hero-metrics strong {
  display: block;
  color: var(--brand-blue-900);
  font-size: 1.2rem;
  line-height: 1.1;
}

.hero-metrics span {
  color: var(--ink-500);
  font-size: 0.83rem;
  font-weight: 700;
}

.hero-panel {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(239, 248, 244, 0.94) 100%);
  border: 1px solid rgba(20, 104, 80, 0.2);
  box-shadow: var(--shadow-strong);
}

.hero-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-panel li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.75rem;
  color: #1f3a54;
  font-weight: 700;
}

.hero-panel li span {
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--brand-green-700), var(--brand-green-500));
}

.section-bpo {
  border-top: 1px solid rgba(2, 29, 59, 0.06);
  border-bottom: 1px solid rgba(2, 29, 59, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(235, 245, 240, 0.65) 100%);
}

.bpo-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.1rem;
  align-items: center;
}

.bpo-cards {
  display: grid;
  gap: 0.8rem;
}

.mini-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.section-head {
  max-width: 850px;
  margin-bottom: 1.4rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  position: relative;
  isolation: isolate;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(2, 29, 59, 0.03), rgba(47, 160, 132, 0.07));
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}

.card:hover::before {
  opacity: 1;
}

.section-alt {
  background: linear-gradient(180deg, #edf5fc 0%, #e8f4ef 100%);
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-blue-700), var(--brand-green-700));
}

.timeline li {
  position: relative;
  margin: 0 0 0.9rem 0;
  padding: 0.75rem 0.9rem 0.75rem 2.2rem;
  border-radius: 12px;
  border: 1px solid rgba(2, 29, 59, 0.12);
  background: rgba(255, 255, 255, 0.8);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 1rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--brand-blue-900), var(--brand-green-500));
  border: 2px solid #fff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.benefit {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.benefit strong {
  color: var(--brand-blue-900);
  display: inline-block;
  margin-bottom: 0.34rem;
}

.benefit p {
  margin: 0;
}

.cta-band {
  padding-top: 1rem;
}

.cta-inner {
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #fff;
  background: linear-gradient(120deg, #041f3b 0%, #104d83 62%, #1a7a5d 100%);
  box-shadow: var(--shadow-strong);
}

.cta-inner h2 {
  margin: 0.5rem 0 0;
  color: #fff;
  max-width: 700px;
}

.cta-inner .btn {
  color: var(--brand-blue-900);
  background: #fff;
}

.site-footer {
  margin-top: 3rem;
  background: #081e3a;
  color: #d6e2f3;
  padding: 2.8rem 0 1.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 1rem;
}

.site-footer h3,
.site-footer h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #fff;
}

.site-footer p,
.site-footer a {
  text-decoration: none;
  color: #d6e2f3;
  margin: 0 0 0.36rem;
}

.footer-bottom {
  border-top: 1px solid rgba(214, 226, 243, 0.15);
  margin-top: 1rem;
  padding-top: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger .reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger .reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger .reveal:nth-child(6) { transition-delay: 0.4s; }

@media (max-width: 1040px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 920px) {
  .hero-grid,
  .bpo-grid,
  .footer-grid,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .partner-wrap {
    grid-template-columns: 1fr;
  }

  .partner-connection {
    grid-template-columns: 1fr;
  }

  .connection-node::before,
  .connection-node::after {
    display: none;
  }

  .hero-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .cta-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

}

@media (max-width: 640px) {
  .section {
    padding: 3.7rem 0;
  }

  .container {
    width: min(1160px, calc(100% - 1.2rem));
  }

  .hero {
    padding-top: 3.2rem;
  }

  .hero-metrics,
  .cards-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .btn,
  .btn-sm {
    width: 100%;
  }

  .site-header {
    position: static;
  }

  .top-social-wrap {
    min-height: 46px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 0.35rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
