/* ============================================================
   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 */
/* Full-width dark section (matches the page header gradient) with the
   town's villages as small pills - a clear "we cover here" band */
.dcs-coverage-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 55% 90% at 88% 18%, rgba(76, 175, 80, 0.22), transparent 60%),
        linear-gradient(115deg, var(--black) 15%, #143017 65%, #1e4823 100%);
    color: var(--white);
}
.dcs-coverage {
    text-align: center;
    max-width: 1040px;
    margin: 0 auto;
}
.dcs-coverage__title {
    color: var(--white);
    font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.7rem);
    line-height: 1.25;
    margin: 0 0 1.5rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    justify-content: center;
}
.dcs-coverage__title i {
    color: var(--brand);
    font-size: 1.1em;
}
.dcs-coverage__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
}
.dcs-coverage__list li {
    padding: 0.45rem 0.95rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    font-size: 0.95rem;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.88);
}
/* First pill (the town itself) highlighted in brand green */
.dcs-coverage__list li:first-child {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--white);
    font-weight: 600;
}
/* Town pages: the promise sits inside the dark coverage band, under the pills */
.dcs-promise.dcs-promise--coverage {
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    max-width: 720px;
    margin: clamp(2rem, 4vw, 2.75rem) auto 0;
    padding: clamp(1.75rem, 3.5vw, 2.25rem) 0 0;
}
.dcs-promise--coverage .dcs-promise__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.9rem;
    background: var(--brand);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.25rem;
}
.dcs-promise--coverage .dcs-promise__text {
    color: var(--white);
    font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.85rem);
    line-height: 1.25;
    text-wrap: balance;
}
.dcs-promise--coverage .dcs-promise__cite { color: var(--brand); }
@media (max-width: 560px) {
    .dcs-coverage__list li { font-size: 0.88rem; padding: 0.4rem 0.8rem; }
}

/* ---------- End-of-tenancy HUB: town navigator ---------- */
/* Location cards - pin, town name, arrow. Clear tap targets, 3 across on
   desktop, 2 on tablet/phone. */
.dcs-eot-towns {
    max-width: 1040px;
    margin: 0 auto;
    text-align: center;
}
.dcs-eot-towns__title {
    color: var(--charcoal);
    font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem);
    line-height: 1.2;
    margin: 0 0 0.6rem;
    padding-bottom: 0.85rem;
    position: relative;
}
.dcs-eot-towns__title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 64px;
    height: 3px;
    background: var(--brand);
    border-radius: 2px;
    transform: translateX(-50%);
}
.dcs-eot-towns__sub {
    margin: 0 0 2rem;
    font-size: 1rem;
    color: var(--muted);
}
.dcs-eot-towns__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.dcs-eot-towns__link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.1rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--grey-line);
    border-left: 4px solid var(--brand);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    color: var(--charcoal);
    font-weight: 700;
    font-size: 1.05rem;
    text-align: left;
    text-decoration: none;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.dcs-eot-towns__link > i:first-child {
    color: var(--brand);
    font-size: 1.05rem;
    flex-shrink: 0;
}
.dcs-eot-towns__link span { flex: 1; }
.dcs-eot-towns__arrow {
    color: var(--muted);
    font-size: 0.85rem;
    transition: transform .18s var(--ease), color .18s var(--ease);
}
.dcs-eot-towns__link:hover,
.dcs-eot-towns__link:focus {
    background: var(--brand);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}
.dcs-eot-towns__link:hover i,
.dcs-eot-towns__link:focus i { color: var(--white); }
.dcs-eot-towns__link:hover .dcs-eot-towns__arrow,
.dcs-eot-towns__link:focus .dcs-eot-towns__arrow { transform: translateX(3px); }
.dcs-eot-towns__note {
    margin: 1.75rem 0 0;
    font-size: 0.98rem;
    color: var(--ink);
}
@media (max-width: 900px) {
    .dcs-eot-towns__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
    .dcs-eot-towns__link { padding: 0.95rem 1rem; font-size: 1rem; gap: 0.6rem; }
}

