/* ==========================================================
   Grow4Ed — Accounting Outsourcing Service Page Styles
   Path: public/css/accounting-outsourcing.css
   Variables: inherits --orange, --primary, --gray, --white,
              --orange-dark, --orange-light from app.css
   Fonts:     DM Sans (headings + body) — matches course.css exactly
              — already loaded by layouts.app
   Prefix:    svc- (scoped, no conflicts with app.css)
   ========================================================== */

/* ─── Page-level colour aliases (no new variables needed) ─── */
/* --orange      = #E07B00  (CTA, accent, highlights)          */
/* --orange-dark = #c66a00  (gradient end)                     */
/* --orange-light= #f9a825  (gradient start alt)               */
/* --primary     = #1a1f3d  (navy — headings, dark bg)         */
/* --gray        = #555e6d  (body text, muted)                 */
/* --white       = #ffffff                                      */

/* ─── Local constants (raw values only, no new CSS vars) ─── */
/* light-bg  : #f5f7ff   */
/* border    : #e8eaf0   */
/* card-r    : 16px      */

/* ═════════════════════════════════════════════════════════
   SHARED SECTION LAYOUT
   ═════════════════════════════════════════════════════════ */
.svc-section          { padding: 80px 0; }
.svc-section-light    { background: #f1f5f9; }
.svc-section-dark     { background: #1a1f3d; }  /* = var(--primary) */

.svc-section-head {
    text-align: center;
    margin-bottom: 3rem;
}
.svc-section-head h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #1a1f3d;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}
.svc-section-head h2 em {
    font-style: normal;
    color: #E07B00;
}
.svc-section-sub {
    color: #555e6d;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto;
}

/* Tag pill — matches course-page.css style */
.svc-tag {
    display: inline-block;
    background: rgba(224,123,0,.1);
    color: #E07B00;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.svc-tag-light {
    background: rgba(255,255,255,.15);
    color: #fff;
}

/* ═════════════════════════════════════════════════════════
   HERO  — light background matching the CPA/CMA/EA pages
   ═════════════════════════════════════════════════════════ */
.svc-hero {
    background: linear-gradient(135deg, #E07B00, #c66a00);
    padding: 48px 0 64px;
    position: relative;
    overflow: hidden;
}
/* Subtle decorative circle — same technique as course pages */
.svc-hero::before {
    content: '';
    position: absolute;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    top: -140px; right: -80px;
    pointer-events: none;
}
.svc-hero::after {
    content: '';
    position: absolute;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: rgba(0,0,0,.06);
    bottom: -60px; left: 4%;
    pointer-events: none;
}
.svc-hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 720px;
    gap: 0;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

/* Badge — white pill on orange bg */
.svc-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    padding: .35rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.3);
    margin-bottom: 1.25rem;
    letter-spacing: .4px;
    text-transform: uppercase;
}

/* Heading — white on orange */
.svc-hero-content h1 {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(2rem, 3.8vw, 2.9rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.1rem;
}
.svc-hero-content h1 em {
    font-style: normal;
    color: #fff;
    opacity: .88;
}
.svc-hero-sub {
    color: rgba(255,255,255,.88);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1.75rem;
    max-width: 560px;
}

/* Bullet list — white text on orange */
.svc-hero-bullets {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.svc-hero-bullets li {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    color: rgba(255,255,255,.92);
    font-size: .95rem;
    line-height: 1.5;
}
/* White check circle on orange */
.svc-check {
    width: 22px; height: 22px;
    background: rgba(255,255,255,.2);
    border: 1.5px solid rgba(255,255,255,.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .68rem;
    color: #fff;
    flex-shrink: 0;
    margin-top: 1px;
}
.svc-hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
/* On orange bg: primary button uses white fill, outline uses white border */
.svc-hero .btn-primary {
    background: #fff;
    color: #E07B00;
    border-color: #fff;
}
.svc-hero .btn-primary:hover {
    background: rgba(255,255,255,.9);
}
.svc-hero .btn-outline {
    color: #fff;
    border-color: rgba(255,255,255,.6);
}
.svc-hero .btn-outline:hover {
    background: rgba(255,255,255,.12);
    border-color: #fff;
    color: #fff;
}

/* Trust line — white text */
.svc-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
}
.svc-hero-trust span {
    font-size: .82rem;
    font-weight: 600;
    color: rgba(255,255,255,.82);
}


/* ═════════════════════════════════════════════════════════
   WHY OUTSOURCE
   ═════════════════════════════════════════════════════════ */
.svc-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}
.svc-why-text p {
    color: #555e6d;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1.1rem;
}
.svc-why-points {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}
.svc-why-point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #fff;
    padding: 1.1rem 1.4rem;
    border-radius: 14px;
    border-left: 4px solid #E07B00;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    transition: transform .2s, box-shadow .2s;
}
.svc-why-point:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 18px rgba(0,0,0,.08);
}
.svc-why-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: .1rem; }
.svc-why-point h4 {
    font-size: .9rem;
    font-weight: 700;
    color: #1a1f3d;
    margin-bottom: .2rem;
}
.svc-why-point p {
    font-size: .83rem;
    color: #555e6d;
    line-height: 1.55;
    margin: 0;
}

