/* CONFIGURACIÓN GLOBAL */
        html,
        body {
            margin: 0 !important;
            padding: 0 !important;
            width: 100% !important;
            overflow-x: hidden;
            font-family: 'Montserrat', sans-serif;
            background-color: #fcfcfc;
            color: #333;
            scroll-behavior: smooth;
        }

/* ================= BARRA DE NAVEGACIÓN ================= */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    justify-content: space-between;
    display: flex;
    align-items: center;
    padding: 20px 5%;
    z-index: 100;
    box-sizing: border-box;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.brand-name {
            font-family: 'Century Gothic', AppleGothic, sans-serif; 
            color: #ffffff;
            font-size: 1.6rem;
            margin-left: 15px;
            letter-spacing: 1px;
            font-weight: normal;
            text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
        }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-item a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.nav-item a:hover {
    color: #d4af37;
}

/* Indicador visual de la página actual */
.nav-item a.active {
    color: #d4af37;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 4px;
}

.logo-nav {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    object-fit: cover;
}

/* ================= BOTONES FLOTANTES (CLASE BASE) ================= */
.btn-floating {
    position: fixed;
    right: 40px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    text-decoration: none;
    border: 2px solid #ffffff;
    /* Corta la bandera para mantener la forma redonda */
    padding: 0;
    will-change: transform;
    /* Optimiza la animación en móviles */
}

/* --- TEXTO FLOTANTE (Siempre se despliega a la izquierda) --- */
.btn-floating::after {
    content: attr(data-text); 
    position: absolute;
    right: 65px; /* Se coloca justo a la izquierda del botón */
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 6px 12px;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(10px); /* Efecto de empuje hacia la derecha */
    pointer-events: none;
}

/* Efecto hover global */
.btn-floating:hover {
    transform: scale(1.1);
}

.btn-floating:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* --- BOTÓN WHATSAPP --- */

.btn-whatsapp {
    bottom: 95px;
    background-color: #25d366;
    color: #FFF;
    z-index: 99999;
    /* Se mantiene por encima si coinciden */
}

.btn-whatsapp:hover {
    background-color: #128c7e;
}

.btn-whatsapp svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* --- BOTÓN IDIOMA - BANDERA DE MÉXICO --- */
.btn-language {
    bottom: 25px;
    background-color: #fff;
}

.btn-language img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* --- FOOTER --- */
        footer {
            background-color: #1a1a1a;
            color: #ddd;
            padding: 60px 10% 20px;
            text-align: center;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
            text-align: left;
        }

        .footer-logo h4 {
            font-family: 'Playfair Display', serif;
            color: #0eb28d;
            font-size: 1.5rem;
            margin: 0;
        }

        .footer-text {
            font-size: 0.9rem;
            color: #fff;
        }

        .copyright {
            border-top: 1px solid #333;
            padding-top: 20px;
            font-size: 0.8rem;
            color: #7777;
        }

/* ================= RESPONSIVE (MÓVILES) ================= */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 20px 5%;
    }

    .nav-menu {
        gap: 20px;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .info-row {
        text-align: center;
        padding: 40px 5%;
    }

    .btn-floating {
        right: 20px;
        /* Reseteamos la posición izquierda */
    }
    .btn-floating::after {
        display: none !important;
    }
}