/* ============================================================
   SERVICE PAGE — Additional Styles
   Supplements styles.css for dedicated service pages
   ============================================================ */

/*  Base overrides for service pages ─ */
.service-page {
    background: var(--navy);
}

/* 
   SERVICE HERO
    */
.svc-hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 0 0 6rem;
}

.svc-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.svc-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.18;
}

.svc-orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(30, 70, 180, 0.7), transparent 65%);
    top: -200px;
    inset-inline-end: -100px;
    animation: orbFloat 14s ease-in-out infinite;
}

.svc-orb-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(184, 151, 90, 0.35), transparent 65%);
    bottom: 0;
    inset-inline-start: 5%;
    animation: orbFloat 10s ease-in-out infinite 2s reverse;
}

.svc-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    padding: 10rem 2rem 2rem;
    width: 100%;
}

/* Back link */
.svc-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    transition: color 0.3s, gap 0.3s;
}

.svc-back-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s var(--ease-out);
}

.svc-back-link:hover {
    color: var(--gold);
    gap: 0.75rem;
}

.svc-back-link:hover svg {
    transform: translateX(-3px);
}

/* Eyebrow */
.svc-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.svc-pillar-tag {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.25em;
    color: var(--gold);
    background: rgba(184, 151, 90, 0.1);
    border: 1px solid rgba(184, 151, 90, 0.25);
    padding: 0.3rem 0.8rem;
    border-radius: 2px;
}

.svc-dot-divider {
    font-size: 0.4rem;
    color: var(--gold-dark);
}

.svc-category {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Hero title */
.svc-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.svc-hero-em {
    font-style: italic;
    font-weight: 300;
    color: var(--gold);
}

.svc-hero-lead {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.svc-hero-cta-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Side marker */
.svc-side-marker {
    position: absolute;
    right: 3rem;
    bottom: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.svc-side-marker span {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--gold-dark);
    writing-mode: vertical-rl;
}

.svc-side-line {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--gold-dark), transparent);
}

/* 
   CONTENT AREA — Two-column layout (TOC + Article)
    */
.svc-content {
    padding: 5rem 0 0;
    background: var(--navy);
    position: relative;
}

.svc-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background:
        linear-gradient(90deg, transparent 0%, rgba(255, 245, 200, 0.55) 50%, transparent 100%) no-repeat,
        linear-gradient(90deg, transparent, rgba(184, 151, 90, 0.25), transparent);
    background-size: 35% 100%, 100% 100%;
    animation: goldLineSweep 9s ease-in-out infinite;
}

.svc-content-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 5rem;
    align-items: start;
}

/*  Table of Contents ─ */
.svc-toc {
    position: sticky;
    top: 100px;
    padding-bottom: 4rem;
}

.toc-label {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.toc-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.toc-link {
    display: block;
    padding: 0.6rem 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    border-left: 2px solid var(--navy-border);
    transition: color 0.3s, border-color 0.3s, padding 0.3s;
    line-height: 1.4;
}

.toc-link:hover,
.toc-link.toc-active {
    color: var(--white);
    border-left-color: var(--gold);
}

.toc-sub {
    padding-left: 1.5rem;
    font-size: 0.75rem;
    color: rgba(136, 153, 170, 0.7);
}

.toc-cta {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--navy-border);
}

.toc-cta-btn {
    display: block;
    padding: 0.75rem 1.25rem;
    background: rgba(184, 151, 90, 0.08);
    border: 1px solid rgba(184, 151, 90, 0.3);
    color: var(--gold);
    text-align: center;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background 0.3s, color 0.3s;
}

.toc-cta-btn:hover {
    background: var(--gold);
    color: var(--navy);
}

/*  Article  */
.svc-article {
    padding-bottom: 8rem;
}

/*  Chapter  */
.svc-chapter {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 2rem;
    margin-bottom: 5rem;
    scroll-margin-top: 110px;
}

.chapter-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.4rem;
}

.chap-num {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--gold-dark);
    margin-bottom: 0.75rem;
}

.chap-line {
    width: 1px;
    flex: 1;
    background: linear-gradient(to bottom, var(--gold-dark), transparent);
    min-height: 60px;
}

.chapter-body {}

.chap-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    color: var(--white);
    letter-spacing: -0.01em;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.chap-prose p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--white-dim);
    margin-bottom: 1.5rem;
}

.chap-prose p:last-child {
    margin-bottom: 0;
}

.chap-prose strong {
    color: var(--white);
    font-weight: 600;
}

.chap-prose em {
    color: var(--gold-light);
    font-style: italic;
}

/* Drop cap on first paragraph */
.drop-cap::first-letter {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 700;
    color: var(--gold);
    float: left;
    line-height: 0.85;
    margin-right: 0.12em;
    margin-top: 0.1em;
}

