/* IGTax About Pages — standalone visual layer */
.about-pages {
    overflow: clip;
    color: #20282d
}
.ap-hero {
    background: linear-gradient(125deg, #f7f8f8, #eef1f1);
    padding: 108px 0 90px;
    position: relative
}
.ap-hero-grid {
    display: grid;
    grid-template-columns: 1fr .88fr;
    gap: 7%;
    align-items: center
}
.ap-hero h1 {
    font-family: Manrope, sans-serif;
    font-size: clamp(54px, 5.8vw, 100px);
    letter-spacing: -.065em;
    line-height: 1.03;
    margin: 25px 0
}
.ap-hero h1 em,
.ap-section h2 em,
.ap-contact h2 em {
    font-family: Georgia, serif;
    font-weight: 400;
    color: #f47931
}
.ap-hero p {
    font-size: 19px;
    color: #69767c;
    line-height: 1.85;
    max-width: 610px;
    margin: 0 0 34px
}
.ap-eyebrow {
    font-family: Manrope, sans-serif;
    font-size: 12px;
    letter-spacing: .19em;
    font-weight: 800;
    text-transform: uppercase;
    color: #ed792f
}
.ap-button {
    display: inline-flex;
    align-items: center;
    gap: 34px;
    background: #20282d;
    color: #fff;
    text-decoration: none;
    border-radius: 14px;
    padding: 18px 22px;
    font-weight: 800;
    transition: transform .3s, background .3s
}
.ap-button span {
    font-size: 21px;
    color: #ff9859
}
.ap-button:hover {
    background: #f47931;
    transform: translateY(-3px)
}
.ap-button:hover span {
    color: #fff
}
.ap-hero-picture {
    height: 530px;
    border-radius: 30px 90px 30px 30px;
    overflow: hidden;
    box-shadow: 0 30px 75px #20282d18
}
.ap-hero-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover
}
.ap-hero-compact {
    padding: 120px 0
}
.ap-hero-compact h1 {
    max-width: 980px
}
.ap-section {
    padding: 112px 0;
    scroll-margin-top: 95px
}
.ap-soft {
    background: #f7f8f8
}
.ap-dark {
    background: #192328;
    color: #fff
}
.ap-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9%;
    align-items: start
}
.ap-section h2,
.ap-contact h2 {
    font-family: Manrope, sans-serif;
    font-size: clamp(38px, 4.3vw, 66px);
    line-height: 1.11;
    letter-spacing: -.052em;
    margin: 20px 0 0
}
.ap-prose p {
    font-size: 17px;
    line-height: 1.95;
    color: #68757c;
    margin: 0 0 22px
}
.ap-prose .ap-emphasis {
    font-weight: 800;
    color: #20282d;
    font-size: 20px
}
.ap-divider {
    height: 1px;
    background: #dfe5e7;
    margin: 28px 0
}
.ap-check {
    padding: 0;
    list-style: none
}
.ap-check li {
    padding: 13px 0;
    border-bottom: 1px solid #e0e5e7;
    font-weight: 700
}
.ap-check li:before {
    content: '↗';
    color: #f47931;
    margin-right: 14px
}
.ap-section-head {
    margin-bottom: 42px
}
.ap-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;

    width: 100%;
    max-width: 1270px;
    margin-inline: auto;

    position: relative;
    left: auto;
    right: auto;
    transform: none;
}

