/* ============================================================
   SERVICE DETAIL PAGE — sd-* styles
   ============================================================ */

/* ── Intro section ─────────────────────────────────────────── */
.sd-intro {
    padding: 2rem 0 1.5rem;
}

.sd-intro__subheading {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.sd-intro__body {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

.sd-intro__body p { margin-bottom: 0.75rem; }
.sd-intro__body p:last-child { margin-bottom: 0; }

/* ── 75/25 split when side image is set ───────────────────── */
.sd-intro__split {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 2rem;
    align-items: start;
}

.sd-intro__side-img {
    flex-shrink: 0;
}

.sd-intro__side-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* ── YouTube video embed ───────────────────────────────────── */
.sd-intro__video {
    margin-top: 2rem;
    position: relative;
    width: 75%;
    aspect-ratio: 16 / 9;
}

.sd-intro__video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 4px;
}

/* ── Contact line ──────────────────────────────────────────── */
.sd-intro__contact {
    margin-top: 1.25rem;
    font-size: 0.95rem;
    color: #444;
}

.sd-intro__contact a {
    color: var(--color-primary, #1a1a1a);
    font-weight: 600;
}

.sd-intro__note {
    color: #666;
}

/* ── Feature cards ─────────────────────────────────────────── */
.sd-features {
    padding: 1.5rem 0 2rem;
    background: #f5f5f5;
}

.sd-features__heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.sd-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.sd-feature-card {
    background: #fff;
    border-radius: 6px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sd-feature-card__img {
    width: 100%;
    margin-bottom: 0.75rem;
    border-radius: 4px;
    overflow: hidden;
}

.sd-feature-card__img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.sd-feature-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem;
}

.sd-feature-card__divider {
    width: 40px;
    height: 3px;
    background: var(--color-primary, #FFC200);
    margin-bottom: 0.75rem;
}

.sd-feature-card__body {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* ── FAQ ───────────────────────────────────────────────────── */
.sd-faq {
    padding: 2rem 0;
}

.sd-faq__heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.25rem;
}

.sd-faq__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sd-faq__item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.sd-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    cursor: pointer;
    list-style: none;
    gap: 1rem;
}

.sd-faq__question::-webkit-details-marker { display: none; }

.sd-faq__chevron {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    fill: #555;
    transition: transform 0.2s ease;
}

.sd-faq__item[open] .sd-faq__chevron {
    transform: rotate(180deg);
}

.sd-faq__answer {
    padding: 0 1.25rem 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}

.sd-faq__answer p { margin-bottom: 0.5rem; }
.sd-faq__answer p:last-child { margin-bottom: 0; }

/* ── Related services ──────────────────────────────────────── */
.sd-related {
    padding-bottom: 2rem;
}

.sd-related__grid-wrap {
    padding-top: 1.5rem;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
    .sd-intro__split {
        grid-template-columns: 1fr;
    }

    .sd-intro__side-img {
        max-width: 60%;
    }

    .sd-intro__video {
        width: 100%;
    }

    .sd-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .sd-features-grid {
        grid-template-columns: 1fr;
    }

    .sd-intro__side-img {
        max-width: 100%;
    }
}