/*  Pull Quote  */
.svc-pullquote {
    margin: 4rem 0 5rem;
    padding: 2.5rem 3rem;
    border-left: 3px solid var(--gold);
    background: linear-gradient(135deg, rgba(184, 151, 90, 0.05), transparent);
    position: relative;
}

.svc-pullquote::before {
    content: '"';
    position: absolute;
    top: -1.5rem;
    left: 2rem;
    font-family: var(--font-serif);
    font-size: 6rem;
    color: var(--gold);
    opacity: 0.2;
    line-height: 1;
    pointer-events: none;
}

.svc-pullquote p {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    font-style: italic;
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.svc-pullquote cite {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    font-style: normal;
}

/*  Section divider with icon ─ */
.svc-section-divider {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 3rem 0 4rem;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--navy-border), var(--navy-border), transparent);
}

.divider-icon {
    width: 36px;
    height: 36px;
    color: var(--gold-dark);
    flex-shrink: 0;
}

/* 
   PILLARS OF RECOVERY
    */
.svc-pillars-recovery {
    margin-bottom: 6rem;
    scroll-margin-top: 110px;
}

.recovery-header {
    margin-bottom: 3.5rem;
}

.recovery-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 400;
    color: var(--white);
    margin-top: 0.75rem;
}

/* Individual pillar in recovery section */
.recovery-pillar {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
    background: var(--navy-light);
    border: 1px solid var(--navy-border);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 110px;
    transition: border-color 0.4s, background 0.4s;
}

.recovery-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background:
        linear-gradient(90deg, transparent 0%, rgba(255, 248, 210, 0.65) 50%, transparent 100%) no-repeat,
        linear-gradient(90deg, var(--gold), var(--gold-dark), transparent);
    background-size: 30% 100%, 100% 100%;
    animation: goldLineSweep 6s ease-in-out infinite;
}

.recovery-pillar:hover {
    border-color: rgba(184, 151, 90, 0.25);
    background: #111D32;
}

.rp-inter-divider {
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--navy-border), transparent);
    margin: 1.5px 0;
}

.rp-number {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--gold-dark);
    padding-top: 0.5rem;
    text-align: center;
}

.rp-body {}

.rp-name {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.rp-icon-wrap {
    width: 48px;
    height: 48px;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.rp-desc {
    font-size: 0.97rem;
    color: var(--white-dim);
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

.rp-desc strong {
    color: var(--white);
}

.rp-desc em {
    color: var(--gold-light);
    font-style: italic;
}

.rp-points {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1.5rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--navy-border);
}

.rp-points li {
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-left: 1rem;
    position: relative;
    line-height: 1.5;
}

.rp-points li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--gold-dark);
}

/* 
   CONSULTATION CTA BANNER
    */
.svc-cta-banner {
    margin-bottom: 6rem;
    background: linear-gradient(135deg, var(--navy-mid), #0E1A30);
    border: 1px solid rgba(184, 151, 90, 0.2);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.svc-cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background:
        linear-gradient(90deg, transparent 0%, rgba(255, 248, 210, 0.7) 50%, transparent 100%) no-repeat,
        linear-gradient(90deg, var(--gold), var(--gold-dark), transparent);
    background-size: 30% 100%, 100% 100%;
    animation: goldLineSweep 8s ease-in-out infinite 1.5s;
}

.svc-cta-banner::after {
    content: '"';
    position: absolute;
    bottom: -2rem;
    right: 3rem;
    font-family: var(--font-serif);
    font-size: 18rem;
    color: rgba(184, 151, 90, 0.03);
    line-height: 1;
    pointer-events: none;
}

.cta-banner-inner {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 0;
}

.cta-banner-text {
    padding: 3.5rem;
}

.cta-banner-title {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 400;
    color: var(--white);
    margin: 0.75rem 0 1.25rem;
    line-height: 1.25;
}

.cta-banner-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 2rem;
    max-width: 480px;
}

.cta-banner-reasons {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cta-banner-reasons li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--white-dim);
}

.cbr-icon {
    font-size: 0.45rem;
    color: var(--gold);
    flex-shrink: 0;
}

/* CTA card on the right */
.cta-card {
    background: rgba(184, 151, 90, 0.07);
    border-left: 1px solid rgba(184, 151, 90, 0.15);
    padding: 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cta-card-label {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.cta-card-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    flex: 1;
}

.cta-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.5rem;
    background: var(--gold);
    color: var(--navy);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 2px;
    margin-bottom: 1rem;
    transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}

.cta-card-btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s var(--ease-out);
}

.cta-card-btn:hover {
    background: var(--gold-light);
    box-shadow: 0 6px 30px rgba(184, 151, 90, 0.35);
    transform: translateY(-2px);
}

