/*
 * Plan B recruitment page.
 * Sizes come from the 1920px design (PLANB - Web Design RHH) and scale with the viewport.
 */

:root {
    --pbr-purple: #7200e0;
    --pbr-purple-soft: #9a6dff;
    --pbr-orange: #fe7b01;
    --pbr-ink: #231f20;
    --pbr-gray: #414042;
    --pbr-night: #170430;
    --pbr-error: #d6264a;
    --pbr-font: "DMSans", "DM Sans", system-ui, sans-serif;
    --pbr-gutter: clamp(20px, 6.3vw, 121px);
}

html:has(body.pbr-page) {
    scroll-behavior: smooth;
}

.pbr-page .pbr-hero,
.pbr-page .pbr-logros,
.pbr-page .pbr-oportunidades,
.pbr-jobs,
.pbr-modal {
    font-family: var(--pbr-font);
}

/* Shared purple bar before section titles. */
.pbr-bar {
    position: relative;
    padding-left: .32em;
}

.pbr-bar::before {
    content: "";
    position: absolute;
    left: 0;
    top: .2em;
    bottom: .14em;
    width: .065em;
    min-width: 4px;
    border-radius: 2px;
    background: var(--pbr-purple);
}

/* ---------- Buttons ---------- */

.pbr-page .pbr-cta .elementor-button,
.pbr-btn,
.pbr-jobs .pbr-btn,
.pbr-modal .pbr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    padding: .62em 1.45em;
    border: 0;
    border-radius: 16px;
    background: var(--pbr-purple);
    color: #fff;
    font-family: var(--pbr-font);
    font-size: clamp(16px, 1.15vw, 22px);
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 24px -10px rgba(114, 0, 224, .7);
    transition: background-color .2s, transform .2s, box-shadow .2s;
}

.pbr-page .pbr-cta .elementor-button {
    font-size: clamp(17px, 1.72vw, 33px);
    padding: .42em 1.05em;
    /* Measured from the design: corners take ~85% of the half-height, almost a full pill. */
    border-radius: .86em;
}

.pbr-page .pbr-cta .elementor-button:hover,
.pbr-page .pbr-cta .elementor-button:focus-visible {
    background: #5b00b4;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -10px rgba(114, 0, 224, .8);
}

/* The theme paints every focused button #c36; keep ours purple after a click. */
.pbr-btn:focus,
.pbr-jobs .pbr-btn:focus,
.pbr-modal .pbr-btn:focus {
    background: var(--pbr-purple);
    color: #fff;
}

.pbr-btn:hover,
.pbr-btn:focus-visible,
.pbr-jobs .pbr-btn:hover,
.pbr-jobs .pbr-btn:focus-visible,
.pbr-modal .pbr-btn:hover,
.pbr-modal .pbr-btn:focus-visible {
    background: var(--pbr-orange);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -10px rgba(254, 123, 1, .75);
}

.pbr-btn:focus-visible,
.pbr-jobs button:focus-visible,
.pbr-modal button:focus-visible,
.pbr-page .pbr-cta .elementor-button:focus-visible {
    outline: 3px solid var(--pbr-orange);
    outline-offset: 3px;
}

.pbr-btn[disabled] {
    opacity: .6;
    cursor: progress;
    transform: none;
}

.pbr-modal .pbr-btn-ghost,
.pbr-modal .pbr-btn-ghost:focus,
.pbr-modal .pbr-btn-ghost:hover {
    background: transparent;
    color: var(--pbr-purple);
    box-shadow: inset 0 0 0 1.5px var(--pbr-purple);
}

/* ---------- Hero ---------- */

.pbr-page .pbr-hero {
    min-height: clamp(620px, 57vw, 1100px);
    padding: clamp(150px, 15vw, 270px) var(--pbr-gutter) clamp(60px, 8vw, 150px);
    justify-content: flex-start;
}

.pbr-page .pbr-hero .elementor-heading-title {
    margin: 0;
    font-family: var(--pbr-font);
    color: #000;
    line-height: 1;
}

.pbr-hero-line1 {
    display: block;
    width: fit-content;
    margin-left: clamp(0px, .9vw, 16px);
    font-size: clamp(42px, 5.2vw, 100px);
    font-weight: 500;
    letter-spacing: -.01em;
}

.pbr-hero-line2 {
    display: inline-block;
    margin-top: .12em;
    padding: .14em .32em .18em;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(238, 232, 252, .9), rgba(238, 232, 252, .55));
    box-shadow: 0 10px 40px -20px rgba(114, 0, 224, .45);
    font-size: clamp(44px, 6.8vw, 130px);
    font-weight: 900;
    letter-spacing: -.01em;
    color: var(--pbr-purple);
}

