:root {
  --ink: #07131f;
  --muted: #596878;
  --line: #dce4ea;
  --panel: #ffffff;
  --blue: #005aa8;
  --blue-dark: #07325d;
  --green: #00b95d;
  --green-dark: #078244;
  --mist: #f4f8f9;
  --warm: #f6f1e8;
  --shadow: 0 22px 60px rgba(7, 19, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--mist);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(244, 248, 249, 0.9);
  border-bottom: 1px solid rgba(7, 19, 31, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(470px, 52vw);
}

.brand img {
  width: 238px;
  height: auto;
  flex: 0 0 auto;
}

.brand span {
  max-width: 190px;
  color: var(--blue-dark);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 36px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a,
.site-footer a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--blue);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.header-action,
.button-primary {
  color: #fff;
  background: var(--blue-dark);
  box-shadow: 0 12px 28px rgba(7, 50, 93, 0.24);
}

.button-secondary {
  color: var(--blue-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.header-action:hover,
.button:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
  min-height: calc(100svh - 78px);
  padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 72px) clamp(46px, 7vw, 86px);
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(246, 241, 232, 0.92), rgba(244, 248, 249, 0.74) 44%, rgba(220, 239, 237, 0.9)),
    radial-gradient(circle at 78% 18%, rgba(0, 185, 93, 0.18), transparent 32%),
    var(--mist);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(0deg, rgba(7, 19, 31, 0.08), transparent);
  pointer-events: none;
}

.hero-media {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(620px, 100%);
  padding: clamp(18px, 4vw, 38px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow);
}

.hero-media img {
  border-radius: 6px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 6.5vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  color: #334455;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: end;
  background: #fff;
}

.intro p:last-child,
.approach-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.proof {
  background: #fff;
}

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

.proof-grid article,
.reliability-grid article {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(7, 19, 31, 0.06);
}

.proof-grid strong {
  display: block;
  margin-bottom: 14px;
  color: var(--blue-dark);
  font-size: 1.25rem;
}

.proof-grid span,
.reliability-grid p {
  color: var(--muted);
}

.system {
  background: linear-gradient(90deg, var(--warm) 0%, #fff 42%, #fff 100%);
}

.system-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(300px, 0.75fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
}

.system-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-height: 380px;
  padding: 28px;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.system-map::before,
.system-map::after {
  content: "";
  position: absolute;
  inset: 50% 28px auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.system-map::after {
  inset: 28px auto 28px 50%;
  width: 1px;
  height: auto;
}

.system-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(220px, 58%);
  min-height: 112px;
  padding: 18px;
  color: #fff;
  text-align: center;
  font-weight: 800;
  line-height: 1.2;
  border: 1px solid rgba(83, 216, 149, 0.44);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-dark), #0a513c);
  transform: translate(-50%, -50%);
}

.system-map span {
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 128px;
  padding: 20px;
  color: #d7e5ed;
  text-align: center;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.system-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.services {
  background: var(--ink);
  color: #fff;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.services .section-kicker {
  color: #53d895;
}

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

.service-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.service-card p {
  color: #c7d1da;
}

.service-mark {
  display: inline-block;
  margin-bottom: 58px;
  color: #53d895;
  font-size: 0.85rem;
  font-weight: 800;
}

.approach {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: center;
  background: linear-gradient(90deg, #fff 0%, #fff 64%, var(--warm) 64%);
}

.reliability {
  background: #fff;
}

.approach-list {
  display: grid;
  gap: 14px;
}

.approach-list div {
  display: grid;
  gap: 6px;
  padding: 22px;
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(7, 19, 31, 0.08);
}

.approach-list strong {
  font-size: 1.08rem;
}

.approach-list span {
  color: var(--muted);
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(48px, 7vw, 78px) clamp(20px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(7, 50, 93, 0.94), rgba(7, 19, 31, 0.98)),
    var(--blue-dark);
}

.contact .section-kicker {
  color: #53d895;
}

.contact h2 {
  max-width: 820px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.85rem);
}

.contact p {
  max-width: 680px;
  color: #d4e1ea;
}

.contact .button-primary {
  flex: 0 0 auto;
  color: var(--ink);
  background: #fff;
  box-shadow: none;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-actions .button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.apps-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: end;
  min-height: calc(100svh - 78px);
  padding: clamp(58px, 8vw, 120px) clamp(20px, 5vw, 72px) clamp(44px, 7vw, 86px);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.94), rgba(231, 241, 244, 0.82)),
    radial-gradient(circle at 86% 20%, rgba(0, 185, 93, 0.18), transparent 34%);
}

