/* Shared section system for About, Legal Consultancy and EXIM. */
.ags-about-page {
    --section-line: #e5e1d8;
}

.ags-about-page .ags-about-content,
.ags-about-page .service-content {
    background: #fcfbf8;
}

.ags-about-page .ags-about-section {
    margin-top: 64px;
    padding-top: 0;
    border-top: 0;
}

.ags-about-page .ags-about-section>.ags-about-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.ags-about-page .ags-about-section>.ags-about-eyebrow::before {
    content: "";
    width: 30px;
    height: 1px;
    background: #b58d4e;
}

.ags-about-page .ags-about-section>h2 {
    max-width: 850px;
    margin-bottom: 32px;
    font-size: clamp(28px, 3vw, 42px);
    letter-spacing: -1px;
}

.ags-about-page .exim-section-nav {
    padding: 8px;
    gap: 8px;
    border-radius: 14px;
    box-shadow: 0 10px 35px rgb(21 39 66 / 5%);
}

.ags-about-page .exim-section-nav a {
    align-items: center;
    border-radius: 9px;
    padding: 22px;
    transition: background .2s;
}

.ags-about-page .exim-section-nav a:hover,
.ags-about-page .exim-section-nav a:focus-visible {
    background: #f4eee3;
}

.ags-about-page #exim-products {
    margin-top: 46px;
}

/* Product collections use spacious editorial rows instead of dense columns. */
.ags-about-page section[aria-labelledby="featured-heading"]>.row {
    row-gap: 26px !important;
}

.ags-about-page section[aria-labelledby="featured-heading"]>.row>.col-lg-4 {
    width: 100%;
}

.ags-about-page .ags-about-product {
    display: grid;
    grid-template-columns: 40% minmax(0, 1fr);
    border: 1px solid var(--section-line);
    border-radius: 16px;
    box-shadow: 0 12px 34px rgb(21 39 66 / 4%);
}

.ags-about-page .ags-about-product>img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    aspect-ratio: auto;
    object-fit: cover;
}

.ags-about-page .ags-about-product>div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 38px 44px;
}

.ags-about-page .ags-about-product h3 {
    font-size: clamp(25px, 2.4vw, 33px);
    line-height: 1.25;
    margin-bottom: 20px;
    max-width: 560px;
}

.ags-about-page .ags-about-product ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
    margin-bottom: 16px;
    width: 100%;
}

.ags-about-page .ags-about-product li {
    margin: 0;
}

.ags-about-page .ags-about-product p {
    max-width: 630px;
}

.ags-about-page .product-category-label {
    color: #95703a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.ags-about-page .product-enquiry-link {
    margin-top: auto;
    padding-top: 22px;
    display: inline-flex;
    gap: 28px;
    align-items: center;
    color: #152742;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid #cba76b;
    padding-bottom: 8px;
}

.ags-about-page .product-enquiry-link:hover {
    color: #95703a;
}

.ags-about-page section[aria-labelledby="featured-heading"]>.row> :nth-child(2) .ags-about-product {
    grid-template-columns: minmax(0, 1fr) 40%;
}

.ags-about-page section[aria-labelledby="featured-heading"]>.row> :nth-child(2) .ags-about-product>img {
    order: 2;
}

.ags-about-page .ags-about-profile {
    padding: 36px;
    border: 1px solid var(--section-line);
    border-top: 3px solid #cba76b;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgb(21 39 66 / 4%);
}

.ags-about-page .ags-about-profile h3 {
    font-size: 27px;
}

.ags-about-page .ags-about-profile h4 {
    padding-top: 6px;
}

.ags-about-page .ags-about-focus {
    background: #fff;
    border-radius: 12px;
}

.ags-about-page .ags-about-focus li {
    background: #fff;
    padding: 13px;
}

.ags-about-page .ags-about-strengths {
    gap: 20px;
}

.ags-about-page .ags-about-strengths article {
    background: #fff;
    padding: 28px;
    border: 1px solid var(--section-line);
    border-radius: 12px;
}

.ags-about-page .ags-about-strengths article::before {
    font-size: 26px;
    margin-bottom: 20px;
}

.ags-about-page .ags-about-strengths h3 {
    font-size: 21px;
}

.ags-about-page .ags-about-requirements {
    background: #f1ede5;
    border: 1px solid #e3dbcd;
    border-radius: 14px;
    padding: 34px;
}

.ags-about-page .ags-about-requirements h3 {
    padding-bottom: 20px;
    border-bottom: 1px solid #d9cfbd;
}

.ags-about-page .ags-about-requirements li {
    padding: 5px 0;
}

.ags-about-page .ags-about-contact {
    margin-top: 64px;
    padding: 44px;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgb(21 39 66 / 12%);
}

.service-page .service-layout {
    gap: 32px;
}

.service-page .service-navigation {
    padding: 24px 11px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgb(21 39 66 / 4%);
}

.service-page .service-navigation>.service-kicker {
    padding: 0 12px;
}

.service-page .service-navigation>a {
    padding: 14px 12px;
    border-bottom: 0;
    border-radius: 7px;
}

.service-page .service-navigation>a:hover,
.service-page .service-navigation>a:focus-visible {
    background: #f4eee3;
    color: #152742;
}

.service-page .service-sidebar-note {
    margin: 22px 12px 0;
    padding-top: 18px;
    border-top: 1px solid var(--section-line);
}

.service-page .service-detail-card {
    padding: 36px;
    border-radius: 14px;
    border-top: 3px solid #cba76b;
    margin-bottom: 26px;
}

.service-page .service-card-heading h2 {
    font-size: clamp(25px, 2.5vw, 32px);
}

.service-page .service-card-heading {
    align-items: flex-start;
}

.service-page .service-scope {
    gap: 0 26px;
    list-style: none;
    padding: 0;
}

.service-page .service-scope li {
    position: relative;
    padding: 13px 0 13px 18px;
    border-bottom: 1px solid #efede8;
}

.service-page .service-scope li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 23px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #b58d4e;
}

@media (max-width:991.98px) {
    .ags-about-page .ags-about-product>div {
        padding: 30px;
    }

    .ags-about-page .ags-about-product ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width:767.98px) {
    .ags-about-page .ags-about-section {
        margin-top: 44px;
    }

    .ags-about-page .ags-about-product,
    .ags-about-page section[aria-labelledby="featured-heading"]>.row> :nth-child(2) .ags-about-product {
        grid-template-columns: 1fr;
    }

    .ags-about-page section[aria-labelledby="featured-heading"]>.row> :nth-child(2) .ags-about-product>img {
        order: 0;
    }

    .ags-about-page .ags-about-product>img {
        height: auto;
        min-height: 0;
        aspect-ratio: 1.6;
    }

    .ags-about-page .ags-about-product>div,
    .ags-about-page .ags-about-profile,
    .ags-about-page .ags-about-requirements,
    .ags-about-page .ags-about-contact,
    .service-page .service-detail-card {
        padding: 24px;
    }

    .ags-about-page .exim-section-nav a {
        padding: 14px;
    }

    .ags-about-page .ags-about-section>h2 {
        margin-bottom: 24px;
    }
}

@media (prefers-reduced-motion:reduce) {
    .ags-about-page .exim-section-nav a {
        transition: none;
    }
}