/* =====================================================================
   Dream Clean Services - Service page styles
   Slim gradient header, prose intro, feature block (image + text),
   sub-services grid, trust markers, CTA. Reused across every service
   parent and individual service page.
   ===================================================================== */

/* ---------- 1. Slim gradient page header (no hero image) ---------- */

.dcs-page-header {
    background:
        radial-gradient(ellipse 55% 90% at 88% 18%, rgba(76, 175, 80, 0.28), transparent 60%),
        linear-gradient(115deg, var(--black) 15%, #143017 65%, #1e4823 100%);
    color: var(--white);
    padding: clamp(2.75rem, 6vw, 4.5rem) 0;
    position: relative;
    overflow: hidden;
}
/* Green accent line at the bottom edge */
.dcs-page-header::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--brand) 25%, var(--brand) 75%, transparent);
    opacity: 0.85;
}
/* Subtle sparkle motif in the top-right corner */
.dcs-page-header::before {
    content: "";
    position: absolute;
    top: 20px;
    right: 20px;
    width: 220px;
    height: 220px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'><path d='M120 40 L130 105 L195 115 L130 125 L120 190 L110 125 L45 115 L110 105 Z' fill='%234CAF50' fill-opacity='0.10'/><path d='M60 160 L64 180 L84 184 L64 188 L60 208 L56 188 L36 184 L56 180 Z' fill='%234CAF50' fill-opacity='0.08'/></svg>") center / contain no-repeat;
    pointer-events: none;
}
.dcs-page-header .dcs-container {
    position: relative;
    z-index: 1;
}
.dcs-page-header__crumb {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.dcs-page-header__crumb a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color .18s var(--ease);
}
.dcs-page-header__crumb a:hover { color: var(--brand); }
.dcs-page-header__crumb i {
    color: var(--brand);
    font-size: 0.65em;
    opacity: 0.6;
}
.dcs-page-header__crumb span {
    color: var(--white);
    font-weight: 500;
}
.dcs-page-header h1 {
    color: var(--white);
    font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.5rem);
    margin: 0 0 1.15rem;
    line-height: 1.15;
    max-width: 960px;
}
.dcs-page-header__lede {
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 900px;
    margin: 0;
}

/* ---------- 2. Prose intro block ---------- */

/* Intro section wrapper - subtle decorative green blob top-right */
.dcs-intro-section {
    position: relative;
    overflow: hidden;
}
.dcs-intro-section::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -140px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.08), transparent 65%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}
.dcs-intro-section > .dcs-container { position: relative; z-index: 1; }

.dcs-prose {
    max-width: 780px;
    margin-inline: auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ink);
}
.dcs-prose p + p { margin-top: 1em; }

/* Green eyebrow above the intro heading */
.dcs-prose__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--brand);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin: 0 0 1rem;
}
.dcs-prose__eyebrow::before,
.dcs-prose__eyebrow::after {
    content: "";
    height: 2px;
    width: 32px;
    background: var(--brand);
    border-radius: 2px;
}

.dcs-prose__title {
    text-align: center;
    margin: 0 0 1.75rem;
    color: var(--charcoal);
    font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
    line-height: 1.2;
}

/* ---------- 3. Feature block (image + content, alternating) ---------- */

/* Header block groups the section title and its lede paragraph as one unit,
   so they read together rather than as two stacked pieces */
.dcs-feature__header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
}
.dcs-feature__title {
    color: var(--charcoal);
    font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2.25rem);
    margin: 0 0 1.25rem;
    padding-bottom: 0.85rem;
    position: relative;
    line-height: 1.2;
}
.dcs-feature__title::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    background: var(--brand);
    border-radius: 2px;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}
.dcs-feature__lede {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink);
    margin: 0;
}

.dcs-feature__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}
.dcs-feature__media {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background-size: cover;
    background-position: center;
    background-color: var(--grey-line);
    min-height: 260px;
    position: relative;
}
/* Small green accent bar sticking out on the left side */
.dcs-feature__media::after {
    content: "";
    position: absolute;
    left: -12px;
    bottom: 32px;
    width: 48px;
    height: 5px;
    background: var(--brand);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
}
.dcs-feature__body h2 {
    margin: 0 0 1.25rem;
}
.dcs-feature__body p + p { margin-top: 1em; }
.dcs-feature__body p { line-height: 1.65; }

/* Icon-prefixed content row - used to break the feature body into three
   scannable chunks, each led by a green-tinted circle icon */
.dcs-feature__item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin: 0 0 1.35rem;
}
.dcs-feature__item:last-child { margin-bottom: 0; }
.dcs-feature__item > i {
    flex-shrink: 0;
    display: block;
    width: 40px;
    height: 40px;
    background: rgba(76, 175, 80, 0.12);
    color: var(--brand);
    border-radius: 50%;
    font-size: 1rem;
    line-height: 40px;
    text-align: center;
    margin-top: 0.15rem;
}
.dcs-feature__item > p {
    margin: 0;
    line-height: 1.65;
    color: var(--ink);
    font-size: 0.95rem;
}

