/* ============================================================
   DMAE Smart Products — Контрактное производство (page-specific)
   ============================================================ */

/* ----- Hero: icon highlight ----- */

.hero-highlight-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--red), #800010);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

/* ----- Hero: visual gradient block (instead of photo) ----- */

.hero-visual {
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: radial-gradient(circle at top left, #ff0022 0, #150211 55%);
  padding: 30px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.hero-visual-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.09), transparent 55%);
  mix-blend-mode: screen;
}

.hero-visual-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.hero-visual-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 1;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  position: relative;
  z-index: 1;
  margin-top: 20px;
}

.hero-stat {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
}

.hero-stat-num {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.3;
}

/* ----- Card: icon + paragraph variant ----- */

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.82);
}

/* ----- Steps / Roadmap ----- */

.steps { display: grid; gap: 0; }

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 28px;
}

.step:last-child { padding-bottom: 0; }

.step-num-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #800010);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(255, 43, 61, 0.5);
}

.step-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, rgba(255, 43, 61, 0.5), transparent);
  min-height: 30px;
  margin-top: 6px;
}

.step:last-child .step-line { display: none; }

.step-body { padding-top: 8px; }

.step-title {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.step-desc {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ----- CTA Block ----- */

.cta-block {
  margin-bottom: clamp(40px, 7vw, 60px);
  background: linear-gradient(160deg, #1a020c, #050209);
  border-radius: 32px;
  padding: clamp(20px, 4vw, 36px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.cta-block::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at top left, rgba(255, 43, 61, 0.35), transparent 60%),
    radial-gradient(circle at bottom, rgba(255, 43, 61, 0.25), transparent 55%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cta-kicker {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 8px;
}

.cta-title {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 10px;
}

.cta-sub {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.87);
}

.cta-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.cta-note {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: right;
  max-width: 200px;
}

/* ----- Products Grid ----- */

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

.product-tag {
  background: rgba(5, 2, 9, 0.9);
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
}

.product-tag-icon { font-size: 1.2rem; flex-shrink: 0; }

/* ----- Footer with button ----- */

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* ----- Responsive (page-specific) ----- */

@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-right { align-items: flex-start; }
  .cta-note { text-align: left; }
}

@media (max-width: 640px) {
  .cta-block { border-radius: 24px; }
  .products-grid { grid-template-columns: minmax(0, 1fr); }
}
