:root {
  --navy: #061638;
  --navy-2: #0b2352;
  --blue: #1859ed;
  --blue-light: #5e8cff;
  --sky: #eef4ff;
  --text: #14213d;
  --muted: #61708e;
  --line: #dce5f2;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 28, 73, 0.12);
  --radius: 22px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220,229,242,.85);
}

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

.brand img {
  width: 150px;
  height: 58px;
  object-fit: cover;
  object-position: center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: .94rem;
  font-weight: 600;
}

.site-nav a:not(.nav-cta):hover { color: var(--blue); }

.nav-cta {
  padding: 12px 18px;
  color: white;
  background: var(--navy);
  border-radius: 12px;
}

.menu-toggle {
  display: none;
  padding: 8px;
  border: 0;
  background: transparent;
}

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

.hero {
  padding: 100px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(24,89,237,.13), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #fff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow.light { color: #bcd0ff; }

h1, h2, h3 { margin-top: 0; line-height: 1.12; }

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 6vw, 5.7rem);
  letter-spacing: -.055em;
}

h1 span { color: var(--blue); }

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  letter-spacing: -.04em;
}

h3 { margin-bottom: 12px; font-size: 1.35rem; }

.hero-copy > p {
  max-width: 660px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 1.1rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 700;
  transition: .2s ease;
}

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

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), #123dc4);
  box-shadow: 0 12px 30px rgba(24,89,237,.25);
}

.button.secondary {
  border-color: var(--line);
  background: white;
}

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

.full-width { width: 100%; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
}

.hero-points span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--blue);
}

.workflow-card {
  padding: 28px;
  border: 1px solid rgba(194,210,236,.8);
  border-radius: 26px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow);
}

.workflow-header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: .85rem;
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #28c76f;
  box-shadow: 0 0 0 5px rgba(40,199,111,.12);
}

.workflow-list { padding: 24px 4px; }

.workflow-step {
  display: flex;
  align-items: center;
  gap: 14px;
}

.step-icon {
  flex: 0 0 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--blue);
  background: var(--sky);
  font-weight: 800;
}

.workflow-step.active .step-icon {
  color: white;
  background: var(--blue);
}

.workflow-step strong, .workflow-step small { display: block; }
.workflow-step small { color: var(--muted); }
.connector {
  width: 2px;
  height: 22px;
  margin: 4px 0 4px 20px;
  background: var(--line);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  padding-top: 20px;
  text-align: center;
}

.metric-row strong, .metric-row span { display: block; }
.metric-row strong { color: var(--blue); font-size: 1.15rem; }
.metric-row span { color: var(--muted); font-size: .75rem; }

.trust-strip {
  padding: 24px 0;
  color: white;
  background: var(--navy);
  text-align: center;
  font-weight: 700;
}

.trust-strip p { margin: 0; }

.section { padding: 105px 0; }
.section.alt { background: #f7f9fd; }

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

.section-heading > p {
  max-width: 440px;
  color: var(--muted);
}

.section-heading.centred {
  max-width: 760px;
  display: block;
  margin: 0 auto 50px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  transition: .25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #b7c9ee;
  box-shadow: 0 18px 44px rgba(10,36,84,.1);
}

.service-number {
  margin-bottom: 28px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.service-card p, .service-card li { color: var(--muted); }
.service-card ul {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}
.service-card li {
  padding: 7px 0;
  border-top: 1px solid #edf1f7;
  font-size: .9rem;
}
.service-card li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--blue);
}

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

.process-card {
  position: relative;
  padding: 30px 24px;
  border-radius: 20px;
  background: white;
  box-shadow: 0 12px 35px rgba(11,35,82,.06);
}

.process-card span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 38px;
  border-radius: 14px;
  color: white;
  background: var(--blue);
  font-weight: 800;
}

.process-card p { color: var(--muted); }

.about-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 28px;
  align-items: stretch;
}

.about-panel, .founder-card {
  padding: 42px;
  border-radius: 26px;
}

.about-panel {
  border: 1px solid var(--line);
}

.about-panel > p, .founder-card p { color: var(--muted); }

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.values div {
  padding: 18px;
  border-radius: 15px;
  background: var(--sky);
}

.values strong, .values span { display: block; }
.values span { margin-top: 6px; color: var(--muted); font-size: .84rem; }

