/* ============================================================
   SMC — Prodotti page sections
   ============================================================ */

/* ---------- Page hero (full-bleed photo banner) ---------- */
.page-hero {
  position: relative;
  background-image: linear-gradient(
      rgba(38, 26, 26, 0.42),
      rgba(38, 26, 26, 0.42)
    ),
    url("../assets/images/Images_hero_section/Hero_products_page.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.75rem, 1rem + 3vw, 3.25rem);
  min-height: clamp(340px, 32vw, 460px);
  padding-block: clamp(2.5rem, 5vw, 5rem);
}

.page-hero__text {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 0.4rem + 1.4vw, 1.5rem);
}

.page-hero__title {
  font-size: var(--fs-display); /* 32 -> 48, allineato al livello display */
  font-weight: var(--fw-semibold);
  line-height: 1.1;
  color: var(--text-on-dark);
}

.page-hero__subtitle {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.25rem); /* 18 -> 20, riga di supporto */
  font-weight: var(--fw-regular);
  line-height: 1.4;
  color: var(--text-on-dark);
  max-width: 30ch;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-4);
}

/* ---------- "I nostri prodotti chiave" ---------- */
.products__head {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-10);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

/* .product-card component moved to components.css (shared with applicazioni) */

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .products__grid {
    grid-template-columns: 1fr;
  }

  /* Hero buttons go full-width and stack, per the Figma mobile design */
  .page-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-hero__actions .btn {
    width: 100%;
  }
}
