/* ============================================================
   WESTCOTT'S DECORATING — HOME (v2.7 §22 redesign)
   Content/images/palette/typeface preserved; layouts redesigned.
   Register: reassurance-led trade — clarity + trust first, one
   measured overlap accent, boldness spent only on the hero.
   Page prefix: wh-
   ============================================================ */

/* ============================================================
   HERO — left-aligned composition, large display H1, single CTA
   ============================================================ */
.wh-hero {
    position: relative;
    background-image:
        linear-gradient(90deg, rgba(29,31,32,0.82) 0%, rgba(29,31,32,0.55) 55%, rgba(29,31,32,0.30) 100%),
        url('/images/hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--grey);
    padding: clamp(3.5rem, 9vw, 7rem) 0;
}
.wh-hero-inner { max-width: 660px; }
.wh-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--brand-light);
    margin-bottom: 18px;
}
.wh-hero-eyebrow i { font-size: 0.85em; }
.wh-hero h1 {
    font-size: var(--fs-h1);
    font-weight: 700;
    line-height: 1.08;
    margin: 0 0 18px 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.wh-hero p {
    font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.3rem);
    line-height: 1.6;
    margin: 0 0 30px 0;
    max-width: 34ch;
    color: rgba(236, 235, 233, 0.92);
}
.wh-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px 22px;
    flex-wrap: wrap;
}
.wh-hero-phone-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--grey);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.0625rem;
    transition: color 0.2s var(--ease);
}
.wh-hero-phone-inline i { color: var(--brand-light); }
.wh-hero-phone-inline:hover { color: var(--brand-light); }
.wh-hero-note { margin-top: 18px; max-width: 42ch; }

/* ============================================================
   TRUST STRIP — credibility line before the scroll
   ============================================================ */
.wh-trust {
    background: var(--white);
    border-bottom: 1px solid var(--grey-line);
    padding: 22px 0;
}
.wh-trust-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px 28px;
}
.wh-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--charcoal);
}
.wh-trust-item i { color: var(--brand); font-size: 1.15rem; flex-shrink: 0; }

/* ============================================================
   ALTERNATING CONTENT ROWS (about + services)
   ============================================================ */
.wh-row-section { padding: var(--section-y) 0; }
.wh-row-section--grey  { background: var(--grey); }
.wh-row-section--white { background: var(--white); }

.wh-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}
.wh-row__text { max-width: 30rem; }
.wh-row--reverse .wh-row__media { order: -1; }

.wh-row__text h2 {
    font-size: var(--fs-h2);
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.18;
    margin: 0 0 8px 0;
}
.wh-row__rule {
    width: 54px; height: 3px;
    background: var(--brand);
    border-radius: 2px;
    margin: 0 0 22px 0;
}
.wh-row__text > p {
    font-size: var(--fs-body);
    color: var(--charcoal);
    line-height: 1.7;
    margin: 0 0 24px 0;
}

.wh-feature-list { list-style: none; margin: 0 0 30px 0; padding: 0; }
.wh-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 1rem;
    color: var(--charcoal);
    line-height: 1.5;
    padding: 11px 0;
    border-bottom: 1px solid var(--grey-line);
}
.wh-feature-list li:last-child { border-bottom: none; }
.wh-feature-list i {
    color: var(--brand);
    font-size: 1.05rem;
    width: 22px;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Media with a measured overlap accent (offset gold frame, desktop only) */
.wh-row__media { position: relative; display: grid; }
.wh-row__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;
}
.wh-row__media::before {
    content: '';
    grid-area: 1 / 1;
    align-self: stretch;
    justify-self: stretch;
    border: 2px solid var(--brand);
    border-radius: var(--radius-lg);
    transform: translate(18px, 18px);
    z-index: 0;
}
.wh-row--reverse .wh-row__media::before { transform: translate(-18px, 18px); }

/* ============================================================
   SERVICES LIST — cleaner two-column card set
   ============================================================ */
.wh-services-list { padding: var(--section-y) 0; background: var(--white); }
.wh-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 20px;
    max-width: 900px;
    margin: 40px auto 0;
}
.wh-service-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    color: var(--charcoal);
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s var(--ease);
}
.wh-service-item i { color: var(--brand); font-size: 1.05rem; width: 24px; text-align: center; flex-shrink: 0; }

