.service-page {
    --service-navy: #213c65;
    --service-ink: #1d2c40;
    --service-muted: #647286;
    --service-line: #e4e9ef;
    --service-soft: #f4f7fa;
    --service-card-shadow: 0 12px 32px rgba(24, 45, 73, .055);
}

.service-page .service-hero {
    position: relative;
    overflow: hidden;
    background: var(--service-navy);
    color: #fff;
    padding: 34px 0 45px;
}

.service-hero::after {
    position: absolute;
    top: -250px;
    right: -80px;
    width: 590px;
    height: 590px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.service-hero-inner {
    position: relative;
    z-index: 1;
}

.service-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 27px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
}

.service-breadcrumb a:hover {
    color: #fff;
}

.service-hero-label,
.service-kicker {
    margin: 0 0 10px;
    color: #a9bdd5;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 1.5;
    text-transform: uppercase;
}

.service-hero h1 {
    max-width: 900px;
    margin: 0 0 14px;
    color: #fff;
    font: 400 clamp(38px, 5vw, 58px)/1.12 var(--font-display);
    letter-spacing: -.03em;
}

.service-hero-description {
    max-width: 790px;
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 14px;
    line-height: 1.8;
}

.service-hero-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 23px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tag {
    display: inline-flex;
    min-height: 29px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 99px;
    background: rgba(255, 255, 255, .07);
    padding: 5px 11px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .02em;
}

.service-hero-cta {
        flex: 0 0 auto;
    min-height: 44px;
    padding: 7px 7px;
    font-size: 13px;
    border-radius: 13px;
    font-weight: 600;
}

.service-section-nav-wrap {
    position: sticky;
    z-index: 10;
    top: 88px;
    border-bottom: 1px solid var(--service-line);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
}

.service-section-nav {
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #b7c3d1 transparent;
}

.service-section-nav a {
    flex: 0 0 auto;
    border-radius: 99px;
    padding: 8px 13px;
    color: #53647a;
    font-size: 15px;
    font-weight: 600;
    transition: background-color .18s ease, color .18s ease;
}

.service-section-nav a:hover,
.service-section-nav a.is-active {
    background: #edf2f7;
    color: var(--service-navy);
}

.service-content-section {
    background: var(--service-soft);
    padding: 40px 0 78px;
}

.service-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: start;
    gap: 32px;
}

.service-article {
    min-width: 0;
    border: 1px solid var(--service-line);
    border-radius: 14px;
    background: #fff;
    padding: 28px 32px;
    box-shadow: var(--service-card-shadow);
}

.service-article-section {
    scroll-margin-top: 166px;
    border-bottom: 1px solid var(--service-line);
    padding: 0 0 28px;
    margin: 0 0 28px;
}

.service-article-section:last-child {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

.service-article-section h2 {
    margin: 0 0 14px;
    color: var(--service-navy);
    font: 500 35px/1.25 var(--font-display);
    letter-spacing: -.02em;
}

.service-article-section h3 {
    margin: 19px 0 7px;
    color: var(--service-ink);
    font: 600 15px/1.45 var(--font-body);
}

.service-article-section p {
    margin: 0 0 12px;
    color: var(--service-muted);
    font-size: 15px;
    line-height: 1.8;
}

.service-article-section p:last-child {
    margin-bottom: 0;
}

.service-article-section ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 20px;
    margin: 17px 0 0;
    padding: 0;
    list-style: none;
}

.service-article-section li {
    position: relative;
    padding-left: 20px;
    color: var(--service-muted);
    font-size: 14px;
    line-height: 1.65;
}

.service-article-section li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--service-navy);
    content: "✓";
    font-weight: 700;
}

.service-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.service-info-card {
    border: 1px solid var(--service-line);
    border-radius: 10px;
    background: #fbfcfd;
    padding: 15px;
}

.service-info-card h3 {
    margin: 0 0 6px;
    color: var(--service-navy);
    font-size: 14px;
}

.service-info-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
}

.service-process {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.service-process-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid var(--service-line);
    border-radius: 10px;
    background: #fff;
    padding: 14px;
}

.service-process-number {
    flex: 0 0 auto;
    color: #8495aa;
    font: 500 17px/1.3 var(--font-display);
}

.service-process-step h3 {
    margin: 0 0 4px;
    color: var(--service-ink);
    font-size: 12px;
    line-height: 1.5;
}

.service-process-step p {
    margin: 0;
    font-size: 11px;
    line-height: 1.6;
}

