:root {
    --color-white: #fff;
    --color-black: #000;

    --gris-claro: #F4F4F4;
    --gris-claro-light: #F8F8F8;

    --search-mobile: #F3F2F2;
    --background-inputs: #D9D9D94D;
    --background-inputs-n: #D9D9D9;
    --color-icons: #686868;
    --dark-green: #056E00;
    --color-red: #FF0000;
    --color-warning: #ffc107;
    --background-footer: #333333;
    --details-li: #F2EFEF;

    --plomo2: #E5E4E4;

    --time-color: #00BBFF;
    --whatsapp-color: #25d366;

    --size-14-16: clamp(14px, 1.2vw, 16px);
    --size-15-19: clamp(15px, 2vw, 19px);
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Light.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Black.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* @font-face {
    font-family: 'Poppins Medium';
    src: url('../fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins Bold';
    src: url('../fonts/Poppins-Black.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
} */

* {
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
    font-family: 'Poppins';
}

a,
p,
span,
h1,
h2,
h3,
h4,
h5,
button,
label,
strong,
b,
dd,
dt {
    line-height: 1;
    text-decoration: none;
    padding: 0px;
    margin: 0px;
}

textarea {
    resize: none;
}

button,
input[type='button'] {
    padding: 0px;
    margin: 0px;
    line-height: 1;
    border: none;
    background-color: transparent;
    height: min-content;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
}

a {
    cursor: pointer;
}

.shadow-lvl4 {
    box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.4);
}

.shadow-lvl4-white {
    box-shadow: 0px 0px 5px 1px rgba(255, 255, 255, 0.4);
    -webkit-box-shadow: 0px 0px 5px 1px rgba(255, 255, 255, 0.4);
    -moz-box-shadow: 0px 0px 5px 1px rgba(255, 255, 255, 0.4);
}

.slight-shadow {
    box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.1);
}

.slight-shadow-white {
    box-shadow: 0px 0px 5px 1px rgba(255, 255, 255, 0.1);
    -webkit-box-shadow: 0px 0px 5px 1px rgba(255, 255, 255, 0.1);
    -moz-box-shadow: 0px 0px 5px 1px rgba(255, 255, 255, 0.1);
}

.w-100 {
    width: 100% !important;
}

body {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-top: 90px;
}

body:has(.fullscreen){
    overflow: hidden;
}


.content-in-line {
    margin: auto;
    /* width: 100%; */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--gap-selected);
}

#top-nav {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    padding: 0px 20px;
    z-index: 1;
    background-color: var(--color-white);
}

#top-nav>nav {
    width: inherit;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: start;
}

#top-nav>nav>a:first-child {
    overflow: hidden;
    height: 80px;
}

#top-nav>nav img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

#top-nav>nav span {
    font-size: 42px;
    width: 42px;
    color: var(--color-icons);
}

#top-nav>nav>form {
    flex: 1;
    background-color: var(--gris-claro);
    border-radius: 12px;
    padding: 5px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#top-nav>nav input {
    border: none;
    background-color: inherit;
    outline: none;
    font-size: 18px;
    width: 100%;
}

.shadow-lvl2-bottom {
    box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.2);
}

#top-nav>nav>a:last-child,
#top-nav>nav>button:last-child {
    width: 50px;
    height: 50px;
    aspect-ratio: 1/1;
    border-radius: 50%;
}

#top-nav>nav>a:last-child img,
#top-nav>nav>button:last-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}


#nav-main {
    position: fixed;
    left: 0px;
    top: 100px;
    border-radius: 0px 20px 20px 0px;
    background-color: var(--dark-green);
    z-index: 1;
}

#nav-main>nav>ul {
    display: flex;
    flex-direction: column;
    width: min-content;
    list-style: none;
}

#nav-main>nav>ul>li {
    position: relative;
}

#nav-main>nav>ul>li>a,
#nav-main>nav>ul>li>button {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    text-align: center;
    justify-content: start;
    font-size: 12px;
    color: var(--color-white);
    padding: 10px;

    --color-selected: var(--color-white);
}

