/* ============================================================
   WESTCOTT'S DECORATING - GLOBAL
   Tokens · reset · header · standalone mobile menu · footer
   buttons · shared section utilities · WhatsApp · reviews
   Built to Seriously Digital Web Build Standards v2.6
   Palette, type and existing look preserved verbatim.
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   Token names held constant across projects (v2.6 §11);
   values are Westcott's existing scheme, unchanged.
   ============================================================ */
:root {
    /* Brand colours */
    --brand:       #af8c59;   /* primary gold accent */
    --brand-dark:  #9a7a4d;   /* hover / active (darker) */
    --brand-deep:  #4a3f2f;   /* deep base for gradient sections */
    --brand-light: #c4a470;   /* lighter hover used on some CTAs */

    /* Secondary / status (incidental, already in the design) */
    --accent:        #27ae60; /* success tick */
    --accent-dark:   #1e8e4e;
    --error:         #e74c3c; /* validation error */
    --whatsapp:      #49B64D;
    --whatsapp-dark: #3ea342;

    /* Neutrals */
    --charcoal:  #4d5153;     /* dark sections + headings */
    --ink:       #4d5153;     /* body text (same family as charcoal here) */
    --muted:     #6f7375;     /* secondary text */
    --grey:      #ecebe9;     /* soft section background (brand light) */
    --grey-line: rgba(77, 81, 83, 0.10); /* hairlines */
    --white:     #ffffff;

    /* Footer-specific darks (from existing footer gradient) */
    --footer-top: #2a2c2d;
    --footer-bot: #1f2021;

    /* Rhythm & effect tokens - reset to v2.7 §11 standard (not old-site
       values) per the §22 rebuild rule: rebuild around the standard tokens
       rather than porting the old ones. */
    --maxw:      1240px;
    --gutter:    clamp(1.25rem, 4vw, 3rem);
    --section-y: clamp(3.5rem, 8vw, 6.5rem);
    --radius:    14px;
    --radius-lg: 22px;
    --shadow-sm: 0 4px 18px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.10);
    --ease:      cubic-bezier(0.22, 0.61, 0.36, 1);

    /* Type scale - v2.7 §12 fluid curves (single source of truth; pages
       reference these so headings are consistent + right-sized per device) */
    --fs-body: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
    --fs-h3:   clamp(1.25rem, 1.1rem + 0.9vw, 1.6rem);
    --fs-h2:   clamp(1.6rem, 1.2rem + 1.8vw, 2.35rem);
    --fs-h1:   clamp(2rem, 1.3rem + 3.2vw, 3.5rem);

    /* Layout offsets - established up front (v2.6 §6) so section
       vertical placement + scroll anchoring resolve from page one.
       Header = top bar (~40px) + sticky header (~93px) on desktop;
       sticky header alone below 900px. */
    --header-h:        93px;   /* sticky header height, desktop */
    --header-h-mobile: 79px;   /* sticky header height, <=900px */

    /* Typography (v2.6 §12) - single family, existing choice */
    --font-head: 'Faustina', Georgia, serif;
    --font-body: 'Faustina', Georgia, serif;
}

/* ============================================================
   2. RESET / BASE
   ============================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Offset in-page anchor targets by the sticky header (v2.6 §6) */
    scroll-padding-top: var(--header-h);
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);   /* §12 fluid body scale */
    line-height: 1.65;
    color: var(--ink);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    line-height: 1.18;
}

/* Skip link - accessibility floor */
.westcotts-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--brand);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 0 0 var(--radius) 0;
    z-index: 1000;
    font-weight: 600;
    text-decoration: none;
}
.westcotts-skip:focus {
    left: 0;
}

/* Consistent, visible keyboard focus across the site */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(175, 140, 89, 0.55);
    outline-offset: 2px;
}

/* ============================================================
   3. CONTAINER
   ============================================================ */
.westcotts-container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Narrow container for text-led sections - keeps line length readable (§12) */
.westcotts-container--narrow { max-width: 900px; }

/* ============================================================
   4. SHARED SECTION UTILITIES
   Background rotation helpers (§6). Pages use these + their own
   per-page section classes; they keep the no-two-in-a-row rhythm.
   ============================================================ */
