/* =========================================================
   CONTACTE
   EBRE GARDEN
========================================================= */


/* =========================================================
   1. PÀGINA DE CONTACTE
========================================================= */

.contacto-page {
    padding: 90px 0 100px;
    background: var(--blanco);
}


/* =========================================================
   2. CAPÇALERA
========================================================= */

.contacto-header {
    max-width: 800px;
    margin: 0 auto 55px;
    text-align: center;
}

.contacto-header .section-eyebrow {
    margin-bottom: 12px;
}

.contacto-header h1 {
    margin-bottom: 20px;
    color: var(--verde-oscuro);
    font-family: 'Geometric Slabserif 712', serif;
    font-size: 3rem;
    line-height: 1.15;
}

.contacto-header p:last-child {
    max-width: 700px;
    margin: 0 auto;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
}


/* =========================================================
   3. DADES DE CONTACTE
========================================================= */

.contacto-datos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 45px;

    margin: 60px 0 80px;
}


/* =========================================================
   CONTACTE - ELEMENT
========================================================= */

.contacto-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;

    padding: 0;

    background: transparent;
    border: none;

    color: inherit;
    text-decoration: none;

    transition: transform .3s ease;
}


/* =========================================================
   ICONA
========================================================= */

.contacto-card-icon {
    flex-shrink: 0;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--verde-principal);

    font-size: 1.7rem;
}


/* =========================================================
   CONTINGUT
========================================================= */

.contacto-card-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contacto-card-content span {
    font-size: .8rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1.5px;

    color: var(--verde-principal);
}

.contacto-card-content strong {
    font-size: 1.05rem;
    font-weight: 700;

    color: var(--verde-oscuro);
    line-height: 1.4;
}

.contacto-card-content small {
    font-size: .9rem;
    line-height: 1.5;

    color: #666;
}


/* =========================================================
   HOVER
========================================================= */

.contacto-card:hover {
    transform: translateY(-4px);
}

.contacto-card:hover .contacto-card-icon {
    transform: scale(1.08);
}

.contacto-card-icon {
    transition: transform .3s ease;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .contacto-datos {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }

}


@media (max-width: 600px) {

    .contacto-datos {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 45px 0 60px;
    }

    .contacto-card-icon {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }

}

/* =========================================================
   7. MAPA
========================================================= */

.contacto-mapa {
    position: relative;

    width: 100%;
    min-height: 450px;

    overflow: hidden;

    background: #eef0ec;
}


/* IFRAME */

.contacto-mapa iframe {
    display: block;

    width: 100%;
    height: 450px;

    border: 0;
}


/* =========================================================
   8. PLACEHOLDER DEL MAPA
========================================================= */

.map-placeholder {
    width: 100%;
    min-height: 450px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;

    background:
        linear-gradient(135deg,
            #edf1eb,
            #dfe6dc);
}


/* CONTINGUT */

.map-placeholder-content {
    max-width: 500px;

    text-align: center;
}


/* ICONA */

.map-placeholder-content>i {
    margin-bottom: 20px;

    color: var(--verde-principal);

    font-size: 3rem;
}


/* TÍTOL */

.map-placeholder-content h2 {
    margin-bottom: 12px;

    color: var(--verde-oscuro);

    font-family: 'Geometric Slabserif 712', serif;
    font-size: 2rem;
}


/* TEXT */

.map-placeholder-content p {
    margin-bottom: 25px;

    color: #555;

    font-size: 1rem;
    line-height: 1.6;
}


/* =========================================================
   9. BOTONS CTA CONTACTE
========================================================= */

.contacto-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 15px;

    margin-top: 30px;
}

.contacto-cta-buttons .btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;
}


/* =========================================================
   10. CTA FINAL
========================================================= */

.cta-final {
    padding: 90px 20px;

    background: var(--verde-oscuro);

    text-align: center;
}

.cta-final .container {
    max-width: 850px;
    margin: 0 auto;
}

.cta-final .section-eyebrow {
    margin-bottom: 12px;

    color: var(--verde-claro);
}

.cta-final h2 {
    margin-bottom: 18px;

    color: var(--blanco);

    font-family: 'Geometric Slabserif 712', serif;
    font-size: 2.6rem;
    line-height: 1.2;
}

.cta-final p {
    max-width: 650px;
    margin: 0 auto;

    color: rgba(255, 255, 255, .85);

    font-size: 1.05rem;
    line-height: 1.7;
}


/* =========================================================
   11. RESPONSIVE
========================================================= */


/* ---------------------------------------------------------
   TABLETS
--------------------------------------------------------- */

@media (max-width: 1100px) {

    .contacto-datos {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ---------------------------------------------------------
   MÒBIL GRAN
--------------------------------------------------------- */

@media (max-width: 768px) {

    .contacto-page {
        padding: 65px 0 70px;
    }


    /* CAPÇALERA */

    .contacto-header {
        margin-bottom: 40px;
    }

    .contacto-header h1 {
        font-size: 2.3rem;
    }

    .contacto-header p:last-child {
        font-size: 1rem;
    }


    /* TARGETES */

    .contacto-datos {
        grid-template-columns: 1fr;

        gap: 15px;

        margin-bottom: 50px;
    }

    .contacto-card {
        min-height: auto;

        flex-direction: row;
        align-items: center;

        padding: 22px;
    }

    .contacto-card-icon {
        flex-shrink: 0;

        width: 52px;
        height: 52px;

        margin-right: 18px;
        margin-bottom: 0;
    }


    /* MAPA */

    .contacto-mapa,
    .map-placeholder {
        min-height: 380px;
    }

    .contacto-mapa iframe {
        height: 380px;
    }

    .map-placeholder {
        padding: 30px 20px;
    }


    /* CTA */

    .cta-final {
        padding: 70px 20px;
    }

    .cta-final h2 {
        font-size: 2rem;
    }

}


/* ---------------------------------------------------------
   MÒBIL PETIT
--------------------------------------------------------- */

@media (max-width: 480px) {

    .contacto-page {
        padding: 50px 0 60px;
    }


    /* CAPÇALERA */

    .contacto-header h1 {
        font-size: 2rem;
    }


    /* TARGETES */

    .contacto-card {
        padding: 18px;
    }

    .contacto-card-icon {
        width: 48px;
        height: 48px;

        margin-right: 15px;

        font-size: 1.1rem;
    }

    .contacto-card-content strong {
        font-size: 1rem;
    }

    .contacto-card-content small {
        font-size: .85rem;
    }


    /* MAPA */

    .contacto-mapa,
    .map-placeholder {
        min-height: 330px;
    }

    .contacto-mapa iframe {
        height: 330px;
    }


    /* BOTONS */

    .contacto-cta-buttons {
        flex-direction: column;

        width: 100%;
    }

    .contacto-cta-buttons .btn-hero {
        width: 100%;
        max-width: 280px;
    }


    /* CTA */

    .cta-final {
        padding: 60px 20px;
    }

    .cta-final h2 {
        font-size: 1.8rem;
    }

    .cta-final p {
        font-size: .95rem;
    }

}