
/* =============================================
   COMMON
============================================= */
.sd-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* =============================================
   SECTION 1: HERO (Same as other pages)
============================================= */
.sd-hero {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.sd-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.sd-hero .container-1200 {
    position: relative;
    z-index: 1;
}

/* ---- Responsive (same as offer/other pages) ---- */
/* ===== Service Detail hero responsive heights ===== */
@media (max-width: 1024px){
    .sd-hero{
        height: 320px;
        min-height: 320px;
    }
}
@media (max-width: 820px){
    .sd-hero{
        height: 280px;
        min-height: 280px;
    }
}
@media (max-width: 786px){
    .sd-hero{
        height: 240px;
        min-height: 240px;
    }
}
@media (max-width: 500px){
    .sd-hero{
        height: 160px;
        min-height: 160px;
    }
}




.sd-hero h1 {
    margin: 0 0 15px;
    text-align: center;
    font-size: 35px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* Breadcrumb */
.sd-hero ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.sd-hero ul li {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
}

/* Separator between crumbs */
.sd-hero ul li + li::before {
    content: ">";
    margin-right: 6px;
    color: #fff;
}

.sd-hero ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sd-hero ul li a:hover {
    color: var(--grad-1);
}





/* ===== SECTION 2: Welcome + Steps + CTA ===== */
.sd-welcome {
    padding: 40px 0 0;
    background: #fff;
}

/* Main intro h2 (ContentOne) — black on white background */
.sd-welcome h2 {
    margin: 0 0 20px;
    font-size: 33px;
    font-weight: 700;
    color: #000;
}

.sd-welcome > .container-1200 > p {
    margin: 0 0 36px;
    font-size: 18px;
    color: #000;
    line-height: 1.9;
}

/* Small blue label — span inside a p, or a plain p directly above the heading */
.sd-welcome > .container-1200 > p:has(> span:only-child),
.sd-welcome > .container-1200 > p:has(+ h2) {
    margin: 0 0 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    line-height: 1.2;
}

.sd-welcome > .container-1200 > span,
.sd-welcome > .container-1200 > p > span:only-child {
    display: block;
    text-align: center;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0;
}

/* Sub heading under the eyebrow label (e.g. "How We Clean Area Rugs") */
.sd-welcome > .container-1200 > h3,
.sd-welcome > .container-1200 > h2.sd-heading-sub,
.sd-welcome > .container-1200 > h2:not(:first-of-type) {
    margin: 0 0 50px;
    text-align: center;
    font-size: 33px;
    font-weight: 700;
    color: #000;
}

/* 4 steps grid + dashed connector line */
.sd-welcome ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: space-between;
    column-gap: 48px;
    row-gap: 40px;
    background-image: repeating-linear-gradient(to right, #b9d7f5 0 8px, transparent 8px 16px);
    background-repeat: no-repeat;
    background-size: 78% 2px;
    background-position: center 45px;
}

.sd-welcome ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    min-width: 0;
}

/* Number circles — editor often wraps the span in a p */
.sd-welcome ul li > p:has(> span:only-child) {
    margin: 0 0 18px;
    width: auto;
    max-width: none;
    font-size: inherit;
    line-height: 1;
}

.sd-welcome ul li > span,
.sd-welcome ul li > p > span:only-child {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 72, 147, 0.18);
}

.sd-welcome ul li > span {
    margin-bottom: 18px;
}

.sd-welcome ul li h4 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    color: #000;
}

.sd-welcome ul li p {
    margin: 0;
    width: 100%;
    max-width: none;
    font-size: 16px;
    color: #000;
    line-height: 1.7;
}

/* ---------- ContentTwo: CTA Band (bina divs ke — grid placement) ---------- */
.sd-welcome > section {
    margin-top: 70px;
    background-color: rgba(0, 72, 147, 0.85);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    padding: 45px 0;
    margin-bottom: 5px;
}

.sd-welcome > section .container-1200 {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    column-gap: 14px;
}

/* CTA band — color only; size stays on .sd-welcome h2 */
.sd-welcome > section .container-1200 h2,
.sd-welcome > section .container-1200 > h2.sd-heading-cta {
    color: #fff;
}

