/* Swift Earthworks — preview styles */
:root {
    --green:  #8DC734;
    --green-dk: #6D9A2D;
    --orange: #EC6739;
    --black:  #000000;
    --white:  #ffffff;
    --grey-50:  #fafaf8;
    --grey-100: #f3f3ef;
    --grey-200: #e7e7e1;
    --grey-700: #2c2c2c;
    --grey-900: #111111;
    --maxw: 1240px;
    --pad-x: clamp(1rem, 4vw, 3rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--grey-900);
    background: var(--white);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--green-dk); }

h1, h2, h3, h4 {
    font-family: 'Oswald', 'Work Sans', sans-serif;
    line-height: 1.05;
    margin: 0 0 .5em;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: 0; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1em; }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }

/* ----- HEADER ----- */
.site-header {
    position: sticky; top: 0; z-index: 9999;
    background: var(--black);
    border-bottom: 2px solid var(--green);
}
.site-header .wrap {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem;
    padding-block: 0.25rem;
}
.site-header .logo img {
    height: 112px; width: auto;
    display: block;
}
.site-header nav {
    display: flex; align-items: center;
    gap: clamp(0.4rem, 1.6vw, 2rem);
}
.site-header nav a {
    color: var(--green);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    transition: opacity .15s ease;
}
.site-header nav a:hover { opacity: 0.75; }

/* Nav dropdown (FAQ section jumps) */
.site-header .nav-dropdown {
    position: relative;
    display: inline-flex; align-items: center;
}
.site-header .nav-dropdown > a::after {
    content: "";
    display: inline-block;
    width: 0; height: 0;
    margin-left: 0.4rem;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid currentColor;
    vertical-align: middle;
    transition: transform .2s ease;
}
.site-header .nav-dropdown:hover > a::after,
.site-header .nav-dropdown:focus-within > a::after { transform: rotate(180deg); }
.site-header .nav-dropdown-menu {
    position: absolute;
    top: 100%; right: 50%; transform: translateX(50%);
    list-style: none;
    margin: 0; padding: 0.4rem 0;
    background: var(--white);
    border: 2px solid var(--green);
    border-radius: 6px;
    min-width: 280px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .15s ease, visibility .15s ease, transform .15s ease;
    z-index: 60;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.site-header .nav-dropdown:hover .nav-dropdown-menu,
.site-header .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1; visibility: visible; pointer-events: auto;
}
.site-header .nav-dropdown-menu li { margin: 0; }
.site-header .nav-dropdown-menu a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--black);
    text-transform: none;
    letter-spacing: 0.01em;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.site-header .nav-dropdown-menu a:hover { background: rgba(141,199,52,.18); opacity: 1; color: var(--black); }

.site-header .socials { display: flex; gap: 0.4rem; }
.site-header .socials a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    color: var(--green);
    transition: opacity .15s ease;
}
.site-header .socials a:hover { opacity: 0.75; }
.site-header .socials svg { width: 30px; height: 30px; fill: currentColor; }

/* Hamburger button — hidden on desktop, shown on mobile */
.menu-toggle-input { display: none; }
.menu-toggle {
    display: none;
    cursor: pointer;
    color: var(--green);
    padding: 0.4rem;
    align-items: center;
    background: transparent;
    border: none;
}
.menu-toggle svg {
    width: 32px; height: 32px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
}
.menu-toggle .menu-icon-x { display: none; }
.menu-toggle-input:checked + .menu-toggle .menu-icon-bars { display: none; }
.menu-toggle-input:checked + .menu-toggle .menu-icon-x { display: block; }

