:root {
  --ink: #10212b;
  --muted: #51616b;
  --line: #dce7ea;
  --paper: #f7fbfb;
  --white: #ffffff;
  --navy: #0a2f55;
  --teal: #1d8a8a;
  --mint: #dff7ef;
  --gold: #f0b44b;
  --coral: #e45f4f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

a { color: inherit; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(18px, 6vw, 76px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.brand strong,
.product-top strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
}

.brand small,
.product-top small {
  color: var(--muted);
  font-size: 13px;
}

.site-header nav,
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.site-header nav a,
.footer nav a {
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 430px);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  min-height: 620px;
  padding: clamp(54px, 8vw, 96px) clamp(18px, 6vw, 76px);
  background:
    linear-gradient(135deg, rgba(10, 47, 85, 0.94), rgba(12, 71, 83, 0.86)),
    url('/assets/categories/rynki.png') center / cover;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
}

h2 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 8px;
  font-size: 23px;
}

.lead {
  max-width: 760px;
  color: #eef9fb;
  font-size: 21px;
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  color: #081d2a;
  background: var(--gold);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.product-card {
  padding: 26px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.product-top {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}

.mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
  font-size: 26px;
  font-weight: 900;
}

.product-card p,
.feature-card p,
.trust-section p {
  color: var(--muted);
  line-height: 1.62;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.section {
  padding: clamp(48px, 7vw, 88px) clamp(18px, 6vw, 76px);
}

.section-head { margin-bottom: 24px; }

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

.feature-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.feature-card div { padding: 22px; }

.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  background: var(--mint);
}

.link-panel {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.link-panel a {
  padding: 14px 0;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.link-panel a:last-child { border-bottom: 0; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 6vw, 76px);
  color: #e4f7f9;
  background: #071f35;
}

.footer p { margin: 0; }

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

  .hero,
  .project-grid,
  .trust-section {
    grid-template-columns: 1fr;
  }

  .hero { min-height: auto; }
}

@media (max-width: 520px) {
  .site-header nav,
  .actions,
  .button { width: 100%; }

  h1 { font-size: 42px; }

  .product-card,
  .link-panel { padding: 20px; }
}
