:root {
  --blue: #2f82ff;
  --blue-2: #6aa8ff;
  --ink: #2e3a52;
  --muted: #647087;
  --soft: #f1f6ff;
  --line: #dbe7fb;
  --white: #ffffff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 42px));
  min-height: 82px;
  margin: 0 auto;
  transition: min-height 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  width: min(1220px, calc(100% - 24px));
  min-height: 64px;
  padding: 0 18px;
  border: 1px solid rgba(218, 230, 252, 0.8);
  border-radius: 0 0 8px 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(35, 82, 150, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 150px;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  color: #122b66;
  font-size: 13px;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding: 12px 0;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--blue);
}

.site-nav a.active::after {
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
  transform: translateX(-50%);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: 44px;
  width: min(var(--max), calc(100% - 42px));
  min-height: 560px;
  margin: 0 auto;
  overflow: visible;
  padding-top: 84px;
}

.hero-copy {
  z-index: 2;
  grid-column: 1;
  align-self: center;
  min-width: 0;
  padding-bottom: 18px;
}

.hero h1 {
  max-width: 520px;
  margin: 0 0 18px;
  color: #1d2432;
  font-size: clamp(34px, 4.1vw, 54px);
  font-weight: 500;
  line-height: 1.08;
}

.hero p,
.section-copy p,
.footer-grid p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.hero p {
  max-width: 560px;
  margin: 0 0 28px;
}

.hero h2 {
  margin: 0;
  color: #566176;
  font-size: 18px;
  font-weight: 600;
}

.hero h2 span {
  color: var(--blue);
}

.hero-visual {
  position: relative;
  grid-column: 2;
  align-self: stretch;
  width: calc(100% + max(21px, (100vw - var(--max)) / 2));
  min-height: 520px;
}

.hero-visual::before {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 -120px;
  width: 260px;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.74) 56%, rgba(255, 255, 255, 0));
  content: "";
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: contain;
  object-position: center right;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: min(920px, calc(100% - 36px));
  margin: 30px auto 66px;
  text-align: center;
}

.service-strip a {
  display: grid;
  justify-items: center;
  gap: 10px;
  color: #43506a;
  font-size: 12px;
  font-weight: 700;
}

.icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.about,
.solution,
.team,
.contact,
.footer-grid {
  width: min(var(--max), calc(100% - 42px));
  margin-inline: auto;
}

.section-wave {
  position: relative;
}

.section-wave::before {
  position: absolute;
  z-index: -1;
  top: 130px;
  left: 50%;
  width: 100vw;
  height: 260px;
  background: url("assets/about-wave.png") center / 100% 100% no-repeat;
  opacity: 0.055;
  content: "";
  transform: translateX(-50%);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 540px);
  gap: 72px;
  align-items: center;
  min-height: 350px;
  padding: 100px 0 70px;
  margin-bottom: 112px;
}

.about-image,
.contact-image,
.section-copy {
  min-width: 0;
}

.about-image img,
.contact-image img {
  width: 100%;
  height: auto;
  filter: saturate(0.96);
}

.about-image {
  align-self: center;
  padding-top: 0;
}

.about-image img {
  max-width: 560px;
}

.about .section-copy {
  align-self: center;
  padding-top: 0;
}

.about .section-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 3vw, 46px);
}

.about .section-copy p {
  max-width: none;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.section-copy h2,
.contact h2,
.tech-stack h2 {
  margin: 0 0 18px;
  color: #354158;
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 500;
  line-height: 1.08;
}

.section-copy h2 strong {
  color: #263044;
  font-weight: 800;
}

.section-copy h2 span {
  color: var(--blue);
}

.solution {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 570px) minmax(0, 500px);
  gap: 84px;
  align-items: center;
  min-height: 520px;
  padding: 72px 0 88px;
}

.solution::before {
  position: absolute;
  z-index: -1;
  inset: 65px 0 auto;
  height: 330px;
  background-image: radial-gradient(rgba(47, 130, 255, 0.14) 1px, transparent 1px);
  background-size: 14px 14px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}

#solutions::before {
  inset: 40px auto auto 50%;
  width: min(1110px, 100vw);
  height: 445px;
  background: url("assets/software-bg.png") center / contain no-repeat;
  opacity: 0.72;
  transform: translateX(-50%);
  mask-image: none;
}

#qa::before {
  inset: 42px auto auto 50%;
  width: min(1110px, 100vw);
  height: 445px;
  background: url("assets/qa-bg.png") center / contain no-repeat;
  opacity: 0.72;
  transform: translateX(-50%);
  mask-image: none;
}

#cloud::before {
  inset: 58px auto auto 50%;
  width: min(1110px, 100vw);
  height: 390px;
  background: url("assets/cloud-bg.png") center / contain no-repeat;
  opacity: 0.72;
  transform: translateX(-50%);
  mask-image: none;
}

#business::before {
  inset: 95px auto auto 0;
  width: min(760px, 54vw);
  height: 310px;
  background: url("assets/business-bg.png") left center / contain no-repeat;
  opacity: 0.72;
  transform: none;
  mask-image: none;
}

