/* ============================================================
   Meshi Contractors Ltd — Main Stylesheet
   Color Palette: Green #72B626 | Black #0D0D0D | Dark Grey #1C1C1C
   ============================================================ */

/* ---- CSS Custom Properties ---- */
:root {
    --green:         #72B626;
    --green-dark:    #5A9118;
    --green-darker:  #427010;
    --green-light:   #8fd13a;
    --green-pale:    #f0f8e6;
    --black:         #0D0D0D;
    --grey-900:      #1C1C1C;
    --grey-800:      #242424;
    --grey-700:      #2D2D2D;
    --grey-600:      #3A3A3A;
    --grey-500:      #555555;
    --grey-400:      #888888;
    --grey-300:      #AAAAAA;
    --grey-200:      #CCCCCC;
    --grey-100:      #E8E8E8;
    --grey-50:       #F5F5F5;
    --white:         #FFFFFF;

    --font-heading:  'Poppins', sans-serif;
    --font-body:     'Inter', sans-serif;

    --shadow-sm:     0 2px 8px rgba(0,0,0,0.12);
    --shadow-md:     0 4px 24px rgba(0,0,0,0.16);
    --shadow-lg:     0 8px 48px rgba(0,0,0,0.22);
    --shadow-green:  0 4px 20px rgba(114,182,38,0.35);

    --radius-sm:     6px;
    --radius-md:     12px;
    --radius-lg:     20px;
    --radius-xl:     32px;
    --radius-full:   9999px;

    --transition:    0.3s ease;
    --transition-slow: 0.6s ease;

    --header-h:      80px;
    --topbar-h:      40px;
}

/* ---- Reset & Base ---- */
[hidden] { display: none !important; }

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--grey-700);
    background: var(--white);
    overflow-x: hidden;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--green);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover { color: var(--green-dark); }

ul, ol { list-style: none; }

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ---- Accessibility ---- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--green);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 1rem;
    color: var(--white);
}

/* ---- Container ---- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ---- Section Spacing ---- */
.section {
    padding: 5rem 0;
}

.section--sm { padding: 3rem 0; }
.section--lg { padding: 7rem 0; }

.section__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section__label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.75rem;
    position: relative;
    padding: 0 1rem;
}

.section__label::before,
.section__label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--green);
    transform: translateY(-50%);
}

.section__label::before { right: 100%; margin-right: -0.5rem; }
.section__label::after  { left: 100%; margin-left: -0.5rem; }

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--black);
    margin-bottom: 1rem;
}

.section__subtitle {
    font-size: 1.05rem;
    color: var(--grey-500);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.btn--primary {
    background: var(--green);
    color: var(--white);
    box-shadow: var(--shadow-green);
}
.btn--primary:hover {
    background: var(--green-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(114,182,38,0.45);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.btn--outline:hover {
    background: var(--white);
    color: var(--black);
}

.btn--outline-green {
    background: transparent;
    color: var(--green);
    border: 2px solid var(--green);
}
.btn--outline-green:hover {
    background: var(--green);
    color: var(--white);
}

.btn--dark {
    background: var(--black);
    color: var(--white);
}
.btn--dark:hover {
    background: var(--grey-900);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.875rem;
}

.btn--lg {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
}

/* ---- Top Bar ---- */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 901;
    background: var(--grey-900);
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--grey-700);
}

.top-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.top-bar__contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.top-bar__item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--grey-300);
    text-decoration: none;
    transition: color var(--transition);
}
.top-bar__item i { color: var(--green); font-size: 0.75rem; }
.top-bar__item:hover { color: var(--white); }

.top-bar__social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-link {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: var(--grey-700);
    color: var(--grey-300);
    font-size: 1rem;
    transition: all var(--transition);
    text-decoration: none;
}
.social-link:hover {
    background: var(--green);
    color: var(--white);
}

/* ---- Site Header ---- */
.site-header {
    position: fixed;
    top: var(--topbar-h);
    left: 0;
    right: 0;
    width: 100%;
    z-index: 900;
    background: var(--white);
    height: var(--header-h);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 20px rgba(0,0,0,0.10);
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

/* Non-homepage: push main content below fixed top-bar + header */
body:not(.index-page) main {
    padding-top: calc(var(--topbar-h) + var(--header-h));
}

/* ---- Homepage: transparent header over hero ---- */
.index-page .site-header {
    background: transparent;
    box-shadow: none;
}

.index-page .site-header.scrolled {
    background: var(--black);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.index-page .site-header:not(.scrolled) .site-nav__link {
    color: rgba(255,255,255,0.9);
}

.index-page .site-header:not(.scrolled) .site-nav__link:hover,
.index-page .site-header:not(.scrolled) .site-nav__link.active {
    color: var(--green-light);
}

.index-page .site-header:not(.scrolled) .site-nav__link::after {
    background: var(--green-light);
}

.index-page .site-header:not(.scrolled) .hamburger__bar {
    background: var(--white);
}

.index-page .site-header.scrolled .site-nav__link {
    color: var(--white);
}

.index-page .site-header.scrolled .site-nav__link:hover,
.index-page .site-header.scrolled .site-nav__link.active {
    color: var(--green-light);
}

.index-page .site-header.scrolled .hamburger__bar {
    background: var(--white);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 10px;
}

.site-logo img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

/* ---- Desktop Nav ---- */
.site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-right: 1rem;
}

.site-nav__link {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--grey-700);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
}