.westcotts-section        { padding: var(--section-y) 0; background-color: var(--white); }
.westcotts-section--grey  { background-color: var(--grey); }
.westcotts-section--dark  { background-color: var(--charcoal); color: var(--grey); }

/* Centred section heading with the gold underline flourish (§12 h2 scale). */
.westcotts-heading {
    text-align: center;
    max-width: 720px;
    margin-inline: auto;
}
.westcotts-heading h2 {
    font-size: var(--fs-h2);
    font-weight: 600;
    color: var(--charcoal);
    margin: 0 0 14px 0;
}
.westcotts-heading p {
    font-size: var(--fs-body);
    color: var(--charcoal);
    opacity: 0.85;
    line-height: 1.6;
    margin: 0;
}
.westcotts-heading--dark h2,
.westcotts-heading--dark p { color: var(--grey); }
.westcotts-heading h2::after {
    content: '';
    display: block;
    width: 54px;
    height: 3px;
    background-color: var(--brand);
    border-radius: 2px;
    margin: 16px auto 0;
}
.westcotts-heading h2.westcotts-heading__spaced::after { margin-bottom: 8px; }

/* ============================================================
   5. BUTTONS (v2.6 §14 - solid fills, darken on hover)
   Consolidated from the repeated per-page button rules.
   ============================================================ */
.westcotts-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.0625rem;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    padding: 15px 30px;
    border-radius: 999px;             /* confident pill CTA */
    background-color: var(--brand);
    color: var(--grey);
    box-shadow: 0 6px 18px rgba(175, 140, 89, 0.30);
    transition: background-color 0.2s var(--ease),
                transform 0.2s var(--ease),
                box-shadow 0.2s var(--ease);
}
.westcotts-btn:hover {
    background-color: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(175, 140, 89, 0.38);
}
.westcotts-btn:active { transform: translateY(0); }
.westcotts-btn i { font-size: 0.95em; }

/* Large hero variant */
.westcotts-btn--lg {
    font-size: 1.125rem;
    padding: 17px 40px;
}

/* Light variant - for use on dark/photo bands (solid, still confident) */
.westcotts-btn--light {
    background-color: var(--white);
    color: var(--charcoal);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.westcotts-btn--light:hover {
    background-color: var(--grey);
}

/* Secondary dark fill (used on 404 alt action) */
.westcotts-btn--dark {
    background-color: var(--charcoal);
    box-shadow: none;
}
.westcotts-btn--dark:hover {
    background-color: #3a3d3f;
}

/* Full-width on small screens */
.westcotts-btn--block {
    width: 100%;
    max-width: 320px;
}

/* ============================================================
   6. TOP BAR (desktop/tablet only; folds into mobile menu)
   Split layout: local signpost left, contact right - more
   purposeful than a centred contact row.
   ============================================================ */
.westcotts-top-bar {
    background-color: var(--charcoal);
    padding: 9px 0;
    font-size: 0.9375rem;
}
.westcotts-top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
.westcotts-top-bar-note {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(236, 235, 233, 0.72);
}
.westcotts-top-bar-note i { color: var(--brand); font-size: 0.8125rem; }
.westcotts-top-bar-links {
    display: inline-flex;
    align-items: center;
    gap: 28px;
}
.westcotts-top-bar-links a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--grey);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}
.westcotts-top-bar-links a:hover { color: var(--brand-light); }
.westcotts-top-bar-links i { font-size: 0.8125rem; color: var(--brand); }

/* ============================================================
   7. HEADER / DESKTOP NAVIGATION
   ============================================================ */
.westcotts-header {
    background-color: var(--grey);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 var(--grey-line), 0 6px 24px rgba(0, 0, 0, 0.05);
}
.westcotts-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.westcotts-logo { flex-shrink: 0; line-height: 0; }
.westcotts-logo img {
    height: 58px;
    width: auto;
    transition: transform 0.2s var(--ease);
}
.westcotts-logo:hover img { transform: scale(1.02); }