/* ---------- 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;
}

/* Prospect-facing feature bullet list (brand check-marks, no emojis) */
.dcs-feature__list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}
.dcs-feature__list li {
    position: relative;
    padding: 0.6rem 0 0.6rem 1.9rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
    border-bottom: 1px solid var(--grey-line);
}
.dcs-feature__list li:last-child { border-bottom: 0; }
.dcs-feature__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.78rem;
    font-size: 0.8rem;
}
.dcs-feature__list strong { color: var(--charcoal); }

/* Feature "panel" variant: when the copy column is long (bullet-list layout),
   stop the photo stretching down its full height - keep it a tidy panel
   aligned to the top of the row. It stays put and scrolls with the page.
   Add the modifier class .dcs-feature--panel to the feature <section>.
   (.page-new-build-cleaning kept for the original New Build page.) */
.dcs-feature--panel .dcs-feature__grid,
.page-new-build-cleaning .dcs-feature__grid { align-items: start; }
.dcs-feature--panel .dcs-feature__media,
.page-new-build-cleaning .dcs-feature__media {
    min-height: 0;
    aspect-ratio: 5 / 4;
    background-position: center;
}

/* ---------- 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%);
}
/* Small grey caveat line directly under the checklist heading */
.dcs-checklist__title + .dcs-checklist__note {
    margin: -2rem auto 2.25rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
}
.dcs-checklist__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
/* Two-column variant - for four cards (e.g. Office Cleaning) so none sits alone */
.dcs-checklist__grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
    .dcs-checklist__grid--2 { grid-template-columns: 1fr; }
}
/* 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;
}

/* ---------- 9. End-of-tenancy HUB: intro, audience cards, closing promise ---------- */

/* Lead sentence above the "Who we look after" list */
.dcs-eot-lead {
    font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.15rem);
    font-weight: 500;
    color: var(--charcoal);
    line-height: 1.5;
    margin: 0 0 1.5rem;
    padding-bottom: 1.1rem;
    border-bottom: 3px solid var(--brand);
}
.dcs-eot-group__title,
.dcs-eot-card__title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--charcoal);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.35rem;
}
.dcs-eot-group__title i,
.dcs-eot-card__title i {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(76, 175, 80, 0.12);
    color: var(--brand);
    border-radius: 50%;
    font-size: 0.9rem;
}
.dcs-eot-intro .dcs-feature__list { margin: 0; }
/* Second group in the same column (town pages: "Where we clean" then "Why Dream Clean") */
.dcs-eot-intro .dcs-feature__list + .dcs-eot-group__title { margin-top: 1.5rem; }
.dcs-eot-intro .dcs-feature__list li { font-size: 0.95rem; }

/* Three audience / guarantee cards under the intro row */
.dcs-eot-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: clamp(2rem, 4vw, 3rem);
}
.dcs-eot-card {
    background: var(--white);
    border: 1px solid var(--grey-line);
    border-top: 4px solid var(--brand);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.5rem 0.9rem;
    box-shadow: var(--shadow-sm);
}
.dcs-eot-card .dcs-eot-card__title { margin-bottom: 0.5rem; }

/* Related services line */
.dcs-eot-related {
    margin: 2rem 0 0;
    text-align: center;
    font-size: 0.95rem;
    color: var(--muted);
}
.dcs-eot-related span {
    font-weight: 700;
    color: var(--charcoal);
    margin-right: 0.25rem;
}

/* Closing promise - dark box inside the light tint band above the CTA strip
   (the tint band keeps it clear of the black strip) */
.dcs-eot-closing { padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.dcs-promise.dcs-promise--closing {
    background: var(--charcoal);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 3rem);
    max-width: 900px;
    box-shadow: var(--shadow-sm);
}
.dcs-promise--closing .dcs-promise__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: var(--brand);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.35rem;
}
.dcs-promise--closing .dcs-promise__text {
    color: var(--white);
    font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem);
    line-height: 1.25;
    margin-bottom: 0.75rem;
    text-wrap: balance;
}
.dcs-promise--closing .dcs-promise__cite { color: var(--brand); }
.dcs-nowrap { white-space: nowrap; }

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

/* ---------- 10. EoT town pages: "Why Dream Clean" panel under the Who books cards ---------- */

/* Grey panel holding a row of small white tiles - icon, short bold title,
   one-line explanation - so each reason can be taken in at a glance */
