/* ============================================================
   WESTCOTT'S DECORATING - HANDYMAN (v2.7 §22 redesign)
   Content/images/palette/typeface preserved; layout redesigned.
   Alternating rows + redesigned FAQ. Page prefix: whs-
   ============================================================ */

/* ============================================================
   INNER HERO
   ============================================================ */
.whs-hero {
    position: relative;
    background-image:
        linear-gradient(90deg, rgba(29,31,32,0.84) 0%, rgba(29,31,32,0.58) 55%, rgba(29,31,32,0.34) 100%),
        url('/images/handyman-decorating.jpg');
    background-size: cover;
    background-position: center;
    color: var(--grey);
    padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.whs-hero-inner { max-width: 640px; }
.whs-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brand-light);
    margin-bottom: 16px;
}
.whs-hero h1 {
    font-size: var(--fs-h1);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 16px 0;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.whs-hero p {
    font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
    line-height: 1.6;
    margin: 0;
    max-width: 46ch;
    color: rgba(236,235,233,0.92);
}

/* ============================================================
   ALTERNATING CONTENT ROWS
   ============================================================ */
.whs-section { padding: var(--section-y) 0; background: var(--white); }
.whs-section--alt { background: var(--grey); }

.whs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
    max-width: 1080px;
    margin: 0 auto;
}
.whs-row--reverse .whs-media { order: -1; }

.whs-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.whs-text h2 {
    font-size: var(--fs-h2);
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.18;
    margin: 0 0 8px 0;
}
.whs-text__rule {
    width: 54px; height: 3px;
    background: var(--brand);
    border-radius: 2px;
    margin: 0 0 22px 0;
}
.whs-text > p {
    font-size: var(--fs-body);
    color: var(--charcoal);
    line-height: 1.7;
    margin: 0 0 20px 0;
}

.whs-list { list-style: none; padding: 0; margin: 0; }
.whs-list li {
    font-size: var(--fs-body);
    color: var(--charcoal);
    line-height: 1.6;
    padding: 12px 0 12px 34px;
    position: relative;
    border-bottom: 1px solid var(--grey-line);
}
.whs-list li:last-child { border-bottom: none; }
.whs-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 13px;
    font-size: 0.9rem;
    color: var(--brand);
}

.whs-media { position: relative; display: grid; }
.whs-media img {
    position: relative;
    z-index: 1;
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    grid-area: 1 / 1;
}
.whs-media::before {
    content: '';
    grid-area: 1 / 1;
    border: 2px solid var(--brand);
    border-radius: var(--radius-lg);
    transform: translate(18px, 18px);
    z-index: 0;
}
.whs-row--reverse .whs-media::before { transform: translate(-18px, 18px); }

/* ============================================================
   FAQ - clean two-column cards on grey
   ============================================================ */
.whs-faq { padding: var(--section-y) 0; background: var(--grey); }
.whs-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1000px;
    margin: 44px auto 0;
}
.whs-faq-item {
    background: var(--white);
    padding: 26px 28px 26px 62px;
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.whs-faq-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.whs-faq-item::before {
    content: '\f059';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 24px;
    top: 27px;
    font-size: 1.2rem;
    color: var(--brand);
}
.whs-faq-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 0 0 9px 0;
    line-height: 1.35;
}
.whs-faq-item p {
    font-size: 1rem;
    color: var(--charcoal);
    line-height: 1.6;
    margin: 0;
    opacity: 0.82;
}


.whs-cta { margin-top: 28px; }
@media (max-width: 900px) { .whs-cta { margin-top: 24px; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .whs-hero {
        background-image:
            linear-gradient(rgba(29,31,32,0.7), rgba(29,31,32,0.7)),
            url('/images/handyman-decorating.jpg');
        text-align: center;
    }
    .whs-hero-inner { max-width: 100%; }
    .whs-hero p { max-width: 100%; margin-inline: auto; }

    .whs-row { grid-template-columns: 1fr; gap: 32px; }
    .whs-row--reverse .whs-media { order: 0; }
    .whs-media { max-width: 460px; margin-inline: auto; }
    .whs-media::before { display: none; }
    .whs-text { align-items: center; text-align: center; }
    .whs-text__rule { margin-inline: auto; }
    .whs-text > p { max-width: 460px; }
    .whs-list { text-align: left; max-width: 380px; }

    .whs-faq-grid { grid-template-columns: 1fr; gap: 14px; }
    .whs-faq-item:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .whs-media img, .whs-faq-item { transition: none; }
    .whs-faq-item:hover { transform: none; }
}
