/* ============================================
   EMPLEOS - BANNER EN INDEX.HTML
   ============================================ */
.empleos-banner {
    position: relative;
    padding: 0;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: stretch;
}

.empleos-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.empleos-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(13, 42, 94, 0.97) 0%,
        rgba(30, 63, 115, 0.95) 45%,
        rgba(44, 90, 160, 0.75) 70%,
        rgba(44, 90, 160, 0.4) 100%
    );
    z-index: 0;
}

.empleos-banner-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 380px;
    align-items: center;
    gap: 3rem;
    padding: 70px 0;
    width: 100%;
}

/* Lado izquierdo */
.empleos-banner-left { max-width: 580px; }

.empleos-eyebrow {
    display: inline-block;
    color: #dfa403;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    padding-left: 2px;
}

.empleos-banner-left h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.1rem;
    letter-spacing: -0.5px;
}

.empleos-highlight { color: #dfa403; }

.empleos-banner-left > p {
    color: rgba(255,255,255,0.72);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 2.2rem;
    max-width: 480px;
}

.empleos-pillars {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.empleo-pillar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.empleo-pillar i {
    width: 42px;
    height: 42px;
    background: rgba(223,164,3,0.12);
    border: 1px solid rgba(223,164,3,0.35);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dfa403;
    font-size: 1rem;
    flex-shrink: 0;
}

.empleo-pillar div { display: flex; flex-direction: column; gap: 1px; }
.empleo-pillar strong { color: #fff; font-size: 0.88rem; font-weight: 600; }
.empleo-pillar span { color: rgba(255,255,255,0.55); font-size: 0.78rem; }

/* Lado derecho — tarjeta CTA */
.empleos-banner-right { display: flex; justify-content: flex-end; }

.empleos-cta-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    backdrop-filter: blur(16px);
    width: 100%;
    max-width: 340px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.empleos-cta-label {
    color: #dfa403;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.9rem;
    display: block;
}

.empleos-cta-card h3 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 1.8rem;
}

.btn-empleos {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #dfa403, #f5c518);
    color: #0d2a5e;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 6px 22px rgba(223,164,3,0.4);
    width: 100%;
    justify-content: center;
}

.btn-empleos:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(223,164,3,0.55);
    background: linear-gradient(135deg, #f5c518, #dfa403);
}

.btn-empleos i { transition: transform 0.3s; }
.btn-empleos:hover i { transform: translateX(5px); }

/* Nav empleos — mismo formato que el resto */
.nav-link-empleos {
    color: inherit;
    font-weight: inherit;
}

/* ============================================
   EMPLEOS PAGE - HERO
   ============================================ */
.emp-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    padding: 130px 0 80px;
    background: linear-gradient(135deg, #0d2a5e 0%, #1e3f73 50%, #2c5aa0 100%);
    overflow: hidden;
}

.emp-hero-overlay {
    position: absolute;
    inset: 0;
    background: url('catalogo/laboratorio.png') center/cover no-repeat;
    opacity: 0.05;
}

.emp-hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.emp-hero-eyebrow {
    display: block;
    color: #dfa403;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.emp-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.emp-hero-accent { color: #dfa403; }

.emp-hero-sub {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 540px;
}

.emp-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.4);
    color: #fff;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s;
}

.emp-hero-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

.emp-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.emp-hero-wave svg { width: 100%; height: 60px; }

/* ============================================
   PROPUESTA DE VALOR
   ============================================ */
.emp-propuesta {
    padding: 80px 0;
    background: #f8f9fa;
}

.emp-propuesta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.emp-prop-card {
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8eef7;
    transition: all 0.3s;
}

.emp-prop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(44,90,160,0.12);
    border-color: #2c5aa0;
}

.emp-prop-line {
    width: 40px;
    height: 4px;
    background: linear-gradient(90deg, #dfa403, #f0b800);
    border-radius: 2px;
    margin-bottom: 1.2rem;
}

.emp-prop-card h3 {
    color: #1e3f73;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.emp-prop-card p {
    color: #666;
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ============================================
   ÁREAS
   ============================================ */
.emp-areas {
    padding: 80px 0;
    background: #fff;
}

.emp-areas-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.2rem;
    margin-top: 2.5rem;
}

.emp-area-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.8rem 1rem;
    background: #f8f9fa;
    border: 1px solid #e8eef7;
    border-radius: 14px;
    text-align: center;
    transition: all 0.3s;
    cursor: default;
}

