/* ==========================================================================
   Kamus — home.css
   Stili specifici della homepage / product page "disegnare la propria casa"
   ========================================================================== */

/* Hero -------------------------------------------------------------------- */
.hero {
  padding: var(--sp-section) 0 !important;
  background: linear-gradient(
    135deg,
    var(--cream-light) 0%,
    var(--cream-deeper) 40%,
    var(--sunshine-300) 78%,
    var(--sunshine-500) 100%
  );
  border-bottom: 1px solid var(--beige-deep);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xxxl);
  align-items: center;
}

.hero-copy h1 {
  margin-bottom: var(--sp-lg);
}

.hero-copy .lead {
  max-width: 560px;
  color: var(--ink-tint);
}

.hero-copy .muted-note {
  margin: var(--sp-md) 0 0;
  color: var(--ink-tint);
}

.hero-art {
  display: flex;
  justify-content: center;
  padding: var(--sp-lg);
  border: 1px solid rgba(31, 31, 31, 0.14);
  border-radius: var(--rounded-lg);
  background: rgba(255, 255, 255, 0.42);
  color: var(--ink);
}

.hero-art svg {
  width: 100%;
  height: auto;
  opacity: 0.85;
}

/* Come funziona ----------------------------------------------------------- */
.step-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step-card {
  position: relative;
  margin: 0;
  padding: var(--sp-xl);
  border: 1px solid var(--beige-deep);
  border-radius: var(--rounded-lg);
  background: var(--canvas);
}

.step-card h3 {
  margin: var(--sp-sm) 0 var(--sp-xs);
  font-size: 19px;
}

.step-card p {
  margin: 0;
  font-size: 15px;
  color: var(--slate);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--rounded-md);
  background: var(--primary);
  color: var(--on-primary);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
}

/* Tipologie di pianta ----------------------------------------------------- */
.type-card .icon-badge {
  margin-bottom: var(--sp-md);
}

.type-card h3 {
  font-size: 20px;
}

.type-card > p {
  font-size: 15px;
  color: var(--slate);
}

.eav {
  margin: var(--sp-md) 0 0;
  padding-top: var(--sp-md);
  border-top: 1px solid var(--hairline-soft);
  font-size: 13px;
}

.eav dt {
  font-weight: 600;
  color: var(--ink);
}

.eav dd {
  margin: 0 0 var(--sp-xs);
  color: var(--steel);
}

.eav dd:last-child {
  margin-bottom: 0;
}

/* Confronto 2D/3D --------------------------------------------------------- */
.confronto-2d3d .table-wrap {
  margin-bottom: var(--sp-lg);
}

/* CTA finale -------------------------------------------------------------- */
.cta-section {
  padding-bottom: var(--sp-section) !important;
}

/* Responsive -------------------------------------------------------------- */
@media (min-width: 768px) {
  .step-list {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-xl);
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: var(--sp-section-lg) 0 !important;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .hero-copy h1 {
    font-size: 58px;
  }

  .step-list {
    grid-template-columns: repeat(4, 1fr);
  }
}
