/* ============================================================
   Service Detail — Premium Content Layout
   Owusu & Partners
   ============================================================ */

/* ── Wrapper ── */
.service-detail-body {
    background: #f7f6f3;
    padding: 70px 0 80px;
}

/* ── Lead intro card ── */
.sd-intro-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 3px 24px rgba(0,0,0,.06);
    border-top: 4px solid #3D5198;
}

.sd-intro-image {
    position: relative;
    overflow: hidden;
}

.sd-intro-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 6s ease;
}

.sd-intro-card:hover .sd-intro-image img {
    transform: scale(1.04);
}

.sd-intro-image-badge {
    position: absolute;
    bottom: 18px;
    right: 18px;
    background: #C9A84C;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 3px;
}

.sd-intro-text {
    padding: 32px 36px 28px;
}

.sd-intro-text .sd-lead {
    font-size: 16px;
    line-height: 1.8;
    color: #3a3a3a;
    margin-bottom: 14px;
    font-weight: 400;
}

.sd-intro-text p {
    font-size: 14.5px;
    line-height: 1.75;
    color: #666;
    margin: 0;
}

/* ── Pull quote ── */
.sd-quote {
    position: relative;
    margin: 0 0 28px;
    padding: 28px 36px 28px 52px;
    background: linear-gradient(135deg, #0D1A3D 0%, #1A2B6E 100%);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(13,26,61,.18);
}

.sd-quote::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 5px; height: 100%;
    background: linear-gradient(180deg, #C9A84C, #E8D5A3 50%, #C9A84C);
}

.sd-quote::after {
    content: '\201C';
    position: absolute;
    top: 10px; left: 18px;
    font-size: 52px;
    line-height: 1;
    color: rgba(201,168,76,.25);
    font-family: Georgia, serif;
    font-weight: 700;
}

.sd-quote p {
    font-style: italic;
    font-size: 15.5px;
    line-height: 1.8;
    color: rgba(255,255,255,.9);
    margin: 0;
}

/* ── Services grid title ── */
.sd-section-heading {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: #0D1A3D;
    margin-bottom: 22px;
    padding-bottom: 14px;
    position: relative;
    border-bottom: 1px solid #e5e0d8;
}

.sd-section-heading::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0;
    width: 50px; height: 2px;
    background: #C9A84C;
}

/* ── Service item cards (2-column grid) ── */
.sd-services-grid {
    margin-bottom: 28px;
}

.sd-service-card {
    background: #fff;
    border-radius: 8px;
    padding: 22px 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: 0 2px 16px rgba(0,0,0,.05);
    border-bottom: 3px solid transparent;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.sd-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 32px rgba(61,81,152,.13);
    border-bottom-color: #C9A84C;
}

.sd-service-icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    border-radius: 8px;
    background: linear-gradient(135deg, #3D5198, #1A2B6E);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    transition: background .3s;
}

.sd-service-card:hover .sd-service-icon {
    background: linear-gradient(135deg, #C9A84C, #a8893a);
}

.sd-service-content h4 {
    font-size: 14.5px;
    font-weight: 700;
    color: #0D1A3D;
    margin-bottom: 6px;
    line-height: 1.35;
}

.sd-service-content p {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin: 0;
}

/* ── Why Choose section ── */
.sd-why-choose {
    background: linear-gradient(135deg, #0D1A3D 0%, #1A2B6E 100%);
    border-radius: 8px;
    padding: 40px 36px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 28px rgba(13,26,61,.2);
}

.sd-why-choose::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: rgba(201,168,76,.06);
    pointer-events: none;
}

.sd-why-choose::after {
    content: '';
    position: absolute;
    bottom: -70px; left: -30px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: rgba(61,81,152,.12);
    pointer-events: none;
}

.sd-why-choose .sd-section-heading {
    color: #fff;
    border-bottom-color: rgba(255,255,255,.12);
    position: relative; z-index: 1;
}

.sd-why-choose .sd-section-heading::after {
    background: #C9A84C;
}

.sd-why-choose p {
    font-size: 14.5px;
    color: rgba(255,255,255,.82);
    line-height: 1.78;
    position: relative; z-index: 1;
    margin-bottom: 14px;
}

.sd-consult-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #C9A84C;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    padding: 12px 26px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 8px;
    transition: background .3s, transform .25s;
    position: relative; z-index: 1;
}