.emp-area-item:hover {
    background: linear-gradient(135deg, #1e3f73, #2c5aa0);
    border-color: #2c5aa0;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(44,90,160,0.2);
}

.emp-area-item i {
    font-size: 1.6rem;
    color: #2c5aa0;
    transition: color 0.3s;
}

.emp-area-item:hover i { color: #dfa403; }

.emp-area-item span {
    font-size: 0.82rem;
    font-weight: 600;
    color: #444;
    transition: color 0.3s;
}

.emp-area-item:hover span { color: #fff; }

/* ============================================
   VACANTES
   ============================================ */
.vacantes-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.vacantes-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.vacantes-header .section-header::after { display: none; }

.vacantes-filtros {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filtro-input, .filtro-select {
    padding: 0.7rem 1.2rem;
    border: 2px solid #e0e7ef;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #333;
    background: #fff;
    transition: border-color 0.3s;
    outline: none;
}

.filtro-input:focus, .filtro-select:focus { border-color: #2c5aa0; }
.filtro-input { min-width: 220px; }

.vacantes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.vacante-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: 0 4px 20px rgba(44,90,160,0.07);
    border: 1px solid #e8eef7;
    border-left: 4px solid #2c5aa0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vacante-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(44,90,160,0.15);
    border-left-color: #dfa403;
}

.vacante-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.vacante-titulo {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e3f73;
    line-height: 1.3;
}

.vacante-area-tag {
    background: #e8eef7;
    color: #2c5aa0;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vacante-descripcion {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vacante-requisitos {
    color: #555;
    font-size: 0.82rem;
    line-height: 1.5;
    background: #f0f4fa;
    border-left: 3px solid #2c5aa0;
    padding: 0.5rem 0.8rem;
    border-radius: 0 8px 8px 0;
}

.vacante-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.vacante-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #777;
    font-size: 0.82rem;
}

.vacante-meta-item i { color: #2c5aa0; }

.vacante-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.8rem;
    border-top: 1px solid #f0f4fa;
    gap: 1rem;
}

.vacante-fecha { color: #aaa; font-size: 0.78rem; }

.btn-aplicar {
    background: linear-gradient(135deg, #2c5aa0, #1e3f73);
    color: #fff;
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-aplicar:hover {
    background: linear-gradient(135deg, #dfa403, #f0b800);
    color: #1e3f73;
    transform: translateY(-2px);
}

.sin-vacantes {
    text-align: center;
    padding: 4rem 2rem;
    color: #888;
}

.sin-vacantes i { font-size: 3rem; color: #c0cfe0; margin-bottom: 1rem; display: block; }
.sin-vacantes h3 { color: #555; margin-bottom: 0.5rem; }
.sin-vacantes p { margin-bottom: 1.5rem; }
.hidden { display: none !important; }

/* ============================================
   CV ESPONTÁNEO CTA
   ============================================ */
.emp-cv-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #0d2a5e, #1e3f73);
    text-align: center;
}

.emp-cv-cta-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.emp-cv-cta-content h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
}

.emp-cv-cta-content p {
    color: rgba(255,255,255,0.72);
    font-size: 1rem;
    line-height: 1.7;
}

.emp-cv-cta-content .btn-empleos {
    margin-top: 0.5rem;
    width: auto;
    padding: 0.9rem 2.5rem;
}

/* ============================================
   POR QUÉ SECTION
   ============================================ */
.porque-section {
    padding: 80px 0;
    background: #fff;
}

.porque-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.porque-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    background: #f8f9fa;
    border: 1px solid #e0e7ef;
    transition: all 0.3s ease;
}

.porque-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(44,90,160,0.12);
    border-color: #2c5aa0;
}

.porque-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #2c5aa0, #1e3f73);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}

.porque-icon i { color: #fff; font-size: 1.5rem; }
.porque-card h3 { color: #1e3f73; font-size: 1rem; font-weight: 700; margin-bottom: 0.6rem; }
.porque-card p { color: #666; font-size: 0.88rem; line-height: 1.6; }

/* ============================================
   MODAL APLICAR
   ============================================ */
.empleo-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(4px);
    animation: fadeInModal 0.2s ease;
}

@keyframes fadeInModal { from { opacity: 0; } to { opacity: 1; } }

.empleo-modal-content {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    animation: slideUpModal 0.3s ease;
}

@keyframes slideUpModal {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.empleo-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e8eef7;
    background: linear-gradient(135deg, #1e3f73, #2c5aa0);
    border-radius: 20px 20px 0 0;
}

.empleo-modal-header h3 { font-size: 1.2rem; font-weight: 700; color: #fff; }
.modal-area-tag { color: #dfa403; font-size: 0.85rem; font-weight: 600; margin-top: 0.2rem; }

.modal-close-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.modal-close-btn:hover { background: rgba(255,255,255,0.3); }

.empleo-modal-body { padding: 2rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.form-group label { font-size: 0.85rem; font-weight: 600; color: #444; }

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.7rem 1rem;
    border: 2px solid #e0e7ef;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #333;
    transition: border-color 0.3s;
    outline: none;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #2c5aa0; }

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f4fa;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .emp-propuesta-grid { grid-template-columns: repeat(2, 1fr); }
    .emp-areas-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .empleos-banner-content { grid-template-columns: 1fr; }
    .empleos-banner-right { justify-content: center; }
    .empleos-cta-card { max-width: 100%; }
    .empleos-banner-left h2 { font-size: 2rem; }
    .emp-hero-content h1 { font-size: 2.2rem; }
    .emp-propuesta-grid { grid-template-columns: 1fr; }
    .emp-areas-grid { grid-template-columns: repeat(2, 1fr); }
    .vacantes-header { flex-direction: column; align-items: flex-start; }
    .vacantes-grid { grid-template-columns: 1fr; }
    .emp-cv-cta-content { flex-direction: column; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
}

/* File Upload */
.file-input {
    display: none;
}

.file-upload-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border: 2px dashed #2c5aa0;
    border-radius: 10px;
    cursor: pointer;
    color: #2c5aa0;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #f0f5ff;
}

.file-upload-label:hover {
    background: #dce8ff;
    border-color: #1e3f73;
}

.file-upload-label i {
    font-size: 1.1rem;
}

.file-upload-label.has-file {
    border-style: solid;
    background: #e6f0e6;
    border-color: #2e7d32;
    color: #2e7d32;
}

.file-hint {
    font-size: 0.78rem;
    color: #999;
    margin-top: 5px;
}