#nav-main>nav>ul>li>button {
    border: none;
    background-color: transparent;
    outline: none;
}


#nav-main>nav>ul>li.option-mob>button,
#nav-main>nav>ul>li>a:hover,
#nav-main>nav>ul>li>button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

#sub-menu-mobile {
    position: absolute;
    bottom: 110%;
    left: -30%;
    display: none;
    flex-direction: column;
    width: min-content;
    border-radius: 10px;
    list-style: none;
    background-color: var(--color-white);
}

#sub-menu-mobile.show {
    display: flex;
}

#sub-menu-mobile>li>a {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 10px;
    color: var(--dark-green);
    font-size: 12px;
    --color-selected: var(--dark-green);
}



.icon-menu {
    fill: var(--color-selected) !important;
    color: var(--color-selected);
    width: 22px;
}

main {
    min-height: calc(100vh - 90px);
    min-height: calc(100dvh - 90px);
    height: auto;
    width: 100%;
    /* background-color: rgba(130, 130, 130, 0.3); */
    padding: 0px 100px;
}



.container {
    width: 100%;
    margin: auto;
    padding: 40px 100px;
    background-color: var(--background-footer);
}

.container * {
    color: var(--color-white);
}


.top-text {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    font-weight: bold;
}

.grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 30px;
}

.grid>div {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.logo {
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo>h1 {
    font-size: 42px;
    color: var(--color-white);
}

.logo>.icon-menu {
    font-size: 42px;
    width: 42px;
    --color-selected: var(--color-white);
}

.description {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 15px;
}

.section h3 {
    margin-bottom: 10px;
}

.section i {
    font-size: 28px;
    margin-bottom: 10px;
}

.section ul {
    list-style: none;
    padding: 0;
    font-size: 14px;
    line-height: 1.8;
}

.social {
    margin-top: 20px;
}

.social>.icon-menu {
    font-size: 40px;
    width: 40px;
    aspect-ratio: 1/1;
    --color-selected: var(--dark-green);
    border-radius: 50%;
    cursor: pointer;
}

footer {
    background: var(--dark-green);
    text-align: center;
    padding: 15px;
    font-size: 13px;
    color: var(--color-white);
}

.option-mob {
    display: none;
}

#bs-login {
    display: none;
}

#bs-login.active {
    display: flex;
}


.black-screen {
    position: fixed;
    z-index: 9;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100dvh;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);

    display: none;
    justify-content: center;
    align-items: center;
}

.black-screen>div {
    padding: 20px;
    width: 450px;
    display: flex;
    flex-direction: column;
    gap: 35px;
    align-items: center;
    justify-content: start;
    background-color: var(--color-white);
    border-radius: 16px;
    position: relative;
}

.black-screen>div>button[type=button] {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1;
    background-color: #C6C6C6;
    border-radius: 10px;
    padding: 5px 10px;
}

.black-screen>div>button[type=button] .material-icons {
    font-size: 30px;
    color: var(--color-black);
}

.black-screen>div svg {
    width: 130px;
    font-size: 130px;
}

.black-screen>div>form {
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    justify-content: start;
}

.black-screen>div>form.enable {
    display: flex;
}

.black-screen>div>form>h2 {
    color: var(--dark-green);
    font-size: 22px;
    font-weight: 500;
}

.black-screen>div>form label {
    font-size: 12px;
    color: var(--color-icons);
    width: min-content;
}


.black-screen>div>form>span {
    padding: 5px 15px;
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 5px;
    background-color: var(--background-inputs);
    border-radius: 8px;
}

.black-screen>div>form>span>input {
    font-size: 14px;
    color: var(--color-icons);
    border: none;
    flex: 1;
    outline: none;
    padding: 0px;
    background-color: transparent;
}


.black-screen>div a,
.black-screen>div>form button {
    width: 180px;
    padding: 4px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    background-color: var(--dark-green);
    border-radius: 8px;
    border: none;
    line-height: 1;
    cursor: pointer;
    gap: 2px;
    font-size: 12px;
}

