/* ============================================================
   CAREER (listing) PAGE
   ============================================================ */

/* ---------------- hero ---------------- */
.cr-hero {
    position: relative;
    padding: 170px 0 0;
    background: linear-gradient(180deg, #E9F6EE 0%, #F4FBF7 45%, #FFFFFF 100%);
    text-align: center;
    overflow: hidden;
}
/* translucent earth behind the heading (same as the About hero) */
.cr-hero::before {
    content: '';
    position: absolute;
    top: -159px;
    left: 50%;
    transform: translateX(-50%);
    width: 660px;
    height: 620px;
    background: url('../images/earth.min.webp') center top / contain no-repeat;
    pointer-events: none;
}
.cr-hero .container { position: relative; z-index: 1; }
.cr-hero .badge-pill { margin: 0 auto 22px; }
.cr-hero .section-title { margin-bottom: 18px; }
.cr-hero-sub {
    font-size: 15.5px;
    color: #5A6478;
    margin-bottom: 28px;
}
.cr-hero .btn { margin-bottom: 56px; }

/* photo collage: tall left, stacked middle, wide right */
.cr-collage {
    display: grid;
    /* Figma: left 242px, middle 210px, right 565px of a 1040px collage */
    grid-template-columns: 1fr 0.87fr 2.33fr;
    gap: 13px;
    align-items: stretch;
    height: 430px;
    max-width: 1040px;
    margin: 0 auto;
    text-align: left;
}
.cr-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}
.cr-collage .cr-col-b {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
}

