/* 1. PÁGINA: TRABAJA CON NOSOTROS - SUPERGAS DE NARIÑO */

/* 1.1. CONTENEDOR PRINCIPAL */
.jobs-page {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
}

/* 2. ENCABEZADO */
.jobs-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.jobs-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #1E293B;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

/* 2.1. Línea decorativa del título */
.jobs-header h1::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -12px;
    width: 120px;
    height: 4px;
    background: #FF5C00;
    border-radius: 999px;
}

.jobs-header p {
    margin-top: 1.5rem;
    color: #64748B;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* 3. LAYOUT (DOS COLUMNAS) */
.jobs-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* 4. CAJAS DE INFORMACIÓN Y FORMULARIO */
.jobs-info,
.jobs-form-card {
    background: white;
    border-radius: 28px;
    padding: 2rem;
    border: 1px solid #E2E8F0;
    box-shadow: 0 15px 35px -12px rgba(0, 0, 0, .12);
}

.jobs-info h2,
.jobs-form-card h2 {
    color: #1E293B;
    margin-bottom: 1rem;
}

.jobs-info p {
    color: #64748B;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* 5. BENEFICIOS (LISTA DE VENTAJAS) */
.jobs-benefits {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

/* 5.1. Elemento de beneficio individual */
.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #F8FAFC;
    padding: 1rem;
    border-radius: 16px;
}

.benefit-item i {
    color: #FF5C00;
    font-size: 1.2rem;
    margin-top: .2rem;
}

.benefit-item strong {
    color: #1E293B;
}

.benefit-item p {
    margin: .25rem 0 0;
}

/* 6. FORMULARIO DE POSTULACIÓN */
.jobs-form {
    display: grid;
    gap: 1.2rem;
}

/* 6.1. Grupo de campo del formulario */
.jobs-form-group {
    display: grid;
    gap: .5rem;
}

.jobs-form-group label {
    font-weight: 700;
    color: #334155;
}

.jobs-form-group input,
.jobs-form-group textarea,
.jobs-form-group select {
    width: 100%;
    border: 1px solid #CBD5E1;
    border-radius: 14px;
    padding: 1rem;
    font-size: 1rem;
    font-family: inherit;
    transition: .3s ease;
}

/* 6.2. Estado de focus en campos del formulario */
.jobs-form-group input:focus,
.jobs-form-group textarea:focus,
.jobs-form-group select:focus {
    outline: none;
    border-color: #317F3C;
    box-shadow: 0 0 0 4px rgba(49, 127, 60, .12);
}

/* 6.3. Área de texto */
.jobs-form-group textarea {
    resize: vertical;
    min-height: 140px;
}

/* 7. BOTÓN DE ENVÍO */
.jobs-submit {
    background: linear-gradient(135deg, #FF5C00, #E65300);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 800;
    cursor: pointer;
    transition: .3s ease;
    font-size: 1rem;
}

.jobs-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -10px rgba(255, 92, 0, .35);
}

/* 7.1. Estado deshabilitado del botón */
.jobs-submit:disabled {
    background: #94A3B8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 8. ALERTAS (MENSAJES DE RESPUESTA) */
.jobs-alert {
    display: none;
    padding: 1rem;
    border-radius: 14px;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* 8.1. Alerta de éxito */
.jobs-alert.success {
    display: block;
    background: #DCFCE7;
    color: #166534;
}

/* 8.2. Alerta de error */
.jobs-alert.error {
    display: block;
    background: #FEE2E2;
    color: #991B1B;
}

/* 9. RESPONSIVE */

/* 9.1. Tablets (992px) */
@media (max-width: 992px) {
    .jobs-layout {
        grid-template-columns: 1fr;
    }
}

/* 9.2. Móviles (768px) */
@media (max-width: 768px) {
    .jobs-page {
        padding: 100px 0 60px;
    }

    .jobs-info,
    .jobs-form-card {
        padding: 1.5rem;
    }
}