/* HERO HOME */

.hero-photo {
  margin: 0 auto 1.5rem;
  border-radius: 26px;
  overflow: hidden;
  max-width: 100%;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-brand {
  text-align: center;
  margin-bottom: 0.8rem;
}

.hero-wordmark {
  margin: 0;
  font-size: 2.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  /* qui poi metti il font custom del logo/wordmark */
}

/* freccetta sotto il logo, come nel Figma */
.hero-arrow {
  width: 16px;
  height: 16px;
  border-bottom: 3px solid #111111;
  border-right: 3px solid #111111;
  transform: rotate(45deg);
  margin: 0.5rem auto 0;
}

/* testo descrizione flash sotto il logo */
.hero-description {
  max-width: 820px;
  margin: 1.1rem auto 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.86rem;
  line-height: 1.8;
}

/* FLASH CTA */

/* FLASH CTA – CARD CON BG SFUMATO */

.flash-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background-color: #000000; /* base nera sotto la zona di testo */
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* immagine di sfondo che copre tutta la card */
.flash-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;

  /* maschera: immagine visibile a destra, che sfuma verso il nero a sinistra */
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.2) 18%,
    rgba(0, 0, 0, 0.7) 55%,
    rgba(0, 0, 0, 1) 85%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.2) 18%,
    rgba(0, 0, 0, 0.7) 55%,
    rgba(0, 0, 0, 1) 85%
  );
}

/* contenuto sopra allo sfondo */
.flash-card-inner {
  position: relative;
  z-index: 1;
  padding: 2rem 2.5rem;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* lascio spazio a destra per far “uscire” l’immagine */
  padding-right: 40%;
}

.flash-card-text {
  max-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.flash-eyebrow {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
}

.flash-subtitle {
  margin: 0;
  font-size: 0.95rem;
  text-transform: uppercase;
}

/* barra servizi sotto, la teniamo come prima (già stile figma) */

.flash-services-bar {
  display: block;
  width: 100%;
  background-color: var(--accent-black);
  border-radius: 22px;
  text-align: center;
  padding: 0.95rem 1.4rem;
  text-decoration: none;
  margin-top: 0.7rem;
}

.flash-services-bar span {
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.98rem;
}

/* responsive flash */
@media (max-width: 900px) {
  .flash-card-inner {
    padding-right: 2rem; /* sul mobile non ha senso lasciare 40% vuoto */
    min-height: 220px;
  }

  .flash-card-bg {
    -webkit-mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.8) 60%,
      rgba(0, 0, 0, 1) 100%
    );
    mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.8) 60%,
      rgba(0, 0, 0, 1) 100%
    );
  }
}


/* RECENSIONI */

.section-title {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 3rem;
  margin-bottom: 1.4rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.review-card {
  background-color: #ffffff;
  border-radius: 40px; /* più tondo, come nel figma */
  padding: 2.1rem 1.8rem;
  text-align: left;
}

/* stelle grandi, giallo acceso stile figma */
.review-stars {
  margin-bottom: 1rem;
  font-size: 1.85rem;
  letter-spacing: 0.08em;
}

.star {
  margin-right: 0.2rem;
}

.star.is-full {
  color: #ffd626;
}

.star.is-empty {
  color: #1f1f1f;
}

.review-name {
  margin: 0 0 0.9rem;
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.review-text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* RESPONSIVE HOME */

@media (max-width: 900px) {
  .flash-card {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .hero-wordmark {
    font-size: 2.1rem;
  }

  .section-title {
    font-size: 1.6rem;
  }
}
