/* ═══════════════════════════════════════════════════════════════════
   Service Single Page — Ritovex-style Layout
   Add this to: /wp-content/themes/bbl/css/main.css
   ═══════════════════════════════════════════════════════════════════ */

/* ── SECTION 1: Banner ── */
.service-single-banner {
    padding: 120px 0 60px;
    margin-top: 0;
    background: #f9f9f9;
}

.service-single-banner__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-single-banner__title {
    font-size: clamp(40px, 5vw, 80px);
    font-weight: 400;
    line-height: 1.1;
    color: #111;
    margin-bottom: 12px;
    letter-spacing: -2px;
}

.service-single-banner__desc {
    font-size: 22px;
    line-height: 1.5;
    color: #840b39;
    max-width: 540px;
}

.service-single-banner__image-wrap {
    border-radius: 20px;
    overflow: hidden;
}

.service-single-banner__image {
    width: 100%;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* ── SECTION 2: Content + Sidebar ── */
.service-single-content {
    padding: 80px 0;
    background: #f9f9f9;
}

.service-single-content__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 80px;
    align-items: start;
}

.service-single-content__main {
    max-width: 1070px;
}

/* Rich text (WordPress editor content) */
.service-single-content__richtext {
    margin-bottom: 70px;
}

.service-single-content__richtext h2,
.service-single-content__richtext h3,
.service-single-content__richtext h4,
.service-single-content__richtext h5 {
    margin-bottom: 16px;
    color: #111;
    font-weight: 500;
}

.service-single-content__richtext h2 {
    font-size: 32px;
}

.service-single-content__richtext h5 {
    font-size: 20px;
    font-weight: 600;
}

.service-single-content__richtext p {
    margin-bottom: 45px;
    font-size: 18px;
    line-height: 1.7;
    color: #333;
}

.service-single-content__richtext ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 24px;
}

.service-single-content__richtext li {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    padding-left: 30px;
    margin-bottom: 6px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23840b39' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") left 4px no-repeat;
    background-size: 18px;
}

.service-single-content__richtext figure,
.service-single-content__richtext img {
    border-radius: 20px;
    max-width: 100%;
    height: auto;
    margin-bottom: 24px;
    overflow: hidden;
}

.service-single-content__richtext img {
    display: block;
}

/* ── SIDEBAR ── */
.service-single-sidebar__inner {
    position: sticky;
    top: 140px;
    background: #fff;
    border-radius: 20px;
    padding: 40px 32px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.service-single-sidebar__title {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
    color: #111;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.service-single-sidebar__desc {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 28px;
}

.service-single-sidebar__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #891642;
    color: #fff;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.service-single-sidebar__btn:hover {
    background: #111;
    transform: translateY(-2px);
    color: #fff;
}

.service-single-sidebar__btn-icon {
    font-size: 18px;
}

/* ── SECTION 3: CTA Banner ── */
.service-single-cta {
    padding: 0 0 120px;
    background: #f9f9f9;
}

.service-single-cta__box {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 20px;
    padding: 80px 60px;
    text-align: center;
}

.service-single-cta__content {
    max-width: 700px;
    margin: 0 auto;
}

.service-single-cta__subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin-bottom: 10px;
}

.service-single-cta__title {
    color: #fff;
    font-size: clamp(48px, 6vw, 90px);
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 48px;
}

.service-single-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #111;
    padding: 16px 36px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.service-single-cta__btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    color: #111;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .service-single-content__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .service-single-sidebar__inner {
        position: static;
    }

    .service-single-banner__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .service-single-banner__image-wrap {
        order: -1;
        max-height: 350px;
    }
}

@media (max-width: 768px) {
    .service-single-banner {
        padding: 100px 0 40px;
    }

    .service-single-banner__title {
        font-size: 36px;
    }

    .service-single-banner__desc {
        font-size: 18px;
    }

    .service-single-content {
        padding: 48px 0;
    }

    .service-single-content__richtext h2 {
        font-size: 26px;
    }

    .service-single-content__richtext p,
    .service-single-content__richtext li {
        font-size: 16px;
    }

    .service-single-cta__box {
        padding: 50px 24px;
    }

    .service-single-cta__title {
        font-size: 36px;
    }
}