.pbr-orange {
    color: var(--pbr-orange);
}

.pbr-page .pbr-hero-sub {
    margin-left: clamp(0px, 2.3vw, 44px);
    font-size: clamp(17px, 1.88vw, 36px);
    font-weight: 300;
    line-height: 1.35;
    color: var(--pbr-ink);
}

.pbr-page .pbr-hero-sub p {
    margin: 0;
}

.pbr-page .pbr-hero-sub strong {
    font-weight: 600;
}

.pbr-page .pbr-hero .pbr-cta {
    margin-left: clamp(0px, 2.3vw, 44px);
}

/* ---------- Logros ---------- */

.pbr-page .pbr-logros {
    /* No right/bottom padding: the team photo sits flush against those edges. */
    padding: clamp(60px, 7vw, 135px) 0 0 var(--pbr-gutter);
    overflow: hidden;
}

.pbr-page .pbr-logros-text {
    padding-bottom: clamp(60px, 7vw, 135px);
}

.pbr-page .pbr-logros-media {
    align-self: flex-end;
}

.pbr-page .pbr-logros .elementor-heading-title {
    margin: 0;
    font-family: var(--pbr-font);
    color: #fff;
    line-height: 1;
}

.pbr-logros-line1 {
    display: block;
    font-size: clamp(38px, 5.2vw, 100px);
    font-weight: 500;
    letter-spacing: -.01em;
}

.pbr-logros-line1.pbr-bar::before {
    background: var(--pbr-orange);
}

.pbr-logros-line2 {
    display: block;
    margin-left: .03em;
    padding-left: .26em;
    font-size: clamp(44px, 6.8vw, 130px);
    font-weight: 900;
    color: var(--pbr-orange);
}

.pbr-page .pbr-logros-sub {
    margin-left: clamp(0px, .5vw, 10px);
    font-size: clamp(16px, 1.56vw, 30px);
    font-weight: 300;
    line-height: 1.3;
    color: #fff;
}

.pbr-page .pbr-logros-sub p {
    margin: 0;
}

.pbr-page .pbr-counters {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: clamp(12px, 1.3vw, 26px);
    max-width: calc(3 * clamp(112px, 10.6vw, 204px) + 2 * clamp(12px, 1.3vw, 26px));
}

.pbr-page .pbr-counters > .pbr-counter {
    flex: none;
    width: clamp(112px, 10.6vw, 204px) !important;
    height: clamp(112px, 10.6vw, 204px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .22);
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .2), rgba(255, 255, 255, .05) 70%);
    box-shadow: inset 0 0 30px rgba(255, 255, 255, .06), 0 18px 40px -20px rgba(0, 0, 0, .6);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.pbr-page .pbr-counter .elementor-widget-container,
.pbr-page .pbr-counter .elementor-counter {
    height: 100%;
}

.pbr-page .pbr-counter .elementor-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .1em;
    padding: 0 10%;
    text-align: center;
}

.pbr-page .pbr-counter .elementor-counter-number-wrapper {
    /* Elementor makes number and title flex-grow, splitting the circle in halves; keep both at
       content height so the pair is centered as one block, as in the design. */
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--pbr-font);
    font-size: clamp(28px, 3.7vw, 71px);
    font-weight: 900;
    line-height: 1;
    color: #fff;
}

