:root {
  --blue: #1137f4;
  --blue-strong: #0527d8;
  --ink: #070b20;
  --muted: #596174;
  --line: #dfe5f6;
  --soft: #f5f8ff;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(32, 65, 150, 0.14);
  --page-max: 1680px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--white);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 82px;
  padding: 0 max(clamp(20px, 5vw, 72px), calc((100vw - var(--page-max)) / 2 + 72px));
  border-bottom: 1px solid rgba(223, 229, 246, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 166px;
  height: auto;
  mix-blend-mode: multiply;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 36px);
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 30px 0;
}

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

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 32px rgba(17, 55, 244, 0.2);
}

.button-primary:hover,
.header-cta:hover {
  background: var(--blue-strong);
  transform: translateY(-1px);
}

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

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.76fr) minmax(560px, 1fr);
  align-items: center;
  max-width: var(--page-max);
  min-height: min(820px, calc(100vh - 82px));
  margin: 0 auto;
  padding: clamp(54px, 5vw, 82px) clamp(20px, 5vw, 72px) 54px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--blue);
  background: #eef3ff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 4.25vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.28rem;
  line-height: 1.2;
}

.hero-lead {
  max-width: 590px;
  margin-bottom: 28px;
  color: #354057;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
}

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

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 650px;
  margin: 0;
}

.hero-trust div {
  min-width: 0;
}

.hero-trust dt {
  color: var(--blue);
  font-weight: 900;
}

.hero-trust dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-media {
  position: relative;
  margin-right: clamp(-56px, -3vw, -24px);
}

.hero-media::before {
  position: absolute;
  inset: 8% 2% 4% 4%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(227, 237, 255, 0.82) 0%, rgba(244, 248, 255, 0.45) 42%, rgba(255, 255, 255, 0) 72%);
  content: "";
  filter: blur(22px);
}

.hero-media img {
  width: 100%;
  min-width: 560px;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 76% 74% at 50% 50%, #000 58%, rgba(0, 0, 0, 0.9) 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 76% 74% at 50% 50%, #000 58%, rgba(0, 0, 0, 0.9) 70%, transparent 100%);
  filter: drop-shadow(0 30px 60px rgba(50, 85, 170, 0.14));
}

.section,
.tech-band,
.cta-section {
  padding: clamp(64px, 6vw, 96px) max(clamp(20px, 5vw, 72px), calc((100vw - var(--page-max)) / 2 + 72px));
}

.section-heading {
  max-width: 760px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.service-card,
.benefit-grid article,
.project-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 42px rgba(28, 49, 92, 0.06);
}

.service-card {
  min-height: 260px;
  padding: 30px;
}

.service-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border: 1px solid rgba(17, 55, 244, 0.28);
  border-radius: 7px;
  color: var(--blue);
  background: #f8fbff;
}

.service-card .icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  border-top: 1px solid var(--line);
}

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

.benefit-grid article {
  min-height: 180px;
  padding: 28px 22px;
}

.benefit-grid strong,
.benefit-grid span {
  display: block;
}

.benefit-grid strong {
  margin-bottom: 14px;
}

.benefit-grid span {
  color: var(--muted);
  font-size: 0.94rem;
}

.tech-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.36fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.tech-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(140px, 1fr));
  gap: 16px;
}

.tech-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 58px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #1e2940;
  font-weight: 800;
  background: var(--white);
}

.tech-strip img {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  object-fit: contain;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 26px;
}

.project-card {
  min-height: 320px;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.78)),
    var(--soft);
}

.project-card p {
  display: inline-flex;
  margin-bottom: 36px;
  padding: 5px 10px;
  border: 1px solid rgba(17, 55, 244, 0.28);
  border-radius: 5px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.project-card-blue {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(17, 55, 244, 0.84), rgba(2, 12, 52, 0.9)),
    var(--blue);
}

.project-card-blue p,
.project-card-dark p {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.project-card-blue ul,
.project-card-dark ul {
  color: rgba(255, 255, 255, 0.82);
}

.project-card-dark {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 12, 34, 0.92), rgba(17, 55, 244, 0.68)),
    #070b20;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(7, 11, 32, 0.96), rgba(17, 55, 244, 0.88)),
    var(--blue);
}

.cta-section .eyebrow {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.cta-section h2 {
  max-width: 850px;
  margin-bottom: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 118px;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: var(--blue);
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
}

.form-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 7px;
  color: #0f4d26;
  background: #eaf8ef;
  font-weight: 800;
}

.form-status[data-error="true"] {
  color: #8a1f1f;
  background: #fff0f0;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #1c2638;
  font-size: 0.91rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 14px 15px;
  color: var(--ink);
  font: inherit;
  background: #fbfdff;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(17, 55, 244, 0.12);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px max(clamp(20px, 5vw, 72px), calc((100vw - var(--page-max)) / 2 + 72px));
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer img {
  width: 120px;
  height: auto;
  mix-blend-mode: multiply;
}

.site-footer p {
  margin: 0;
  text-align: right;
}

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

  .tech-band {
    grid-template-columns: 1fr;
  }

  .tech-strip {
    grid-template-columns: repeat(4, minmax(120px, 1fr));
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-media {
    margin: 26px -6vw -20px 0;
  }

  .hero-media img {
    min-width: 0;
  }

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

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

  .tech-band {
    grid-template-columns: 1fr;
  }

  .tech-strip {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 72px;
  }

  .brand img {
    width: 142px;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header.nav-open .main-nav {
    position: absolute;
    right: 18px;
    top: 76px;
    left: 18px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .main-nav a {
    padding: 14px;
  }

  .site-header.nav-open .main-nav a::after {
    display: none;
  }

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

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

  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }

  .cta-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: 2.7rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .service-grid,
  .project-grid,
  .benefit-grid,
  .tech-strip {
    grid-template-columns: 1fr;
  }

  .service-card,
  .contact-form {
    padding: 24px;
  }
}
