/* Popup de Sectores */
.sectores-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.sectores-popup.active {
    display: flex !important;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.popup-content {
    position: relative;
    background: #2a2a2a;
    border-radius: 12px;
    width: 1000px;
    height: 600px;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 10000;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #1a1a1a;
    border-bottom: 1px solid #444;
}

.popup-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.popup-nav {
    display: flex;
    gap: 10px;
}

.popup-nav-prev,
.popup-nav-next {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
}

.popup-nav-prev:hover,
.popup-nav-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.popup-body {
    display: flex;
    flex: 1;
}

.popup-image {
    flex: 1;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-info {
    flex: 1;
    padding: 40px;
    background: #2a2a2a;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popup-title {
    color: #ffffff !important;
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.popup-subtitle {
    color: #ccc;
    font-size: 16px;
    margin: 0 0 20px 0;
    font-style: italic;
}

.popup-subtitle h3 {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin: 15px 0 8px 0;
    font-style: normal;
}

.popup-subtitle h3:first-child {
    margin-top: 0;
}

.popup-subtitle ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.popup-subtitle li {
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 6px;
    padding-left: 20px;
    position: relative;
    font-style: normal;
}

.popup-subtitle li::before {
    content: '•';
    color: #ccc;
    font-size: 14px;
    position: absolute;
    left: 0;
    top: 0;
}

.popup-subtitle p {
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
    font-style: normal;
}

.popup-subtitle-item {
    color: #fff;
    font-size: 16px;
    font-weight: normal;
    margin: 0 0 8px 0;
    padding-left: 20px;
    position: relative;
}

.popup-subtitle-item::before {
    content: '•';
    color: #ccc;
    position: absolute;
    left: 0;
    top: 0;
}

.popup-subtitle-item:last-child {
    margin-bottom: 0;
}

.popup-services {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popup-services li {
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 6px;
    padding-left: 40px;
    position: relative;
}

.popup-services li::before {
    content: '•';
    color: #ccc;
    font-size: 16px;
    position: absolute;
    left: 20px;
    top: 0;
}

/* Hacer los iconos clickeables */
.sector-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.sector-item:hover {
    transform: scale(1.05);
}

/* Estilos para contenido WYSIWYG */
.popup-services-html {
    margin: 0;
    padding: 0;
}

.popup-services-html ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popup-services-html li {
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 6px;
    padding-left: 40px;
    position: relative;
}

.popup-services-html li::before {
    content: '•';
    color: #ccc;
    font-size: 16px;
    position: absolute;
    left: 20px;
    top: 0;
}

.popup-services-html p {
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        height: 90%;
        flex-direction: column;
    }
    
    .popup-body {
        flex-direction: column;
    }
    
    .popup-image {
        height: 200px;
        flex: none;
    }
    
    .popup-info {
        padding: 20px;
        flex: 1;
    }
    
    .popup-title {
        font-size: 24px;
    }
    
    .popup-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .popup-services li {
        font-size: 14px;
        margin-bottom: 8px;
    }
} 