.site-nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
    transition: width var(--transition);
}

.site-nav__link:hover,
.site-nav__link.active {
    color: var(--green);
}

.site-nav__link.active::after,
.site-nav__link:hover::after {
    width: calc(100% - 2rem);
}

.nav-cta { margin-left: 0.5rem; }

/* ---- Hamburger ---- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    border-radius: var(--radius-sm);
    z-index: 1001;
}

.hamburger__bar {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: all 0.35s ease;
    transform-origin: center;
}

.hamburger.open .hamburger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .hamburger__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .hamburger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Mobile Nav Overlay ---- */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 899;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.mobile-nav-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 90vw);
    height: 100vh;
    background: var(--grey-900);
    padding: calc(var(--header-h) + var(--topbar-h) + 1rem) 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-overlay.open .mobile-nav {
    transform: translateX(0);
}

.mobile-nav__list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--grey-200);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition);
}
.mobile-nav__link i { color: var(--green); width: 18px; }
.mobile-nav__link:hover,
.mobile-nav__link.active {
    background: var(--grey-800);
    color: var(--green);
}

.mobile-nav__cta {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
}

.mobile-nav__contact {
    border-top: 1px solid var(--grey-700);
    padding-top: 1rem;
    color: var(--grey-400);
    font-size: 0.875rem;
}
.mobile-nav__contact i { color: var(--green); margin-right: 0.5rem; }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero {
    position: relative;
    overflow: hidden;
    height: clamp(560px, 85vh, 860px);
    background: var(--black);
}

.hero__slider {
    display: flex;
    height: 100%;
    width: 100%;
}

.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
    background-size: cover;
    background-position: center;
}

.hero__slide.active {
    opacity: 1;
    z-index: 1;
}

/* Slide Backgrounds — replace with real images in production */
.hero__slide--1 {
    background-image:
        linear-gradient(to bottom, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.60) 100%),
        url('/assets/images/hero-1.webp');
    background-color: #1a2810;
}

.hero__slide--2 {
    background-image:
        linear-gradient(to bottom, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.60) 100%),
        url('/assets/images/hero-2.jpg');
    background-color: #0f1f1a;
}

.hero__slide--3 {
    background-image:
        linear-gradient(to bottom, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.60) 100%),
        url('/assets/images/hero-3.jpg');
    background-color: #101a0c;
}

.hero__divider {
    width: 300px;
    height: 1px;
    background: #ffffff;
    margin-bottom: 1.5rem;
    /* border-radius: 2px; */
}

/* Decorative overlay pattern */
.hero__slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 60%, rgba(114,182,38,0.08) 0%, transparent 60%);
}

/* Hero Content — pinned to bottom of slides */
.hero__content {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding: 2rem 1.25rem 3rem;
    color: var(--white);
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(114,182,38,0.15);
    border: 1px solid rgba(114,182,38,0.4);
    color: var(--green-light);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.2rem;
    backdrop-filter: blur(8px);
}
.hero__badge i { font-size: 0.75rem; }

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    /* max-width: 900px; */
}

.hero__title .highlight {
    color: var(--green);
    position: relative;
    display: inline-block;
}

/* .hero__title .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--green);
    border-radius: 2px;
    opacity: 0.5;
} */

.hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: var(--white);
    /* max-width: 580px; */
    margin: 0 auto 2.5rem;
    line-height: 1.5;
    font-weight: 300;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Slide label (bottom centre) */
.hero__slide-label {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    pointer-events: none;
}

/* Slider Controls */
.hero__controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero__dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.35);
    border: 1px solid rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.35s ease;
    padding: 0;
}

.hero__dot.active {
    width: 28px;
    background: var(--green);
    border-color: var(--green);
}

.hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    backdrop-filter: blur(8px);
}
.hero__arrow:hover {
    background: var(--green);
    border-color: var(--green);
}
.hero__arrow--prev { left: 1.5rem; }
.hero__arrow--next { right: 1.5rem; }

