/* =========================================================
   DETAIL PAGE SHARED STYLES
   Services Detail + Blog Detail
========================================================= */

.detail-page {
    padding: 64px 0 90px;
    background: radial-gradient(circle at top left, rgba(65, 182, 73, 0.05), transparent 18%), linear-gradient(180deg, #ffffff 0%, #fbfcfb 100%);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 42px;
    align-items: start;
}

.detail-main {
    min-width: 0;
}

.detail-sidebar {
    position: sticky;
    top: 28px;
}

/* =========================================================
   BACK LINK
========================================================= */

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

    .back-link:hover {
        color: #111827;
        text-decoration: none;
        transform: translateX(-2px);
    }

/* =========================================================
   COVER IMAGE
========================================================= */

.detail-cover-wrap {
    position: relative;
    margin-bottom: 28px;
}

.detail-cover {
    width: 100%;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    background: #f3f4f6;
    box-shadow: 0 18px 45px rgba(17, 24, 39, .08);
}

    .detail-cover::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 180deg, rgba(17,24,39,.04), rgba(17,24,39,.14) );
        pointer-events: none;
    }

    .detail-cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .7s ease;
    }

    .detail-cover:hover img {
        transform: scale(1.03);
    }

/* =========================================================
   INTRO
========================================================= */

.detail-intro {
    margin-bottom: 30px;
}

.detail-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #41b649;
    margin-bottom: 12px;
}

    .detail-kicker::before {
        content: "";
        width: 28px;
        height: 2px;
        background: #41b649;
        display: inline-block;
    }

.detail-title {
    font-size: clamp(2rem, 2.8vw, 3rem);
    line-height: 1.15;
    font-weight: 800;
    color: #111827;
    margin-bottom: 16px;
    letter-spacing: -.02em;
}

.detail-summary {
    font-size: 1.04rem;
    line-height: 1.95;
    color: #4b5563;
    max-width: 900px;
    margin-bottom: 0;
}

/* =========================================================
   CARDS
========================================================= */

.detail-content-card,
.detail-features-card,
.detail-faq-card,
.sidebar-box,
.detail-cta {
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(229,231,235,.92);
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(17, 24, 39, .05);
}

.detail-content-card,
.detail-features-card,
.detail-faq-card {
    padding: 30px 32px;
    margin-bottom: 24px;
}

/* =========================================================
   SECTION TITLE
========================================================= */

.section-title {
    font-size: 1.45rem;
    line-height: 1.25;
    font-weight: 800;
    color: #111827;
    margin-bottom: 16px;
    letter-spacing: -.01em;
}

    .section-title.with-line {
        padding-bottom: 14px;
        border-bottom: 1px solid #eef1f4;
    }

/* =========================================================
   CONTENT
========================================================= */

.detail-content p {
    font-size: 1rem;
    line-height: 1.75;
    color: #4b5563;
    margin: 0 0 14px 0;
    white-space: normal;
}
    .detail-content p:last-child {
        margin-bottom: 0;
    }

/* =========================================================
   QUICK INFO
========================================================= */

.quick-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.quick-info-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 999px;
    background: #f7fbf7;
    border: 1px solid #e6f4e7;
    color: #1f2937;
    font-size: .95rem;
    font-weight: 600;
}

    .quick-info-badge::before {
        content: "";
        width: 8px;
        height: 8px;
        background: #41b649;
        border-radius: 50%;
        display: inline-block;
    }

/* =========================================================
   FEATURES
========================================================= */

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.feature-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid #edf1f3;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

    .feature-item:hover {
        transform: translateY(-2px);
        border-color: #dcefe0;
        box-shadow: 0 12px 26px rgba(17,24,39,.05);
    }

.feature-number {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, #41b649, #63c86a);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .92rem;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(65, 182, 73, .18);
}

.feature-text {
    margin: 0;
    font-size: .98rem;
    line-height: 1.75;
    color: #374151;
}

/* =========================================================
   FAQ
========================================================= */

.faq-list {
    margin-top: 10px;
}

.faq-item {
    padding: 18px 0;
    border-top: 1px solid #eef1f4;
}

    .faq-item:first-child {
        border-top: 0;
        padding-top: 4px;
    }

.faq-question {
    font-size: 1.02rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.faq-answer {
    font-size: .98rem;
    line-height: 1.9;
    color: #4b5563;
    margin: 0;
}

/* =========================================================
   SIDEBAR
========================================================= */

.sidebar-box {
    padding: 24px 24px 20px;
    margin-bottom: 18px;
}

.sidebar-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 14px;
}