/* ═════════════════════════════════════════════════════════
   SERVICES GRID
   ═════════════════════════════════════════════════════════ */
.svc-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}
.svc-service-card {
    background: #fff;
    border: 1.5px solid #e8eaf0;
    border-radius: 16px;
    padding: 1.85rem;
    position: relative;
    overflow: hidden;
    transition: border-color .22s, transform .22s, box-shadow .22s;
}
.svc-service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #E07B00, #c66a00);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}
.svc-service-card:hover {
    border-color: #E07B00;
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(224,123,0,.1);
}
.svc-service-card:hover::before { transform: scaleX(1); }
.svc-service-icon {
    width: 46px; height: 46px;
    background: linear-gradient(135deg, rgba(224,123,0,.12), rgba(224,123,0,.06));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: .9rem;
}
.svc-service-card h3 {
    font-size: .95rem;
    font-weight: 700;
    color: #1a1f3d;
    margin-bottom: .9rem;
}
.svc-service-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
.svc-service-list li {
    font-size: .82rem;
    color: #555e6d;
    padding-left: 1.1rem;
    position: relative;
    line-height: 1.5;
}
.svc-service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #E07B00;
    font-size: .72rem;
}

/* ═════════════════════════════════════════════════════════
   RESULT SECTION
   ═════════════════════════════════════════════════════════ */
