/* ============================================================
   Dream Clean - Sectors page (/sectors)
   Loaded ONLY on /sectors alongside dcs-global.css, dcs-service-page.css
   and dcs-individual-service.css.

   Component: .dcs-sector
   Text-left / image-right grid with brand-green flair:
     - Big semi-transparent sector icon (top-left of the content column)
     - Uppercase eyebrow with brand-green rule
     - Bold section title
     - Body copy with a bordered CTA link at the bottom
     - Image with corner icon badge + offset brand-green accent shape
   ============================================================ */

.dcs-sector {
    padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.dcs-sector__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

@media (max-width: 900px) {
    .dcs-sector__grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }
    /* Image on top on mobile so users see it first */
    .dcs-sector__grid > .dcs-sector__media-wrap {
        order: -1;
    }
}

/* --- Content column --- */

.dcs-sector__content {
    position: relative;
}

/* Big decorative sector icon - very light so it doesn't compete with the title */
.dcs-sector__mark {
    display: block;
    color: var(--brand);
    opacity: 0.14;
    line-height: 1;
    font-size: clamp(4rem, 5.5vw, 6rem);
    margin: 0;
    pointer-events: none;
    user-select: none;
}

/* Uppercase eyebrow with a small brand-green rule to its left */
.dcs-sector__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-dark);
    margin: -0.75rem 0 0.85rem;    /* pull up close to the numeral */
    position: relative;
    z-index: 1;
}
.dcs-sector__eyebrow::before {
    content: "";
    display: inline-block;
    width: 26px;
    height: 2px;
    background: var(--brand);
}

/* Sector title */
.dcs-sector__title {
    font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.3rem);
    color: var(--charcoal);
    margin: 0 0 1.35rem;
    line-height: 1.2;
    font-weight: 700;
}

/* Body copy */
.dcs-sector__body {
    color: var(--ink);
}
.dcs-sector__body p {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 1.75rem;
}

/* Bottom CTA link with brand-green underline + arrow */
.dcs-sector__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--brand-dark);
    font-weight: 700;
    text-decoration: none;
    padding: 0 0 5px;
    border-bottom: 2px solid var(--brand);
    font-size: 0.95rem;
    transition: color .2s var(--ease), border-color .2s var(--ease), gap .2s var(--ease);
}
.dcs-sector__cta::after {
    content: "\f054";                    /* fa-chevron-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.72rem;
    color: var(--brand);
    transition: transform .2s var(--ease);
}
.dcs-sector__cta:hover,
.dcs-sector__cta:focus {
    color: var(--brand);
    gap: 0.75rem;
}
.dcs-sector__cta:hover::after {
    transform: translateX(2px);
}

/* --- Media column --- */

/* Wrap holds the image + an offset brand-green accent shape behind it */
.dcs-sector__media-wrap {
    position: relative;
    padding: 0 1.4rem 1.4rem 0;      /* room for the accent to peek out bottom-right */
}

/* Accent shape: brand-green, translucent, offset bottom-right */
.dcs-sector__media-wrap::before {
    content: "";
    position: absolute;
    top: 1.4rem;
    left: 1.4rem;
    right: 0;
    bottom: 0;
    background: var(--brand);
    opacity: 0.14;
    border-radius: var(--radius-lg);
    z-index: 1;
}

/* Image itself - 4:3 card, rounded, elevated over the accent */
.dcs-sector__media {
    position: relative;
    z-index: 2;
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* Circular icon badge on the top-left of the image */
.dcs-sector__badge {
    position: absolute;
    top: -18px;
    left: -18px;
    width: 60px;
    height: 60px;
    background: var(--brand);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--shadow-md);
    z-index: 3;
    border: 3px solid var(--white);
}