.sd-welcome > section .container-1200 > h3 {
    grid-column: 1;
    padding-right: 16px;
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
}

.sd-welcome > section .container-1200 > p {
    grid-column: 1;
    padding-right: 16px;
    margin: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
}

/* Dono buttons right side, vertically center */
.sd-welcome > section .container-1200 > a {
    grid-row: 1 / 3;
    align-self: center;
    display: inline-block;
    background: var(--secondary);
    color: #fff;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s ease;
}

.sd-welcome > section .container-1200 > a:first-of-type {
    grid-column: 2;
}

.sd-welcome > section .container-1200 > a:last-of-type {
    grid-column: 3;
}

.sd-welcome > section .container-1200 > a:hover {
    background: #fff;
    border: 2px solid var(--primary);
    color: #000;
}

/* ===== Responsive: 1024 ===== */
@media (max-width: 1024px) {
    .sd-welcome h2 { font-size: 30px; }

    .sd-welcome ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
        background-image: none;
    }

    .sd-welcome > section .container-1200 > h3 { font-size: 26px; }
}

/* ===== Responsive: 768 ===== */
@media (max-width: 767.98px) {
    .sd-hero h1 { font-size: 26px; }

    .sd-welcome { padding-top: 50px; }
    .sd-welcome h2 { font-size: 26px; }
    .sd-welcome > .container-1200 > p { font-size: 16px; margin-bottom: 40px; }
    .sd-welcome > .container-1200 > h3,
    .sd-welcome > .container-1200 > h2.sd-heading-sub,
    .sd-welcome > .container-1200 > h2:not(:first-of-type) { font-size: 26px; margin-bottom: 35px; }

    .sd-welcome > section { margin-top: 50px; padding: 35px 0; }

    .sd-welcome > section .container-1200 {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
    }

    .sd-welcome > section .container-1200 > h2,
    .sd-welcome > section .container-1200 > h3,
    .sd-welcome > section .container-1200 > p {
        flex: 1 0 100%;
        width: 100%;
        padding-right: 0;
    }

    .sd-welcome > section .container-1200 > a,
    .sd-welcome > section .container-1200 > a:first-of-type,
    .sd-welcome > section .container-1200 > a:last-of-type {
        width: auto;
        flex: 0 0 auto;
        grid-column: auto;
        grid-row: auto;
    }

    .sd-welcome ul li h3,
    .sd-welcome ul li h4 { font-size: 18px; }
    .sd-welcome ul li p { font-size: 14px; }
    .sd-method ul li h3 { font-size: 16px; }
    .sd-method ul li p,
    .sd-faqs details p,
    .sd-faqs summary { font-size: 14px; }
}

/* ===== Responsive: 480 ===== */
@media (max-width: 480px) {
    .sd-hero h1 { font-size: 22px; }
    .sd-hero ul { gap: 4px; }
    .sd-hero ul li { font-size: 10px; }
    .sd-hero ul li + li::before { margin-right: 4px; }

    .sd-welcome h2 { font-size: 22px; }
    .sd-welcome > .container-1200 > h3,
    .sd-welcome > .container-1200 > h2.sd-heading-sub,
    .sd-welcome > .container-1200 > h2:not(:first-of-type) { font-size: 22px; }

    .sd-welcome ul {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .sd-welcome > section .container-1200 > h3 { font-size: 22px; }

    .sd-welcome > section .container-1200 > a {
        width: auto;
        white-space: normal;
        text-align: center;
    }
}





/* ===== SECTION 3: Right Method + One Cleaning Method ===== */
.sd-method {
    padding: 45px 0;
}

/* Common Section Label — span inside a p, or a plain p directly above the heading */
.sd-method > .container-1200 > section > p:has(> span:only-child),
.sd-method > .container-1200 > section:last-child > p:has(> span:only-child),
.sd-method > .container-1200 > section > p:has(+ h2),
.sd-method > .container-1200 > section:last-child > p:has(+ h2) {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    line-height: 1.2;
}

.sd-method > .container-1200 > section > span,
.sd-method > .container-1200 > section > p > span:only-child {
    display: block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0;
}

/* Common heading */
.sd-method h2 {
    margin: 0 0 30px;
    font-size: 30px;
    font-weight: 700;
    color: #000;
    line-height: 1.3;
}

/* =========================================
   ContentThree: Image + Bullet Cards
========================================= */
.sd-method > .container-1200 > section:first-child {
    margin-bottom: 48px;
}

/* Grid wrapper (figure + ul) */
.sd-method > .container-1200 > section:first-child > div {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: stretch;
}

/* Image box */
.sd-method figure {
    margin: 0;
    position: relative;
    border: 2px solid var(--secondary);
    border-radius: 12px;
    overflow: hidden;
}

.sd-method figure img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    object-fit: fill;
    display: block;
    height: 100%;

}

