/* ============================================================
   Dream Clean - individual (sub-service) page component library

   Loaded IN ADDITION TO dcs-service-page.css on the individual
   sub-service pages (Office Cleaning Service, Home Cleaning,
   End Of Tenancy Cleaning, etc.). Base components (page header,
   feature block, CTA strip) come from dcs-service-page.css.

   Sections:
     1. Sub-service hero variant
     2. Feature body extensions (tagline + punch line)
     3. Cleaning checklist grid
     4. Promotional callout
     5. Slogan
   ============================================================ */

/* ---------- 1. Sub-service hero variant ---------- */

/* Slimmer padding than the parent hero, and a subtle diagonal grain
   in place of the corner sparkle SVG - gives sub-service pages their
   own visual signature while keeping the brand gradient consistent */
/* Default hero grain colour - town-variant pages override --hero-grain
   on <body> to give each town its own geographic accent */
:root {
    --hero-grain: rgba(76, 175, 80, 0.05);
}

.dcs-page-header--sub {
    padding: clamp(2rem, 4.5vw, 3.25rem) 0;
}
.dcs-page-header--sub::before {
    top: 0; right: 0; left: 0; bottom: 0;
    width: auto;
    height: auto;
    background: repeating-linear-gradient(
        135deg,
        transparent 0px,
        transparent 12px,
        var(--hero-grain) 12px,
        var(--hero-grain) 13px
    );
}

/* ---------- 7. Town variant: "Who books it?" 3-card row ---------- */

/* Used on the End Of Tenancy town-variant pages to segment the audience
   (tenants / landlords / letting agents) into scannable cards */
.dcs-who__title {
    text-align: center;
    color: var(--charcoal);
    font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
    font-weight: 600;
    margin: 0 auto 2.5rem;
    padding-bottom: 0.85rem;
    position: relative;
    max-width: 900px;
    line-height: 1.35;
}
.dcs-who__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-who__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.dcs-who__card {
    background: var(--white);
    padding: clamp(1.65rem, 2vw, 2rem);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--grey-line);
    border-top: 4px solid var(--brand);
}
.dcs-who__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(76, 175, 80, 0.12);
    color: var(--brand);
    border-radius: 50%;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}
.dcs-who__card h3 {
    color: var(--charcoal);
    font-size: 1.1rem;
    margin: 0 0 0.75rem;
    font-weight: 700;
}
.dcs-who__card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ink);
}

/* ---------- 8. Town variant: local area coverage strip ---------- */

/* Tinted card listing the villages and areas served around a specific town.
   Colour tint driven by --town-tint (defaults to brand-green) so each town
   variant overrides it for a subtle geographic identity */
