/* =========================================================
   EBRE GARDEN
   INDEX.CSS
   Estils exclusius de la pàgina d'inici
========================================================= */


/* =========================================================
   01. FONT CORPORATIVA
========================================================= */

@font-face {
    font-family: 'Geometric Slabserif 712';
    src: url('../FONTS/Geometric\ Slabserif\ 712\ Extra\ Bold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}


/* =========================================================
   02. VARIABLES
========================================================= */

:root {
    --verde-oscuro: #30461f;
    --verde-oliva: #4b5b34;
    --verde-principal: #81ab2d;
    --verde-acento: #8dbe24;
    --verde-claro: #a4c84e;

    --blanco: #ffffff;
    --negro: #000000;

    --gris-texto: #444444;
    --gris-claro: #f8f9f6;
}


/* =========================================================
   03. RESET I BASE
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--negro);
    line-height: 1.6;
    margin: 0;
}

body.menu-open {
    overflow: hidden;
}


/* =========================================================
   04. ESTRUCTURA GENERAL
========================================================= */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* =========================================================
   05. TIPOGRAFIA
========================================================= */

h1,
h2,
h3 {
    font-family: 'Geometric Slabserif 712', serif;
    font-weight: 800;
}

h2 {
    font-family: 'Geometric Slabserif 712', serif;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--verde-oscuro);
    margin: 0 0 20px;
    letter-spacing: 1px;
}


/* =========================================================
   06. BOTONS GENERALS
========================================================= */

/* Botó secundari */

.btn-secundario {
    display: inline-block;
    padding: 12px 24px;

    background-color: var(--verde-oliva);
    color: var(--blanco);

    text-decoration: none;
    border-radius: 0;

    transition: background-color 0.3s ease;
}

.btn-secundario:hover {
    background-color: var(--verde-principal);
}


/* Botó principal */

.btn-hero {
    display: inline-block;

    padding: 15px 30px;

    background-color: var(--verde-principal);
    color: var(--blanco);

    text-decoration: none;
    font-weight: 700;

    transition:
        background-color 0.3s ease,
        transform 0.2s ease;
}

.btn-hero:hover {
    background-color: var(--verde-acento);
    transform: translateY(-2px);
}


/* =========================================================
   07. HEADER
========================================================= */

.header {
    position: relative;
    z-index: 1000;

    background-color: var(--blanco);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ---------- LOGO ---------- */

.logo {
    flex: 1;
}

.logo img {
    display: block;
    height: 200px;
    width: auto;
}


/* ---------- NAVEGACIO DESKTOP ---------- */

.nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}

.nav a {
    margin-left: 25px;

    color: var(--verde-oliva);

    text-decoration: none;
    font-weight: 600;

    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--verde-claro);
}


/* ---------- BOTÓ CONTACTE ---------- */

.btn-nav {
    padding: 14px 28px;

    background-color: var(--verde-principal);
    color: var(--blanco) !important;

    text-decoration: none;
    font-weight: bold;

    border-radius: 0;

    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.btn-nav:hover {
    background-color: var(--verde-acento);
    color: var(--verde-oscuro) !important;
}


/* =========================================================
   08. MENU OVERLAY
========================================================= */

.menu-overlay {
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.4);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;

    z-index: 1400;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   09. MENU HAMBURGUESA
========================================================= */

/*
   Ocult per defecte.
   Només apareix al responsive.
*/

.menu-toggle {
    display: none;

    flex-direction: column;
    gap: 6px;

    margin-left: auto;

    cursor: pointer;

    position: relative;
    z-index: 2000;
}

.menu-toggle span {
    display: block;

    width: 28px;
    height: 3px;

    background-color: var(--verde-oscuro);

    transition: all 0.3s ease;
}


/* ---------- ESTAT ACTIU ---------- */

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* =========================================================
   10. HERO SLIDER
========================================================= */

.hero-slider {
    position: relative;

    width: 100%;
    height: 78vh;
    min-height: 600px;

    overflow: hidden;

    background-color: var(--verde-oscuro);
}


/* =========================================================
   11. SLIDES
========================================================= */

.slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;

    background-size: cover;
    background-position: center;

    opacity: 0;

    transition:
        opacity 1.2s ease-in-out,
        transform 6s ease;
}