@media (max-width: 720px) {
    .menu-toggle { display: inline-flex; }
    .site-header .wrap { position: relative; gap: 0.5rem; }
    .site-header .logo img { height: 84px; }

    /* Nav becomes a collapsible drawer below the header */
    .site-header nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--black);
        border-bottom: 2px solid var(--green);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease, padding .25s ease;
    }
    .menu-toggle-input:checked ~ nav {
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        padding: 0.4rem 0;
    }
    /* Drawer items */
    .site-header nav > a,
    .site-header .nav-dropdown,
    .site-header .nav-dropdown > a {
        display: block;
        width: 100%;
    }
    .site-header nav > a,
    .site-header .nav-dropdown > a {
        padding: 0.85rem 1.5rem;
        font-size: 1.1rem;
    }
    /* Hide the FAQ subdropdown on mobile — FAQ link goes to the page directly */
    .site-header .nav-dropdown-menu { display: none; }
    .site-header .nav-dropdown > a::after { display: none; }
    /* Socials sit at the bottom of the drawer in a row */
    .site-header .socials {
        padding: 1rem 1.5rem 0.6rem;
        gap: 0.8rem;
        justify-content: flex-start;
    }
    .site-header .socials a { width: 40px; height: 40px; }
    .site-header .socials svg { width: 28px; height: 28px; }
}

/* ----- HERO ----- */
.hero {
    position: relative;
    color: var(--white);
    text-align: center;
    background:
        linear-gradient(rgba(0,0,0,.30), rgba(0,0,0,.30)),
        url('images/truck-background.jpg') center/cover no-repeat;
    min-height: clamp(560px, 78vh, 720px);
    display: flex; align-items: stretch; justify-content: center;
    padding: clamp(1.5rem, 4vw, 2.75rem) var(--pad-x) clamp(2rem, 5vw, 3.5rem);
    border-bottom: 2px solid var(--green);
}
@media (max-width: 720px) {
    .hero {
        background:
            linear-gradient(rgba(0,0,0,.30), rgba(0,0,0,.30)),
            url('images/truck-angled.png') center/cover no-repeat;
    }
    .hero .tagline .desktop-only { display: none; }
}
.hero .inner {
    max-width: 880px; position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center;
    width: 100%;
}
.hero h1 {
    color: var(--white);
    margin-bottom: .35em;
    text-shadow:
        0 0 18px rgba(0,0,0,1),
        0 0 36px rgba(0,0,0,.95),
        0 0 70px rgba(0,0,0,.9),
        0 0 120px rgba(0,0,0,.75),
        0 0 200px rgba(0,0,0,.55),
        0 2px 4px rgba(0,0,0,.7);
}
.hero p.tagline {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    max-width: 960px; margin: 0 auto 1.8em;
    font-weight: 500;
    text-shadow:
        0 0 10px rgba(0,0,0,1),
        0 0 20px rgba(0,0,0,1),
        0 0 36px rgba(0,0,0,1),
        0 0 60px rgba(0,0,0,.95),
        0 0 100px rgba(0,0,0,.85),
        0 0 160px rgba(0,0,0,.65),
        0 0 220px rgba(0,0,0,.45),
        0 1px 3px rgba(0,0,0,.85);
}
.hero .btns {
    display: inline-flex; gap: 2.5rem;
    flex-wrap: wrap; justify-content: center; align-items: center;
    margin-top: auto;
}
.hero .btns .sep {
    width: 1px; height: 32px;
    background: rgba(255,255,255,.4);
    display: inline-block;
}
@media (max-width: 540px) {
    .hero .btns { gap: 1rem; }
    .hero .btns .sep { display: none; }
}

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.9rem 1.6rem;
    font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
    border-radius: 6px;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .12s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-primary:hover { background: var(--green-dk); border-color: var(--green-dk); }
