.company-hero__copy {
    padding-right: 28px;
}

.company-hero__side {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(241, 247, 252, 0.92));
}

.company-hero__media {
    position: relative;
    min-height: 268px;
    background:
        radial-gradient(circle at top left, rgba(43, 143, 235, 0.18), transparent 34%),
        linear-gradient(135deg, rgba(245, 249, 253, 0.96), rgba(227, 239, 248, 0.9));
    overflow: hidden;
}

.company-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.company-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.16), rgba(15, 23, 42, 0.38));
    pointer-events: none;
}

.company-hero__video-link {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.74);
    color: #fff;
    text-decoration: none;
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.22);
}

.company-hero__video-link:hover {
    background: rgba(15, 23, 42, 0.84);
    color: #fff;
}

.company-hero__video-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(43, 143, 235, 0.18);
    color: #8dc7ff;
    font-size: 20px;
}

.company-hero__video-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.company-hero__video-copy strong {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
}

.company-hero__video-copy span {
    font-size: 12px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.82);
}

.company-metric {
    backdrop-filter: blur(10px);
}

.company-section__head h2 {
    margin: 0;
}

.company-team-grid {
    gap: 22px;
}

.company-team-card {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
    min-height: 100%;
    padding: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(43, 143, 235, 0.16), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 253, 0.96));
}

.company-team-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/public/img/spider-r.svg') right top / 220px no-repeat;
    opacity: 0.08;
    pointer-events: none;
}

.company-team-card__photo {
    position: relative;
    overflow: hidden;
    background: #dfe8f1;
}

.company-team-card__photo--row {
    width: 160px;
    min-height: 180px;
}

.company-team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.company-team-grid .company-team-card:nth-child(3) .company-team-card__photo img {
    object-fit: cover;
    object-position: center center;
    transform: none;
}

.company-team-card__body {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
    gap: 12px;
    padding: var(--content-pad-sm) var(--content-pad-md);
}

.company-team-card__body h3 {
    margin: 0;
    color: #0f172a;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 800;
    text-transform: uppercase;
}

.company-team-card__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.company-team-card__identity {
    display: grid;
    align-content: start;
    gap: 6px;
    min-width: 0;
}

.company-award-trigger {
    display: block;
    flex: 0 0 auto;
    width: 54px;
    min-width: 54px;
    height: 54px;
    min-height: 54px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
}

.company-award-trigger__icons {
    position: relative;
    display: block;
    width: 54px;
    height: 54px;
}

.company-award-trigger__icon {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity .2s ease, transform .2s ease;
}

.company-award-trigger__icon--gold {
    opacity: 0;
}

.company-award-trigger:hover .company-award-trigger__icon--black,
.company-award-trigger:focus-visible .company-award-trigger__icon--black {
    opacity: 0;
}

.company-award-trigger:hover .company-award-trigger__icon--gold,
.company-award-trigger:focus-visible .company-award-trigger__icon--gold {
    opacity: 1;
    transform: translateY(-2px);
}

.company-award-trigger:focus-visible {
    outline: 3px solid rgba(181, 137, 42, .4);
    outline-offset: 2px;
}

.company-team-card__role {
    color: #2b8feb;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.company-team-card__body p,
.company-team-card__description {
    margin: 0;
    color: #5a6878;
    font-size: 15px;
    line-height: 1.6;
}

.company-team-card__description p {
    margin: 0 0 8px;
}

.company-team-card__description p:last-child,
.company-team-card__description ul:last-child,
.company-team-card__description ol:last-child {
    margin-bottom: 0;
}

.company-team-card__description a {
    color: #173657;
    font-weight: 700;
    text-underline-offset: 3px;
}

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

.company-certificate-modal {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
}

.company-certificate-modal__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 12%, rgba(43, 143, 235, .3), transparent 34%),
        rgba(6, 18, 31, .86);
    backdrop-filter: blur(8px);
}