.slide.active {
    opacity: 1;
    z-index: 1;

    transform: scale(1.02);
}


/* =========================================================
   12. OVERLAY HERO
========================================================= */

.overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(90deg,
            rgba(20, 30, 12, 0.82) 0%,
            rgba(20, 30, 12, 0.65) 35%,
            rgba(20, 30, 12, 0.25) 70%,
            rgba(20, 30, 12, 0.10) 100%);
}


/* =========================================================
   13. CONTINGUT HERO
========================================================= */

.hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding: 40px 20px;

    color: var(--blanco);

    text-align: left;
}


/* ---------- ETIQUETA ---------- */

.hero-tag {
    display: inline-block;

    margin-bottom: 20px;

    color: var(--verde-claro);

    font-size: 0.85rem;
    font-weight: 800;

    letter-spacing: 3px;
    text-transform: uppercase;
}


/* ---------- TITULAR ---------- */

.hero-content h1 {
    max-width: 750px;

    margin-bottom: 25px;

    font-family: 'Geometric Slabserif 712', serif;

    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 1.05;

    color: var(--blanco);

    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.35);
}


/* ---------- DESCRIPCIO ---------- */

.hero-content p {
    max-width: 650px;

    margin-bottom: 35px;

    color: var(--blanco);

    font-size: 1.15rem;
    line-height: 1.7;
}


/* =========================================================
   14. BOTONS HERO
========================================================= */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 30px;
}


/* ---------- ENLLAÇ SECUNDARI ---------- */

.hero-link {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    color: var(--blanco);

    text-decoration: none;
    font-weight: 700;
}

.hero-link i {
    transition: transform 0.3s ease;
}

.hero-link:hover i {
    transform: translateX(5px);
}


/* =========================================================
   15. FLETXES HERO
========================================================= */

.hero-arrow {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    z-index: 20;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.45);

    background: rgba(0, 0, 0, 0.25);

    color: var(--blanco);

    cursor: pointer;

    transition:
        background-color 0.3s ease,
        border-color 0.3s ease;
}

.hero-arrow:hover {
    background-color: var(--verde-principal);
    border-color: var(--verde-principal);
}


/* ---------- ANTERIOR ---------- */

.hero-arrow-prev {
    left: 30px;
}


/* ---------- SEGÜENT ---------- */

.hero-arrow-next {
    right: 30px;
}


/* =========================================================
   16. INDICADORS HERO
========================================================= */

.hero-indicators {
    position: absolute;

    left: 50%;
    bottom: 35px;

    transform: translateX(-50%);

    z-index: 20;

    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-indicator {
    width: 35px;
    height: 3px;

    padding: 0;

    border: none;

    background-color: rgba(255, 255, 255, 0.4);

    cursor: pointer;

    transition:
        width 0.3s ease,
        background-color 0.3s ease;
}

.hero-indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.hero-indicator.active {
    width: 60px;

    background-color: var(--verde-principal);
}


/* =========================================================
   17. SOBRE EBRE GARDEN
========================================================= */

.sobre-home {
    padding: 110px 0;

    background-color: var(--blanco);

    overflow: hidden;
}

.sobre-home-container {
    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    align-items: start;

    gap: 80px;
}


/* =========================================================
   18. IMATGE SOBRE
========================================================= */

.sobre-home-galeria {
    position: relative;

    width: 100%;

    padding: 0 25px 25px 0;
}

.sobre-home-img {
    position: relative;

    width: 100%;

    overflow: hidden;

    z-index: 2;
}

.sobre-home-img img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 16 / 9;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.sobre-home-img:hover img {
    transform: scale(1.03);
}


/* ---------- ELEMENT DECORATIU ---------- */

.sobre-home-accent {
    position: absolute;

    right: 0;
    bottom: 0;

    width: 220px;
    height: 220px;

    background-color: var(--verde-claro);

    z-index: 1;
}


/* =========================================================
   19. TEXT SOBRE
========================================================= */

.sobre-texto {
    position: relative;
}

.sobre-etiqueta {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--verde-principal);

    font-size: 0.85rem;
    font-weight: 800;

    letter-spacing: 3px;
}

.sobre-texto h2 {
    margin-bottom: 25px;

    color: var(--verde-oscuro);

    font-family: 'Geometric Slabserif 712', serif;

    font-size: 2.8rem;
    line-height: 1.15;
}