.btn-outline { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-outline:hover { background: var(--green-dk); border-color: var(--green-dk); }
.btn-dark { background: var(--grey-900); color: var(--white); }
.btn-dark:hover { background: #000; }
.btn .btn-icon { width: 18px; height: 18px; fill: currentColor; margin-right: 0.5rem; }

/* ----- MARQUEE STRIP (3 stacked rows: black / white / black) ----- */
.marquee-strip { display: flex; flex-direction: column; }
.marquee {
    overflow: hidden;
    border-bottom: 2px solid var(--green);
}
.marquee-dark  { background: var(--black); color: var(--white); }
.marquee-light { background: var(--white); color: var(--black); }
.marquee .track {
    display: flex; gap: 3rem;
    width: max-content;
    animation: marquee-scroll 36s linear infinite;
    padding-block: 0.8rem;
}
.marquee.right .track { animation-name: marquee-scroll-right; animation-duration: 40s; }
.marquee .track > span {
    flex: 0 0 auto;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: clamp(0.9rem, 1.3vw, 1.05rem);
}
.marquee-dark  .track > span.dot { color: var(--green); }
.marquee-light .track > span.dot { color: var(--green); }
@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes marquee-scroll-right {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}
.marquee:hover .track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } }

/* ----- SERVICES ----- */
#services {
    position: relative;
    scroll-margin-top: 130px;
    background: #EEF7E0;
}
#services .section-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    letter-spacing: 0;
}
.services-heading-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.6rem, 1.8vw, 1.5rem);
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.services-heading-row .section-title { margin: 0; line-height: 1; white-space: nowrap; }
.services-icon {
    height: clamp(2.4rem, 5vw, 4rem);
    width: auto;
    flex-shrink: 0;
}
/* Small screens — scale heading + icons down so the row stays one line to ~380px */
@media (max-width: 540px) {
    #services .section-title { font-size: clamp(1.7rem, 7vw, 2.6rem); }
    .services-heading-row { gap: 0.5rem; }
    .services-icon { height: clamp(1.5rem, 6vw, 2.4rem); }
}

.section-title { text-align: center; margin-bottom: 0.4em; }
.section-sub { text-align: center; color: #555; margin: 0 auto 2.5rem; max-width: 620px; }

.services-grid {
    display: flex; flex-wrap: wrap; gap: 1.25rem;
    justify-content: center;
}
.service-card {
    background: var(--grey-50);
    border: 2px solid var(--green);
    border-radius: 10px;
    overflow: hidden;
    display: flex; flex-direction: column;
    flex: 0 1 calc((100% - 1.25rem) / 2);
    min-width: 280px;
}
@media (max-width: 600px) { .service-card { flex: 1 1 100%; } }
.service-card .banner {
    width: 100%; aspect-ratio: 4 / 3; overflow: hidden;
    background: var(--grey-200);
}
.service-card .banner img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .35s ease;
}
/* Match the raw phone-camera PNGs to the polished-looking JPGs (concrete-removal, rubbish-removal). */
.service-card .banner img[src$=".png"] {
    filter: saturate(1.25) contrast(1.10) brightness(1.02);
}
.service-card:hover .banner img { transform: scale(1.04); }
.service-card .body {
    padding: 1.5rem 1.5rem 1.75rem;
    display: flex; flex-direction: column; gap: 0.6rem;
    flex: 1;
}
/* Legacy circle-icon style (still used on About "Why" cards) */
.service-card .ico {
    width: 56px; height: 56px;
    background: rgba(0,0,0,.06);
    color: var(--black);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
}
.service-card .ico svg { width: 28px; height: 28px; fill: currentColor; }
.service-card h3 { color: var(--grey-900); margin-bottom: 0.25rem; }
.service-card > h3 {
    padding: 1.25rem 1.5rem 0;
    margin: 0;
}

/* DESKTOP: details always expanded, Read more button hidden. Keep visual identical to before. */
.card-details > summary { display: none; }
.card-details > *:not(summary) { display: block; }
.card-details > summary::-webkit-details-marker { display: none; }
.card-details p { margin: 0; }

/* DESKTOP order: banner -> body (which contains H3-out-of-body is between them).
   Use flex order so banner sits above H3 above body. */
@media (min-width: 721px) {
    .service-card > .banner { order: 1; }
    .service-card > h3 { order: 2; padding-top: 1.25rem; padding-bottom: 0; }
    .service-card > .body { order: 3; padding-top: 0.5rem; }
}

