:root {
    /* Colores base */
    --bg-main:       #faf8f2;  /* crema general */
    --bg-white:      #ffffff;  /* cajas, formularios, galerías */
    --green-main:    #4A7C43;  /* verde principal */
    --green-hover:   #3a6335;  /* hover botones */
    --green-soft:    #789d6a;  /* detalles suaves */
    --text-main:     #3b3b3b;  /* texto principal */

    --primary: #DD946F ;
    --primary-hover: #CD7D7C;                
    --background: #261E5A;
    --navbar-height: 60px;
}
.background {
    display: block;
    width: 100vw;
    height: 100vh;
    background-image: url(background.jpg);
    opacity: 1;
    z-index: 1;
    background-size: cover;
    background-repeat: no-repeat;
}

.menu__wrapper {
    display: flex;
    position: relative;
    flex-direction: row;
    z-index: 10;   
}

.menu__bar {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    /* padding-right: 24px; */
    gap: 32px;
    background-color: var(--background);
    height: 60px;
    opacity: 0.9;
}

.menu-icon {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    border: 0;
    background: transparent;
    padding: 6px;
}

.menu-icon img {
    height: 32px;
    width: 32px;
}

.navigation {    
    display: flex;
    flex-direction: row;
    list-style-type: none;
    align-items: center;
    gap: 24px;
    padding: 0px;
    background-color: var(--background);
}

.site-brand, .navigation > li > a {
    margin: 0 15px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    white-space: nowrap;
    color: white;
    text-decoration: none;
    font: 600 1.125rem/1.2 'Playfair Display', Georgia, serif;
}

.logo {
    margin-left: 16px;
    width: 32px;
    height: 32px;
    cursor: pointer;
} 
#loginButton{
    margin-right: 10px;
}
                    
.navigation > li {
  display: flex;
  position: relative;
  cursor: pointer;
  font-size: 1.25rem;
}

.navigation > li > a, .navigation a.active {
    font-size: 1rem;
    color: white;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
    background-image: linear-gradient(
        to right,
        var(--primary-hover),
        var(--primary-hover) 50%,
        white 50%
    );
    background-size: 200% 100%;
    background-position: -100%;
    display: inline-block;
    padding: 3px 0;
    position: relative;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.2s ease-in-out;
}

.site-brand:focus-visible,
.navigation > li > a:focus-visible,
.menu-icon:focus-visible {
    outline: 3px solid #d9a066;
    outline-offset: 4px;
}

.navigation > li > a:before {
    content: '';
    background: var(--primary-hover);
    display: block;
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    transition: all 0.2s ease-in-out;
}
  
.navigation > li > a:hover, .navigation a.active {
    background-position: 0;
}

.navigation > li > a:hover::before, .navigation a.active::before {
    width: 100%;
}

@media (min-width: 1201px) {
    .menu-icon {
        display: none;
    }
}

@media (max-width: 1200px) {
    .menu__bar {
        justify-content: space-between;
        gap: 0;
        padding: 0 16px;
    }

    .menu__bar > div {
        display: none;
    }

    .logo {
        margin-left: 0;
    }

    .menu-icon {
        margin-left: auto;
    }
    
    .navigation {
        display: none;
    }

    .menu-icon {
        display: flex;
    }

    .navigation--mobile {
        top: var(--navbar-height);
        position: fixed;
        left: 0;
        right: 0;
        display: flex;
        padding: 28px 32px;
        min-height: calc(100vh - var(--navbar-height));
        background-color: var(--background);       
        gap: 16px;
        flex-direction: column;
        align-items: flex-start;
        opacity: 0.95;
        animation: fadein 0.3s forwards;
    }

    @keyframes fadein {
        0% {
            opacity: 0;
            width: 0;
            height: 0;
        }
        100% {
            opacity: 1;
            width: 100%;
            height: calc(100vh - var(--navbar-height));
        }
    }

    .navigation--mobile--fadeout {
        animation: fadeout 300ms forwards;
    }

    @keyframes fadeout {
        0% {
            opacity: 1;
            width: 100%;
            height: calc(100vh - var(--navbar-height));
        }
        100% {
            opacity: 0;
            width: 0;
            height: 0;
        }
    }

}

.whatsapp-float {
    align-items: center;
    background: #25d366;
    border-radius: 999px;
    bottom: 28px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    color: #fff;
    display: inline-flex;
    gap: 8px;
    min-height: 48px;
    padding: 12px 18px;
    position: fixed;
    right: 28px;
    text-decoration: none;
    z-index: 20;
}

.whatsapp-float:hover {
    background: #1fb457;
    color: #fff;
}

.whatsapp-float:focus-visible {
    outline: 3px solid #d9a066;
    outline-offset: 4px;
}

.whatsapp-float__icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    display: inline-flex;
    font-size: 1.15rem;
    height: 28px;
    justify-content: center;
    line-height: 1;
    width: 28px;
}

.whatsapp-float__text {
    font-size: 0.95rem;
    font-weight: 700;
}

@media (max-width: 780px) {
    .whatsapp-float {
        bottom: 16px;
        left: 14px;
        min-height: 44px;
        padding: 10px 14px;
        right: auto;
    }

    .whatsapp-float__icon {
        font-size: 1rem;
        height: 25px;
        width: 25px;
    }

    .whatsapp-float__text {
        font-size: 0.9rem;
    }
}







/***FOOTER***/
/* ===== Footer mejorado ===== */

.footer {
    text-align: center;
    padding: 25px 10px;
    color: #ddd;
    font-size: 0.9rem;
    background-color: #000; /* o tu color actual */
}

.footer a {
    color: #d9a066;  /* tono cálido elegante */
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer__top {
    margin-bottom: 8px;
}

.footer__links a {
    margin: 0 4px;
}

.footer__bottom {
    margin-top: 5px;
    opacity: 0.8;
    font-size: 0.85rem;
}

/***FIN FOOTER***/
