/* Shared public-page hero system — aligned with the polished homepage. */
.page-hero,
.local-web-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 84% 25%, rgba(245, 159, 23, .14), transparent 27%),
        radial-gradient(circle at 50% 115%, rgba(37, 94, 145, .22), transparent 38%),
        linear-gradient(118deg, #06172b 0%, #071b33 53%, #0a2541 100%);
}

.page-hero {
    min-height: 540px;
    padding: 94px 0 88px;
    display: flex;
    align-items: center;
}

.page-hero::before,
.local-web-hero::before {
    opacity: .72;
    background-size: 54px 54px;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .72) 53%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .72) 53%, transparent 100%);
}

.page-hero::after,
.local-web-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 520px;
    height: 520px;
    right: -150px;
    top: -215px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    box-shadow:
        0 0 0 70px rgba(255, 255, 255, .018),
        0 0 0 140px rgba(245, 159, 23, .025);
}

.page-hero > .container,
.local-web-hero > .container {
    position: relative;
    z-index: 2;
}

.page-hero > .container:not(.career-hero-grid):not(.internship-page-hero-grid):not(.capability-hero-grid) {
    padding-right: min(34vw, 430px);
}

.page-hero > .container:not(.career-hero-grid):not(.internship-page-hero-grid):not(.capability-hero-grid)::after {
    content: "BNTA  /  DIGITAL ENGINEERING";
    position: absolute;
    right: 0;
    top: 50%;
    width: min(29vw, 360px);
    min-height: 205px;
    padding: 30px;
    display: flex;
    align-items: flex-end;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 26px;
    color: rgba(223, 232, 240, .55);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)),
        linear-gradient(90deg, transparent 49.7%, rgba(255, 255, 255, .035) 50%, transparent 50.3%),
        linear-gradient(transparent 49.7%, rgba(255, 255, 255, .035) 50%, transparent 50.3%);
    background-size: auto, 48px 48px, 48px 48px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 28px 70px rgba(0, 0, 0, .17);
    transform: translateY(-50%) rotate(-1.2deg);
    font: 800 .58rem/1.4 Manrope, sans-serif;
    letter-spacing: .16em;
}

.page-hero .eyebrow,
.local-web-hero .eyebrow {
    gap: 12px;
    padding: 7px 11px 7px 0;
    color: #dce6ef;
    font-size: .67rem;
    letter-spacing: .21em;
}

.page-hero .eyebrow i,
.local-web-hero .eyebrow i {
    width: 25px;
    background: linear-gradient(90deg, #ffbc42, #f59f17);
}

.page-hero h1,
.local-web-hero h1 {
    max-width: 850px;
    margin: 22px 0 25px;
    color: #fff;
    font-size: clamp(3.45rem, 5.35vw, 5.35rem);
    line-height: 1.01;
    letter-spacing: -.065em;
    text-wrap: balance;
}

.page-hero h1 em,
.local-web-hero h1 em {
    position: relative;
    display: inline-block;
    color: #f59f17;
    font-style: normal;
}

.page-hero h1 em::after,
.local-web-hero h1 em::after {
    content: "";
    position: absolute;
    left: .03em;
    right: -.03em;
    bottom: -.09em;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, #f59f17, rgba(245, 159, 23, 0));
}

.page-hero p,
.local-web-hero p {
    max-width: 690px;
    color: #becbd7;
    font-size: 1.06rem;
    line-height: 1.75;
}

.page-hero .hero-actions,
.local-web-hero .local-hero-actions {
    margin-top: 33px;
}

.page-hero .btn,
.local-web-hero .btn {
    min-height: 56px;
    padding: 0 24px;
    border-radius: 11px;
}

/* Two-column public heroes use the same glass-surface language as the homepage. */
.career-hero-grid,
.internship-page-hero-grid,
.capability-hero-grid,
.local-web-hero-grid {
    gap: clamp(55px, 7vw, 105px);
}

.career-hero-note,
.internship-hero-card,
.local-web-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 32px 80px rgba(0, 0, 0, .19);
    backdrop-filter: blur(10px);
}

.career-hero-note::before,
.internship-hero-card::before,
.local-web-card::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -72px;
    top: -80px;
    border: 1px solid rgba(245, 159, 23, .2);
    border-radius: 50%;
    box-shadow: 0 0 0 35px rgba(245, 159, 23, .035);
}

.capability-orbit {
    border-color: rgba(255, 255, 255, .1);
    background: radial-gradient(circle, rgba(18, 52, 86, .65), rgba(7, 27, 51, .2) 66%);
    box-shadow: inset 0 0 70px rgba(0, 0, 0, .13), 0 35px 90px rgba(0, 0, 0, .18);
}

.local-web-hero {
    min-height: 680px;
    padding: 88px 0;
}

.local-web-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
}

.local-web-card {
    padding: 38px;
}

.local-trust-row {
    width: fit-content;
    max-width: 100%;
    margin-top: 32px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(10px);
}

@media (max-width: 900px) {
    .page-hero {
        min-height: 0;
        padding: 78px 0;
    }

    .page-hero > .container:not(.career-hero-grid):not(.internship-page-hero-grid):not(.capability-hero-grid) {
        padding-right: 0;
    }

    .page-hero > .container:not(.career-hero-grid):not(.internship-page-hero-grid):not(.capability-hero-grid)::after {
        display: none;
    }

    .page-hero h1,
    .local-web-hero h1 {
        font-size: clamp(3.25rem, 9vw, 4.8rem);
    }

    .local-web-hero {
        min-height: 0;
        padding: 76px 0;
    }
}

@media (max-width: 560px) {
    .page-hero,
    .career-hero,
    .internship-page-hero,
    .capability-hero,
    .local-web-hero {
        padding: 58px 0 62px;
    }

    .page-hero h1,
    .local-web-hero h1 {
        margin: 18px 0 22px;
        font-size: clamp(2.75rem, 13.6vw, 3.65rem);
        line-height: 1.02;
    }

    .page-hero p,
    .local-web-hero p {
        font-size: .98rem;
        line-height: 1.7;
    }

    .career-hero-note,
    .internship-hero-card,
    .local-web-card {
        padding: 25px;
        border-radius: 19px;
    }

    .local-trust-row {
        border-radius: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-hero > .container::after {
        transform: translateY(-50%);
    }
}
