/* ===== VISUAL FINAL - ESTILOS ESPECÍFICOS SEWARE ===== */

/* HEADER PLATA */
.seware-header {
    background-color: rgba(192, 192, 192, 0.98) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* LOGO HEADER A COLOR */
.seware-header .header-logo {
    filter: none !important;
    opacity: 1 !important;
}

.seware-header .nav-link {
    color: #333 !important;
    font-weight: 500;
}

.seware-header .nav-link:hover,
.seware-header .nav-link.active {
    color: #1a3d7c !important;
}

/* REDES SOCIALES HEADER */
.header-social {
    display: flex;
    gap: 12px;
    align-items: center;
}

.header-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-social a:hover {
    background: #1a3d7c;
    color: white;
    transform: translateY(-2px);
}

.mobile-social {
    border-top: 1px solid rgba(0,0,0,0.1);
}

.mobile-social a {
    color: #333;
    transition: all 0.3s ease;
}

.mobile-social a:hover {
    color: #1a3d7c;
}

/* BOTONES FLOTANTES */
.floating-buttons {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    border: none;
    cursor: pointer;
}

.floating-btn:hover {
    transform: translateY(-5px);
    color: white;
}

/* BOTÓN WHATSAPP */
.whatsapp-btn {
    background-color: #25d366;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* BOTÓN ARRIBA */
.scroll-top-btn {
    background-color: #1a3d7c !important;
}

.scroll-top-btn:hover {
    background-color: #2a5ba9 !important;
    transform: translateY(-3px);
}

.scroll-top-btn.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    pointer-events: none;
}

/* BOTÓN COMPARTIR - MINI MENÚ */
.share-container {
    position: relative;
}

.share-btn {
    background-color: #ff6b35;
}

.share-btn:hover {
    background-color: #e55a2b;
}

.share-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 15px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.share-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.share-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.share-option:hover {
    background: #f5f5f5;
    color: #1a3d7c;
}

.share-option i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.share-option[data-network="linkedin"] i {
    color: #0077b5;
}

.share-option[data-network="facebook"] i {
    color: #1877f2;
}

.share-option[data-network="whatsapp"] i {
    color: #25d366;
}

.share-option[data-network="copy"] i {
    color: #666;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* HERO CON VIDEO LOCAL */
.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* SECCIÓN EXPERIENCIA - LOGOS CLIENTES */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.client-logo {
    background: white;
    border-radius: 10px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.client-logo img {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* SECCIÓN PARTNERS - LOGOS ALEATORIOS */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
}

.partner-logo {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.partner-logo:hover {
    background: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* FOOTER 4 COLUMNAS - GRIS MÁS CLARO */
.seware-footer {
    background-color: #2d2d2d !important;
    color: #ddd;
    padding: 70px 0 30px;
}

.seware-footer .footer-title {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.seware-footer .footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #4a9eff;
}

.seware-footer .footer-description {
    color: #bbb;
    line-height: 1.7;
    font-size: 0.95rem;
}

.seware-footer .footer-rfc {
    color: #999;
    font-size: 0.85rem;
    font-style: italic;
}

.seware-footer .footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seware-footer .footer-menu li {
    margin-bottom: 10px;
}

.seware-footer .footer-menu a {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.seware-footer .footer-menu a:hover {
    color: #4a9eff;
    padding-left: 8px;
    border-color: rgba(74, 158, 255, 0.3);
}

.seware-footer .contact-item {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.seware-footer .contact-item i {
    color: #4a9eff;
    margin-top: 4px;
    min-width: 20px;
}

.seware-footer .contact-item div {
    color: #bbb;
    line-height: 1.6;
    font-size: 0.95rem;
}

.seware-footer .contact-item strong {
    color: #fff;
    display: block;
    margin-bottom: 3px;
    font-size: 0.95rem;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.footer-social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-icons a:hover {
    background: #4a9eff;
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999;
    font-size: 0.9rem;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #4a9eff;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .seware-footer .row > div {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .clients-grid,
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .client-logo,
    .partner-logo {
        height: 110px;
        padding: 15px;
    }
    
    .seware-footer {
        padding: 50px 0 20px;
    }
    
    .footer-social-icons {
        gap: 10px;
    }
    
    .footer-social-icons a {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .floating-buttons {
        right: 15px;
        bottom: 15px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .share-menu {
        min-width: 160px;
        padding: 12px;
    }
}

@media (max-width: 576px) {
    .clients-grid,
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-links {
        text-align: left !important;
        margin-top: 15px;
    }
    
    .client-logo,
    .partner-logo {
        height: 100px;
        padding: 12px;
    }
}
/* ===== CORRECCIONES BOTÓN COMPARTIR ===== */

/* Asegurar que el menú tenga z-index alto */
.share-menu {
    z-index: 9999 !important;
}

/* Mejorar visibilidad del menú */
.share-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: all !important;
}

/* Mejorar botón compartir */
.share-btn {
    cursor: pointer !important;
    position: relative;
    z-index: 100;
}

/* Asegurar que el contenedor no corte el menú */
.share-container {
    position: relative;
    z-index: 1000;
}

/* Mejorar hover de opciones */
.share-option {
    cursor: pointer !important;
    user-select: none;
}

.share-option:hover {
    background: #f0f7ff !important;
    transform: translateX(3px);
}

/* Feedback visual para copiado */
.share-option.copied {
    background: #4CAF50 !important;
    color: white !important;
}

.share-option.copied i {
    color: white !important;
}

/* Asegurar que los botones flotantes estén sobre todo */
.floating-buttons {
    z-index: 9990 !important;
}

/* Animación suave para el menú */
.share-menu {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}