/* MOBILE: H3 sits ABOVE the banner. Read more button visible. Description collapsed by default. */
@media (max-width: 720px) {
    .service-card > h3 { order: 1; padding: 1.25rem 1.5rem 0.5rem; font-size: 1.35rem; }
    .service-card > .banner { order: 2; }
    .service-card > .body { order: 3; padding-top: 0.75rem; }
    .card-details > summary {
        display: inline-block;
        cursor: pointer;
        padding: 0.5rem 0.9rem;
        background: var(--green);
        color: var(--white);
        border-radius: 6px;
        font-weight: 700;
        font-size: 0.9rem;
        letter-spacing: 0.01em;
        list-style: none;
        align-self: flex-start;
        user-select: none;
    }
    .card-details > summary::after { content: " +"; }
    .card-details[open] > summary::after { content: " \2013"; }
    .card-details > *:not(summary) {
        display: none;
    }
    .card-details[open] > *:not(summary) {
        display: block;
        margin-top: 0.75rem;
    }
}
.service-card p { margin: 0; }
.service-card .body a { font-weight: 700; color: var(--black); text-decoration: none; border-bottom: 2px solid var(--green); align-self: flex-start; }
.service-card .body a:hover { color: var(--green-dk); }
.service-card .card-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
    align-items: flex-start;
}
@media (max-width: 720px) {
    .service-card .card-links {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 1rem;
    }
}
/* Backwards compat for any service cards still using padded layout (About Why grid) */
.why-grid .service-card { padding: 2rem 1.75rem; flex: unset; }

/* Tight-access band (now black to match the mainly-black theme) */
.band-green {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding-block: clamp(2.6rem, 5vw, 4rem);
    border-top: 4px solid var(--green);
    border-bottom: 4px solid var(--green);
}
.band-green h2 { color: var(--white); margin-bottom: .35em; }
.band-green p { max-width: 720px; margin: 0 auto; font-size: 1.1rem; opacity: 0.96; }
.band-green a.btn { margin-top: 1.5rem; }

/* ----- RECENT WORKS (black section) ----- */
.works {
    background: var(--black);
    color: var(--white);
}
.works .section-title,
.works .job h3 { color: var(--white); }
.works .section-sub { color: #b9b9b6; }
.works .job { margin-block: 2.5rem; }
.works .job h3 { margin-bottom: 1rem; }
.works .ba-pair .label { color: var(--green); }

/* When the CTA band follows the works section, match its background and tighten the spacing */
.section.works { padding-top: 1rem; padding-bottom: 2rem; }
.section.works .job:first-child { margin-top: 0; }
.section.works + .cta-band {
    background: var(--black);
    padding-top: 1rem;
}

.gallery {
    display: grid; gap: 0.9rem;
    grid-template-columns: repeat(4, 1fr);
}
.gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery.cols-1 { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
@media (max-width: 900px) {
    .gallery, .gallery.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
/* Mobile galleries become a horizontal swipe / scroll strip with snap */
@media (max-width: 720px) {
    .gallery,
    .gallery.cols-2,
    .gallery.cols-3 {
        display: flex;
        grid-template-columns: none;
        gap: 0.6rem;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 0.6rem;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.6rem;
        scrollbar-width: thin;
        scrollbar-color: var(--green) transparent;
    }
    .gallery img {
        flex: 0 0 85%;
        max-width: 85%;
        scroll-snap-align: center;
        aspect-ratio: 4/3;
        object-fit: cover;
    }
    .gallery::-webkit-scrollbar { height: 6px; }
    .gallery::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }
}
.gallery img {
    border-radius: 8px;
    aspect-ratio: 4/3;
    object-fit: cover;
    border: 2px solid var(--green);
    transition: transform .25s ease, box-shadow .25s ease;
}
.gallery img:hover { transform: scale(1.01); box-shadow: 0 10px 30px rgba(0,0,0,.12); }

.ba-pair {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
/* Mobile: ba-pair becomes a horizontal swipe strip like the gallery, with full-size images */
@media (max-width: 720px) {
    .ba-pair {
        display: flex;
        grid-template-columns: none;
        gap: 0.6rem;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 0.6rem;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.6rem;
        scrollbar-width: thin;
        scrollbar-color: var(--green) transparent;
    }
    .ba-pair > div {
        flex: 0 0 85%;
        max-width: 85%;
        scroll-snap-align: center;
    }
    .ba-pair img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
    /* Reserve equal heading height (2 lines) so both images start at the same Y */
    .ba-pair h3 {
        min-height: 3.2rem;
        display: flex;
        align-items: flex-end;
    }
    .ba-pair::-webkit-scrollbar { height: 6px; }
    .ba-pair::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }

    /* Animated "swipe to see after" hint below each pair */
    .job:has(> .ba-pair)::after {
        content: "Swipe to see after \2192";
        display: block;
        text-align: center;
        color: var(--green);
        font-weight: 700;
        font-size: 0.85rem;
        margin-top: 0.4rem;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        animation: swipe-hint 1.6s ease-in-out infinite;
    }
    @keyframes swipe-hint {
        0%, 100% { transform: translateX(0); }
        50% { transform: translateX(8px); }
    }
}
.ba-pair .label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--black);
    margin-bottom: .5rem;
}
.ba-pair img {
    border-radius: 8px;
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
    border: 2px solid var(--green);
}

