:root {
  --pro-ink: #101820;
  --pro-ink-2: #172230;
  --pro-text: #17202a;
  --pro-muted: #627180;
  --pro-line: #d8e0e8;
  --pro-paper: #f3f6f8;
  --pro-panel: #ffffff;
  --pro-accent: #b22b2b;
  --pro-accent-dark: #8f2020;
  --pro-shadow: 0 18px 42px rgba(16, 24, 32, 0.12);
}

body {
  color: var(--pro-text);
  background: var(--pro-paper);
}

.site-header {
  background: rgba(16, 24, 32, 0.97);
}

.nav-row {
  min-height: 72px;
}

.btn {
  border-radius: 4px;
  white-space: nowrap;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary,
.mobile-contact-bar a:last-child {
  background: var(--pro-accent);
}

.btn-primary:hover {
  background: var(--pro-accent-dark);
}

.btn-secondary {
  background: var(--pro-ink-2);
}

.hero {
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.98), rgba(16, 24, 32, 0.9) 48%, rgba(16, 24, 32, 0.78)),
    var(--pro-ink);
}

.hero .container {
  min-height: 560px;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  gap: 52px;
  padding: 54px 0;
}

.hero-kicker {
  margin: 0 0 16px;
  color: #d6b16d;
  font-size: 14px;
  font-weight: 800;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.08;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 26px;
}

.hero-visual {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 24px 0 0 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
}

.hero-visual img {
  position: relative;
  width: min(430px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.trust-strip {
  background: #0b121a;
  color: #dce5ee;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.11);
}

.trust-item {
  min-height: 112px;
  padding: 22px;
  background: var(--pro-ink);
}

.trust-item strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 18px;
}

.trust-item span {
  color: #aebdca;
  font-size: 14px;
}

.section-title {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-title h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.18;
}

.section-title p {
  max-width: 680px;
  color: var(--pro-muted);
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 20px;
}

.product-lead,
.product-tile,
.flow-step,
.send-card {
  background: var(--pro-panel);
  border: 1px solid var(--pro-line);
  border-radius: 6px;
}

.product-lead {
  min-height: 460px;
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 20px;
  overflow: hidden;
  box-shadow: var(--pro-shadow);
}

.product-lead img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: contain;
  padding: 28px;
  background: #eef3f7;
}

.product-lead-content {
  padding: 34px;
  align-self: center;
}

.product-lead h3 {
  margin-bottom: 12px;
  font-size: 30px;
  line-height: 1.18;
}

.product-tile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.product-tile {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-tile img {
  width: 100%;
  height: 132px;
  object-fit: contain;
  padding: 16px;
  background: #eef3f7;
}

.product-tile-body {
  padding: 18px;
}

.product-lead p,
.product-tile p,
.flow-step p,
.send-card p {
  color: var(--pro-muted);
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--pro-accent);
  font-weight: 900;
}

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

.flow-step {
  padding: 26px;
}

.flow-step span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--pro-accent);
  font-size: 13px;
  font-weight: 900;
}

.flow-step h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

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

.send-card {
  padding: 22px;
  background: #f7f9fb;
}

.category-main {
  grid-row: span 2;
  min-height: 330px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(16, 24, 32, 0.92), rgba(16, 24, 32, 0.84)),
    url("../img/product-main-die.png") center bottom / 78% auto no-repeat,
    var(--pro-ink);
}

.category-main p {
  color: #d8e2ea;
}

.category-main .tag {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.cta-band {
  background: var(--pro-ink);
  border-radius: 6px;
}

input,
select,
textarea {
  color: var(--pro-text);
  border-color: #b9c6d2;
}

input::placeholder,
textarea::placeholder {
  color: #6f7e8c;
}

.form-note,
.contact-list a {
  color: var(--pro-accent);
}

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

@media (max-width: 1080px) {
  .hero .container,
  .product-showcase {
    grid-template-columns: 1fr;
  }

  .product-lead {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 680px) {
  .hero .container {
    min-height: auto;
    gap: 30px;
    padding: 48px 0 42px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(30px, 8.5vw, 34px);
    line-height: 1.16;
    overflow-wrap: break-word;
    word-break: break-all;
    text-wrap: balance;
  }

  .hero-visual {
    min-height: 260px;
  }

  .trust-grid,
  .product-lead,
  .product-tile-grid,
  .capability-flow,
  .send-grid {
    grid-template-columns: 1fr;
  }

  .product-lead img {
    min-height: 240px;
  }

  .category-main {
    min-height: 280px;
  }
}