/* Reverse layout modifier - image on right */
.dcs-feature--reverse .dcs-feature__grid {
    grid-template-columns: 1.1fr 1fr;
}
.dcs-feature--reverse .dcs-feature__media { order: 2; }
.dcs-feature--reverse .dcs-feature__media::after {
    left: auto;
    right: -12px;
}

@media (max-width: 900px) {
    .dcs-feature__grid,
    .dcs-feature--reverse .dcs-feature__grid {
        grid-template-columns: 1fr;
    }
    .dcs-feature__media {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        min-height: 0;   /* Let aspect-ratio scale down freely on narrow viewports */
    }
    .dcs-feature--reverse .dcs-feature__media { order: 0; }
}

/* When two grey sections sit next to each other, collapse the double padding
   between them so they read as one continuous band */
.section--grey + .section--grey {
    padding-top: 0;
}

/* ---------- 4. Sub-services / related pages grid ---------- */

.dcs-related__heading {
    text-align: center;
    margin-bottom: 0.5rem;
}
.dcs-related__sub {
    text-align: center;
    color: var(--muted);
    max-width: 620px;
    margin: 0 auto 2.5rem;
    font-size: 1rem;
}
.dcs-related__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    grid-auto-rows: 1fr;   /* equal height rows so cards align even with wrapped text */
    gap: 1rem;
}
.dcs-related__list li {
    display: flex;         /* li becomes flex container so <a> can fill it */
}
.dcs-related__list a {
    flex: 1;               /* fill the grid cell */
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.15rem 1.35rem;
    background: var(--grey);
    border-radius: var(--radius);
    color: var(--charcoal);
    text-decoration: none;
    border-left: 3px solid var(--brand);
    transition: background .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
    font-weight: 600;
    font-size: 0.98rem;
}
.dcs-related__list a i {
    color: var(--brand);
    font-size: 1.2rem;
    transition: color .2s var(--ease);
    flex-shrink: 0;
}
.dcs-related__list a:hover {
    background: var(--brand);
    color: var(--white);
    transform: translateX(3px);
}
.dcs-related__list a:hover i { color: var(--white); }

/* ---------- 5. Trust markers ---------- */

.dcs-trust {
    position: relative;
    overflow: hidden;
}
/* Subtle diagonal grain to match the services section elsewhere - only on
   the plain grey/white variant, not when the section is tinted (the tint
   itself provides the differentiation) */
.dcs-trust:not(.section--tint)::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent 0px,
        transparent 40px,
        rgba(76, 175, 80, 0.03) 40px,
        rgba(76, 175, 80, 0.03) 41px
    );
    pointer-events: none;
}
.dcs-trust > .dcs-container { position: relative; z-index: 1; }
.dcs-trust__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
}
.dcs-trust__card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--grey-line);
    border-top: 4px solid var(--brand);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.dcs-trust__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.dcs-trust__icon {
    display: inline-block;
    width: 64px;
    height: 64px;
    background: rgba(76, 175, 80, 0.12);
    color: var(--brand);
    border-radius: 50%;
    font-size: 1.65rem;
    line-height: 64px;
    text-align: center;
    margin: 0 auto 1rem;
}
.dcs-trust__title {
    font-size: 1.15rem;
    margin: 0 0 0.6rem;
    color: var(--charcoal);
}
.dcs-trust__body {
    font-size: 0.95rem;
    color: var(--ink);
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 900px) {
    .dcs-trust__grid { grid-template-columns: 1fr; }
}

/* ---------- 7. Service-detail cards (long-form service breakdown) ---------- */

.dcs-services-detail__intro {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 2.5rem;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
}
.dcs-services-detail__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.dcs-services-detail__card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 2.5vw, 2rem);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--grey-line);
    border-top: 4px solid var(--brand);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.dcs-services-detail__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
/* Round green-tinted icon at the top of each card */
.dcs-services-detail__icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: rgba(76, 175, 80, 0.12);
    color: var(--brand);
    border-radius: 50%;
    font-size: 1.55rem;
    line-height: 60px;
    text-align: center;
    margin: 0 0 1.15rem;
}
.dcs-services-detail__card h3 {
    margin: 0 0 1rem;
    color: var(--charcoal);
    font-size: 1.3rem;
}
.dcs-services-detail__card p {
    color: var(--ink);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 0 1.5rem;
    flex-grow: 1;
}
/* Learn more is a button now, not a text link - .dcs-btn provides the base
   style, only tweak size to fit inside the card */
.dcs-services-detail__card .dcs-btn {
    padding: 0.7em 1.25em;
    font-size: 0.9rem;
    align-self: flex-start;
}
/* Green-checkmark bullet list - used inside feature body + service cards
   to break sentences with lists into scannable rows */
