.page-company-profile {
    --company-red: #d71920;
    --company-ink: #242424;
    --company-muted: #4b4b4b;
    --company-line: #f1d7d8;
}

.page-company-profile main {
    overflow: hidden;
}

.company-hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    color: #fff;
    background: #287fbd;
}

.company-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.company-hero__content {
    position: relative;
    z-index: 1;
    height: 100%;
    padding-top: 164px;
    padding-left: clamp(0px, 6vw, 116px);
}

.company-hero h1 {
    margin: 0;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .04em;
}

.company-hero p {
    margin: 20px 0 0;
    font-family: Arial, sans-serif;
    font-size: 27px;
    font-weight: 500;
    line-height: 1.25;
}

.company-hero i {
    width: 220px;
    height: 8px;
    margin-top: 44px;
    display: block;
    background: var(--company-red);
}

.company-about {
    padding: 70px 0 128px;
    background: #fff;
}

.company-section-heading {
    text-align: center;
}

.company-section-heading h2 {
    margin: 0;
    color: var(--company-ink);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.35;
}

.company-section-heading h2 em {
    color: var(--company-red);
    font-style: normal;
}

.company-section-heading p {
    margin: 15px 0 0;
    color: var(--company-muted);
    font-size: 16px;
    line-height: 1.7;
}

.company-about__main {
    margin-top: 56px;
    display: grid;
    grid-template-columns: 564px minmax(0, 1fr);
    gap: 60px;
    align-items: center;
}

.company-about__image {
    width: 564px;
    height: 400px;
    overflow: hidden;
    border-radius: 0 48px 0 48px;
}

.company-about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-about__copy {
    display: grid;
    gap: 42px;
}

.company-about__copy article {
    min-width: 0;
}

.company-about__copy h3 {
    margin: 0 0 14px;
    color: var(--company-red);
    font-size: 22px;
    font-weight: 650;
    line-height: 1.5;
}

.company-about__copy .rich-text {
    color: var(--company-muted);
    font-size: 16px;
    line-height: 2;
    text-align: justify;
    text-wrap: pretty;
}

.company-about__copy .rich-text p {
    margin: 0;
}