/* Scroll Indicator */
.hero__scroll {
    position: absolute;
    bottom: 2rem;
    right: 2.5rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(114,182,38,0.8), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.4; }
}

/* ---- Stats Bar ---- */
.stats-bar {
    background: var(--black);
    padding: 2rem 0;
    border-top: 1px solid var(--grey-800);
}

.stats-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
    border-right: 1px solid var(--grey-800);
}
.stat-item:last-child { border-right: none; }

.stat-item__number {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    color: var(--green);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-item__label {
    font-size: 0.82rem;
    color: var(--grey-400);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ============================================================
   ABOUT US
   ============================================================ */
.about {
    background: var(--white);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about__visual {
    position: relative;
}

.about__img-wrap {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-lg);
}

.about__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.about__img-wrap:hover img { transform: scale(1.03); }

.about__badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--green);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-green);
    font-family: var(--font-heading);
    z-index: 2;
}

.about__badge-num {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    display: block;
}

.about__badge-text {
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
}

.about__content {}

.about__label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.75rem;
}

.about__title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--black);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.about__body {
    color: var(--grey-500);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.about__body p { margin-bottom: 0.75rem; }
.about__body p:last-child { margin-bottom: 0; }
.about__body a, .about__extra-body a {
    color: var(--green);
    text-decoration: underline;
}
.about__body a:hover, .about__extra-body a:hover { opacity: 0.8; }

.about__list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.about__list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--grey-600);
    font-weight: 500;
}

.about__list li i {
    width: 22px;
    height: 22px;
    background: var(--green-pale);
    color: var(--green);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    flex-shrink: 0;
}

.about__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

/* ---- About sub-section (text-left, image-right) ---- */
.about__extra {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--grey-100);
}

.about__extra-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.about__extra-body {
    font-size: 1.05rem;
    color: var(--grey-500);
    line-height: 1.8;
}

.about__extra-visual img {
    width: 100%;
    border-radius: var(--radius-md);
    object-fit: contain;
    /* aspect-ratio: 4/3; */
}

/* ============================================================
   COMMUNITY ENGAGEMENT SECTION
   ============================================================ */
.community {
    background: var(--grey-50);
}

.community__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.community__visual img {
    width: 100%;
    border-radius: var(--radius-md);
    object-fit: contain;
    /* aspect-ratio: 4/3; */
    box-shadow: var(--shadow-md);
}

.community__body {
    font-size: 1.05rem;
    color: var(--grey-500);
    line-height: 1.8;
    margin-top: 1.5rem;
}

.community__body p { margin: 0 0 1em; }
.community__body p:last-child { margin-bottom: 0; }
.community__body a { color: var(--green); text-decoration: underline; }
.community__body ul, .community__body ol { padding-left: 1.4em; margin: .5em 0 1em; }

.community__visual a { display: block; }
.community__visual a img { transition: opacity .25s; }
.community__visual a:hover img { opacity: .88; }

/* ============================================================
   COMMUNITY GALLERY COLLAGE
   Recommended image ratio: 4:3 (e.g. 800×600px).
   Images at 4:3 display with zero cropping; others are cover-cropped.
   ============================================================ */
.community-gallery {
    background: var(--grey-50);
    padding: 0 0 4rem;
}

.community-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
}

.community-gallery__item {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}

.community-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.community-gallery__item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

/* ============================================================
   EALING PUBLICATION SECTION
   ============================================================ */
.ealing-feature__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ealing-feature__visual img {
    width: 100%;
    border-radius: var(--radius-md);
    object-fit: contain;
    box-shadow: var(--shadow-md);
}

.ealing-feature__body {
    font-size: 1.05rem;
    color: var(--grey-500);
    line-height: 1.8;
    margin-top: 1.5rem;
}

.ealing-feature__body p { margin-bottom: 1rem; }
.ealing-feature__body ul, .ealing-feature__body ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.ealing-feature__body a { color: var(--green); }

/* ============================================================
   SERVICES SECTION (Home preview)
   ============================================================ */
.services-preview {
    background: var(--grey-50);
}

.services-preview .section__header .section__label,
.services-preview .section__header .section__label::before,
.services-preview .section__header .section__label::after {
    color: var(--green);
    background: var(--green);
}

.services-preview .section__title {
    color: var(--black);
}

.services-preview .section__subtitle {
    color: var(--grey-600);
}

.services-preview__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

/* --- Image-driven service card --- */
.service-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-sm);
    aspect-ratio: 4 / 3;
    background: var(--grey-800);
    text-decoration: none;
    cursor: pointer;
    color: inherit;
}