.dcs-eot-why {
    margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    background: var(--grey);
    border: 1px solid var(--grey-line);
    border-radius: var(--radius-lg);
}
.dcs-eot-why__title {
    margin: 0 0 1.25rem;
    color: var(--charcoal);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}
.dcs-eot-why__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}
.dcs-eot-why__list--3 { grid-template-columns: repeat(3, 1fr); }
.dcs-eot-why__list--4 { grid-template-columns: repeat(4, 1fr); }
.dcs-eot-why__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 1.15rem 1.2rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--grey-line);
    border-radius: var(--radius);
}
.dcs-eot-why__item i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.4rem;
    background: rgba(76, 175, 80, 0.12);
    color: var(--brand);
    border-radius: 50%;
    font-size: 0.95rem;
}
.dcs-eot-why__item strong {
    color: var(--charcoal);
    font-size: 1rem;
    line-height: 1.3;
}
.dcs-eot-why__item span {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .dcs-eot-why__list--3,
    .dcs-eot-why__list--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .dcs-eot-why__list--3,
    .dcs-eot-why__list--4 { grid-template-columns: 1fr; }
    /* Phone: icon on the left, title + line stacked beside it */
    .dcs-eot-why__item {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 0.85rem;
        row-gap: 0.2rem;
        align-items: start;
        padding: 1rem 1.1rem;
    }
    .dcs-eot-why__item i { grid-row: span 2; margin-bottom: 0; }
}

/* ---------- 11. Customer reviews inside the feature block ---------- */

/* .dcs-feature--reviews: the Trustist pill + review cards sit under the image
   in the left column on desktop (copy runs down the right); on tablet/phone
   they follow the copy. */
.dcs-reviews {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.dcs-reviews__pill { display: flex; }
.dcs-reviews__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
.dcs-review {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0;
    padding: 1.35rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--grey-line);
    border-left: 4px solid var(--brand);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.dcs-review .dcs-stars { --star: 1.05rem; }
.dcs-review__text {
    margin: 0;
    padding: 0;
    border: 0;
}
.dcs-review__text p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--ink);
}
.dcs-review__name {
    font-weight: 700;
    color: var(--charcoal);
    font-size: 0.95rem;
}
@media (min-width: 901px) {
    .dcs-feature--reviews .dcs-feature__grid {
        grid-template-areas:
            "media body"
            "reviews body";
        grid-template-rows: auto 1fr;
        row-gap: 1.75rem;
    }
    .dcs-feature--reviews .dcs-feature__media { grid-area: media; }
    .dcs-feature--reviews .dcs-feature__body  { grid-area: body; }
    .dcs-feature--reviews .dcs-reviews       { grid-area: reviews; }
}
@media (max-width: 900px) {
    .dcs-feature--reviews .dcs-reviews {
        width: 100%;
        max-width: 620px;
        margin: 0 auto;
    }
    .dcs-reviews__pill { justify-content: center; }
}

/* ---------- 12. Quote overlaid on the intro image (EoT town pages) ---------- */

/* .dcs-feature--overlay: the page's quote sits over the bottom of the intro
   image as a dark glass panel, instead of in its own band further down */
