*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #f1f1f1;
    --black: #1c1c1c;
    --mid: #6b6b6b;
    --light: #d8d4ce;
    --white: #ffffff;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'DM Sans', sans-serif;
    /* Muted colour palette — steel blue + olive/moss */
    --clay: #5b7fa6; /* steel blue (primary accent) */
    --clay-light: #d6e3ef; /* pale steel blue tint */
    --clay-dark: #3a5a7a; /* deep steel blue */
    --sage: #7a8c5e; /* muted olive/moss */
    --sage-light: #dce4cc; /* pale olive tint */
    --slate: #a0b0c0; /* soft slate support */
    --slate-light: #e8edf2; /* near-white blue tint */
    --warm-bg: #f3f4f0; /* very subtle warm-cool off-white */
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--black);
    font-family: var(--sans);
    font-weight: 300;
    overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--clay);
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 4rem;
    background: rgba(241,241,241,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

    nav.scrolled {
        border-color: var(--light);
    }

.nav-logo {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--black);
}

    .nav-logo img {
        height: 75px;
    }

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

    .nav-links a {
        text-decoration: none;
        color: var(--black);
        font-size: 0.8rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        font-weight: 400;
        position: relative;
        transition: color 0.2s;
    }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -3px;
            left: 0;
            right: 0;
            height: 1px;
            background: var(--black);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
        }

        .nav-links a:hover::after {
            transform: scaleX(1);
        }

.nav-cta {
    background: var(--clay) !important;
    color: var(--white) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 0 !important;
    letter-spacing: 0.12em !important;
    font-size: 0.75rem !important;
    transition: background 0.2s !important;
}

    .nav-cta:hover {
        background: var(--clay-dark) !important;
    }

    .nav-cta::after {
        display: none !important;
    }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

    .hamburger span {
        width: 24px;
        height: 1.5px;
        background: var(--black);
        display: block;
        transition: 0.3s;
    }

.btn-primary {
    background: var(--clay);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
    font-family: var(--sans);
    transition: background 0.2s, transform 0.2s;
    display: inline-block;
    border: none;
    cursor: pointer;
    width: fit-content;
}

    .btn-primary:hover {
        background: var(--clay-dark);
        transform: translateY(-1px);
    }

.btn-secondary {
    color: var(--black);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 400;
    font-family: var(--sans);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--black);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

    .btn-secondary:hover {
        color: var(--mid);
        border-color: var(--mid);
    }


/* ── FOOTER ── */
footer {
    background: #1a2a38;
    color: var(--white);
    padding: 6rem 4rem 3rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 3rem;
}

.footer-brand .nav-logo {
    color: var(--white);
    font-size: 1.4rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.45);
    font-size: 0.88rem;
    line-height: 1.75;
    margin: 1.5rem 0 2rem;
    max-width: 300px;
}

.footer-cert {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cert-badge {
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.4rem 0.8rem;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

.footer-col h4 {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

    .footer-col a:hover {
        color: var(--white);
    }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.3);
    font-size: 0.78rem;
}

    .footer-bottom a {
        color: rgba(255,255,255,0.3);
        text-decoration: none;
    }

#chktrade_widget {
    margin: 0 !important;
}

/* ── LIGHTBOX OVERLAY ── */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

    .lightbox.open {
        display: flex;
    }

/* ── CLOSE BUTTON ── */
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    z-index: 1001;
    line-height: 1;
}

    .lightbox-close:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        border-color: rgba(255, 255, 255, 0.5);
    }

/* ── IMAGE WRAPPER ── */
.lightbox-img-wrap {
    position: relative;
    max-width: 1100px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: lightboxIn 0.25s ease both;
}

    /* ── IMAGE ITSELF ── */
    .lightbox-img-wrap img {
        display: block;
        max-width: 100%;
        max-height: 80vh;
        width: auto;
        height: auto;
        object-fit: contain;
        box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    }

    /* ── CAPTION ── */
    .lightbox-img-wrap p {
        margin-top: 1rem;
        color: rgba(255, 255, 255, 0.45);
        font-size: 0.75rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        text-align: center;
        font-family: 'DM Sans', sans-serif;
        font-weight: 300;
    }

