:root {
  --navy: #08043c;
  --ink: #0c1730;
  --deep: #081b29;
  --blue: #075bd8;
  --blue-2: #0f76ff;
  --sky: #eaf2ff;
  --muted: #617089;
  --line: #dbe5f1;
  --panel: #ffffff;
  --soft: #f6f9fd;
  --shadow: 0 18px 42px rgba(8, 27, 41, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 4rem);
  min-height: 32px;
  padding: 0.35rem 1rem;
  color: #56708d;
  background: #edf4fb;
  font-size: 0.78rem;
  font-weight: 600;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 clamp(1rem, 5vw, 7rem);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(219, 229, 241, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), #0b8cff);
  border-radius: 8px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(7, 91, 216, 0.18);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.2rem);
  color: #26364f;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-menu a {
  transition: color 160ms ease;
}

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

.nav-cta {
  padding: 0.7rem 1.05rem;
  color: #ffffff;
  background: var(--blue);
  border-radius: 6px;
  box-shadow: 0 9px 24px rgba(7, 91, 216, 0.22);
}

.nav-menu .nav-cta:hover {
  color: #ffffff;
  background: #064db9;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: clamp(2rem, 5vw, 5rem);
  min-height: 560px;
  padding: clamp(4.5rem, 8vw, 7.5rem) clamp(1rem, 6vw, 7rem) clamp(4rem, 7vw, 6rem);
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 45%, rgba(15, 118, 255, 0.22), transparent 34rem),
    linear-gradient(135deg, #08043c 0%, #0b0a4e 46%, #061c35 100%);
}

.hero::after {
  position: absolute;
  right: -4rem;
  bottom: -8rem;
  width: min(54vw, 720px);
  height: min(48vw, 620px);
  content: "";
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  transform: rotate(-18deg);
  mask-image: linear-gradient(90deg, transparent, #000 35%, transparent);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  align-self: center;
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 1.35rem;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: 0.98;
  font-weight: 850;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  margin: 0 0 2.1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 1.8vw, 1.24rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.82rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 800;
}

.button--primary {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 14px 32px rgba(7, 91, 216, 0.28);
}

.button--primary:hover {
  background: #064db9;
}

.button--ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero__visual {
  position: relative;
  z-index: 2;
  align-self: center;
  min-height: 360px;
}

.hero-image-frame {
  position: absolute;
  inset: 9% 5% auto auto;
  width: min(100%, 520px);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #07182c;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.hero-image-frame picture,
.hero-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.orbit-card {
  position: absolute;
  z-index: 3;
  padding: 0.78rem 0.9rem;
  color: #ffffff;
  background: rgba(7, 91, 216, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.25);
}

.orbit-card--one {
  top: 7%;
  left: 4%;
}

.orbit-card--two {
  right: 0;
  bottom: 13%;
}

.orbit-card--three {
  left: 13%;
  bottom: 5%;
  background: rgba(8, 27, 41, 0.92);
}

.quick-services {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1160px;
  margin: -3rem auto 0;
  padding: 0 clamp(1rem, 4vw, 2rem);
  gap: 1rem;
}

.quick-services article {
  min-height: 148px;
  padding: 1.35rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-services article:first-child {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
}

.quick-services strong {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
}

.quick-services span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.quick-services article:first-child span {
  color: rgba(255, 255, 255, 0.8);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  margin-top: 4rem;
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 6vw, 7rem);
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(8, 27, 41, 0.95), rgba(8, 27, 41, 0.85)),
    repeating-linear-gradient(135deg, transparent 0 26px, rgba(15, 118, 255, 0.12) 27px 28px);
}

.section-media {
  width: min(520px, 82vw);
  aspect-ratio: 16 / 10;
  margin: 0 auto;
  overflow: hidden;
  background: #07182c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 34px 28px 0 rgba(255, 255, 255, 0.06), -16px 20px 0 rgba(15, 118, 255, 0.88);
}

.section-media picture,
.section-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-section h2,
.services h2,
.process h2,
.portfolio h2,
.contact h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.split-section p,
.section-heading p,
.process p,
.contact p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.split-section p {
  color: rgba(255, 255, 255, 0.76);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.2rem;
  padding: 0;
  margin: 1.8rem 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.65rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.1rem;
  content: "✓";
  color: #7fb7ff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 980px;
  margin: -2.3rem auto 0;
  color: #ffffff;
  background: var(--blue);
  box-shadow: var(--shadow);
}

.stats div {
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.stats div:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  line-height: 1.15;
}

.stats span {
  display: block;
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 700;
}

.services {
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 6vw, 7rem);
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.98)),
    linear-gradient(135deg, rgba(7, 91, 216, 0.08), transparent 40%);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  max-width: 1160px;
  margin: 0 auto;
}

.service-card {
  min-height: 228px;
  padding: 1.55rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(8, 27, 41, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(7, 91, 216, 0.35);
  box-shadow: var(--shadow);
}

.service-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 1.05rem;
  place-items: center;
  color: var(--blue);
  background: var(--sky);
  border-radius: 8px;
  font-weight: 900;
}

