/*
Theme Name: Blocksy Child
Template: blocksy
*/

/* =========================
   FOODUS – HERO
========================= */

.foodus-hero {
  padding: 104px 24px 112px;
  background: #f6f7f8;
}

.foodus-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================
   HERO TEXT
========================= */

.foodus-hero__content {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 72px;
}

.foodus-hero__content h1 {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

/* forza ESATTAMENTE 2 righe */
.foodus-hero__content h1 span {
  display: block;
}

.foodus-hero__content p {
  font-size: 18px;
  color: #666;
  line-height: 1.5;
}

/* =========================
   HERO CARDS
========================= */

.foodus-hero__cards {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: stretch;
}

/* CARD BASE */
.foodus-card {
  width: 280px;
  padding: 36px 28px;
  border-radius: 28px;

  text-decoration: none;
  color: #111;
  background: #fff;

  display: flex;
  flex-direction: column;
  align-items: center;      /* centro orizzontale */
  justify-content: center;  /* centro verticale */
  text-align: center;

  gap: 14px;

  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.foodus-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,.12);
}

/* TITOLI CARD */
.foodus-card h3 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
}

/* TESTO CARD */
.foodus-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.4;
  max-width: 220px;
}

/* ICONA */
.foodus-card__icon {
  font-size: 34px;
  margin-top: 16px;
}

/* =========================
   CARD COLORS (FIGMA)
========================= */

.foodus-card--ricette {
  background: #cfeee4;
}

.foodus-card--drinks {
  background: #ffd6b8;
}

.foodus-card--calcolatore {
  background: #ddf2c4;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .foodus-hero {
    padding: 56px 16px 72px;
  }

  .foodus-hero__content {
    max-width: 100%;
    padding: 0;
    margin-bottom: 56px;
  }

  /* TITOLI MOBILE:
     2 righe nette:
     Mangia ciò che AMI.
     Traccia ciò che ASSUMI.
  */
  .foodus-hero__content h1 {
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -0.02em;
  }

  .foodus-hero__content h1 span {
    white-space: nowrap;
  }

  .foodus-hero__cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .foodus-card {
    width: 100%;
    max-width: 340px;
    padding: 32px 24px;
    border-radius: 24px;
  }

  .foodus-card h3 {
    font-size: 24px;
  }
}
