
* {
  font-family: 'Poppins', sans-serif;
}

.image-fondo{
    height: 250px;
    background-image: linear-gradient(#00000067,#07070765), url('../new-assets/img/trabajo-1.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-left: 100px;
}

.image-fondo p{
    font-size: 50px;
    font-weight: bold;
    color: white;
    border-left: 7px solid #852221;
    padding-left: 30px;
}

.image-fondo p span{
    color:#852221;
}

.content-fondo{
    padding-top: 130px;
    width: 100%;
}

.about-section {
    margin: auto;
    background: #F5F9EF;
    padding: 40px 10%;
    border-radius: 8px;
}

.section-title {
    color: #b1122a;
    margin-bottom: 12px;
    font-size: 2rem;
}

.section-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 32px;
    font-size: 1.5rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-bottom: 40px;
}

.card {
    background: #8b3a46;
    color: #fff;
    padding: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    font-size: 2rem;
}

.card .icon {
    line-height: 1;
    flex-shrink: 0;
}

.card span {
    line-height: 1.3;
}

.channels-title {
    color: #b1122a;
    margin-bottom: 20px;
    font-size: 2rem;
}

.channels {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.channel {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.5rem;
}

.linkedin {
    background: #0a66c2;
    font-size: 5rem;
}

.indeed {
    background: #0b5cff;
    text-transform: lowercase;
}

.trabajo-section{
    width: 100%;
    background: #F5F9EF;
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 40px 10%;
}

.trabajo-content{
    display: flex;
    height: 100%;
}

.trabajo-text{
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 50px 0;
}

.trabajo-text p{
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.trabajo-img{
    background-image: url('../new-assets/img/trabajo-2.png');
    width: 40%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.btn-adjuntar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background-color: #9c1530;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
    font-size: 1.2rem;
    border: none;
    text-decoration: none;
    margin-top: 20px;
}

.btn-adjuntar i {
    font-size: 16px;
}

.btn-adjuntar:hover {
    background-color: #7f1026;
}

/* MODAL */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 1000;
}

.modal:target {
    display: block;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.modal-box {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 620px;
    margin: 8vh auto;
    border-radius: 10px;
    overflow: hidden;
    z-index: 1;
}

.modal-header {
    background: #9c1530;
    color: #fff;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 18px;
}

.modal-close {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
}

.modal-body {
    padding: 20px;
    display: grid;
    gap: 14px;
}

.modal-body label {
    font-size: 14px;
}

.modal-body input {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
}

.file-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.file-box input{
    color: white;
}

.file-box span {
    padding: 10px 12px;
    font-size: 14px;
}

.file-btn {
    background: #9c1530;
    color: #fff;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 14px;
}

.modal-footer {
    padding: 16px 20px;
    display: flex;
    justify-content: center;
    gap: 14px;
}

.btn-primary {
    background: #9c1530;
    color: #fff;
    border: none;
    padding: 10px 26px;
    border-radius: 6px;
    cursor: pointer;
}

.btn-secondary {
    border: 1px solid #9c1530;
    color: #9c1530;
    padding: 10px 26px;
    border-radius: 6px;
    text-decoration: none;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
    .image-fondo {
        padding-left: 50px;
        height: 220px;
    }
    
    .image-fondo p {
        font-size: 40px;
        padding-left: 20px;
    }
    
    .about-section {
        padding: 30px 5%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 1.3rem;
    }
    
    .cards-grid {
        gap: 30px;
    }
    
    .card {
        font-size: 1.6rem;
        padding: 25px;
    }
    
    .trabajo-section {
        padding: 30px 5%;
    }
    
    .trabajo-text p {
        font-size: 1.3rem;
    }
}

/* Tablets pequeñas y móviles grandes (600px - 768px) */
@media (max-width: 768px) {
    .content-fondo {
        padding-top: 100px;
    }
    
    .image-fondo {
        padding-left: 30px;
        height: 200px;
    }
    
    .image-fondo p {
        font-size: 32px;
        padding-left: 15px;
        border-left: 5px solid #852221;
    }
    
    .about-section {
        padding: 25px 5%;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-description {
        font-size: 1.2rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card {
        font-size: 1.4rem;
        padding: 20px;
    }
    
    .channels-title {
        font-size: 1.6rem;
    }
    
    .channel {
        width: 90px;
        height: 90px;
    }
    .linkedin{
        font-size: 4rem;
    }
    
    .trabajo-content {
        flex-direction: column;
    }
    
    .trabajo-text {
        width: 100%;
        padding: 30px 0;
    }
    
    .trabajo-text p {
        font-size: 1.2rem;
    }
    
    .trabajo-img {
        display: none;
    }
    
    .btn-adjuntar {
        font-size: 1.1rem;
        padding: 12px 20px;
        align-self: center;
    }
}

/* Móviles (hasta 600px) */
@media (max-width: 600px) {
    .content-fondo {
        padding-top: 80px;
    }
    
    .image-fondo {
        padding-left: 20px;
        padding-right: 20px;
        height: 180px;
    }
    
    .image-fondo p {
        font-size: 24px;
        padding-left: 12px;
        border-left: 4px solid #852221;
    }
    
    .about-section {
        padding: 20px 5%;
    }
    
    .section-title {
        font-size: 1.4rem;
        text-align: center;
    }
    
    .section-description {
        font-size: 1rem;
        text-align: justify;
    }
    
    .cards-grid {
        gap: 15px;
    }
    
    .card {
        font-size: 1.2rem;
        padding: 18px;
        flex-direction: column;
        text-align: center;
    }
    
    .card .icon {
        font-size: 2rem;
    }
    
    .channels-title {
        font-size: 1.4rem;
        text-align: center;
    }
    
    .channels {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }
    
    .channel {
        width: 80px;
        height: 80px;
    }
    .linkedin{
        font-size: 3rem;
    }
    .trabajo-section {
        padding: 20px 5%;
    }
    
    .trabajo-text {
        padding: 20px 0;
    }
    
    .trabajo-text p {
        font-size: 1rem;
        text-align: center;
    }
    
    
    .btn-adjuntar {
        font-size: 1rem;
        padding: 10px 16px;
        width: 100%;
        justify-content: center;
    }
    
    /* Modal responsive */
    .modal-box {
        width: 95%;
        margin: 5vh auto;
    }
    
    .modal-header h2 {
        font-size: 16px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .file-box {
        flex-direction: column;
    }
    
    .file-box span {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #ddd;
    }
    
    .file-btn {
        width: 100%;
        text-align: center;
    }
    
    .modal-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
}
@media (max-width: 400px) {
    .image-fondo {
        height: 160px;
        padding-left: 15px;
    }
    
    .image-fondo p {
        font-size: 20px;
        padding-left: 10px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
    
    .card {
        font-size: 1.1rem;
        padding: 15px;
    }
    
    .channel {
        width: 70px;
        height: 70px;
        font-size: 0.9rem;
    }
    
}

.puesto-descripcion {
    margin-top: 8px;
    font-size: 14px;
    color: #555;
    background: #f8f8f8;
    padding: 10px;
    border-radius: 6px;
}
.modal-body select {
    appearance: none;          
    -webkit-appearance: none;
    -moz-appearance: none;

    width: 100%;
    padding: 11px 40px 11px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
    color: #333;
    cursor: pointer;

    /* Flecha custom */
    background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%239c1530' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;

    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-body select:hover {
    border-color: #9c1530;
}

.modal-body select:focus {
    outline: none;
    border-color: #9c1530;
    box-shadow: 0 0 0 2px rgba(156, 21, 48, 0.15);
}

.modal-body select option {
    font-size: 14px;
}

.modal-body select:disabled {
    background-color: #f2f2f2;
    cursor: not-allowed;
    color: #999;
}


.indeed img {
    width: 100%;
    object-fit: contain;
}
@media (max-width: 768px) {
    .indeed img {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .indeed img {
        width: 100%;
    }
}