/* Focus outline for accessibility */
.service-card:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 3px;
}

/* Gradient overlay — always on, deepens on hover */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.5) 0%,
        rgba(0,0,0,0.10) 55%,
        rgba(0,0,0,0.05) 100%
    );
    z-index: 1;
    transition: background 0.45s ease;
}

.service-card:hover::before,
.service-card:focus-visible::before {
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.6) 0%,
        rgba(0,0,0,0.4) 65%,
        rgba(0,0,0,0.1) 100%
    );
}

/* Image */
.service-card__img-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.service-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

.service-card:hover .service-card__img-wrap img,
.service-card:focus-visible .service-card__img-wrap img {
    transform: scale(1.08);
}

/* Placeholder (no image) */
.service-card__img-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--grey-800), var(--grey-700));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.2);
    transition: color var(--transition);
}

.service-card:hover .service-card__img-placeholder {
    color: var(--green);
}

/* Content overlay — pinned to bottom */
.service-card__body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 1.1rem 1.4rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* Green accent line — grows from left on hover */
.service-card__body::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--green);
    transition: width 0.45s ease;
    border-radius: 0 2px 0 0;
}

.service-card:hover .service-card__body::after,
.service-card:focus-visible .service-card__body::after {
    width: 100%;
}

/* Title — always visible, shifts up slightly on hover */
.service-card__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    transform: translateY(0);
    transition: transform 0.4s ease;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.service-card:hover .service-card__title,
.service-card:focus-visible .service-card__title {
    transform: translateY(-3px);
}

/* Sub-text — hidden by default, fades in on hover */
.service-card__desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.5;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.38s ease 0.06s, transform 0.38s ease 0.06s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.service-card:hover .service-card__desc,
.service-card:focus-visible .service-card__desc {
    opacity: 1;
    transform: translateY(0);
}

/* "View Service" link — hidden, slides up on hover */
.service-card__link {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--green-light);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.38s ease 0.12s, transform 0.38s ease 0.12s;
    text-decoration: none;
    margin-top: 0.15rem;
}

.service-card__link i {
    font-size: 0.6rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card__link,
.service-card:focus-visible .service-card__link {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover .service-card__link i {
    transform: translateX(4px);
}

.services-preview__cta {
    text-align: center;
    margin-top: 3rem;
}

/* ============================================================
   WHY CHOOSE US / Features
   ============================================================ */
.features {
    background: var(--grey-900);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--grey-800);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    border: 1px solid var(--grey-700);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--green);
    transition: height 0.4s ease;
}
.feature-card:hover::before { height: 100%; }
.feature-card:hover {
    border-color: var(--green);
    transform: translateY(-4px);
    box-shadow: var(--shadow-green);
}

.feature-card__icon {
    width: 54px;
    height: 54px;
    background: rgba(114,182,38,0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    transition: all var(--transition);
}
.feature-card:hover .feature-card__icon {
    background: var(--green);
    color: var(--white);
}

.feature-card__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.feature-card__desc {
    font-size: 0.875rem;
    color: var(--grey-400);
    line-height: 1.7;
}

/* ============================================================
   CALL TO ACTION
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 50%, var(--green-darker) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}
.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 350px;
    height: 350px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.03);
    pointer-events: none;
}

.cta-section__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.cta-section__text {}

.cta-section__label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.75rem;
}

.cta-section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.cta-section__subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    max-width: 540px;
}

.cta-section__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--black);
}

.footer__top {
    padding: 4.5rem 0;
    border-bottom: 1px solid var(--grey-800);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 3rem;
}

.footer__logo img {
    height: 75px;
    width: auto;
    /*filter: brightness(0) invert(1);*/
    margin-bottom: 0.75rem;
}

.footer__tagline {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--green);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.footer__desc {
    font-size: 0.875rem;
    color: var(--grey-400);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.footer__social {
    display: flex;
    gap: 0.5rem;
}

.social-link--footer {
    width: 36px;
    height: 36px;
    background: var(--grey-800);
    font-size: 0.875rem;
}

.footer__heading {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--grey-800);
    position: relative;
}

.footer__heading::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--green);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--grey-400);
    text-decoration: none;
    transition: all var(--transition);
    padding: 0.2rem 0;
}
.footer__links a i {
    font-size: 0.65rem;
    color: var(--green);
    transition: transform var(--transition);
}
.footer__links a:hover {
    color: var(--green);
    padding-left: 0.3rem;
}

.footer__contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer__contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--grey-400);
}
.footer__contact-list li i {
    color: var(--green);
    margin-top: 0.15rem;
    flex-shrink: 0;
    width: 14px;
}
.footer__contact-list a {
    color: var(--grey-400);
    text-decoration: none;
    transition: color var(--transition);
}
.footer__contact-list a:hover { color: var(--green); }