/* Nav sits to the right, CTA distinct from links */
.westcotts-nav-desktop {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}
.westcotts-nav-desktop a {
    color: var(--charcoal);
    text-decoration: none;
    font-size: 1.0625rem;
    font-weight: 500;
    padding: 9px 16px;
    border-radius: 999px;
    position: relative;
    transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.westcotts-nav-desktop a:hover { color: var(--brand-dark); background-color: rgba(175, 140, 89, 0.10); }
.westcotts-nav-desktop a.is-active { color: var(--brand-dark); }
/* Active gets a small underline dot-rule, not a full pill, so it reads as
   "you are here" rather than "hovered". */
.westcotts-nav-desktop a.is-active::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background-color: var(--brand);
}

.westcotts-cta-desktop {
    margin-left: 14px;
    background-color: var(--brand);
    color: var(--grey);
    text-decoration: none;
    font-family: var(--font-head);
    font-size: 1.0625rem;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(175, 140, 89, 0.28);
    transition: background-color 0.2s var(--ease),
                transform 0.2s var(--ease),
                box-shadow 0.2s var(--ease);
}
.westcotts-cta-desktop:hover {
    background-color: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(175, 140, 89, 0.36);
}

/* Hamburger trigger - hidden on desktop, shown <=900px */
.westcotts-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 48px;
    height: 48px;
    position: relative;
}
.westcotts-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--charcoal);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: top 0.3s var(--ease),
                transform 0.3s var(--ease),
                opacity 0.3s var(--ease),
                background-color 0.2s var(--ease);
}
.westcotts-menu-toggle span:nth-child(1) { top: 15px; }
.westcotts-menu-toggle span:nth-child(2) { top: 23px; }
.westcotts-menu-toggle span:nth-child(3) { top: 31px; }
.westcotts-menu-toggle:hover span { background-color: var(--brand); }

/* ============================================================
   8. STANDALONE MOBILE MENU (v2.6 §9)
   Purpose-built full-screen overlay, its own component -
   NOT the desktop nav restyled. Switches at 900px (v2.6 §8).
   ============================================================ */
.westcotts-mobile-menu {
    display: none;               /* shown <=900px via media query */
    position: fixed;
    inset: 0;
    z-index: 200;
    visibility: hidden;
    opacity: 0;
}
.westcotts-mobile-menu::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(77, 81, 83, 0.4);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}
.westcotts-mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
}
.westcotts-mobile-menu.is-open::before { opacity: 1; }

.westcotts-mobile-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 360px;
    height: 100%;
    background-color: var(--grey);
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    z-index: 1;
}
.westcotts-mobile-menu.is-open .westcotts-mobile-menu-panel {
    transform: translateX(0);
}

.westcotts-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--grey-line);
    flex-shrink: 0;
}
.westcotts-mobile-logo { line-height: 0; }
.westcotts-mobile-logo img { height: 50px; width: auto; }

.westcotts-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 48px;
    height: 48px;
    position: relative;
}
.westcotts-menu-close span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--charcoal);
    position: absolute;
    left: 50%;
    top: 50%;
    transition: background-color 0.2s var(--ease);
}
.westcotts-menu-close span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.westcotts-menu-close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }
.westcotts-menu-close:hover span { background-color: var(--brand); }