.sobre-texto p {
    margin-bottom: 18px;

    color: var(--gris-texto);

    font-size: 1.05rem;
    line-height: 1.8;
}

.sobre-texto p strong {
    color: var(--verde-oscuro);
}


/* ---------- TEXT DESTACAT ---------- */

.sobre-destacat {
    margin-bottom: 25px !important;

    color: var(--verde-oliva) !important;

    font-size: 1.2rem !important;
    font-weight: 600;

    line-height: 1.6 !important;
}


/* =========================================================
   20. VALORS SOBRE
========================================================= */

.sobre-valors {
    display: flex;
    flex-direction: column;

    gap: 18px;

    margin: 35px 0;
}

.sobre-valor {
    display: flex;
    align-items: center;

    gap: 18px;
}

.sobre-valor i {
    flex-shrink: 0;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: var(--verde-principal);
    color: var(--blanco);

    font-size: 1.2rem;
}

.sobre-valor h3 {
    margin-bottom: 2px;

    color: var(--verde-oscuro);

    font-family: 'Geometric Slabserif 712', serif;
    font-size: 1.05rem;
}

.sobre-valor p {
    margin: 0;

    color: #666;

    font-size: 0.9rem;
    line-height: 1.4;
}


/* =========================================================
   21. SERVEIS DESTACATS - INDEX
========================================================= */

.servicios-home {
    padding: 110px 0;

    background-color: var(--gris-claro);

    overflow: hidden;
}


/* =========================================================
   22. CAPÇALERA SERVEIS
========================================================= */

.servicios-home .servicios-home-header {
    max-width: 820px;

    margin: 0 auto 60px;

    text-align: center;
}

.servicios-home .servicios-etiqueta {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--verde-principal);

    font-size: 0.8rem;
    font-weight: 800;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.servicios-home .servicios-home-header h2 {
    margin-bottom: 20px;

    color: var(--verde-oscuro);

    font-family: 'Geometric Slabserif 712', serif;

    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1.15;
}

.servicios-home .servicios-home-header p {
    max-width: 700px;

    margin: 0 auto;

    color: #555;

    font-size: 1.05rem;
    line-height: 1.7;
}


/* =========================================================
   23. GRID SERVEIS
========================================================= */

.servicios-home .servicios-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;

    width: 100%;
}


/* =========================================================
   24. CARD SERVEI
========================================================= */

.servicios-home .servicio-card {
    position: relative;

    width: 100%;
    min-height: 480px;

    overflow: hidden;

    cursor: pointer;

    isolation: isolate;
}


/* =========================================================
   25. IMATGE CARD
========================================================= */

.servicios-home .servicio-card img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;
}


/* =========================================================
   26. OVERLAY CARD
========================================================= */

.servicios-home .servicio-card-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(to top,
            rgba(20, 30, 12, 0.92) 0%,
            rgba(20, 30, 12, 0.65) 35%,
            rgba(20, 30, 12, 0.15) 75%,
            rgba(20, 30, 12, 0.05) 100%);

    transition: background 0.4s ease;
}


/* =========================================================
   27. CONTINGUT CARD
========================================================= */

.servicios-home .servicio-card-content {
    position: absolute;

    left: 0;
    bottom: 0;

    z-index: 2;

    width: 100%;

    padding: 45px;

    color: var(--blanco);
}


/* =========================================================
   28. NUMERACIO CARD
========================================================= */

.servicios-home .servicio-numero {
    display: block;

    margin-bottom: 14px;

    color: var(--verde-claro);

    font-size: 0.8rem;
    font-weight: 800;

    letter-spacing: 3px;
}


/* =========================================================
   29. TITOL CARD
========================================================= */

.servicios-home .servicio-card h3 {
    margin: 0 0 16px;

    color: var(--blanco);

    font-family: 'Geometric Slabserif 712', serif;

    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1.15;
}


/* =========================================================
   30. DESCRIPCIO CARD
========================================================= */

.servicios-home .servicio-card p {
    max-width: 560px;

    margin: 0 0 24px;

    color: rgba(255, 255, 255, 0.94);

    font-size: 1rem;
    line-height: 1.65;
}