.footer__cta {
    width: 100%;
    justify-content: center;
}

.footer__bottom {
    padding: 1.25rem 0;
    background: var(--grey-900);
}

.footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer__copy {
    font-size: 0.82rem;
    color: var(--grey-500);
}

.footer__credit {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.82rem;
    color: var(--grey-500);
}
.footer__credit a {
    color: var(--grey-500);
    text-decoration: none;
    transition: color var(--transition);
}
.footer__credit a:hover { color: var(--green); }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 800;
    box-shadow: var(--shadow-green);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all var(--transition);
    font-size: 0.9rem;
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.scroll-top:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
}

/* ============================================================
   PAGE BANNER (inner pages)
   ============================================================ */
.page-banner {
    background: linear-gradient(135deg, var(--grey-900) 0%, var(--black) 100%);
    padding: 3.6rem 0 4rem;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--green);
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 400px;
    height: 400px;
    border-radius: var(--radius-full);
    background: radial-gradient(circle, rgba(114,182,38,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.page-banner__content {
    position: relative;
    z-index: 1;
}

.page-banner__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--grey-400);
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}
.page-banner__breadcrumb a {
    color: var(--grey-400);
    text-decoration: none;
    transition: color var(--transition);
}
.page-banner__breadcrumb a:hover { color: var(--green); }
.page-banner__breadcrumb i {
    font-size: 0.6rem;
    color: var(--green);
}
.page-banner__breadcrumb span:last-child { color: var(--green); }

.page-banner__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.page-banner__subtitle {
    font-size: 1.05rem;
    color: var(--grey-300);
    max-width: 560px;
    line-height: 1.7;
}

/* ============================================================
   PAGE HERO (inner pages — photo background or dark fallback)
   ============================================================ */
.page-hero {
    position: relative;
    min-height: 440px;
    background-color: var(--grey-900);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 3px solid var(--green);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 100%);
    z-index: 1;
}

.page-hero__content {
    position: relative;
    z-index: 2;
    padding: 3rem 0;
    width: 100%;
}

.page-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.page-hero__breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color var(--transition);
}

.page-hero__breadcrumb a:hover { color: var(--white); }

.page-hero__breadcrumb i {
    font-size: 0.6rem;
    color: var(--green);
}

.page-hero__breadcrumb span:last-child { color: var(--white); }

.page-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
    .page-hero { min-height: 320px; }
    .page-hero__title { font-size: 2rem; }
    .page-hero__content { padding: 2rem 0; }
}

@media (max-width: 480px) {
    .page-hero { min-height: 260px; }
    .page-hero__title { font-size: 1.75rem; }
}

/* ============================================================
   SERVICES PAGE — alternating image / text rows
   ============================================================ */
.services-full {
    padding: 5rem 0;
    background: var(--white);
}

.services-full__rows {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Each service row: 50/50 image + text */
.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "img text";
    min-height: 460px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--grey-100);
    box-shadow: var(--shadow-sm);
    background: var(--white);
    transition: box-shadow var(--transition), border-color var(--transition);
    scroll-margin-top: 140px;
}

.service-row:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(114,182,38,0.35);
}

/* Even rows: flip image to the right */
.service-row:nth-child(even) {
    grid-template-areas: "text img";
    background: var(--grey-50);
}

/* ---- Image panel ---- */
.service-row__img {
    grid-area: img;
    overflow: hidden;
    background: var(--grey-800);
    position: relative;
}

.service-row__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.service-row:hover .service-row__img img {
    transform: scale(1.04);
}

/* ---- Text panel ---- */
.service-row__text {
    grid-area: text;
    padding: 3rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

/* Numbered label: ——— 01 */
.service-row__num {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.85rem;
}

.service-row__num::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--green);
    flex-shrink: 0;
}

.service-row__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
    color: var(--black);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    transition: color var(--transition);
}

.service-row:hover .service-row__title {
    color: var(--green-dark);
}

.service-row__features {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 2rem;
}

.service-row__features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--grey-600);
    font-weight: 500;
    line-height: 1.4;
}

.service-row__features li i {
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: var(--green-pale);
    color: var(--green);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    flex-shrink: 0;
    transition: background var(--transition), color var(--transition);
}

.service-row:hover .service-row__features li i {
    background: var(--green);
    color: var(--white);
}

/* ---- Responsive ---- */
/* Tablet: single column, image top */
@media (max-width: 900px) {
    .service-row,
    .service-row:nth-child(even) {
        grid-template-columns: 1fr;
        grid-template-areas: "img" "text";
        min-height: auto;
    }

    .service-row__img {
        height: 300px;
    }

    .service-row__text {
        padding: 2.5rem 2.5rem;
    }
}