.dcs-promise.dcs-promise--overlay {
    grid-area: media;
    align-self: end;
    justify-self: center;
    position: relative;
    z-index: 2;
    width: calc(100% - 2.5rem);
    max-width: 480px;
    margin: 0 0 1.25rem;
    padding: 1rem 1.25rem;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.9rem;
    align-items: center;
    text-align: left;
    background: rgba(13, 22, 19, 0.84);
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.dcs-promise--overlay .dcs-promise__icon {
    grid-row: span 2;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    background: var(--brand);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.05rem;
}
.dcs-promise--overlay .dcs-promise__text {
    margin: 0 0 0.2rem;
    color: var(--white);
    font-size: clamp(1rem, 0.95rem + 0.35vw, 1.2rem);
    line-height: 1.3;
}
.dcs-promise--overlay .dcs-promise__cite { color: var(--brand); }
@media (max-width: 900px) {
    .dcs-feature--overlay .dcs-feature__grid {
        grid-template-areas:
            "media"
            "body"
            "reviews";
    }
    .dcs-feature--overlay .dcs-feature__media { grid-area: media; }
    .dcs-feature--overlay .dcs-feature__body  { grid-area: body; }
    .dcs-feature--overlay .dcs-reviews       { grid-area: reviews; }
}

/* ---------- 13. EoT hub page ---------- */

/* Intro: image (with overlaid quote) beside the heading, intro, rating pill and
   one review - vertically centred, then the town navigator across the foot */
.dcs-feature--hub .dcs-feature__grid {
    grid-template-areas: "media body";
    align-items: center;
}
.dcs-feature--hub .dcs-feature__media {
    grid-area: media;
    min-height: 0;
    aspect-ratio: 5 / 4;
}
.dcs-feature--hub .dcs-feature__body { grid-area: body; }
.dcs-feature--hub .dcs-reviews { margin-top: 1.5rem; }
@media (max-width: 900px) {
    .dcs-feature--hub .dcs-feature__grid { grid-template-areas: "media" "body"; }
}

/* Town navigator joined onto the foot of a section */
.dcs-eot-towns.dcs-eot-towns--joined {
    margin-top: clamp(3rem, 6vw, 4.5rem);
    padding-top: clamp(2.5rem, 5vw, 3.5rem);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* "Who we look after" + "Our guarantee" side by side above the how-we-work cards */
.dcs-offer__cards.dcs-eot-hub__cards {
    margin: 0 0 1.25rem;
    align-items: stretch;
}

/* ---------- 14. Category pages (commercial, domestic, specialist) ---------- */

/* .dcs-feature--groups: intro copy split into small icon headings, each with
   its own ticked list (same look as the end of tenancy pages) */
.dcs-feature--groups .dcs-feature__list { margin: 0; }
.dcs-feature--groups .dcs-feature__list li { font-size: 0.95rem; }
.dcs-feature--groups .dcs-feature__body > p + .dcs-eot-group__title { margin-top: 1.25rem; }
.dcs-feature--groups .dcs-feature__list + .dcs-eot-group__title { margin-top: 1.5rem; }

/* "Built Around You" callout joined onto the foot of the Why Choose Us section */
.dcs-callout.dcs-callout--joined {
    max-width: 1120px;
    margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
}

/* ---------- 15. Category pages: services + Why Choose Us in one section ---------- */

/* Dark brand panel under the service cards - Why Choose Us (reasons, quote,
   credentials) with Built Around You across its foot. Reuses the existing
   why-grid / trust-card / callout markup, re-coloured for the dark ground. */
.dcs-why-panel {
    position: relative;
    overflow: hidden;
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding: clamp(1.75rem, 4vw, 3.25rem);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(ellipse 55% 90% at 90% 10%, rgba(76, 175, 80, 0.24), transparent 60%),
        linear-gradient(115deg, var(--black) 15%, #143017 65%, #1e4823 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
}
.dcs-why-panel .dcs-why-grid { max-width: none; }
.dcs-why-panel .dcs-why-choose__title { color: var(--white); }
.dcs-why-panel .dcs-why-grid__list li { color: rgba(255, 255, 255, 0.88); }
.dcs-why-panel .dcs-why-choose__highlight {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white) !important;
}
.dcs-why-panel .dcs-trust__card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    border-left-color: var(--brand);
    box-shadow: none;
}
.dcs-why-panel .dcs-trust__card:hover { transform: none; box-shadow: none; }
.dcs-why-panel .dcs-trust__icon { background: rgba(76, 175, 80, 0.2); }
.dcs-why-panel .dcs-trust__title { color: var(--white); }
.dcs-why-panel .dcs-trust__body { color: rgba(255, 255, 255, 0.72); }

/* Built Around You - a slim row across the foot of the panel */
.dcs-callout.dcs-callout--panel {
    max-width: none;
    margin: clamp(1.75rem, 3.5vw, 2.5rem) 0 0;
    padding: clamp(1.5rem, 3vw, 2rem) 0 0;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    box-shadow: none;
}
.dcs-callout--panel .dcs-callout__icon { background: var(--brand); color: var(--white); }
.dcs-callout--panel .dcs-callout__title { color: var(--white); }
.dcs-callout--panel p { color: rgba(255, 255, 255, 0.82); }
@media (max-width: 640px) {
    .dcs-why-panel { border-radius: var(--radius); }
    .dcs-why-panel .dcs-why-grid .dcs-trust__card { padding: 1rem; }
}