.sidebar-title-line {
    width: 72px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #41b649, #76d17b);
    margin-bottom: 18px;
}

.sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .sidebar-list li {
        margin-bottom: 10px;
    }

    .sidebar-list a {
        position: relative;
        display: block;
        padding: 12px 14px 12px 16px;
        border-radius: 14px;
        color: #374151;
        text-decoration: none;
        line-height: 1.55;
        font-size: .96rem;
        transition: background .2s ease, color .2s ease, transform .2s ease;
    }

        .sidebar-list a::before {
            content: "";
            position: absolute;
            left: 0;
            top: 14px;
            width: 4px;
            height: calc(100% - 28px);
            border-radius: 999px;
            background: transparent;
            transition: background .2s ease;
        }

        .sidebar-list a:hover {
            background: #f8faf8;
            color: #111827;
            text-decoration: none;
            transform: translateX(2px);
        }

        .sidebar-list a.active {
            background: #f5fbf5;
            color: #111827;
            font-weight: 700;
            box-shadow: inset 0 0 0 1px #e0f1e1;
        }

            .sidebar-list a.active::before,
            .sidebar-list a:hover::before {
                background: #41b649;
            }

/* =========================================================
   MINI CONTACT
========================================================= */

.mini-contact {
    padding: 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, #111827 0%, #1f2937 100%);
    color: #fff;
    box-shadow: 0 16px 35px rgba(17, 24, 39, .12);
}

.mini-contact-title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.mini-contact-text {
    font-size: .94rem;
    line-height: 1.75;
    color: rgba(255,255,255,.82);
    margin-bottom: 16px;
}

.mini-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: #40E0D0;
    color: #111827;
    text-decoration: none;
    font-weight: 700;
    font-size: .94rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .mini-contact-btn:hover {
        color: #111827;
        text-decoration: none;
        transform: translateY(-1px);
        box-shadow: 0 10px 18px rgba(255,255,255,.14);
    }

/* =========================================================
   CTA
========================================================= */

.detail-cta {
    padding: 28px 30px;
    margin-top: 28px;
    background: radial-gradient(circle at right top, rgba(65,182,73,.10), transparent 25%), linear-gradient(180deg, #ffffff 0%, #fbfefb 100%);
}

.detail-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.detail-cta-text h2 {
    font-size: 1.55rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 10px;
    letter-spacing: -.01em;
}

.detail-cta-text p {
    font-size: 1rem;
    line-height: 1.85;
    color: #4b5563;
    margin-bottom: 0;
    max-width: 720px;
}

.detail-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 145px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #41b649, #63c86a);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 14px 26px rgba(65, 182, 73, .18);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
    white-space: nowrap;
}

    .detail-cta-btn:hover {
        color: #fff;
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 18px 30px rgba(65, 182, 73, .24);
        opacity: .98;
    }

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199.98px) {

    .detail-layout {
        grid-template-columns: minmax(0, 1fr) 290px;
        gap: 28px;
    }

    .detail-cover {
        height: 440px;
    }
}

@media (max-width: 991.98px) {

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-sidebar {
        position: static;
    }

    .detail-cover {
        height: 360px;
    }

    .detail-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {

    .detail-page {
        padding: 42px 0 64px;
    }

    .detail-cover {
        height: 240px;
        border-radius: 14px;
    }

    .detail-title {
        font-size: 2rem;
    }

    .detail-content-card,
    .detail-features-card,
    .detail-faq-card,
    .sidebar-box,
    .detail-cta {
        border-radius: 16px;
    }

    .detail-content-card,
    .detail-features-card,
    .detail-faq-card,
    .detail-cta {
        padding: 22px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .detail-summary,
    .detail-content p,
    .faq-answer,
    .detail-cta-text p {
        font-size: .98rem;
    }
}
.service-faq-accordion .accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 14px;
    background: #fff;
}

.service-faq-accordion .accordion-button {
    font-weight: 700;
    padding: 18px 22px;
    box-shadow: none;
}

    .service-faq-accordion .accordion-button:not(.collapsed) {
        background: #f8fafc;
        color: #0f172a;
    }

.service-faq-accordion .accordion-body {
    padding: 0 22px 20px;
    color: #64748b;
    line-height: 1.7;
}
.detail-content p {
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    line-height: 1.75 !important;
    white-space: normal !important;
}

.detail-content br {
    display: none;
}