/* ----- FAQ ----- */
.faq-container { max-width: 920px; }
.faq-jump {
    max-width: 480px;
    margin: 1.5rem auto 0;
    text-align: center;
}
.faq-jump select {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--white);
    color: var(--grey-900);
    border: 2px solid var(--green);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238DC734'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 22px;
    padding-right: 2.5rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.faq-jump select:focus {
    outline: none;
    border-color: var(--green-dk);
    box-shadow: 0 0 0 3px rgba(141,199,52,.20);
}
.visually-hidden {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.faq-section-title {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    border-bottom: 2px solid var(--green);
    padding-bottom: 0.4rem;
    scroll-margin-top: 130px;
}
.faq-section-title:first-of-type { margin-top: 0; }
.faq-list { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.5rem; }
.faq-list details {
    background: var(--white);
    border: 2px solid var(--green);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow .15s ease;
}
.faq-list details[open] { box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.faq-list summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--grey-900);
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem;
    user-select: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: "+";
    flex-shrink: 0;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1;
    color: var(--green);
    transition: transform .2s ease;
}
.faq-list details[open] summary::after { content: "\2013"; }
.faq-list summary:hover { background: rgba(141,199,52,.06); }
.faq-list .faq-answer {
    padding: 0 1.25rem 1.1rem;
    color: var(--grey-700);
    border-top: 1px solid rgba(141,199,52,.4);
    margin-top: 0;
}
.faq-list .faq-answer p { margin: 1rem 0 0; line-height: 1.6; }
.faq-list .faq-answer a { color: var(--grey-900); font-weight: 600; border-bottom: 2px solid var(--green); text-decoration: none; }
.faq-list .faq-answer a:hover { color: var(--green-dk); }

/* ----- ABOUT + FAQ pastel-green page background ----- */
body.about-page,
body.faq-page { background: #EEF7E0; }
body.about-page .service-card { background: var(--white); }

.about-hero {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding-block: clamp(3.5rem, 7vw, 5.5rem);
    border-bottom: 4px solid var(--green);
}
.about-hero h1 { color: var(--white); margin: 0; }

/* Works page — pastel-green hero block with black text */
body.works-page .about-hero { background: #EEF7E0; }
body.works-page .about-hero h1,
body.works-page .about-hero .hero-sub { color: var(--black); }

/* Recent Works heading with an icon either side */
.works-heading-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.6rem, 2vw, 1.75rem);
}
.works-heading-row h1 { margin: 0; line-height: 1; white-space: nowrap; }
.works-icon {
    height: clamp(2.6rem, 6vw, 4.5rem);
    width: auto;
    flex-shrink: 0;
}
/* Small screens — scale heading + icons down so "Recent Works" stays one line to ~380px */
@media (max-width: 540px) {
    body.works-page .about-hero h1 { font-size: clamp(1.7rem, 7vw, 3rem); }
    .works-heading-row { gap: 0.5rem; }
    .works-icon { height: clamp(1.5rem, 6vw, 2.4rem); }
}
.about-hero .hero-sub {
    color: var(--white);
    max-width: 900px;
    margin: 1rem auto 0;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.01em;
    opacity: 0.92;
}

