/* =========================================================
   HOME BIG TOP MONZA
   ========================================================= */

:root {
  --home-red: #e60024;
  --home-red-dark: #bd001e;

  --home-coral: #fc6d6d;
  --home-coral-dark: #ef565e;
  --home-coral-light: #ffe5df;

  --home-burgundy: #47151e;

  --home-cream: #fdf8e4;
  --home-cream-light: #fffdf6;

  --home-white: #ffffff;

  --home-dark: #302d2b;
  --home-text: #45413d;
  --home-muted: #6b645e;

  --home-border: #e7d8c3;

  --home-shadow:
    0 16px 45px rgba(80, 45, 30, 0.12);
}


/* =========================================================
   GENERALE
   ========================================================= */

.home-page,
.home-page * {
  box-sizing: border-box;
}

.home-page {
  overflow: hidden;

  background: var(--home-cream);

  color: var(--home-text);
}

.home-container {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.home-section-label,
.home-eyebrow {
  display: inline-block;

  margin-bottom: 12px;

  color: var(--home-red);

  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}


/* =========================================================
   HERO HOME
   ========================================================= */

.home-hero {
  position: relative;

  padding: 80px 0 95px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 90% 15%,
      rgba(252, 109, 109, 0.22),
      transparent 27%
    ),
    radial-gradient(
      circle at 8% 90%,
      rgba(230, 0, 36, 0.07),
      transparent 27%
    ),
    linear-gradient(
      135deg,
      #fff2d5 0%,
      var(--home-cream) 52%,
      var(--home-cream-light) 100%
    );
}

.home-hero__container {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;

  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;

  align-items: center;
}


/* LOGO */

.home-hero__logo-wrap {
  display: flex;

  align-items: center;
  justify-content: center;
}

.home-hero__logo {
  display: block;

  width: min(100%, 410px);
  height: auto;

  filter:
    drop-shadow(0 18px 28px rgba(70, 30, 25, 0.12));
}


/* TESTO HERO */

.home-hero__content {
  max-width: 650px;
}

.home-hero h1 {
  margin: 0;

  color: var(--home-dark);

  font-size: clamp(3.3rem, 6vw, 5.8rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.home-hero h1 span {
  color: var(--home-red);
}

.home-hero__lead {
  margin: 25px 0 10px;

  color: var(--home-dark);

  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;

  font-style: italic;
}

.home-hero__description {
  max-width: 590px;

  margin: 0;

  color: var(--home-muted);

  font-size: 1.08rem;
  line-height: 1.7;
}


/* DECORAZIONI */

.home-hero__decoration {
  position: absolute;

  border-radius: 50%;

  pointer-events: none;
}

.home-hero__decoration--one {
  top: -160px;
  right: -100px;

  width: 400px;
  height: 400px;

  border: 2px solid rgba(230, 0, 36, 0.07);
}

.home-hero__decoration--two {
  bottom: -180px;
  left: -90px;

  width: 350px;
  height: 350px;

  border: 2px solid rgba(252, 109, 109, 0.14);
}


/* =========================================================
   BOTTONI
   ========================================================= */

.home-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;

  margin-top: 32px;
}

.home-btn {
  display: inline-flex;

  min-height: 50px;
  padding: 13px 24px;

  align-items: center;
  justify-content: center;

  border: 2px solid transparent;
  border-radius: 999px;

  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;

  text-decoration: none;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.home-btn:hover {
  transform: translateY(-2px);
}

.home-btn--primary {
  background: var(--home-red);
  color: var(--home-white);

  box-shadow:
    0 10px 25px rgba(230, 0, 36, 0.18);
}

.home-btn--primary:hover {
  background: var(--home-red-dark);
}

.home-btn--outline {
  border-color: var(--home-red);

  background: transparent;
  color: var(--home-red);
}

.home-btn--outline:hover {
  background: var(--home-red);
  color: var(--home-white);
}


/* =========================================================
   INTRO
   ========================================================= */

.home-intro {
  padding: 85px 0;

  background: var(--home-white);

  text-align: center;
}

.home-intro .home-container {
  max-width: 800px;
}

.home-intro h2 {
  margin: 0 0 18px;

  color: var(--home-red);

  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
}

.home-intro p {
  margin: 0;

  color: var(--home-text);

  font-size: 1.1rem;
  line-height: 1.75;
}


/* =========================================================
   GALLERY / CAROSELLO
   ========================================================= */

.home-gallery {
  padding: 85px 0 100px;

  background: var(--home-cream);
}

.home-gallery__heading {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 50px;

  margin-bottom: 35px;

  align-items: end;
}

.home-gallery__heading h2 {
  margin: 0;

  color: var(--home-red);

  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.1;
}

.home-gallery__heading p {
  margin: 0;

  color: var(--home-muted);

  line-height: 1.65;
}


/* =========================================================
   CAROSELLO
   ========================================================= */

.home-gallery .carosello {
  position: relative;

  overflow: hidden;

  border-radius: 20px;

  background: var(--home-white);

  box-shadow: var(--home-shadow);
}

.home-gallery .carosello-track {
  display: flex;

  transition: transform 0.4s ease;
}

.home-gallery .carosello-img {
  display: block;

  width: 100%;
  height: 610;

  flex: 0 0 100%;

  object-fit: cover;
}


/* PULSANTI CAROSELLO */

.home-gallery .carosello-btn {
  position: absolute;
  top: 50%;

  display: flex;

  width: 46px;
  height: 46px;

  align-items: center;
  justify-content: center;

  transform: translateY(-50%);

  border: 0;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.92);
  color: var(--home-red);

  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.12);

  font-size: 1.1rem;

  cursor: pointer;

  transition:
    transform 0.15s ease,
    background-color 0.15s ease;
}

