/* ==================================================
   CAREER HERO
   Same design language as About Hero
================================================== */

.career-hero {
    padding: 100px 0;
    background: linear-gradient(180deg,
            #ffffff 0%,
            #f7f9ff 100%);
    position: relative;
    overflow: hidden;
}

.career-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 80px;
    align-items: center;
}

/* ==============================
   LEFT CONTENT
============================== */

.career-copy {
    position: relative;
    z-index: 2;
}

.career-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;

    margin-bottom: 18px;
}

.career-section-tag span {
    width: 22px;
    height: 2px;
    background: var(--blue);
    display: inline-block;
}

.career-copy h1 {
    font-size: 54px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -2px;
    margin: 20px 0;
    color: var(--ink);
}

.career-copy h1 span {
    color: var(--blue);
}

.career-copy>p {
    max-width: 620px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
    margin-top: 20px;
}

/* ==============================
   HERO BUTTONS
============================== */

.career-hero-buttons {
    display: flex;
    gap: 18px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.career-btn-primary,
.career-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    height: 54px;
    padding: 0 32px;

    border-radius: 100px;
    font-weight: 700;
    transition: .35s ease;
}

.career-btn-primary {
    background: var(--blue);
    color: #fff;
}

.career-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 86, 255, .35);
}

.career-btn-outline {
    border: 1px solid var(--ink);
    color: var(--ink);
    background: transparent;
}

.career-btn-outline:hover {
    background: var(--ink);
    color: #fff;
    transform: translateY(-3px);
}

/* ==============================
   CAREER PROOF
============================== */

.career-proof {
    display: flex;
    margin-top: 55px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.career-proof div {
    min-width: 120px;
    padding-right: 25px;
    margin-right: 25px;

    border-right: 1px solid var(--line);

    display: flex;
    flex-direction: column;
    gap: 5px;
}

.career-proof div:last-child {
    border-right: 0;
}

.career-proof strong {
    font-size: 18px;
    color: var(--ink);
}

.career-proof span {
    font-size: 11px;
    color: var(--muted);
}

/* ==============================
   RIGHT IMAGE
============================== */

.career-hero-right {
    position: relative;
    z-index: 1;
}

.career-hero-right img {
    width: 100%;
    display: block;

    border-radius: 30px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, .08);

    transition: .4s ease;

    position: relative;
    z-index: 2;
}

.career-hero-right img:hover {
    transform: scale(1.02);
}

/* BLUE CIRCLE */

.career-hero-right::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    background: rgba(37, 86, 255, .08);

    top: -30px;
    right: -30px;

    z-index: 0;
}

/* BLUE ROTATED SQUARE */

.career-hero-right::after {
    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    background: var(--blue);
    opacity: .08;

    border-radius: 30px;

    left: -30px;
    bottom: -30px;

    transform: rotate(25deg);

    z-index: 0;
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 992px) {

    .career-hero {
        padding: 80px 0;
    }

    .career-hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .career-copy>p {
        margin-left: auto;
        margin-right: auto;
    }

    .career-hero-buttons {
        justify-content: center;
    }

    .career-proof {
        justify-content: center;
    }

    .career-hero-right {
        max-width: 700px;
        width: 100%;
        margin: 0 auto;
    }

    .career-copy h1 {
        font-size: 50px;
    }
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 768px) {

    .career-hero {
        padding: 70px 0;
    }

    .career-hero-grid {
        gap: 45px;
    }

    .career-copy h1 {
        font-size: 40px;
        line-height: 1.08;
        letter-spacing: -1.5px;
    }

    .career-copy>p {
        font-size: 16px;
    }

    .career-hero-buttons {
        flex-direction: column;
        align-items: stretch;
        margin-top: 30px;
    }

    .career-btn-primary,
    .career-btn-outline {
        width: 100%;
    }

    .career-proof {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px 0;
        margin-top: 40px;
    }

    .career-proof div {
        min-width: 33.33%;
        padding-right: 15px;
        margin-right: 15px;
    }

    .career-proof div:last-child {
        padding-right: 0;
        margin-right: 0;
    }

    .career-hero-right {
        width: calc(100% - 25px);
        margin-right: 0;
    }

    .career-hero-right img {
        border-radius: 22px;
    }

    .career-hero-right::before {
        width: 110px;
        height: 110px;
        top: -20px;
        right: -20px;
    }

    .career-hero-right::after {
        width: 80px;
        height: 80px;
        left: -20px;
        bottom: -20px;
        border-radius: 20px;
    }
}