.company-certificate-modal__panel {
    position: relative;
    width: min(860px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 22px;
    border: 1px solid rgba(141, 199, 255, .75);
    border-radius: 24px;
    background: linear-gradient(145deg, #f7fbff 0%, #e8f4ff 100%);
    box-shadow:
        0 30px 90px rgba(0, 0, 0, .5),
        0 0 0 8px rgba(255, 255, 255, .08);
}

.company-certificate-modal__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: url('/public/img/spider-r.svg') center / cover no-repeat;
    opacity: .07;
    pointer-events: none;
}

.company-certificate-modal__close {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(43, 143, 235, .2);
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: #173657;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(23, 54, 87, .18);
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.company-certificate-modal__close:hover,
.company-certificate-modal__close:focus-visible {
    background: #2b8feb;
    color: #fff;
    transform: rotate(6deg);
}

.company-certificate-modal__panel > img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 140px);
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 16px 44px rgba(23, 54, 87, .18);
}

body.company-certificate-open {
    overflow: hidden;
}

.company-team-card__contact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.company-team-card__contact a {
    color: #173657;
    font-weight: 700;
    text-decoration: none;
}

.company-team-card__contact a:hover {
    color: #2b8feb;
}

.company-page .copy-chip {
    width: 36px;
    min-width: 36px;
    height: 36px;
    border-radius: 12px;
}

.company-info-shell__grid,
.company-info-shell__footnote {
    position: relative;
    z-index: 1;
}

.company-info-shell__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: var(--grid-gap-lg);
    padding: var(--content-pad-lg);
    align-items: stretch;
}

.company-info-shell__copy {
    display: grid;
    align-content: start;
}

.company-info-shell__copy h2 {
    margin: 0 0 16px;
    color: #2b8feb;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
}

.company-info-shell__text {
    display: grid;
    gap: 14px;
}

.company-info-shell__text p,
.company-info-shell__footnote p {
    margin: 0;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.72;
}

.company-info-shell__text strong {
    color: #0f172a;
    font-weight: 800;
}

.company-info-shell__directions {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.company-info-shell__list {
    display: grid;
    gap: 14px;
    flex: 1 1 auto;
    align-content: start;
    margin: 0;
    padding: 0;
    list-style: none;
}

.company-info-shell__list li {
    position: relative;
    padding-left: 22px;
    color: #173657;
    font-size: 16px;
    line-height: 1.62;
    font-weight: 700;
}

.company-info-shell__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.9em;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #8dc7ff, #2b8feb);
    transform: translateY(-50%);
    box-shadow: 0 0 0 5px rgba(141, 199, 255, 0.18);
}

.company-info-shell__footnote {
    padding: 0 var(--content-pad-lg) var(--content-pad-md);
}

.company-info-shell__footnote p {
    padding-top: 18px;
    border-top: 1px solid rgba(43, 143, 235, 0.12);
    color: #64748b;
    font-size: 13px;
    line-height: 1.65;
}

@media (max-width: 1199px) {
    .company-info-shell__grid {
        grid-template-columns: 1fr;
    }

    .company-team-card {
        grid-template-columns: 140px minmax(0, 1fr);
    }

    .company-team-card__photo--row {
        width: 140px;
        min-height: 160px;
    }

    .company-hero__media {
        min-height: 340px;
    }

    .company-hero__video-link {
        left: 14px;
        right: 14px;
        bottom: 14px;
        padding: 12px 14px;
    }
}

@media (max-width: 767px) {
    .company-award-trigger__icon--black {
        opacity: 0;
    }

    .company-award-trigger__icon--gold {
        opacity: 1;
    }

    .company-team-card {
        grid-template-columns: 1fr;
    }

    .company-team-card__photo--row {
        width: 100%;
        min-height: 180px;
    }

    .company-team-card__body,
    .company-info-shell__grid,
    .company-info-shell__footnote {
        padding: 20px;
    }

    .company-team-card__body h3 {
        font-size: 20px;
    }

    .company-team-card__heading {
        gap: 10px;
    }

    .company-certificate-modal {
        padding: 10px;
    }

    .company-certificate-modal__panel {
        max-height: calc(100vh - 20px);
        padding: 12px;
        border-radius: 12px;
    }

    .company-hero__media {
        min-height: 240px;
    }

    .company-hero__video-link {
        gap: 12px;
    }

    .company-hero__video-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
}