.solution-right .section-copy,
.business .section-copy {
  grid-column: 2;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px 24px;
  margin: 28px 0 0;
  padding: 0;
  color: #34425c;
  font-size: 12px;
  font-weight: 700;
  list-style: none;
}

.capabilities.compact {
  grid-template-columns: repeat(3, max-content);
}

.capabilities li {
  position: relative;
  padding-left: 20px;
}

.capabilities li::before {
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--blue);
  content: "+";
  font-size: 12px;
}

.capabilities.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-left: 0;
  white-space: nowrap;
}

.capabilities.icon-list li::before {
  content: none;
}

.capabilities.icon-list img {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin-top: 1px;
  object-fit: contain;
}

.solution .capabilities.icon-list {
  grid-template-columns: repeat(3, max-content);
  gap: 15px 34px;
}

.code-symbol {
  color: rgba(47, 130, 255, 0.25);
  font-size: clamp(88px, 14vw, 150px);
  font-weight: 800;
  opacity: 0;
  text-align: center;
}

.magnifier {
  min-height: 240px;
}

.magnifier::before {
  content: none;
}

.magnifier::after {
  content: none;
}

.business {
  min-height: 610px;
}

.chart-lines {
  align-self: center;
  height: 240px;
  opacity: 0;
}

.team {
  padding: 92px 0 96px;
}

.team-heading {
  margin-bottom: 42px;
  text-align: center;
}

.team-heading p {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
}

.team-heading h2 {
  margin: 0;
  color: #263044;
  font-size: clamp(36px, 3.1vw, 50px);
  font-weight: 500;
  line-height: 1.08;
}

.team-heading h2::after {
  color: var(--blue);
  content: ".";
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
}

.team-card {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(68, 112, 170, 0.06);
  padding: 24px 28px 26px;
}

.team-card h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
}

.team-card h3 span {
  color: #52637c;
  font-weight: 700;
}

.team-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}

.tech-stack {
  margin-top: 30px;
  padding: 96px 0 92px;
  border-radius: 28px 28px 0 0;
  background: var(--soft);
  text-align: center;
}

.stack-inner {
  width: min(var(--max), calc(100% - 42px));
  margin: 0 auto;
}

.tech-stack h2 {
  margin-bottom: 24px;
  color: #263044;
  font-size: clamp(36px, 3.1vw, 50px);
  font-weight: 500;
  letter-spacing: 0;
}

.tech-stack h2::after {
  color: var(--blue);
  content: ".";
}

.tech-stack p {
  margin: 0 0 58px;
  color: #1f2b40;
  font-size: 17px;
  font-weight: 400;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 76px);
  justify-content: center;
  gap: 28px 28px;
  max-width: var(--max);
  margin-inline: auto;
}

.tech-tile {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(68, 112, 170, 0.07);
}

.tech-tile.hidden {
  display: none;
}

.tech-tile img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(0, 560px);
  gap: 80px;
  align-items: center;
  padding: 108px 0 110px;
}

.contact h2 {
  margin-bottom: 26px;
  color: #1f293d;
  font-size: clamp(38px, 3.5vw, 52px);
  font-weight: 500;
  line-height: 1.05;
  white-space: nowrap;
}

.contact-copy > p {
  max-width: 505px;
  color: #253044;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.contact-copy a {
  color: var(--blue);
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  max-width: 520px;
  margin-top: 20px;
}

.contact-details a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #334058;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.contact-details svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.contact-details a:hover {
  color: var(--blue);
}

.contact-form {
  display: grid;
  gap: 18px;
  max-width: 390px;
  margin-top: 34px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #62718b;
  font-size: 16px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #d5dfef;
  outline: 0;
  padding: 4px 0 8px;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.contact-form textarea {
  min-height: 32px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
}

.contact-form .file-label {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 14px;
  margin: 0 0 22px;
  color: var(--blue) !important;
  cursor: pointer;
  font-size: 17px !important;
  font-weight: 500 !important;
}

.contact-form .file-label svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.contact-form .file-label input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  opacity: 0;
  pointer-events: none;
}

.contact-form button {
  justify-self: start;
  min-width: 136px;
  border: 1px solid var(--blue);
  border-radius: 4px;
  background: #fff;
  color: var(--blue);
  cursor: pointer;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
}

.contact-form button:hover {
  background: var(--blue);
  color: #fff;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.contact-image {
  justify-self: end;
  width: min(100%, 560px);
  padding-top: 40px;
}

.contact-image img {
  object-fit: contain;
}