/* ============================================================
   PROCESS STRIP — light, low-key 3-step "how a quote happens"
   Deliberately understated so it reassures without dominating.
   ============================================================ */
.wh-process {
    padding: clamp(2.75rem, 6vw, 4.5rem) 0;
    background: var(--grey);
    color: var(--charcoal);
}
.wh-process .westcotts-heading h2 { color: var(--charcoal); }
.wh-process .westcotts-heading h2::after { background: var(--brand); }
.wh-process .westcotts-heading p { color: var(--charcoal); }

.wh-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 32px;
    max-width: 940px;
    margin: 36px auto 0;
    counter-reset: step;
}
.wh-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 0;
    text-align: left;
}
.wh-step__num {
    counter-increment: step;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand);
    color: #fff;
    border-radius: 50%;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.0625rem;
}
.wh-step__num::before { content: counter(step); }
.wh-step h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 6px 0 5px 0;
    line-height: 1.25;
}
.wh-step p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    color: var(--charcoal);
    opacity: 0.8;
}

/* ============================================================
   BEFORE / AFTER — section shell, ready for photos "coming soon"
   ============================================================ */
.wh-gallery { padding: var(--section-y) 0; background: var(--grey); }
.wh-gallery-placeholder {
    max-width: 720px;
    margin: 36px auto 0;
    text-align: center;
    padding: 48px 32px;
    border: 2px dashed rgba(175, 140, 89, 0.4);
    border-radius: var(--radius-lg);
    background: var(--grey);
    color: var(--charcoal);
}
.wh-gallery-placeholder i { font-size: 2rem; color: var(--brand); margin-bottom: 14px; }
.wh-gallery-placeholder p { margin: 0; font-size: 1.0625rem; }

/* ============================================================
   SERVICE AREAS — tighter, aligned grid
   ============================================================ */
.wh-areas { padding: var(--section-y) 0; background: var(--white); }
.wh-areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 960px;
    margin: 44px auto 0;
}
.wh-area-box {
    background: var(--white);
    padding: 24px 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}
.wh-area-box:hover { transform: translateY(-3px); background: var(--brand); }
.wh-area-box i { font-size: 1.4rem; color: var(--brand); margin-bottom: 12px; display: block; transition: color 0.2s var(--ease); }
.wh-area-box h3 { font-size: 1.125rem; font-weight: 600; color: var(--charcoal); margin: 0 0 4px 0; transition: color 0.2s var(--ease); }
.wh-area-box p { font-size: 0.95rem; color: var(--charcoal); opacity: 0.7; margin: 0; transition: color 0.2s var(--ease), opacity 0.2s var(--ease); }
.wh-area-box:hover i,
.wh-area-box:hover h3 { color: var(--grey); }
.wh-area-box:hover p { color: var(--grey); opacity: 0.9; }

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

    .wh-trust-grid { justify-content: center; gap: 14px 24px; }

    .wh-row { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .wh-row__text { max-width: 520px; margin-inline: auto; }
    .wh-row__rule { margin-inline: auto; }
    .wh-row--reverse .wh-row__media { order: 0; }
    .wh-row__media { max-width: 460px; margin-inline: auto; }
    .wh-row__media::before { display: none; }
    .wh-feature-list { text-align: left; max-width: 380px; margin-inline: auto; margin-bottom: 28px; }

    .wh-steps { grid-template-columns: 1fr; gap: 16px; max-width: 440px; }
    .wh-step { padding: 26px 24px; }

    .wh-areas-grid { grid-template-columns: repeat(2, 1fr); }
    .wh-area-box:hover { transform: none; }
}

@media (max-width: 640px) {
    .wh-services-grid { grid-template-columns: 1fr; max-width: 440px; }
}

@media (max-width: 420px) {
    .wh-trust-grid { flex-direction: column; align-items: center; }
    .wh-areas-grid { gap: 12px; }
    .wh-area-box { padding: 18px 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .wh-service-item:hover,
    .wh-area-box:hover { transform: none; }
}