.westcotts-mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 18px 18px 8px;
    flex-grow: 1;
}
.westcotts-mobile-nav a {
    color: var(--charcoal);
    text-decoration: none;
    font-size: 1.0625rem;
    font-weight: 500;
    padding: 13px 18px;
    min-height: 48px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    margin-bottom: 6px;
    transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.westcotts-mobile-nav a:not(.westcotts-mobile-cta):nth-child(odd)  { background-color: rgba(77, 81, 83, 0.06); }
.westcotts-mobile-nav a:not(.westcotts-mobile-cta):nth-child(even) { background-color: rgba(175, 140, 89, 0.10); }
.westcotts-mobile-nav a:not(.westcotts-mobile-cta):hover {
    color: var(--brand);
    background-color: rgba(175, 140, 89, 0.18);
}
.westcotts-mobile-nav a.is-active {
    color: var(--brand);
    background-color: rgba(175, 140, 89, 0.14);
}

/* CTA — higher specificity than ".westcotts-mobile-nav a" so white wins */
.westcotts-mobile-nav a.westcotts-mobile-cta,
.westcotts-mobile-cta {
    background-color: var(--brand);
    color: #fff;
    border-radius: 999px;
    text-align: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 14px;
    margin-bottom: 0;
    padding: 15px 24px;
    min-height: 54px;
    box-shadow: 0 6px 18px rgba(175, 140, 89, 0.28);
    transition: background-color 0.2s var(--ease);
}
.westcotts-mobile-nav a.westcotts-mobile-cta:hover,
.westcotts-mobile-cta:hover { background-color: var(--brand-dark); color: #fff; }

/* Top-bar contact folds into the menu here (§9) */
.westcotts-mobile-contact {
    padding: 22px 18px 24px;
    margin-top: auto;
    background-color: rgba(77, 81, 83, 0.03);
    border-top: 1px solid var(--grey-line);
    flex-shrink: 0;
}
.westcotts-mobile-contact-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}
.westcotts-mobile-contact a {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--charcoal);
    text-decoration: none;
    font-size: 1.0625rem;
    padding: 11px 0;
    min-height: 46px;
    transition: color 0.2s var(--ease);
}
.westcotts-mobile-contact a:hover { color: var(--brand); }
.westcotts-mobile-contact i { font-size: 1.125rem; width: 24px; color: var(--brand); }
.westcotts-mobile-contact .westcotts-phonenote {
    display: flex;
    align-items: flex-start;
    gap: 14px;                      /* same as tel/email links */
    margin: 0 0 12px;
    max-width: 300px;
    line-height: 1.45;
}
.westcotts-mobile-contact .westcotts-phonenote i {
    width: 18px;                    /* aligns with the tel/email icon column */
    text-align: center;
    margin: 3px 0 0;                /* nudge to sit level with first text line */
    flex-shrink: 0;
}

body.westcotts-menu-open { overflow: hidden; }

/* ============================================================
   PHONE AVAILABILITY NOTE (near every phone number)
   Client request: gently signal calls may not always be answered
   on a job, and steer toward email / the enquiry form.
   ============================================================ */
.westcotts-phonenote {
    display: block;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--muted);
    opacity: 0.95;
}
.westcotts-phonenote i { color: var(--brand); margin-right: 6px; font-size: 0.85em; }
/* On dark backgrounds */
.westcotts-phonenote--light { color: rgba(236, 235, 233, 0.68); }
.westcotts-phonenote--light i { color: var(--brand-light); }

/* ============================================================
   9. FOOTER
   ============================================================ */
.westcotts-footer {
    background: linear-gradient(180deg, var(--footer-top) 0%, var(--footer-bot) 100%);
    color: var(--grey);
    padding: 0 0 2.5rem 0;
    border-top: 3px solid var(--brand);
}

/* Final CTA prompt band - a last, low-pressure nudge to enquire.
   Copy reuses existing site language (free, no-obligation quote). */
.westcotts-footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    flex-wrap: wrap;
    padding: clamp(2.2rem, 5vw, 3.25rem) 0;
    border-bottom: 1px solid rgba(175, 140, 89, 0.22);
}
.westcotts-footer-cta-text h2 {
    font-size: var(--fs-h3);
    font-weight: 600;
    color: var(--grey);
    margin: 0 0 6px 0;
}
.westcotts-footer-cta-text p {
    margin: 0;
    color: rgba(236, 235, 233, 0.7);
}
.westcotts-footer-cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}
.westcotts-footer-cta-actions .westcotts-phonenote { flex-basis: 100%; margin-top: 2px; }