/* Circled plus before each number. */
.pbr-page .pbr-counter .elementor-counter-number-wrapper::before {
    content: "";
    flex: none;
    width: .42em;
    height: .42em;
    margin-right: .06em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10.5' fill='none' stroke='white' stroke-width='2'/%3E%3Cpath d='M12 7v10M7 12h10' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Elementor prints the title first; the design shows the number on top. */
.pbr-page .pbr-counter .elementor-counter-title {
    order: 2;
    flex: none;
    max-width: 6.6em;
    /* Room for two lines, so one-line titles start at the same height as the others. */
    min-height: 2.3em;
    font-family: var(--pbr-font);
    font-size: clamp(11px, 1.1vw, 21px);
    font-weight: 300;
    line-height: 1.15;
    color: #fff;
}

.pbr-page .pbr-logros-img img {
    width: 100%;
    height: auto;
}

/* ---------- Oportunidades ---------- */

.pbr-page .pbr-oportunidades {
    padding: clamp(70px, 8vw, 150px) var(--pbr-gutter) clamp(70px, 7vw, 140px);
}

.pbr-page .pbr-oportunidades .elementor-heading-title {
    margin: 0;
    font-family: var(--pbr-font);
    line-height: 1;
}

.pbr-page .pbr-op-heading {
    width: 100%;
    max-width: 1460px;
    margin: 0 auto;
    padding-left: clamp(0px, 12vw, 240px);
}

.pbr-page .pbr-op-kicker .elementor-heading-title {
    font-size: clamp(22px, 2.5vw, 48px);
    font-weight: 200;
    letter-spacing: .06em;
    color: var(--pbr-ink);
}

.pbr-op-line1 {
    display: flex;
    align-items: center;
    width: fit-content;
    margin-top: .25em;
    font-size: clamp(40px, 5.2vw, 100px);
    font-weight: 500;
    color: #000;
}

.pbr-op-line1::after {
    content: "";
    width: clamp(90px, 17.2vw, 330px);
    height: clamp(3px, .26vw, 5px);
    margin-left: .45em;
    border-radius: 3px;
    background: var(--pbr-purple);
}

.pbr-op-line2 {
    display: block;
    padding-left: .2em;
    font-size: clamp(44px, 6.8vw, 130px);
    font-weight: 900;
    color: var(--pbr-purple);
}

/* ---------- Jobs: tabs ---------- */

.pbr-jobs {
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
    color: var(--pbr-ink);
}

.pbr-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(10px, 2.2vw, 42px);
    margin-top: clamp(36px, 4.5vw, 86px);
}

.pbr-jobs .pbr-tab {
    padding: .5em 1.25em;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .55);
    box-shadow: 0 6px 18px -8px rgba(114, 0, 224, .35), inset 0 0 0 1px rgba(255, 255, 255, .8);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--pbr-gray);
    font-family: var(--pbr-font);
    font-size: clamp(15px, 1.72vw, 33px);
    font-weight: 400;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .2s, color .2s, box-shadow .2s;
}

.pbr-jobs .pbr-tab:hover {
    background: rgba(255, 255, 255, .85);
    color: var(--pbr-purple);
}

.pbr-jobs .pbr-tab[aria-selected="true"] {
    background: var(--pbr-purple);
    color: #fff;
    font-weight: 500;
    box-shadow: 0 12px 26px -10px rgba(114, 0, 224, .8);
}

.pbr-jobs .pbr-tabs-line {
    height: 0;
    margin: clamp(26px, 2.6vw, 50px) auto clamp(30px, 2.8vw, 54px);
    border: 0;
    border-top: 1.5px solid var(--pbr-purple);
    opacity: .8;
}

/* ---------- Jobs: cards ---------- */

.pbr-grid {
    display: flex;
    align-items: flex-start;
    gap: clamp(20px, 2.9vw, 56px);
    max-width: 1300px;
    margin: 0 auto;
}

.pbr-col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 1.5vw, 28px);
}

.pbr-card {
    padding: clamp(18px, 1.6vw, 30px) clamp(18px, 1.6vw, 30px);
    border-radius: clamp(24px, 2vw, 38px);
    /* Frosted glass: a lilac tint at ~40% lets the page gradient show through, a top-left sheen
       and a soft inner glow give the lit edge seen in the design. */
    border: 1px solid rgba(255, 255, 255, .55);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .38) 0%, rgba(255, 255, 255, 0) 55%),
        rgba(234, 230, 251, .4);
    box-shadow:
        0 24px 48px -30px rgba(83, 0, 170, .4),
        inset 0 1px 0 rgba(255, 255, 255, .7),
        inset 0 0 28px rgba(255, 255, 255, .35);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    backdrop-filter: blur(22px) saturate(140%);
}

.pbr-card-head {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: clamp(10px, 1vw, 16px) clamp(10px, .8vw, 14px);
    cursor: pointer;
}

.pbr-card-icon {
    display: inline-flex;
    color: var(--pbr-purple);
}

.pbr-card-icon .pbr-icon {
    width: clamp(24px, 1.5vw, 29px);
    height: clamp(24px, 1.5vw, 29px);
}

.pbr-card-title {
    margin: 0;
    font-family: var(--pbr-font);
    line-height: 1.2;
}

.pbr-jobs .pbr-card-toggle {
    padding: 0;
    border: 0;
    background: none;
    color: var(--pbr-purple);
    font-family: var(--pbr-font);
    font-size: clamp(17px, 1.4vw, 27px);
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
}

.pbr-jobs .pbr-card-toggle:hover,
.pbr-jobs .pbr-card-toggle:focus {
    background: none;
    color: #5b00b4;
}