.two-col {
    display: grid; gap: clamp(1.5rem, 4vw, 3rem);
    grid-template-columns: 5fr 7fr;
    align-items: center;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.two-col img { border-radius: 10px; }
.about-images { display: flex; flex-direction: column; gap: 1rem; }
.about-images img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 2px solid var(--green);
    border-radius: 10px;
    display: block;
}

/* About section — grid layout that rearranges on mobile */
.about-layout {
    display: grid;
    gap: clamp(1.25rem, 3vw, 2rem);
    grid-template-columns: 5fr 7fr;
    grid-template-areas:
        "imgtop heading"
        "imgtop article"
        "imgbot article";
    align-items: start;
}
.about-heading  { grid-area: heading; }
.about-img-top  { grid-area: imgtop; }
.about-article  { grid-area: article; }
.about-img-bottom { grid-area: imgbot; }
.about-layout img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 2px solid var(--green);
    border-radius: 10px;
    display: block;
}

@media (max-width: 720px) {
    .about-layout {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "heading imgtop"
            "article article"
            "imgbot  imgbot";
        gap: 1rem;
        align-items: center;
    }
    .about-layout .about-heading {
        font-size: 1.4rem;
        line-height: 1.15;
        margin: 0;
    }
}

.why-grid {
    display: grid; gap: 1.25rem;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 2rem;
}
@media (max-width: 720px) {
    .why-grid { gap: 0.5rem; }
    .why-grid .service-card { padding: 1rem 0.7rem; }
    .why-grid .service-card h3 { font-size: 1rem; line-height: 1.15; }
    .why-grid .service-card p { font-size: 0.85rem; line-height: 1.4; }
    .why-grid .service-card .ico { width: 42px; height: 42px; margin-bottom: 0.5rem; }
    .why-grid .service-card .ico svg { width: 22px; height: 22px; }
}

.cta-band {
    background: var(--grey-900);
    color: var(--white);
    text-align: center;
    padding-block: clamp(2.5rem, 5vw, 4rem);
}
.cta-band h2 { color: var(--white); }
/* CTA heading: forced 2-line break on mobile/tablet, single line on desktop */
@media (min-width: 1025px) { .cta-break { display: none; } }

/* ----- CONTACT ----- */
.contact-grid {
    display: grid; gap: clamp(1.5rem, 4vw, 2.5rem);
    grid-template-columns: 7fr 5fr;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

form.contact-form .row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem;
}
@media (max-width: 700px) { form.contact-form .row { grid-template-columns: 1fr; } }
form.contact-form label {
    display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem; color: var(--grey-700);
}
form.contact-form input,
form.contact-form select,
form.contact-form textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 2px solid var(--green);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--white);
    transition: border-color .15s ease, box-shadow .15s ease;
}
form.contact-form input:focus,
form.contact-form select:focus,
form.contact-form textarea:focus {
    outline: none;
    border-color: var(--green-dk);
    box-shadow: 0 0 0 3px rgba(141,199,52,.20);
}
form.contact-form .field { margin-bottom: 1rem; }
form.contact-form button {
    background: var(--green); color: var(--white);
    border: 2px solid var(--green);
    padding: 0.9rem 1.6rem;
    font-weight: 700; border-radius: 6px;
    cursor: pointer; font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: transform .12s ease, background-color .15s ease, border-color .15s ease;
}
form.contact-form button:hover { background: var(--green-dk); border-color: var(--green-dk); transform: translateY(-1px); }
.form-status {
    margin: 1rem 0 0;
    font-weight: 600;
    font-size: 0.95rem;
}
.form-status.is-sending { color: var(--grey-700); }
.form-status.is-ok { color: var(--green-dk); }
.form-status.is-err { color: #c0392b; }

/* ----- CONTACT PAGE WATERMARK ----- */
body.contact-page { position: relative; }
body.contact-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url('images/tyre.jpg') center/cover no-repeat;
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}
body.contact-page > * { position: relative; z-index: 1; }
body.contact-page > .site-header { z-index: 9999; }