.westcotts-footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 40px 48px;
    padding: clamp(2.5rem, 5vw, 3.5rem) 0 40px;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(175, 140, 89, 0.22);
}
.westcotts-footer-about h3 {
    font-size: var(--fs-h3);
    margin-bottom: 16px;
    color: var(--brand);
    font-weight: 600;
}
.westcotts-footer-about p {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 340px;
    color: rgba(236, 235, 233, 0.85);
    margin-bottom: 18px;
}
.westcotts-footer-about-areas {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.9375rem;
    color: rgba(236, 235, 233, 0.62);
}
.westcotts-footer-about-areas i { color: var(--brand); }
.westcotts-footer-links h4,
.westcotts-footer-contact h4 {
    font-size: 1.125rem;
    margin-bottom: 20px;
    color: var(--grey);
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}
.westcotts-footer-links h4::after,
.westcotts-footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--brand);
}
.westcotts-footer-links ul { list-style: none; }
.westcotts-footer-links li { margin-bottom: 12px; }
.westcotts-footer-links a {
    color: rgba(236, 235, 233, 0.85);
    text-decoration: none;
    font-size: 1rem;
    display: inline-block;
    transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.westcotts-footer-links a:hover { color: var(--brand); padding-left: 4px; }

.westcotts-footer-contact a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(236, 235, 233, 0.85);
    text-decoration: none;
    font-size: 1rem;
    margin-bottom: 14px;
    transition: color 0.2s var(--ease);
}
.westcotts-footer-contact a:hover { color: var(--brand); }
.westcotts-footer-contact i { font-size: 1rem; width: 20px; color: var(--brand); }
/* Availability note: sits directly under the phone number, left edge
   aligned to the number text (past the icon), free to use the column width. */
.westcotts-footer-contact a[href^="tel:"] { margin-bottom: 8px; }
.westcotts-footer-contact .westcotts-phonenote {
    margin: 0 0 16px 32px;
    max-width: 300px;
    line-height: 1.5;
}
.westcotts-footer-contact .westcotts-phonenote i {
    width: auto;
    margin-right: 6px;
}

.westcotts-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
}
.westcotts-footer-bottom p,
.westcotts-footer-bottom a {
    margin: 0;
    font-size: 0.9375rem;
    color: rgba(236, 235, 233, 0.6);
}
.westcotts-footer-bottom a { text-decoration: none; transition: color 0.2s var(--ease); }
.westcotts-footer-bottom a:hover { color: var(--brand); }

/* ============================================================
   10. WHATSAPP FLOATING BUTTON
   ============================================================ */
.westcotts-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--whatsapp);
    border-radius: 12px;
    padding: 16px 20px 12px;
    text-decoration: none;
    z-index: 999;
    transition: background-color 0.2s var(--ease);
}
.westcotts-whatsapp:hover { background-color: var(--whatsapp-dark); }
.westcotts-whatsapp i {
    color: var(--white);
    font-size: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}
.westcotts-whatsapp-label {
    font-family: var(--font-head);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    white-space: nowrap;
}

/* ============================================================
   10b. STICKY MOBILE CONTACT BAR (mobile only)
   Starts minimised as a small pill; taps to expand into Email +
   WhatsApp on a dark tray. Hidden while the mobile menu is open.
   ============================================================ */
.westcotts-contactbar {
    display: none;                 /* shown <=900px */
    position: fixed;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 1001;                 /* above the WhatsApp float (999) so clicks land */
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

/* Minimised trigger pill */
.westcotts-contactbar-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--charcoal);
    color: #fff;
    border: none;
    cursor: pointer;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1rem;
    padding: 13px 20px;
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.30);
}
.westcotts-contactbar-toggle i { color: var(--brand-light); font-size: 1.05em; }

/* Expanded tray */
.westcotts-contactbar-panel {
    display: none;
    width: min(86vw, 320px);
    background: #232627;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 34px rgba(0,0,0,0.42);
    padding: 14px;
}
.westcotts-contactbar.is-open .westcotts-contactbar-panel { display: block; }
.westcotts-contactbar.is-open .westcotts-contactbar-toggle { display: none; }