.ap-feature {
    padding: 32px 28px;
    border: 1px solid #e4e9eb;
    border-radius: 20px;
    background: #fff;
    transition: transform .3s, box-shadow .3s
}
.ap-feature:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px #1b252a14
}
.ap-feature>span {
    font-size: 13px;
    font-weight: 800;
    color: #f47931
}
.ap-feature h3 {
    font-family: Manrope, sans-serif;
    font-size: 23px;
    margin: 30px 0 12px;
    letter-spacing: -.04em
}
.ap-feature p {
    font-size: 15px;
    line-height: 1.8;
    color: #69757b;
    margin: 0
}
.ap-dark .ap-feature {
    background: #253037;
    border-color: #354047;
    color: #fff
}
.ap-dark .ap-feature p {
    color: #c4cdd1
}
.ap-number-list>div {
    display: grid;
    grid-template-columns: 65px 1fr;
    gap: 20px;
    border-bottom: 1px solid #dce3e6;
    padding: 21px 0
}
.ap-number-list b {
    color: #f47931
}
.ap-number-list p {
    font-size: 17px;
    line-height: 1.8;
    margin: 0;
    color: #536169
}
.ap-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px
}
.ap-services a {
    border: 1px solid #e4e9eb;
    border-radius: 16px;
    text-decoration: none;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 22px;
    transition: .3s
}
.ap-services a:hover {
    background: #20282d;
    color: #fff
}
.ap-services a span {
    color: #f47931;
    font-weight: 800
}
.ap-services a strong {
    font-size: 21px
}
.ap-services a i {
    font-style: normal;
    margin-left: auto;
    color: #f47931
}
.ap-anchorbar {
    background: #fff;
    position: sticky;
    top: 88px;
    z-index: 30;
    border-bottom: 1px solid #e5eaec
}
.ap-anchorbar .container-wide {
    display: flex;
    gap: 34px
}
.ap-anchorbar a {
    padding: 19px 0;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px
}
.ap-anchorbar a:hover {
    color: #f47931
}
.ap-team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px
}
.ap-person {
    background: #fff;
    border: 1px solid #e8edef;
    border-radius: 19px;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s
}
.ap-person:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px #1b252a12
}
.ap-avatar {
    height: 210px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #e8ecec, #dce2e3);
    color: #b1bfc3
}
.ap-avatar span {
    font-family: Manrope, sans-serif;
    font-size: 85px;
    font-weight: 800
}
.ap-person-info {
    padding: 22px
}
.ap-person h3 {
    font-family: Manrope, sans-serif;
    font-size: 17px;
    line-height: 1.4;
    margin: 0 0 9px
}
.ap-person p {
    font-size: 13px;
    line-height: 1.6;
    color: #ef7c36;
    margin: 0;
    font-weight: 700
}
.ap-empty {
    border: 1px solid #e2e8eb;
    border-radius: 24px;
    padding: 38px;
    display: flex;
    align-items: center;
    gap: 28px;
    background: #fafbfb
}
.ap-empty-icon {
    background: #20282d;
    color: #f47931;
    width: 75px;
    height: 75px;
    flex: 0 0 75px;
    display: grid;
    place-items: center;
    font-size: 30px;
    border-radius: 19px
}
.ap-empty h3 {
    font-size: 24px;
    margin: 10px 0
}
.ap-empty p {
    line-height: 1.75;
    color: #6d787f;
    margin: 0
}
.ap-empty .ap-button {
    white-space: nowrap;
    margin-left: auto
}
.ap-contact {
    background: #f47931;
    color: #fff;
    padding: 85px 0
}
.ap-contact .ap-eyebrow,
.ap-contact h2 em {
    color: #fff
}
.ap-contact-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px
}
.ap-contact h2 {
    margin-top: 14px
}
.ap-contact .ap-button {
    background: #20282d;
    white-space: nowrap
}
@media (max-width: 1100px) {
    .ap-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ap-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ap-empty {
        flex-wrap: wrap;
    }

    .ap-empty .ap-button {
        margin-left: 0;
    }
}
@media(max-width:980px) {
    .ap-hero-grid,
    .ap-split {
        grid-template-columns: 1fr;
        gap: 40px
    }
    .ap-hero {
        padding: 75px 0
    }
    .ap-hero-picture {
        height: 400px
    }
    .ap-section {
        padding: 78px 0
    }
    .ap-anchorbar {
        top: 74px
    }
    .ap-services {
        grid-template-columns: repeat(2, 1fr)
    }
}
@media(max-width:640px) {
    .ap-hero h1 {
        font-size: 51px
    }
    .ap-hero p {
        font-size: 16px
    }
    .ap-hero-picture {
        height: 290px;
        border-radius: 22px 50px 22px 22px
    }
    .ap-feature-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }
    .ap-team-grid,
    .ap-services {
        grid-template-columns: 1fr
    }
    .ap-avatar {
        height: 180px
    }
    .ap-contact-inner {
        align-items: flex-start;
        flex-direction: column
    }
    .ap-anchorbar .container-wide {
        gap: 18px;
        overflow-x: auto
    }
    .ap-anchorbar a {
        white-space: nowrap;
        font-size: 12px
    }
    .ap-empty {
        padding: 24px
    }
    .ap-empty .ap-button {
        width: 100%;
        justify-content: space-between
    }
