:root {
  --navy-950: #0E1C34;
  --navy-800: #14243A;
  --blue-600: #0B51AC;
  --blue-500: #1F6FD1;
  --blue-300: #7FAEF0;
  --blue-50: #EEF3FA;
  --grey-600: #5B6472;
  --grey-300: #D5DBE4;
  --white: #FFFFFF;
  --radius-lg: 20px;
  --radius-btn: 8px;
  --container: 1240px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--grey-600);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-600);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

a:hover {
  color: var(--blue-500);
  border-color: var(--blue-500);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--navy-950);
  color: var(--white);
  padding: 8px 16px;
  z-index: 1000;
  transition: top 0.2s;
  border: none;
}

.skip-link:focus {
  top: 0;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: 112px 0;
}

.section-white {
  background: var(--white);
}

.section-blue-50 {
  background: var(--blue-50);
}

.section-navy {
  background: var(--navy-950);
  color: var(--white);
}

@media (max-width: 900px) {
  section {
    padding: 80px 0;
  }
}

@media (max-width: 600px) {
  section {
    padding: 64px 0;
  }

  .container {
    padding: 0 20px;
  }
}

.section-header {
  max-width: 640px;
  margin-bottom: 56px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 16px;
}

h1, h2, h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy-800);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 24px;
}

h3 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 600;
}

p {
  margin-bottom: 1.65em;
}

.btn-primary {
  display: inline-block;
  background: var(--blue-600);
  color: var(--white);
  padding: 14px 28px;
  border: none;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-primary:hover {
  background: var(--blue-500);
  color: var(--white);
  border: none;
}

.btn-outline-white {
  display: inline-block;
  padding: 13px 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-btn);
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: var(--white);
}

header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--grey-300);
  z-index: 100;
}

header.scrolled {
  box-shadow: 0 2px 12px rgba(14, 28, 52, 0.06);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  border: none;
  display: flex;
  align-items: center;
}

.logo img {
  height: 32px;
  width: auto;
}

nav {
  display: flex;
  align-items: center;
  position: relative;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--navy-800);
  border: none;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 0;
}

.nav-links a:hover {
  color: var(--blue-600);
  border: none;
}

.nav-links .btn-nav {
  background: var(--blue-600);
  color: var(--white);
  padding: 12px 22px;
  border-radius: var(--radius-btn);
  border: none;
  font-weight: 600;
  transition: background 0.15s ease;
}

.nav-links .btn-nav:hover {
  background: var(--blue-500);
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-800);
  margin: 5px 0;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 18px);
    right: 0;
    min-width: 280px;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 8px;
    border: 1px solid var(--grey-300);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 32px rgba(14, 28, 52, 0.08);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .nav-links .btn-nav {
    display: block;
    text-align: center;
  }
}

.hero {
  position: relative;
  padding: 120px 0;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background: var(--navy-950);
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 28, 52, 0.58);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 640px;
}

.hero-eyebrow {
  color: var(--blue-300);
}

.hero h1 {
  color: var(--white);
}

.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 540px;
}

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

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline-white {
    text-align: center;
  }
}

.svc-card {
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) 1.28fr;
}

.svc-tabs {
  background: var(--blue-50);
  border-right: 1px solid var(--grey-300);
  display: flex;
  flex-direction: column;
  padding: 16px 0;
}

.svc-tab {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--grey-300);
  padding: 20px 28px;
  text-align: left;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--grey-600);
  background: transparent;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.svc-tab:last-child {
  border-bottom: none;
}

.svc-tab:hover {
  color: var(--navy-800);
  background: rgba(255, 255, 255, 0.55);
}

.svc-tab[aria-selected="true"] {
  background: var(--white);
  color: var(--navy-950);
  font-weight: 700;
  border-left: 3px solid var(--blue-600);
  margin-right: -1px;
  padding-left: 25px;
}

.svc-panels {
  position: relative;
  background: var(--white);
}

.svc-panel {
  padding: 48px;
  min-height: 480px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  position: absolute;
  inset: 0;
}

.svc-panel:not([hidden]) {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.svc-panel-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--navy-800);
}

.service-scope {
  margin-top: 32px;
}

.service-scope-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 16px;
  display: block;
}

.service-scope ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.service-scope li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--grey-300);
}

.service-scope li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-scope li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--blue-600);
  border-radius: 50%;
}

