/* LIGHT */
@font-face {
    font-family: 'BlairITC';
    src: url('../fonts/ITC Blair Light.woff2') format('woff2'),
         url('../fonts/BlairITC-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* MEDIUM (Regular) */
@font-face {
    font-family: 'BlairITC';
    src: url('../fonts/ITC Blair Medium.woff2') format('woff2'),
         url('../fonts/BlairITC-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* BOLD */
@font-face {
    font-family: 'BlairITC';
    src: url('../fonts/ITC Blair Bold.woff2') format('woff2'),
         url('../fonts/BlairITC-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.ff-Blair {
    font-family: 'BlairITC', sans-serif !important;
}
.fc-blue {
    color: var(--p7-blue) !important;
    font-weight: 700 !important;
    font-size: 24px !important;
    letter-spacing: 8px;
}
.fc-grey {
    color: #7c7d7f !important;
    font-weight: 500 !important;
}

.btn-descubre {
    margin-left: 0 auto !important;
    padding: 12px 32px;
    border-radius: 24px;
    border: none;
    background: #fff;
    font-size: 12px;
    transition: .5s ease;
    color: #000;
}

.btn-descubre:hover {
    background-color: var(--p7-blue);
    color: #fff;
    transform: translateY(-3px);
}
/* Estilos del Widget de WhatsApp */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-direction: row-reverse; /* El texto aparece a la izquierda del icono */
}

.ws-12 {
    word-spacing: 8px !important;
}

.whatsapp-content {
    width: 60px;
    height: 60px;
    background-color: #25d366; /* Verde oficial WhatsApp */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
    position: relative;
}

.whatsapp-content img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

/* Efecto de Pulso (Animación Cool) */
.whatsapp-content::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.7;
    z-index: -1;
    animation: pulse-whatsapp 2s infinite;
}

/* Tooltip / Mensaje al lado */
.whatsapp-tooltip {
    background: #1a1a1a;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    border: 1px solid #333;
}

/* Hover Effects */
.whatsapp-widget:hover .whatsapp-content {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-widget:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Animación de Pulso */
@keyframes pulse-whatsapp {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .whatsapp-widget { bottom: 20px; right: 20px; }
    .whatsapp-content { width: 50px; height: 50px; }
    .whatsapp-tooltip { display: none; } /* Ocultar texto en móviles para no tapar contenido */
}

/* RESET PARA LANDING */
.landing-page-body {
    margin: 0;
    padding: 0;
    background-color: #000;
}

/* Forzamos que cada sección sea un bloque independiente de 100% ancho */
.section-wrapper {
    width: 100% !important;
    min-height: 100vh;
    display: block; /* Evita que se pongan de lado */
    position: relative;
    overflow: hidden;
}

/* Fondos Diferenciados */
.hero-bg {
    background: url('../img/back-login.png') no-repeat center center fixed;
    background-size: cover;
}

.benefits-bg {
    background: url('../img/hero-comunidad.png') no-repeat center center;
    background-size: cover;
    border-top: 1px solid #333;
}

/* Tipografías Especiales */
.font-montserrat { font-family: 'Montserrat', sans-serif !important; }

/* Estilo de Tarjetas Mejorado */
.benefit-card-premium {
    height: 450px;
    border-radius: 40px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: 0.4s ease;
}

.benefit-card-premium:hover {
    transform: translateY(-15px);
    box-shadow: 0 10px 30px rgba(0, 180, 216, 0.2);
}

.benefit-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    text-align: center;
}

.text-card {
    font-size: 1.1rem;
    line-height: 1.3;
    color: #fff;
    margin: 0;
}

/* Ajustes Responsive */
@media (max-width: 992px) {
    .section-wrapper { min-height: auto; padding: 80px 0; }
    .benefit-card-premium { height: 320px; border-radius: 25px; }
    .text-card { font-size: 0.85rem; }
    .btn-descubre {
        font-size: 8px;
    }
    .btn-miembro-blanco {
        font-size: 8px;
    }
}

 :root { --p7-blue: #00B4D8; }
        body { background-color: #f4f7f6; font-family: 'Montserrat', sans-serif; padding-top: 75px; }
        
        .p7-navbar { background: #1a1a1a; padding: 10px 25px; color: white; position: fixed; width: 100%; top: 0; z-index: 1100; height: 65px; display: flex; align-items: center; justify-content: space-between; }
        .p7-navbar img {
            background-color: #000;
        }
        .user-img { width: 35px; height: 35px; border-radius: 50%; border: 2px solid var(--p7-blue); }

        .sidebar { min-height: calc(100vh - 65px); background: white; border-right: 1px solid #e9ecef; padding: 20px 15px; position: fixed; width: inherit; overflow-y: auto; z-index: 1000; }
        @media (min-width: 768px) { main { margin-left: 16.666667%; width: 83.333333%; padding: 30px; } }

        .nav-link { color: #444; font-weight: 600; text-transform: uppercase; font-size: 0.72rem; padding: 12px; display: flex; align-items: center; justify-content: space-between; border: none; background: transparent; width: 100%; transition: 0.2s; }
        .submenu-container { padding-left: 15px; display: none; margin-bottom: 10px; }
        .submenu-container.show { display: block; }
        
        .submenu-link { font-size: 0.7rem; color: #666; text-decoration: none; display: block; padding: 8px 10px; text-transform: uppercase; border-radius: 4px; margin-bottom: 2px; }
        .submenu-link:hover { background: #f0faff; color: var(--p7-blue); }
        .active-p7 { background: #e0f2fe !important; color: var(--p7-blue) !important; font-weight: 800 !important; border-left: 3px solid var(--p7-blue); }

        /* Estilos de Tarjetas */
        .client-card { background: white; border: 1px solid #edf2f7; border-radius: 12px; padding: 25px; height: 100%; transition: 0.3s; }
        .logo-container { width: 70px; height: 70px; border-radius: 50%; overflow: hidden; border: 2px solid #f0f2f5; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; background: #f8fafc; }
        .logo-container img { width: 100%; height: 100%; object-fit: cover; }
        .client-name { color: var(--p7-blue); font-weight: 700; text-transform: uppercase; font-size: 0.95rem; margin: 0; }
        .client-giro { font-size: 0.72rem; color: #888; text-transform: uppercase; margin-bottom: 15px; display: block; }
        
        .info-row { font-size: 0.75rem; margin-bottom: 10px; color: #4a5568; display: flex; align-items: center; gap: 12px; }
        .info-row i { color: var(--p7-blue); font-size: 1.1rem; }
        
        /* HOVER PARA LINKS DE CARDS */
        .info-row a { text-decoration: none; color: inherit; transition: all 0.2s ease-in-out; }
        .info-row a:hover { color: var(--p7-blue); transform: translateX(3px); display: inline-block; }

        .btn-mobile-filter { background-color: var(--p7-blue) !important; border: none;position: fixed; bottom: 25px; right: 25px; z-index: 1050; border-radius: 50px; padding: 8px 16px; box-shadow: 0 8px 20px rgba(0,180,216,0.3); font-weight: 400; }
        #sobreNosotrosSection {border-radius: 12px; padding: 25px; margin-bottom: 30px; display: none; }
        
.p7-navbar-black {
    background: #1a1a1a; /* Fondo gris oscuro casi negro */
    height: 70px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1200;
    border-bottom: 1px solid #333;
}

/* El círculo azul de la sede */
.sede-circle-blue {
    width: 35px;
    height: 35px;
    background-color: #00B4D8; /* El azul P7 */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 0 10px rgba(0, 180, 216, 0.4);
}

.sede-text {
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

/* Botón de usuario/logout */
.btn-user-config {
    background: transparent;
    border: 1px solid #444;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.btn-user-config:hover {
    background: #ff4d4d;
    border-color: #ff4d4d;
}

/* Ajuste para que el logo no se mueva */
.header-center {
    min-width: 200px;
}

.community-banner {
    background: url('../img/back-card.png') no-repeat center;
    background-size: cover;
    border-radius: 15px;
    overflow: hidden;
    height: 120px;
    position: relative;
}

.banner-overlay {
    background: rgba(0, 0, 0, 0.1); /* Oscurece el fondo para que resalte el texto */
    height: 100%;
    padding: 16px;
}
.banner-unete {
    background-color: #929398;
    border-radius: 16px;
    padding: 8px 16px;
    font-weight: 300 !important;
    margin-left: 22rem;
    color: #fff;
}
@media (max-width: 980px) {
    .banner-unete {
        margin-left: 0rem !important;
    }
    .banner-text {
        font-size: 10px !important;
    }
    .community-banner {
        background: url('../img/back-card.png') no-repeat left;
    }
}

.banner-text { letter-spacing: 1px; font-size: 1.1rem; color: #fff}

.btn-join {
    background-color: var(--p7-blue);
    color: white;
    font-weight: 400;
    padding: 12px 25px;
    border-radius: 10px;
    transition: 0.3s;
}

.btn-join:hover {
    background-color: #008ca8;
    color: white;
    transform: scale(1.05);
}

@media (max-width: 1208px) {
    .banner-unete {
        margin-left: 4rem;
    }
}

@media (max-width: 768px) {
    .banner-text { font-size: 0.8rem; }
    .community-banner { height: auto; padding: 15px 0;}
    .btn-join {
        font-size: 12px !important;
        padding: 8px;
        margin-left: 8px;
    }
}

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

.login-body {
    background: url('../img/back-login.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    align-items: center;
    padding-top: 0px !important;
}

.login-card {
    background: rgba(10, 10, 10, 0.85); /* Fondo oscuro transparente */
    backdrop-filter: blur(15px); /* Efecto de desenfoque */
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.control {
    background: #333 !important;
    border: none !important;
    color: white !important;
    padding: 12px;
}

.control::placeholder { color: #888; font-size: 0.85rem; }

.input-group-text { width: 45px; justify-content: center; }

.btn-info {
    background-color: #00B4D8; /* Color P7 Blue */
    border: none;
    border-radius: 12px;
    transition: 0.3s;
}

.btn-info:hover { background-color: #008ca8; transform: translateY(-2px); }

.input-error {
    border: 1px solid #ff4d4d !important;
    background-color: rgba(255, 77, 77, 0.05) !important;
}

.x-small { font-size: 0.7rem; }
.letter-spacing-2 { letter-spacing: 2px; }

/*COMUNIDAD*/

/* Tipografías */
.ff-Blair {
    font-family: 'Blair', sans-serif; /* Asegúrate de tener el @font-face cargado */
    letter-spacing: 2px;
}

/* Botón Superior Derecha (Azul) */
.btn-acceso-comunidad {
    background-color: var(--p7-blue);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-acceso-comunidad:hover {
    background-color: #fff;
    color: #000;
}

/* Botón Grande Blanco (Central) */
.btn-miembro-blanco {
    background-color: #fff;
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    padding: 15px 40px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn-miembro-blanco:hover {
    background-color: var(--p7-blue);
    color: #fff;
    transform: translateY(-3px);
}

/* Ajustes de espaciado para la Landing */
.text-info { color: #00B4D8 !important; }
.letter-spacing-2 { letter-spacing: 2px; }

/* Header Principal de la Landing */
.header-landing {
    background-color: #1a1a1a; /* Color oscuro P7 Black */
    height: 80px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #333;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Contenedor del Logo */
.header-logo img {
    height: 40px;
    width: auto;
}

.p7-co {height: 75px; margin: 0 auto; margin-top: 24px; }

@media (max-width: 600px) {
    .title-p7-welcome { font-size: 12px !important; }
    .title-p7 { font-size: 20px !important; }
    .subtitle-p7 { font-size: 12px !important; margin-top: 12px;}
    .p7-co { height: 25px; margin-top: 12px;}
    .btn-descubre {font-size: 8px;}
    .p-5 {padding-top: 1rem !important; padding-bottom: 1rem !important;}
}

/* Botón "ACCESO A COMUNIDAD" (Azul P7) */
.btn-acceso-comunidad {
    background-color: #00B4D8; /* Azul característico */
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
}

.btn-acceso-comunidad:hover {
    background-color: #ffffff;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}
.text-blue {
    color: var(--p7-blue) !important;
}

/* Contenedor Principal de la Landing */
.hero-full-screen {
    width: 100%;
    height: 100vh; /* Ocupa exactamente el alto de la ventana del navegador */
    display: flex;
    align-items: center; /* Centrado Vertical */
    justify-content: center; /* Centrado Horizontal */
    background: url('../img/back-login.png') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

/* Ajuste para que el contenido no quede pegado al Header si este es fixed */
.hero-content {
    width: 100%;
    padding-top: 80px; /* Compensa la altura de tu p7-navbar-black */
}

/* Asegurar que la segunda sección empiece justo después */
.benefits-bg {
    width: 100%;
    min-height: 100vh;
    padding: 100px 0;
    background: url('../img/hero-comunidad.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center; /* También centramos el contenido de beneficios verticalmente */
}

/* Reset de márgenes de Bootstrap que podrían empujar el contenido */
/*.row {
    margin-right: 0;
    margin-left: 0;
}*/

.fs-bold {
    font-weight: 700;
}

@media (max-width: 992px) {
    .btn-miembro-blanco {
        font-size: 8px;
    }
    .section-wrapper .display-6 {
        font-size: 12px !important;
    }
    .btn-acceso-comunidad {
        padding: 8px 12px;
        font-size: 8px;
    }
}

/* Estilos para la página 404 */
.error-body {
    background: radial-gradient(circle, #1a1a1a 0%, #000 100%); /* Efecto de profundidad */
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    overflow: hidden;
    text-align: center;
}

.error-container {
    padding: 20px;
    z-index: 2;
}

/* El 404 con degradado o azul P7 */
.error-code {
    font-size: 10rem;
    color: transparent;
    -webkit-text-stroke: 2px #00B4D8; /* Contorno azul */
    margin-bottom: -20px;
    opacity: 0.8;
    letter-spacing: 15px;
}

/* Reutilizamos tu botón blanco pero con ajuste de padding */
.btn-miembro-blanco {
    background-color: #fff;
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 12px 35px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s ease-in-out;
    letter-spacing: 1px;
}

.btn-miembro-blanco:hover {
    background-color: #00B4D8;
    color: #fff;
    transform: translateY(-3px);
}

/* Ajuste responsive para el número gigante */
@media (max-width: 768px) {
    .error-code {
        font-size: 6rem;
    }
}