.svc-result-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}
.svc-result-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    border: 1.5px solid #e8eaf0;
    transition: border-color .2s, transform .2s;
}
.svc-result-card:hover {
    border-color: #E07B00;
    transform: translateY(-3px);
}
.svc-result-icon { font-size: 2rem; margin-bottom: .75rem; }
.svc-result-card h4 {
    font-size: .9rem;
    font-weight: 700;
    color: #1a1f3d;
    margin-bottom: .5rem;
}
.svc-result-card p { font-size: .8rem; color: #555e6d; line-height: 1.6; }
.svc-result-cta {
    text-align: center;
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    border: 1.5px solid #e8eaf0;
}
.svc-result-cta p {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1f3d;
    max-width: 680px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

/* ═════════════════════════════════════════════════════════
   HIRE SECTION
   ═════════════════════════════════════════════════════════ */
.svc-hire-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}
.svc-hire-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 1.85rem;
    transition: background .2s, transform .2s;
}
.svc-hire-card:hover {
    background: rgba(255,255,255,.09);
    transform: translateY(-3px);
}
.svc-hire-icon { font-size: 1.8rem; margin-bottom: .9rem; }
.svc-hire-card h3 {
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .5rem;
}
.svc-hire-card p {
    font-size: .83rem;
    color: rgba(255,255,255,.6);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.svc-hire-link {
    display: inline-block;
    color: #E07B00;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(224,123,0,.3);
    transition: border-color .2s;
}
.svc-hire-link:hover { border-color: #E07B00; color: #E07B00; }

/* ═════════════════════════════════════════════════════════
   KEY DIFFERENTIATORS
   ═════════════════════════════════════════════════════════ */
.svc-diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
}
.svc-diff-card {
    background: #fff;
    border: 1.5px solid #e8eaf0;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
    transition: border-color .2s, transform .2s;
}
.svc-diff-card:hover {
    border-color: #E07B00;
    transform: translateY(-3px);
}
.svc-diff-num {
    font-family: 'DM Sans', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #E07B00;
    opacity: .25;
    line-height: 1;
    flex-shrink: 0;
    width: 42px;
}
.svc-diff-card h3 {
    font-size: .95rem;
    font-weight: 700;
    color: #1a1f3d;
    margin-bottom: .4rem;
}
.svc-diff-card p { font-size: .85rem; color: #555e6d; line-height: 1.6; }

/* ═════════════════════════════════════════════════════════
   SOFTWARE BADGES
   ═════════════════════════════════════════════════════════ */
.svc-software-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    justify-content: center;
}
.svc-software-badge {
    background: #fff;
    border: 1.5px solid #e8eaf0;
    border-radius: 10px;
    padding: .7rem 1.75rem;
    font-size: .88rem;
    font-weight: 600;
    color: #1a1f3d;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.svc-software-badge:hover {
    border-color: #E07B00;
    transform: scale(1.03);
    box-shadow: 0 4px 14px rgba(224,123,0,.12);
}

/* ═════════════════════════════════════════════════════════
   TESTIMONIALS
   ═════════════════════════════════════════════════════════ */
.svc-testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}
.svc-testi-card {
    background: #fff;
    border: 1.5px solid #e8eaf0;
    border-radius: 16px;
    padding: 2rem;
    transition: transform .2s, box-shadow .2s;
}
.svc-testi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0,0,0,.07);
}
.svc-quote-mark {
    font-size: 3rem;
    color: #E07B00;
    opacity: .2;
    font-family: Georgia, serif;
    line-height: 1;
    margin-bottom: .75rem;
}
.svc-testi-card > p {
    font-size: .88rem;
    color: #555e6d;
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 1.5rem;
}
.svc-testi-author {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding-top: 1rem;
    border-top: 1px solid #e8eaf0;
}
.svc-author-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E07B00, #c66a00);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    flex-shrink: 0;
}
.svc-author-name { font-weight: 700; font-size: .88rem; color: #1a1f3d; }
.svc-author-title { font-size: .78rem; color: #555e6d; }

/* ═════════════════════════════════════════════════════════
   INDUSTRIES
   ═════════════════════════════════════════════════════════ */
.svc-industries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.svc-industry-card {
    background: #fff;
    border: 1.5px solid #e8eaf0;
    border-radius: 14px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: default;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.svc-industry-card:hover {
    border-color: #E07B00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(224,123,0,.1);
}
.svc-industry-icon { font-size: 1.9rem; margin-bottom: .5rem; }
.svc-industry-card span {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: #1a1f3d;
}

/* ═════════════════════════════════════════════════════════
   FAQ
   ═════════════════════════════════════════════════════════ */
.svc-faq-grid {
    max-width: 820px;
    margin: 0 auto;
}
.svc-faq-item {
    background: #fff;
    border: 1.5px solid #e8eaf0;
    border-radius: 10px;
    margin-bottom: .85rem;
    overflow: hidden;
    transition: border-color .2s;
}
.svc-faq-item.open,
.svc-faq-item:hover { border-color: #E07B00; }
.svc-faq-q {
    width: 100%;
    padding: 1.15rem 1.5rem;
    font-weight: 600;
    font-size: .92rem;
    color: #1a1f3d;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: none;
    border: none;
    text-align: left;
    font-family: 'DM Sans', sans-serif;
}
.svc-faq-icon {
    font-size: 1.3rem;
    color: #E07B00;
    flex-shrink: 0;
    line-height: 1;
}
.svc-faq-a {
    display: none;
    padding: 0 1.5rem 1.15rem;
    color: #555e6d;
    font-size: .875rem;
    line-height: 1.75;
}

/* ═════════════════════════════════════════════════════════
   CTA BANNER
   ═════════════════════════════════════════════════════════ */
.svc-cta-banner {
    background: linear-gradient(135deg, #E07B00 0%, #c66a00 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.svc-cta-banner::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    top: -200px; right: -100px;
}
.svc-cta-banner h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: .75rem;
    position: relative;
}
.svc-cta-banner > .container > p {
    color: rgba(255,255,255,.82);
    font-size: 1rem;
    margin-bottom: 2rem;
    position: relative;
}
.svc-cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
    position: relative;
}
/* Override btn-primary on orange bg to use navy */
.svc-cta-banner .btn-primary {
    background: #1a1f3d;
    border-color: #1a1f3d;
    color: #fff;
}
.svc-cta-banner .btn-primary:hover { background: #0d1122; }

/* Outlined button for use on orange/dark backgrounds */
.btn-outline-inv {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.4);
    padding: .75rem 1.6rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    transition: background .2s;
}
.btn-outline-inv:hover { background: rgba(255,255,255,.22); color: #fff; }

.svc-cta-contact {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}
.svc-cta-contact a {
    color: rgba(255,255,255,.82);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    transition: color .2s;
}
.svc-cta-contact a:hover { color: #fff; }

/* ═════════════════════════════════════════════════════════
   RESPONSIVE
   ═════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .svc-services-grid  { grid-template-columns: repeat(2, 1fr); }
    .svc-result-grid    { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .svc-hero-inner          { grid-template-columns: 1fr; }
    .svc-why-grid            { grid-template-columns: 1fr; }
    .svc-hire-grid           { grid-template-columns: repeat(2, 1fr); }
    .svc-testi-grid          { grid-template-columns: 1fr; }
    .svc-industries-grid     { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .svc-section         { padding: 60px 0; }
    .svc-services-grid   { grid-template-columns: 1fr; }
    .svc-result-grid     { grid-template-columns: repeat(2, 1fr); }
    .svc-hire-grid       { grid-template-columns: 1fr; }
    .svc-diff-grid       { grid-template-columns: 1fr; }
    .svc-industries-grid { grid-template-columns: repeat(2, 1fr); }
}
.svc-hero {
    padding-top: 100px; /* offset for fixed header */
}