:root {
  --ink: #0a1722;
  --navy: #071a2b;
  --navy-2: #0b2439;
  --blue: #155eef;
  --blue-bright: #3c7cff;
  --blue-pale: #dce9ff;
  --white: #ffffff;
  --soft: #f4f7fa;
  --line: #dfe6ed;
  --muted: #5c6975;
  --shadow: 0 24px 70px rgba(2, 18, 32, 0.13);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, Aptos, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font-family: inherit;
}

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

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

p,
h1,
h2,
h3,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.15rem, 4vw, 3.65rem);
  font-weight: 720;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
  scroll-margin-top: 80px;
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 30px;
  height: 2px;
  background: currentColor;
}

.eyebrow-light {
  color: #8db5ff;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(10, 23, 34, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 5px 22px rgba(6, 23, 37, 0.035);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 1.03rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.brand-copy small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #283744;
  font-size: 0.9rem;
  font-weight: 650;
}

.desktop-nav a:not(.nav-cta) {
  position: relative;
  padding: 28px 0;
}

.desktop-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:not(.nav-cta):hover::after,
.desktop-nav a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  transition: background 180ms ease, transform 180ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--blue);
  transform: translateY(-1px);
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  display: grid;
  width: 44px;
  height: 44px;
  cursor: pointer;
  list-style: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav summary span,
.mobile-nav summary span::before,
.mobile-nav summary span::after {
  width: 18px;
  height: 2px;
  background: var(--ink);
  content: "";
  transition: transform 180ms ease;
}

.mobile-nav summary span {
  position: relative;
}

.mobile-nav summary span::before,
.mobile-nav summary span::after {
  position: absolute;
  left: 0;
}

.mobile-nav summary span::before { top: -6px; }
.mobile-nav summary span::after { top: 6px; }

.mobile-nav[open] summary span { background: transparent; }
.mobile-nav[open] summary span::before { top: 0; transform: rotate(45deg); }
.mobile-nav[open] summary span::after { top: 0; transform: rotate(-45deg); }