.service-card h3,
.portfolio-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.18rem;
}

.service-card p,
.portfolio-card p {
  margin: 0;
  color: var(--muted);
}

.process {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 6vw, 7rem);
  background:
    linear-gradient(90deg, rgba(234, 242, 255, 0.95) 0 50%, rgba(8, 4, 60, 0.96) 50%),
    linear-gradient(135deg, rgba(7, 91, 216, 0.1), transparent);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  min-height: 220px;
  padding: 1.45rem;
  color: #ffffff;
  background: var(--blue);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.process-list span {
  color: #a9ccff;
  font-weight: 900;
}

.process-list strong {
  display: block;
  margin: 1rem 0 0.55rem;
  font-size: 1.12rem;
}

.process-list p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.portfolio {
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 6vw, 7rem);
  background: var(--blue);
}

.section-heading--light {
  color: #ffffff;
}

.section-heading--light p {
  color: rgba(255, 255, 255, 0.78);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
}

.portfolio-card {
  min-height: 430px;
  padding: 1rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14);
}

.portfolio-card__screen {
  height: 250px;
  margin-bottom: 1.2rem;
  overflow: hidden;
  background: #d8e4f2;
  border-radius: 6px;
}

.portfolio-card__screen picture,
.portfolio-card__screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.portfolio-card:hover .portfolio-card__screen picture {
  transform: scale(1.035);
}

.portfolio-card h3,
.portfolio-card p {
  padding: 0 0.35rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(2rem, 7vw, 6rem);
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 6vw, 7rem);
  background: #ffffff;
}

.contact-links {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.8rem;
  color: var(--blue);
  font-weight: 850;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: #26364f;
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.82rem 0.9rem;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #cdd9e7;
  border-radius: 6px;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7, 91, 216, 0.14);
}

.imprint {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1rem, 6vw, 7rem);
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.imprint h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.08;
}

.imprint p {
  margin: 0;
  color: var(--muted);
}

.imprint-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.imprint-grid > * {
  margin: 0;
  padding: 1rem;
  color: #26364f;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-style: normal;
  font-size: 0.92rem;
}

.imprint-grid strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--ink);
}

.imprint a {
  color: var(--blue);
  font-weight: 800;
}

.legal-hero {
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1rem, 6vw, 7rem);
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 42%, rgba(15, 118, 255, 0.24), transparent 30rem),
    linear-gradient(135deg, #08043c 0%, #061c35 100%);
}

.legal-hero > div,
.legal-content {
  max-width: 980px;
  margin: 0 auto;
}

.legal-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1;
}

.legal-hero p {
  max-width: 760px;
  margin: 0 0 1.2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

.legal-hero span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
  font-weight: 800;
}

.legal-content {
  display: grid;
  gap: 1rem;
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1rem, 4vw, 2rem);
}

.legal-content article {
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(8, 27, 41, 0.06);
}

.legal-content h2 {
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.15;
}

.legal-content p,
.legal-content address {
  margin: 0 0 0.85rem;
  color: #3b4b63;
  font-style: normal;
  overflow-wrap: anywhere;
}

.legal-content p:last-child,
.legal-content address:last-child {
  margin-bottom: 0;
}

.legal-content a {
  color: var(--blue);
  font-weight: 800;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem clamp(1rem, 6vw, 7rem);
  color: rgba(255, 255, 255, 0.76);
  background:
    radial-gradient(circle at 20% 20%, rgba(15, 118, 255, 0.25), transparent 24rem),
    var(--blue);
}

.brand--footer {
  color: #ffffff;
}

.footer p {
  max-width: 420px;
  margin: 1rem 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem 1.5rem;
  color: #ffffff;
  font-weight: 800;
}

.return-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #ffffff;
  background: var(--ink);
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.return-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .topbar {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.8rem;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    padding: 0.85rem;
  }

  .nav-cta {
    text-align: center;
  }

  .hero,
  .split-section,
  .process,
  .contact,
  .imprint {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__visual {
    min-height: 310px;
  }

  .quick-services,
  .service-grid,
  .portfolio-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process {
    background:
      linear-gradient(rgba(234, 242, 255, 0.96), rgba(234, 242, 255, 0.96)),
      linear-gradient(135deg, rgba(7, 91, 216, 0.1), transparent);
  }

  .process-list li {
    color: #ffffff;
  }
}

@media (max-width: 700px) {
  .nav {
    min-height: 64px;
    padding: 0 1rem;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 12vw, 3.55rem);
  }

  .hero__visual {
    display: none;
  }

  .quick-services,
  .service-grid,
  .portfolio-grid,
  .process-list,
  .stats,
  .check-list,
  .imprint-grid {
    grid-template-columns: 1fr;
  }

  .quick-services {
    margin-top: 0;
    padding-top: 1rem;
  }

  .stats {
    margin-top: 0;
  }

  .stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .footer {
    flex-direction: column;
  }
}

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