.dcs-coverage {
    background: var(--town-tint, rgba(76, 175, 80, 0.06));
    padding: clamp(1.65rem, 2.5vw, 2.25rem);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--grey-line);
    max-width: 960px;
    margin: 0 auto;
}
.dcs-coverage__title {
    color: var(--charcoal);
    font-size: 1.1rem;
    margin: 0 0 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    justify-content: center;
}
.dcs-coverage__title i {
    color: var(--town-accent, var(--brand));
    font-size: 1.05rem;
}
.dcs-coverage__list {
    margin: 0.75rem 0 0;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--ink);
}
/* ---------- End-of-tenancy HUB: vibrant town navigator ---------- */
.dcs-eot-towns {
    background: linear-gradient(135deg, #4CAF50 0%, #2f8f43 100%);
    padding: clamp(2.25rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 3rem);
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 1040px;
    margin: 0 auto;
    color: #fff;
    box-shadow: 0 18px 42px rgba(47, 143, 67, 0.30);
}
.dcs-eot-towns__title {
    color: #fff;
    font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.05rem);
    line-height: 1.2;
    margin: 0 0 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    justify-content: center;
}
.dcs-eot-towns__title i { color: #fff; }
.dcs-eot-towns__sub {
    margin: 0 0 1.75rem;
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
    color: rgba(255, 255, 255, 0.92);
}
.dcs-eot-towns__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
}
.dcs-eot-towns__link {
    display: inline-block;
    background: #fff;
    color: #2f8f43;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.1rem);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.dcs-eot-towns__link:hover,
.dcs-eot-towns__link:focus {
    transform: translateY(-3px);
    background: var(--charcoal, #1a1a1a);
    color: #fff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

/* ---------- 2. Feature body extensions ---------- */

/* Big attention-grabbing tagline at the top of a feature body */
.dcs-feature__tagline {
    font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.35;
    margin: 0 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--brand);
}
.dcs-feature__body p + p { margin-top: 0.9em; }
.dcs-feature__body .dcs-feature__punch {
    font-weight: 700;
    color: var(--brand-dark);
    font-size: 1.05rem;
}

/* ---------- 3. Cleaning checklist grid ---------- */

/* Section title - centered with a small brand-green underline bar
   (mirrors the pattern used by .dcs-feature__title on category pages) */
.dcs-checklist__title {
    text-align: center;
    color: var(--charcoal);
    font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
    font-weight: 600;
    margin: 0 auto 2.75rem;
    padding-bottom: 0.85rem;
    position: relative;
    max-width: 900px;
    line-height: 1.35;
}
.dcs-checklist__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-checklist__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
/* Card - dream-clean grey background, sits against the white section for
   a clear contrast without needing a shadow */
.dcs-checklist__card {
    background: var(--grey);
    border-radius: var(--radius-lg);
    padding: clamp(1.65rem, 2vw, 2rem);
    border: 1px solid var(--grey-line);
    border-top: 4px solid var(--brand);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.dcs-checklist__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.dcs-checklist__header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin: 0 0 1.15rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--grey-line);
}
/* Icon badge - colours flipped: solid brand-green background with a white
   icon (was: tinted background with a green icon) */
.dcs-checklist__icon {
    flex-shrink: 0;
    display: inline-block;
    width: 48px;
    height: 48px;
    background: var(--brand);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.15rem;
    line-height: 48px;
    text-align: center;
}
.dcs-checklist__card h3 {
    margin: 0;
    color: var(--charcoal);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    padding-bottom: 0;
    border-bottom: none;
}
.dcs-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}
.dcs-checklist li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.65rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--ink);
}
.dcs-checklist li::before {
    content: "\f00c";                    /* fa-check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--brand);
    position: absolute;
    left: 0;
    top: 0.65rem;
    font-size: 0.75rem;
}

/* ---------- 4. Promo + Slogan combined block ---------- */

/* Sits offer image + brand slogan side-by-side in one section so neither
   floats alone. On mobile the two stack vertically. */
.dcs-promo-block__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .dcs-promo-block__grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }
}

.dcs-promo {
    max-width: 100%;
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--black);
}
.dcs-promo img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---------- 5. Slogan (as a blockquote with attribution) ---------- */

.dcs-slogan {
    text-align: center;
    font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
    font-style: italic;
    color: var(--charcoal);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.5;
    padding: 0;
    border: 0;
}
.dcs-slogan p {
    margin: 0;
    padding: 0.85rem 0;
    position: relative;
}
.dcs-slogan p::before,
.dcs-slogan p::after {
    content: "";
    display: block;
    width: 44px;
    height: 2px;
    background: var(--brand);
    margin: 0 auto 0.85rem;
    opacity: 0.7;
}
.dcs-slogan p::after {
    margin: 0.85rem auto 0;
}
.dcs-slogan cite {
    display: block;
    font-style: normal;
    font-size: 0.85rem;
    color: var(--brand-dark);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 0.75rem;
}

/* ---------- 6. Promise / guarantee callout ---------- */

/* Dark grey box (matches the site nav colour) that sits below the image
   inside a feature block, with a brand-green icon and white statement.
   Used for pull-quote style promises and taglines. */
.dcs-promise {
    background: var(--charcoal);
    color: var(--white);
    padding: clamp(1.35rem, 2vw, 1.85rem) clamp(1.5rem, 3vw, 2.5rem);
    border-radius: var(--radius-lg);
    max-width: 720px;
    margin: clamp(2rem, 3.5vw, 3rem) auto 0;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.dcs-promise__icon {
    display: block;
    color: var(--brand);
    font-size: 1.5rem;
    margin: 0 auto 0.75rem;
}
.dcs-promise__text {
    margin: 0 0 0.65rem;
    font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.35;
}
.dcs-promise__cite {
    display: block;
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
