.landing-hero {
    position: relative;
    background: url('/wp-content/uploads/2025/09/febiam-convenzioni-operatori.jpg') center center / cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
}
.landing-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}
.landing-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}
.landing-hero img {
    max-width: 200px;
    margin-bottom: 20px;
}
.landing-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}
.landing-hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}
/*____SEZIONE 2____*/
/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 28px;
}
.feature {
  background: #f4f4f4;
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
}
.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #fcea10;        /* principale */
  color: #222d59;              /* secondario */
  display: grid;
  place-items: center;
}
.feature-title {
  margin: 8px 0 4px;
  font-size: 1.05rem;
  color: #222d59;
  font-weight: 900;
}
.feature-text {
  margin: 0;
  color: #333;
  font-size: .98rem;
}

/* Responsive */
@media (max-width: 991px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* Sezione affidabilità */
.affidabilita-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.affidabilita-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.affidabilita-text h2 {
  color: #222d59;
  margin-bottom: 15px;
  text-align: left;
}
.affidabilita-text p {
  text-align: left;
  margin-bottom: 25px;
}

/* Features */
.affidabilita-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 30px;
}
.aff-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.aff-icon {
  flex-shrink: 0;
  background: #fcea10;
  color: #222d59;
  border-radius: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
}
.aff-feature p {
  margin: 0;
  color: #333;
  font-size: 0.97rem;
}

/* Responsive */
@media (max-width: 991px) {
  .affidabilita-grid {
    grid-template-columns: 1fr;
  }
  .affidabilita-image {
    order: -1;
  }
  .affidabilita-text h2, .affidabilita-text p {
    text-align: center;
  }
  .affidabilita-features {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .aff-feature {
    max-width: 300px;
  }
}


.btn-cta {
    background-color: #fcea10;
    color: #222d59;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 40px;
    display: inline-block;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.btn-cta:hover {
    background-color: #e0d00e;
    color: #222d59;
}

/* === SEZIONI === */
.section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
}
.section h2 {
    color: #222d59;
    text-align: center;
    margin-bottom: 25px;
}
.section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 25px;
}
.section ul {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
}
.section ul li {
    padding: 8px 0;
    font-size: 1rem;
    text-align: center;
}

/* === STEP === */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.step-box {
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}
.step-box span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fcea10;
    display: block;
    margin-bottom: 10px;

}
/* Parallax break */
.parallax-break {
  position: relative;
  height: 300px;
  background: url('/wp-content/uploads/2025/09/febiam-convenzioni-operatori3.jpg') center center / cover no-repeat fixed;
  width: 100%;
  overflow: hidden;
}

.parallax-text {
  position: absolute;
  left: 25%;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 50px;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.parallax-break.visible .parallax-text {
  opacity: 1;
}

@media (max-width: 991px) {
  .parallax-break {
    background-attachment: scroll;
  }
  .parallax-text {
    font-size: 1.8rem;
  }
}





/* === FORM === */
.contact-section {
    background-color: #222d59;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}
.contact-section h2 {
    color: #fcea10;
    margin-bottom: 15px;
}
.contact-section p {
    max-width: 700px;
    margin: 0 auto 25px;
}
.contact-section form {
    max-width: 600px;
    margin: 0 auto;
}
.invia-yellow {
  width: 100%;
  padding: 34px 20px !important;
  background-color: #fcea10 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 30px !important;
  font-weight: bold !important;
  font-size: 1rem !important;
  cursor: pointer;
  transition: background 0.3s ease;
  line-height: 0 !important;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .landing-hero {
        padding: 60px 15px;
    }
    .landing-hero h1 {
        font-size: 1.6rem;
    }
    .section {
        padding: 40px 15px;
    }
}