.home-gallery .carosello-btn:hover {
  transform:
    translateY(-50%)
    scale(1.08);

  background: var(--home-white);
}

.home-gallery .carosello-prev {
  left: 18px;
}

.home-gallery .carosello-next {
  right: 18px;
}


/* DOT */

.home-gallery .carosello-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;

  display: flex;
  gap: 8px;

  transform: translateX(-50%);
}

.home-gallery .carosello-dot {
  width: 10px;
  height: 10px;
  padding: 0;

  border: 0;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.65);

  cursor: pointer;

  transition:
    transform 0.15s ease,
    background-color 0.15s ease;
}

.home-gallery .carosello-dot.active {
  transform: scale(1.35);

  background: var(--home-white);
}


/* =========================================================
   CTA FINALE
   ========================================================= */

.home-cta {
  position: relative;

  padding: 70px 0;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 90% 15%,
      rgba(255, 255, 255, 0.16),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      var(--home-coral),
      var(--home-coral-dark)
    );

  color: var(--home-white);
}

.home-cta__content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;

  align-items: center;
}

.home-section-label--light {
  color: var(--home-white);
}

.home-cta h2 {
  margin: 0 0 12px;

  color: var(--home-white);

  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
}

.home-cta p {
  margin: 0;

  color: rgba(255, 255, 255, 0.92);

  font-size: 1.05rem;
}

.home-cta__buttons {
  display: flex;
  gap: 12px;
}

.home-btn--white {
  background: var(--home-white);
  color: var(--home-red);
}

.home-btn--white:hover {
  background: var(--home-cream);
}

.home-btn--white-outline {
  border-color: rgba(255, 255, 255, 0.85);

  color: var(--home-white);
}