/* =========================================================
   31. ENLLAÇ CARD
========================================================= */

.servicios-home .servicio-card-link {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    color: var(--blanco);

    font-size: 0.95rem;
    font-weight: 700;

    text-decoration: none;

    transition:
        color 0.3s ease,
        gap 0.3s ease;
}

.servicios-home .servicio-card-link i {
    font-size: 0.8rem;

    transition: transform 0.3s ease;
}

.servicios-home .servicio-card-link:hover {
    color: var(--verde-claro);

    gap: 15px;
}

.servicios-home .servicio-card-link:hover i {
    transform: translateX(3px);
}


/* =========================================================
   32. HOVER CARDS
========================================================= */

.servicios-home .servicio-card:hover img {
    transform: scale(1.07);
}

.servicios-home .servicio-card:hover .servicio-card-overlay {
    background:
        linear-gradient(to top,
            rgba(20, 30, 12, 0.97) 0%,
            rgba(20, 30, 12, 0.75) 38%,
            rgba(20, 30, 12, 0.18) 100%);
}


/* =========================================================
   33. CTA SERVEIS
========================================================= */

.servicios-home .servicios-cta {
    display: flex;
    justify-content: center;

    margin-top: 50px;
}

.servicios-home .servicios-cta .btn-hero {
    display: inline-flex;
    align-items: center;

    gap: 12px;
}

.servicios-home .servicios-cta .btn-hero i {
    font-size: 0.85rem;

    transition: transform 0.3s ease;
}

.servicios-home .servicios-cta .btn-hero:hover i {
    transform: translateX(5px);
}


/* =========================================================
   34. CTA FINAL
========================================================= */

.cta-final {
    padding: 70px 20px;

    background-color: var(--verde-oscuro);

    color: var(--blanco);

    text-align: center;
}

.cta-final h2 {
    margin-bottom: 20px;

    color: var(--blanco);

    font-size: 3rem;
    line-height: 1.2;
}

.cta-final p {
    margin-bottom: 40px;

    color: var(--blanco);

    font-size: 1.2rem;
}


/* =========================================================
   35. FOOTER
========================================================= */

.footer {
    padding: 60px 20px 30px;

    background-color: var(--verde-claro);
    color: var(--blanco);

    font-size: 1rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;

    justify-content: space-between;
    align-items: flex-start;

    gap: 40px;

    max-width: 1200px;

    margin: 0 auto;
}


/* ---------- LOGO ---------- */

.footer-logo img {
    height: 130px;
    width: auto;
}


/* ---------- INFO ---------- */

.footer-info {
    flex: 1;
    min-width: 220px;
}

.footer-info p {
    margin: 6px 0;

    font-weight: 600;
}


/* ---------- CONTACTE ---------- */

.footer-contacto {
    flex: 1;
    min-width: 220px;
}

.footer-contacto p {
    display: flex;
    align-items: center;

    margin: 8px 0;

    font-weight: 600;
}

.footer-contacto i {
    margin-right: 10px;

    color: var(--blanco);

    font-size: 1.3rem;

    transition: color 0.3s ease;
}

.footer-contacto p:hover {
    color: var(--verde-oscuro);
}

.footer-contacto p:hover i {
    color: var(--verde-oscuro);
}


/* =========================================================
   36. ENLLAÇOS LEGALS
========================================================= */

.footer-legal {
    margin-top: 40px;
    padding-top: 15px;

    border-top: 1px solid rgba(255, 255, 255, 0.2);

    text-align: center;
}

.footer-legal a {
    margin: 0 12px;

    color: var(--blanco);

    text-decoration: none;

    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--verde-oscuro);

    text-decoration: underline;
}


/* =========================================================
   37. COPYRIGHT
========================================================= */

.footer-copy {
    margin-top: 1rem;

    color: var(--verde-oliva);

    font-size: 0.85rem;

    text-align: center;
}

.footer-copy a {
    color: var(--blanco);

    text-decoration: none;
}

.footer-copy a:hover {
    color: var(--verde-oscuro);

    text-decoration: underline;
}


/* =========================================================
   38. BANNER COOKIES
========================================================= */

.cookie-banner {
    position: fixed;

    left: 0;
    bottom: 0;

    z-index: 9999;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 20px;

    background: rgba(48, 70, 31, 0.95);

    color: var(--blanco);

    font-size: 0.9rem;
}

