/* ============================================================
   QuiQuoQua · Home page — sezioni specifiche
   ============================================================ */

/* =============== HERO EDITORIALE =============== */
.qq-hero {
  position: relative;
  min-height: 55vh;
  background-color: var(--qq-sand);
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

@media (min-width: 768px) {
  .qq-hero {
    min-height: 68vh;
    background-position: center center;
  }
}

.qq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.35) 100%);
  z-index: 1;
  pointer-events: none;
}

.qq-hero__inner {
  position: relative;
  z-index: 2;
  padding: var(--qq-space-6);
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--qq-space-4);
}

@media (min-width: 768px) {
  .qq-hero__inner { padding: var(--qq-space-9) var(--qq-space-7); gap: var(--qq-space-5); }
}

.qq-hero__kicker {
  align-self: flex-start;
}

.qq-hero__title {
  font-family: var(--qq-font-serif);
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: var(--qq-lh-tight);
  font-weight: var(--qq-fw-regular);
  color: var(--qq-white);
  margin: 0;
  letter-spacing: var(--qq-ls-tight);
  max-width: 20ch;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.qq-hero__title em { font-style: italic; }

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

/* Se l'hero non ha immagine di sfondo, testo scuro */
.qq-hero:not([style*="background-image"]) .qq-hero__title { color: var(--qq-ink); text-shadow: none; }
.qq-hero:not([style*="background-image"])::before { display: none; }

/* =============== SHOWCASE (carosello configurabile homepage_contents) =============== */
.qq-showcase {
  padding: var(--qq-space-8) 0;
}

.qq-showcase--canary  { background: var(--qq-canary); }
.qq-showcase--sage    { background: var(--qq-sage); }
.qq-showcase--blush   { background: var(--qq-blush); }
.qq-showcase--sand    { background: var(--qq-sand); }
.qq-showcase--warm    { background: var(--qq-cream-warm); }

.qq-showcase__foot {
  display: flex;
  justify-content: center;
  margin-top: var(--qq-space-6);
  padding: 0 var(--qq-container-x);
}

/* =============== SEZIONE HOME PADDING === */
.qq-home-section {
  padding: var(--qq-space-8) 0;
}
.qq-home-section--tight { padding: var(--qq-space-6) 0; }

/* =============== ARTICLE FOOTER (testo SEO) =============== */
.qq-article-seo {
  background: var(--qq-cream);
  padding: var(--qq-space-9) var(--qq-container-x);
  max-width: 800px;
  margin: 0 auto;
}

.qq-article-seo h1,
.qq-article-seo h2 {
  font-family: var(--qq-font-serif);
  font-weight: var(--qq-fw-regular);
  font-size: var(--qq-fs-h2);
  line-height: var(--qq-lh-heading);
  color: var(--qq-ink);
  margin: 0 0 var(--qq-space-4);
  text-align: center;
}

.qq-article-seo p {
  font-size: var(--qq-fs-body);
  line-height: var(--qq-lh-body);
  color: var(--qq-ink-soft);
  margin: 0 0 var(--qq-space-3);
}
