/* ===============================
   HOME — V3 dinamica professionale
   Palette brand:
   aqua      #3EDFDA
   turquoise #10BEF3
   blue      #10A2F7
   orange    #FFA03A
   gray      #F5F4F2
   =============================== */

.page-home {
  background: #fff;
  background-image: none;
}

.page-home main { overflow: hidden; }
.page-home .section { padding: clamp(4.8rem, 8vw, 7.2rem) 0; }

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .86rem 1.35rem;
  border-radius: 12px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}

.page-home .btn.primary {
  color: #0f2435;
  background: linear-gradient(135deg, var(--aqua), var(--turquoise));
  border: 0;
  box-shadow: 0 10px 24px rgba(16,190,243,.20);
}

.page-home .btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(16,190,243,.30);
}

.page-home .btn.secondary {
  color: #173044;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(16,162,247,.28);
}

.page-home .btn.secondary:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: var(--blue);
}

.home-kicker {
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: .16em;
}

.kicker-light { color: #fff; opacity: .88; }

.text-link,
.home-method-banner a {
  display: inline-flex;
  gap: .4rem;
  color: #163047;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, color .2s ease;
}

.text-link:hover,
.home-method-banner a:hover { transform: translateX(4px); }


/* =========================================================
   SPAZIO PRIMA DELLA SEZIONE PERCORSI
   ========================================================= */

.home-services {
  padding-top: 5.2rem !important;
}

/* =========================================================
   INTRO PERCORSI
   ========================================================= */

.home-section-intro {
  max-width: 920px;
  margin-bottom: 3rem;
}

.home-section-intro-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.home-section-intro h2,
.home-method-banner h2,
.home-maturity h2,
.home-editorial h2,
.home-summer h2,
.home-reviews h2,
.home-faq h2,
.home-final-cta h2 {
  margin: 0;

  color: #173044;

  font-size: clamp(2.35rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.home-section-intro > p:last-child {
  max-width: 760px;

  margin: 1.15rem 0 0;

  color: #61717c;

  font-size: 1.08rem;
  line-height: 1.65;
}


/* =========================================================
   PERCORSI
   ========================================================= */

.home-services {
  position: relative;

  overflow: hidden;

  padding-top: 5rem !important;
  padding-bottom: 5.5rem !important;

  background:
    radial-gradient(
      circle at 8% 15%,
      rgba(62,223,218,.13),
      transparent 24%
    ),
    radial-gradient(
      circle at 92% 88%,
      rgba(255,160,58,.09),
      transparent 24%
    ),
    #fff;
}


/* piccolo elemento grafico */

.home-services::before {
  content: "";

  position: absolute;

  width: 320px;
  height: 320px;

  right: -180px;
  top: 80px;

  border-radius: 50%;

  border:
    55px solid rgba(16,190,243,.045);

  pointer-events: none;
}


/* =========================================================
   GRIGLIA
   ========================================================= */

.flip-grid {
  position: relative;

  z-index: 1;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0,1fr));

  gap: 1.35rem;
}


/* =========================================================
   CARD
   ========================================================= */

.flip-card {
  min-height: 355px;

  perspective: 1400px;
}


.flip-card-inner {
  position: relative;

  width: 100%;
  height: 100%;

  min-height: 355px;

  transform-style: preserve-3d;

  transition:
    transform .7s cubic-bezier(.2,.75,.2,1);
}


.flip-card:hover .flip-card-inner,
.flip-card:focus-within .flip-card-inner {
  transform: rotateY(180deg);
}


/* =========================================================
   FACCE
   ========================================================= */

.flip-card-face {
  position: absolute;

  inset: 0;

  overflow: hidden;

  display: flex;
  flex-direction: column;

  padding: 2rem;

  border-radius: 24px;

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;

  border:
    1px solid rgba(255,255,255,.82);

  box-shadow:
    0 18px 42px rgba(23,48,68,.09),
    inset 0 1px 0 rgba(255,255,255,.95);
}


/* texture vetro */

.flip-card-face::before {
  content: "";

  position: absolute;

  inset: 0;

  pointer-events: none;

  opacity: .12;

  background:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,.95) 0,
      rgba(255,255,255,.95) 1px,
      transparent 1px,
      transparent 6px
    );
}


.flip-card-face > * {
  position: relative;
  z-index: 1;
}


/* =========================================================
   FRONT
   ========================================================= */

.flip-card-front {
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.96),
      rgba(255,255,255,.76)
    );

  backdrop-filter:
    blur(16px)
    saturate(120%);

  -webkit-backdrop-filter:
    blur(16px)
    saturate(120%);
}


/* colori distintivi */

.flip-card-a .flip-card-front {
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.98),
      rgba(62,223,218,.16)
    );
}


.flip-card-b .flip-card-front {
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.98),
      rgba(16,190,243,.17)
    );
}


.flip-card-c .flip-card-front {
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.98),
      rgba(255,160,58,.15)
    );
}


/* linea superiore */

.flip-card-front::after {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 5px;

  transform: scaleX(.28);
  transform-origin: left;

  transition:
    transform .35s ease;
}


.flip-card:hover .flip-card-front::after {
  transform: scaleX(1);
}


.flip-card-a .flip-card-front::after {
  background: var(--aqua);
}

.flip-card-b .flip-card-front::after {
  background: var(--turquoise);
}

.flip-card-c .flip-card-front::after {
  background: var(--orange);
}


/* =========================================================
   NUMERO
   ========================================================= */

.service-index {
  display: grid;

  place-items: center;

  width: 52px;
  height: 52px;

  border-radius: 16px;

  color: #173044;

  font-size: .9rem;
  font-weight: 900;

  letter-spacing: .06em;

  background:
    rgba(255,255,255,.66);

  border:
    1px solid rgba(255,255,255,.88);

  box-shadow:
    0 8px 20px rgba(23,48,68,.06);
}


.flip-card-a .service-index {
  color: #078f9c;
}

.flip-card-b .service-index {
  color: var(--blue);
}

.flip-card-c .service-index {
  color: #dd7a10;
}


/* =========================================================
   TESTI FRONT
   ========================================================= */

.flip-card h3 {
  margin: 2.5rem 0 .85rem;

  color: #173044;

  font-size: clamp(1.45rem, 2vw, 1.75rem);

  line-height: 1.12;
  letter-spacing: -.025em;
}


.flip-card p {
  margin: 0;

  max-width: 360px;

  color: #526571;

  line-height: 1.65;
}


.flip-hint {
  margin-top: auto;

  padding-top: 1.8rem;

  color: #173044;

  font-size: .83rem;
  font-weight: 850;

  transition:
    transform .25s ease,
    color .25s ease;
}


.flip-card:hover .flip-hint {
  transform: translateX(5px);
}


/* =========================================================
   BACK
   ========================================================= */

.flip-card-back {
  transform: rotateY(180deg);

  color: #173044;
}


.flip-card-a .flip-card-back {
  background:
    linear-gradient(
      145deg,
      #aef6f1,
      var(--aqua)
    );
}


.flip-card-b .flip-card-back {
  background:
    linear-gradient(
      145deg,
      #aeefff,
      var(--turquoise)
    );
}


.flip-card-c .flip-card-back {
  background:
    linear-gradient(
      145deg,
      #ffd7ad,
      var(--orange)
    );
}


.flip-card-back h3 {
  margin: 0 0 1.4rem;

  color: #102a3e;
}


.flip-card-back ul {
  margin: 0;

  padding-left: 1.15rem;

  color: #173044;

  line-height: 1.55;
}


.flip-card-back li {
  font-weight: 650;
}


.flip-card-back li + li {
  margin-top: .65rem;
}


.flip-card-back a {
  display: inline-flex;

  align-items: center;

  margin-top: auto;

  color: #102a3e;

  font-weight: 900;

  text-decoration: none;

  transition:
    transform .2s ease;
}


.flip-card-back a:hover {
  transform: translateX(5px);
}


/* =========================================================
   HOVER CARD
   ========================================================= */

.flip-card {
  transition:
    transform .3s ease;
}


.flip-card:hover {
  transform: translateY(-7px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 960px) {

  .home-services {
    padding-top: 4.5rem !important;
  }


  .flip-grid {
    grid-template-columns: 1fr;
  }


  .flip-card,
  .flip-card-inner {
    min-height: 320px;
  }


  .flip-card h3 {
    margin-top: 2rem;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {

  .home-services {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }


  .home-section-intro {
    margin-bottom: 2.3rem;
  }


  .home-section-intro h2 {
    font-size: clamp(2.25rem, 11vw, 3.2rem);
  }


  .flip-grid {
    gap: 1rem;
  }


  .flip-card {
    min-height: 0;

    transform: none !important;

    perspective: none;
  }


  .flip-card-inner {
    display: grid;

    min-height: 0;

    transform: none !important;
  }


  .flip-card:hover .flip-card-inner,
  .flip-card:focus-within .flip-card-inner {
    transform: none;
  }


  .flip-card-face {
    position: relative;

    inset: auto;

    min-height: 0;

    padding: 1.6rem;

    backface-visibility: visible;
    -webkit-backface-visibility: visible;
  }


  .flip-card-back {
    display: none;

    transform: none;

    margin-top: .7rem;
  }


  .flip-hint {
    display: none;
  }


  .service-index {
    width: 46px;
    height: 46px;

    border-radius: 14px;
  }


  .flip-card h3 {
    margin-top: 1.7rem;
  }

}

/* =========================================================
   HOME — METODO
   ========================================================= */

.home-method {
  position: relative;
  overflow: hidden;

  padding-top: 5.5rem !important;
  padding-bottom: 5.5rem !important;

  color: #fff;

  background:
    radial-gradient(
      circle at 8% 18%,
      rgba(62,223,218,.30),
      transparent 27%
    ),
    radial-gradient(
      circle at 90% 82%,
      rgba(16,162,247,.24),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #10a2f7 0%,
      #10bef3 55%,
      #3edFDA 100%
    );
}


/* grande π grafico sullo sfondo */

.home-method::before {
  content: "π";

  position: absolute;

  right: -1rem;
  top: -5rem;

  color: rgba(255,255,255,.075);

  font-size: clamp(18rem, 34vw, 34rem);
  line-height: 1;
  font-weight: 900;

  pointer-events: none;
}


/* luce arancione */

.home-method::after {
  content: "";

  position: absolute;

  width: 400px;
  height: 400px;

  left: 42%;
  bottom: -300px;

  border-radius: 50%;

  background:
    rgba(255,160,58,.22);

  filter: blur(55px);

  pointer-events: none;
}


.home-method .container {
  position: relative;

  z-index: 2;
}


/* =========================================================
   TESTATA
   ========================================================= */

.home-method-head {
  display: grid;

  grid-template-columns:
    minmax(0,.85fr)
    minmax(420px,1.15fr);

  gap: clamp(3rem,8vw,8rem);

  align-items: end;

  margin-bottom: 3.8rem;
}


.home-method .home-kicker {
  margin: 0 0 1rem;

  color: rgba(255,255,255,.82);

  font-size: .8rem;

  font-weight: 900;

  letter-spacing: .18em;
}


.home-method h2 {
  margin: 0;

  color: #fff;

  font-size:
    clamp(3.2rem,5vw,5.4rem);

  line-height: .91;

  letter-spacing: -.055em;

  font-weight: 850;
}


.home-method-intro {
  padding-bottom: .25rem;
}


.home-method-intro p {
  max-width: 650px;

  margin: 0 0 1.4rem;

  color: rgba(255,255,255,.94);

  font-size:
    clamp(1.08rem,1.6vw,1.35rem);

  line-height: 1.6;
}


.home-method-link {
  display: inline-flex;

  align-items: center;

  color: #fff;

  font-weight: 850;

  text-decoration: none;

  border-bottom:
    1px solid rgba(255,255,255,.55);

  padding-bottom: .18rem;

  transition:
    transform .2s ease,
    border-color .2s ease;
}


.home-method-link:hover {
  transform: translateX(5px);

  border-color: #fff;
}


/* =========================================================
   FLUSSO DEL METODO
   ========================================================= */

.home-method-flow {
  display: grid;

  grid-template-columns:
    minmax(0,1fr)
    46px
    minmax(0,1fr)
    46px
    minmax(0,1fr);

  gap: .6rem;

  align-items: stretch;
}


/* =========================================================
   STEP
   ========================================================= */

.home-method-step {
  position: relative;

  overflow: hidden;

  min-height: 245px;

  padding: 1.6rem;

  border-radius: 22px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.76),
      rgba(255,255,255,.48)
    );

  border:
    1px solid rgba(255,255,255,.72);

  box-shadow:
    0 18px 42px rgba(23,48,68,.12),
    inset 0 1px 0 rgba(255,255,255,.82);

  backdrop-filter:
    blur(18px)
    saturate(125%);

  -webkit-backdrop-filter:
    blur(18px)
    saturate(125%);

  transition:
    transform .3s ease,
    box-shadow .3s ease,
    background .3s ease;
}


.home-method-step::before {
  content: "";

  position: absolute;

  inset: 0;

  opacity: .10;

  pointer-events: none;

  background:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,.95) 0,
      rgba(255,255,255,.95) 1px,
      transparent 1px,
      transparent 6px
    );
}


