.work-hero__shell {
    position: relative;
    overflow: hidden;
    border-radius: var(--surface-radius-lg);
    border: var(--surface-border-brand);
    box-shadow: var(--surface-shadow-shell);
    background:
        radial-gradient(circle at top left, rgba(43, 143, 235, 0.18), transparent 30%),
        radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.12), transparent 28%),
        linear-gradient(180deg, #ffffff, #f5f9fd);
}

.work-hero__content-shell {
    position: relative;
    z-index: 3;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    background: transparent;
    border: 0;
    box-shadow: none;
}

.work-hero__content-shell::before {
    content: none;
}

.work-hero__copy {
    position: relative;
    z-index: 4;
    padding-right: 28px;
}

.work-hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
}

.work-hero__media::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.84) 28%, rgba(255, 255, 255, 0.28) 58%, rgba(255, 255, 255, 0.08) 100%),
        url('/public/img/spider-l.svg') left bottom / 340px no-repeat;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}

.work-hero__media img {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.work-hero__media img {
    object-fit: cover;
    object-position: 100% center;
}

.work-hero__actions {
    gap: 14px;
}

.work-hero__actions:has(.inner-hero__cta--secondary:hover) .inner-hero__cta--primary {
    background: var(--page-bg);
    border-color: rgba(15, 23, 42, 0.08);
    color: #0f172a;
    box-shadow: none;
}

.work-values-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.work-value-card {
    display: grid;
    justify-items: center;
    gap: 14px;
    text-align: center;
}

.work-value-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(43, 143, 235, 0.1), rgba(141, 199, 255, 0.16));
    color: var(--brand-blue);
    font-size: 26px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.work-value-card h3 {
    min-height: 3.5em;
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
}

.work-value-card p {
    max-width: 26ch;
}

.work-vacancies {
    display: grid;
    gap: 12px;
}

.work-empty-state {
    display: grid;
    gap: 18px;
    padding: var(--content-pad-lg);
    text-align: left;
}

.work-empty-state__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(43, 143, 235, 0.1), rgba(141, 199, 255, 0.16));
    color: var(--brand-blue);
    font-size: 24px;
}

.work-empty-state__copy {
    display: grid;
    gap: 10px;
    max-width: 760px;
}

.work-empty-state__copy h3 {
    margin: 0;
    color: #0f172a;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
}

.work-empty-state__copy p {
    margin: 0;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.72;
}

.work-empty-state__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.work-vacancy-card {
    display: grid;
    grid-template-columns: 56px minmax(220px, 1.4fr) minmax(120px, 0.7fr) minmax(120px, 0.6fr) 132px;
    gap: 16px;
    align-items: center;
    padding: 18px 20px;
    border-radius: var(--surface-radius-md);
    background: rgba(255, 255, 255, 0.96);
    border: var(--surface-border-soft);
    box-shadow: var(--surface-shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.work-vacancy-card:hover {
    transform: var(--motion-lift-lg);
    box-shadow: var(--surface-shadow-card-hover);
    border-color: rgba(43, 143, 235, 0.25);
}

.work-vacancy-card:hover .work-vacancy-card__body h3 {
    color: var(--brand-blue);
}

.work-vacancy-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(43, 143, 235, 0.1), rgba(141, 199, 255, 0.16));
    color: var(--brand-blue);
    font-size: 22px;
}

.work-vacancy-card__body {
    min-width: 0;
}

.work-vacancy-card__body h3 {
    margin: 0;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 800;
    text-transform: uppercase;
}

.work-vacancy-card__body p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.work-vacancy-card__meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

.work-vacancy-card__meta-icon {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1;
}

.work-vacancy-card__salary {
    color: #334155;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    white-space: nowrap;
}

.work-vacancy-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(43, 143, 235, 0.4);
    border-radius: 12px;
    background: #fff;
    color: var(--brand-blue);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    opacity: 1;
}

.work-vacancy-card__button:hover {
    background: var(--brand-blue-dark);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--surface-shadow-cta);
}

.work-contact-band {
    align-items: stretch;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr) auto;
    gap: 24px;
}

.work-contact-band__copy,
.work-contact-band__items,
.work-contact-band__logo {
    position: relative;
    z-index: 1;
}

.work-contact-band__copy {
    display: grid;
    align-content: start;
    gap: 0;
    max-width: 100%;
}

.work-contact-band__copy p {
    text-transform: none;
    max-width: 100%;
    line-height: 1.55;
}

.work-contact-band__actions {
    margin-top: 22px;
}

.work-contact-band__actions .landing-button {
    min-width: 240px;
}

.work-contact-item strong a {
    color: inherit;
    text-decoration: none;
}

.work-contact-item strong a:hover {
    color: var(--brand-blue);
}

.work-contact-item {
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-height: 72px;
}

.work-contact-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
    width: 40px;
    height: 40px;
    font-size: 24px;
    line-height: 1;
    align-self: center;
}

.work-contact-item__content {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.work-contact-band__logo img {
    width: 100%;
    max-width: 160px;
    height: auto;
}

@media (max-width: 1399px) {
    .work-values-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1199px) {
    .work-hero__content-shell {
        grid-template-columns: 1fr;
    }

    .work-hero__copy {
        padding-right: 0;
    }

    .work-values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .work-vacancy-card {
        grid-template-columns: 56px minmax(200px, 1fr) minmax(110px, 0.7fr) minmax(110px, 0.6fr) 120px;
        gap: 14px;
    }

    .contact-band,
    .work-contact-band {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
    }

    .contact-band__logo {
        grid-column: 1 / -1;
        justify-self: end;
        width: min(220px, 100%);
    }
}

@media (max-width: 767px) {
    .work-hero__copy,
    .work-contact-band,
    .work-vacancy-card,
    .work-value-card {
        padding: 20px;
    }

    .inner-hero__title {
        font-size: 28px;
    }

    .work-values-grid {
        grid-template-columns: 1fr;
    }

    .work-vacancy-card {
        grid-template-columns: 52px minmax(0, 1fr);
        align-items: start;
    }

    .work-vacancy-card__icon {
        width: 52px;
        height: 52px;
    }

    .work-vacancy-card__body,
    .work-vacancy-card__meta,
    .work-vacancy-card__salary,
    .work-vacancy-card__button {
        grid-column: 2;
    }

    .work-vacancy-card__button {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
    }

    .work-empty-state {
        padding: 20px;
    }

    .work-empty-state__copy h3 {
        font-size: 20px;
    }

    .work-empty-state__copy p {
        font-size: 15px;
    }

    .work-hero__media::before {
        background:
            linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.84) 42%, rgba(255, 255, 255, 0.22) 100%);
    }

    .contact-band,
    .work-contact-band {
        grid-template-columns: 1fr;
    }

    .contact-band__logo {
        justify-self: start;
        width: 100%;
        max-width: none;
        padding: 0;
    }

    .work-contact-band__logo {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .work-contact-item__content {
        min-width: 0;
    }

    .work-contact-item strong a {
        display: block;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: clamp(12px, 4vw, 15px);
        line-height: 1.25;
    }

    .work-contact-band__actions .landing-button {
        width: 100%;
        min-width: 0;
    }
}