.pbr-badges {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pbr-badges li {
    flex: 0 0 auto;
    margin: 0;
    padding: .3em .95em;
    border-radius: 999px;
    background: var(--pbr-purple);
    color: #fff;
    font-size: clamp(12px, .9vw, 17px);
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
}

.pbr-card-body {
    margin-top: clamp(14px, 1.1vw, 20px);
}

.pbr-intro {
    margin: 0;
    padding-bottom: clamp(12px, 1vw, 18px);
    border-bottom: 1px solid rgba(114, 0, 224, .55);
    font-size: clamp(13px, .98vw, 19px);
    font-weight: 300;
    line-height: 1.35;
}

.pbr-acc-item {
    border-bottom: 1px solid rgba(114, 0, 224, .55);
}

.pbr-acc-title {
    margin: 0;
    font-family: var(--pbr-font);
}

.pbr-jobs .pbr-acc-title button {
    display: flex;
    align-items: center;
    gap: .3em;
    width: 100%;
    padding: .6em 0;
    border: 0;
    background: none;
    color: var(--pbr-purple);
    font-family: var(--pbr-font);
    font-size: clamp(15px, 1.15vw, 22px);
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.pbr-jobs .pbr-acc-title button:hover,
.pbr-jobs .pbr-acc-title button:focus {
    background: none;
    color: #5b00b4;
}

.pbr-acc-title .pbr-icon {
    width: .7em;
    height: .7em;
    transition: transform .2s;
}

.pbr-acc-title button[aria-expanded="true"] .pbr-icon {
    transform: rotate(90deg);
}

.pbr-acc-panel {
    padding: 0 0 .9em;
    font-size: clamp(13px, .9vw, 17px);
    font-weight: 300;
    line-height: 1.45;
}

.pbr-acc-panel p {
    margin: 0 0 .5em;
}

.pbr-acc-panel p:last-child {
    margin-bottom: 0;
}

.pbr-acc-panel strong {
    font-weight: 600;
}

.pbr-apply {
    display: flex;
    margin: clamp(16px, 1.6vw, 28px) auto 0;
}

.pbr-jobs .pbr-apply {
    display: flex;
    min-width: 7em;
    padding: .42em 1.4em;
    font-size: clamp(14px, .98vw, 19px);
}

.pbr-none {
    text-align: center;
    font-size: 18px;
}

/* ---------- Application modal ---------- */

.pbr-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.pbr-modal[hidden] {
    display: none;
}

.pbr-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(23, 4, 48, .55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.pbr-modal-dialog {
    position: relative;
    width: min(580px, 100%);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    padding: clamp(26px, 3vw, 44px);
    border-radius: 32px;
    background: linear-gradient(165deg, #fff 0%, #f5eeff 100%);
    box-shadow: 0 40px 80px -30px rgba(23, 4, 48, .7);
    color: var(--pbr-ink);
    animation: pbr-pop .25s ease-out;
}

@keyframes pbr-pop {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.98);
    }
}

.pbr-modal .pbr-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    padding: 8px;
    border: 0;
    border-radius: 50%;
    background: rgba(114, 0, 224, .08);
    color: var(--pbr-purple);
    cursor: pointer;
}

.pbr-modal .pbr-modal-close:hover {
    background: rgba(114, 0, 224, .16);
    color: var(--pbr-purple);
}

.pbr-modal-close .pbr-icon {
    width: 20px;
    height: 20px;
}

.pbr-modal-kicker {
    margin: 0;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: .04em;
    color: var(--pbr-gray);
}

.pbr-modal-title {
    margin: .1em 2em .6em 0;
    font-family: var(--pbr-font);
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--pbr-purple);
}

.pbr-steps {
    display: flex;
    gap: 18px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: #8a8191;
}

.pbr-steps li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.pbr-steps span {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(114, 0, 224, .1);
    font-weight: 600;
    color: var(--pbr-purple);
}

.pbr-steps .is-active {
    font-weight: 500;
    color: var(--pbr-ink);
}

.pbr-steps .is-active span {
    background: var(--pbr-purple);
    color: #fff;
}

.pbr-steps .is-done span {
    background: var(--pbr-orange);
    color: #fff;
}

.pbr-form fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.pbr-field {
    margin-bottom: 16px;
}

.pbr-field label,
.pbr-label {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--pbr-ink);
}

.pbr-field label > span[aria-hidden],
.pbr-label > span[aria-hidden] {
    color: var(--pbr-purple);
}

.pbr-field label small {
    font-weight: 300;
    color: #8a8191;
}

.pbr-modal .pbr-field input:not([type="file"]),
.pbr-modal .pbr-field select {
    display: block;
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #d9cdf3;
    border-radius: 14px;
    background-color: rgba(255, 255, 255, .9);
    color: var(--pbr-ink);
    font-family: var(--pbr-font);
    font-size: 16px;
    transition: border-color .2s, box-shadow .2s;
}