/* ---------------- why work with us ---------------- */
.cr-why { padding: 110px 0; background: #fff; }
.cr-why-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
}
.cr-why-text .section-title { margin-bottom: 22px; }
.cr-why-text p {
    font-size: 15.5px;
    line-height: 1.8;
    color: #5A6478;
    margin-bottom: 28px;
    max-width: 420px;
}
.cr-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.cr-card {
    background: #fff;
    border: 1px solid #E7ECF4;
    border-radius: 16px;
    padding: 26px 24px;
    transition: transform .3s ease, box-shadow .3s ease;
}
.cr-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 30, 70, .08); }
.cr-card .cr-ico {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: #EFF4FF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.cr-card .cr-ico img { width: 26px; height: 26px; display: block; }
.cr-card h5 { font-size: 16.5px; font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.cr-card p { font-size: 13.5px; line-height: 1.7; color: #5A6478; }

/* ---------------- core values band (navy) ---------------- */
.cr-values { padding: 110px 0; background: var(--navy-section); color: #fff; }
.cr-values-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 80px;
    align-items: center;
}
.cr-values-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 46px;
}
.cr-values-right .badge-pill { margin-bottom: 20px; }
.cr-values-right .section-title { color: #fff; margin-bottom: 30px; }
.cr-values-right img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

/* ---------------- open opportunities ---------------- */
.cr-openings { padding: 110px 0 90px; background: #fff; }
.cr-openings .badge-pill { margin-bottom: 20px; }
.cr-openings .section-title { margin-bottom: 40px; }
.cr-job {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 4px;
    border-bottom: 1px solid #ECEFF5;
}
.cr-job:first-of-type { border-top: 1px solid #ECEFF5; }
.cr-job h4 { font-size: 19px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.cr-job .cr-job-meta {
    font-size: 13.5px;
    color: #6E7689;
}
.cr-job .cr-job-meta .sep { margin: 0 10px; color: #C7CDDA; }
.cr-apply {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: .06em;
    padding: 10px 18px;
    border-radius: 100px;
    white-space: nowrap;
    transition: background .25s ease, transform .25s ease;
}
.cr-apply:hover { background: #d97724; transform: translateY(-2px); }
.cr-apply .btn-circle {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(0,0,0,.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.cr-apply .btn-circle img { width: 10px; height: 10px; }

/* locations a role is open in — chips under the title, one row per job */
.cr-job-info { min-width: 0; }
.cr-job-locs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}
.cr-loc-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 4px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8A93A6;
}
.cr-loc-label .ic { width: 15px; height: 15px; color: var(--orange); }
.cr-loc {
    display: inline-flex;
    align-items: center;
    padding: 5px 13px;
    border-radius: 100px;
    background: #F1F4FA;
    border: 1px solid #E3E8F2;
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
/* a chip is a link: it opens the job with that location pre-selected */
a.cr-loc:hover, a.cr-loc:focus-visible {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

/* ---------------- responsive ---------------- */
@media (max-width: 1024px) {
    .cr-why-grid, .cr-values-grid { grid-template-columns: 1fr; gap: 50px; }
    .cr-collage { height: auto; grid-template-columns: 1fr 1fr; }
    .cr-collage .cr-col-c { grid-column: 1 / -1; }
    /* keep faces in frame: bias the cover-crop toward the top of the photo
       (centre-crop was cutting heads off the tall portrait shot) */
    .cr-collage img { height: 240px; object-position: 50% 22%; }
    /* the left column photo is a tall portrait (1154x1968) — give it a
       taller box on mobile so it isn't reduced to a mid-torso strip */
    .cr-collage .cr-col-a img { height: 320px; }
}
@media (max-width: 720px) {
    .cr-hero { padding-top: 140px; }
    .cr-collage { grid-template-columns: 1fr; }
    .cr-cards { grid-template-columns: 1fr; }
    .cr-values-list { grid-template-columns: 1fr; gap: 28px; }
    .cr-job { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ---------------- FAQ (same as About page) ---------------- */
.faq-section {
    padding: 100px 0;
    background: #fff;
}

.faq-section .faq-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: start;
    gap: 60px;
}

.faq-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: 1px solid #f0f0f0;
    border-radius: 40px;
    background: #fff;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 20px;
    font-weight: 550;
}

.faq-dot {
    width: 8px;
    height: 8px;
    background: #00b894;
    border-radius: 50%;
}

.faq-title {
    font-size: 49px;
    font-weight: 500;
    line-height: 1.05;
    color: var(--blue);
    margin-bottom: 20px;
}

.faq-title span {
    color: #00b894;
    font-style: italic;
    font-size: 49px;
    font-family: var(--font-serif);
}

.faq-description {
    color: #777;
    font-size: 15px;
    line-height: 1.8;
    max-width: 270px;
    font-weight: 400;
}

.faq-accordion .accordion-item {
    border-bottom: 1px solid #e6e6e6;
}

.faq-accordion .accordion-header {
    margin: 0;
}

.faq-accordion .accordion-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    border: none;
    cursor: pointer;
    background: #fff;
    box-shadow: none;
    padding: 25px 30px;
    font-size: 18px;
    font-weight: 500;
    color: #222;
}

.faq-accordion .accordion-button::after {
    content: "+";
    font-size: 28px;
    font-weight: 300;
    color: #555;
    line-height: 1;
    margin-left: 16px;
}

.faq-accordion .accordion-item.is-open {
    background-image: url('../images/faq-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.faq-accordion .accordion-item.is-open .accordion-button {
    color: #1f2937;
    background: transparent;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    content: "\2212";
}

.faq-accordion .accordion-collapse {
    display: none;
}

.faq-accordion .accordion-collapse.show {
    display: block;
}

.faq-accordion .accordion-body {
    background: transparent;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
    padding: 0 30px 26px;
}

/* ---------------- FAQ + section spacing: tablet/mobile (matches other pages) ---------------- */
@media (max-width: 991.98px) {
    .faq-section { padding: 60px 0; }
    .faq-section .faq-grid { grid-template-columns: 1fr; gap: 30px; }
    .faq-title { font-size: 36px; }
    .faq-title span { font-size: 36px; }
    .faq-description { max-width: 100%; margin-bottom: 30px; }
    .faq-accordion .accordion-button { padding: 18px 20px; font-size: 16px; }
    .faq-accordion .accordion-body { padding: 0 20px 20px; }

    /* tighter section rhythm on smaller screens */
    .cr-why { padding: 70px 0; }
    .cr-values { padding: 70px 0; }
    .cr-openings { padding: 60px 0 70px; }
}
@media (max-width: 575.98px) {
    .faq-title { font-size: 26px; }
    .faq-title span { font-size: 26px; }
}