.home-method-step:hover {
  transform: translateY(-8px);

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.86),
      rgba(255,255,255,.58)
    );

  box-shadow:
    0 28px 55px rgba(23,48,68,.18),
    inset 0 1px 0 rgba(255,255,255,.9);
}


/* =========================================================
   NUMERO
   ========================================================= */

.home-method-number {
  position: relative;

  z-index: 1;

  display: grid;

  place-items: center;

  width: 54px;
  height: 54px;

  margin-bottom: 2rem;

  border-radius: 17px;

  background:
    rgba(255,255,255,.72);

  border:
    1px solid rgba(255,255,255,.85);

  box-shadow:
    0 8px 20px rgba(23,48,68,.08);
}


.home-method-number span {
  color: #173044;

  font-size: .86rem;

  font-weight: 900;

  letter-spacing: .08em;
}


.method-a .home-method-number {
  box-shadow:
    inset 0 -4px 0 var(--aqua),
    0 8px 20px rgba(23,48,68,.08);
}


.method-b .home-method-number {
  box-shadow:
    inset 0 -4px 0 var(--blue),
    0 8px 20px rgba(23,48,68,.08);
}


.method-c .home-method-number {
  box-shadow:
    inset 0 -4px 0 var(--orange),
    0 8px 20px rgba(23,48,68,.08);
}


/* =========================================================
   TESTI STEP
   ========================================================= */

.home-method-step-copy {
  position: relative;

  z-index: 1;
}


.home-method-label {
  display: block;

  margin-bottom: .5rem;

  color: rgba(23,48,68,.62);

  font-size: .7rem;

  line-height: 1.3;

  font-weight: 900;

  letter-spacing: .13em;
}


.home-method-step h3 {
  margin: 0 0 .75rem;

  color: #102a3e;

  font-size: 1.65rem;

  line-height: 1.1;

  letter-spacing: -.025em;
}


.home-method-step p {
  margin: 0;

  color: #354e5e;

  font-size: .95rem;

  line-height: 1.55;

  font-weight: 550;
}


/* =========================================================
   FRECCE
   ========================================================= */

.home-method-arrow {
  display: flex;

  align-items: center;
  justify-content: center;

  color: rgba(255,255,255,.78);

  font-size: 2rem;

  font-weight: 300;

  transition:
    transform .25s ease,
    color .25s ease;
}