.pbr-modal .pbr-field select {
    appearance: none;
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%237200e0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    text-overflow: ellipsis;
}

.pbr-modal .pbr-field input:focus,
.pbr-modal .pbr-field select:focus {
    outline: none;
    border-color: var(--pbr-purple);
    box-shadow: 0 0 0 4px rgba(114, 0, 224, .14);
}

.pbr-modal .pbr-field.has-error input,
.pbr-modal .pbr-field.has-error select,
.pbr-field.has-error .pbr-file {
    border-color: var(--pbr-error);
}

.pbr-error {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--pbr-error);
}

.pbr-error:empty {
    display: none;
}

.pbr-file {
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 14px;
    margin: 0 !important;
    padding: 16px 18px;
    border: 1.5px dashed rgba(114, 0, 224, .5);
    border-radius: 16px;
    background: rgba(255, 255, 255, .7);
    cursor: pointer;
    transition: border-color .2s, background-color .2s;
}

.pbr-file:hover,
.pbr-file.is-dragover {
    border-color: var(--pbr-purple);
    background: rgba(114, 0, 224, .05);
}

.pbr-file:focus-within {
    border-color: var(--pbr-purple);
    box-shadow: 0 0 0 4px rgba(114, 0, 224, .14);
}

.pbr-file input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.pbr-file-icon {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--pbr-purple);
    color: #fff;
}

.pbr-file-text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.pbr-file-name {
    overflow: hidden;
    font-weight: 500;
    color: var(--pbr-purple);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pbr-file-text small {
    font-size: 13px;
    font-weight: 300;
    color: #6c6472;
}

.pbr-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.pbr-form-msg {
    margin: 0 0 12px;
    font-size: 14px;
    color: var(--pbr-error);
}

.pbr-form-msg:empty {
    display: none;
}

.pbr-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

.pbr-form-actions .pbr-prev {
    margin-right: auto;
}

.pbr-form-actions [hidden] {
    display: none !important;
}

.pbr-success {
    padding: 10px 0;
    text-align: center;
}

.pbr-success-icon {
    display: inline-grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pbr-purple), var(--pbr-purple-soft));
    color: #fff;
    box-shadow: 0 16px 30px -12px rgba(114, 0, 224, .7);
}

.pbr-success-icon .pbr-icon {
    width: 36px;
    height: 36px;
}

.pbr-success h3 {
    margin: 0 0 8px;
    font-family: var(--pbr-font);
    font-size: 26px;
    font-weight: 700;
    color: var(--pbr-purple);
}

.pbr-success p {
    margin: 0 0 22px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.45;
}

body.pbr-modal-open {
    overflow: hidden;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
    /* Elementor sets --flex-direction per element with higher specificity. */
    .pbr-page .pbr-logros > .e-con-inner,
    .pbr-page .pbr-logros {
        --flex-direction: column;
        flex-direction: column !important;
    }

    .pbr-page .pbr-logros-text,
    .pbr-page .pbr-logros-media {
        width: 100% !important;
    }

    .pbr-page .pbr-logros {
        padding-right: var(--pbr-gutter);
    }

    .pbr-page .pbr-logros-text {
        padding-bottom: clamp(30px, 5vw, 50px);
    }

    /* Stacked: photo still hugs the right and bottom edges. */
    .pbr-page .pbr-logros-media {
        width: calc(100% + var(--pbr-gutter)) !important;
        max-width: 640px;
        margin-right: calc(-1 * var(--pbr-gutter));
    }

    .pbr-page .pbr-op-heading {
        padding-left: 0;
    }
}

@media (max-width: 767px) {
    .pbr-page .pbr-hero {
        min-height: 0;
    }

    .pbr-page .pbr-counters {
        margin: 0 auto;
    }

    .pbr-op-line1::after {
        width: 60px;
    }

    /* Single column: keep the original job order. */
    .pbr-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .pbr-col {
        display: contents;
    }

    .pbr-card {
        order: var(--pbr-order);
    }

    /* Tabs wrap onto extra lines instead of running off the screen. */
    .pbr-tabs {
        gap: 10px 8px;
        padding: 0 4px;
    }

    .pbr-jobs .pbr-tab {
        padding: .5em 1.1em;
    }

    .pbr-modal {
        align-items: flex-end;
        padding: 0;
    }

    .pbr-modal-dialog {
        width: 100%;
        max-height: 92vh;
        max-height: 92dvh;
        border-radius: 28px 28px 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html:has(body.pbr-page) {
        scroll-behavior: auto;
    }

    .pbr-modal-dialog {
        animation: none;
    }
}