@media (max-width: 480px) {
    .services-full__rows {
        gap: 1.5rem;
    }

    .service-row__img {
        height: 240px;
    }

    .service-row__text {
        padding: 2rem 1.5rem;
    }

    .service-row__title {
        font-size: 1.4rem;
    }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
    background: var(--white);
}

.contact-section__grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {}

.contact-info__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
}

.contact-info__body {
    font-size: 0.95rem;
    color: var(--grey-500);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--grey-50);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    border: 1px solid var(--grey-100);
    transition: all var(--transition);
}

.contact-card:hover {
    border-color: var(--green);
    background: var(--green-pale);
}

.contact-card__icon {
    width: 46px;
    height: 46px;
    background: var(--green);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-green);
}

.contact-card__body {}
.contact-card__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--grey-400);
    margin-bottom: 0.2rem;
}
.contact-card__value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--black);
}
.contact-card__value a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}
.contact-card__value a:hover { color: var(--green); }

/* Contact Form */
.contact-form-wrap {
    background: var(--grey-50);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 1px solid var(--grey-100);
}

.contact-form-wrap__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.contact-form-wrap__subtitle {
    font-size: 0.9rem;
    color: var(--grey-500);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.form-group:last-of-type { margin-bottom: 0; }

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--grey-700);
    letter-spacing: 0.02em;
}

.form-label .required {
    color: var(--green);
    margin-left: 0.2rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    color: var(--black);
    background: var(--white);
    border: 1.5px solid var(--grey-200);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    outline: none;
    line-height: 1.5;
}

.form-control:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(114,182,38,0.15);
}

.form-control::placeholder { color: var(--grey-300); }

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 2px solid var(--grey-300);
    border-radius: 4px;
    cursor: pointer;
    accent-color: var(--green);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.form-check-label {
    font-size: 0.85rem;
    color: var(--grey-500);
    line-height: 1.5;
}
.form-check-label a { color: var(--green); }

.form-submit {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1rem;
}

/* Alert Messages */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.alert--success {
    background: #f0fce6;
    color: #2d6a0a;
    border: 1px solid #b8e87a;
}

.alert--error {
    background: #fff0f0;
    color: #9a1a1a;
    border: 1px solid #f5b8b8;
}

/* ============================================================
   MAP
   ============================================================ */
.map-section {
    height: 420px;
    background: var(--grey-800);
    position: relative;
    overflow: hidden;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%) contrast(1.1);
}

/* ============================================================
   PROCESS / HOW IT WORKS
   ============================================================ */
.process {
    background: var(--white);
}

.process__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}