/* Bullet cards list — grid: icon left, text right */
.sd-method ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sd-method ul li {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 72, 147, 0.08);
    padding: 20px 24px;
}

/* Icon circle — editor often wraps the span in a p */
.sd-method ul li > p:has(> .method-icon),
.sd-method ul li > p:has(> span:only-child) {
    margin: 0;
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
    font-size: inherit;
    line-height: 1;
}

/* ===== Icon circle (span) ===== */
.sd-method ul li .method-icon,
.sd-method ul li > p > span:only-child {
    grid-column: 1;
    grid-row: 1 / 3;                 /* dono rows (h4 + p) ke sath center-left */
    align-self: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sd-method ul li h3 {
    grid-column: 2;
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: #000;
}

.sd-method ul li p {
    grid-column: 2;
    margin: 0;
    font-size: 15px;
    color: #000;
    line-height: 1.6;
}

/* =========================================
   ContentFour: Full Width Text Block
========================================= */
.sd-method > .container-1200 > section:last-child h2 {
    margin-bottom: 20px;
}

.sd-method > .container-1200 > section:last-child > p {
    margin: 0 0 18px;
    font-size: 18px;
    color: #000;
    line-height: 1.8;
}

/* Contact Us pill button */
.sd-method > .container-1200 > section:last-child > a {
    display: inline-block;
    background: var(--secondary);
    color: #fff;
    padding: 13px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.sd-method > .container-1200 > section:last-child > a:hover {
    background: white;
    border: 2px solid var(--primary);
    color: #000;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 1024px) {
    .sd-method > .container-1200 > section:first-child > div {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Stack hone par image static ho jaye (collapse na ho) */
    .sd-method figure img {
        position: static;
        height: auto;
    }
}

@media (max-width: 768px) {
    .sd-method figure {
        max-height: 220px;
    }

    .sd-method figure img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .sd-method h2 {
        font-size: 28px;
    }

    .sd-method > .container-1200 > section:last-child > p {
        font-size: 16px;
    }

    .sd-method ul li .method-icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .sd-method ul li {
        padding: 16px 18px;
        column-gap: 12px;
    }

    .sd-method ul li h4 {
        font-size: 15px;
    }

    .sd-method ul li p {
        font-size: 13px;
    }
}




/* ===== SECTION 4: Beyond Paragraph + FAQs ===== */
.sd-faqs {
    padding: 23px 0;
    background: #fff;
}

.sd-faqs h2 {
    margin: 0 0 20px;
    font-size: 30px;
    font-weight: 700;
    color: #000;
}

.sd-faqs > .container-1200 > p {
    margin: 0 0 38px;
    font-size: 18px;
    color: #000;
    line-height: 1.8;
}

.sd-faqs h2:last-of-type {
    margin-bottom: 50px;
}

/* FAQ items - closed = primary blue */
.sd-faqs details {
    background: var(--primary);
    border: 1px solid transparent;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background 0.3s ease;
}

.sd-faqs summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

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

/* Plus / minus icons right side */
.sd-faqs summary span {
    margin-left: auto;
    color: #fff;
    font-size: 14px;
    flex-shrink: 0;
}

.sd-faqs details:not([open]) summary span:last-of-type {
    display: none;
}

.sd-faqs details[open] summary span:first-of-type {
    display: none;
}

/* Open item = light blue with secondary border */
.sd-faqs details[open] {
    background: var(--bg-light);
    border-color: var(--secondary);
}

.sd-faqs details[open] summary {
    color: #000;
}

.sd-faqs details[open] summary span {
    color: var(--secondary);
}

.sd-faqs details p {
    margin: 0;
    padding: 0 39px 18px;
    font-size: 17px;
    color: #000;
    line-height: 1.8;
}

/* ===== Responsive: 1024 ===== */
@media (max-width: 1024px) {
    .sd-method h2 { font-size: 30px; }

    .sd-method > .container-1200 > div:first-child > div,
    .sd-method > .container-1200 > div:last-child {
        gap: 30px;
    }

    
    .sd-faqs h2 { font-size: 30px; }
}

/* ===== Responsive: 768 ===== */
@media (max-width: 767.98px) {
    .sd-method { padding: 30px 0; }
    .sd-method h2 { font-size: 26px; margin-bottom: 28px; }

    .sd-method > .container-1200 > div:first-child > div,
    .sd-method > .container-1200 > div:last-child {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .sd-method > .container-1200 > div:last-child {
        margin-top: 50px;
    }

    .sd-method figure img {
        min-height: 0;
        
    }

    .sd-method > .container-1200 > div:last-child p {
        font-size: 16px;
    }

    .sd-faqs { padding: 1px 0; }
    .sd-faqs h2 { font-size: 26px; }
    .sd-faqs > .container-1200 > p { font-size: 16px; margin-bottom: 40px; }
}

/* ===== Responsive: 480 ===== */
@media (max-width: 480px) {
    .sd-method h2 { font-size: 22px; }
    

    /* Table rows stack */
    .sd-method > .container-1200 > div:last-child ul li {
        grid-template-columns: 1fr;
    }

    .sd-method > .container-1200 > div:last-child ul li span {
        border-left: none;
        border-top: 1px solid #dbe9f8;
        padding-top: 10px;
    }

    .sd-faqs h2 { font-size: 22px; }
    .sd-faqs summary { font-size: 14px; padding: 14px 16px; }
    .sd-faqs details p { padding: 0 16px 16px; font-size: 14px; }
}

/* ===== Extra small: 330 ===== */
@media (max-width: 330px) {
    .sd-hero {
        height: auto;
        min-height: 0;
        padding: 28px 0;
    }

    .sd-hero .container-1200 {
        padding: 0 12px;
    }

    .sd-hero h1 {
        font-size: 18px;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .sd-hero ul {
        gap: 4px;
    }

    .sd-hero ul li {
        font-size: 9px;
        letter-spacing: 0.4px;
    }

    .sd-welcome {
        padding-top: 28px;
    }

    .sd-welcome h2,
    .sd-welcome > .container-1200 > h2:not(:first-of-type),
    .sd-welcome > .container-1200 > h3 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .sd-welcome > .container-1200 > p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .sd-welcome ul {
        gap: 28px;
        background-image: none;
    }

    .sd-welcome ul li > span,
    .sd-welcome ul li > p > span:only-child {
        width: 64px;
        height: 64px;
        font-size: 18px;
    }

    .sd-welcome ul li h3,
    .sd-welcome ul li h4 {
        font-size: 18px;
    }

    .sd-welcome ul li p {
        font-size: 14px;
    }

    .sd-welcome > section {
        margin-top: 36px;
        padding: 24px 0;
    }

    .sd-welcome > section .container-1200 {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .sd-welcome > section .container-1200 > h2,
    .sd-welcome > section .container-1200 > h3,
    .sd-welcome > section .container-1200 > p,
    .sd-welcome > section .container-1200 > a {
        grid-column: auto;
        width: 100%;
        text-align: center;
        padding-right: 0;
    }

    .sd-method {
        padding: 28px 0;
    }

    .sd-method h2,
    .sd-faqs h2 {
        font-size: 20px;
    }

    .sd-method ul li {
        grid-template-columns: 1fr;
        padding: 14px;
        text-align: left;
    }

    .sd-method ul li .method-icon,
    .sd-method ul li > p:has(> span:only-child) {
        grid-column: 1;
        grid-row: auto;
        margin-bottom: 8px;
    }

    .sd-method ul li h3,
    .sd-method ul li p {
        grid-column: 1;
    }

    .sd-faqs summary {
        font-size: 13px;
        line-height: 1.4;
        padding: 12px;
        gap: 8px;
    }
}