/* ===== HERO ===== */
.bolsa-hero {
    position: relative;
    height: 45vh;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bolsa-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bolsa-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(31,52,113,.8), rgba(31,52,113,.6));
}

.bolsa-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.bolsa-hero-content span:first-child {
    letter-spacing: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    opacity: .9;
}

.bolsa-hero-content h1 {
    font-size: 50px;
    font-weight: 800;
    margin: 14px 0;
}

.bolsa-hero-content p {
    font-size: 17px;
    opacity: .9;
    margin: 0;
}




/* ===== HERO DETALLE DE VACANTE ===== */
.vacante-detalle-hero {
    position: relative;
    padding: 60px 0 50px;
    overflow: hidden;
}

.vacante-detalle-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vacante-detalle-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(31,52,113,.85), rgba(31,52,113,.7));
}

.vacante-detalle-hero .container {
    position: relative;
    z-index: 2;
    color: #fff;
}






/* ===== SECCIÓN PRINCIPAL ===== */
.bolsa-section {
    padding: 70px 0 100px;
    background: #f8f9fc;
}

/* ===== FILTROS ===== */
.bolsa-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 50px;
}

.bolsa-filtros a {
    padding: 10px 22px;
    border-radius: 50px;
    border: 1.5px solid #dde1ee;
    background: #ffffff;
    color: #1F3471;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all .3s ease;
}

.bolsa-filtros a:hover { border-color: #1F3471; }

.bolsa-filtros a.activo {
    background: linear-gradient(135deg, #1F3471, #3F5984);
    border-color: transparent;
    color: #fff;
}

/* ===== TARJETA DE VACANTE ===== */
.vacante-card {
    display: block;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #eef0f5;
    padding: 30px 26px;
    height: 100%;
    text-decoration: none;
    transition: all .4s ease;
    position: relative;
}

.vacante-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 40px -20px rgba(31,52,113,.3);
    border-color: transparent;
}

.vacante-card.vacante-destacada {
    border: 1.5px solid #f5c451;
}

.vacante-tag-destacada {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fef6e0;
    color: #b8860b;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.vacante-card h3 {
    font-size: 19px;
    font-weight: 800;
    color: #16213e;
    margin: 0 0 14px;
    line-height: 1.3;
}

.vacante-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.vacante-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #6b7280;
}

.vacante-meta i { color: #1F3471; }

.vacante-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.badge-vacante {
    background: #eef1fa;
    color: #1F3471;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 50px;
}

.vacante-salario {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #16213e;
    font-size: 15px;
    margin-bottom: 18px;
}

.vacante-salario i { color: #1F3471; }

.vacante-ver-mas {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1F3471;
    font-weight: 700;
    font-size: 14px;
    transition: gap .3s ease;
}

.vacante-card:hover .vacante-ver-mas { gap: 12px; }

/* ===== ESTADO VACÍO ===== */
.empty-vacantes {
    text-align: center;
    padding: 80px 20px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px dashed #dde1ee;
}

.empty-vacantes h4 { color: #16213e; font-weight: 700; margin-bottom: 10px; }
.empty-vacantes p { color: #6b7280; margin: 0; }

/* ===== PÁGINA DE DETALLE ===== */
.vacante-detalle-hero {
    background: linear-gradient(135deg, #1F3471, #3F5984);
    padding: 60px 0 50px;
    color: #fff;
}

.volver-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffffcc;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 25px;
    transition: color .3s ease;
}

.volver-link:hover { color: #fff; }

.vacante-header-info h1 {
    font-size: 38px;
    font-weight: 800;
    margin: 14px 0 18px;
}

.vacante-meta-detalle {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.vacante-meta-detalle span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: .9;
}

.vacante-detalle-section {
    padding: 70px 0 100px;
    background: #f8f9fc;
}

.vacante-bloque {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #eef0f5;
    padding: 32px;
    margin-bottom: 26px;
}

.vacante-bloque h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 800;
    color: #16213e;
    margin-bottom: 16px;
}

.vacante-bloque h4 i { color: #1F3471; }

.vacante-bloque p {
    color: #4b5162;
    line-height: 1.8;
    margin: 0;
    white-space: pre-line;
}

.vacante-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vacante-lista li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #4b5162;
    line-height: 1.6;
    font-size: 15px;
}

.vacante-lista li::before {
    content: "\F633";
    font-family: "bootstrap-icons";
    color: #1F3471;
    font-size: 16px;
    line-height: 1.6;
}

/* ===== SIDEBAR ===== */
.vacante-sidebar {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #eef0f5;
    padding: 32px;
    position: sticky;
    top: 20px;
}

.vacante-sidebar h4 {
    font-size: 20px;
    font-weight: 800;
    color: #16213e;
    margin-bottom: 8px;
}

.sidebar-subtitulo {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 24px;
}

.btn-postular {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    margin-bottom: 14px;
    transition: all .3s ease;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #1ebc59;
    transform: translateY(-3px);
}

.btn-email {
    background: #eef1fa;
    color: #1F3471;
    border: 1.5px solid #dde1ee;
}

.btn-email:hover {
    background: #1F3471;
    color: #fff;
}

.vacante-datos-extra {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eef0f5;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dato-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dato-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
}

.dato-label i { color: #1F3471; }

.dato-valor {
    font-size: 13.5px;
    font-weight: 700;
    color: #16213e;
    text-align: right;
}

/* ===== VACANTES RELACIONADAS ===== */
.vacantes-relacionadas {
    margin-top: 70px;
}

.vacantes-relacionadas h3 {
    font-size: 26px;
    font-weight: 800;
    color: #16213e;
    margin-bottom: 30px;
    text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .bolsa-hero-content h1 { font-size: 34px; }
    .vacante-header-info h1 { font-size: 28px; }
    .vacante-sidebar { position: static; margin-top: 10px; }
}

@media (max-width: 767px) {
    .bolsa-hero { padding: 60px 0 45px; }
    .bolsa-section { padding: 50px 0 70px; }
    .vacante-detalle-section { padding: 50px 0 70px; }
    .vacante-bloque { padding: 24px; }
    .vacante-sidebar { padding: 24px; }
    .vacante-meta-detalle { gap: 14px; }
    .vacante-meta-detalle span { font-size: 13px; }
}