.cookie-banner p {
    margin: 0;
}

.cookie-banner a {
    color: #cfe6c3;

    text-decoration: underline;
}


/* ---------- BOTONS COOKIES ---------- */

.cookie-buttons {
    display: flex;
    gap: 10px;

    flex-shrink: 0;
}

.cookie-buttons button {
    padding: 10px 16px;

    border: none;
    border-radius: 6px;

    cursor: pointer;

    font-weight: 600;
}


/* Acceptar */

.cookie-buttons button:first-child {
    background: var(--blanco);
    color: var(--verde-oscuro);
}


/* Rebutjar */

.cookie-buttons button.secondary {
    background: transparent;

    border: 1px solid var(--blanco);

    color: var(--blanco);
}


/* ---------- OCULT ---------- */

.cookie-banner.hidden {
    display: none;
}


/* =========================================================
   39. RESPONSIVE
   TABLET
========================================================= */

@media (max-width: 1024px) {

    /* ---------- HEADER ---------- */

    .logo img {
        height: 170px;
    }


    /* ---------- HERO ---------- */

    .hero-slider {
        height: 75vh;
        min-height: 550px;
    }

    .hero-content {
        padding: 40px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }


    /* ---------- SOBRE ---------- */

    .sobre-home {
        padding: 80px 0;
    }

    .sobre-home-container {
        gap: 50px;
    }

    .sobre-texto h2 {
        font-size: 2.3rem;
    }

    .sobre-home-accent {
        width: 180px;
        height: 180px;
    }


    /* ---------- SERVEIS ---------- */

    .servicios-home {
        padding: 90px 0;
    }

    .servicios-home .servicios-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .servicios-home .servicio-card {
        min-height: 460px;
    }

    .servicios-home .servicio-card-content {
        padding: 38px;
    }
}


/* =========================================================
   40. RESPONSIVE
   MÒBIL
========================================================= */