.process__steps::before {
    content: '';
    position: absolute;
    top: 1.8rem;
    left: calc(12.5% + 1rem);
    right: calc(12.5% + 1rem);
    height: 2px;
    background: linear-gradient(to right, var(--green), var(--green-light));
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-step__num {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: var(--green);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: var(--shadow-green);
    position: relative;
    z-index: 2;
}

.process-step__title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.process-step__desc {
    font-size: 0.85rem;
    color: var(--grey-400);
    line-height: 1.65;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .about__grid {
        gap: 3rem;
    }

    .process__steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .process__steps::before { display: none; }

    .services-preview__grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* Tablet Portrait (≤768px) */
@media (max-width: 768px) {
    :root {
        --topbar-h: 0px;
    }

    .top-bar { display: none; }

    .site-header { height: var(--header-h); }

    .site-nav { display: none; }
    .hamburger { display: flex; }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about__badge {
        bottom: 1rem;
        right: 1rem;
    }

    .stats-bar__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3) { border-top: 1px solid var(--grey-800); }
    .stat-item:nth-child(4) { border-right: none; border-top: 1px solid var(--grey-800); }

    .cta-section__inner {
        flex-direction: column;
        text-align: center;
    }
    .cta-section__subtitle { margin: 0 auto; }

    .contact-section__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .form-row { grid-template-columns: 1fr; }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero__arrow { display: none; }
    .hero__scroll { display: none; }

    .services-preview__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .about__extra {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about__extra-visual { order: -1; }

    .community__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .community-gallery__grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }

    .ealing-feature__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Mobile (≤480px) */
@media (max-width: 480px) {
    .section { padding: 3.5rem 0; }
    .section--lg { padding: 4.5rem 0; }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .hero__actions .btn { width: 100%; justify-content: center; }

    .stats-bar__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form-wrap { padding: 1.5rem; }

    .services-preview__grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .service-card {
        aspect-ratio: 3 / 2;
    }

    .page-banner { padding: 3rem 0 2.5rem; }

    .process__steps {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.05); }
}

.animate-fade-up {
    opacity: 0;
    animation: fadeInUp 0.7s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* Intersection Observer reveal */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ============================================================
   IMAGE PLACEHOLDER FALLBACKS
   Shown while real images are loading or not yet added.
   Replace with real images in assets/images/
   ============================================================ */

/* Hero slides — visible if hero-1/2/3.jpg not yet present */
.hero__slide--1 { background-color: #1a2a0e; }
.hero__slide--2 { background-color: #0f1f18; }
.hero__slide--3 { background-color: #12200c; }

/* About section placeholder */
.about__img-wrap {
    background: linear-gradient(135deg, var(--grey-700) 0%, var(--grey-900) 100%);
}

/* Service row image placeholders */
.service-row__img { background: var(--grey-800); }

/* Individual service placeholder colours */
article#extensions         .service-row__img { background: linear-gradient(135deg, #1a2e10, #2d4a1a); }
article#new-builds         .service-row__img { background: linear-gradient(135deg, #101a24, #1a2d3e); }
article#loft-conversions   .service-row__img { background: linear-gradient(135deg, #1e1a10, #35300c); }
article#renovations        .service-row__img { background: linear-gradient(135deg, #1a1218, #2e1e28); }
article#roofing            .service-row__img { background: linear-gradient(135deg, #101a0e, #1e2e1a); }
article#kitchens-bathrooms .service-row__img { background: linear-gradient(135deg, #0e1a22, #162430); }
article#plastering         .service-row__img { background: linear-gradient(135deg, #1c1c10, #2e2e14); }
article#flooring           .service-row__img { background: linear-gradient(135deg, #18140e, #2a2014); }

/* ============================================================
   HOME QUICK CONTACT
   ============================================================ */
.home-contact {
    background: var(--white);
}

.home-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
    align-items: center;
}

/* --- Left info panel --- */
.home-contact .section__label {
    color: var(--green);
}

.home-contact__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--black);
    margin: 0.75rem 0 1.25rem;
}

.home-contact__subtitle {
    font-size: 1rem;
    color: var(--grey-500);
    line-height: 1.75;
    max-width: 380px;
    margin-bottom: 2.5rem;
}

.home-contact__details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.home-contact__detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--grey-700);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition);
}

.home-contact__detail-item:hover {
    color: var(--green);
}

.home-contact__detail-icon {
    width: 42px;
    height: 42px;
    background: var(--green-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: all var(--transition);
}

.home-contact__detail-item:hover .home-contact__detail-icon {
    background: var(--green);
    color: var(--white);
}

/* --- Right form panel --- */
.home-contact__form-wrap {
    background: var(--grey-50);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 1px solid var(--grey-100);
}

/* Alert messages */
.hc-message {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hc-message i { font-size: 1rem; flex-shrink: 0; margin-top: 0.05rem; }

.hc-message--success {
    background: #f0fce6;
    color: #2d6a0a;
    border: 1px solid #b8e87a;
}

.hc-message--error {
    background: #fff0f0;
    color: #9a1a1a;
    border: 1px solid #f5b8b8;
}

/* Form fields */
.hc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.hc-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.hc-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--grey-700);
    letter-spacing: 0.02em;
}

.hc-label span {
    color: var(--green);
    margin-left: 0.15rem;
}

.hc-input {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--black);
    background: var(--white);
    border: 1.5px solid var(--grey-200);
    border-radius: var(--radius-md);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    line-height: 1.5;
}

.hc-input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(114,182,38,0.14);
}

.hc-input::placeholder { color: var(--grey-300); }

textarea.hc-input {
    resize: vertical;
    min-height: 110px;
}

.hc-submit {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1rem;
    margin-top: 0.25rem;
}

.hc-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Responsive */
@media (max-width: 900px) {
    .home-contact__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .home-contact__subtitle { max-width: 100%; }
}

