@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css');

/* ========================================
   RESET
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ========================================
   VARIABLES
======================================== */

:root {

    --green-primary: #7ecb3b;
    --green-light: #a6e35a;
    --green-dark: #183617;

    --white: #ffffff;
    --light-gray: #f5f5f5;
    --gray: #dcdcdc;
    --dark: #1d1d1d;

    --max-width: 1200px;
}


/* ========================================
   GLOBAL
======================================== */

html {

    scroll-behavior: smooth;

    scrollbar-width: thin;

    scrollbar-color: rgba(255, 255, 255, 0.25) #1f1f1f;

    margin: 0;
    padding: 0;

    background:
            linear-gradient(
                    90deg,
                    rgba(98, 145, 76, 0.92),
                    rgba(73, 118, 58, 0.90)
            );
}

body {

    margin: 0;
    padding: 0;

    font-family: 'Montserrat', sans-serif;

    background:
            linear-gradient(
                    90deg,
                    rgba(98, 145, 76, 0.92),
                    rgba(73, 118, 58, 0.90)
            );

    color: var(--dark);

    overflow-x: hidden;

    min-height: 100vh;

    display: flex;
    flex-direction: column;
}

h1,
h2,
h3,
.navbar__item>a {

    letter-spacing: -1px;
}

a {

    text-decoration: none;

    color: inherit;
}

ul {

    list-style: none;
}

img {

    width: 100%;

    display: block;
}

.container {

    width: 90%;

    max-width: var(--max-width);

    margin: auto;
}


/* ========================================
   HEADER
======================================== */

.header {
    width: 100%;

    background: linear-gradient(
        90deg,
        rgba(98, 145, 76, 0.92),
        rgba(73, 118, 58, 0.90)
    );

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    position: sticky;
    top: 0;
    z-index: 999;
}


/* ========================================
   NAVBAR
======================================== */

.navbar {

    height: 95px;

    width: 88%;

    max-width: 1700px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.navbar__logo {

    display: flex;
    align-items: center;
}

.navbar__logo img {

    width: 105px;

    object-fit: contain;
}


/* TEXTO LOGO */

.navbar__brand {

    margin-left: 15px;
}

.navbar__brand span {

    color: var(--white);

    font-size: 1.6rem;

    font-weight: 800;

    letter-spacing: -1px;

    white-space: nowrap;
}

.navbar__brand span {

    margin-bottom: 2px;
}


/* MENU */

.navbar__menu {

    display: flex;
    align-items: center;

    gap: 1.8rem;
}

.navbar__item {

    position: relative;
}

.navbar__item>a {

    color: var(--white);

    font-size: 0.95rem;
    font-weight: 700;

    display: flex;
    align-items: center;

    gap: 0.5rem;

    padding: 0.5rem 0;

    transition: 0.3s;
}

.navbar__item>a:hover {

    color: var(--green-light);
}


/* ACTIVE */

.active {

    color: var(--green-light) !important;
}


/* ========================================
   DROPDOWN
======================================== */

.dropdown__menu {

    position: absolute;

    top: 100%;
    left: 0;

    min-width: 250px;

    background-color: var(--white);

    border-radius: 6px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);

    overflow: hidden;

    z-index: 1000;

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition: 0.1s;
}

@media (hover: hover) and (pointer: fine) {

    .dropdown:hover .dropdown__menu {

        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }

}

.dropdown-open .dropdown__menu {

    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.dropdown__menu li a {

    display: block;

    padding: 1rem;

    color: var(--dark);

    font-size: 0.95rem;

    transition: 0.1s;
}

.dropdown__menu li a:hover {

    background-color: var(--green-primary);

    color: var(--white);
}



/* ========================================
   FOOTER
======================================== */

.footer {

    background:
            linear-gradient(
                    90deg,
                    rgba(98, 145, 76, 0.92),
                    rgba(73, 118, 58, 0.90)
            );

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    color: var(--white);

    padding: 2rem 0;
}

.footer__container {

    width: 100%;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;

    align-items: center;

    padding: 0 2rem;
}

.footer__links {

    display: flex;
    align-items: center;

    gap: 1rem;

    white-space: nowrap;

    justify-self: start;
}

.footer__links a {

    font-size: 0.95rem;

    transition: 0.3s;
}

.footer__links a:hover {

    color: var(--green-light);
}

.footer__copyright {

    text-align: center;

    line-height: 1.6;
}

.footer__social {

    justify-self: end;

    margin-right: 25px;
}

.footer__social a {

    font-size: 1.4rem;

    transition: 0.3s;
}

.footer__social a:hover {

    color: var(--green-light);
}


/* ========================================
   SCROLLBAR
======================================== */

::-webkit-scrollbar {

    width: 8px;
}

::-webkit-scrollbar-track {

    background: #1f1f1f;
}

::-webkit-scrollbar-thumb {

    background: rgba(255, 255, 255, 0.25);

    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {

    background: rgba(255, 255, 255, 0.45);
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 992px) {

    .footer__container {

        grid-template-columns: 1fr;

        gap: 2rem;

        text-align: center;

        justify-items: center;
    }

    .footer__links,
    .footer__social,
    .footer__copyright {

        justify-self: center;
    }

}

@media (min-width: 769px) and (max-width: 1200px) {

    .navbar {

        width: 95%;
    }

    .navbar__logo img {

        width: 95px;
    }

    .navbar__brand span {

        font-size: 1.3rem;
    }

    .navbar__menu {

        gap: 1rem;
    }

    .navbar__item > a {

        font-size: 0.9rem;
    }

}

@media (max-width: 768px) {

    .section-title {

        flex-direction: column;
    }

    .section-line {

        display: none;
    }

    .navbar {

        flex-direction: column;

        height: auto;

        padding: 1rem 0;

        gap: 1rem;
    }

    .navbar__logo img {

        width: 90px;
    }

    .navbar__brand span {

        font-size: 1.2rem;
    }

    .navbar__item > a {

        font-size: 0.9rem;
    }

    .navbar__menu {

        flex-wrap: wrap;

        justify-content: center;

        max-width: 320px;

        margin: 0 auto;

        row-gap: 0.8rem;

        column-gap: 1.5rem;
    }

    .footer__links {

        flex-wrap: wrap;

        justify-content: center;

        white-space: normal;

        row-gap: 0.5rem;
    }

    .dropdown__menu {

        left: 50%;

        right: auto;

        min-width: 220px;

        max-width: calc(100vw - 30px);

        transform: translateX(-50%) translateY(10px);
    }

    .dropdown-open .dropdown__menu {

        transform: translateX(-50%) translateY(0);
    }

    .facilities__title h1.extends-title {

        font-size: 2.3rem !important;
        line-height: 1.15 !important;
        word-break: break-word;

    }

}