.service-sidebar {
    position: sticky;
    top: 164px;
    display: grid;
    gap: 16px;
}

.service-sidebar-card {
    border: 1px solid var(--service-line);
    border-radius: 13px;
    background: #fff;
    padding: 20px;
    box-shadow: var(--service-card-shadow);
}

.service-sidebar-card .service-kicker {
    margin-bottom: 8px;
    color: #708198;
    font-size: 9px;
}

.service-sidebar-card h2 {
    margin: 0 0 9px;
    color: var(--service-navy);
    font: 500 23px/1.25 var(--font-display);
}

.service-sidebar-card > p {
    margin: 0 0 15px;
    color: var(--service-muted);
    font-size: 13px;
    line-height: 1.7;
}

.service-sidebar-actions {
    display: grid;
    gap: 9px;
}

.service-sidebar-actions .btn {
    min-height: 42px;
        padding: 6px 12px;
    font-size: 15px;
}

.service-sidebar-phone {
    border: 1px solid var(--service-line);
    border-radius: 99px;
    color: var(--service-navy);
}

.service-sidebar-card h3 {
    margin: 15px 0 7px;
    color: var(--service-navy);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.service-all-links {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-all-links a {
    display: block;
    border-radius: 7px;
    padding: 7px 8px;
    color: #59697e;
    font-size: 13px;
    line-height: 1.4;
    transition: background-color .18s ease, color .18s ease;
}

.service-all-links a:hover,
.service-all-links a[aria-current="page"] {
    background: #eef2f7;
    color: var(--service-navy);
    font-weight: 600;
}

.service-faq-list {
    border-top: 1px solid var(--service-line);
}

.service-faq-item {
    border-bottom: 1px solid var(--service-line);
}

.service-faq-question {
    display: flex;
    width: 100%;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 0;
    background: transparent;
    padding: 15px 3px;
    color: var(--service-navy);
    cursor: pointer;
    font: 600 15px/1.55 var(--font-body);
    text-align: left;
}

.service-faq-question:focus-visible {
    outline: 2px solid #718bac;
    outline-offset: -2px;
}

.service-faq-indicator {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: var(--service-navy);
}

.service-faq-indicator::before,
.service-faq-indicator::after {
    position: absolute;
    top: 8px;
    left: 3px;
    width: 12px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: "";
}

.service-faq-indicator::after {
    transform: rotate(90deg);
    transition: transform .2s ease;
}

.service-faq-question[aria-expanded="true"] .service-faq-indicator::after {
    transform: rotate(0);
}

.service-faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .24s ease;
}

.service-faq-item.is-open .service-faq-answer {
    grid-template-rows: 1fr;
}

.service-faq-answer-inner {
    min-height: 0;
    overflow: hidden;
}

.service-faq-answer p {
    margin: 0;
    padding: 0 35px 17px 3px;
    color: var(--service-muted);
    font-size: 14px;
    line-height: 1.8;
}

.service-disclaimer {
    border-left: 3px solid #b8c5d5;
    background: #f7f9fb;
    padding: 12px 14px;
    color: #66758a;
    font-size: 11px;
    line-height: 1.7;
}

.service-disclaimer a {
    color: var(--service-navy);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.service-bottom-cta {
    background: var(--service-navy);
    padding: 43px 0;
    color: #fff;
}

.service-bottom-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.service-bottom-cta h2 {
    margin: 0 0 8px;
    color: #fff;
    font: 500 clamp(26px, 3vw, 34px)/1.2 var(--font-display);
}

.service-bottom-cta p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, .8);
    font-size: 12px;
    line-height: 1.7;
}

.service-bottom-cta-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 10px;
}

.service-bottom-cta-actions .btn {
    min-height: 46px;
    padding: 7px 17px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 30px;
}

.service-bottom-call {
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 99px;
    color: #fff;
}

.service-bottom-call:hover {
    background: rgba(255, 255, 255, .1);
}

@media (max-width: 1000px) {
    .service-content-grid {
        grid-template-columns: minmax(0, 1fr) 270px;
        gap: 20px;
    }

    .service-article {
        padding: 24px;
    }

    .service-sidebar {
        top: 150px;
    }
}