.dcs-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 1rem;
}
.dcs-list li {
    padding: 0.4rem 0 0.4rem 1.75rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ink);
}
.dcs-list li::before {
    content: "\f00c";                    /* fa-check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--brand);
    position: absolute;
    left: 0;
    top: 0.55rem;
    font-size: 0.8rem;
}
.dcs-services-detail__card .dcs-list li { font-size: 0.9rem; }

/* ---------- 7b. Combined "Built Around You" section (tailored + trust) ---------- */

/* Section tint - light green-grey to distinguish from adjacent grey/white
   sections. Used for the Built Around You band. */
.section--tint {
    background: linear-gradient(180deg, #eff5ee 0%, #eaf1e9 100%);
}
.dcs-built-around__title {
    text-align: center;
    color: var(--charcoal);
    font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2.25rem);
    margin: 0 auto 2.5rem;
    padding-bottom: 0.85rem;
    position: relative;
    max-width: 700px;
    line-height: 1.2;
}
.dcs-built-around__title::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    background: var(--brand);
    border-radius: 2px;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

/* Callout card (tailored plans) - centered above the trust markers */
.dcs-callout {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 4vw, 2.5rem);
    max-width: 780px;
    margin: 0 auto 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--brand);
}
.dcs-callout__icon {
    display: inline-block;
    width: 64px;
    height: 64px;
    background: rgba(76, 175, 80, 0.12);
    color: var(--brand);
    border-radius: 50%;
    font-size: 1.65rem;
    line-height: 64px;
    text-align: center;
    margin: 0 auto 1.25rem;
}
.dcs-callout p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ink);
}

/* ---------- 7c. Why Choose Us block (enhanced with icon, underline, highlight) ---------- */

.dcs-why-choose {
    position: relative;
    overflow: hidden;
}
/* Subtle diagonal grain background */
.dcs-why-choose::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent 0px,
        transparent 40px,
        rgba(76, 175, 80, 0.03) 40px,
        rgba(76, 175, 80, 0.03) 41px
    );
    pointer-events: none;
}
.dcs-why-choose > .dcs-container { position: relative; z-index: 1; }
.dcs-why-choose__inner {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}
.dcs-why-choose__icon {
    display: inline-block;
    width: 72px;
    height: 72px;
    background: rgba(76, 175, 80, 0.12);
    color: var(--brand);
    border-radius: 50%;
    font-size: 1.85rem;
    line-height: 72px;
    text-align: center;
    margin: 0 auto 1.5rem;
}
.dcs-why-choose__title {
    text-align: center;
    margin: 0 0 2rem;
    color: var(--charcoal);
    font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2.25rem);
    position: relative;
}
.dcs-why-choose__title::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    background: var(--brand);
    border-radius: 2px;
    margin: 0.85rem auto 0;
}
.dcs-why-choose__inner p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--ink);
    margin: 0 0 1.25rem;
    text-align: left;
}
/* Second paragraph becomes a highlight callout with brand-green left border */
.dcs-why-choose__highlight {
    margin-top: 2rem !important;
    padding: 1.25rem 1.5rem;
    background: rgba(76, 175, 80, 0.06);
    border-left: 4px solid var(--brand);
    border-radius: var(--radius);
    font-size: 1.05rem !important;
    font-weight: 500;
    color: var(--charcoal) !important;
    line-height: 1.6 !important;
}

/* ---------- 8. CTA strip (same style as homepage) ---------- */

.dcs-cta-strip {
    background: var(--black);
    color: var(--white);
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    position: relative;
    overflow: hidden;
}
.dcs-cta-strip::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--brand) 20%, var(--brand) 80%, transparent);
    opacity: 0.7;
}
.dcs-cta-strip__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.dcs-cta-strip__text {
    color: var(--white);
    margin: 0;
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem);
    font-weight: 600;
    max-width: 640px;
}
.dcs-cta-strip__text strong { color: var(--brand); }
/* Inline anchors within the CTA text render on a dark background - use
   brand green with an underline so they're clearly clickable */
.dcs-cta-strip__text a {
    color: var(--brand);
    text-decoration: underline;
    text-decoration-color: rgba(76, 175, 80, 0.6);
    text-underline-offset: 3px;
    font-weight: 600;
    transition: color .18s var(--ease), text-decoration-color .18s var(--ease);
}
.dcs-cta-strip__text a:hover,
.dcs-cta-strip__text a:focus {
    color: var(--white);
    text-decoration-color: var(--white);
}
.dcs-cta-strip__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.dcs-cta-strip__actions .dcs-btn--outline {
    color: var(--white);
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.5);
}
.dcs-cta-strip__actions .dcs-btn--outline:hover {
    background: var(--white);
    color: var(--black);
    box-shadow: inset 0 0 0 2px var(--white);
}

@media (max-width: 640px) {
    .dcs-cta-strip__inner {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }
    .dcs-cta-strip__actions { justify-content: center; }
}
