:root {
  --blue: #146cf6;
  --blue-dark: #0b2d69;
  --navy: #071d46;
  --text: #16284c;
  --muted: #63718a;
  --line: #e4e9f1;
  --light: #f5f7fa;
  --white: #ffffff;
  --container: 1180px;
}

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

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

body {
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

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

.section {
  padding: 96px 0;
}

h1, h2, h3 {
  line-height: 1.15;
  color: var(--navy);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.035em;
}

p {
  color: var(--muted);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  width: 188px;
  flex: 0 0 auto;
}

.logo img {
  width: 100%;
  height: auto;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: .87rem;
  font-weight: 600;
  color: #43516d;
  transition: color .2s ease;
}

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

.nav-contact {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  background: var(--blue);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  transition: background .2s ease;
}

.nav-contact:hover {
  background: #0d56ca;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--blue-dark);
  transition: .25s ease;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0b2d69;
}

.hero-photo,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-photo {
  background-image: url("https://images.unsplash.com/photo-1748348077944-3d9be77b9940?auto=format&fit=crop&w=2000&q=85");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5,25,65,.93) 0%, rgba(5,28,70,.80) 44%, rgba(5,28,70,.28) 74%, rgba(5,28,70,.18) 100%),
    linear-gradient(0deg, rgba(3,16,43,.22), rgba(3,16,43,.12));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 20px;
}

.hero-kicker {
  color: #b9d7ff;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.hero h1 {
  max-width: 760px;
  margin: 18px 0 22px;
  color: #fff;
  font-size: clamp(3rem, 5.7vw, 5.5rem);
  letter-spacing: -0.055em;
  font-weight: 800;
}

.hero-lead {
  max-width: 670px;
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
}

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

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: .84rem;
  font-weight: 700;
  transition: .2s ease;
}

.btn-primary {
  color: #fff;
  background: var(--blue);
}

.btn-primary:hover {
  background: #0d59d2;
}

.btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.04);
}

.btn-outline:hover {
  background: #fff;
  color: var(--blue-dark);
}

.btn-dark {
  color: #fff;
  background: var(--blue-dark);
}

.btn-dark:hover {
  background: #061d48;
}

.btn-white {
  color: var(--blue-dark);
  background: #fff;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 32px;
  width: 28px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 20px;
  transform: translateX(-50%);
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: #fff;
  transform: translateX(-50%);
  animation: scrollDot 1.8s infinite;
}

@keyframes scrollDot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

.section-label {
  display: block;
  color: var(--blue);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.section-label-light {
  color: #8fc2ff;
}

.intro {
  background: #fff;
}

.intro-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 780px);
  gap: 72px;
}

.intro-copy h2 {
  margin-bottom: 28px;
}

.intro-copy p {
  max-width: 760px;
}

.intro-main {
  margin-bottom: 18px;
  font-size: 1.16rem;
  color: #34445f;
}

.text-link {
  display: inline-flex;
  gap: 10px;
  margin-top: 28px;
  color: var(--blue);
  font-size: .85rem;
  font-weight: 700;
}

.text-link span {
  transition: transform .2s ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.focus {
  background: var(--light);
}

.section-top {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 44px;
}

.section-top h2 {
  max-width: 700px;
  margin-top: 14px;
}

.section-top > p {
  max-width: 470px;
  font-size: .93rem;
}

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

.focus-card {
  min-height: 440px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.focus-software {
  background-image: url("https://images.unsplash.com/photo-1778146476147-5f8d4bd03c79?auto=format&fit=crop&w=1200&q=82");
}

.focus-industry {
  background-image: url("https://images.unsplash.com/photo-1748348077944-3d9be77b9940?auto=format&fit=crop&w=1200&q=82");
}

.focus-electronics {
  background-image: url("https://images.unsplash.com/photo-1769149068959-b11392164add?auto=format&fit=crop&w=1200&q=82");
}

.focus-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4,20,51,.94) 0%, rgba(4,20,51,.18) 67%, rgba(4,20,51,.08) 100%);
  transition: background .25s ease;
}

.focus-card:hover .focus-shade {
  background: linear-gradient(0deg, rgba(4,20,51,.96) 0%, rgba(4,20,51,.34) 72%, rgba(4,20,51,.14) 100%);
}

.focus-content {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 28px;
}

.focus-content > span {
  color: #73adff;
  font-size: .68rem;
  font-weight: 800;
}

.focus-content h3 {
  margin: 8px 0 10px;
  color: #fff;
  font-size: 1.35rem;
}

.focus-content p {
  color: rgba(255,255,255,.74);
  font-size: .84rem;
}

.focus-content a {
  display: inline-block;
  margin-top: 18px;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
}

.services {
  background: #fff;
}

.services-layout {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 86px;
  align-items: start;
}

.services-heading {
  position: sticky;
  top: 115px;
}

.services-heading h2 {
  margin: 14px 0 20px;
}

.services-heading p {
  margin-bottom: 28px;
  font-size: .93rem;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.service-number {
  padding-top: 4px;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 800;
}

.service-row h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.service-row p {
  font-size: .87rem;
}

.project-band {
  background: #071d46;
}

.project-heading h2 {
  color: #fff;
}

.project-heading > p {
  color: #9fb0ce;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.25fr .85fr .85fr;
  gap: 16px;
}

.project-item {
  min-height: 390px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.project-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(1,11,31,.92), rgba(1,11,31,.08) 70%);
}