.closing-para {
  font-size: 15px;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .svc-card {
    grid-template-columns: 1fr;
  }

  .svc-tabs {
    border-right: none;
    border-bottom: 1px solid var(--grey-300);
  }

  .svc-tab[aria-selected="true"] {
    margin-right: 0;
    padding-left: 24px;
    border-left: none;
  }

  .svc-panel {
    position: relative;
    padding: 32px 24px;
    min-height: auto;
  }

  .svc-panel[hidden] {
    display: none;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media-accent {
  position: absolute;
  width: 72%;
  height: 72%;
  right: -24px;
  bottom: -24px;
  background: var(--blue-50);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.about-media-accent::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  background: var(--blue-500);
  border-radius: 12px;
  opacity: 0.35;
}

.about-image {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 5 / 6;
  object-fit: cover;
  background: var(--blue-50);
}

.about-content p {
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-media {
    order: -1;
    max-width: 520px;
  }
}

.how-we-work .eyebrow {
  color: var(--blue-300);
}

.how-we-work h2 {
  color: var(--white);
}

.how-we-work-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 80px;
  align-items: start;
}

.how-we-work-sidebar h2 {
  margin-bottom: 0;
}

.how-we-work-timeline {
  --indent: 48px;
  --gap: 64px;
  padding-left: var(--indent);
}

.timeline-step {
  position: relative;
  margin-bottom: var(--gap);
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: calc(var(--indent) * -1);
  top: 20px;
  width: 1px;
  height: calc(100% + var(--gap) - 14px);
  background: rgba(255, 255, 255, 0.18);
}

.timeline-node {
  position: absolute;
  left: calc(var(--indent) * -1 + 0.5px);
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--navy-950);
  border: 1.5px solid var(--blue-500);
  transform: translateX(-50%);
  transition: background 0.3s ease;
  z-index: 1;
}

.timeline-step.visible .timeline-node {
  background: var(--blue-500);
}

.timeline-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue-300);
  margin-bottom: 12px;
}

.timeline-lead {
  font-size: 22px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--white);
  margin: 0 0 12px;
  max-width: 62ch;
}

.timeline-body {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  max-width: 62ch;
}

.js .timeline-step {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.js .timeline-step.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .how-we-work-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .how-we-work-timeline {
    --indent: 28px;
    --gap: 48px;
  }
}

.contact-card {
  position: relative;
  background: var(--navy-950);
  border-radius: 24px;
  padding: 56px;
  overflow: hidden;
  color: var(--white);
}

.contact-card-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape-ring {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 2px solid var(--blue-500);
  border-radius: 50%;
  opacity: 0.12;
  top: -80px;
  right: 12%;
}

.shape-quarter {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid var(--blue-600);
  border-radius: 50%;
  opacity: 0.1;
  bottom: -100px;
  left: 8%;
  clip-path: inset(0 0 50% 50%);
}

.contact-card-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-eyebrow {
  color: var(--blue-300);
}

.contact-card-copy h2 {
  color: var(--white);
}

.contact-intro {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 32px;
}

.contact-details p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 10px;
  font-size: 15px;
}

.contact-details a {
  color: var(--blue-300);
  border: none;
}

.contact-details a:hover {
  color: var(--white);
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--grey-600);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy-800);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-btn);
  background: var(--white);
  color: var(--navy-800);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.honeypot {
  display: none;
}

.consent {
  font-size: 13px;
  margin-top: 16px;
  margin-bottom: 0;
  line-height: 1.5;
}

.link-button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--blue-600);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.link-button:hover {
  color: var(--blue-500);
}

@media (max-width: 900px) {
  .contact-card {
    padding: 40px 28px;
  }

  .contact-card-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.site-footer {
  background: var(--blue-50);
  padding: 64px 0 48px;
}

.footer-card {
  background: var(--navy-950);
  border-radius: 24px;
  padding: 48px 48px 32px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.footer-card-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-logo {
  border: none;
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 28px;
  width: auto;
}

.footer-brand p {
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer-reg {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  border: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--white);
}

.btn-footer-legal {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.btn-footer-legal:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}

@media (max-width: 900px) {
  .footer-card-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.legal-dialog {
  border: none;
  padding: 0;
  margin: auto;
  max-width: min(720px, calc(100vw - 32px));
  width: 100%;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--grey-600);
}

.legal-dialog::backdrop {
  background: rgba(14, 28, 52, 0.6);
}

.legal-dialog-inner {
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px 32px 32px;
}

.legal-dialog-close {
  position: sticky;
  top: 0;
  float: right;
  margin: -8px -8px 8px 8px;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--blue-50);
  border-radius: var(--radius-btn);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--navy-800);
}

.legal-section {
  margin-bottom: 32px;
}

.legal-section h3 {
  color: var(--navy-800);
  font-size: 18px;
  margin-bottom: 12px;
}

.legal-section p {
  margin-bottom: 12px;
  font-size: 15px;
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .fade-up,
  .js .timeline-step {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .svc-panel {
    transition: none;
  }

  .timeline-node {
    transition: none;
  }
}

/* Append to style.css */
.legal-section h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-800);
  margin: 20px 0 8px;
}

.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.legal-section li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 15px;
}

.legal-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-600);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

a.btn-footer-legal {
  display: inline-block;
  text-decoration: none;
  line-height: 1.4;
}

a.btn-footer-legal:hover {
  color: var(--white);
}