/* OUR TEAM — TWO ROW SCROLL */
#team .ap-team-scroll {
    --team-card-height: 360px;
    --team-row-gap: 24px;
    height: calc(var(--team-card-height) * 2 + var(--team-row-gap));
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    scrollbar-color: #ff7b2c #edf0f1;
    border-radius: 20px;
}
#team .ap-team-grid {
    align-items: stretch;
    gap: var(--team-row-gap) 24px;
}
#team .ap-person {
    height: var(--team-card-height);
    overflow: hidden;
}
#team .ap-avatar {
    height: 245px;
    flex-shrink: 0;
}
#team .ap-team-scroll::-webkit-scrollbar {
    width: 6px;
}
#team .ap-team-scroll::-webkit-scrollbar-track {
    background: #edf0f1;
    border-radius: 10px;
}
#team .ap-team-scroll::-webkit-scrollbar-thumb {
    background: #ff7b2c;
    border-radius: 10px;
}
#team .ap-team-scroll-hint {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    color: #77828a;
    font-size: 13px;
    letter-spacing: .04em;
}
#team .ap-team-scroll-hint span:last-child {
    color: #ff7b2c;
    font-size: 20px;
}
@media (max-width: 768px) {
    #team .ap-team-scroll {
        --team-card-height: 320px;
        --team-row-gap: 16px;
    }
    #team .ap-team-grid {
        gap: 16px;
    }
    #team .ap-avatar {
        height: 200px;
    }
}
@media (max-width: 480px) {
    #team .ap-team-scroll {
        --team-card-height: 300px;
    }
    #team .ap-avatar {
        height: 180px;
    }
}
}
/* OUR TEAM — EXACTLY TWO VISIBLE ROWS */
#team .ap-team-scroll {
    --team-card-height: 340px;
    --team-row-gap: 20px;
    height: calc(2 * var(--team-card-height) + var(--team-row-gap));
    max-height: calc(2 * var(--team-card-height) + var(--team-row-gap));
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    scrollbar-color: #f47931 #e8ecec;
    border-radius: 18px;
}
#team .ap-team-scroll > .ap-team-grid {
    display: grid;
    gap: var(--team-row-gap) 20px;
    align-items: stretch;
}
#team .ap-team-scroll .ap-person {
    height: var(--team-card-height);
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
#team .ap-team-scroll .ap-avatar {
    height: 210px;
    flex: 0 0 210px;
}
#team .ap-team-scroll .ap-person-info {
    flex: 1 1 auto;
    min-height: 0;
}
#team .ap-team-scroll::-webkit-scrollbar { width: 6px; }
#team .ap-team-scroll::-webkit-scrollbar-track { background: #e8ecec; border-radius: 10px; }
#team .ap-team-scroll::-webkit-scrollbar-thumb { background: #f47931; border-radius: 10px; }
#team .ap-team-scroll-hint {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    color: #77828a;
    font-size: 13px;
    letter-spacing: .04em;
}
#team .ap-team-scroll-hint span:last-child { color: #f47931; font-size: 20px; }
@media (max-width: 640px) {
    #team .ap-team-scroll { --team-card-height: 310px; --team-row-gap: 16px; }
    #team .ap-team-scroll > .ap-team-grid { gap: 16px; }
    #team .ap-team-scroll .ap-avatar { height: 180px; flex-basis: 180px; }
}