.founder-card {
  color: white;
  background: linear-gradient(160deg, var(--navy), #12306b);
}

.founder-placeholder {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 22px;
  color: var(--navy);
  background: white;
  font-size: 1.7rem;
  font-weight: 800;
}

.founder-role {
  margin-bottom: 5px;
  color: #a9c2fa !important;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.founder-card a { color: #8db0ff; font-weight: 700; }

.portfolio-section { background: #fbfcff; }

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 20px;
}

.portfolio-card {
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
}

.portfolio-visual {
  position: relative;
  height: 180px;
  padding: 18px;
  color: white;
  background:
    linear-gradient(135deg, rgba(6,22,56,.96), rgba(24,89,237,.86)),
    radial-gradient(circle at 80% 10%, rgba(255,255,255,.4), transparent 25%);
}

.portfolio-visual > span {
  position: relative;
  z-index: 2;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.visual-lines {
  position: absolute;
  inset: 50px 25px 25px;
  border-radius: 16px;
  background:
    linear-gradient(#fff,#fff) 18px 20px/55% 5px no-repeat,
    linear-gradient(#9eb9ff,#9eb9ff) 18px 40px/75% 4px no-repeat,
    linear-gradient(#9eb9ff,#9eb9ff) 18px 58px/64% 4px no-repeat,
    rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.24);
}

.portfolio-content { padding: 26px; }
.portfolio-content p { color: var(--muted); }
.portfolio-meta {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.case-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.case-tags span {
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--sky);
  color: var(--blue);
  font-size: .76rem;
  font-weight: 700;
}

.placeholder-card {
  display: grid;
  place-items: center;
  padding: 28px;
  text-align: center;
  border-style: dashed;
}

.placeholder-card > div { max-width: 230px; }
.placeholder-card p { color: var(--muted); }
.plus {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--blue);
  background: var(--sky);
  font-size: 1.7rem;
}

.cta-section { padding: 0 0 105px; }
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 50px;
  border-radius: 28px;
  color: white;
  background:
    radial-gradient(circle at 80% 20%, rgba(87,137,255,.4), transparent 30%),
    var(--navy);
}

.cta-box h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
}

.contact-intro { color: var(--muted); }

.contact-details {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.contact-details span {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.contact-details a, .contact-details p {
  margin: 4px 0 0;
  font-weight: 700;
}

.contact-form {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fbfcff;
  box-shadow: 0 16px 45px rgba(10,36,84,.07);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  margin-bottom: 17px;
  font-size: .88rem;
  font-weight: 700;
}

input, select, textarea {
  width: 100%;
  margin-top: 7px;
  padding: 14px 15px;
  border: 1px solid #cfd9e8;
  border-radius: 11px;
  color: var(--text);
  background: white;
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(24,89,237,.1);
}

textarea { resize: vertical; }

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .76rem;
  text-align: center;
}

.form-success {
  margin-top: 12px;
  color: #167647;
  font-size: .88rem;
  font-weight: 700;
  text-align: center;
}

.site-footer {
  padding: 70px 0 22px;
  color: #dce6ff;
  background: #050f27;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.footer-brand img {
  width: 175px;
  height: 68px;
  object-fit: cover;
  object-position: center;
  filter: brightness(0) invert(1);
}

.footer-grid strong { display: block; margin-bottom: 14px; color: white; }
.footer-grid a { display: block; margin: 8px 0; color: #aebbd4; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 55px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #8c9bb8;
  font-size: .8rem;
}

@media (max-width: 950px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid > :first-child { grid-column: 1 / -1; }

  .menu-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 80px;
    left: 20px;
    right: 20px;
    display: none;
    padding: 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
    box-shadow: var(--shadow);
  }

  .site-nav.open { display: flex; }
  .nav-cta { text-align: center; }
}

@media (max-width: 650px) {
  .container { width: min(100% - 24px, 1160px); }
  .hero { padding-top: 70px; }
  .section { padding: 78px 0; }
  .services-grid, .process-grid, .portfolio-grid, .values, .form-row, .footer-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid > :first-child { grid-column: auto; }
  .section-heading, .cta-box, .footer-bottom {
    display: block;
  }
  .section-heading > p { margin-top: 20px; }
  .cta-box { padding: 34px 26px; }
  .cta-box .button { margin-top: 25px; }
  .about-panel, .founder-card, .contact-form { padding: 26px; }
  .metric-row span { font-size: .68rem; }
  h1 { font-size: 3.15rem; }
}
