:root {
  --navy: #07172b;
  --navy-2: #102b4b;
  --ink: #112235;
  --muted: #647184;
  --paper: #f5f8fb;
  --white: #ffffff;
  --line: #dce5ee;
  --gold: #f3b51b;
  --gold-soft: #fff4d0;
  --aqua: #34b8c7;
  --green: #67b36f;
  --shadow: 0 24px 70px rgba(7, 23, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

img,
video {
  display: block;
  max-width: 100%;
}

.section-inner {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 10px max(24px, calc((100vw - 1140px) / 2));
  border-bottom: 1px solid rgba(7, 23, 43, 0.08);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 18px 44px rgba(7, 23, 43, 0.18),
    0 4px 12px rgba(7, 23, 43, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  width: 212px;
  height: 76px;
  align-items: center;
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
}

.brand img {
  width: auto;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
}

.nav-links a:hover {
  color: var(--gold);
}

.button,
.nav-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button.primary,
.nav-cta {
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 18px 34px rgba(243, 181, 27, 0.26);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

p {
  line-height: 1.7;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: flex-end;
  padding: 126px 0 0;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(7, 23, 43, 0) 76%, var(--paper) 100%),
    radial-gradient(circle at 50% 30%, rgba(52, 184, 199, 0.24), transparent 42%),
    linear-gradient(135deg, var(--navy) 0%, #103554 52%, #24645c 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  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: 56px 56px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.2) 80%, transparent 100%);
}

.data-routes {
  position: absolute;
  inset: 76px 0 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.route {
  position: absolute;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), rgba(52, 184, 199, 0.28), transparent);
  opacity: 0.72;
  transform-origin: left center;
}

.route i {
  position: absolute;
  top: 50%;
  left: -64px;
  width: 64px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold), rgba(255, 255, 255, 0.95));
  box-shadow:
    0 0 16px rgba(243, 181, 27, 0.52),
    0 0 28px rgba(52, 184, 199, 0.28);
  transform: translateY(-50%);
  animation: bit-travel 5.4s linear infinite;
}

.route-one {
  top: 24%;
  left: -7%;
  width: 48%;
  transform: rotate(14deg);
}

.route-two {
  top: 38%;
  right: -6%;
  width: 48%;
  transform: rotate(-12deg);
}

.route-three {
  top: 58%;
  left: 6%;
  width: 38%;
  transform: rotate(-8deg);
}

.route-four {
  top: 66%;
  right: 10%;
  width: 34%;
  transform: rotate(9deg);
}

.route-two i {
  animation-delay: -1.8s;
  animation-duration: 6.2s;
}

.route-three i {
  animation-delay: -3.1s;
  animation-duration: 5.8s;
}

.route-four i {
  animation-delay: -0.9s;
  animation-duration: 6.8s;
}

.data-bit {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow:
    0 0 14px rgba(243, 181, 27, 0.7),
    0 0 26px rgba(52, 184, 199, 0.34);
  opacity: 0.8;
  animation: bit-float 7s ease-in-out infinite;
}

.bit-one {
  top: 30%;
  left: 18%;
}

.bit-two {
  top: 47%;
  right: 22%;
  animation-delay: -2.4s;
}

.bit-three {
  top: 70%;
  left: 64%;
  animation-delay: -4.2s;
}

@keyframes bit-travel {
  0% {
    left: -72px;
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  84% {
    opacity: 1;
  }

  100% {
    left: calc(100% + 72px);
    opacity: 0;
  }
}

@keyframes bit-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.35;
  }

  42% {
    transform: translate3d(18px, -14px, 0);
    opacity: 0.95;
  }

  72% {
    transform: translate3d(-10px, 9px, 0);
    opacity: 0.62;
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 46px;
  text-align: center;
}

.hero-copy h1 {
  max-width: 840px;
  margin: 0 auto;
  font-size: clamp(2rem, 3.65vw, 3.75rem);
  line-height: 1.04;
}

.hero-copy p:not(.eyebrow) {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-visual {
  position: relative;
  width: min(1050px, 100%);
  margin: 0 auto -34px;
}

.hero-visual > img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px 28px 0 0;
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.34),
    0 -22px 64px rgba(52, 184, 199, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.services,
.process {
  padding: 104px 0;
  background: linear-gradient(180deg, var(--paper) 0%, var(--white) 46%, #eef5f6 100%);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.services .section-heading,
.process .section-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.outcomes h2,
.video-band h2,
.trust h2,
.contact h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 4.05rem);
  line-height: 1.08;
}

.section-heading p,
.outcomes p,
.video-band p,
.trust p,
.contact p,
.service-module p,
.process p {
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.service-module {
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 22px 46px rgba(7, 23, 43, 0.12),
    0 8px 18px rgba(7, 23, 43, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.service-module:hover {
  transform: translateY(-6px);
  box-shadow:
    0 32px 68px rgba(7, 23, 43, 0.18),
    0 12px 24px rgba(7, 23, 43, 0.1);
}

.service-module img {
  width: 148px;
  height: 148px;
  margin-bottom: 20px;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(7, 23, 43, 0.16));
}

.service-module h3,
.process h3 {
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1.2;
}

.service-module p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.outcomes {
  padding: 108px 0;
  background:
    linear-gradient(180deg, #eef5f6 0%, rgba(238, 245, 246, 0) 16%),
    linear-gradient(135deg, #ffffff 0%, #edf4f7 100%);
}

.outcomes-top,
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}

.outcomes-copy {
  text-align: center;
}

.outcomes-copy h2 {
  max-width: 660px;
  margin: 0 auto;
}

.outcomes-visual img,
.trust-grid img {
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.outcome-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.outcome-list article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.outcome-list span,
.process span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--gold);
  font-family: "Sora", sans-serif;
  font-weight: 800;
}

.outcome-list strong {
  display: block;
  color: var(--navy);
  font-family: "Sora", sans-serif;
}

.outcome-list p {
  margin: 6px 0 0;
  font-size: 0.95rem;
}

.video-band {
  padding: 108px 0;
  color: var(--white);
  background:
    linear-gradient(180deg, #edf4f7 0%, rgba(237, 244, 247, 0) 18%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 58%, #215e57 100%);
}

.video-band h2,
.video-band p {
  color: var(--white);
}

.video-band p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.75);
}

.video-grid {
  max-width: 900px;
  text-align: center;
}

.video-band h2 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(1.85rem, 3.2vw, 3.25rem);
}

.video-band p:not(.eyebrow) {
  max-width: 690px;
  margin-right: auto;
  margin-left: auto;
}

.video-band video {
  width: 100%;
  margin-top: 28px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.28);
}

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

.process-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow:
    0 22px 46px rgba(7, 23, 43, 0.12),
    0 8px 18px rgba(7, 23, 43, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.process-grid article:hover {
  transform: translateY(-6px);
  box-shadow:
    0 32px 68px rgba(7, 23, 43, 0.18),
    0 12px 24px rgba(7, 23, 43, 0.1);
}

.process-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 16px;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(7, 23, 43, 0.14));
}