.career-proof {
    display: flex;
    margin-top: 65px;
    padding-top: 20px;
    border-top: 1px solid var(--line)
}

.career-proof div {
    min-width: 120px;
    padding-right: 25px;
    margin-right: 25px;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 5px
}

.career-proof div:last-child {
    border: 0
}

.career-proof strong {
    font-size: 18px
}

.career-proof span {
    font-size: 11px;
    color: var(--muted)
}

.career-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 35px
}

.career-tags span {
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .6);
    font-size: 8px;
    letter-spacing: .1em;
    font-weight: 800
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line)
}

.culture-card {
    min-height: 310px;
    padding: 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    transition: .3s
}

.culture-card:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(11, 16, 32, .08)
}

.culture-card>span,
.role-row>span,
.application-side>div>span {
    color: var(--red);
    font-size: 10px;
    letter-spacing: .15em;
    font-weight: 800
}

.culture-card i {
    margin-top: auto;
    margin-bottom: 23px;
    font-size: 28px;
    color: var(--blue)
}

.culture-card h3 {
    font-size: 24px;
    letter-spacing: -.04em;
    margin: 0 0 10px
}

.culture-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    margin: 0
}

.roles {
    background: white
}

.role-list {
    border-top: 1px solid var(--line)
}

.role-row {
    display: grid;
    grid-template-columns: 70px 1fr 45px;
    gap: 30px;
    align-items: center;
    min-height: 125px;
    border-bottom: 1px solid var(--line);
    transition: .25s
}

.role-row:hover {
    padding: 0 15px;
    background: #f8f9fb
}

.role-main h3 {
    font-size: 28px;
    letter-spacing: -.04em;
    margin: 0 0 7px
}

.role-main p {
    color: var(--muted);
    font-size: 13px;
    margin: 0
}

.role-row>b {
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 400
}

.role-row:hover>b {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
    transform: rotate(45deg)
}

.career-apply {
    background: var(--ink);
    color: white
}

.career-apply .section-head>p {
    color: rgba(255, 255, 255, .56)
}

.application-grid {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 60px;
    align-items: start
}

.application-side {
    display: grid;
    gap: 12px
}

.application-side>div {
    min-height: 150px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    background: rgba(255, 255, 255, .035)
}

.application-side i {
    float: right;
    color: #8ba5ff;
    font-size: 21px
}

.application-side h3 {
    font-size: 20px;
    margin: 15px 0 7px
}

.application-side p {
    color: rgba(255, 255, 255, .45);
    font-size: 12px;
    line-height: 1.6;
    margin: 0
}

.career-form {
    background: white;
    color: var(--ink);
    border-radius: 25px;
    padding: 38px
}

.career-form label {
    display: block;
    margin-bottom: 20px
}

.career-form label>span {
    display: block;
    font-size: 10px;
    letter-spacing: .08em;
    font-weight: 800;
    margin-bottom: 9px
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.career-form input,
.career-form select,
.career-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 14px 15px;
    background: #f8f9fb;
    color: var(--ink);
    outline: none
}

.career-form input:focus,
.career-form select:focus,
.career-form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(37, 86, 255, .08)
}

.career-form textarea {
    resize: vertical
}

.cv-upload {
    margin: 8px 0 22px
}

.cv-upload>label {
    min-height: 160px;
    border: 1.5px dashed rgba(11, 16, 32, .2);
    border-radius: 17px;
    background: #f8f9fb;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    padding: 20px
}

.cv-upload>label:hover {
    border-color: var(--blue)
}

.cv-upload i {
    width: 45px;
    height: 45px;
    border-radius: 13px;
    background: rgba(37, 86, 255, .08);
    color: var(--blue);
    display: grid;
    place-items: center;
    margin-bottom: 11px
}

.cv-upload strong {
    font-size: 14px
}

.cv-upload small {
    color: var(--muted);
    font-size: 10px;
    margin-top: 5px
}