.apps-hero h1 {
  max-width: 980px;
  font-size: clamp(3rem, 6vw, 6.4rem);
}

.apps-hero-panel {
  display: grid;
  gap: 16px;
  padding: 28px;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-dark), var(--ink));
  box-shadow: var(--shadow);
}

.apps-hero-panel strong {
  font-size: 1.35rem;
}

.apps-hero-panel span {
  color: #d7e5ed;
}

.app-showcase {
  background: #fff;
}

.app-feature {
  display: grid;
  grid-template-columns: minmax(290px, 0.78fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(28px, 5vw, 52px) 0;
  border-top: 1px solid var(--line);
}

.app-feature-alt .app-media {
  order: 2;
}

.app-media {
  align-self: stretch;
}

.app-media img {
  width: 100%;
  height: 100%;
  max-height: 680px;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.app-copy h3 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
}

.app-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-list {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.why-grid span {
  position: relative;
  padding: 14px 16px 14px 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
  color: #253447;
  font-weight: 700;
}

.feature-list li::before,
.why-grid span::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 18px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(0, 185, 93, 0.12);
}

.why-apps {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
  background: var(--warm);
}

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

.team-hero {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px) clamp(54px, 7vw, 88px);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(231, 241, 244, 0.84)),
    radial-gradient(circle at 80% 16%, rgba(0, 185, 93, 0.16), transparent 34%);
}

.team-hero h1 {
  max-width: 980px;
  font-size: clamp(3.2rem, 6.4vw, 6.8rem);
}

.team-section {
  background: #fff;
}

.team-section.alt {
  background: var(--warm);
}

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

.team-card,
.department-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(7, 19, 31, 0.06);
}

.team-card p,
.department-grid p {
  color: var(--muted);
}

.avatar-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin-bottom: 22px;
  color: #6a7a8c;
  font-weight: 800;
  border: 1px dashed #b7c7d5;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 90, 168, 0.08), rgba(0, 185, 93, 0.1)),
    #f8fbfc;
}

.team-photo {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 22px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--mist);
}

.team-role {
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.team-note {
  margin-top: 16px;
  padding: 14px;
  color: var(--blue-dark);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: var(--mist);
  font-weight: 700;
}

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

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

.reference-grid a {
  display: flex;
  align-items: center;
  min-height: 74px;
  padding: 18px;
  color: var(--blue-dark);
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(7, 19, 31, 0.06);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
}

@media (max-width: 920px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
  }

  .brand {
    display: flex;
    width: min(430px, 68vw);
  }

  .brand img {
    width: 210px;
  }

  .brand span {
    max-width: 180px;
    font-size: 0.8rem;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .hero,
  .intro,
  .approach {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    order: -1;
  }

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

  .proof-grid,
  .reliability-grid,
  .system-layout {
    grid-template-columns: 1fr;
  }

  .approach {
    background: #fff;
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .apps-hero,
  .app-feature,
  .why-apps {
    grid-template-columns: 1fr;
  }

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

  .apps-hero {
    min-height: auto;
  }

  .app-feature-alt .app-media {
    order: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 14px;
  }

  .brand {
    display: grid;
    gap: 5px;
    width: 214px;
  }

  .brand img {
    width: 100%;
  }

  .brand span {
    max-width: none;
    font-size: 0.72rem;
  }

  .header-action {
    width: 100%;
  }

  .site-nav {
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

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

  h1 {
    font-size: clamp(3rem, 15vw, 4.35rem);
  }

  .hero-media {
    padding: 12px;
  }

  .service-card {
    min-height: auto;
  }

  .proof-grid article,
  .reliability-grid article {
    min-height: auto;
  }

  .system-map {
    min-height: 420px;
    padding: 14px;
  }

  .system-map::before {
    inset-inline: 14px;
  }

  .system-map::after {
    inset-block: 14px;
  }

  .system-core {
    width: 68%;
  }

  .service-mark {
    margin-bottom: 34px;
  }

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

  .apps-hero-panel {
    padding: 22px;
  }

  .app-media img {
    max-height: none;
  }

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

  .team-grid,
  .department-grid,
  .reference-grid {
    grid-template-columns: 1fr;
  }
}