.westcotts-contactbar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.westcotts-contactbar-head span {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
}
.westcotts-contactbar-close {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,0.6);
    font-size: 1.2rem;
    line-height: 1;
    padding: 2px 6px;
}
.westcotts-contactbar-close:hover { color: #fff; }
.westcotts-contactbar-note {
    font-size: 0.75rem;
    line-height: 1.4;
    color: rgba(236,235,233,0.6);
    margin: 0 0 12px;
}
.westcotts-contactbar-note i { color: var(--brand-light); margin-right: 5px; }
.westcotts-contactbar-actions { display: flex; gap: 10px; }
.westcotts-contactbar-actions a {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    border-radius: 999px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    min-height: 46px;
}
.westcotts-contactbar-email { background: var(--brand); color: #fff; }
.westcotts-contactbar-wa    { background: var(--whatsapp); color: #fff; }

/* Hide the whole bar while the mobile menu is open (any page) */
body.westcotts-menu-open .westcotts-contactbar { display: none !important; }

/* ============================================================
   11. REVIEWS SECTION (shared include)
   ============================================================ */
.westcotts-reviews {
    padding: clamp(3.75rem, 8vw, 6.25rem) 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 30%, var(--brand-deep) 60%, var(--brand) 100%);
    position: relative;
    overflow: hidden;
}
.westcotts-reviews::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(175, 140, 89, 0.15) 0%, transparent 50%);
    pointer-events: none;
}
.westcotts-reviews-content { text-align: center; position: relative; z-index: 1; }
.westcotts-reviews h2 {
    font-size: clamp(1.5rem, 1.1rem + 1.9vw, 2.5rem);
    margin-bottom: 50px;
    color: var(--white);
    font-weight: 600;
    position: relative;
    display: inline-block;
}
.westcotts-reviews h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--brand), transparent);
}
.westcotts-reviews-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
}
.westcotts-review-card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.westcotts-review-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 28px;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--brand);
    opacity: 0.2;
    line-height: 1;
}
.westcotts-review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.westcotts-review-stars {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    gap: 6px;
}
.westcotts-review-stars i { color: var(--brand); font-size: 1.25rem; }
.westcotts-review-text { margin-bottom: 24px; }
.westcotts-review-text p {
    font-size: 1.125rem;
    color: var(--charcoal);
    line-height: 1.75;
    font-style: italic;
    margin: 0;
}
.westcotts-review-author {
    border-top: 1px solid rgba(175, 140, 89, 0.3);
    padding-top: 20px;
}
.westcotts-review-author p {
    font-size: 1rem;
    color: var(--brand);
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
}

/* ============================================================
   12. RESPONSIVE - TABLET / MOBILE SWITCH AT 900px (v2.6 §8)
   ============================================================ */

/* Tablet fine-tuning above the switch */
@media (max-width: 1024px) and (min-width: 901px) {
    .westcotts-top-bar-content { gap: 32px; }
    .westcotts-top-bar-content a { font-size: 0.9375rem; }
    .westcotts-logo img { height: 55px; }
    .westcotts-nav-desktop a { font-size: 1rem; padding: 8px 18px; }
    .westcotts-nav-desktop a::before { left: 18px; right: 18px; }
    .westcotts-cta-desktop { font-size: 1rem; padding: 10px 22px; }
}

/* Primary breakpoint - switch to standalone mobile menu */
@media (max-width: 900px) {
    /* Hide top bar + desktop nav + desktop CTA */
    .westcotts-top-bar,
    .westcotts-nav-desktop,
    .westcotts-cta-desktop { display: none; }

    .westcotts-header { padding: 14px 0; }
    .westcotts-logo img { height: 50px; }

    /* Reveal hamburger + mobile menu structure */
    .westcotts-menu-toggle { display: block; }
    .westcotts-mobile-menu { display: block; }

    /* Animate hamburger to X when open */
    .westcotts-menu-toggle.is-open span:nth-child(1) { top: 23px; transform: translateX(-50%) rotate(45deg); }
    .westcotts-menu-toggle.is-open span:nth-child(2) { opacity: 0; transform: translateX(-50%) scaleX(0); }
    .westcotts-menu-toggle.is-open span:nth-child(3) { top: 23px; transform: translateX(-50%) rotate(-45deg); }

    /* Footer → 2×2 on tablet (left-aligned), not a full single-column stack */
    .westcotts-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px 40px;
        margin-bottom: 30px;
    }
    .westcotts-footer-about { grid-column: 1 / -1; }
    .westcotts-footer-about p { max-width: 520px; }

    /* Reviews */
    .westcotts-reviews {
        background: linear-gradient(150deg, #1a1a1a 0%, #2d2d2d 40%, var(--brand-deep) 70%, var(--brand) 100%);
    }
    .westcotts-reviews-content { padding: 0 20px; }
    .westcotts-reviews h2::after { width: 60px; bottom: -10px; }
    .westcotts-reviews-cards { max-width: 100%; gap: 24px; }
    .westcotts-review-card { padding: 30px 24px; border-radius: 10px; }
    .westcotts-review-card::before { font-size: 3rem; top: 14px; left: 18px; }
    .westcotts-review-card:hover { transform: none; }
    .westcotts-review-text p { font-size: 1rem; line-height: 1.7; }

    /* On mobile the floating WhatsApp is replaced by the sticky call bar
       (Call + WhatsApp together), so hide the floating button to avoid a
       duplicate WhatsApp entry and any collision at the bottom edge. */
    .westcotts-whatsapp { display: none !important; }

    /* Sticky contact bar on (floating pill, bottom-right) */
    .westcotts-contactbar { display: flex; }

    /* Small bottom breathing room so the minimised pill never sits
       flush against the very last content on short pages */
    body { padding-bottom: 24px; }
}