@media (max-width: 760px) {
    .service-page .service-hero {
        padding: 28px 0 34px;
    }

    .service-breadcrumb {
        margin-bottom: 21px;
    }

    .service-hero h1 {
        font-size: clamp(35px, 9vw, 48px);
    }

    .service-hero-description {
        font-size: 13px;
    }

    .service-hero-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
    }

    .service-section-nav-wrap {
        top: 88px;
    }

    .service-section-nav {
        min-height: 54px;
        margin: 0;
    }

    .service-content-section {
        padding: 25px 0 48px;
    }

    .service-content-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .service-article {
        padding: 22px 19px;
    }

    .service-article-section {
        scroll-margin-top: 125px;
        padding-bottom: 23px;
        margin-bottom: 23px;
    }

    .service-article-section h2 {
        font-size: 26px;
    }

    .service-article-section ul {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .service-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .service-sidebar-card {
        padding: 17px;
    }

    .service-bottom-cta-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 19px;
    }
}

@media (max-width: 520px) {
    .service-info-grid,
    .service-process,
    .service-sidebar {
        grid-template-columns: 1fr;
    }

    .service-process-step {
        padding: 12px;
    }

    .service-bottom-cta {
        padding: 35px 0;
    }

    .service-bottom-cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .service-bottom-cta-actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-page *,
    .service-page *::before,
    .service-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}


#llc{
    background: linear-gradient(90deg, rgba(8, 8, 8, 0.864), rgba(8, 8, 8, 0.727), rgba(8, 8, 8, 0.377)), url("../images/hero_img.webp");
    background-size: cover;
    background-position: center center;
    min-height: 400px;
    
}

#s-corp{
      background: linear-gradient(90deg, rgba(8, 8, 8, 0), rgba(8, 8, 8, 0.466), rgba(8, 8, 8, 0)), url("../images/s-corp.webp");
    background-size: cover;
    background-position: center center;
    min-height: 400px;
    
}

#corporate_tax{
      background: linear-gradient(90deg, rgba(8, 8, 8, 0.666), rgba(8, 8, 8, 0.512), rgba(8, 8, 8, 0.377)), url("../images/corporate_tax.webp");
    background-size: cover;
    background-position: center center;
    min-height: 400px;
    
}

#payroll_tax{
      background: linear-gradient(90deg, rgba(8, 8, 8, 0.704), rgba(8, 8, 8, 0.611), rgba(8, 8, 8, 0.425)), url("../images/payroll.webp");
    background-size: cover;
    background-position: center center;
    min-height: 400px;
    
}
#irs{
        background: linear-gradient(90deg, rgba(8, 8, 8, 0.704), rgba(8, 8, 8, 0.611), rgba(8, 8, 8, 0.425)), url("../images/irs.webp");
        background-size: cover;
        background-position: center center;
        min-height: 400px;
}
#tax_planning{
        background: linear-gradient(90deg, rgba(8, 8, 8, 0.704), rgba(8, 8, 8, 0.611), rgba(8, 8, 8, 0.425)), url("../images/tax_planning.webp");
        background-size: cover;
        background-position: center center;
        min-height: 400px;
}


#federal-state{
    background: linear-gradient(90deg, rgba(8, 8, 8, 0.704), rgba(8, 8, 8, 0.611), rgba(8, 8, 8, 0.425)), url("../images/federal.webp");
        background-size: cover;
        background-position: center center;
        min-height: 400px;
}

#h1b-nri{
    background: linear-gradient(90deg, rgba(8, 8, 8, 0.704), rgba(8, 8, 8, 0.611), rgba(8, 8, 8, 0.425)), url("../images/h1b.webp");
        background-size: cover;
        background-position: center center;
        min-height: 400px;
}
#itin{
    background: linear-gradient(90deg, rgba(8, 8, 8, 0.704), rgba(8, 8, 8, 0.611), rgba(8, 8, 8, 0.425)), url("../images/itin.webp");
        background-size: cover;
        background-position: center center;
        min-height: 400px;
}
#amended-returns{
    background: linear-gradient(90deg, rgba(8, 8, 8, 0.704), rgba(8, 8, 8, 0.611), rgba(8, 8, 8, 0.425)), url("../images/amended.webp");
        background-size: cover;
        background-position: center center;
        min-height: 400px;
}

body.service-header-reference-font .site-header .nav-link,
body.service-header-reference-font .site-header .header-cta,
body.service-header-reference-font .site-header .mobile-consult,
body.service-header-reference-font .site-header .mega-category-toggle,
body.service-header-reference-font .site-header .mega-service-link,
body.service-header-reference-font .site-header .mega-consult-eyebrow,
body.service-header-reference-font .site-header .mega-consult-card > p:not(.mega-consult-eyebrow),
body.service-header-reference-font .site-header .mega-consult-link {
    /* Home and Contact render this stack's Segoe UI fallback because their web-font link is not a stylesheet. */
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}