.vacantes-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.vacantes-hero-media {
    position: absolute;
    inset: 0;
}

.vacantes-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: high-quality;
    filter: brightness(0.6);
}

.vacantes-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.3) 100%);
}

.vacantes-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 48px;
    max-width: 700px;
}

.vacantes-form-section {
    padding: 80px 0 120px;
    background: #0a0a0a;
}

.vacantes-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.vacantes-info-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #fff;
}

.vacantes-info > p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.vacantes-benefits {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.vacantes-benefit {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.vacantes-benefit-icon {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    min-width: 32px;
    padding-top: 4px;
}

.vacantes-benefit h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.vacantes-benefit p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
}

.vacantes-form-wrap {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 40px;
}

.vacantes-form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 32px;
    color: #fff;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.select-wrapper:focus-within::after {
    transform: scaleX(1);
}

.select-wrapper select.form-input {
    display: none;
}

.custom-select {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    width: 100%;
    padding: 16px 44px 16px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.35);
    font-family: var(--font-body);
    font-size: 0.95rem;
    text-align: left;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.custom-select-trigger::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(255,255,255,0.6)' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.custom-select.open .custom-select-trigger::after {
    transform: translateY(-50%) rotate(180deg);
}

.custom-select-trigger.selected {
    color: #fff;
}

.custom-select-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    padding: 6px 0;
}

.custom-select.open .custom-select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-select-option {
    padding: 14px 18px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    margin: 4px 8px;
    border-radius: 4px;
    border-left: 2px solid transparent;
}

.custom-select-option:nth-child(1) { margin-top: 8px; }
.custom-select-option:last-child { margin-bottom: 8px; }

.custom-select-option:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-left-color: var(--color-primary);
    transform: translateX(4px);
}

.custom-select-option.selected {
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.04);
    border-left-color: var(--color-primary);
}

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
}

select.form-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(255,255,255,0.6)' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 44px;
    cursor: pointer;
    border-radius: 6px;
    background-color: transparent;
}

select.form-input option {
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.8);
    padding: 14px 18px;
    border: none;
    font-size: 0.95rem;
}

select.form-input option:hover {
    background: #252525;
    color: #fff;
}

select.form-input option[value=""][disabled] {
    color: rgba(255, 255, 255, 0.35);
}

select.form-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

select.form-input:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.form-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.25);
    background-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.form-input:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.file-upload {
    position: relative;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.file-upload:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.02);
}

.file-upload.dragover {
    border-color: var(--color-primary);
    background: rgba(220, 53, 69, 0.05);
}

.file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-content {
    pointer-events: none;
}

.file-icon {
    width: 40px;
    height: 40px;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 12px;
}

.file-upload-text {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
}

.file-upload-text strong {
    color: #fff;
}

.file-upload-hint {
    display: block;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
}

.file-name {
    display: block;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 500;
}

.vacantes-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #fff;
    color: #111;
    border: none;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.vacantes-submit:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show {
    display: block;
}

.form-success svg {
    color: #4caf50;
    margin-bottom: 20px;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 12px;
}

.form-success p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .vacantes-hero {
        padding: 140px 24px 60px;
    }

    .vacantes-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .vacantes-form-wrap {
        padding: 28px 20px;
    }
}