.trust {
  padding: 108px 0;
  background: linear-gradient(180deg, #eef5f6 0%, #ffffff 100%);
}

.trust p {
  font-size: 1.05rem;
}

.contact {
  position: relative;
  padding: 104px 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 18%),
    linear-gradient(135deg, #08203c 0%, #113c54 100%);
}

.contact-flow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.contact-flow::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  background:
    radial-gradient(circle at 18% 34%, rgba(243, 181, 27, 0.18), transparent 18%),
    radial-gradient(circle at 78% 62%, rgba(52, 184, 199, 0.22), transparent 24%);
  opacity: 0.9;
}

.contact-route {
  position: absolute;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), rgba(52, 184, 199, 0.62), rgba(243, 181, 27, 0.34), transparent);
  opacity: 1;
  transform-origin: left center;
  box-shadow: 0 0 22px rgba(52, 184, 199, 0.18);
}

.contact-route i {
  position: absolute;
  top: 50%;
  left: -64px;
  width: 64px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold), rgba(255, 255, 255, 0.95));
  box-shadow:
    0 0 16px rgba(243, 181, 27, 0.52),
    0 0 28px rgba(52, 184, 199, 0.28);
  transform: translateY(-50%);
  animation: bit-travel 5.8s linear infinite;
}

.contact-route-one {
  top: 18%;
  left: -8%;
  width: 74%;
  transform: rotate(10deg);
}

.contact-route-two {
  top: 48%;
  right: -8%;
  width: 70%;
  transform: rotate(-9deg);
}

.contact-route-three {
  top: 82%;
  left: -4%;
  width: 60%;
  transform: rotate(-6deg);
}

.contact-route-two i {
  animation-delay: -2s;
  animation-duration: 6.4s;
}

.contact-route-three i {
  animation-delay: -3.4s;
  animation-duration: 6.9s;
}

.contact-bit {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow:
    0 0 14px rgba(243, 181, 27, 0.7),
    0 0 26px rgba(52, 184, 199, 0.34);
  opacity: 0.8;
  animation: bit-float 7s ease-in-out infinite;
}

.contact-bit-one {
  top: 20%;
  left: 12%;
}

.contact-bit-two {
  top: 66%;
  right: 14%;
  animation-delay: -2.4s;
}