@media (max-width: 768px) {

    /* =====================================================
       HEADER
    ===================================================== */

    .header-container {
        min-height: 100px;
    }

    .logo img {
        height: 110px;
    }


    /* ---------- NAVEGACIÓ ---------- */

    .nav {
        position: fixed;

        top: 0;
        right: -100%;

        width: 100%;
        height: 100vh;

        display: flex;
        flex-direction: column;

        justify-content: center;
        align-items: center;

        gap: 30px;

        background-color: var(--blanco);

        transition: right 0.4s ease;

        z-index: 1500;
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        margin: 0;

        font-size: 1.3rem;
    }


    /* ---------- HAMBURGUESA ---------- */

    .menu-toggle {
        display: flex;

        margin-right: 5px;
    }


    /* =====================================================
       HERO
    ===================================================== */

    .hero-slider {
        height: 75vh;
        min-height: 520px;
    }

    .overlay {
        background:
            linear-gradient(90deg,
                rgba(20, 30, 12, 0.82),
                rgba(20, 30, 12, 0.55));
    }

    .hero-content {
        padding: 30px 25px;
    }

    .hero-tag {
        margin-bottom: 15px;

        font-size: 0.7rem;

        letter-spacing: 2px;
    }

    .hero-content h1 {
        margin-bottom: 20px;

        font-size: 2.5rem;
        line-height: 1.1;
    }

    .hero-content p {
        margin-bottom: 30px;

        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;

        gap: 20px;
    }


    /* ---------- FLETXES ---------- */

    .hero-arrow {
        width: 42px;
        height: 42px;
    }

    .hero-arrow-prev {
        left: 15px;
    }

    .hero-arrow-next {
        right: 15px;
    }


    /* ---------- INDICADORS ---------- */

    .hero-indicators {
        bottom: 25px;
    }

    .hero-indicator {
        width: 25px;
    }

    .hero-indicator.active {
        width: 45px;
    }


    /* =====================================================
       SOBRE
    ===================================================== */

    .sobre-home {
        padding: 70px 0;
    }

    .sobre-home-container {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    /* ---------- IMATGE ---------- */

    .sobre-home-galeria {
        padding: 0 15px 15px 0;
    }

    .sobre-home-img img {
        aspect-ratio: 16 / 9;
    }

    .sobre-home-accent {
        width: 140px;
        height: 140px;
    }


    /* ---------- TEXT ---------- */

    .sobre-texto {
        text-align: left;
    }

    .sobre-texto h2 {
        font-size: 2rem;
    }

    .sobre-texto p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .sobre-destacat {
        font-size: 1.1rem !important;
    }


    /* ---------- VALORS ---------- */

    .sobre-valors {
        margin: 30px 0;
    }

    .sobre-valor {
        align-items: flex-start;
    }


    /* =====================================================
       SERVEIS
    ===================================================== */

    .servicios-home {
        padding: 70px 0;
    }

    .servicios-home .servicios-home-header {
        margin-bottom: 40px;

        padding: 0 10px;
    }

    .servicios-home .servicios-home-header h2 {
        font-size: 2rem;
    }

    .servicios-home .servicios-home-header p {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .servicios-home .servicio-card {
        min-height: 430px;
    }

    .servicios-home .servicio-card-content {
        padding: 30px;
    }

    .servicios-home .servicio-card h3 {
        font-size: 1.7rem;
    }

    .servicios-home .servicio-card p {
        font-size: 0.95rem;
    }


    /* =====================================================
       CTA FINAL
    ===================================================== */

    .cta-final {
        padding: 60px 20px;
    }

    .cta-final h2 {
        font-size: 2.2rem;
    }

    .cta-final p {
        font-size: 1rem;
    }


    /* =====================================================
       FOOTER
    ===================================================== */

    .footer-container {
        flex-direction: column;

        align-items: center;

        text-align: center;
    }

    .footer-contacto p {
        justify-content: center;
    }


    /* =====================================================
       COOKIES
    ===================================================== */

    .cookie-banner {
        flex-direction: column;

        align-items: center;

        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }
}


/* =========================================================
   41. RESPONSIVE
   MÒBIL PETIT
========================================================= */

@media (max-width: 480px) {

    /* ---------- HEADER ---------- */

    .header-container {
        min-height: 90px;
    }

    .logo img {
        height: 95px;
    }


    /* ---------- HERO ---------- */

    .hero-slider {
        min-height: 550px;
    }

    .hero-content {
        padding: 25px 20px;
    }

    .hero-content h1 {
        font-size: 2.1rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }


    /* ---------- SOBRE ---------- */

    .sobre-home {
        padding: 60px 0;
    }

    .sobre-home-galeria {
        padding-right: 10px;
        padding-bottom: 10px;
    }

    .sobre-home-accent {
        width: 100px;
        height: 100px;
    }

    .sobre-texto h2 {
        font-size: 1.8rem;
    }


    /* ---------- SERVEIS ---------- */

    .servicios-home {
        padding: 60px 0;
    }

    .servicios-home .servicios-home-header {
        margin-bottom: 30px;
    }

    .servicios-home .servicios-home-header h2 {
        font-size: 1.8rem;
    }

    .servicios-home .servicio-card {
        min-height: 390px;
    }

    .servicios-home .servicio-card-content {
        padding: 25px;
    }

    .servicios-home .servicio-card h3 {
        font-size: 1.5rem;
    }

    .servicios-home .servicio-card p {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .servicios-home .servicio-numero {
        font-size: 0.75rem;
    }


    /* ---------- CTA ---------- */

    .cta-final h2 {
        font-size: 1.9rem;
    }


    /* ---------- FOOTER ---------- */

    .footer {
        padding: 50px 20px 25px;
    }

    .footer-logo img {
        height: 110px;
    }

    .footer-legal a {
        display: inline-block;

        margin: 5px 8px;
    }


    /* ---------- COOKIES ---------- */

    .cookie-banner {
        padding: 15px;
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-buttons button {
        flex: 1;
    }
}

/* =========================================================
   MENU HAMBURGUESA
========================================================= */

.menu-toggle {

    display: none;

    width: 46px;
    height: 46px;

    padding: 0;

    border: none;

    background: transparent;

    cursor: pointer;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 5px;

    z-index: 1001;
}


/* LÍNIES */

.menu-toggle span {

    display: block;

    width: 25px;
    height: 2px;

    background: var(--verde-oscuro);

    transition:
        transform 0.3s ease,
        opacity 0.3s ease,
        width 0.3s ease;

}


/* =========================================================
   TABLET / MÒBIL
========================================================= */

@media (max-width: 900px) {

    .header-container {

        position: relative;

    }


    .menu-toggle {

        display: flex;

        margin-left: auto;

    }


    /* =====================================================
       NAV
    ===================================================== */

    .nav {

        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        width: 100%;

        background: var(--blanco);

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 0;

        opacity: 0;

        visibility: hidden;

        transform: translateY(-10px);

        pointer-events: none;

        box-shadow:
            0 15px 30px rgba(0, 0, 0, 0.12);

        transition:
            opacity 0.3s ease,
            visibility 0.3s ease,
            transform 0.3s ease;

        z-index: 1000;

    }


    /* =====================================================
       MENU OBERT
    ===================================================== */

    .nav.menu-obert {

        opacity: 1;

        visibility: visible;

        transform: translateY(0);

        pointer-events: auto;

    }


    /* =====================================================
       ENLLAÇOS
    ===================================================== */

    .nav a {

        width: 100%;

        padding: 17px 25px;

        border-bottom:
            1px solid rgba(0, 0, 0, 0.08);

        text-align: center;

    }


    .nav a:last-child {

        border-bottom: none;

    }


    /* =====================================================
       CONTACTE
    ===================================================== */

    .nav .btn-nav {

        margin: 12px 20px 18px;

        width: auto;

        border-radius: 0;

    }


    /* =====================================================
       HAMBURGUESA → X
    ===================================================== */

    .menu-toggle.actiu span:nth-child(1) {

        transform:
            translateY(7px) rotate(45deg);

    }


    .menu-toggle.actiu span:nth-child(2) {

        opacity: 0;

        width: 0;

    }


    .menu-toggle.actiu span:nth-child(3) {

        transform:
            translateY(-7px) rotate(-45deg);

    }

}


/* =========================================================
   MÒBIL PETIT
========================================================= */

@media (max-width: 600px) {

    .menu-toggle {

        width: 42px;
        height: 42px;

    }


    .menu-toggle span {

        width: 24px;

    }


    .nav a {

        padding: 16px 20px;

        font-size: 0.95rem;

    }

}

/* =========================================================
   MENU HAMBURGUESA
========================================================= */

.menu-toggle {
    display: none;

    width: 45px;
    height: 45px;

    padding: 0;

    border: none;

    background: transparent;

    cursor: pointer;

    position: relative;

    z-index: 10001;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 6px;
}


.menu-toggle span {
    display: block;

    width: 26px;
    height: 3px;

    background: var(--verde-oscuro);

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


/* =========================================================
   MÒBIL
========================================================= */

@media (max-width: 900px) {

    .header-container {
        position: relative;
    }


    .menu-toggle {
        display: flex;
    }


    .nav {

        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        width: 100%;

        background: var(--blanco);

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 0;

        opacity: 0;

        visibility: hidden;

        pointer-events: none;

        transform: translateY(-10px);

        transition:
            opacity 0.3s ease,
            visibility 0.3s ease,
            transform 0.3s ease;

        z-index: 10000;

        box-shadow:
            0 15px 30px rgba(0, 0, 0, 0.12);
    }


    /* MENÚ OBERT */

    .nav.menu-obert {

        opacity: 1;

        visibility: visible;

        pointer-events: auto;

        transform: translateY(0);

    }


    /* ENLLAÇOS */

    .nav a {

        display: flex;

        align-items: center;

        width: 100%;

        padding: 18px 25px;

        border-bottom: 1px solid rgba(0, 0, 0, 0.08);

    }


    .nav a:last-child {

        border-bottom: none;

    }


    /* BOTÓ CONTACTE */

    .nav .btn-nav {

        margin: 15px 20px 20px;

        width: auto;

        justify-content: center;

    }


    /* =====================================================
       ANIMACIÓ HAMBURGUESA
    ===================================================== */

    .menu-toggle.actiu span:nth-child(1) {

        transform:
            translateY(9px)
            rotate(45deg);

    }


    .menu-toggle.actiu span:nth-child(2) {

        opacity: 0;

    }


    .menu-toggle.actiu span:nth-child(3) {

        transform:
            translateY(-9px)
            rotate(-45deg);

    }

}