@media (max-width: 480px) {
    .home-contact__form-wrap { padding: 1.5rem; }

    .hc-row { grid-template-columns: 1fr; }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
    .top-bar, .site-header, .hero__arrow,
    .hero__controls, .hero__scroll,
    .scroll-top, .hamburger,
    .mobile-nav-overlay { display: none !important; }

    body { color: #000; background: #fff; font-size: 12pt; }
    a { color: #000; text-decoration: underline; }

    .hero {
        height: auto;
        background: none !important;
    }
    .hero__content {
        position: static;
        color: #000;
    }
    .hero__title,
    .hero__subtitle { color: #000 !important; }

    .section { padding: 1.5rem 0; }
    .cta-section { background: #eee !important; }
    .cta-section * { color: #000 !important; }
    .site-footer { background: #eee !important; }
    .site-footer * { color: #000 !important; }
}



/* Google Rating ****/
.google-rating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 6px solid #4fce6a;
    padding: 0 7px 5px 7px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 100000;
}
.google-rating .google-logo {
    width: 30px;
    height: 30px;
}
.google-rating .g-title {
    font-size: 14px;
    line-height: 1em !important;
}
.rating-value{
    font-size: 18px;
    line-height: 1em !important;
    color: #e7711b;
}
.stars {
    line-height: 1em;
}
.stars svg {
    width: 15px;
    height: 15px;
    margin: 0;
    padding: 0;
    line-height: 1em;
}

.google-reviews {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 368px;
    height: 100%;
    background-color: #fff;
    z-index: 1000000;
}

.hide {
    display: none !important;
}

.show {
    display: block !important;
}

.reviews-head {
    padding: 20px;
    position: relative;
}

.reviews-head .cancel-button {
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.reviews-head .cancel-button svg {
    width: 30px;
    height: 30px;
}

.reviews-body {
    width: 100%;
    height: 90%;
    background-color: #f5f5f5;
    padding: 30px 20px 50px 20px;
    overflow-y: scroll;
}

.review-item {
    margin-bottom: 20px;
    display: flex;
}

.review-item .profile-icon {
    width: 50px;
    height: 50px;
}
.review-item .name {
    display: block;
    color: #0ea5e9;
    line-height: 1em;
}
.review-item .date {
    display: block;
    font-size: 15px;
    font-style: italic;
}

.review-item .text {
    font-size: 14px;
    line-height: 1.4em;
    margin-top: 5px;
}

.ps-2 {
    padding-left: 0.5rem !important;
}

.d-flex {
    display: flex !important;
}

.align-items-center {
    align-items: center !important;
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials {
    background: var(--grey-900);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.testimonials__heading {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--white);
    text-align: center;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .testimonials__grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

.testimonial-card__logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--grey-100);
    flex-shrink: 0;
}

.testimonial-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card__stars {
    display: flex;
    gap: 0.2rem;
    color: #F5A623;
    font-size: 1.1rem;
}

.testimonial-card__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--grey-900);
    line-height: 1.4;
}

.testimonial-card__excerpt {
    font-size: 0.9rem;
    color: var(--grey-500);
    line-height: 1.65;
    flex: 1;
}

.testimonial-card__name {
    font-size: 0.8rem;
    color: var(--grey-400);
    font-style: italic;
    margin-top: auto;
}

/* ============================================================
   DARK BACKGROUND — auto-applied when admin picks a dark colour
   ============================================================ */
.section--dark-bg .section__title,
.section--dark-bg .about__title,
.section--dark-bg .about__extra-title,
.section--dark-bg .testimonials__heading {
    color: #fff !important;
}
.section--dark-bg .section__subtitle,
.section--dark-bg .about__body,
.section--dark-bg .about__extra-body,
.section--dark-bg .about__list li,
.section--dark-bg .ealing-feature__body,
.section--dark-bg .community__body {
    color: rgba(255,255,255,0.82) !important;
}
.section--dark-bg .section__label,
.section--dark-bg .about__label {
    color: rgba(255,255,255,0.65) !important;
}
.section--dark-bg .about__list li::before,
.section--dark-bg .about__list li i {
    background: rgba(255,255,255,0.18) !important;
    color: #fff !important;
}
.section--dark-bg .about__badge {
    background: rgba(255,255,255,0.12) !important;
    border-color: rgba(255,255,255,0.25) !important;
}
.section--dark-bg .about__badge-num,
.section--dark-bg .about__badge-text {
    color: #fff !important;
}
/* Service cards keep their own light background — no change needed */

/* ============================================================
   CONTACT SECTION — BACKGROUND IMAGE VARIANT
   ============================================================ */
.home-contact--has-bg .section__label {
    color: rgba(255,255,255,0.75);
}
.home-contact--has-bg .home-contact__title {
    color: #fff;
}
.home-contact--has-bg .home-contact__subtitle {
    color: rgba(255,255,255,0.80);
}
.home-contact--has-bg .home-contact__detail-item {
    color: rgba(255,255,255,0.85);
}
.home-contact--has-bg .home-contact__detail-item:hover {
    color: #fff;
}
.home-contact--has-bg .home-contact__detail-icon {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.20);
}
.home-contact--has-bg .home-contact__detail-item:hover .home-contact__detail-icon {
    background: var(--green);
    border-color: var(--green);
}
.home-contact--has-bg .home-contact__form-wrap {
    background: #fff;
}