.cv-upload em {
    margin-top: 9px;
    color: var(--blue);
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.cv-upload input {
    display: none
}

.captcha-wrap {
    margin: 0 0 22px;
    min-height: 78px;
    display: flex;
    align-items: center
}

.career-form .btn-white {
    width: 100%;
    background: var(--blue);
    color: white
}

.career-form .btn-white:hover {
    background: var(--ink)
}

.form-note {
    text-align: center;
    font-size: 10px;
    color: var(--muted);
    margin: 12px 0 0
}

/* ==========================================
   CAREER BOTTOM
========================================== */

.career-bottom {
    padding: 110px 0;
    background: #f7f9ff;
}

.career-bottom-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.career-bottom-content .eyebrow {
    justify-content: center;
}

.career-bottom-content h2 {
    margin: 25px 0;

    font-size: clamp(50px, 6vw, 78px);
    line-height: .95;
    letter-spacing: -.065em;
}

.career-bottom-content h2 span {
    color: var(--blue);
}

.career-bottom-content p {
    max-width: 600px;
    margin: 0 auto 35px;

    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.career-bottom-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    height: 54px;
    padding: 0 28px;

    border-radius: 100px;

    background: var(--blue);
    color: #fff;

    font-size: 13px;
    font-weight: 700;

    transition: .3s ease;
}

.career-bottom-btn span {
    font-size: 18px;
    transition: .3s ease;
}

.career-bottom-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(45, 91, 255, .25);
}

.career-bottom-btn:hover span {
    transform: translate(3px, -3px);
}


/* MOBILE */

@media(max-width:768px) {

    .career-bottom {
        padding: 75px 20px;
    }

    .career-bottom-content h2 {
        font-size: 45px;
    }

    .career-bottom-content p {
        font-size: 15px;
    }

    .career-bottom-btn {
        width: 100%;
        justify-content: center;
    }
}


/* =========================================================
   CAREER PAGE — FINAL RESPONSIVE OVERRIDES
   ========================================================= */

html {
    overflow-x: hidden;
}

body {
    min-width: 0;
    overflow-x: hidden;
}

.container {
    width: min(1240px, calc(100% - 48px));
}