.mobile-nav nav {
  position: absolute;
  top: 55px;
  right: 0;
  display: grid;
  width: min(82vw, 300px);
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-nav nav a {
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 0.92rem;
  font-weight: 700;
}

.mobile-nav nav a:hover { background: var(--soft); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -160px;
  left: -130px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(255, 255, 255, 0.018), 0 0 0 180px rgba(255, 255, 255, 0.012);
  content: "";
}

.hero-grid {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 52%;
  opacity: 0.42;
  background-image: linear-gradient(rgba(80, 130, 180, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(80, 130, 180, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to left, black, transparent);
}

.hero-inner {
  display: grid;
  min-height: 720px;
  padding-block: 86px 78px;
  align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(370px, 0.92fr);
  gap: 72px;
}

.hero-copy h1 {
  max-width: 720px;
  margin-bottom: 27px;
  font-size: clamp(3.6rem, 6vw, 6.3rem);
  font-weight: 720;
  letter-spacing: -0.065em;
}

.hero-copy h1 em {
  color: #8db5ff;
  font-style: normal;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 34px;
  color: #c2ced8;
  font-size: 1.12rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 55px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 780;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button-primary {
  background: var(--blue-bright);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible { background: #5b91ff; }

.button-ghost {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.button-ghost:hover,
.button-ghost:focus-visible { border-color: var(--white); background: rgba(255, 255, 255, 0.07); }

.hero-proof {
  display: grid;
  max-width: 720px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.hero-proof div { display: flex; flex-direction: column; }

.hero-proof strong {
  margin-bottom: 5px;
  color: var(--white);
  font-size: 0.87rem;
  font-weight: 780;
}

.hero-proof span {
  color: #92a3b1;
  font-size: 0.71rem;
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  margin: 0;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  top: -24px;
  right: -24px;
  width: 72%;
  height: 58%;
  border: 1px solid rgba(141, 181, 255, 0.42);
  content: "";
}

.hero-image-wrap {
  position: relative;
  height: 480px;
  overflow: hidden;
  border-radius: 4px 4px 4px 96px;
  background: #173149;
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.35);
}

.hero-image-wrap::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(3, 17, 29, 0.55));
  content: "";
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
}

.hero-visual figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 0 56px;
  color: #9caebb;
  font-size: 0.73rem;
}

.caption-index {
  flex-shrink: 0;
  color: #8db5ff;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.intro-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 100px;
}

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

.lead-copy {
  margin-bottom: 25px;
  color: var(--ink);
  font-size: 1.24rem;
  line-height: 1.7;
}

.values-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.values-row span {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #314350;
  font-size: 0.77rem;
  font-weight: 720;
}

.section-heading {
  display: grid;
  align-items: end;
  margin-bottom: 58px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 55px;
}

.section-heading > p {
  margin-bottom: 4px;
  color: var(--muted);
}

.section-heading-single {
  grid-template-columns: 1fr;
}

.services-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  position: relative;
  min-height: 286px;
  padding: 34px 32px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.service-card::after {
  position: absolute;
  right: -38px;
  bottom: -38px;
  width: 95px;
  height: 95px;
  border: 1px solid var(--blue-pale);
  border-radius: 50%;
  content: "";
  transition: transform 200ms ease;
}

.service-card:hover {
  z-index: 1;
  box-shadow: 0 18px 40px rgba(12, 41, 67, 0.08);
  transform: translateY(-3px);
}

.service-card:hover::after { transform: scale(1.3); }

.service-number {
  display: block;
  margin-bottom: 42px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.22rem;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 46px 28px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(10, 30, 48, 0.055);
}

.project-image {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: #e9eef3;
}

.project-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(6, 21, 34, 0.36));
  content: "";
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card:hover .project-image img { transform: scale(1.035); }

.project-image > span {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 16px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(6, 25, 40, 0.72);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
}

.project-copy {
  padding: 27px 29px 31px;
}

.project-copy h3 {
  margin-bottom: 12px;
  font-size: 1.32rem;
}

.project-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.trust {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.trust::after {
  position: absolute;
  right: -90px;
  bottom: -140px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(141, 181, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(141, 181, 255, 0.025), 0 0 0 140px rgba(141, 181, 255, 0.018);
  content: "";
}

.trust-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 92px;
}

.trust-copy h2 {
  margin-bottom: 26px;
  font-size: clamp(2.15rem, 4vw, 3.25rem);
}

.trust-copy > p:last-child {
  margin-bottom: 0;
  color: #a9b8c4;
}

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

.reference-card {
  display: flex;
  min-height: 158px;
  padding: 18px 14px 15px;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 13px 32px rgba(0, 0, 0, 0.14);
  color: var(--ink);
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.reference-card:hover {
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}

.reference-card:last-child {
  grid-column: 2;
}

.reference-logo {
  display: grid;
  width: 100%;
  height: 78px;
  place-items: center;
}

.reference-logo img {
  width: auto;
  max-width: min(100%, 150px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.reference-logo img.logo-portrait {
  max-height: 76px;
}

.reference-logo img.logo-tall,
.reference-logo img.logo-square {
  max-height: 68px;
}

.reference-card > span {
  display: flex;
  min-height: 2.5em;
  align-items: center;
  justify-content: center;
  color: #3d4d5a;
  font-size: 0.68rem;
  font-weight: 720;
  line-height: 1.25;
}

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

.contact-panel {
  position: relative;
  display: grid;
  padding: 62px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--blue-pale);
  grid-template-columns: 1.08fr 0.92fr;
  gap: 88px;
}

.contact-panel::before {
  position: absolute;
  top: -110px;
  right: -100px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(21, 94, 239, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(21, 94, 239, 0.035);
  content: "";
}

.contact-intro,
.contact-details {
  position: relative;
  z-index: 1;
}

.contact-intro h2 {
  margin-bottom: 23px;
  font-size: clamp(2.2rem, 4vw, 3.25rem);
}

.contact-intro > p:not(.eyebrow) {
  max-width: 610px;
  margin-bottom: 28px;
  color: #496171;
}

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

.button-dark:hover,
.button-dark:focus-visible { background: var(--blue); }

.contact-details {
  display: grid;
  margin: 0;
  padding: 32px;
  border: 1px solid rgba(21, 94, 239, 0.17);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.67);
  font-style: normal;
  gap: 25px;
}

.contact-details > div + div {
  padding-top: 23px;
  border-top: 1px solid rgba(21, 94, 239, 0.12);
}

.detail-label {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-details p {
  margin-bottom: 0;
  color: #263b4a;
  font-size: 0.89rem;
  line-height: 1.7;
}

.contact-details a:hover,
.contact-details a:focus-visible { color: var(--blue); text-decoration: underline; }

.site-footer {
  padding: 56px 0 25px;
  background: #06131f;
  color: var(--white);
}

.footer-main {
  display: grid;
  padding-bottom: 38px;
  align-items: center;
  grid-template-columns: 1fr auto auto;
  gap: 45px;
}

.brand-footer .brand-mark {
  width: 44px;
  height: 44px;
  padding: 3px;
  border-radius: 7px;
  background: var(--white);
}

.brand-footer .brand-copy small { color: #8797a4; }

.footer-main > p {
  margin: 0;
  color: #8797a4;
  font-size: 0.78rem;
}

.footer-main > a:last-child {
  color: #cbd6de;
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-main > a:last-child:hover { color: #8db5ff; }

.footer-legal {
  display: flex;
  padding-top: 22px;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #687987;
  font-size: 0.68rem;
}

.footer-legal p { margin-bottom: 0; }

a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(60, 124, 255, 0.6);
  outline-offset: 3px;
}

@media (max-width: 1040px) {
  .desktop-nav { gap: 19px; }
  .hero-inner { grid-template-columns: 1fr 0.76fr; gap: 42px; }
  .hero-copy h1 { font-size: clamp(3.4rem, 6.8vw, 5.2rem); }
  .hero-image-wrap { height: 430px; }
  .intro-grid { gap: 65px; }
  .trust-grid { gap: 55px; }
  .contact-panel { gap: 52px; padding: 52px; }
}

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .hero-inner {
    min-height: auto;
    padding-block: 80px;
    grid-template-columns: 1fr;
    gap: 58px;
  }
  .hero-visual { max-width: 720px; }
  .hero-image-wrap { height: 440px; }
  .intro-grid,
  .trust-grid,
  .contact-panel { grid-template-columns: 1fr; }
  .intro-grid { gap: 45px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading > p { max-width: 680px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { gap: 52px; }
  .contact-panel { gap: 42px; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .section { padding: 82px 0; }
  .header-inner { min-height: 70px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-copy strong { font-size: 0.92rem; }
  .brand-copy small { font-size: 0.54rem; }
  .hero-inner { padding-block: 68px 58px; }
  .hero-copy h1 { font-size: clamp(3rem, 14.4vw, 4.6rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-proof { grid-template-columns: 1fr; gap: 16px; }
  .hero-proof div { padding-left: 14px; border-left: 2px solid rgba(141, 181, 255, 0.5); }
  .hero-image-wrap { height: 330px; border-radius: 3px 3px 3px 58px; }
  .hero-visual figcaption { padding-left: 0; align-items: flex-start; flex-direction: column; gap: 4px; }
  h2 { font-size: clamp(2.05rem, 10vw, 3rem); }
  .lead-copy { font-size: 1.08rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 28px 25px 31px; }
  .service-number { margin-bottom: 30px; }
  .projects-grid { grid-template-columns: 1fr; gap: 26px; }
  .project-image { height: 245px; }
  .project-copy { padding: 23px 23px 27px; }
  .reference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .reference-card { min-height: 150px; padding-inline: 10px; }
  .reference-card:last-child { grid-column: auto; }
  .contact-panel { width: calc(100% - 20px); padding: 34px 25px; border-radius: 20px; }
  .contact-details { padding: 25px 21px; }
  .footer-main { grid-template-columns: 1fr; gap: 25px; }
  .footer-legal { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