.cta-card-btn:hover svg {
    transform: translateX(4px);
}

.cta-card-nda {
    font-size: 0.7rem;
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
}

/* 
   OTHER SERVICES (also section)
    */
.svc-also {
    margin-bottom: 2rem;
}

.svc-also-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
    margin: 0.5rem 0 1.5rem;
}

.also-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5px;
}

.also-card {
    display: flex;
    align-items: center;
    padding: 1.5rem 1.75rem;
    background: var(--navy-light);
    border: 1px solid var(--navy-border);
    text-decoration: none;
    gap: 1.25rem;
    transition: background 0.3s, border-color 0.3s;
}

.also-card:hover {
    background: #111D32;
    border-color: rgba(184, 151, 90, 0.2);
}

.also-num {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: var(--gold-dark);
    flex-shrink: 0;
}

.also-name {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--white-dim);
    flex: 1;
    transition: color 0.3s;
}

.also-card:hover .also-name {
    color: var(--white);
}

.also-arrow {
    color: var(--gold);
    font-size: 1.1rem;
    transform: translateX(0);
    transition: transform 0.3s var(--ease-out);
}

.also-card:hover .also-arrow {
    transform: translateX(5px);
}

/* 
   RESPONSIVE
    */
@media (max-width: 1024px) {
    .svc-content-inner {
        grid-template-columns: 200px 1fr;
        gap: 3rem;
    }
}

@media (max-width: 820px) {
    .svc-content-inner {
        grid-template-columns: 1fr;
    }

    .svc-toc {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        align-items: center;
        padding-bottom: 2rem;
        border-bottom: 1px solid var(--navy-border);
        margin-bottom: 2rem;
    }

    .toc-label {
        margin-bottom: 0;
    }

    .toc-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0;
    }

    .toc-link {
        border-left: none;
        border-bottom: 2px solid var(--navy-border);
        padding: 0.4rem 0.6rem;
        font-size: 0.72rem;
    }

    .toc-link:hover,
    .toc-link.toc-active {
        border-bottom-color: var(--gold);
    }

    .toc-sub {
        padding-left: 0.6rem;
    }

    .toc-cta {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }

    .svc-chapter {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .chapter-marker {
        flex-direction: row;
        padding-top: 0;
        margin-bottom: 1rem;
    }

    .chap-line {
        min-height: unset;
        width: 40px;
        height: 1px;
        margin-top: 0.6rem;
    }

    .cta-banner-inner {
        grid-template-columns: 1fr;
    }

    .cta-card {
        border-left: none;
        border-top: 1px solid rgba(184, 151, 90, 0.15);
    }

    .also-grid {
        grid-template-columns: 1fr;
    }

    .rp-points {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .svc-hero-title {
        font-size: clamp(2.4rem, 12vw, 4rem);
    }

    .svc-side-marker {
        display: none;
    }

    .recovery-pillar {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* 
   ADVISORY SOLUTIONS GRID
    */
.svc-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.svc-sol-card {
    background: rgba(184, 151, 90, 0.05);
    border: 1px solid var(--navy-border);
    padding: 2.5rem 2rem;
    border-radius: 2px;
    transition: transform 0.3s, border-color 0.3s, background 0.3s;
    height: 100%;
}

.svc-sol-card:hover {
    transform: translateY(-5px);
    border-color: rgba(184, 151, 90, 0.3);
    background: rgba(184, 151, 90, 0.08);
}

.svc-sol-icon {
    width: 32px;
    height: 32px;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.svc-sol-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.svc-sol-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* SME Advantage / Framework */
.sme-framework {
    margin: 4rem 0 6rem;
    padding: 4.5rem;
    background: linear-gradient(135deg, rgba(184, 151, 90, 0.06) 0%, transparent 100%);
    border: 1px solid rgba(184, 151, 90, 0.15);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.sme-framework::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(184, 151, 90, 0.05), transparent 70%);
    pointer-events: none;
}

.sme-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: start;
}

.sme-why h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 2.5rem;
    line-height: 1.2;
}

.sme-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sme-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    font-size: 1.05rem;
    color: var(--white-dim);
    line-height: 1.5;
}

.sme-list .bullet {
    color: var(--gold);
    font-size: 0.9rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.sme-vision {
    padding-left: 4rem;
    border-left: 1px solid var(--navy-border);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sme-vision h3 {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    color: var(--gold);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.sme-vision p {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-muted);
}

@media (max-width: 1100px) {
    .svc-solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .sme-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .sme-vision {
        padding-left: 0;
        padding-top: 4rem;
        border-left: none;
        border-top: 1px solid var(--navy-border);
    }
}

@media (max-width: 768px) {
    .svc-solutions-grid {
        grid-template-columns: 1fr;
    }

    .sme-framework {
        padding: 3rem 2rem;
    }
}