/* ── ENTER ANIMATION ── */
@keyframes lightboxIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(12px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
    .lightbox {
        padding: 1rem;
        align-items: flex-end;
    }

    .lightbox-img-wrap {
        max-height: 85vh;
        width: 100%;
        animation: lightboxUp 0.3s ease both;
    }

        .lightbox-img-wrap img {
            max-height: 70vh;
            width: 100%;
            object-fit: contain;
        }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
    }
}

@keyframes lightboxUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── CTA BANNER ── */
.cta-banner {
    background: var(--clay-dark);
    color: var(--white);
    padding: 6rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

    .cta-banner h2 {
        color: var(--white);
        margin-bottom: 0.5rem;
    }

    .cta-banner p {
        color: rgba(255,255,255,0.7);
        font-size: 1rem;
        line-height: 1.7;
        max-width: 480px;
    }

.cta-banner-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.btn-white {
    background: var(--white);
    color: var(--black);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
    font-family: var(--sans);
    transition: background 0.2s;
    white-space: nowrap;
    display: inline-block;
}

    .btn-white:hover {
        background: var(--light);
    }

.cta-phone {
    color: rgba(255,255,255,0.5);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
}

    .cta-phone strong {
        color: var(--white);
        font-weight: 400;
    }


/* ── SECTION BASE ── */
section {
    padding: 8rem 4rem;
}

.section-tag {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--clay-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    .section-tag::before {
        content: '';
        width: 24px;
        height: 1px;
        background: var(--clay);
    }

h2 {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

    h2 em {
        font-style: italic;
        font-weight: 400;
        color: var(--mid);
    }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    nav {
        padding: 1.25rem 2rem;
    }

    section {
        padding: 6rem 2rem;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-right {
        height: 60vw;
    }

    .hero-left {
        padding: 3rem 2rem;
    }

    .services-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-featured {
        grid-template-columns: 1fr;
    }

    .about-body {
        grid-template-columns: 1fr;
    }

    .about-values {
        grid-template-columns: 1fr 1fr;
    }

    .about-team .team-grid {
        grid-template-columns: 1fr 1fr;
    }

    .faqs-layout {
        grid-template-columns: 1fr;
    }

    .faqs-sidebar {
        position: static;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .cta-banner {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    footer {
        padding: 2rem;
    }

    nav .nav-logo img {
        height: 45px;
    }

    .btn-primary, .btn-secondary {
        font-size: .5rem;
        padding: 1rem;
    }

    nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .hero-left {
        padding: 2rem 1.5rem 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .about-team .team-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .gallery-item.span-8 {
        grid-column: span 6;
    }

    .gallery-item.span-4 {
        grid-column: span 6;
    }

    .gallery-item.span-6 {
        grid-column: span 6;
    }

    .gallery-item.span-3 {
        grid-column: span 3;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .hero-stats {
        gap: 2rem;
        margin-top: 0;
        flex-wrap: wrap;
    }

    .cta-banner {
        padding: 4rem 1.5rem;
    }

    h2 {
        font-size: 2.2rem;
    }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp 0.7s ease both;
}

.fade-up-d1 {
    animation-delay: 0.1s;
}

.fade-up-d2 {
    animation-delay: 0.2s;
}

.fade-up-d3 {
    animation-delay: 0.35s;
}

.fade-up-d4 {
    animation-delay: 0.5s;
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

    .mobile-menu.open {
        display: flex;
    }

    .mobile-menu a {
        font-family: var(--serif);
        font-size: 2.5rem;
        font-weight: 700;
        text-decoration: none;
        color: var(--black);
        letter-spacing: -0.02em;
    }

.mobile-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}