/* Small mobile */
@media (max-width: 640px) {
    .westcotts-footer-about h3 { font-size: 1.25rem; }
    /* Single column + centred on true mobile */
    .westcotts-footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .westcotts-footer-about p { margin-inline: auto; }
    .westcotts-footer-links h4::after,
    .westcotts-footer-contact h4::after { left: 50%; transform: translateX(-50%); }
    .westcotts-footer-links a:hover { padding-left: 0; }
    .westcotts-footer-contact a { justify-content: center; }
    .westcotts-footer-contact .westcotts-phonenote { margin: 0 auto 16px; text-align: center; max-width: 320px; }
    .westcotts-footer-about-areas { justify-content: center; }
    .westcotts-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
    .westcotts-logo img { height: 45px; }
    .westcotts-mobile-menu-panel { width: 100%; max-width: none; }
    .westcotts-mobile-header { padding: 14px 16px; }
    .westcotts-mobile-logo img { height: 45px; }
    .westcotts-mobile-nav { padding: 16px 16px 8px; }
    .westcotts-mobile-nav a { font-size: 1.0625rem; padding: 13px 16px; min-height: 48px; }
    .westcotts-mobile-nav a.westcotts-mobile-cta,
    .westcotts-mobile-cta { font-size: 1.0625rem; padding: 15px 20px; min-height: 52px; }
    .westcotts-mobile-contact { padding: 20px 16px 22px; }
    .westcotts-mobile-contact a { font-size: 1rem; padding: 10px 0; min-height: 44px; }

    .westcotts-footer { padding: 45px 0 25px 0; }
    .westcotts-footer-about p { font-size: 1rem; max-width: 300px; }

    .westcotts-reviews-content { padding: 0 16px; }
    .westcotts-review-card { padding: 28px 20px; border-radius: 8px; }
    .westcotts-review-card::before { font-size: 2.5rem; top: 12px; left: 14px; opacity: 0.15; }
}

/* ============================================================
   13. REDUCED MOTION (v2.6 §8/§19)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .westcotts-btn:hover,
    .westcotts-cta-desktop:hover,
    .westcotts-review-card:hover { transform: none; }
}

/* ============================================================
   14. REVIEW PILL (Landing Page component, §8a)
   Three variants for different section backgrounds. Same markup.
   ============================================================ */
.westcotts-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
}
.westcotts-pill-stars { color: var(--brand); letter-spacing: 1px; white-space: nowrap; }
.westcotts-pill-stars i { font-size: 0.9rem; }
.westcotts-pill--light { background: var(--grey); color: var(--charcoal); }
.westcotts-pill--light .westcotts-pill-stars { color: var(--brand-dark); }
.westcotts-pill--dark  { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.18); }
.westcotts-pill--dark .westcotts-pill-stars { color: var(--brand-light); }
.westcotts-pill--brand { background: rgba(255,255,255,0.15); color: #fff; }
.westcotts-pill--brand .westcotts-pill-stars { color: #fff; }

/* WhatConverts wrapper - keep it out of layout (LP §12) */
.westcotts-whatconverts { display: none; }
