.trabaja-page {
    background: var(--bg-light);
}

.trabaja-hero {
    position: relative;
    height: clamp(27rem, 39vw, 34rem);
    min-height: 0;
    display: flex;
    align-items: center;
    color: var(--white);
    background-color: #003f94;
    background-image: url("../images/trabaja/banner-home.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 28%;
    margin-top: 0;
}

.trabaja-hero-content {
    display: block;
    position: relative;
    z-index: 1;
    width: min(42rem, calc(100% - 2rem));
    max-width: none;
    margin-left: clamp(2.5rem, 7vw, 7rem);
    margin-right: auto;
}

.trabaja-hero h1 {
    max-width: 11ch;
    font-size: clamp(2.8rem, 3.8vw, 4.25rem);
    line-height: 1.08;
    font-weight: 800;
    margin-bottom: 2rem;
    text-shadow: 0 2px 14px rgba(0, 20, 50, 0.22);
}

.trabaja-title-rule,
.trabaja-section-rule {
    display: block;
    width: 3.25rem;
    height: 0.25rem;
    background: #3ea6ff;
    border-radius: 1rem;
}

.trabaja-hero p {
    max-width: 28rem;
    font-size: clamp(1.05rem, 1.15vw, 1.25rem);
    line-height: 1.55;
    margin-top: 2.5rem;
    text-shadow: 0 1px 10px rgba(0, 20, 50, 0.22);
}

.trabaja-intro {
    background: var(--white);
    color: var(--blue-deep);
    text-align: center;
    padding-block: 3rem;
}

.trabaja-intro-copy {
    max-width: 58rem;
}

.trabaja-intro p {
    font-size: clamp(1.05rem, 1.35vw, 1.35rem);
    line-height: 1.55;
    margin: 0 auto 1.35rem;
}

.trabaja-intro .trabaja-section-rule {
    margin: 1.75rem auto;
}

.trabaja-intro-highlight {
    color: var(--blue-primary);
    font-weight: 800;
}

.trabaja-position {
    color: var(--white);
    background: var(--bg-blue-gradient);
    padding-block: 4rem;
}

.trabaja-position-grid {
    display: grid;
    grid-template-columns: minmax(18rem, 0.95fr) minmax(20rem, 1.25fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.trabaja-position-image img {
    width: 100%;
    display: block;
    aspect-ratio: 1 / 1.05;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 24px 48px rgba(0, 20, 50, 0.22);
}

.trabaja-position-copy h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.15;
    margin-bottom: 0.25rem;
}

.trabaja-position-copy h3 {
    font-size: clamp(1.4rem, 2vw, 2.1rem);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.trabaja-position-copy h4 {
    font-size: clamp(1.25rem, 1.45vw, 1.55rem);
    margin: 2rem 0 0.9rem;
}

.trabaja-position-copy p,
.trabaja-position-copy li,
.trabaja-detail span {
    font-size: 1rem;
    line-height: 1.55;
}

.trabaja-check-list,
.trabaja-bullet-list {
    display: grid;
    gap: 0.8rem;
    padding: 0;
    list-style: none;
}

.trabaja-check-list li,
.trabaja-bullet-list li {
    position: relative;
    padding-left: 2.1rem;
}

.trabaja-check-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 1.25rem;
    height: 1.25rem;
    color: var(--blue-primary);
    background: var(--white);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.75rem;
}

.trabaja-bullet-list li::before {
    content: "";
    position: absolute;
    left: 0.55rem;
    top: 0.7rem;
    width: 0.45rem;
    height: 0.45rem;
    background: var(--white);
    border-radius: 50%;
}

.trabaja-detail {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1.75rem;
}

.trabaja-detail i {
    width: 2.2rem;
    font-size: 1.85rem;
    text-align: center;
}

.trabaja-detail strong {
    display: block;
    font-size: 1.2rem;
}

.trabaja-detail span {
    display: block;
}

.trabaja-apply {
    background: var(--white);
    color: var(--blue-deep);
    padding-block: 3.5rem 4.5rem;
}

.trabaja-form-heading {
    text-align: center;
    margin-bottom: 1.75rem;
}

.trabaja-form-heading h2 {
    font-size: clamp(1.65rem, 2vw, 2.1rem);
    line-height: 1.2;
}

.trabaja-form-heading p {
    font-size: 1.15rem;
}

.trabaja-form {
    max-width: 52rem;
    display: grid;
    gap: 0.8rem;
    margin: 0 auto;
}

.trabaja-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.trabaja-form label {
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
}

.trabaja-form label > span {
    font-size: 0.85rem;
    color: #56637a;
}

.trabaja-form input,
.trabaja-form select,
.trabaja-form textarea {
    width: 100%;
    color: var(--blue-deep);
    background: var(--white);
    border: 1px solid #cbd5e1;
    border-radius: 0.35rem;
    padding: 0.85rem 1rem;
    font: inherit;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.trabaja-form textarea {
    min-height: 8.5rem;
    resize: vertical;
}

.trabaja-form input:hover,
.trabaja-form select:hover,
.trabaja-form textarea:hover {
    border-color: #8aa4c2;
}

.trabaja-form input:focus,
.trabaja-form select:focus,
.trabaja-form textarea:focus {
    outline: none;
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(0, 70, 245, 0.14);
}

.trabaja-file {
    border: 1px solid #d8e0ea;
    border-radius: 0.35rem;
    padding: 0.85rem 1rem;
}

.trabaja-file input {
    border: 0;
    padding: 0;
}

.trabaja-file small {
    color: #667085;
    font-weight: 400;
}

.trabaja-privacy {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    color: var(--blue-deep);
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    margin: 0.6rem 0 0.4rem;
}

.trabaja-privacy i {
    color: var(--blue-primary);
    margin-top: 0.2rem;
}

.trabaja-form-message {
    display: none;
    border-radius: 0.5rem;
    padding: 0.8rem 1rem;
    font-weight: 600;
    text-align: center;
}

.trabaja-form-message.is-error {
    display: block;
    color: #9f1239;
    background: #fff1f2;
    border: 1px solid #fecdd3;
}

.trabaja-form-message.is-ok {
    display: block;
    color: #065f46;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.trabaja-submit {
    justify-self: center;
    width: min(100%, 24rem);
    margin-top: 0.4rem;
    text-transform: uppercase;
    font-size: 1rem;
    border-radius: 0.35rem;
}

@media (max-width: 992px) {
    .trabaja-hero {
        height: clamp(30rem, 58vw, 36rem);
        min-height: 0;
        aspect-ratio: auto;
        background-position: 62% center;
        margin-top: 0;
    }

    .trabaja-position-grid {
        grid-template-columns: 1fr;
    }

    .trabaja-position-image {
        max-width: 42rem;
        margin-inline: auto;
    }
}

@media (max-width: 768px) {
    .trabaja-hero {
        height: 100svh;
        min-height: 34rem;
        background-image:
            linear-gradient(90deg, rgba(0, 20, 50, 0.94) 0%, rgba(0, 70, 245, 0.70) 58%, rgba(0, 70, 245, 0.24) 100%),
            url("../images/trabaja/banner-home.jpg");
        background-position: 54% center;
        padding-top: 6.5rem;
    }

    .trabaja-hero::before {
        display: none;
    }

    .trabaja-hero-content {
        width: auto;
        height: auto;
        max-width: 22rem;
        overflow: visible;
        position: relative;
        clip: auto;
        clip-path: none;
        white-space: normal;
        z-index: 1;
    }

    .trabaja-hero h1 {
        max-width: 7.8ch;
        font-size: clamp(2.5rem, 13vw, 4rem);
        line-height: 1.12;
        margin-bottom: 1.5rem;
    }

    .trabaja-hero p {
        max-width: 19rem;
        font-size: 1.05rem;
        line-height: 1.45;
        margin-top: 2rem;
    }

    .trabaja-intro,
    .trabaja-position,
    .trabaja-apply {
        padding-block: 3rem;
    }

    .trabaja-form-row {
        grid-template-columns: 1fr;
    }

    .trabaja-privacy {
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .trabaja-hero {
        min-height: 32rem;
        background-position: 58% center;
    }

    .trabaja-position-image img {
        aspect-ratio: 4 / 3;
    }

    .trabaja-position-copy h2,
    .trabaja-position-copy h3 {
        text-wrap: balance;
    }
}