.company-advantage-grid {
    margin-top: 53px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.company-advantage-grid article {
    position: relative;
    height: 160px;
    padding: 25px 26px 20px;
    overflow: hidden;
    color: var(--company-ink);
    border: 1px solid var(--company-line);
    border-radius: 20px;
    background: #fff;
    outline: 0;
    transition: color .22s ease, border-color .22s ease, background-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.company-advantage-grid article > span {
    position: absolute;
    top: 7px;
    right: 15px;
    color: transparent;
    font-family: Arial, sans-serif;
    font-size: 52px;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
}

.company-advantage-grid article.is-featured {
    color: #fff;
    border-color: var(--company-red);
    background: var(--company-red);
    box-shadow: 0 14px 24px rgba(205, 25, 32, .14);
}

.company-advantage-grid article:hover,
.company-advantage-grid article:focus-visible {
    color: #fff;
    border-color: var(--company-red);
    background: var(--company-red);
    box-shadow: 0 14px 24px rgba(205, 25, 32, .14);
    transform: translateY(-3px);
}

.company-advantage-grid article:nth-child(n+2):hover > span,
.company-advantage-grid article:nth-child(n+2):focus-visible > span {
    width: 74px;
    height: 48px;
    color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 74px 48px;
}

.company-advantage-grid article:nth-child(2):hover > span,
.company-advantage-grid article:nth-child(2):focus-visible > span { background-image: url("/site/images/company/number-02.png"); }
.company-advantage-grid article:nth-child(3):hover > span,
.company-advantage-grid article:nth-child(3):focus-visible > span { background-image: url("/site/images/company/number-03.png"); }
.company-advantage-grid article:nth-child(4):hover > span,
.company-advantage-grid article:nth-child(4):focus-visible > span { background-image: url("/site/images/company/number-04.png"); }

.company-advantage-grid:has(article:hover) article.is-featured:not(:hover),
.company-advantage-grid:has(article:focus-visible) article.is-featured:not(:focus-visible) {
    color: var(--company-ink);
    border-color: var(--company-line);
    background: #fff;
    box-shadow: none;
    transform: none;
}

.company-advantage-grid article.is-featured > span {
    color: rgba(255, 255, 255, .08);
}

.company-advantage-grid__title {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
}

.company-advantage-grid__icons {
    width: 40px;
    height: 40px;
    display: block;
    flex: 0 0 auto;
}

.company-advantage-grid__icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.company-advantage-grid__icon--active { display: none; }
.company-advantage-grid article.is-featured .company-advantage-grid__icon--default { display: none; }
.company-advantage-grid article.is-featured .company-advantage-grid__icon--active { display: block; }

.company-advantage-grid article:hover .company-advantage-grid__icon--default,
.company-advantage-grid article:focus-visible .company-advantage-grid__icon--default { display: none; }
.company-advantage-grid article:hover .company-advantage-grid__icon--active,
.company-advantage-grid article:focus-visible .company-advantage-grid__icon--active { display: block; }

.company-advantage-grid:has(article:hover) article.is-featured:not(:hover) .company-advantage-grid__icon--default,
.company-advantage-grid:has(article:focus-visible) article.is-featured:not(:focus-visible) .company-advantage-grid__icon--default { display: block; }
.company-advantage-grid:has(article:hover) article.is-featured:not(:hover) .company-advantage-grid__icon--active,
.company-advantage-grid:has(article:focus-visible) article.is-featured:not(:focus-visible) .company-advantage-grid__icon--active { display: none; }

.company-advantage-grid h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 650;
    line-height: 1.4;
}

.company-advantage-grid p {
    position: relative;
    z-index: 1;
    margin: 19px 0 0;
    color: var(--company-muted);
    font-size: 14px;
    line-height: 1.65;
}

.company-advantage-grid article.is-featured p {
    color: rgba(255, 255, 255, .92);
}

.company-advantage-grid article:hover p,
.company-advantage-grid article:focus-visible p { color: rgba(255, 255, 255, .92); }

.company-advantage-grid:has(article:hover) article.is-featured:not(:hover) p,
.company-advantage-grid:has(article:focus-visible) article.is-featured:not(:focus-visible) p { color: var(--company-muted); }

.company-partners {
    padding: 0 0 37px;
    background: #fff;
}

.company-partner-grid {
    margin: 54px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px 16px;
    list-style: none;
}

.company-partner-grid li {
    height: 100px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #ededed;
    background: #fff;
}

.company-partner-grid img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-partner-grid span {
    padding: 12px;
    color: var(--company-muted);
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

.page-company-profile .site-footer {
    position: relative;
    height: 412px;
    padding: 0;
    color: rgba(255, 255, 255, .82);
    background: #0d192a;
}

.page-company-profile .footer-grid.site-container,
.page-company-profile .footer-legal.site-container {
    width: min(1200px, calc(100% - 80px));
}

.page-company-profile .footer-grid {
    position: relative;
    height: 313px;
    display: block;
}

.page-company-profile .footer-identity,
.page-company-profile .footer-benefits,
.page-company-profile .footer-qrs {
    position: absolute;
    top: 0;
}

.page-company-profile .footer-identity {
    left: 0;
    width: 295px;
    display: block;
}

.page-company-profile .footer-brand {
    position: absolute;
    top: 48px;
    left: 0;
    width: 178px;
    height: 54px;
    margin: 0;
}

.page-company-profile .footer-brand img {
    width: 178px;
    height: 54px;
    max-width: none;
    object-fit: contain;
}

.page-company-profile .footer-identity > a:not(.footer-brand) {
    position: absolute;
    left: 61px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    line-height: 20px;
    white-space: nowrap;
}

.page-company-profile .footer-identity > a:nth-of-type(2) { top: 127px; }
.page-company-profile .footer-identity > a:nth-of-type(3) { top: 163px; }
.page-company-profile .footer-identity > a:nth-of-type(4) { top: 199px; }

.page-company-profile .footer-identity b {
    width: 20px;
    height: 20px;
    display: block;
}

.page-company-profile .footer-identity b img {
    width: 20px;
    height: 20px;
}

.page-company-profile .footer-benefits {
    top: 56px;
    left: 405px;
    width: 304px;
}

.page-company-profile .footer-benefits h2 {
    height: 34px;
    margin: 0 0 24px;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    line-height: 34px;
}

.page-company-profile .footer-benefits ul {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 152px 136px;
    gap: 16px;
    list-style: none;
    font-size: 16px;
    line-height: 26px;
}

.page-company-profile .footer-benefits li {
    height: 26px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    white-space: nowrap;
}

.page-company-profile .footer-benefits li span {
    width: 20px;
    height: 20px;
    display: block;
    flex: 0 0 auto;
    overflow: hidden;
    color: transparent;
    background: url("/site/images/home/icon-check.png") center / 20px 20px no-repeat;
}

.page-company-profile .footer-qrs {
    top: 56px;
    left: 820px;
    width: 340px;
    display: flex;
    justify-content: flex-start;
    gap: 40px;
}

.page-company-profile .footer-qrs figure {
    width: 150px;
    margin: 0;
    text-align: center;
}

.page-company-profile .footer-qrs img {
    width: 150px;
    height: 150px;
}

.page-company-profile .footer-qrs figcaption {
    height: 22px;
    margin-top: 16px;
    color: #fff;
    font-size: 16px;
    line-height: 22px;
}

.page-company-profile .footer-legal {
    height: 72px;
    margin: 0 auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    text-align: center;
}

.page-company-profile .footer-legal p {
    margin: 0;
    color: #fff;
    font-size: 16px;
    line-height: 22px;
}

@media (max-width: 1240px) {
    .company-about__main {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 42px;
    }

    .company-about__image {
        width: 100%;
    }
}

@media (max-width: 1000px) {
    .company-about__main {
        grid-template-columns: 1fr;
    }

    .company-about__image {
        width: min(564px, 100%);
    }

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

    .company-partner-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .page-company-profile .site-footer {
        height: auto;
        padding: 48px 0 24px;
    }

    .page-company-profile .footer-grid.site-container,
    .page-company-profile .footer-legal.site-container {
        width: min(1200px, calc(100% - 48px));
    }

    .page-company-profile .footer-grid {
        height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 42px;
    }

    .page-company-profile .footer-identity,
    .page-company-profile .footer-benefits,
    .page-company-profile .footer-qrs,
    .page-company-profile .footer-brand,
    .page-company-profile .footer-identity > a:not(.footer-brand) {
        position: static;
    }

    .page-company-profile .footer-identity {
        display: grid;
        gap: 10px;
    }

    .page-company-profile .footer-qrs {
        width: auto;
        grid-column: 1 / -1;
    }

    .page-company-profile .footer-legal {
        height: auto;
        margin-top: 40px;
    }
}

@media (max-width: 700px) {
    .company-hero {
        height: 430px;
    }

    .company-hero__content {
        padding-top: 116px;
        padding-left: 0;
    }

    .company-hero h1 {
        font-size: 38px;
    }

    .company-hero p {
        font-size: 21px;
    }

    .company-hero i {
        width: 130px;
        height: 5px;
        margin-top: 30px;
    }

    .company-about {
        padding: 58px 0 84px;
    }

    .company-about__main {
        margin-top: 38px;
    }

    .company-about__image {
        height: auto;
        aspect-ratio: 1.41;
        border-radius: 0 32px 0 32px;
    }

    .company-about__copy {
        gap: 30px;
    }

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

    .company-partners {
        padding-bottom: 64px;
    }

    .company-partner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .page-company-profile .footer-grid {
        grid-template-columns: 1fr;
    }

    .page-company-profile .footer-qrs {
        grid-column: auto;
    }
}