.contact-panel {
  position: relative;
  z-index: 1;
  max-width: 870px;
  padding: 54px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.contact h2,
.contact p {
  color: var(--white);
}

.contact p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px max(16px, calc((100vw - 1140px) / 2));
  color: rgba(255, 255, 255, 0.74);
  background: #050e1a;
}

.site-footer strong {
  color: var(--white);
}

.chat-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: var(--navy);
  background: var(--gold);
  box-shadow:
    0 20px 46px rgba(7, 23, 43, 0.26),
    0 0 34px rgba(243, 181, 27, 0.34);
  cursor: pointer;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  overflow: hidden;
  padding: 0;
}

.chat-launcher img {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  margin: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(7, 23, 43, 0.2));
}

.chat-nudge {
  position: fixed;
  right: 104px;
  bottom: 36px;
  z-index: 40;
  max-width: 220px;
  padding: 12px 14px;
  border: 1px solid rgba(243, 181, 27, 0.38);
  border-radius: 14px;
  color: var(--white);
  background: rgba(7, 23, 43, 0.86);
  box-shadow:
    0 18px 38px rgba(7, 23, 43, 0.24),
    0 0 24px rgba(243, 181, 27, 0.14);
  font-size: 0.88rem;
  font-weight: 800;
  backdrop-filter: blur(14px);
  animation: nudge-float 3.4s ease-in-out infinite;
  transition: opacity 160ms ease, transform 160ms ease;
}

.chat-nudge::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -7px;
  width: 12px;
  height: 12px;
  background: rgba(7, 23, 43, 0.86);
  border-top: 1px solid rgba(243, 181, 27, 0.38);
  border-right: 1px solid rgba(243, 181, 27, 0.38);
  transform: translateY(-50%) rotate(45deg);
}

.chat-nudge.hidden {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.chat-pulse {
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(243, 181, 27, 0.42);
  border-radius: inherit;
  animation: chat-pulse 2.4s ease-out infinite;
}

.ai-chat {
  position: fixed;
  right: 24px;
  bottom: 104px;
  z-index: 39;
  width: min(390px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 78px rgba(7, 23, 43, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(18px);
}

.ai-chat.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #123d56);
}

.chat-header strong,
.chat-header span {
  display: block;
}

.chat-header span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

.chat-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.chat-body {
  max-height: 470px;
  overflow: auto;
  padding: 16px;
}

.message {
  max-width: 88%;
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 16px;
}

.message span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.75rem;
  font-weight: 800;
}

.message p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.message.bot {
  color: var(--ink);
  background: #eef4f6;
}

.message.user {
  margin-left: auto;
  color: var(--white);
  background: var(--navy-2);
}

.chat-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.chat-options.inline {
  margin-top: 4px;
  margin-bottom: 12px;
}

.chat-options button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(7, 23, 43, 0.12);
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.chat-options button:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.chat-cta {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: var(--gold);
  font-weight: 800;
}

@keyframes chat-pulse {
  0% {
    opacity: 0.75;
    transform: scale(0.92);
  }

  100% {
    opacity: 0;
    transform: scale(1.32);
  }
}

@keyframes nudge-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

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

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

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    height: 70px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hero-grid,
  .outcomes-top,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
  }

  .route-three,
  .route-four,
  .bit-three {
    display: none;
  }
}

@media (max-width: 620px) {
  .brand {
    width: 176px;
    height: 70px;
  }

  .hero {
    padding-top: 98px;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .services,
  .outcomes,
  .video-band,
  .process,
  .trust,
  .contact {
    padding: 72px 0;
  }

  .services-grid,
  .process-grid,
  .outcome-list {
    grid-template-columns: 1fr;
  }

  .service-module {
    min-height: auto;
    padding: 22px;
    text-align: center;
  }

  .service-module img {
    width: 112px;
    height: 112px;
    margin-right: auto;
    margin-left: auto;
  }

  .service-module h3,
  .process h3 {
    font-size: 1.02rem;
  }

  .service-module p,
  .process p,
  .outcome-list p {
    font-size: 0.92rem;
  }

  .process-grid article,
  .outcome-list article {
    padding: 18px;
  }

  .process-grid img {
    width: min(190px, 78%);
    margin-right: auto;
    margin-left: auto;
  }

  .contact-panel {
    padding: 32px 22px;
  }

  .site-footer {
    flex-direction: column;
  }

  .chat-launcher {
    right: 16px;
    bottom: 16px;
  }

  .chat-nudge {
    right: 92px;
    bottom: 26px;
    max-width: 170px;
    font-size: 0.78rem;
  }

  .ai-chat {
    right: 16px;
    bottom: 92px;
  }
}