/* Large tablet / small laptop */
@media (max-width: 1200px) {
    .container {
        width: min(1080px, calc(100% - 48px));
    }

    .career-hero-grid {
        gap: 48px;
    }

    .application-grid {
        gap: 40px;
    }

    .culture-card {
        padding: 24px;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .container {
        width: min(760px, calc(100% - 40px));
    }

    .career-hero {
        padding: 80px 0;
    }

    .career-hero-grid {
        grid-template-columns: 1fr;
        gap: 45px;
        text-align: center;
    }

    .career-copy>p {
        margin-inline: auto;
    }

    .career-hero-buttons {
        justify-content: center;
    }

    .career-proof {
        justify-content: center;
    }

    .career-hero-right {
        max-width: 700px;
        width: 100%;
        margin-inline: auto;
    }

    .career-copy h1 {
        font-size: clamp(42px, 7vw, 52px);
    }

    .culture-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .role-row {
        grid-template-columns: 55px 1fr 45px;
        gap: 20px;
    }

    .application-grid {
        grid-template-columns: 1fr;
    }

    .application-side {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .application-side>div {
        min-height: 180px;
    }

    .career-form {
        max-width: 760px;
        width: 100%;
        margin-inline: auto;
    }

    .career-bottom {
        padding: 85px 0;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        width: calc(100% - 32px);
    }



    /* Hero */
    .career-hero {
        padding: 58px 0;
    }

    .career-hero-grid {
        gap: 38px;
    }

    .career-section-tag {
        font-size: 11px;
        letter-spacing: 1.5px;
        margin-top: 50px;
    }

    .career-copy h1 {
        font-size: clamp(34px, 9vw, 44px);
        line-height: 1.08;
        letter-spacing: -1.3px;
        margin: 16px 0;
    }

    .career-copy>p {
        font-size: 16px;
        line-height: 1.65;
    }

    .career-hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 11px;
        margin-top: 28px;
    }

    .career-btn-primary,
    .career-btn-outline {
        width: 100%;
        max-width: 360px;
        margin-inline: auto;
    }

    .career-proof {
        margin-top: 38px;
        width: 100%;
        justify-content: center;
        gap: 0;
    }

    .career-proof div {
        min-width: 33.333%;
        padding: 0 10px;
        margin: 0;
    }

    .career-proof strong {
        font-size: 17px;
    }

    .career-proof span {
        font-size: 10px;
    }

    .career-hero-right {
        width: calc(100% - 18px);
        margin-inline: auto;
    }

    .career-hero-right img {
        border-radius: 22px;
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .career-hero-right::before {
        width: 105px;
        height: 105px;
        top: -18px;
        right: -18px;
    }

    .career-hero-right::after {
        width: 75px;
        height: 75px;
        left: -18px;
        bottom: -18px;
        border-radius: 20px;
    }

    /* General section headings */
    .section-head {
        gap: 25px;
    }

    .section-head>p {
        max-width: none;
    }

    /* Culture */
    .culture-grid {
        grid-template-columns: 1fr;
    }

    .culture-card {
        min-height: 250px;
        padding: 24px 20px;
    }

    .culture-card h3 {
        font-size: 22px;
    }

    .culture-card p {
        font-size: 14px;
    }

    /* Roles */
    .role-row {
        grid-template-columns: 34px 1fr 38px;
        gap: 12px;
        min-height: 110px;
        padding: 16px 0;
    }

    .role-row:hover {
        padding: 16px 10px;
    }

    .role-main h3 {
        font-size: 21px;
        line-height: 1.2;
    }

    .role-main p {
        font-size: 13px;
        line-height: 1.55;
    }

    .role-row>b {
        width: 34px;
        height: 34px;
    }

    /* Application */
    .application-grid {
        gap: 28px;
    }

    .application-side {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .application-side>div {
        min-height: auto;
        padding: 22px 20px;
    }

    .application-side h3 {
        font-size: 19px;
    }

    .application-side p {
        font-size: 12px;
    }

    .career-form {
        border-radius: 20px;
        padding: 26px 18px;
    }

    .field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .career-form label {
        margin-bottom: 17px;
    }

    .career-form input,
    .career-form select,
    .career-form textarea {
        font-size: 16px;
        padding: 13px 14px;
    }

    .cv-upload>label {
        min-height: 145px;
        padding: 18px;
    }

    .captcha-wrap {
        overflow-x: auto;
        justify-content: flex-start;
    }

    .g-recaptcha {
        transform-origin: left center;
    }

    /* Bottom CTA */
    .career-bottom {
        padding: 70px 0;
    }

    .career-bottom-content {
        max-width: 100%;
    }

    .career-bottom-content h2 {
        font-size: clamp(38px, 10vw, 50px);
        line-height: .98;
    }

    .career-bottom-content p {
        font-size: 15px;
        line-height: 1.65;
    }

    .career-bottom-btn {
        width: 100%;
        max-width: 360px;
        justify-content: center;
    }



}

/* Small phones */
@media (max-width: 480px) {
    .container {
        width: calc(100% - 24px);
    }

    .career-hero {
        padding: 48px 0;
    }

    .career-copy h1 {
        font-size: 32px;
    }

    .career-copy>p {
        font-size: 15px;
    }

    .career-proof {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
    }

    .career-proof div {
        min-width: 0;
        padding: 0 7px;
    }

    .career-proof strong {
        font-size: 16px;
    }

    .career-proof span {
        font-size: 9px;
        line-height: 1.3;
    }

    .career-hero-right {
        width: calc(100% - 12px);
    }

    .career-hero-right::before {
        width: 80px;
        height: 80px;
        top: -12px;
        right: -12px;
    }

    .career-hero-right::after {
        width: 60px;
        height: 60px;
        left: -12px;
        bottom: -12px;
    }

    .culture-card {
        min-height: 225px;
        padding: 21px 18px;
    }

    .role-row {
        grid-template-columns: 27px 1fr 34px;
        gap: 9px;
    }

    .role-row>span {
        font-size: 9px;
    }

    .role-main h3 {
        font-size: 19px;
    }

    .role-main p {
        font-size: 12px;
    }

    .role-row>b {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .career-form {
        padding: 22px 15px;
        border-radius: 18px;
    }

    .career-form input,
    .career-form select,
    .career-form textarea {
        border-radius: 10px;
    }

    .cv-upload>label {
        min-height: 135px;
    }

    .career-bottom {
        padding: 58px 0;
    }

    .career-bottom-content h2 {
        font-size: 34px;
    }



}

/* Landscape phones */
@media (max-height: 520px) and (orientation: landscape) and (max-width: 900px) {
    .career-hero {
        padding: 45px 0;
    }

    .career-hero-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        text-align: left;
    }

    .career-copy>p {
        margin-inline: 0;
    }

    .career-hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }

    .career-btn-primary,
    .career-btn-outline {
        width: auto;
        margin-inline: 0;
    }

    .career-proof {
        justify-content: flex-start;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}