:root {
  color-scheme: light;
  --ink: #14171f;
  --muted: #687080;
  --line: #e1e5ec;
  --surface: #f7f8fb;
  --panel: #ffffff;
  --blue: #2358a6;
  --blue-dark: #112d56;
  --cyan: #15a8c6;
  --red: #d84444;
  font-family:
    Inter, "Segoe UI", Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
}

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

.topbar {
  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);
  border-bottom: 1px solid rgba(20, 23, 31, 0.08);
  background: rgba(247, 248, 251, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

.mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: min(760px, calc(82vh - 78px));
  padding: clamp(36px, 7vw, 86px) clamp(20px, 5vw, 72px) 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 6.6vw, 82px);
  line-height: 0.99;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

p,
li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
}

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

.button.ghost {
  background: #fff;
}

.hero-media {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(17, 45, 86, 0.16);
}

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

.brand-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-block: 1px solid var(--line);
  background: #fff;
}

.brand-strip span {
  display: grid;
  place-items: center;
  min-height: 82px;
  padding: 12px;
  border-inline-start: 1px solid var(--line);
  color: var(--blue-dark);
  font-weight: 900;
}

.split,
.services,
.contact,
.image-band {
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
}

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

.catalog article,
.service-grid article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.catalog article:nth-child(2) {
  border-top-color: var(--cyan);
}

.catalog article:nth-child(3) {
  border-top-color: var(--red);
}

.image-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 36px;
  align-items: center;
  background: #eef4fb;
}

.image-band img {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--blue-dark);
  color: #fff;
}

.contact p,
.contact .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 860px) {
  .topbar,
  .contact {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero,
  .split,
  .image-band,
  .brand-strip,
  .catalog,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(38px, 12vw, 58px);
  }
}