/* White glow on contact-page text that sits outside any boxed card */
body.contact-page .section-title {
    text-shadow:
        0 0 14px rgba(255,255,255,1),
        0 0 28px rgba(255,255,255,.85),
        0 0 60px rgba(255,255,255,.55);
}
body.contact-page form.contact-form label {
    text-shadow:
        0 0 10px rgba(255,255,255,1),
        0 0 22px rgba(255,255,255,.7);
}

.details-card {
    background: var(--grey-50);
    border: 2px solid var(--green);
    border-radius: 10px;
    padding: 2rem 1.75rem;
}
.details-card h2 { font-size: 1.85rem; margin-bottom: 1.4rem; }
.details-card ul { list-style: none; padding: 0; margin: 0 0 2rem; }
.details-card li {
    display: flex; align-items: flex-start; gap: 1rem;
    padding-block: 0.85rem;
    color: var(--grey-700);
    font-size: 1.1rem;
    line-height: 1.45;
}
.details-card li svg { width: 26px; height: 26px; fill: var(--black); flex-shrink: 0; margin-top: 2px; }
.details-card a { color: var(--grey-900); text-decoration: none; font-weight: 600; font-size: 1.1rem; }
.details-card a:hover { color: var(--green-dk); text-decoration: underline; }
.details-card h4 { font-size: 1.15rem; }
.details-card .socials { display: flex; gap: 0.7rem; margin-top: 0.6rem; }
.details-card .socials a { color: var(--black); display: inline-flex; transition: color .15s ease; }
.details-card .socials a:hover { color: var(--green-dk); }
.details-card .socials svg { width: 40px; height: 40px; fill: currentColor; }

/* ----- FOOTER ----- */
.site-footer {
    background: var(--black);
    color: #cfcfcc;
    padding-block: 3rem 1.5rem;
    border-top: 2px solid var(--green);
}
.site-footer .footer-logo {
    display: flex; align-items: flex-start; justify-content: flex-start;
}
.site-footer .footer-logo img { height: 110px; width: auto; }
.site-footer h4 { color: var(--green); font-size: 1rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.06em; }
.site-footer .cols {
    display: grid; gap: 2rem;
    grid-template-columns: auto repeat(3, 1fr);
    align-items: start;
    margin-bottom: 2rem;
}
/* Up to 890px the footer is a 2x2 grid: logo + Swift Earthworks on top, Get in touch + Follow below */
@media (max-width: 890px) {
    .site-footer .cols {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    .site-footer .footer-logo { justify-content: center; }
    /* Enlarge the logo to fill its cell next to the taller text blocks */
    .site-footer .footer-logo img { height: auto; width: 100%; max-width: 240px; }
}
.site-footer a { color: #cfcfcc; text-decoration: none; }
.site-footer a:hover { color: var(--green); text-decoration: underline; }
.site-footer p { margin: 0 0 0.5rem; font-size: 0.95rem; }
.site-footer .socials { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
@media (max-width: 890px) { .site-footer .socials { justify-content: center; } }
.site-footer .socials a { color: var(--green); display: inline-flex; transition: opacity .15s ease; }
.site-footer .socials a:hover { opacity: 0.75; }
.site-footer .socials svg { width: 30px; height: 30px; fill: currentColor; }
.site-footer .copyright {
    border-top: 1px solid #222;
    padding-top: 1.25rem;
    font-size: 0.85rem;
    text-align: center;
    color: #888;
}
