/* 🔹 HERO */
.hero {
    position: relative;
    height: 100vh;
    background: url('../img/img8.webp') center center / cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}
.hero-title {
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    line-height: 1.1;
}
.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    font-family: 'Lato', sans-serif;
}


/* 🔹 SEC 2 */
.sec2 {
  background-color: white;
  scroll-margin-top: 80px;
}

.sec2 h2 {
  font-size: 3rem;
  color: var(--verd-clar);
  font-weight: 700;
  margin-bottom: 1rem;
}

.sec2 h3 {
  font-size: 2rem;
}

.sec2 p,
.sec2 li {
  font-size: 1.5rem;
  color: var(--marro);
}

.sec2 ul li {
  margin-bottom: 0.75rem;
}

/* Card d’imatge a tota la amplada i alçada */
.maintenance-card {
  position: relative;
  width: 100%;
  min-height: 400px;
}

.maintenance-bg {
  position: absolute;
  inset: 0;
  background: url('../img/img10.webp') center center / cover no-repeat;
}

/* 🔹 SEC3 */
.sec3{
    background-color: #f8f9fa;
}

.sec3 h2 {
  font-size: 3rem;
  color: var(--verd-clar);
}
.sec3 h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

.sec3 li {
  font-size: 1.5rem;
  color: var(--marro);
}
.sec3 .card-poda {
  background-color: white; transition: transform .3s ease, box-shadow .3s ease;
  border: 1px solid var(--verd-clar);
  box-shadow: var(--shadow-soft)
}
.sec3 .card-poda:hover {
  transform: translateY(-5px); box-shadow: var(--shadow-green);
}
.sec3 .card-poda i {
    font-size: 3rem;
    color: var(--verd-clar);
}

.sec3 .card-poda h5 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: .75rem;
    
}
.sec3 .card-poda p {
     font-size: 1.2rem;
     color: var(--gris);
}

/* 🔹 SEC4 */

.sec4{
    background-color: white;
}

.sec4 .card-poda {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 380px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sec4 .card-poda:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-green);
}

.sec4 .bg-overlay {
    background: rgba(0, 0, 0, 0.45);
    border-radius: 0 0 12px 12px;
}

.sec4 h2{
    font-size: 3rem;
    color: var(--verd-clar);
    font-weight: 700;
}
.sec4 h3{
    font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

.sec4 .card-title{
    font-size: 2rem;
    color: var(--blanc);
    font-weight: 700;
}

.sec4 .card-text{
    font-size: 1.5rem;
}

.sec4 p{
    font-size: 1.5rem;
    font-weight: 500;
}


/* 🔹 SEC5 */
.sec5{
    background-color: #f8f9fa;
}

.sec5 h2{
    font-size: 2rem;
    color: var(--verd-clar);
}

/* 🔹 CTA final */
.sec4-cta {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
                url('../img/img3.webp') center center / cover no-repeat;
    color: white;
    padding: 4rem 1rem;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.sec4-cta h2 {
    font-size: 3rem;
    font-weight: 700;
}
.sec4-cta p {
    font-size: 2rem;
    font-weight: 500;
}

/* 🔹 RESPONSIVE */
@media (max-width: 575.98px) {
    .hero {
        background: url('../img/img8.webp') center center / cover no-repeat scroll;
        background-attachment: scroll;
        height: 100vh;
    }

    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1.5rem;
    }
    /* 🔹 SEC2 */
    .sec2 h2 {
        font-size: 2rem;
    }
    .sec2 h3 {
        font-size: 1.5rem;
        font-weight: 400;
    }
    .sec2 p, .sec2 li{
        font-size: 1.2rem;
    }
    .img-col {
        min-height: 500px;
        justify-content: center; 
    }

    /* 🔹 SEC3 */
    .sec3 h2{
        font-size: 2rem;
    }
    .sec3 h3{
        font-size: 1.2rem;
    }
    .sec3 .card-title {
        font-size: 3rem;
    }
    .sec3 p{
        font-size: 1.2rem;
    }

    /* 🔹 SEC4 */
    .sec4 .card-title{
        font-size: 2rem;
    }
    .sec4 .card-text{
        font-size: 1.2rem;
    }
    .sec4 h2{
        font-size: 2rem;
    }
    .sec4 p{
        font-size: 1.2rem;
    }

    /* 🔹 SEC5 */
    .sec5 h2{
        font-size: 2rem;
    }
    .sec5 p{
        font-size: 1.2rem;
    }


    /* 🔹 CTA */
    .sec4-cta h2 {
        font-size: 2rem;
    }
    .sec4-cta p {
        font-size: 1.2rem;
    }
    

    
}
