/* =========================================
BTL SERVICE PAGE
========================================= */

.fd-service-page {
    background: #ffffff;
    color: #0f172a;
}


/* =========================================
SERVICE HERO
========================================= */

.fd-service-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(115deg,
            #0f172a 0%,
            #172554 55%,
            #116ad6 100%);
}

.fd-service-hero::before {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    right: -180px;
    top: -160px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
}

.fd-service-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: 20px;
    bottom: -230px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 50%;
}

.fd-service-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(15, 23, 42, .25),
            transparent 70%);
}

.fd-service-hero-container {
    position: relative;
    z-index: 2;
}

.fd-service-hero-content {
    max-width: 850px;
}

.fd-service-hero .fd-mini-heading {
    color: #ffffff;
}

.fd-service-hero-title {
    margin: 0 0 24px;
    max-width: 850px;
    color: #ffffff;
    font-size: 4rem;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.fd-service-hero-text {
    max-width: 730px;
    margin: 0 0 34px;
    color: rgba(255, 255, 255, .88);
    font-size: 1.03rem;
    line-height: 1.9;
}

.fd-service-hero-actions {
    display: flex;
    gap: 14px;
}


/* =========================================
INTRODUCTION
========================================= */

.fd-service-intro {
    background: #ffffff;
}

.fd-service-intro-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.fd-service-intro-heading {
    position: sticky;
    top: 100px;
}

.fd-service-intro-content {
    max-width: 680px;
}

.fd-service-paragraph {
    margin: 0 0 20px;
    color: #475569;
    font-size: .98rem;
    line-height: 1.95;
}

.fd-service-paragraph:last-child {
    margin-bottom: 0;
}


/* =========================================
CAPABILITY CARDS
========================================= */

.fd-service-capabilities {
    background: #f8fafc;
}

.fd-service-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.fd-service-card {
    position: relative;
    min-height: 260px;
    padding: 32px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.fd-service-card::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    right: -50px;
    bottom: -50px;
    border-radius: 50%;
    background: #eff6ff;
    transition: .3s ease;
}

.fd-service-card:hover {
    transform: translateY(-5px);
    border-color: #116ad6;
    box-shadow: 0 15px 40px rgba(15, 23, 42, .08);
}

.fd-service-card:hover::after {
    transform: scale(1.5);
}

.fd-service-card-icon {
    margin-bottom: 38px;
    color: #116ad6;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.fd-service-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 14px;
    color: #0f172a;
    font-size: 1.18rem;
    line-height: 1.35;
    font-weight: 800;
}

.fd-service-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #64748b;
    font-size: .89rem;
    line-height: 1.8;
}


/* =========================================
EXECUTION CAPABILITIES
========================================= */

.fd-service-execution {
    background: #ffffff;
}

.fd-service-execution-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 80px;
    align-items: start;
}

.fd-service-execution-content {
    position: sticky;
    top: 100px;
}

.fd-service-execution-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid #e2e8f0;
}

.fd-service-execution-item {
    min-height: 170px;
    padding: 28px 24px;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.fd-service-execution-item:nth-child(even) {
    border-right: 0;
}

.fd-service-execution-item strong {
    display: block;
    margin-bottom: 10px;
    color: #0f172a;
    font-size: .96rem;
    font-weight: 800;
}

.fd-service-execution-item span {
    display: block;
    color: #64748b;
    font-size: .88rem;
    line-height: 1.75;
}


/* =========================================
PROCESS
========================================= */

.fd-service-process {
    background: #f8fafc;
}

.fd-service-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid #dbe3ec;
    border-bottom: 1px solid #dbe3ec;
}

.fd-service-process-item {
    min-height: 260px;
    padding: 34px 28px;
    border-right: 1px solid #dbe3ec;
}

.fd-service-process-item:last-child {
    border-right: 0;
}

.fd-service-process-number {
    margin-bottom: 55px;
    color: #116ad6;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.fd-service-process-item h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 1.12rem;
    font-weight: 800;
}

.fd-service-process-item p {
    margin: 0;
    color: #64748b;
    font-size: .88rem;
    line-height: 1.8;
}


/* =========================================
APPLICATIONS
========================================= */

.fd-service-applications {
    background: #ffffff;
}

.fd-service-applications-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.fd-service-applications-content {
    max-width: 600px;
}

.fd-service-application-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.fd-service-application {
    min-height: 100px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: .3s ease;
}

