.glass-nav {
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(10px);
}

.hero-bg {
    background-image: linear-gradient(rgba(44, 74, 62, 0.7), rgba(44, 74, 62, 0.5)), url('../assets/img/banner-principal.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
/* Fallback para la vista previa */
@supports not (background-image: url('../assets/img/banner-principal.jpg')) {
    .hero-bg {
        background-image: linear-gradient(rgba(44, 74, 62, 0.7), rgba(44, 74, 62, 0.5)), url('../assets/img/portada-alternativa.jpg');
    }
}

.hide-scrollbar::-webkit-scrollbar { display: none; }
.gallery-item { transition: all 0.3s ease; }
.gallery-item.hidden { display: none; }

/* Botones flotantes */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fab {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}
.fab:hover { transform: scale(1.1); }
.fab-wsp { background-color: #25D366; }
.fab-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.fab-fb { background-color: #1877F2; }

/* Links del navbar activos */
.nav-link.active {
    color: #d4a373;
    font-weight: 600;
}
.nav-link.active::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #d4a373;
    position: absolute;
    bottom: -4px;
}
/* ===== Ajuste del banner para celulares ===== */
@media (max-width: 640px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    #inicio {
        width: 100% !important;
        height: auto !important;
        min-height: 100vh !important;
        padding: 110px 18px 55px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    #inicio > div {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        display: block !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    #inicio h1 {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto 22px !important;
        padding: 0 !important;
        font-size: 2.15rem !important;
        line-height: 1.12 !important;
        text-align: center !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
        box-sizing: border-box !important;
    }

    #inicio h1 span {
        display: block !important;
        width: 100% !important;
    }

    #inicio p {
        display: block !important;
        width: 100% !important;
        max-width: 420px !important;
        margin: 0 auto 28px !important;
        padding: 0 !important;
        font-size: 1rem !important;
        line-height: 1.5 !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    #inicio > div > div {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 14px !important;
    }

    #inicio a[href="#contacto"] {
        display: inline-block !important;
        width: auto !important;
        max-width: 90% !important;
        margin: 0 auto !important;
        white-space: normal !important;
        text-align: center !important;
    }
}