.site-footer {
  padding: 45px 0 22px;
  background: var(--soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.2fr 0.8fr;
  gap: 70px;
  padding-top: 36px;
  border-top: 2px solid var(--blue-2);
}

.footer-grid .brand {
  width: 150px;
  margin-bottom: 18px;
}

.footer-grid p {
  max-width: 330px;
  margin: 0 0 28px;
}

.footer-grid address {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 360px;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.65;
}

.footer-grid address svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 2px;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.footer-grid h3 {
  margin: 4px 0 18px;
  color: #334058;
  font-size: 12px;
  text-transform: uppercase;
}

.footer-grid a:not(.brand) {
  display: block;
  margin-bottom: 12px;
  color: #3e4b62;
  font-size: 12px;
  font-weight: 600;
}

.footer-contact a:not(.brand) {
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.socials {
  display: flex;
  gap: 18px;
}

.socials a {
  color: var(--blue) !important;
  font-weight: 800;
}

.copyright {
  width: min(var(--max), calc(100% - 42px));
  margin: 30px auto 0;
  color: #8a96aa;
  font-size: 11px;
  text-align: right;
}

@media (max-width: 920px) {
  .site-header {
    width: calc(100% - 24px);
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 0;
    display: none;
    min-width: 220px;
    padding: 14px 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(35, 82, 150, 0.12);
  }

  .site-nav.open {
    display: grid;
    gap: 8px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    min-height: auto;
    padding: 94px 24px 0;
  }

  .hero-copy {
    grid-column: 1;
    width: 100%;
  }

  .hero-visual {
    grid-column: 1;
    width: calc(100% + 48px);
    min-height: 0;
    margin: 36px -24px 0;
  }

  .hero-visual::before {
    display: none;
  }

  .hero-visual img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center right;
  }

  .service-strip,
  .about,
  .solution,
  .team-grid,
  .contact,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 16px;
    width: min(520px, calc(100% - 32px));
    margin: 28px auto 72px;
  }

  .about,
  .solution,
  .contact {
    gap: 35px;
  }

  .solution {
    min-height: 0;
    padding: 44px 0 52px;
  }

  .team {
    padding: 72px 0 76px;
  }

  .contact {
    align-items: start;
  }

  .contact h2 {
    white-space: normal;
  }

  .contact-form {
    max-width: 100%;
  }

  .contact-image {
    justify-self: center;
    width: min(100%, 520px);
    padding-top: 0;
  }

  .section-wave::before {
    top: 260px;
    height: 330px;
    background-size: auto 100%;
    opacity: 0.06;
  }

  .about {
    min-height: auto;
    padding: 48px 0 64px;
    margin-bottom: 70px;
  }

  .about-image {
    padding-top: 0;
  }

  .about .section-copy {
    padding-top: 0;
  }

  .solution-right .section-copy,
  .business .section-copy {
    grid-column: auto;
  }

  .magnifier {
    display: none;
  }

  .code-symbol {
    display: none;
  }

  .chart-lines {
    display: none;
  }

  .business {
    min-height: 0;
  }

  #solutions::before,
  #qa::before,
  #cloud::before,
  #business::before {
    top: 30px;
    left: 50%;
    width: min(560px, 100vw);
    height: 260px;
    transform: translateX(-50%);
  }

  #business::before {
    background-position: center;
  }

  .capabilities,
  .capabilities.compact {
    grid-template-columns: 1fr 1fr;
  }

  .solution .capabilities.icon-list {
    grid-template-columns: 1fr 1fr;
  }

  .capabilities.icon-list li {
    white-space: normal;
  }

  .tech-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .footer-grid {
    gap: 30px;
  }
}

@media (max-width: 560px) {
  .brand {
    width: 122px;
  }

  .site-header {
    min-height: 64px;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
  }

  .site-nav {
    top: 62px;
    right: 0;
    width: min(260px, calc(100vw - 24px));
  }

  .hero {
    padding: 88px 22px 0;
  }

  .hero-copy {
    max-width: 360px;
    margin-inline: auto;
  }

  .hero h1 {
    max-width: none;
    margin-bottom: 18px;
    font-size: clamp(27px, 7.2vw, 34px);
  }

  .hero p,
  .section-copy p {
    max-width: none;
  }

  .hero p {
    margin-bottom: 26px;
  }

  .hero h2 {
    font-size: 17px;
  }

  .hero-visual {
    width: calc(100% + 44px);
    margin: 30px -22px 0;
  }

  .hero-visual img {
    aspect-ratio: 4 / 3;
    object-position: 64% center;
  }

  .section-copy h2 {
    max-width: 340px;
    font-size: 30px;
  }

  .capabilities,
  .capabilities.compact,
  .solution .capabilities.icon-list,
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .service-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 12px;
    margin: 26px auto 58px;
  }

  .solution {
    padding: 38px 0 44px;
  }

  #solutions::before,
  #qa::before,
  #cloud::before,
  #business::before {
    top: 28px;
    height: 230px;
  }

  .service-strip a {
    font-size: 11px;
    line-height: 1.35;
  }

  .icon {
    width: 26px;
    height: 26px;
  }

  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .tech-tile {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .tech-tile img {
    width: min(42px, 68%);
    height: min(42px, 68%);
  }

  .contact {
    padding: 80px 0;
  }

  .team-card {
    padding: 22px 20px 24px;
  }

  .copyright {
    text-align: left;
  }
}