.home-btn--white-outline:hover {
  background: var(--home-white);
  color: var(--home-red);
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 900px) {

  .home-hero {
    padding-top: 70px;
  }

  .home-hero__container {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 35px;
  }

  .home-hero__logo {
    max-width: 330px;
  }

  .home-gallery__heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-gallery .carosello-img {
    height: 470px;
  }

  .home-cta__content {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}


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

@media screen and (max-width: 768px) {

  .home-container,
  .home-hero__container {
    width: calc(100% - 28px);
  }


  /* HERO */

  .home-hero {
    padding: 45px 0 65px;
  }

  .home-hero__container {
    grid-template-columns: 1fr;
    gap: 20px;

    text-align: center;
  }

  .home-hero__logo {
    width: min(72vw, 280px);
  }

  .home-hero__content {
    margin: 0 auto;
  }

  .home-hero h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .home-hero__lead {
    margin-top: 22px;

    font-size: 1.2rem;
  }

  .home-hero__description {
    font-size: 1rem;
  }

  .home-hero__buttons {
    display: grid;
    grid-template-columns: 1fr;

    max-width: 340px;
    margin: 28px auto 0;
  }

  .home-btn {
    width: 100%;
  }


  /* INTRO */

  .home-intro {
    padding: 60px 0;
  }


  /* GALLERY */

  .home-gallery {
    padding: 60px 0 70px;
  }

  .home-gallery__heading {
    text-align: center;
  }

  .home-gallery .carosello {
    border-radius: 14px;
  }

  .home-gallery .carosello-img {
    height: 330px;
  }

  .home-gallery .carosello-btn {
    width: 38px;
    height: 38px;
  }

  .home-gallery .carosello-prev {
    left: 10px;
  }

  .home-gallery .carosello-next {
    right: 10px;
  }


  /* CTA */

  .home-cta {
    padding: 60px 0;
  }

  .home-cta__content {
    text-align: center;
  }

  .home-cta__buttons {
    display: grid;
    grid-template-columns: 1fr;

    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }
}

/* =========================================================
   TONO TIPOGRAFICO PIU MORBIDO E "BIG TOP"
   ========================================================= */

/* Testo generale */
.home-page {
  font-family: Arial, Helvetica, sans-serif;

  color: #4f4944;

  line-height: 1.7;
}


/* Eyebrow / piccole etichette sopra i titoli */
.home-section-label,
.home-eyebrow {
  margin-bottom: 10px;

  font-size: 0.82rem;
  font-weight: 600;

  letter-spacing: 0.08em;

  /* Evita l'effetto molto corporate del tutto maiuscolo */
  text-transform: none;
}


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

.home-hero h1 {
  color: var(--home-dark);

  font-size: clamp(3.2rem, 6vw, 5.6rem);

  /* prima 800 */
  font-weight: 700;

  /* prima era molto serrato */
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.home-hero h1 span {
  color: var(--home-red);
}

.home-hero__lead {
  margin: 25px 0 12px;

  color: #403b37;

  font-size: clamp(1.25rem, 2vw, 1.6rem);

  /* più leggero e naturale */
  font-weight: 600;

  font-style: italic;
  line-height: 1.5;
}

.home-hero__description {
  max-width: 590px;

  color: #615a54;

  font-size: 1.08rem;
  font-weight: 400;

  line-height: 1.75;
}


/* =========================================================
   BOTTONI
   ========================================================= */

.home-btn {
  font-size: 0.98rem;

  /* meno "commerciale" rispetto al 700 */
  font-weight: 600;
}


/* =========================================================
   INTRO
   ========================================================= */

.home-intro h2 {
  margin-bottom: 20px;

  font-size: clamp(2.1rem, 4vw, 3rem);

  /* prima 800 */
  font-weight: 700;

  line-height: 1.18;
  letter-spacing: -0.015em;
}

.home-intro p {
  color: #514b46;

  font-size: 1.1rem;
  font-weight: 400;

  line-height: 1.8;
}


/* =========================================================
   GALLERY
   ========================================================= */

.home-gallery__heading h2 {
  color: var(--home-red);

  font-size: clamp(2rem, 4vw, 3rem);

  /* prima 800 */
  font-weight: 700;

  line-height: 1.16;
  letter-spacing: -0.015em;
}

.home-gallery__heading p {
  color: #645d57;

  font-size: 1rem;
  font-weight: 400;

  line-height: 1.75;
}


/* =========================================================
   CTA FINALE
   ========================================================= */

.home-cta h2 {
  margin-bottom: 14px;

  font-size: clamp(2rem, 4vw, 2.9rem);

  /* prima 800 */
  font-weight: 700;

  line-height: 1.2;
  letter-spacing: -0.015em;
}

.home-cta p {
  color: rgba(255, 255, 255, 0.94);

  font-size: 1.05rem;
  font-weight: 400;

  line-height: 1.7;
}


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

@media screen and (max-width: 768px) {

  .home-hero h1 {
    font-size: clamp(2.6rem, 13vw, 3.8rem);

    line-height: 1.03;
  }

  .home-hero__lead {
    font-size: 1.18rem;
  }

  .home-hero__description {
    font-size: 1rem;
    line-height: 1.7;
  }

  .home-intro p,
  .home-gallery__heading p {
    line-height: 1.75;
  }

}