.project-one {
  background-image: url("https://images.unsplash.com/photo-1778146476147-5f8d4bd03c79?auto=format&fit=crop&w=1400&q=82");
}

.project-two {
  background-image: url("https://images.unsplash.com/photo-1748348077944-3d9be77b9940?auto=format&fit=crop&w=1000&q=82");
}

.project-three {
  background-image: url("https://images.unsplash.com/photo-1769149068959-b11392164add?auto=format&fit=crop&w=1000&q=82");
}

.project-content {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
}

.project-content span {
  color: #7eb6ff;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.project-content h3 {
  margin-top: 7px;
  color: #fff;
  font-size: 1.25rem;
}

.process {
  background: #f7f8fa;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #dce2ea;
  border-bottom: 1px solid #dce2ea;
}

.process-grid article {
  min-height: 230px;
  padding: 30px 28px;
}

.process-grid article + article {
  border-left: 1px solid #dce2ea;
}

.process-grid strong {
  color: var(--blue);
  font-size: .72rem;
}

.process-grid h3 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
}

.process-grid p {
  font-size: .84rem;
}

.contact {
  background: #fff;
  padding-bottom: 0;
}

.contact-box {
  min-height: 360px;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 70px;
  align-items: center;
  padding: 58px;
  background: var(--blue);
}

.contact-box h2 {
  max-width: 750px;
  margin: 14px 0 18px;
  color: #fff;
}

.contact-box p {
  max-width: 720px;
  color: rgba(255,255,255,.74);
}

.contact-actions {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.contact-simple {
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
}

.footer {
  padding: 64px 0 24px;
  background: #051635;
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding-bottom: 48px;
}

.footer-brand img {
  width: 190px;
  padding: 10px 12px;
  background: #fff;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 380px;
  color: #93a5c5;
  font-size: .82rem;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links strong {
  margin-bottom: 6px;
  font-size: .82rem;
}

.footer-links a,
.footer-links span {
  color: #94a7c7;
  font-size: .78rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.footer-bottom span {
  color: #7386a7;
  font-size: .7rem;
}

@media (max-width: 960px) {
  .nav-links,
  .nav-contact {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    padding: 18px 20px 26px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: .25s ease;
  }

  .mobile-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav a {
    padding: 14px 2px;
    border-bottom: 1px solid #eef1f5;
    color: var(--text);
    font-size: .9rem;
    font-weight: 600;
  }

  .mobile-nav .mobile-cta {
    margin-top: 12px;
    padding: 13px 16px;
    text-align: center;
    color: #fff;
    background: var(--blue);
    border-bottom: 0;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .focus-grid {
    grid-template-columns: 1fr 1fr;
  }

  .focus-card:last-child {
    grid-column: 1 / -1;
  }

  .services-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .services-heading {
    position: static;
  }

  .project-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-one {
    grid-column: 1 / -1;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #dce2ea;
  }

  .process-grid article:nth-child(4) {
    border-top: 1px solid #dce2ea;
  }

  .contact-box {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 30px, var(--container));
  }

  .section {
    padding: 70px 0;
  }

  .header .container {
    width: calc(100% - 24px);
  }

  .nav {
    min-height: 68px;
  }

  .logo {
    width: 150px;
  }

  .mobile-nav {
    top: 68px;
  }

  .hero {
    min-height: 690px;
    align-items: flex-end;
  }

  .hero-photo {
    background-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(4,21,55,.97) 0%, rgba(4,21,55,.82) 56%, rgba(4,21,55,.35) 100%);
  }

  .hero-content {
    width: 100%;
    padding-top: 160px;
    padding-bottom: 105px;
  }

  .hero-kicker {
    max-width: 300px;
    font-size: .63rem;
    letter-spacing: .12em;
  }

  .hero h1 {
    max-width: 100%;
    margin: 14px 0 18px;
    font-size: clamp(2.45rem, 12vw, 3.6rem);
    letter-spacing: -0.045em;
    overflow-wrap: anywhere;
  }

  .hero-lead {
    max-width: 100%;
    font-size: .92rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 26px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .section-top {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 30px;
  }

  .focus-grid {
    grid-template-columns: 1fr;
  }

  .focus-card,
  .focus-card:last-child {
    grid-column: auto;
    min-height: 360px;
  }

  .focus-content {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .service-row {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 24px 0;
  }

  .service-row h3 {
    font-size: 1.05rem;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-one {
    grid-column: auto;
  }

  .project-item {
    min-height: 340px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-grid article,
  .process-grid article:nth-child(3),
  .process-grid article:nth-child(4) {
    min-height: 0;
    border-left: 0;
    border-top: 1px solid #dce2ea;
  }

  .process-grid article:first-child {
    border-top: 0;
  }

  .process-grid h3 {
    margin-top: 18px;
  }

  .contact {
    padding-bottom: 0;
  }

  .contact-box {
    width: 100%;
    padding: 44px 22px;
  }

  .contact-actions,
  .contact-actions .btn {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 370px) {
  .logo {
    width: 138px;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero-content {
    padding-bottom: 86px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
