/* Accounting outsourcing page */
.accounting-table--compact table {
    min-width: 560px;
}

.accounting-hero h1 {
    max-width: 1120px;
}

.accounting-intro {
    align-items: stretch;
}

.accounting-intro .intro-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.accounting-side {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    padding: 40px;
    color: #fff;
    background:
        radial-gradient(circle at 78% 18%, rgba(172, 17, 255, 0.45), transparent 34%),
        linear-gradient(135deg, #390894 0%, #18091d 100%);
}

.accounting-side p {
    position: relative;
    z-index: 2;
    width: min(520px, 66%);
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.accounting-border {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 1;
    width: min(35%, 330px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgb(255, 255, 255);
    border: 2px solid #fff;
    border-radius: 24px;
}

.accounting-side .accounting-border img {
    position: static;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center;
}

.accounting-benefits {
    width: var(--container);
    margin: 88px auto 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.accounting-benefits article {
    min-height: 300px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.accounting-benefits article.is-featured,
.accounting-benefits article:hover,
.accounting-benefits article:focus-within {
    color: #fff;
    background: var(--brand-gradient-panel);
    border-color: transparent;
    box-shadow: 0 24px 48px rgba(127, 10, 173, .18);
    transform: translateY(-2px);
}

.accounting-benefits small {
    color: var(--orange);
    font-size: 16px;
    font-weight: 800;
}

.accounting-benefits h2 {
    margin: auto 0 16px;
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.accounting-benefits p {
    margin: 0;
    color: var(--grey);
    font-size: 17px;
    line-height: 1.35;
}

.accounting-services .site-service-card p {
    max-width: 94%;
}

.accounting-services .site-services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.accounting-services .site-service-card:nth-child(3).is-featured .service-icon img,
.accounting-services .site-service-card:nth-child(3):hover .service-icon img,
.accounting-services .site-service-card:nth-child(3):focus-within .service-icon img {
    content: url("../../img/services/portfolio-2.png");
}

.accounting-process {
    margin-top: 92px;
}

.accounting-notice {
    width: var(--container);
    margin: 80px auto 0;
    padding: 48px;
    border-radius: 28px;
    color: #fff;
    background: var(--brand-gradient-panel);
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: end;
}

.accounting-notice h2 {
    margin: 0;
    font-size: 54px;
    line-height: 0.96;
    font-weight: 700;
    letter-spacing: -0.06em;
}

.accounting-notice p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 22px;
    line-height: 1.3;
}

.accounting-price-section {
    width: var(--container);
    margin: 96px auto 0;
}

.accounting-detail-intro {
    width: var(--container);
    margin: 72px auto 0;
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #fff;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 148px;
    gap: 48px;
    align-items: center;
}

.accounting-detail-intro p {
    max-width: 920px;
    margin: 0;
    color: var(--grey);
    font-size: 20px;
    line-height: 1.45;
}

.accounting-detail-intro p + p {
    margin-top: 16px;
    font-size: 16px;
}

.accounting-detail-icon {
    width: 148px;
    height: 148px;
    padding: 30px;
    border-radius: 26px;
    background: var(--brand-gradient-panel);
}

.accounting-detail-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.accounting-service-nav {
    width: var(--container);
    margin: 24px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.accounting-service-nav a {
    min-height: 58px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--black);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
}

.accounting-service-nav a:hover,
.accounting-service-nav a:focus-visible,
.accounting-service-nav a[aria-current="page"] {
    color: #fff;
    border-color: transparent;
    background: var(--brand-gradient-action-hover);
}

.accounting-table {
    width: 100%;
    margin-top: 32px;
    overflow-x: auto;
    border-top: 1px solid rgba(127, 117, 130, 0.18);
    border-left: 1px solid rgba(127, 117, 130, 0.18);
    background: rgba(255, 255, 255, 0.2);
}

.accounting-table table {
    width: 100%;
    min-width: 1120px;
    border-collapse: collapse;
}

.accounting-table--compact table {
    min-width: 560px;
}

.accounting-table--two table {
    min-width: 760px;
}

.accounting-table th,
.accounting-table td {
    min-height: 132px;
    padding: 20px;
    border-right: 1px solid rgba(127, 117, 130, 0.18);
    border-bottom: 1px solid rgba(127, 117, 130, 0.18);
    color: #000;
    background: transparent;
    text-align: left;
    vertical-align: top;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.accounting-table th {
    min-height: 74px;
    color: var(--black);
    background: transparent;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
}

.accounting-table td:not(:first-child) {
    color: var(--violet);
    font-weight: 500;
}

.accounting-table th:not(:first-child),
.accounting-table td:not(:first-child) {
    text-align: left;
}

.accounting-table tbody tr:nth-child(even) td,
.accounting-table tbody tr:hover td {
    background: transparent;
}

.accounting-table tbody tr:nth-child(even) td {
    background: #faf8fb;
}

.accounting-table tr:last-child td {
    border-bottom: 1px solid rgba(127, 117, 130, 0.18);
}

.accounting-note,
.accounting-footnotes p {
    margin: 18px 0 0;
    color: var(--grey);
    font-size: 15px;
    line-height: 1.45;
}

.accounting-note--accent {
    padding: 18px 22px;
    border-left: 4px solid var(--orange);
    border-radius: 14px;
    color: var(--black);
    background: #fff;
}

.accounting-footnotes {
    margin-top: 18px;
    padding: 22px 26px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
}

.accounting-footnotes p:first-child {
    margin-top: 0;
}

@media (max-width: 1279px) {
    .accounting-side {
        min-height: 360px;
    }

    .accounting-side p {
        width: 72%;
    }

    .accounting-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 64px;
    }

    .accounting-notice {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 36px;
    }

    .accounting-notice h2 {
        font-size: 42px;
    }

    .accounting-notice p {
        font-size: 19px;
    }

    .accounting-service-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .accounting-services .site-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .accounting-side {
        min-height: 430px;
        padding: 26px 22px;
    }

    .accounting-side p {
        width: 100%;
    }

    .accounting-border {
        right: 16px;
        bottom: 16px;
        width: min(62%, 220px);
        padding: 12px;
        border-radius: 18px;
    }

    .accounting-benefits {
        width: var(--container);
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 56px;
    }

    .accounting-benefits article {
        min-height: 220px;
        padding: 22px;
        border-radius: 18px;
    }

    .accounting-benefits h2 {
        font-size: 24px;
    }

    .accounting-benefits p {
        font-size: 15px;
    }

    .accounting-process {
        margin-top: 56px;
    }

    .accounting-notice {
        width: var(--container);
        margin-top: 56px;
        padding: 28px 20px;
        border-radius: 22px;
    }

    .accounting-notice h2 {
        font-size: 32px;
    }

    .accounting-notice p {
        font-size: 16px;
    }

    .accounting-price-section {
        width: var(--container);
        margin-top: 56px;
    }

    .accounting-detail-intro {
        margin-top: 48px;
        padding: 24px 20px;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .accounting-detail-intro p {
        font-size: 17px;
    }

    .accounting-detail-icon {
        width: 96px;
        height: 96px;
        padding: 20px;
        border-radius: 20px;
    }

    .accounting-service-nav {
        grid-template-columns: 1fr;
    }

    .accounting-services .site-services {
        grid-template-columns: 1fr;
    }

    .accounting-table {
        margin: 24px -12px 0;
        border-radius: 18px;
    }

    .accounting-table table {
        min-width: 980px;
    }

    .accounting-table--two table {
        min-width: 680px;
    }

    .accounting-table th,
    .accounting-table td {
        padding: 20px;
        font-size: 16px;
    }
}