.home-method-flow:hover
.home-method-arrow {
  color: #fff;

  transform: translateX(3px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .home-method-head {
    grid-template-columns: 1fr;

    gap: 1.8rem;

    margin-bottom: 3rem;
  }


  .home-method-intro {
    max-width: 700px;
  }


  .home-method-flow {
    grid-template-columns: 1fr;
  }


  .home-method-arrow {
    height: 36px;

    transform: rotate(90deg);
  }


  .home-method-flow:hover
  .home-method-arrow {
    transform:
      rotate(90deg)
      translateX(3px);
  }


  .home-method-step {
    min-height: 0;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {

  .home-method {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }


  .home-method h2 {
    font-size:
      clamp(3rem,14vw,4.3rem);
  }


  .home-method-intro p {
    font-size: 1.05rem;
  }


  .home-method-step {
    padding: 1.4rem;

    border-radius: 19px;
  }


  .home-method-number {
    width: 48px;
    height: 48px;

    margin-bottom: 1.4rem;

    border-radius: 15px;
  }

}
/* =========================================================
   HOME — MATURITÀ
   ========================================================= */

.home-maturity {
  position: relative;

  overflow: hidden;

  padding-top: 6rem !important;
  padding-bottom: 6rem !important;

  background:
    radial-gradient(
      circle at 95% 5%,
      rgba(16,190,243,.11),
      transparent 28%
    ),
    radial-gradient(
      circle at 3% 95%,
      rgba(255,160,58,.08),
      transparent 25%
    ),
    #fff;
}


/* decorazione */

.home-maturity::before {
  content: "";

  position: absolute;

  width: 360px;
  height: 360px;

  right: -210px;
  top: 90px;

  border-radius: 50%;

  border:
    60px solid rgba(62,223,218,.055);

  pointer-events: none;
}


/* =========================================================
   LAYOUT
   ========================================================= */

.home-maturity-wrap {
  position: relative;

  z-index: 1;

  display: grid;

  grid-template-columns:
    minmax(0,.92fr)
    minmax(460px,1.08fr);

  gap: clamp(4rem,8vw,8rem);

  align-items: center;
}


/* =========================================================
   COPY
   ========================================================= */

.home-maturity-copy {
  max-width: 650px;
}


.home-maturity-copy h2 {
  margin: 0;

  color: #173044;

  font-size:
    clamp(3rem,4.8vw,5rem);

  line-height: .96;

  letter-spacing: -.05em;
}


.home-maturity-lead {
  max-width: 620px;

  margin: 1.5rem 0 0;

  color: #61717c;

  font-size: 1.08rem;

  line-height: 1.7;
}


.home-maturity-actions {
  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap: 1rem 1.4rem;

  margin-top: 2rem;
}


/* =========================================================
   PERCORSO
   ========================================================= */

.home-maturity-path {
  position: relative;

  display: grid;

  gap: 1rem;

  padding-left: 2rem;
}


/* linea verticale */

.home-maturity-path-line {
  position: absolute;

  left: 27px;
  top: 28px;
  bottom: 80px;

  width: 3px;

  border-radius: 999px;

  background:
    linear-gradient(
      180deg,
      var(--aqua),
      var(--turquoise),
      var(--orange)
    );
}


/* =========================================================
   STEP
   ========================================================= */

.home-maturity-step {
  position: relative;

  display: grid;

  grid-template-columns:
    56px
    1fr;

  gap: 1.2rem;

  align-items: start;

  padding:
    1.3rem
    1.4rem
    1.3rem
    .4rem;

  border-radius: 20px;

  transition:
    transform .3s ease,
    background .3s ease,
    box-shadow .3s ease;
}


.home-maturity-step:hover {
  transform:
    translateX(8px);

  background:
    rgba(245,244,242,.72);

  box-shadow:
    0 14px 32px rgba(23,48,68,.06);
}


/* =========================================================
   DOT
   ========================================================= */

.home-maturity-dot {
  position: relative;

  z-index: 2;

  display: grid;

  place-items: center;

  width: 54px;
  height: 54px;

  border-radius: 17px;

  background: #fff;

  border:
    1px solid rgba(23,48,68,.10);

  box-shadow:
    0 10px 24px rgba(23,48,68,.09);
}


.home-maturity-dot span {
  font-size: .82rem;

  font-weight: 900;

  letter-spacing: .08em;

  color: #173044;
}


.maturity-step-a .home-maturity-dot {
  box-shadow:
    inset 0 -4px 0 var(--aqua),
    0 10px 24px rgba(23,48,68,.09);
}


.maturity-step-b .home-maturity-dot {
  box-shadow:
    inset 0 -4px 0 var(--turquoise),
    0 10px 24px rgba(23,48,68,.09);
}


.maturity-step-c .home-maturity-dot {
  box-shadow:
    inset 0 -4px 0 var(--orange),
    0 10px 24px rgba(23,48,68,.09);
}


/* =========================================================
   TESTI STEP
   ========================================================= */

.home-maturity-step-content {
  padding-top: .25rem;
}


.home-maturity-step-label {
  display: block;

  margin-bottom: .35rem;

  color: var(--blue);

  font-size: .68rem;

  font-weight: 900;

  letter-spacing: .14em;
}


.maturity-step-c
.home-maturity-step-label {
  color: #d97812;
}


.home-maturity-step h3 {
  margin: 0 0 .45rem;

  color: #173044;

  font-size: 1.28rem;

  line-height: 1.2;

  letter-spacing: -.02em;
}


.home-maturity-step p {
  max-width: 500px;

  margin: 0;

  color: #61717c;

  font-size: .95rem;

  line-height: 1.55;
}


/* =========================================================
   ARRIVO
   ========================================================= */

.home-maturity-finish {
  position: relative;

  display: grid;

  grid-template-columns:
    56px
    1fr;

  gap: 1.2rem;

  align-items: center;

  margin-top: .4rem;

  padding:
    1.1rem
    1.4rem
    1.1rem
    .4rem;

  border-radius: 20px;

  background:
    linear-gradient(
      135deg,
      rgba(62,223,218,.13),
      rgba(16,190,243,.08),
      rgba(255,160,58,.08)
    );

  border:
    1px solid rgba(16,162,247,.12);
}


.home-maturity-finish-icon {
  position: relative;

  z-index: 2;

  display: grid;

  place-items: center;

  width: 54px;
  height: 54px;

  border-radius: 50%;

  color: #fff;

  font-size: 1.25rem;

  font-weight: 900;

  background:
    linear-gradient(
      135deg,
      var(--blue),
      var(--turquoise)
    );

  box-shadow:
    0 10px 25px rgba(16,162,247,.20);
}


.home-maturity-finish span {
  display: block;

  margin-bottom: .2rem;

  color: #d97812;

  font-size: .68rem;

  font-weight: 900;

  letter-spacing: .14em;
}


.home-maturity-finish strong {
  display: block;

  color: #173044;

  font-size: 1.05rem;

  line-height: 1.3;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .home-maturity-wrap {
    grid-template-columns: 1fr;

    gap: 3.5rem;
  }


  .home-maturity-copy {
    max-width: 760px;
  }


  .home-maturity-path {
    max-width: 760px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {

  .home-maturity {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
  }


  .home-maturity-copy h2 {
    font-size:
      clamp(2.8rem,13vw,4rem);
  }


  .home-maturity-actions {
    flex-direction: column;

    align-items: stretch;
  }


  .home-maturity-actions .btn {
    width: 100%;
  }


  .home-maturity-path {
    padding-left: 0;
  }


  .home-maturity-path-line {
    left: 24px;
  }


  .home-maturity-step,
  .home-maturity-finish {
    grid-template-columns:
      50px
      1fr;

    gap: 1rem;

    padding-right: .5rem;
  }


  .home-maturity-dot,
  .home-maturity-finish-icon {
    width: 48px;
    height: 48px;
  }


  .home-maturity-step:hover {
    transform: none;
  }

}

/* =========================================================
   HOME — DAL MONDO π-FACTOR
   ========================================================= */

.home-editorial {
  position: relative;
  overflow: hidden;

  padding: 4.3rem 0 !important;

  background:
    radial-gradient(
      circle at 8% 18%,
      rgba(16, 190, 243, .10),
      transparent 28%
    ),
    radial-gradient(
      circle at 93% 82%,
      rgba(255, 160, 58, .11),
      transparent 27%
    ),
    linear-gradient(
      135deg,
      #f8fdff 0%,
      #ffffff 52%,
      #fff9f2 100%
    );
}


.home-editorial::before {
  content: "";

  position: absolute;

  left: -220px;
  bottom: -270px;

  width: 400px;
  height: 400px;

  border-radius: 50%;

  background:
    rgba(62, 223, 218, .07);

  pointer-events: none;
}


.home-editorial::after {
  content: "";

  position: absolute;

  right: -150px;
  top: 60px;

  width: 280px;
  height: 280px;

  border-radius: 50%;

  border:
    44px solid
    rgba(255, 160, 58, .07);

  pointer-events: none;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.home-contents > .container {
  position: relative;
  z-index: 1;
}


/* =========================================================
   TESTATA
   ========================================================= */

.home-contents-header {
  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(320px, .75fr);

  gap:
    clamp(
      2.5rem,
      6vw,
      6rem
    );

  align-items: end;

  margin-bottom: 2.5rem;
}


.home-contents-heading h2 {
  max-width: 760px;

  margin: .55rem 0 0;

  color: #173044;

  font-size:
    clamp(
      3rem,
      4.6vw,
      4.7rem
    );

  line-height: .98;

  letter-spacing: -.055em;
}


.home-contents-intro {
  max-width: 580px;
}


.home-contents-intro p {
  margin: 0 0 .8rem;

  color: #536673;

  font-size:
    clamp(
      1rem,
      1.2vw,
      1.08rem
    );

  line-height: 1.65;
}


.home-contents-all {
  display: inline-flex;

  align-items: center;

  gap: .6rem;

  margin-top: .2rem;

  color: #173044;

  font-weight: 850;

  text-decoration: none;
}


.home-contents-all span {
  color: var(--orange);

  transition:
    transform .2s ease;
}


.home-contents-all:hover span {
  transform:
    translateX(4px);
}


/* =========================================================
   GRIGLIA
   ========================================================= */

.home-contents-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 1.3rem;
}


/* =========================================================
   CARD
   ========================================================= */

.home-content-card {
  position: relative;

  display: grid;

  grid-template-columns:
    minmax(210px, .72fr)
    minmax(0, 1.28fr);

  min-width: 0;

  overflow: hidden;

  border:
    1px solid
    rgba(23, 48, 68, .08);

  border-radius: 26px;

  background: #fff;

  box-shadow:
    0 18px 44px
    rgba(23, 48, 68, .085);

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}


.home-content-card:hover {
  transform:
    translateY(-4px);

  box-shadow:
    0 25px 54px
    rgba(23, 48, 68, .12);
}


/* =========================================================
   CARD PRINCIPALE
   ========================================================= */

.home-content-card-main {
  grid-column: 1 / -1;

  grid-template-columns:
    minmax(260px, .56fr)
    minmax(0, 1.44fr);

  min-height: 0;
}


.home-content-card-main::before {
  content: "";

  position: absolute;

  z-index: 4;

  left: 0;
  top: 0;

  width: 8px;
  height: 100%;

  background:
    linear-gradient(
      180deg,
      var(--blue),
      var(--orange)
    );
}


/* =========================================================
   IMMAGINE
   ========================================================= */

.home-content-image {
  display: flex;

  align-items: center;
  justify-content: center;

  min-width: 0;
  min-height: 0;

  padding: 18px;

  background:
    linear-gradient(
      135deg,
      rgba(16, 190, 243, .08),
      #ffffff 50%,
      rgba(255, 160, 58, .07)
    );

  text-decoration: none;
}


.home-content-image img {
  display: block;

  width: auto;
  height: auto;

  max-width: 100%;
  max-height: 300px;

  object-fit: contain;

  border-radius: 15px;

  transition:
    transform .3s ease;
}


.home-content-card-main
.home-content-image {
  min-height: 305px;

  padding: 22px;
}


.home-content-card-main
.home-content-image img {
  max-width: 100%;
  max-height: 310px;
}


.home-content-card:hover
.home-content-image img {
  transform:
    scale(1.02);
}


/* =========================================================
   CORPO
   ========================================================= */

.home-content-body {
  display: flex;

  flex-direction: column;

  min-width: 0;

  padding:
    1.8rem
    2rem;
}


.home-content-card-main
.home-content-body {
  justify-content: center;

  padding:
    clamp(
      2rem,
      3vw,
      3rem
    );
}


/* =========================================================
   RUBRICA + EVIDENZA
   ========================================================= */

.home-content-top {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 1rem;

  margin-bottom: .8rem;
}


.home-content-kicker {
  margin: 0;

  color: var(--orange);

  font-size: .76rem;

  font-weight: 900;

  letter-spacing: .12em;

  text-transform: uppercase;
}


.home-content-featured {
  display: inline-flex;

  align-items: center;

  flex: 0 0 auto;

  padding:
    .4rem
    .75rem;

  border-radius: 999px;

  background:
    rgba(255, 160, 58, .14);

  color: #b85c05;

  font-size: .68rem;

  font-weight: 850;

  letter-spacing: .05em;

  text-transform: uppercase;
}


/* =========================================================
   TITOLO
   ========================================================= */

.home-content-card h3 {
  margin:
    0
    0
    .85rem;

  color: #173044;

  font-size:
    clamp(
      1.4rem,
      2vw,
      1.9rem
    );

  line-height: 1.12;

  letter-spacing: -.03em;
}


.home-content-card-main h3 {
  max-width: 760px;

  font-size:
    clamp(
      1.9rem,
      2.8vw,
      2.8rem
    );

  line-height: 1.06;
}


.home-content-card h3 a {
  color: inherit;

  text-decoration: none;

  transition:
    color .2s ease;
}


.home-content-card h3 a:hover {
  color: var(--blue);
}


/* =========================================================
   ESTRATTO
   ========================================================= */

.home-content-excerpt {
  margin:
    0
    0
    1.1rem;

  color: #536673;

  font-size: .96rem;

  line-height: 1.6;
}


.home-content-card-main
.home-content-excerpt {
  max-width: 760px;

  font-size:
    clamp(
      .98rem,
      1.15vw,
      1.06rem
    );
}


/* =========================================================
   META
   ========================================================= */

.home-content-meta {
  display: flex;

  flex-wrap: wrap;

  gap: .5rem;

  margin-top: .1rem;
  margin-bottom: 1.15rem;
}


.home-content-meta span {
  display: inline-flex;

  align-items: center;

  padding:
    .4rem
    .7rem;

  border-radius: 999px;

  background:
    rgba(16, 190, 243, .11);

  color: #087fa7;

  font-size: .72rem;

  font-weight: 800;
}


.home-content-meta span:nth-child(even) {
  background:
    rgba(255, 160, 58, .14);

  color: #b45c08;
}


/* =========================================================
   LINK CARD
   ========================================================= */

.home-content-link {
  display: inline-flex;

  align-items: center;

  gap: .6rem;

  width: fit-content;

  color: #173044;

  font-weight: 850;

  text-decoration: none;
}


.home-content-link span {
  color: var(--orange);

  transition:
    transform .2s ease;
}


.home-content-link:hover {
  color: var(--blue);
}


.home-content-link:hover span {
  transform:
    translateX(4px);
}


/* =========================================================
   FOOTER
   ========================================================= */

.home-contents-footer {
  display: flex;

  justify-content: flex-end;

  margin-top: 1.7rem;

  padding-top: 1.5rem;

  border-top:
    1px solid
    rgba(23, 48, 68, .10);
}


.home-contents-footer .btn {
  display: inline-flex;

  align-items: center;

  gap: .55rem;
}
/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .home-contents-header {
    grid-template-columns: 1fr;

    gap: 2rem;
  }


  .home-contents-intro {
    max-width: 760px;
  }


  .home-contents-grid {
    grid-template-columns: 1fr;
  }


  .home-content-card,
  .home-content-card-main {
    grid-column: auto;

    grid-template-columns:
      minmax(230px, .75fr)
      minmax(0, 1.25fr);
  }


  .home-content-card-main
  .home-content-image {
    min-height: 340px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {

  .home-editorial {
    padding: 4.5rem 0 !important;
  }


  .home-contents-heading h2 {
    font-size:
      clamp(
        2.7rem,
        12vw,
        4rem
      );
  }


  .home-content-card,
  .home-content-card-main {
    display: flex;

    flex-direction: column;

    min-height: 0;
  }


  .home-content-image,
  .home-content-card-main
  .home-content-image {
    min-height: 0;

    padding: 18px;
  }


  .home-content-image img,
  .home-content-card-main
  .home-content-image img {
    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 430px;

    object-fit: contain;
  }


  .home-content-body,
  .home-content-card-main
  .home-content-body {
    padding:
      1.7rem
      1.5rem
      1.9rem;
  }


  .home-content-card-main h3 {
    font-size:
      clamp(
        1.7rem,
        8vw,
        2.4rem
      );
  }


  .home-contents-footer {
    align-items: flex-start;

    flex-direction: column;
  }

}


/* =========================================================
   MOBILE PICCOLO
   ========================================================= */

@media (max-width: 480px) {

  .home-content-top {
    align-items: flex-start;

    flex-direction: column;
  }


  .home-contents-footer-copy {
    align-items: flex-start;
  }

}

/* =========================================================
   HOME — CORSI ESTIVI
   ========================================================= */

.home-summer {
  position: relative;
  overflow: hidden;

  padding-top: 5.5rem !important;
  padding-bottom: 5.5rem !important;

  background:
    radial-gradient(
      circle at 92% 10%,
      rgba(62,223,218,.13),
      transparent 24%
    ),
    radial-gradient(
      circle at 5% 92%,
      rgba(255,160,58,.08),
      transparent 24%
    ),
    var(--gray);
}


/* =========================================================
   TESTATA
   ========================================================= */

.home-summer-heading {
  position: relative;

  display: flex;

  justify-content: space-between;
  align-items: flex-end;

  gap: 3rem;

  margin-bottom: 3.2rem;
}


.home-summer-heading-copy {
  max-width: 850px;
}


.home-summer-heading h2 {
  margin: 0;

  color: #173044;

  font-size:
    clamp(2.8rem,4.5vw,4.6rem);

  line-height: .98;

  letter-spacing: -.045em;
}


.home-summer-heading-copy > p:last-child {
  max-width: 680px;

  margin: 1.25rem 0 0;

  color: #61717c;

  font-size: 1.08rem;

  line-height: 1.65;
}


.home-summer-mascot {
  display: block;

  width: min(155px,16vw);
  height: auto;

  flex: 0 0 auto;

  transform: rotate(3deg);

  filter:
    drop-shadow(
      0 12px 16px
      rgba(23,48,68,.10)
    );
}


/* =========================================================
   FLIP GRID
   ========================================================= */

.summer-flip-grid {
  display: grid;

  grid-template-columns:
    repeat(3,minmax(0,1fr));

  gap: 1.25rem;
}


.summer-flip {
  min-height: 410px;

  perspective: 1400px;

  transition:
    transform .3s ease;
}


.summer-flip:hover {
  transform: translateY(-7px);
}


.summer-flip-inner {
  position: relative;

  width: 100%;
  height: 100%;

  min-height: 410px;

  transform-style: preserve-3d;

  transition:
    transform .7s
    cubic-bezier(.2,.75,.2,1);
}


.summer-flip:hover
.summer-flip-inner,
.summer-flip:focus-within
.summer-flip-inner {
  transform: rotateY(180deg);
}


/* =========================================================
   FACCE
   ========================================================= */

.summer-flip-face {
  position: absolute;

  inset: 0;

  overflow: hidden;

  display: flex;
  flex-direction: column;

  padding: 2rem;

  border-radius: 24px;

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;

  border:
    1px solid rgba(23,48,68,.07);

  box-shadow:
    0 18px 42px rgba(23,48,68,.09);
}


/* =========================================================
   FRONTE
   ========================================================= */

.summer-flip-front {
  background: #fff;
}


.summer-flip-front::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 6px;
}


.summer-flip-a
.summer-flip-front::before {
  background: var(--aqua);
}


.summer-flip-b
.summer-flip-front::before {
  background: var(--turquoise);
}


.summer-flip-c
.summer-flip-front::before {
  background: var(--orange);
}


/* mese */

.summer-month {
  align-self: flex-start;

  padding:
    .5rem
    .7rem;

  border-radius: 10px;

  color: #173044;

  font-size: .74rem;

  font-weight: 900;

  letter-spacing: .11em;

  background:
    rgba(245,244,242,.90);
}


.summer-flip-a
.summer-month {
  background:
    rgba(62,223,218,.16);
}


.summer-flip-b
.summer-month {
  background:
    rgba(16,190,243,.14);
}


.summer-flip-c
.summer-month {
  background:
    rgba(255,160,58,.16);
}


/* numero */

.summer-index {
  display: block;

  margin-top: 2.2rem;

  color: #173044;

  font-size: .78rem;

  font-weight: 900;

  letter-spacing: .1em;

  opacity: .42;
}


/* testo */

.summer-front-copy h3 {
  margin:
    .65rem
    0
    .9rem;

  color: #173044;

  font-size:
    clamp(1.45rem,2vw,1.75rem);

  line-height: 1.15;

  letter-spacing: -.025em;
}


.summer-front-copy p {
  margin: 0;

  color: #61717c;

  font-size: 1rem;

  line-height: 1.65;
}


.summer-flip-hint {
  margin-top: auto;

  padding-top: 1.5rem;

  color: var(--blue);

  font-size: .84rem;

  font-weight: 850;
}


/* =========================================================
   RETRO
   ========================================================= */

.summer-flip-back {
  transform: rotateY(180deg);

  color: #173044;
}


.summer-flip-a
.summer-flip-back {
  background:
    linear-gradient(
      145deg,
      #dffbf9,
      #aef5f1
    );
}


.summer-flip-b
.summer-flip-back {
  background:
    linear-gradient(
      145deg,
      #e0f8ff,
      #afefff
    );
}


.summer-flip-c
.summer-flip-back {
  background:
    linear-gradient(
      145deg,
      #fff1df,
      #ffd4a5
    );
}


.summer-back-label {
  color: #173044;

  font-size: .7rem;

  font-weight: 900;

  letter-spacing: .12em;

  opacity: .65;
}


.summer-flip-back h3 {
  margin:
    .65rem
    0
    1.1rem;

  color: #173044;

  font-size: 1.4rem;

  line-height: 1.2;
}


.summer-flip-back ul {
  margin: 0;

  padding-left: 1.15rem;

  color: #354e5e;

  font-size: .9rem;

  line-height: 1.45;
}


.summer-flip-back li + li {
  margin-top: .35rem;
}


/* =========================================================
   PREZZO
   ========================================================= */

.summer-price {
  margin-top: auto;

  padding-top: 1.2rem;

  border-top:
    1px solid rgba(23,48,68,.13);
}


.summer-price > span {
  display: block;

  margin-bottom: .2rem;

  color: #173044;

  font-size: .64rem;

  font-weight: 900;

  letter-spacing: .12em;

  opacity: .65;
}


.summer-price strong {
  display: block;

  color: #173044;

  font-size: 1.55rem;

  line-height: 1.2;

  letter-spacing: -.025em;
}


.summer-price small {
  display: block;

  margin-top: .35rem;

  color: #354e5e;

  font-size: .78rem;

  line-height: 1.4;

  font-weight: 600;
}


/* =========================================================
   NOTA PREZZI
   ========================================================= */

.home-summer-price-note {
  max-width: 760px;

  margin:
    1.7rem
    auto
    0;

  color: #687a86;

  font-size: .84rem;

  line-height: 1.5;

  text-align: center;
}


/* =========================================================
   CTA CENTRATE
   ========================================================= */

.home-summer-actions {
  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: .8rem;

  margin-top: 1.6rem;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 960px) {

  .summer-flip-grid {
    grid-template-columns: 1fr;
  }


  .summer-flip,
  .summer-flip-inner {
    min-height: 360px;
  }


  .home-summer-heading {
    align-items: center;
  }


  .home-summer-mascot {
    width: 120px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {

  .home-summer {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
  }


  .home-summer-heading {
    align-items: flex-end;

    gap: 1rem;

    margin-bottom: 2.5rem;
  }


  .home-summer-mascot {
    width: 85px;
  }


  .summer-flip {
    min-height: 0;

    transform: none !important;

    perspective: none;
  }


  .summer-flip-inner {
    display: grid;

    min-height: 0;

    transform: none !important;
  }


  .summer-flip:hover
  .summer-flip-inner,
  .summer-flip:focus-within
  .summer-flip-inner {
    transform: none;
  }


  .summer-flip-face {
    position: relative;

    inset: auto;

    min-height: 0;

    padding: 1.6rem;

    backface-visibility: visible;
    -webkit-backface-visibility: visible;
  }


  .summer-flip-back {
    transform: none;

    margin-top: .7rem;
  }


  .summer-flip-hint {
    display: none;
  }


  .summer-price {
    margin-top: 1.5rem;
  }


  .home-summer-actions {
    flex-direction: column;

    align-items: stretch;
  }


  .home-summer-actions .btn {
    width: 100%;
  }

}

/* =========================================================
   HOME — RECENSIONI
   ========================================================= */

.home-reviews {
  position: relative;
  overflow: hidden;

  padding-top: 4.6rem !important;
  padding-bottom: 4.8rem !important;

  background:
    linear-gradient(
      180deg,
      #fff 0%,
      rgba(245,244,242,.55) 100%
    );
}


/* =========================================================
   TESTATA
   ========================================================= */

.home-reviews-heading {
  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 3rem;

  margin-bottom: 2.5rem;
}


.home-reviews-heading > div:first-child {
  max-width: 720px;
}


.home-reviews-heading h2 {
  margin: 0;

  color: #173044;

  font-size:
    clamp(2.4rem, 3.4vw, 3.5rem);

  line-height: 1.03;

  letter-spacing: -.045em;
}


/* =========================================================
   GOOGLE
   ========================================================= */

.home-google-rating {
  display: flex;

  align-items: center;

  gap: .55rem;

  padding:
    .7rem
    .9rem;

  border-radius: 14px;

  background:
    rgba(255,255,255,.78);

  border:
    1px solid rgba(23,48,68,.08);

  box-shadow:
    0 8px 20px rgba(23,48,68,.04);

  white-space: nowrap;

  color: #687a86;

  font-size: .82rem;
}


.home-google-rating .home-google-stars {
  color: var(--orange);

  font-size: .82rem;

  letter-spacing: .03em;
}


.home-google-rating strong {
  color: #173044;

  font-size: .86rem;
}


.home-google-rating > span:last-child {
  padding-left: .55rem;

  border-left:
    1px solid rgba(23,48,68,.13);
}


/* =========================================================
   GRIGLIA
   ========================================================= */

.home-reviews-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0,1fr));

  gap: 1rem;
}


/* =========================================================
   CARD
   ========================================================= */

.home-review {
  position: relative;
  overflow: hidden;

  margin: 0;

  min-height: 270px;

  display: flex;
  flex-direction: column;

  padding:
    1.8rem
    1.8rem
    1.6rem;

  border-radius: 20px;

  background:
    rgba(255,255,255,.90);

  border:
    1px solid rgba(23,48,68,.08);

  box-shadow:
    0 12px 28px rgba(23,48,68,.055);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}


/* piccola linea superiore */

.home-review::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;
  right: 0;

  height: 4px;

  background:
    var(--aqua);
}


.home-review:nth-child(2)::before {
  background:
    var(--turquoise);
}


.home-review:nth-child(3)::before {
  background:
    var(--orange);
}


.home-review:hover {
  transform:
    translateY(-5px);

  border-color:
    rgba(16,162,247,.18);

  box-shadow:
    0 18px 36px rgba(23,48,68,.09);
}


/* =========================================================
   STELLE
   ========================================================= */

.home-review-stars {
  margin-bottom: 1.15rem;

  color: var(--orange);

  font-size: .76rem;

  letter-spacing: .04em;
}


/* =========================================================
   TESTO
   ========================================================= */

.home-review p {
  margin: 0;

  color: #455d6c;

  font-size: .92rem;

  line-height: 1.62;

  font-weight: 470;
}


/* =========================================================
   AUTORE
   ========================================================= */

.home-review footer {
  margin-top: auto;

  padding-top: 1.5rem;
}


.home-review footer strong {
  display: block;

  color: #173044;

  font-size: .86rem;

  font-weight: 850;
}


.home-review footer span {
  display: block;

  margin-top: .15rem;

  color: #82909a;

  font-size: .72rem;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .home-reviews-heading {
    align-items: flex-start;

    flex-direction: column;

    gap: 1.2rem;
  }


  .home-reviews-grid {
    grid-template-columns: 1fr;
  }


  .home-review {
    min-height: 0;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {

  .home-reviews {
    padding-top: 3.8rem !important;
    padding-bottom: 3.8rem !important;
  }


  .home-reviews-heading h2 {
    font-size:
      clamp(2.3rem, 10vw, 3.1rem);
  }


  .home-google-rating {
    width: 100%;

    flex-wrap: wrap;

    white-space: normal;
  }


  .home-review {
    padding:
      1.5rem;

    border-radius: 18px;
  }

}

/* FAQ */
.home-faq { background:linear-gradient(135deg,rgba(16,190,243,.11),rgba(62,223,218,.07),#fff); }
.home-faq-grid { display:grid; grid-template-columns:.72fr 1.28fr; gap:clamp(3rem,8vw,7rem); }
.home-faq-grid > div:first-child > p:last-child { color:#61717c; }
.home-faq-list { background:rgba(255,255,255,.82); border-radius:20px; padding:0 1.5rem; border:1px solid rgba(16,162,247,.14); box-shadow:0 18px 38px rgba(23,48,68,.06); }
.home-faq-list details { border-bottom:1px solid rgba(23,48,68,.10); }
.home-faq-list details:last-child { border-bottom:0; }
.home-faq-list summary { position:relative; padding:1.35rem 2rem 1.35rem 0; color:#173044; font-weight:800; cursor:pointer; list-style:none; }
.home-faq-list summary::-webkit-details-marker { display:none; }
.home-faq-list summary::after { content:"+"; position:absolute; right:.1rem; top:50%; transform:translateY(-50%); color:var(--orange); font-size:1.45rem; }
.home-faq-list details[open] summary::after { content:"−"; }
.home-faq-list details p { margin:-.2rem 0 1.35rem; color:#61717c; }

/* =========================================================
   HOME — FINAL CTA
   ========================================================= */

.home-final-cta {
  position: relative;
  overflow: hidden;

  padding:
    5rem
    0;

  background:
    linear-gradient(
      135deg,
      var(--blue),
      var(--turquoise)
    );
}


.home-final-cta::before,
.home-final-cta::after {
  content: "";

  position: absolute;

  border-radius: 50%;

  background:
    rgba(255,255,255,.11);

  pointer-events: none;
}


.home-final-cta::before {
  width: 260px;
  height: 260px;

  right: -75px;
  top: -90px;
}


.home-final-cta::after {
  width: 190px;
  height: 190px;

  left: -65px;
  bottom: -80px;
}


/* =========================================================
   LAYOUT
   ========================================================= */

.home-final-cta-inner {
  position: relative;

  z-index: 1;

  display: grid;

  grid-template-columns:
    minmax(0,1.05fr)
    minmax(360px,.95fr);

  gap: clamp(3rem,7vw,6rem);

  align-items: center;
}


/* =========================================================
   TESTO
   ========================================================= */

.home-final-cta .home-kicker {
  color:
    rgba(255,255,255,.78);
}


.home-final-cta h2 {
  margin: 0;

  max-width: 760px;

  color: #fff;

  font-size:
    clamp(2.9rem,4.4vw,4.7rem);

  line-height: .98;

  letter-spacing: -.05em;
}


.home-final-cta-inner > div:last-child {
  max-width: 520px;
}


.home-final-cta p {
  margin:
    0
    0
    1.4rem;

  color:
    rgba(255,255,255,.94);

  font-size: 1.08rem;

  line-height: 1.65;

  font-weight: 500;
}


/* =========================================================
   CTA
   ========================================================= */

.home-final-cta .btn.primary {
  min-height: 54px;

  padding:
    .9rem
    1.4rem;

  background: #fff;

  color: #173044;

  border:
    1px solid rgba(255,255,255,.8);

  box-shadow:
    0 12px 26px rgba(23,48,68,.14);

  transition:
    transform .22s ease,
    box-shadow .22s ease;
}


.home-final-cta .btn.primary:hover {
  transform:
    translateY(-3px);

  box-shadow:
    0 17px 32px rgba(23,48,68,.20);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .home-final-cta-inner {
    grid-template-columns: 1fr;

    gap: 2rem;
  }


  .home-final-cta-inner > div:last-child {
    max-width: 620px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {

  .home-final-cta {
    padding:
      4rem
      0;
  }


  .home-final-cta h2 {
    font-size:
      clamp(2.7rem,12vw,4rem);
  }


  .home-final-cta .btn.primary {
    width: 100%;
  }

}

/* =========================================================
   HOME — RESPONSIVE FINALE
   Nessuna regola hero qui:
   la hero è gestita esclusivamente da 08-hero.css
   ========================================================= */

.page-home .section-header h2::after,
.page-home .section-pattern::before,
.page-home .section-pattern::after {
  display: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 960px) {

  .home-faq-grid {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {

  .home-summer-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-summer-actions .btn {
    width: 100%;
  }

}

/* =========================================================
   HOME 2026-27 — PALETTE DEFINITIVA PIÙ CALDA
   Arancione protagonista, blu strutturale, aqua come accento.
   ========================================================= */

/* CTA: l'arancione identifica l'azione principale */
.page-home .btn.primary {
  color: #173044;
  background: linear-gradient(135deg, #ff8a1f, var(--orange));
  box-shadow: 0 11px 26px rgba(255,138,31,.25);
}
.page-home .btn.primary:hover {
  box-shadow: 0 16px 34px rgba(255,138,31,.34);
}
.page-home .btn.secondary {
  border-color: rgba(255,160,58,.42);
}
.page-home .btn.secondary:hover {
  border-color: var(--orange);
  background: #fff9f2;
}

/* Kicker: firma cromatica costante */
.page-home .home-kicker { color: #e87712; }
.page-home .kicker-light { color: #fff; }

/* PERCORSI — caldo / blu / caldo-scientifico */
.page-home .flip-card-a .flip-card-front {
  background: linear-gradient(145deg, rgba(255,255,255,.99), rgba(255,160,58,.17));
}
.page-home .flip-card-a .flip-card-front::after { background: var(--orange); }
.page-home .flip-card-a .service-index { color: #d86b0b; }
.page-home .flip-card-a .flip-card-back {
  background: linear-gradient(145deg, #fff0df, #ffc47f);
}

.page-home .flip-card-b .flip-card-front {
  background: linear-gradient(145deg, rgba(255,255,255,.99), rgba(16,162,247,.13));
}
.page-home .flip-card-b .flip-card-front::after { background: var(--blue); }
.page-home .flip-card-b .service-index { color: var(--blue); }
.page-home .flip-card-b .flip-card-back {
  background: linear-gradient(145deg, #e6f5ff, #9fdcff);
}

.page-home .flip-card-c .flip-card-front {
  background:
    radial-gradient(circle at 92% 8%, rgba(62,223,218,.13), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,.99), rgba(255,160,58,.19));
}
.page-home .flip-card-c .flip-card-front::after { background: var(--orange); }
.page-home .flip-card-c .service-index { color: #d86b0b; }
.page-home .flip-card-c .flip-card-back {
  background: linear-gradient(145deg, #fff1df, #ffbd73);
}

/* MATURITÀ — meno turchese, più arancione nei punti di avanzamento */
.page-home .home-maturity {
  background:
    radial-gradient(circle at 95% 5%, rgba(255,160,58,.15), transparent 29%),
    radial-gradient(circle at 3% 95%, rgba(16,162,247,.055), transparent 24%),
    #fff;
}
.page-home .home-maturity::before { border-color: rgba(255,160,58,.07); }
.page-home .home-maturity-path-line {
  background: linear-gradient(180deg, var(--blue), var(--orange), #ff8a1f);
}
.page-home .maturity-step-a .home-maturity-dot {
  box-shadow: inset 0 -4px 0 var(--blue), 0 10px 24px rgba(23,48,68,.09);
}
.page-home .maturity-step-b .home-maturity-dot,
.page-home .maturity-step-c .home-maturity-dot {
  box-shadow: inset 0 -4px 0 var(--orange), 0 10px 24px rgba(23,48,68,.09);
}
.page-home .home-maturity-step-label { color: #d97812; }
.page-home .home-maturity-finish {
  background: linear-gradient(135deg, rgba(255,160,58,.17), rgba(255,138,31,.09), rgba(16,162,247,.055));
  border-color: rgba(255,160,58,.20);
}
.page-home .home-maturity-finish-icon {
  background: linear-gradient(135deg, #ff8a1f, var(--orange));
  box-shadow: 0 10px 25px rgba(255,138,31,.23);
}

/* ANNO SCOLASTICO — la fascia più calda della home */
.page-home .home-season {
  background:
    radial-gradient(circle at 88% 7%, rgba(255,160,58,.24), transparent 28%),
    radial-gradient(circle at 5% 94%, rgba(16,162,247,.055), transparent 23%),
    linear-gradient(135deg, #fffaf4 0%, #f8f6f2 45%, #fff0df 100%);
}
.page-home .home-season .home-kicker { color: #d86b0b; }
.page-home .home-season .summer-flip-a .summer-flip-front::before { background: var(--blue); }
.page-home .home-season .summer-flip-b .summer-flip-front::before,
.page-home .home-season .summer-flip-c .summer-flip-front::before { background: var(--orange); }
.page-home .home-season .summer-flip-a .summer-month {
  background: rgba(16,162,247,.11); color: #0875b5;
}
.page-home .home-season .summer-flip-b .summer-month,
.page-home .home-season .summer-flip-c .summer-month {
  background: rgba(255,160,58,.18); color: #8a4610;
}
.page-home .home-season .summer-flip-a .summer-index { color: var(--blue); opacity: .8; }
.page-home .home-season .summer-flip-b .summer-index,
.page-home .home-season .summer-flip-c .summer-index { color: #dc710e; opacity: .85; }
.page-home .home-season .summer-flip-a .summer-flip-back {
  background: linear-gradient(145deg, #edf8ff, #cceaff);
}
.page-home .home-season .summer-flip-b .summer-flip-back {
  background: linear-gradient(145deg, #fff5e9, #ffd09c);
}
.page-home .home-season .summer-flip-c .summer-flip-back {
  background:
    radial-gradient(circle at 90% 10%, rgba(62,223,218,.16), transparent 28%),
    linear-gradient(145deg, #fff0dc, #ffbb70);
}
.page-home .home-season .summer-flip-b .summer-flip-hint,
.page-home .home-season .summer-flip-c .summer-flip-hint { color: #d86b0b; }
.page-home .home-season .home-summer-actions .btn.primary {
  background: linear-gradient(135deg, #ff8217, var(--orange));
}
.page-home .home-season .home-summer-actions .btn.secondary {
  color: #b95808; border-color: var(--orange); background: rgba(255,255,255,.78);
}

/* PUBBLICAZIONI — alternanza visibile come nella pagina Contenuti */
.page-home .home-contents {
  background:
    radial-gradient(circle at 4% 12%, rgba(255,160,58,.12), transparent 27%),
    radial-gradient(circle at 94% 88%, rgba(16,162,247,.06), transparent 27%),
    linear-gradient(135deg, #fff 0%, #fff9f2 56%, #f7fbff 100%);
}
.page-home .home-contents .home-kicker { color: #d86b0b; }
.page-home .home-contents-carousel { position: relative; }
.page-home .home-contents-controls { display:flex; justify-content:flex-end; gap:.65rem; margin:0 0 1rem; }
.page-home .home-contents-arrow {
  display:inline-flex; align-items:center; justify-content:center; width:46px; height:46px;
  border:1px solid rgba(255,160,58,.34); border-radius:50%; background:#fff9f2;
  color:#b95808; font-size:1.15rem; font-weight:900; cursor:pointer;
  box-shadow:0 8px 22px rgba(23,48,68,.07);
  transition:transform .2s ease,border-color .2s ease,background .2s ease;
}
.page-home .home-contents-arrow:hover { transform:translateY(-2px); border-color:var(--orange); background:#fff2e4; }
.page-home .home-contents-grid {
  display:flex; gap:1.35rem; overflow-x:auto; overflow-y:hidden; padding:.35rem .1rem 1.25rem;
  scroll-snap-type:x mandatory; scroll-behavior:smooth; scrollbar-width:none; -ms-overflow-style:none;
}
.page-home .home-contents-grid::-webkit-scrollbar { display:none; }
.page-home .home-content-card,
.page-home .home-content-card-main {
  flex:0 0 min(410px,82vw); grid-column:auto; display:flex; flex-direction:column; min-height:100%;
  scroll-snap-align:start; border-top:5px solid var(--orange);
}
.page-home .home-content-card:nth-child(3n + 2) { border-top-color:var(--blue); }
.page-home .home-content-card:nth-child(3n + 3) { border-top-color:#ff8a1f; }
.page-home .home-content-card::before,
.page-home .home-content-card-main::before { display:none; }
.page-home .home-content-image,
.page-home .home-content-card-main .home-content-image {
  min-height:265px; padding:18px; background:linear-gradient(135deg,#fff1e2 0%,#fff 50%,#edf8ff 100%);
}
.page-home .home-content-card:nth-child(3n + 2) .home-content-image {
  background:linear-gradient(135deg,#edf8ff 0%,#fff 52%,#fff5e9 100%);
}
.page-home .home-content-card-main .home-content-body,
.page-home .home-content-body { justify-content:flex-start; padding:1.65rem 1.75rem 1.8rem; }
.page-home .home-content-kicker { color:#d86b0b; }

/* RECENSIONI E FAQ: neutre, con dettagli caldi per far respirare la pagina */
.page-home .home-google-stars,
.page-home .home-review-stars { color:#f28a22; }
.page-home .home-faq summary:hover { color:#d86b0b; }

/* CTA FINALE: blu strutturale + azione arancione */
.page-home .home-final-cta .btn.primary {
  background:linear-gradient(135deg,#ff8217,var(--orange));
  box-shadow:0 12px 28px rgba(255,138,31,.27);
}

/* =========================================================
   FIX 2026-09-07 — METODO + CAROSELLO CONTENUTI
   ========================================================= */

/* METODO: contrasto più alto, meno azzurro, arancione di brand */
.page-home .home-method {
  background:
    radial-gradient(circle at 10% 12%, rgba(255,160,58,.20), transparent 27%),
    radial-gradient(circle at 88% 84%, rgba(62,223,218,.12), transparent 30%),
    linear-gradient(135deg, #102a3e 0%, #173f5b 58%, #0f5270 100%);
}
.page-home .home-method::after {
  width: 460px;
  height: 460px;
  left: 34%;
  bottom: -340px;
  background: rgba(255,160,58,.28);
  filter: blur(62px);
}
.page-home .home-method .home-kicker {
  color: #FFA03A;
  text-shadow: none;
}
.page-home .home-method h2,
.page-home .home-method-intro p,
.page-home .home-method-link {
  color: #fff;
}
.page-home .home-method-link {
  border-bottom-color: rgba(255,160,58,.72);
}
.page-home .home-method-step {
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(248,252,255,.90));
  border-color: rgba(255,255,255,.82);
  box-shadow: 0 18px 42px rgba(4,23,36,.22), inset 0 1px 0 rgba(255,255,255,.92);
}
.page-home .home-method-step:hover {
  background: #fff;
  box-shadow: 0 28px 55px rgba(4,23,36,.28), inset 0 1px 0 #fff;
}
.page-home .home-method-arrow { color: rgba(255,160,58,.88); }
.page-home .method-a .home-method-number { box-shadow: inset 0 -4px 0 var(--orange), 0 8px 20px rgba(23,48,68,.08); }
.page-home .method-b .home-method-number { box-shadow: inset 0 -4px 0 var(--blue), 0 8px 20px rgba(23,48,68,.08); }
.page-home .method-c .home-method-number { box-shadow: inset 0 -4px 0 var(--orange), 0 8px 20px rgba(23,48,68,.08); }

/* CONTENUTI: vero carosello, 3 card visibili su desktop */
.page-home .home-contents {
  padding-top: 5.25rem !important;
  padding-bottom: 5.25rem !important;
}
.page-home .home-contents-header {
  margin-bottom: 2.25rem;
}
.page-home .home-contents-controls {
  margin: 0 0 1rem auto;
}
.page-home .home-contents-grid {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 1.25rem !important;
  width: 100%;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: .35rem .15rem 1.2rem !important;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: .15rem;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.page-home .home-contents-grid::-webkit-scrollbar { display: none; }
.page-home .home-content-card,
.page-home .home-content-card-main {
  flex: 0 0 calc((100% - 2.5rem) / 3) !important;
  width: calc((100% - 2.5rem) / 3) !important;
  min-width: 0 !important;
  max-width: none !important;
  grid-column: auto !important;
  grid-template-columns: 1fr !important;
  display: flex !important;
  flex-direction: column !important;
  scroll-snap-align: start;
  border-radius: 24px;
  border-top: 5px solid var(--orange);
  overflow: hidden;
}
.page-home .home-content-card:nth-child(3n + 2) { border-top-color: var(--blue); }
.page-home .home-content-card:nth-child(3n + 3) { border-top-color: var(--aqua); }
.page-home .home-content-card-main::before,
.page-home .home-content-card::before { display: none !important; }
.page-home .home-content-image,
.page-home .home-content-card-main .home-content-image {
  width: 100%;
  min-height: 235px !important;
  height: 235px;
  padding: 16px !important;
  flex: 0 0 235px;
}
.page-home .home-content-image img,
.page-home .home-content-card-main .home-content-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.page-home .home-content-body,
.page-home .home-content-card-main .home-content-body {
  padding: 1.45rem 1.5rem 1.6rem !important;
  flex: 1 1 auto;
}
.page-home .home-content-title,
.page-home .home-content-card-main .home-content-title {
  font-size: clamp(1.35rem, 1.55vw, 1.7rem) !important;
  line-height: 1.12 !important;
}
.page-home .home-contents-footer {
  margin-top: 1.2rem !important;
}

@media (max-width: 1050px) {
  .page-home .home-content-card,
  .page-home .home-content-card-main {
    flex-basis: calc((100% - 1.25rem) / 2) !important;
    width: calc((100% - 1.25rem) / 2) !important;
  }
}

@media (max-width: 680px) {
  .page-home .home-method {
    background:
      radial-gradient(circle at 12% 8%, rgba(255,160,58,.18), transparent 26%),
      linear-gradient(155deg, #102a3e 0%, #173f5b 70%, #0f5270 100%);
  }
  .page-home .home-content-card,
  .page-home .home-content-card-main {
    flex-basis: 86% !important;
    width: 86% !important;
  }
  .page-home .home-content-image,
  .page-home .home-content-card-main .home-content-image {
    min-height: 220px !important;
    height: 220px;
    flex-basis: 220px;
  }
}


/* ==========================================================
   HOME — DAL MONDO π-FACTOR
   Layout copiato dalla pagina Contenuti
   ========================================================== */

.page-home .content-featured {
  position: relative;
  overflow: hidden;
  padding: 76px 0 82px;
  background:
    radial-gradient(
      circle at 8% 18%,
      rgba(0, 159, 227, 0.12),
      transparent 24%
    ),
    radial-gradient(
      circle at 92% 82%,
      rgba(255, 138, 31, 0.13),
      transparent 26%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f8fcff 54%,
      #fffaf5 100%
    );
}


.page-home .content-featured::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  left: -190px;
  top: 20px;
  border-radius: 50%;
  background:
    rgba(0, 159, 227, 0.08);
  pointer-events: none;
}


.page-home .content-featured::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -230px;
  bottom: -180px;
  border-radius: 50%;
  background:
    rgba(255, 138, 31, 0.09);
  pointer-events: none;
}


.page-home .content-featured .container {
  position: relative;
  z-index: 1;
}


/* ==========================================================
   TESTATA
   ========================================================== */

.page-home .content-featured-header {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(280px, 460px);
  gap: 56px;
  align-items: end;
  margin-bottom: 38px;
}


.page-home .content-featured-kicker {
  margin: 0 0 8px;
  color: var(--pf-orange);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}


.page-home .content-featured-header h2 {
  margin: 0;
  color: var(--pf-navy);
  font-size: clamp(
    2rem,
    4vw,
    3.5rem
  );
  line-height: 1;
  letter-spacing: -0.035em;
}


.page-home .content-featured-intro {
  margin: 0;
  color: var(--pf-muted);
  font-size: 1.03rem;
  line-height: 1.7;
}


/* ==========================================================
   GRIGLIA
   ========================================================== */

.page-home .content-featured-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.45fr)
    minmax(300px, 0.75fr);
  gap: 24px;
}


.page-home .content-featured-grid-single {
  grid-template-columns: 1fr;
}


/* ==========================================================
   CARD
   ========================================================== */

.page-home .content-featured-card {
  position: relative;
  overflow: hidden;
  background: var(--pf-white);
  border:
    1px solid
    rgba(16, 42, 67, 0.09);
  border-radius: 30px;
  box-shadow:
    0 18px 55px
    rgba(16, 42, 67, 0.11);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


.page-home .content-featured-card:hover {
  transform:
    translateY(-4px);
  box-shadow:
    0 24px 65px
    rgba(16, 42, 67, 0.15);
}

/* ==========================================================
   CARD PRINCIPALE
   ========================================================== */

.page-home .content-featured-card-main {
  display: grid;
  grid-template-columns:
    minmax(220px, 0.52fr)
    minmax(0, 1.48fr);
  min-height: 410px;
}


.page-home .content-featured-card-main::before {
  content: "";
  position: absolute;
  z-index: 2;
  width: 9px;
  height: 100%;
  left: 0;
  top: 0;
  background:
    linear-gradient(
      180deg,
      var(--pf-blue),
      var(--pf-orange)
    );
}


.page-home .content-featured-card-main
.content-featured-image {
  min-height: 100%;
  padding: 22px;
}


.page-home .content-featured-card-main
.content-featured-image img {
  width: 100%;
  height: 100%;
  max-height: 470px;
  object-fit: contain;
}

/* ==========================================================
   IMMAGINE
   ========================================================== */

.page-home .content-featured-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(
      145deg,
      var(--pf-blue-pale) 0%,
      #ffffff 50%,
      var(--pf-orange-pale) 100%
    );
}


.page-home .content-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: contain;
  transition:
    transform 0.35s ease;
}


.page-home .content-featured-card:hover
.content-featured-image img {
  transform:
    scale(1.018);
}


/* ==========================================================
   TESTO CARD
   ========================================================== */

.page-home .content-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding:
    clamp(30px, 4vw, 58px);
}


.page-home .content-featured-rubrica {
  margin: 0 0 14px;
  color: var(--pf-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}


.page-home .content-featured-body h3 {
  margin: 0;
  color: var(--pf-navy);
  font-size: clamp(
    1.7rem,
    3vw,
    2.65rem
  );
  line-height: 1.08;
  letter-spacing: -0.03em;
}


.page-home .content-featured-body h3 a {
  color: inherit;
  text-decoration: none;
}


.page-home .content-featured-body h3 a:hover {
  color: var(--pf-blue);
}


.page-home .content-featured-excerpt {
  margin: 20px 0 0;
  color: var(--pf-text);
  font-size: 1rem;
  line-height: 1.72;
}


/* ==========================================================
   META
   ========================================================== */

.page-home .content-featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}


.page-home .content-featured-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  background:
    var(--pf-blue-soft);
  color: var(--pf-navy);
  font-size: 0.77rem;
  font-weight: 700;
}


.page-home .content-featured-meta span:nth-child(even) {
  background:
    var(--pf-orange-soft);
}


/* ==========================================================
   LINK
   ========================================================== */

.page-home .content-featured-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-top: 28px;
  color: var(--pf-navy);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}


.page-home .content-featured-link span {
  color: var(--pf-orange);
  font-size: 1.15rem;
  transition:
    transform 0.2s ease;
}


.page-home .content-featured-link:hover span {
  transform:
    translateX(5px);
}


/* ==========================================================
   CARD SECONDARIE
   ========================================================== */

.page-home .content-featured-card-secondary {
  display: grid;
  grid-template-columns:
    minmax(130px, 0.72fr)
    minmax(0, 1.28fr);
  min-height: 218px;
}


.page-home .content-featured-card-secondary
.content-featured-body {
  padding: 26px;
}


.page-home .content-featured-card-secondary
.content-featured-body h3 {
  font-size: clamp(
    1.2rem,
    2vw,
    1.55rem
  );
}


.page-home .content-featured-card-secondary
.content-featured-excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 12px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  font-size: 0.92rem;
}


.page-home .content-featured-card-secondary
.content-featured-meta {
  margin-top: 16px;
}


.page-home .content-featured-card-secondary
.content-featured-link {
  margin-top: 18px;
}


/* ==========================================================
   SE CI SONO 3 CONTENUTI
   ========================================================== */

.page-home .content-featured-grid
.content-featured-card-secondary:nth-child(3) {
  grid-column: 2;
}


/* ==========================================================
   INTESTAZIONE ARCHIVIO
   ========================================================== */

.page-home .content-archive-header {
  margin-bottom: 30px;
}


.page-home .content-archive-kicker {
  margin: 0 0 7px;
  color: var(--pf-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


.page-home .content-archive-header h2 {
  margin: 0;
  color: var(--pf-navy);
  font-size: clamp(
    1.9rem,
    3vw,
    2.7rem
  );
  line-height: 1.08;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (
  max-width: 1020px
) {

  .page-home
  .content-featured-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }


  .page-home
  .content-featured-intro {
    max-width: 650px;
  }


  .page-home
  .content-featured-grid {
    grid-template-columns: 1fr;
  }


  .page-home
  .content-featured-grid
  .content-featured-card-secondary:nth-child(3) {
    grid-column: auto;
  }

}


@media (
  max-width: 760px
) {

  .page-home
  .content-featured {
    padding:
      58px 0 64px;
  }


  .page-home
  .content-featured-card-main {
    grid-template-columns: 1fr;
  }


  .page-home
  .content-featured-card-main
  .content-featured-image {
    min-height: auto;
  }


  .page-home
  .content-featured-image img {
    width: 100%;
    max-height: 500px;
  }


  .page-home
  .content-featured-card-secondary {
    grid-template-columns:
      minmax(120px, 0.8fr)
      minmax(0, 1.2fr);
  }

}


@media (
  max-width: 560px
) {

  .page-home
  .content-featured-card {
    border-radius: 24px;
  }


  .page-home
  .content-featured-card-secondary {
    grid-template-columns: 1fr;
  }


  .page-home
  .content-featured-card-secondary
  .content-featured-image img {
    max-height: 380px;
  }


  .page-home
  .content-featured-body {
    padding: 28px 24px;
  }


  .page-home
  .content-featured-card-secondary
  .content-featured-body {
    padding: 24px;
  }

}
/* ==========================================================
   CONTENUTI — CAROUSEL IN EVIDENZA
   ========================================================== */

.page-home .content-featured-header-side {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}


/* ==========================================================
   CONTROLLI
   ========================================================== */

.page-home .content-featured-controls {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}


.page-home .content-featured-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border:
    1px solid
    rgba(16, 42, 67, 0.12);
  border-radius: 50%;
  background:
    rgba(255, 255, 255, 0.94);
  color: var(--pf-navy);
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow:
    0 8px 22px
    rgba(16, 42, 67, 0.08);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}


.page-home .content-featured-arrow:hover {
  transform:
    translateY(-2px);
  background:
    var(--pf-navy);
  color:
    var(--pf-white);
  border-color:
    var(--pf-navy);
  box-shadow:
    0 12px 28px
    rgba(16, 42, 67, 0.14);
}


.page-home .content-featured-arrow:focus-visible {
  outline:
    3px solid
    rgba(0, 159, 227, 0.28);
  outline-offset: 3px;
}


/* ==========================================================
   VIEWPORT
   ========================================================== */

.page-home .content-featured-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
}


.page-home .content-featured-track {
  position: relative;
  width: 100%;
}


/* ==========================================================
   SLIDE
   ========================================================== */

.page-home .content-featured-slide {
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform:
    translateX(22px);
  transition:
    opacity 0.34s ease,
    transform 0.34s ease,
    visibility 0.34s ease;
}


.page-home .content-featured-slide:not(.is-active) {
  position: absolute;
  inset: 0;
}


.page-home .content-featured-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform:
    translateX(0);
}


/* ==========================================================
   CARD CAROUSEL
   ========================================================== */

.page-home .content-featured-slide
.content-featured-card-main {
  width: 100%;
}


/* ==========================================================
   PALLINI
   ========================================================== */

.page-home .content-featured-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 24px;
}


.page-home .content-featured-dot {
  position: relative;
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background:
    rgba(16, 42, 67, 0.18);
  cursor: pointer;
  transition:
    width 0.22s ease,
    background 0.22s ease,
    transform 0.22s ease;
}


.page-home .content-featured-dot:hover {
  transform:
    scale(1.15);
  background:
    rgba(0, 159, 227, 0.45);
}


.page-home .content-featured-dot.is-active {
  width: 30px;
  background:
    linear-gradient(
      90deg,
      var(--pf-blue),
      var(--pf-orange)
    );
}


.page-home .content-featured-dot:focus-visible {
  outline:
    3px solid
    rgba(0, 159, 227, 0.28);
  outline-offset: 3px;
}


/* ==========================================================
   ACCESSIBILITÀ
   ========================================================== */

.page-home .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* ==========================================================
   TOUCH
   ========================================================== */

.page-home [data-featured-carousel] {
  touch-action:
    pan-y;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (
  max-width: 1020px
) {

  .page-home
  .content-featured-header-side {
    align-items: center;
  }

}


@media (
  max-width: 760px
) {

  .page-home
  .content-featured-header-side {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }


  .page-home
  .content-featured-controls {
    align-self: flex-start;
  }


  .page-home
  .content-featured-arrow {
    width: 42px;
    height: 42px;
  }

}


@media (
  prefers-reduced-motion: reduce
) {

  .page-home
  .content-featured-slide,
  .page-home
  .content-featured-arrow,
  .page-home
  .content-featured-dot {
    transition: none;
  }

}

.page-home .content-featured.home-editorial .home-contents-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}

.page-home .content-featured.home-editorial {
  overflow: hidden;
}

@media (max-width: 560px) {
  .page-home .content-featured.home-editorial .home-contents-footer {
    justify-content: flex-start;
  }
}


/* ==========================================================
   HOME — DAL MONDO π-FACTOR
   Layout derivato dalla sezione "In evidenza" di /contenuti/
   Compatibile con assets/js/contenuti/home.js originale.
   ========================================================== */

.page-home .home-featured-style {
  position: relative;
  overflow: hidden;
  padding: 76px 0 82px;
  background:
    radial-gradient(circle at 8% 18%, rgba(0, 159, 227, 0.12), transparent 24%),
    radial-gradient(circle at 92% 82%, rgba(255, 138, 31, 0.13), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f8fcff 54%, #fffaf5 100%);
}

.page-home .home-featured-style::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  left: -190px;
  top: 20px;
  border-radius: 50%;
  background: rgba(0, 159, 227, 0.08);
  pointer-events: none;
}

.page-home .home-featured-style::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -230px;
  bottom: -180px;
  border-radius: 50%;
  background: rgba(255, 138, 31, 0.09);
  pointer-events: none;
}

.page-home .home-featured-style .container {
  position: relative;
  z-index: 1;
}

.page-home .home-featured-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 56px;
  align-items: end;
  margin-bottom: 38px;
}

.page-home .home-featured-header .home-kicker {
  margin: 0 0 8px;
  color: var(--pf-orange);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.page-home .home-featured-header h2 {
  margin: 0;
  color: var(--pf-navy);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.page-home .home-featured-header-side {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.page-home .home-featured-header-side .home-contents-intro {
  margin: 0;
  color: var(--pf-muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.page-home .home-featured-controls {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.page-home .home-featured-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(16, 42, 67, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--pf-navy);
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(16, 42, 67, 0.08);
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.page-home .home-featured-arrow:hover {
  transform: translateY(-2px);
  background: var(--pf-navy);
  color: var(--pf-white);
  border-color: var(--pf-navy);
  box-shadow: 0 12px 28px rgba(16, 42, 67, 0.14);
}

.page-home .home-featured-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* Il JS originale inserisce le .home-content-card qui dentro. */
.page-home .home-featured-track.home-contents-grid {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 0 8px;
}

.page-home .home-featured-track.home-contents-grid::-webkit-scrollbar {
  display: none;
}

.page-home .home-featured-track .home-content-card {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(220px, .52fr) minmax(0, 1.48fr) !important;
  flex: 0 0 100%;
  min-width: 100%;
  min-height: 410px;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--pf-white);
  border: 1px solid rgba(16, 42, 67, 0.09);
  border-radius: 30px;
  box-shadow: 0 18px 55px rgba(16, 42, 67, 0.11);
  transition: transform .25s ease, box-shadow .25s ease;
}

.page-home .home-featured-track .home-content-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  width: 9px;
  height: 100%;
  left: 0;
  top: 0;
  background: linear-gradient(180deg, var(--pf-blue), var(--pf-orange));
}

.page-home .home-featured-track .home-content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 65px rgba(16, 42, 67, 0.15);
}

.page-home .home-featured-track .home-content-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 22px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--pf-blue-pale) 0%, #ffffff 50%, var(--pf-orange-pale) 100%);
}

.page-home .home-featured-track .home-content-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 470px;
  object-fit: contain;
  transition: transform .35s ease;
}

.page-home .home-featured-track .home-content-card:hover .home-content-image img {
  transform: scale(1.018);
}

.page-home .home-featured-track .home-content-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 58px);
}

.page-home .home-featured-track .home-content-kicker {
  margin: 0 0 14px;
  color: var(--pf-blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.page-home .home-featured-track .home-content-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.page-home .home-featured-track .home-content-featured {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--pf-orange-pale);
  color: var(--pf-orange-dark, #d86d08);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.page-home .home-featured-track .home-content-body h3 {
  margin: 0;
  color: var(--pf-navy);
  font-size: clamp(1.65rem, 3vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -.03em;
}

.page-home .home-featured-track .home-content-body h3 a {
  color: inherit;
  text-decoration: none;
}

.page-home .home-featured-track .home-content-excerpt {
  margin: 20px 0 0;
  color: var(--pf-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.page-home .home-featured-track .home-content-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.page-home .home-featured-track .home-content-meta span {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: #f2f7fa;
  color: var(--pf-navy);
  font-size: .76rem;
  font-weight: 700;
}

.page-home .home-featured-track .home-content-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 25px;
  color: var(--pf-blue);
  font-weight: 800;
  text-decoration: none;
}

.page-home .home-featured-style .home-contents-footer {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .page-home .home-featured-header {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .page-home .home-featured-header-side {
    align-items: center;
  }
}

@media (max-width: 760px) {
  .page-home .home-featured-style {
    padding: 58px 0 64px;
  }

  .page-home .home-featured-track .home-content-card {
    grid-template-columns: 1fr !important;
    min-height: 0;
  }

  .page-home .home-featured-track .home-content-image {
    min-height: auto;
    padding: 18px;
  }

  .page-home .home-featured-track .home-content-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
  }
}

@media (max-width: 560px) {
  .page-home .home-featured-header-side {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-home .home-featured-controls {
    align-self: flex-end;
  }

  .page-home .home-featured-track .home-content-card {
    border-radius: 24px;
  }

  .page-home .home-featured-track .home-content-body {
    padding: 28px 24px;
  }
}
/* ==========================================================
   FIX DEFINITIVO — DAL MONDO π-FACTOR
   Layout stile pagina CONTENUTI
   ========================================================== */

.page-home .home-contents {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 5rem;
  background:
    radial-gradient(circle at 0% 25%, rgba(16, 190, 243, .12) 0 180px, transparent 181px),
    radial-gradient(circle at 100% 48%, rgba(255, 160, 58, .13) 0 250px, transparent 251px),
    linear-gradient(135deg, #f7fcff 0%, #ffffff 52%, #fffaf5 100%);
}

.page-home .home-contents .container {
  position: relative;
  z-index: 2;
}

/* ---------- TESTATA ---------- */

.page-home .home-contents-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 5rem;
  align-items: end;
  margin-bottom: 3rem;
}

.page-home .home-contents .home-kicker {
  margin: 0 0 1rem;
  color: #1d2733;
}

.page-home .home-contents h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(3rem, 4.8vw, 5.1rem);
  line-height: .98;
  letter-spacing: -.055em;
  color: #1d2733;
}

.page-home .home-contents-intro {
  max-width: 500px;
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #475563;
}

/* ---------- CAROSELLO ---------- */

.page-home .home-contents-carousel {
  position: relative;
  width: 100%;
}

.page-home .home-contents-grid {
  display: flex !important;
  width: 100% !important;
  max-width: none !important;
  gap: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0 !important;
  margin: 0 !important;
}

.page-home .home-contents-grid::-webkit-scrollbar {
  display: none;
}

/* ---------- CARD ---------- */

.page-home .home-content-card,
.page-home .home-content-card.is-featured {
  position: relative;
  flex: 0 0 100% !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;

  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr) !important;
  grid-template-rows: 1fr !important;

  min-height: 430px;
  height: auto !important;

  overflow: hidden;
  scroll-snap-align: start;

  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(29, 39, 51, .10);
  border-top: 0 !important;
  border-radius: 30px;

  box-shadow:
    0 22px 60px rgba(29, 39, 51, .10);

  transform: none !important;
}

/* barra colorata come CONTENUTI */

.page-home .home-content-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 100%;
  z-index: 5;
  background: linear-gradient(
    180deg,
    #10a2f7 0%,
    #3edFDA 48%,
    #ffa03a 100%
  );
}

/* ---------- IMMAGINE ---------- */

.page-home .home-content-card .home-content-image {
  display: block !important;
  position: relative;
  width: 100% !important;
  height: 100% !important;
  min-height: 430px !important;
  overflow: hidden;
  border-radius: 0 !important;
  margin: 0 !important;
}

.page-home .home-content-card .home-content-image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 430px;
  object-fit: cover !important;
  object-position: center;
  margin: 0 !important;
}

/* ---------- TESTO CARD ---------- */

.page-home .home-content-card .home-content-body {
  display: flex !important;
  flex-direction: column;
  justify-content: center;

  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;

  padding: 3.4rem 3.6rem !important;
  margin: 0 !important;
}

.page-home .home-content-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.2rem;
}

.page-home .home-content-kicker {
  margin: 0;
  font-size: .78rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #10a2f7;
}

.page-home .home-content-featured {
  display: inline-flex;
  align-items: center;
  padding: .4rem .7rem;
  border-radius: 999px;
  background: rgba(255, 160, 58, .14);
  color: #c96800;
  font-size: .72rem;
  line-height: 1;
  font-weight: 800;
}

/* questo è fondamentale: annulla la larghezza stretta attuale */

.page-home .home-content-card h3 {
  display: block !important;
  width: 100% !important;
  max-width: 620px !important;

  margin: 0 0 1.2rem !important;

  font-size: clamp(2rem, 3vw, 3.25rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.045em !important;

  word-break: normal !important;
  overflow-wrap: normal !important;
  white-space: normal !important;
}

.page-home .home-content-card h3 a {
  display: inline !important;
  color: #1d2733 !important;
  text-decoration: none !important;

  word-break: normal !important;
  overflow-wrap: normal !important;
}

.page-home .home-content-excerpt {
  width: 100% !important;
  max-width: 540px !important;

  margin: 0 0 1.5rem !important;

  font-size: 1.05rem !important;
  line-height: 1.65 !important;
  color: #596673 !important;

  word-break: normal !important;
  overflow-wrap: normal !important;
}

.page-home .home-content-meta {
  display: flex !important;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 0 0 1.7rem !important;
}

.page-home .home-content-meta span {
  display: inline-flex;
  align-items: center;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: #f1f7fa;
  color: #263542;
  font-size: .78rem;
  line-height: 1;
  font-weight: 700;
}

.page-home .home-content-link {
  display: inline-flex !important;
  align-items: center;
  gap: .6rem;
  align-self: flex-start;

  margin-top: auto;

  color: #1d2733 !important;
  font-weight: 800;
  text-decoration: none !important;
}

.page-home .home-content-link span {
  color: #ffa03a;
}

/* ---------- FRECCE ---------- */

.page-home .home-contents-controls {
  display: flex !important;
  justify-content: flex-end;
  gap: .7rem;
  margin: 1.4rem 0 0;
}

.page-home .home-contents-arrow {
  display: inline-grid !important;
  place-items: center;

  width: 52px;
  height: 52px;

  padding: 0;
  border: 1px solid rgba(29, 39, 51, .12);
  border-radius: 50%;

  background: #fff;
  color: #1d2733;

  font-size: 1.25rem;
  cursor: pointer;

  box-shadow: 0 8px 24px rgba(29, 39, 51, .07);
}

.page-home .home-contents-arrow:hover {
  border-color: #ffa03a;
  transform: translateY(-2px);
}

/* ---------- CTA ---------- */

.page-home .home-contents-footer {
  display: flex;
  justify-content: center;
  margin-top: 2.2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(29, 39, 51, .10);
}

/* ---------- TABLET ---------- */

@media (max-width: 1000px) {

  .page-home .home-contents-head {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .page-home .home-content-card,
  .page-home .home-content-card.is-featured {
    grid-template-columns: 1fr 1fr !important;
  }

  .page-home .home-content-card .home-content-body {
    padding: 2.5rem !important;
  }

  .page-home .home-content-card h3 {
    font-size: clamp(1.8rem, 3.5vw, 2.7rem) !important;
  }
}

/* ---------- MOBILE ---------- */

@media (max-width: 700px) {

  .page-home .home-contents {
    padding: 4rem 0;
  }

  .page-home .home-contents h2 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .page-home .home-content-card,
  .page-home .home-content-card.is-featured {
    display: flex !important;
    flex-direction: column;
    min-height: 0;
    border-radius: 24px;
  }

  .page-home .home-content-card .home-content-image {
    height: 240px !important;
    min-height: 240px !important;
  }

  .page-home .home-content-card .home-content-image img {
    height: 240px !important;
    min-height: 240px !important;
  }

  .page-home .home-content-card .home-content-body {
    padding: 2rem 1.6rem 2.2rem !important;
  }

  .page-home .home-content-card h3 {
    font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
  }

  .page-home .home-contents-controls {
    justify-content: center;
  }
}
/* ==========================================================
   FIX IMMAGINI CONTENUTI — FORMATO REEL / VERTICALE
   ========================================================== */

.page-home .home-content-card,
.page-home .home-content-card.is-featured {
  grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr) !important;
  min-height: 460px;
}

/* colonna immagine */
.page-home .home-content-card .home-content-image {
  display: flex !important;
  align-items: center;
  justify-content: center;

  width: 100% !important;
  height: 460px !important;
  min-height: 460px !important;

  padding: 20px 24px !important;
  margin: 0 !important;

  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      rgba(16, 162, 247, .04),
      rgba(255, 160, 58, .05)
    );
}

/* immagine vera */
.page-home .home-content-card .home-content-image img {
  display: block;

  width: auto !important;
  height: 100% !important;

  max-width: 100% !important;
  max-height: 420px !important;

  min-height: 0 !important;

  object-fit: contain !important;
  object-position: center center !important;

  border-radius: 18px;
  margin: 0 auto !important;

  box-shadow:
    0 12px 28px rgba(29, 39, 51, .10);
}

/* testo */
.page-home .home-content-card .home-content-body {
  padding: 3rem 3.4rem !important;
}

/* tablet */
@media (max-width: 1000px) {

  .page-home .home-content-card,
  .page-home .home-content-card.is-featured {
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr) !important;
  }

  .page-home .home-content-card .home-content-image {
    height: 420px !important;
    min-height: 420px !important;
  }

  .page-home .home-content-card .home-content-image img {
    max-height: 380px !important;
  }
}

/* mobile */
@media (max-width: 700px) {

  .page-home .home-content-card,
  .page-home .home-content-card.is-featured {
    display: flex !important;
    flex-direction: column;
  }

  .page-home .home-content-card .home-content-image {
    height: 420px !important;
    min-height: 420px !important;
    padding: 18px !important;
  }

  .page-home .home-content-card .home-content-image img {
    width: auto !important;
    height: 100% !important;
    max-height: 384px !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }
}