.black-screen>div>a .material-icons,
.black-screen>div>form .material-icons {
    /* width: 5px !important; */
    font-size: 16px !important;
}

.one-rows {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
}

.two-rows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.three-rows {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 10px;
    align-items: center;
}

.leaflet-marker-icon {
    filter: hue-rotate(260deg);
}

.standard-search-form {
    width: max-content;
    max-width: 100%;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.standard-search-form>h2 {
    font-size: clamp(18px, 2vw, 25px);
    font-weight: 500;
    color: var(--dark-green);
}


.standard-search-form>div {
    display: flex;
    flex-flow: row nowrap;
    width: 350px;
    max-width: 100%;
    border-radius: 20px;
    border: 2px solid var(--dark-green);
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.standard-search-form>div>button {
    width: 35px;
}

.standard-search-form>div>button>span.material-icons {
    color: var(--dark-green);
    font-weight: 500;
    font-size: 26px;
    padding: 0;
    margin: 0;
}

.standard-search-form input {
    border: none;
    outline: none;
    flex: 1;
    order: 2;
    padding: 5px 10px;
    padding-left: 0px;
    font-size: clamp(13px, 1.2vw, 16px);
    background-color: inherit;
    /* height: 100%; */
}

.line-hr {
    display: grid;
    width: 100%;
    place-items: center;
    --color-selected: var(--color-icons)
}

.line-hr * {
    grid-area: 1/1;
}

.line-hr>hr {
    width: 100%;
    z-index: -1;
    border-top: 1.6px solid var(--color-selected);
}

.line-hr>span {
    font-weight: 500;
    font-size: clamp(15px, 2vw, 18px);
    color: var(--color-selected);
    background-color: var(--color-white);
    padding: 0px 15px;
}

.logo__icon {
    position: relative;
    display: inline-block;

    line-height: 1;
    padding: 0px;
    margin: 0px;
    height: clamp(30px, 5vw, 60px);
    width: clamp(30px, 5vw, 60px);
    /* width: 60px; */
    /* height: 60px; */
}

/* Círculo blanco con borde verde */
.logo__icon::after {
    content: "";
    position: absolute;
    width: 36%;
    height: 36%;
    background: var(--dark-green);
    border: 3px solid #fff;
    border-radius: 50%;

    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media(max-width:1024px) {
    .grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

@media(max-width:700px) {
    .container {
        padding: 40px;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width:630px) {
    #top-nav>nav {
        justify-content: space-between;
    }

    #top-nav>nav>form {
        display: flex;
        flex: 0;
        width: min-content;
        background-color: transparent;
        border-radius: 50%;
        padding: 0px;
        margin: 0px;
        align-items: center;
    }

    #top-nav>nav input {
        display: none;
    }

    footer {
        margin-bottom: 60px;
    }

    #nav-main {
        top: calc(100% - 60px);
        width: 100%;
        height: 60px;
        background-color: var(--color-white);
        border-radius: 20px 20px 0px 0px;
    }

    #nav-main>nav>ul>li>a,
    #nav-main>nav>ul>li>button {
        --color-selected: var(--dark-green);
        color: var(--dark-green);
    }

    #nav-main>nav>ul {
        width: 100%;
        flex-direction: row;
        justify-content: space-evenly;
    }

    #nav-main>nav>ul>li.option-desk {
        display: none;
    }

    #nav-main>nav>ul>li.option-mob {
        display: flex;
    }

    main {
        padding: 0px 15px;
    }
}

@media(max-width:485px) {
    .black-screen>div {
        width: 95%;
    }

    .standard-search-form>div {
        background-color: var(--search-mobile);
        border-radius: 10px;
        border: none;
    }

    .standard-search-form input {
        padding: 8px 10px;
    }

    .standard-search-form>div>button>span.material-icons {
        color: var(--color-icons);
    }

    .two-rows {
        grid-template-columns: 1fr;
    }
}