:root {
  --bg: #f5f7f9;
  --ink: #151a1f;
  --muted: #5d6875;
  --line: #d9e0e7;
  --panel: #ffffff;
  --deep: #101820;
  --cyan: #1da6b8;
  --amber: #d79d34;
  --green: #2c8f69;
  --radius: 8px;
  --shadow: 0 20px 45px rgba(20, 28, 36, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

body.catalog-page {
  background: #eef3f6;
}

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

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fff;
  background: rgba(12, 18, 24, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 760;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 8px 18px rgba(29, 166, 184, 0.34);
}

.nav {
  display: flex;
  gap: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.nav a,
.top-link {
  transition: color 180ms ease;
}

.nav a:hover,
.top-link:hover {
  color: #fff;
}

.top-link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 650;
  white-space: nowrap;
}

.catalog-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  min-height: 410px;
  padding: 136px clamp(20px, 6vw, 86px) 58px;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(5, 9, 13, 0.96) 0%, rgba(16, 24, 32, 0.9) 54%, rgba(29, 166, 184, 0.42) 100%),
    var(--deep);
}

.catalog-hero > div {
  width: min(820px, 100%);
}

.catalog-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(48px, 7vw, 92px);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(780px, 92vh);
  padding: 128px clamp(20px, 6vw, 86px) 76px;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 9, 13, 0.92) 0%, rgba(5, 9, 13, 0.78) 35%, rgba(5, 9, 13, 0.18) 74%),
    linear-gradient(180deg, rgba(5, 9, 13, 0.22) 0%, rgba(5, 9, 13, 0.28) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(54px, 9vw, 108px);
  line-height: 0.94;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 24px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 760;
}

.button-primary {
  color: #061015;
  background: #fff;
}

.button-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.contact-band h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

.intro > p {
  color: var(--muted);
  font-size: 19px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

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

.service-card {
  min-height: 252px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(20, 28, 36, 0.06);
}

.icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 820;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

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

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

.catalog-preview {
  border-top: 1px solid var(--line);
}

.catalog-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.72fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: end;
  margin-bottom: 32px;
}

.catalog-head .section-heading {
  margin-bottom: 0;
}

.catalog-head > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}

.catalog-search {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.catalog-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid #cbd6df;
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  font: inherit;
  outline: none;
}

.catalog-search input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(29, 166, 184, 0.14);
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid #cbd6df;
  border-radius: var(--radius);
  color: var(--deep);
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
}

.filter-chip span {
  color: var(--muted);
  font-weight: 680;
}

.filter-chip.is-active {
  border-color: var(--deep);
  color: #fff;
  background: var(--deep);
}

.filter-chip.is-active span {
  color: rgba(255, 255, 255, 0.72);
}

.catalog-status {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 15px;
}

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

.catalog-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.catalog-summary-grid div {
  display: grid;
  gap: 6px;
  min-height: 126px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.catalog-summary-grid strong {
  font-size: 38px;
  line-height: 1;
}

.catalog-summary-grid span {
  color: var(--muted);
  font-weight: 720;
}

.catalog-full {
  padding-top: 42px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 286px;
  padding: 20px;
  border: 1px solid #cbd6df;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(29, 166, 184, 0.08), rgba(255, 255, 255, 0) 46%),
    var(--panel);
  box-shadow: 0 10px 28px rgba(20, 28, 36, 0.07);
}

.product-card[hidden] {
  display: none;
}

.product-card-muted {
  background:
    linear-gradient(180deg, rgba(215, 157, 52, 0.08), rgba(255, 255, 255, 0) 46%),
    var(--panel);
}

.product-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.product-source {
  color: var(--cyan);
}

.product-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.18;
}

.product-card p {
  margin-bottom: 22px;
  color: var(--muted);
}

.product-meta {
  display: grid;
  gap: 4px;
  margin-top: auto;
  margin-bottom: 18px;
}

.product-meta strong {
  font-size: 21px;
  line-height: 1.1;
}

.product-meta span {
  color: var(--green);
  font-size: 14px;
  font-weight: 720;
}

.product-card a {
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--deep);
  font-weight: 720;
  background: #fff;
}

.catalog-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--deep);
  color: #fff;
}

.catalog-empty {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: #fff;
}

.catalog-cta div {
  display: grid;
  gap: 4px;
}

.catalog-cta span {
  color: rgba(255, 255, 255, 0.74);
}

.button-dark {
  flex: 0 0 auto;
  color: var(--deep);
  background: #fff;
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.steps div {
  display: grid;
  gap: 10px;
  min-height: 156px;
  padding: 24px;
}

.steps div + div {
  border-left: 1px solid var(--line);
}

.steps strong {
  font-size: 18px;
}

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

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, 0.9fr);
  gap: 32px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 20px auto 78px;
  padding: clamp(28px, 5vw, 54px);
  color: #fff;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(29, 166, 184, 0.16), rgba(215, 157, 52, 0.16)),
    var(--deep);
  box-shadow: var(--shadow);
}

.contacts {
  display: grid;
  gap: 12px;
  font-style: normal;
}

.contacts a {
  display: block;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 720;
  overflow-wrap: anywhere;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

@media (max-width: 920px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

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

  .intro,
  .catalog-head,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .catalog-grid,
  .catalog-summary-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

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

  .steps div + div {
    border-left: 0;
  }

  .steps div:nth-child(2n) {
    border-left: 1px solid var(--line);
  }

  .steps div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .topbar {
    min-height: 64px;
    padding: 12px 16px;
  }

  .top-link {
    display: none;
  }

  .hero {
    min-height: 710px;
    padding: 108px 20px 52px;
  }

  .catalog-hero {
    min-height: auto;
    padding: 104px 20px 44px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 9, 13, 0.92), rgba(5, 9, 13, 0.62)),
      linear-gradient(180deg, rgba(5, 9, 13, 0.18), rgba(5, 9, 13, 0.54));
  }

  h1 {
    font-size: 52px;
  }

  .lead {
    font-size: 18px;
  }

  .button {
    flex: 1 1 150px;
  }

  .section {
    width: min(100% - 32px, 1180px);
    padding: 56px 0;
  }

  .service-grid,
  .catalog-grid,
  .catalog-summary-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .steps div:nth-child(2n) {
    border-left: 0;
  }

  .steps div:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }

  .contact-band {
    width: min(100% - 32px, 1180px);
    margin-bottom: 52px;
  }

  .footer {
    flex-direction: column;
  }
}