.fd-service-application:hover {
    border-color: #116ad6;
    background: #eff6ff;
}

.fd-service-application span {
    color: #0f172a;
    font-size: .9rem;
    font-weight: 700;
}


/* =========================================
CASEWORK
========================================= */

.fd-service-casework {
    background: #f8fafc;
}

.fd-service-casework-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.fd-service-casework-card {
    display: flex;
    flex-direction: column;
    min-height: 340px;
    padding: 32px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: .3s ease;
}

.fd-service-casework-card:hover {
    transform: translateY(-5px);
    border-color: #116ad6;
    box-shadow: 0 15px 40px rgba(15, 23, 42, .07);
}

.fd-service-casework-label {
    margin-bottom: 60px;
    color: #116ad6;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.fd-service-casework-card h3 {
    margin: 0 0 15px;
    color: #0f172a;
    font-size: 1.2rem;
    line-height: 1.35;
    font-weight: 800;
}

.fd-service-casework-card p {
    margin: 0;
    color: #64748b;
    font-size: .88rem;
    line-height: 1.8;
}

.fd-service-casework-link {
    margin-top: auto;
    padding-top: 25px;
    color: #116ad6;
    font-size: .8rem;
    font-weight: 800;
}


/* =========================================
WHY 4DIAGONAL
========================================= */

.fd-service-why {
    background: #ffffff;
}

.fd-service-why-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 90px;
    align-items: start;
}

.fd-service-why-heading {
    position: sticky;
    top: 100px;
}

.fd-service-why-content {
    max-width: 680px;
}

.fd-service-why-points {
    margin-top: 35px;
    border-top: 1px solid #e2e8f0;
}

.fd-service-why-points>div {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
}

.fd-service-why-points strong {
    color: #0f172a;
    font-size: .92rem;
    font-weight: 800;
}

.fd-service-why-points span {
    color: #64748b;
    font-size: .86rem;
    line-height: 1.7;
}


/* =========================================
FAQ
========================================= */

.fd-service-faq {
    background: #f8fafc;
}

.fd-service-faq-list {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid #dbe3ec;
}

.fd-service-faq-item {
    border-bottom: 1px solid #dbe3ec;
}

.fd-service-faq-item summary {
    position: relative;
    padding: 24px 45px 24px 0;
    color: #0f172a;
    font-size: .98rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.fd-service-faq-item summary::-webkit-details-marker {
    display: none;
}

.fd-service-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 20px;
    color: #116ad6;
    font-size: 1.4rem;
    font-weight: 400;
}

.fd-service-faq-item[open] summary::after {
    content: "−";
}

.fd-service-faq-answer {
    padding: 0 45px 25px 0;
}

.fd-service-faq-answer p {
    margin: 0;
    color: #64748b;
    font-size: .9rem;
    line-height: 1.85;
}


/* =========================================
RESPONSIVE
========================================= */

@media(max-width:991px) {

    .fd-service-hero-title {
        font-size: 3.1rem;
    }

    .fd-service-intro-grid,
    .fd-service-execution-grid,
    .fd-service-applications-grid,
    .fd-service-why-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .fd-service-intro-heading,
    .fd-service-execution-content,
    .fd-service-why-heading {
        position: static;
    }

    .fd-service-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fd-service-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fd-service-process-item:nth-child(2) {
        border-right: 0;
    }

    .fd-service-casework-grid {
        grid-template-columns: 1fr;
    }

}


@media(max-width:767px) {

    .fd-service-hero {
        min-height: 560px;
    }

    .fd-service-hero-title {
        font-size: 2.25rem;
        letter-spacing: -.5px;
    }

    .fd-service-hero-text {
        font-size: .92rem;
        line-height: 1.8;
    }

    .fd-service-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .fd-service-card-grid,
    .fd-service-process-grid,
    .fd-service-execution-list,
    .fd-service-application-list {
        grid-template-columns: 1fr;
    }

    .fd-service-process-item {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid #dbe3ec;
    }

    .fd-service-process-item:last-child {
        border-bottom: 0;
    }

    .fd-service-process-number {
        margin-bottom: 30px;
    }

    .fd-service-execution-item,
    .fd-service-execution-item:nth-child(even) {
        border-right: 0;
    }

    .fd-service-card {
        min-height: auto;
    }

    .fd-service-casework-card {
        min-height: 300px;
    }

    .fd-service-hero::before {
        right: -350px;
    }

}