.sd-consult-btn:hover {
    background: #a8893a;
    color: #fff;
    transform: translateY(-2px);
}

/* ══════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════ */
.sd-sidebar {
    position: sticky;
    top: 100px;
}

.sd-sidebar-card {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 24px;
    box-shadow: 0 3px 20px rgba(0,0,0,.06);
    overflow: hidden;
}

/* ── Practice areas nav ── */
.sd-nav-card {
    padding: 0;
}

.sd-nav-card-header {
    background: linear-gradient(135deg, #0D1A3D, #1A2B6E);
    padding: 18px 24px;
}

.sd-nav-card-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

.sd-nav-list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.sd-nav-list li {
    border-bottom: 1px solid #f2ede7;
}

.sd-nav-list li:last-child {
    border-bottom: none;
}

.sd-nav-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    transition: color .25s, padding-left .25s, background .25s;
}

.sd-nav-list li a i {
    font-size: 11px;
    color: #C9A84C;
    transition: transform .25s;
}

.sd-nav-list li a:hover {
    color: #3D5198;
    padding-left: 28px;
    background: #faf8f5;
}

.sd-nav-list li a:hover i {
    transform: translateX(3px);
}

.sd-nav-list li.sd-active a {
    color: #3D5198;
    font-weight: 700;
    padding-left: 28px;
    background: #f0eee8;
    border-left: 3px solid #C9A84C;
}

.sd-nav-list li.sd-active a i {
    transform: translateX(3px);
}

/* ── CTA card ── */
.sd-cta-card {
    background: linear-gradient(145deg, #0D1A3D, #1A2B6E);
    padding: 30px 26px;
    text-align: center;
}

.sd-cta-icon {
    width: 58px; height: 58px;
    border-radius: 50%;
    background: rgba(201,168,76,.12);
    border: 2px solid rgba(201,168,76,.4);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    font-size: 22px;
    color: #C9A84C;
}

.sd-cta-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    color: #fff;
    margin-bottom: 10px;
}

.sd-cta-card p {
    font-size: 13.5px;
    color: rgba(255,255,255,.72);
    line-height: 1.65;
    margin-bottom: 20px;
}

.sd-cta-card-btn {
    display: block;
    background: #C9A84C;
    color: #fff;
    text-align: center;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 14px;
    transition: background .3s;
}

.sd-cta-card-btn:hover {
    background: #a8893a;
    color: #fff;
}

.sd-cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,.65);
    font-size: 13px;
    text-decoration: none;
    transition: color .3s;
}

.sd-cta-phone:hover { color: #C9A84C; }

/* ── Stats card ── */
.sd-stats-card {
    padding: 0;
}

.sd-stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid #f2ede7;
}

.sd-stat-row:last-child { border-bottom: none; }

.sd-stat-num {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 700;
    color: #3D5198;
    line-height: 1;
}

.sd-stat-label {
    font-size: 12.5px;
    color: #999;
    text-align: right;
    line-height: 1.4;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 991px) {
    .sd-sidebar { position: static; }
    .service-detail-body .col-lg-4 { margin-top: 40px; }
}

@media (max-width: 767px) {
    .service-detail-body { padding: 50px 0 60px; }
    .sd-intro-text { padding: 22px 18px; }
    .sd-intro-image img { height: 220px; }
    .sd-quote { padding: 22px 20px 22px 40px; }
    .sd-quote p { font-size: 14px; }
    .sd-why-choose { padding: 28px 22px; }
    .sd-service-card { padding: 16px 14px; }
    .sd-service-icon { width: 40px; height: 40px; font-size: 17px; }
}

@media (max-width: 480px) {
    .sd-why-choose { padding: 24px 18px; }
    .sd-intro-text .sd-lead { font-size: 14.5px; }
}
