
/* ================= GOOGLE FONT ================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');


/* ================= ROOT VARIABLES ================= */
:root {
    --ink: #0c2119;
    --green: #245d30;
    --lime: #70b82f;
    --pale: #f4f4f1;
    --line: #c8d0c8;
}


/* ================= GLOBAL STYLES ================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
}

body {
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background: #f5f5f2;
    font-size: 14px;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

.wrap {
    width: min(1500px, calc(100% - 24px));
    margin: auto;
}

.section {
    padding: 76px 0;
}


/* ================= HEADER & NAVIGATION ================= */
.header {
    height: 76px;
    position: sticky;
    top: 0;
    z-index: 50;
    background: #061a14;
    color: #f7f8f5;
    border-bottom: 1px solid #33453b;
}

.nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.25;
    white-space: nowrap;
}

.brand img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}

.brand small {
    font-size: 10px;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(13px, 2.3vw, 34px);
    font-size: 12px;
}

.nav-link {
    color: #e2e8e3;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: #9cce54;
}

.nav-quote {
    border: 1px solid var(--lime);
    border-radius: 4px;
    padding: 12px 17px;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
}


/* ================= HERO SECTION ================= */
.hero {
    height: 600px;
    position: relative;
    overflow: hidden;
    background: #071a15;
    color: #fff;
}

.hero-photo,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-photo {
    background: url('/images/hero-industrial.jpg') center 44% / cover no-repeat;
}

.hero-shade {
    background:
        linear-gradient(
            90deg,
            rgba(2, 17, 12, .99) 0%,
            rgba(2, 17, 12, .94) 25%,
            rgba(2, 17, 12, .65) 47%,
            rgba(2, 17, 12, .06) 83%
        ),
        linear-gradient(
            0deg,
            rgba(2, 17, 12, .82),
            transparent 35%
        );
}

.hero-inner {
    height: calc(100% - 64px);
    position: relative;
    display: flex;
    align-items: center;
}

.hero-copy {
    max-width: 565px;
    padding-top: 12px;
}

.eyebrow {
    display: block;
    color: #4e8c2b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    margin-bottom: 9px;
}

.hero .eyebrow {
    color: #8acb44;
    font-size: 12px;
}

.hero h1 {
    font-size: clamp(38px, 4.6vw, 64px);
    line-height: 1.06;
    letter-spacing: -1.8px;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-copy p {
    max-width: 475px;
    color: #e0e5e1;
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 27px;
}

.actions {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 0 25px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2px;
    cursor: pointer;
    border: 1px solid transparent;
}

.lime {
    background: #69ad2c;
    color: #fff;
}

.outline {
    border-color: #6aa932;
    color: #fff;
    background: rgba(5, 20, 15, .35);
}

.hero-bottom {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 58px;
    border-top: 1px solid #b6bcb6;
    display: flex;
    align-items: center;
    gap: 28px;
    color: #e3e7e3;
    font-size: 11px;
}

.hero-bottom b {
    height: 24px;
    width: 1px;
    background: #72933f;
}

.hero-bottom strong {
    margin-left: auto;
    color: #8bc63e;
    font-size: 14px;
    font-weight: 500;
}


/* ================= ABOUT SECTION ================= */
.about {
    background: #f7f7f4;
}

.about-intro {
    display: grid;
    grid-template-columns: 35% 1fr;
    gap: 30px;
    min-height: 265px;
}

.side-label {
    font-size: 12px;
    font-weight: 700;
    color: #39762c;
    padding-top: 8px;
}

.side-label span {
    display: inline-block;
    width: 18px;
    height: 2px;
    background: #548c30;
    vertical-align: middle;
    margin-right: 12px;
}

.about-intro h2,
.section-title h2,
.industries h2,
.project-head h2,
.contact h2 {
    font-size: clamp(28px, 3.1vw, 42px);
    line-height: 1.15;
    letter-spacing: -1.2px;
    font-weight: 700;
}

.about-intro p {
    font-size: 13px;
    line-height: 1.5;
    margin-top: 17px;
    max-width: 760px;
    color: #26352d;
}

.about-intro p + p {
    margin-top: 15px;
}


/* ================= KEY FEATURES ================= */
.feature-heading {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #39762c;
    font-size: 12px;
    font-weight: 700;
    margin: 4px 0 12px;
}

.feature-heading i {
    height: 1px;
    background: #a7b5a6;
    flex: 1;
}

.features {
    display: grid;
    grid-template-columns: 1.05fr 1.25fr 1fr 1fr;
    grid-template-rows: 135px 135px;
    gap: 8px;
}

.features > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    grid-row: span 2;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 5px;
    color: white;
}

.feature-card b {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.feature-card small {
    font-size: 11px;
    display: block;
    margin-top: 3px;
}

.feature-icon {
    width: 55px;
    height: 55px;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 25px;
    flex-shrink: 0;
    color: #a0cf40;
}

.dark {
    background: #062c1c;
}

.green {
    background: #4c8a25;
}

.pale {
    background: #dce4c8;
    color: #10251b;
}

.pale .feature-icon {
    color: #243e2c;
}

.charcoal {
    background: #282d2c;
}


/* ================= SERVICES SECTION ================= */
.services {
    background: #f7f7f4;
}

.section-title {
    border-bottom: 1px solid #a9b7aa;
    padding-bottom: 13px;
    margin-bottom: 14px;
}

.section-title h2 {
    font-size: clamp(30px, 3.3vw, 43px);
}

.section-title p {
    font-size: 13px;
    margin-top: 10px;
    color: #26352d;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
}

.service-grid article {
    display: grid;
    grid-template-columns: 42px minmax(150px, 1fr) 44%;
    align-items: center;
    gap: 12px;
    min-height: 140px;
    border-bottom: 1px solid #aab6aa;
    padding: 10px 0;
}

.service-grid article:nth-child(odd) {
    padding-right: 16px;
    border-right: 1px solid #aab6aa;
}

.service-grid article:nth-child(even) {
    padding-left: 8px;
}

.num {
    color: #4c8b2d;
    font-size: 18px;
    font-weight: 600;
    align-self: start;
    padding-top: 9px;
}

.service-copy h3 {
    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;
}

.service-copy p {
    font-size: 11px;
    line-height: 1.5;
    color: #344239;
    margin-top: 6px;
}

.service-grid img {
    width: 100%;
    height: 112px;
    object-fit: cover;
    border-radius: 4px;
}


/* ================= INDUSTRIES SECTION ================= */
.industries {
    background: #f2f3ef;
}

.industries h2 {
    font-size: clamp(28px, 3vw, 40px);
}

.industry-lead {
    font-size: 12px;
    color: #38463d;
    margin: 10px 0 20px;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.industry-grid article {
    background: #101d18;
    color: #fff;
    overflow: hidden;
    border-radius: 4px;
}

.industry-grid img {
    width: 100%;
    height: 155px;
    object-fit: cover;
    display: block;
}

.industry-grid article div {
    padding: 16px 14px 20px;
    min-height: 118px;
}

.industry-grid h3 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 7px;
}

.industry-grid p {
    font-size: 10px;
    line-height: 1.45;
    color: #c7d0ca;
}



/* ================= PROJECTS SECTION ================= */

/* ==============================
   PROJECTS SECTION
============================== */

.projects-section {
    width: 100%;
    padding: 80px 0;
    background: #f4f4f1;
    overflow: hidden;
}

.projects-section .container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

/* Heading and arrows */

.projects-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.projects-heading {
    max-width: 650px;
}

.section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #70b82f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.projects-heading h2 {
    margin: 0 0 12px;
    color: #0c2119;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.15;
}

.projects-heading p {
    margin: 0;
    color: #66716b;
    font-size: 16px;
    line-height: 1.7;
}

/* Previous and next buttons */

.project-arrows {
    display: flex;
    flex-shrink: 0;
    gap: 10px;
}

.project-arrows button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid #245d30;
    border-radius: 50%;
    background: transparent;
    color: #245d30;
    font-size: 22px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.project-arrows button:hover {
    background: #245d30;
    color: #fff;
}

.project-arrows button:focus-visible,
.dots button:focus-visible {
    outline: 3px solid #70b82f;
    outline-offset: 3px;
}

/* Project cards grid */

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* Hide all cards unless active */

.project-card {
    display: none;
    min-width: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(12, 33, 25, 0.08);
}

.project-card.active {
    display: block;
}

/* Project image */

.project-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e7ebe6;
}

.project-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.07);
}

/* Project text */

.project-content {
    padding: 22px;
}

.project-category {
    display: inline-block;
    margin-bottom: 10px;
    color: #70b82f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.project-content h3 {
    margin: 0 0 10px;
    color: #0c2119;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}

.project-content p {
    margin: 0;
    color: #66716b;
    font-size: 14px;
    line-height: 1.7;
}

/* Navigation dots */

.dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c8d0c8;
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.dots button.active {
    width: 28px;
    border-radius: 10px;
    background: #245d30;
}

/* Responsive layout */

@media (max-width: 768px) {
    .projects-section {
        padding: 55px 0;
    }

    .projects-header {
        align-items: center;
    }

    .project-grid {
        gap: 12px;
    }

    .project-content {
        padding: 12px;
    }

    .project-content h3 {
        font-size: 15px;
    }

    .project-content p {
        font-size: 12px;
    }

    .project-category {
        font-size: 10px;
    }

    .project-arrows button {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .projects-section .container {
        width: 94%;
    }

    .projects-header {
        gap: 10px;
    }

    .projects-heading p {
        font-size: 13px;
    }

    .project-grid {
        gap: 8px;
    }

    .project-content {
        padding: 8px;
    }

    .project-content h3 {
        font-size: 12px;
    }

    .project-content p {
        font-size: 10px;
        line-height: 1.5;
    }

    .project-category {
        font-size: 9px;
        letter-spacing: 0.3px;
    }
}


/* ================= WHY CHOOSE US SECTION ================= */
.why {
    position: relative;
    background: #071911;
    color: #fff;
    overflow: hidden;
    min-height: 510px;
}

.why-image,
.why-overlay {
    position: absolute;
    inset: 0;
}

.why-image {
    background: url('/images/why-bg.jpg') center / cover no-repeat;
    opacity: .55;
}

.why-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(2, 18, 12, .98),
            rgba(2, 18, 12, .83) 54%,
            rgba(2, 18, 12, .25)
        ),
        linear-gradient(
            0deg,
            rgba(2, 18, 12, .9),
            transparent
        );
}

.why-content {
    position: relative;
    z-index: 1;
}

.why .eyebrow {
    color: #a1cf48;
}

.why h2 {
    font-size: clamp(31px, 3.5vw, 46px);
    line-height: 1.12;
    letter-spacing: -1.2px;
}

.why-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.why-points article {
    border-top: 1px solid #9ba99d;
    padding-top: 12px;
}

.why-points b {
    font-size: 10px;
    color: #a4d44d;
}

.why-points h3 {
    font-size: 13px;
    margin: 7px 0;
}

.why-points p {
    font-size: 11px;
    color: #d0d8d2;
}


/* ================= CONTACT SECTION ================= */
.contact {
    background: #f2f3ef;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
}

.contact-info {
    padding: 25px 10px;
}

.contact-info h2 {
    font-size: 34px;
    margin-bottom: 24px;
}

.contact-info p {
    font-size: 12px;
    color: #34443a;
    margin: 13px 0;
}

.contact-us {
    font-size: 50px !important;
    margin-top: 35px !important;
}


/* ================= CONTACT FORM ================= */
.contact-form {
    background: #f9faf7;
    border-radius: 12px;
    padding: 32px 36px;
    box-shadow: 0 8px 28px #10251b12;
}

.contact-form h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 22px;
}

.form-grid label {
    font-size: 10px;
    color: #334239;
}

.form-grid input,
.form-grid textarea {
    display: block;
    width: 100%;
    border: 0;
    border-bottom: 1px solid #b5c1b5;
    background: transparent;
    padding: 9px 0;
    outline: none;
    font-size: 12px;
    border-radius: 0;
}

.form-grid input:focus,
.form-grid textarea:focus {
    border-color: #538a2f;
}

.form-grid .full {
    grid-column: 1 / -1;
}

.contact-form .btn {
    margin-top: 18px;
}


/* ================= FOOTER ================= */
.footer {
    background: #06452e;
    color: #fff;
    padding: 40px 0 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 36px;
    padding-bottom: 35px;
}

.footer .brand {
    white-space: normal;
}

.footer-about p,
.footer-grid p {
    font-size: 11px;
    color: #d3e0d8;
    margin-top: 15px;
    max-width: 250px;
}

.footer-grid h3 {
    font-size: 12px;
    color: #a6d65c;
    margin-bottom: 13px;
}

.footer-grid > div:not(:first-child) a {
    font-size: 11px;
    color: #dbe5de;
    margin: 7px 0;
}

.copyright {
    border-top: 1px solid #477a61;
    padding-top: 12px;
    font-size: 9px;
    color: #d2e0d7;
}


/* ==========================================================
   RESPONSIVE DESIGN: TABLETS
   ========================================================== */
@media (max-width: 900px) {

    .wrap {
        width: calc(100% - 36px);
    }

    .nav-menu {
        gap: 12px;
        font-size: 10px;
    }

    .brand {
        font-size: 10px;
    }

    .brand img {
        width: 38px;
        height: 38px;
    }

    .nav-quote {
        padding: 9px;
    }

    .features {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 130px 130px 120px;
    }

    .features > img {
        grid-row: auto;
    }

    .features > img:nth-child(1),
    .features > img:nth-child(2) {
        grid-row: span 2;
    }

    .feature-card {
        padding: 12px;
        gap: 9px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .service-grid article {
        grid-template-columns: 36px minmax(120px, 1fr) 40%;
        gap: 8px;
    }

    .service-grid img {
        height: 95px;
    }

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

    .industry-grid img {
        height: 180px;
    }
}


/* ==========================================================
   RESPONSIVE DESIGN: MOBILE
   ========================================================== */
@media (max-width: 680px) {

    /* General layout */
    .wrap {
        width: calc(100% - 32px);
    }

    .header {
        height: 66px;
    }

    .nav {
        position: relative;
    }

    .brand {
        font-size: 10px;
    }

    .brand img {
        width: 36px;
        height: 36px;
    }


    /* Mobile navigation */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        border: 1px solid #506458;
        background: transparent;
        border-radius: 4px;
    }

    .menu-toggle i {
        height: 2px;
        width: 20px;
        background: #fff;
        display: block;
        margin: auto;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 65px;
        left: -16px;
        right: -16px;
        background: #061a14;
        padding: 18px 20px 22px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-top: 1px solid #35483c;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-link,
    .nav-quote {
        font-size: 12px;
        padding: 12px 4px;
    }

    .nav-quote {
        text-align: center;
        margin-top: 8px;
        border: 1px solid #70b82f;
    }


    /* Hero */
    .hero {
        height: 610px;
    }

    .hero-photo {
        background-position: 60% center;
    }

    .hero-shade {
        background:
            linear-gradient(
                90deg,
                rgba(2, 17, 12, .95),
                rgba(2, 17, 12, .63) 72%,
                rgba(2, 17, 12, .25)
            ),
            linear-gradient(
                0deg,
                rgba(2, 17, 12, .85),
                transparent 45%
            );
    }

    .hero-inner {
        height: calc(100% - 80px);
    }

    .hero-copy {
        padding-top: 0;
    }

    .hero h1 {
        font-size: 40px;
        letter-spacing: -1.3px;
    }

    .hero-copy p {
        font-size: 13px;
        max-width: 340px;
    }

    .actions {
        gap: 9px;
        flex-wrap: wrap;
    }

    .btn {
        padding: 0 15px;
        font-size: 10px;
    }

    .hero-bottom {
        height: 72px;
        gap: 8px;
        flex-wrap: wrap;
        align-content: center;
        font-size: 8px;
    }

    .hero-bottom b {
        height: 15px;
    }

    .hero-bottom strong {
        width: 100%;
        text-align: right;
        font-size: 11px;
    }


    /* Section spacing */
    .section {
        padding: 54px 0;
    }


    /* About */
    .about-intro {
        display: block;
        min-height: 0;
    }

    .side-label {
        margin-bottom: 20px;
    }

    .about-intro h2,
    .section-title h2,
    .industries h2 {
        font-size: 28px;
    }

    .about-intro p {
        font-size: 12px;
    }

    .feature-heading {
        margin-top: 30px;
    }

    .features {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 125px 125px 105px;
        gap: 6px;
    }

    .features > img:nth-child(1),
    .features > img:nth-child(2) {
        grid-row: span 1;
    }

    .feature-card {
        padding: 9px;
        gap: 8px;
    }

    .feature-icon {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .feature-card b {
        font-size: 10px;
    }

    .feature-card small {
        font-size: 8px;
    }


    /* Services */
    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-grid article,
    .service-grid article:nth-child(odd),
    .service-grid article:nth-child(even) {
        padding: 10px 0;
        border-right: 0;
        grid-template-columns: 40px minmax(100px, 1fr) 38%;
        min-height: 120px;
    }

    .service-grid img {
        height: 92px;
    }

    .service-copy h3 {
        font-size: 13px;
    }

    .service-copy p {
        font-size: 10px;
    }

    .section-title p {
        font-size: 11px;
    }

    .desktop {
        display: none;
    }


    /* Industries */
    .industry-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .industry-grid img {
        height: 125px;
    }

    .industry-grid article div {
        padding: 11px;
        min-height: 120px;
    }

    .industry-grid h3 {
        font-size: 11px;
    }

    .industry-grid p {
        font-size: 9px;
    }

    .industry-lead {
        font-size: 11px;
    }


    /* Projects */
    .project-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .project-grid article:not(:first-child) {
        display: none;
    }

    .project-grid img {
        height: 200px;
    }


    /* Why choose us */
    .why {
        min-height: 650px;
    }

    .why h2 {
        font-size: 30px;
    }

    .why-points {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 35px;
    }

    .why-points article {
        padding-top: 10px;
    }


    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-info {
        padding: 0;
    }

    .contact-info h2 {
        font-size: 29px;
    }

    .contact-us {
        font-size: 43px !important;
    }

    .contact-form {
        padding: 24px 20px;
    }

    .contact-form h2 {
        font-size: 21px;
    }

    .form-grid {
        gap: 13px;
    }


    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px 15px;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .footer-grid h3 {
        font-size: 11px;
    }

    .footer-grid > div:not(:first-child) a,
    .footer-grid p {
        font-size: 10px;
    }
}


/* ==========================================================
   SCREENSHOT-MATCHED LAYOUT REFINEMENTS
   ========================================================== */

:root {
    --ink: #10251b;
    --green: #174c2e;
    --lime: #82c83d;
    --pale: #f4f5f1;
}


/* Hero refinements */
.hero {
    height: min(780px, calc(100svh - 76px));
    min-height: 650px;
}

.hero-photo {
    background-position: center 48%;
}

.hero-copy {
    max-width: 650px;
}

.hero h1 {
    font-size: clamp(48px, 5.2vw, 76px);
    line-height: 1.05;
    letter-spacing: -2.3px;
}

.hero-copy p {
    font-size: 17px;
    max-width: 570px;
}


/* About refinements */
.about-intro {
    grid-template-columns: 34% 1fr;
    min-height: 275px;
    gap: 30px;
}

.about-intro h2 {
    font-size: clamp(34px, 3.4vw, 48px);
    line-height: 1.12;
}

.about-intro p {
    font-size: 15px;
    line-height: 1.5;
    max-width: 800px;
}

.features {
    grid-template-columns: 1fr 1.2fr .9fr .9fr;
    grid-template-rows: 136px 136px;
    gap: 8px;
}


/* Services refinements */
.services {
    padding-top: 76px;
    padding-bottom: 82px;
}

.section-title h2 {
    font-size: clamp(36px, 3.6vw, 50px);
    line-height: 1.08;
}

.section-title p {
    font-size: 14px;
    line-height: 1.5;
}

.service-grid {
    column-gap: 26px;
}

.service-grid article {
    min-height: 150px;
    grid-template-columns: 44px minmax(135px, 1fr) 45%;
    gap: 12px;
}

.service-grid img {
    height: 128px;
}

.service-copy h3 {
    font-size: 17px;
}

.service-copy p {
    font-size: 13px;
}


/* Industries refinements */
.industries {
    padding-top: 74px;
    padding-bottom: 78px;
}

.industries h2 {
    font-size: clamp(35px, 3.6vw, 49px);
    line-height: 1.08;
}

.industry-lead {
    font-size: 15px;
    max-width: 780px;
    margin: 12px 0 22px;
}

.industry-grid {
    gap: 4px;
}

.industry-grid img {
    height: clamp(210px, 22vw, 300px);
}

.industry-grid article div {
    padding: 17px 18px 22px;
    min-height: 132px;
}

.industry-grid h3 {
    font-size: 18px;
    line-height: 1.25;
}

.industry-grid p {
    font-size: 14px;
    line-height: 1.5;
}


/* Projects refinements */
.projects {
    padding-top: 74px;
    padding-bottom: 78px;
}

.project-head {
    margin-bottom: 26px;
}

.project-head h2 {
    font-size: 36px;
    font-weight: 500;
}

.project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.project-grid img {
    height: clamp(250px, 26vw, 340px);
    border-radius: 5px;
}

.project-grid small {
    font-size: 9px;
    margin: 12px 0 6px;
    border: 0;
    padding: 0;
    letter-spacing: 1px;
    font-weight: 600;
    color: #174c2e;
}

.project-grid h3 {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
}

.dots {
    margin-top: 32px;
    gap: 10px;
}

.dots i {
    width: 8px;
    height: 8px;
}


/* Why choose us refinements */
.why {
    min-height: 650px;
    padding-top: 58px;
    padding-bottom: 60px;
}

.why h2 {
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.13;
    letter-spacing: -1.5px;
}

.why-points {
    margin-top: 150px;
    gap: 38px;
}

.why-points h3 {
    font-size: 17px;
    font-weight: 500;
}

.why-points p {
    font-size: 14px;
    line-height: 1.55;
}


/* Contact refinements */
.contact {
    padding: 0;
    background: #f4f5f1;
}

.contact-grid {
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    min-height: 650px;
}

.contact-info {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 650px;
    padding: 50px clamp(28px, 5vw, 76px);
    color: #fff;
    background: #052b1d url('/images/contact-bg.webp') center / cover no-repeat;
}

.contact-info:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(1, 24, 16, .94),
        rgba(1, 24, 16, .45) 55%,
        rgba(1, 24, 16, .12)
    );
    z-index: -1;
}

.contact-info .eyebrow {
    color: #a4d64a;
    font-size: 12px;
}

.contact-info h2 {
    font-size: clamp(25px, 2vw, 34px);
    line-height: 1.3;
    font-weight: 500;
    margin: 0 0 10px;
    max-width: 560px;
}

.contact-info p {
    font-size: 15px;
    line-height: 1.5;
    color: #f0f3ef;
    margin: 5px 0;
}

.contact-info .contact-us {
    font-size: clamp(56px, 6vw, 88px) !important;
    line-height: 1 !important;
    font-weight: 500;
    margin-top: 26px !important;
    letter-spacing: -3px;
}

.contact-form {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 24px 0 0 24px;
    padding: clamp(32px, 4vw, 64px) clamp(28px, 3vw, 52px);
    box-shadow: none;
    background: #f7f8f5;
}

.contact-form .eyebrow {
    font-size: 12px;
    color: #174c2e;
}

.contact-form h2 {
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 38px;
    letter-spacing: -1.3px;
}

.form-grid {
    gap: 38px 28px;
}

.form-grid label {
    font-size: 14px;
    color: #1c3025;
}

.form-grid input,
.form-grid textarea {
    font-size: 14px;
    padding: 9px 0 10px;
}

.form-grid textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn {
    width: 140px;
    min-height: 52px;
    margin-top: 28px;
    font-size: 14px;
}


/* Footer refinements */
.footer {
    position: relative;
    isolation: isolate;
    padding: 55px 0 14px;
    background: #003b29 url('/images/footer-bg.jpg') center / cover no-repeat;
}

.footer:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 45, 31, .91);
    z-index: -1;
}

.footer-grid {
    grid-template-columns: 1.55fr .9fr 1fr 1.35fr;
    gap: 4%;
    padding: 10px 0 38px;
}

.footer-grid > div:not(:first-child) {
    border-left: 1px solid rgba(215, 230, 220, .45);
    padding-left: 28px;
}

.footer-grid h3 {
    font-size: 16px;
    color: #9bce4d;
    margin-bottom: 16px;
}

.footer-grid > div:not(:first-child) a,
.footer-grid p {
    font-size: 14px;
    line-height: 1.6;
    margin: 7px 0;
    color: #e0e9e3;
}

.footer-about p {
    font-size: 14px;
    max-width: 300px;
    line-height: 1.6;
}

.footer .brand {
    font-size: 18px;
    white-space: normal;
}

.footer .brand img {
    width: 76px;
    height: 76px;
}

.copyright {
    font-size: 12px;
    padding-top: 16px;
    color: #d6e3da;
}


/* ==========================================================
   RESPONSIVE REFINEMENTS: TABLETS
   ========================================================== */
@media (max-width: 900px) {

    .hero {
        height: 680px;
        min-height: 600px;
    }

    .hero h1 {
        font-size: clamp(42px, 6vw, 58px);
    }

    .about-intro {
        grid-template-columns: 28% 1fr;
    }

    .industry-grid img {
        height: 220px;
    }

    .industry-grid h3 {
        font-size: 15px;
    }

    .industry-grid p {
        font-size: 12px;
    }

    .contact-grid {
        min-height: 600px;
    }

    .contact-info {
        min-height: 600px;
        padding: 36px 28px;
    }

    .contact-form {
        padding: 34px 28px;
    }

    .footer-grid {
        gap: 20px;
    }

    .footer-grid > div:not(:first-child) {
        padding-left: 18px;
    }
}


/* ==========================================================
   RESPONSIVE REFINEMENTS: MOBILE
   ========================================================== */
@media (max-width: 680px) {

    /* Hero */
    .hero {
        height: 650px;
        min-height: 600px;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -1.4px;
    }

    .hero-copy p {
        font-size: 14px;
    }


    /* About */
    .about-intro {
        display: block;
        min-height: 0;
    }

    .about-intro h2 {
        font-size: 30px;
    }

    .about-intro p {
        font-size: 13px;
    }

    .features {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 125px 125px 105px;
    }


    /* Services */
    .services {
        padding-top: 55px;
        padding-bottom: 58px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .section-title p {
        font-size: 12px;
    }

    .service-grid article,
    .service-grid article:nth-child(odd),
    .service-grid article:nth-child(even) {
        grid-template-columns: 38px minmax(0, 1fr) 36%;
        min-height: 120px;
        gap: 8px;
    }

    .service-grid img {
        height: 92px;
    }

    .service-copy h3 {
        font-size: 13px;
    }

    .service-copy p {
        font-size: 10px;
    }


    /* Industries */
    .industries {
        padding: 55px 0;
    }

    .industries h2 {
        font-size: 29px;
    }

    .industry-lead {
        font-size: 12px;
    }

    .industry-grid {
        grid-template-columns: 1fr 1fr;
        gap: 7px;
    }

    .industry-grid img {
        height: 140px;
    }

    .industry-grid article div {
        padding: 11px;
        min-height: 120px;
    }

    .industry-grid h3 {
        font-size: 12px;
    }

    .industry-grid p {
        font-size: 10px;
    }


    /* Projects */
    .projects {
        padding: 55px 0;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .project-grid article:not(:first-child) {
        display: none;
    }

    .project-grid img {
        height: 210px;
    }

    .project-head h2 {
        font-size: 30px;
    }


    /* Why choose us */
    .why {
        min-height: 650px;
        padding: 55px 0;
    }

    .why h2 {
        font-size: 30px;
    }

    .why-points {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 45px;
    }

    .why-points h3 {
        font-size: 14px;
    }

    .why-points p {
        font-size: 12px;
    }


    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .contact-info {
        min-height: 430px;
        padding: 30px 22px;
    }

    .contact-info h2 {
        font-size: 26px;
    }

    .contact-info p {
        font-size: 13px;
    }

    .contact-info .contact-us {
        font-size: 60px !important;
    }

    .contact-form {
        border-radius: 22px 22px 0 0;
        margin-top: -14px;
        position: relative;
        padding: 35px 22px;
    }

    .contact-form h2 {
        font-size: 27px;
        margin-bottom: 25px;
    }

    .form-grid {
        gap: 20px 15px;
    }

    .form-grid label {
        font-size: 12px;
    }

    .form-grid input,
    .form-grid textarea {
        font-size: 12px;
    }


    /* Footer */
    .footer {
        padding-top: 38px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px 12px;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .footer-grid > div:not(:first-child) {
        border-left: 0;
        padding-left: 0;
    }

    .footer .brand {
        font-size: 15px;
    }

    .footer .brand img {
        width: 55px;
        height: 55px;
    }

    .footer-grid h3 {
        font-size: 13px;
    }

    .footer-grid > div:not(:first-child) a,
    .footer-grid p,
    .footer-about p {
        font-size: 11px;
    }

    .copyright {
        font-size: 10px;
    }
}


/* ==========================================================
   CONTACT & FOOTER CORRECTIONS
   Keep the photo exclusively in the contact information panel.
   ========================================================== */
.contact {
    background: #f4f5f1 !important;
    background-image: none !important;
}

.contact-grid {
    background: transparent !important;
}

.contact-form {
    background: #f9faf7 !important;
    background-image: none !important;
}

.footer {
    background: #003b29 !important;
    background-image: none !important;
    position: relative;
    isolation: isolate;
}

.footer:before {
    content: none !important;
    display: none !important;
}


/* Footer navigation arrows */
.footer-grid > div:nth-child(2) a:before,
.footer-grid > div:nth-child(3) a:before {
    content: "›";
    display: inline-block;
    color: #9bce4d;
    font-size: 19px;
    line-height: 0;
    vertical-align: -1px;
    margin-right: 12px;
    font-weight: 600;
}

.footer-grid > div:nth-child(2) a,
.footer-grid > div:nth-child(3) a {
    display: block;
}


/* ================= FOOTER MAP BUTTONS ================= */
.footer-map-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.footer-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 8px 12px;
    border: 1px solid #6da83b;
    border-radius: 6px;
    color: #f3f7f2 !important;
    font-size: 13px !important;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s ease, border-color .2s ease;
}

.footer-map-btn:hover {
    background: rgba(112, 184, 47, .13);
    border-color: #9bce4d;
}

.map-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 6px;
    background: #f5f7f4;
}

.map-icon svg {
    width: 29px;
    height: 29px;
    display: block;
}


/* Waze icon */
.map-icon.waze-icon {
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.map-icon.waze-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
    margin: 0;
}


/* Mobile map buttons */
@media (max-width: 680px) {

    .footer-map-buttons {
        gap: 8px;
    }

    .footer-map-btn {
        font-size: 11px !important;
        padding: 7px 9px;
        min-height: 42px;
    }

    .map-icon {
        width: 29px;
        height: 29px;
        flex-basis: 29px;
    }

    .map-icon svg {
        width: 25px;
        height: 25px;
    }
}


/* ==========================================================
   IMAGE HOVER ZOOM
   Subtle enlargement on desktop without affecting layout.
   ========================================================== */
main img {
    transition:
        transform .28s ease,
        filter .28s ease,
        box-shadow .28s ease;

    transform-origin: center;
}

main img:hover {
    transform: scale(1.055);
    filter: saturate(1.06);
    position: relative;
    z-index: 2;
    box-shadow: 0 12px 28px rgba(5, 30, 18, .20);
}


/* Prevent hover effects from disturbing nearby cards */
.features,
.service-grid article,
.industry-grid article,
.project-grid article {
    isolation: isolate;
}


/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {

    main img {
        transition: none;
    }

    main img:hover {
        transform: none;
    }
}


/* ==========================================================
   SUCCESS & ERROR MESSAGES
   Clear and accessible enquiry feedback messages.
   ========================================================== */
.form-alert {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0 0 20px;
    padding: 15px 17px;
    border: 1px solid transparent;
    border-left-width: 4px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.55;
    box-shadow: 0 5px 16px rgba(15, 40, 24, .06);
    animation: alert-enter .35s ease both;
}


/* Success message */
.form-alert.success {
    color: #185b36;
    background: #edf9f0;
    border-color: #b8e4c4;
    border-left-color: #26934e;
}

.form-alert.success::before {
    content: "✓  Message sent successfully";
    display: block;
    color: #176b39;
    font-size: 14px;
    font-weight: 700;
}


/* Error message */
.form-alert.error {
    color: #8a2929;
    background: #fff1f0;
    border-color: #f2c6c3;
    border-left-color: #d94343;
}

.form-alert.error > strong {
    color: #a52e2e;
    font-size: 14px;
}

.form-alert ul {
    margin: 2px 0 0;
    padding-left: 20px;
}

.form-alert li {
    margin: 3px 0;
}


/* Message animation */
@keyframes alert-enter {

    from {
        opacity: 0;
        transform: translateY(-7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* Mobile feedback messages */
@media (max-width: 680px) {

    .form-alert {
        padding: 12px 13px;
        font-size: 12px;
    }

    main img:hover {
        transform: scale(1.025);
    }

}

/* Full image popup background */
.image-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    justify-content: center;
    align-items: center;
    padding: 40px;
    cursor: zoom-out;
}

/* Show popup */
.image-lightbox.active {
    display: flex;
}

/* Full-size image */
.image-lightbox img {
    max-width: 95%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    cursor: default;
    animation: imageZoom 0.3s ease;
}

/* Close button */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    background: transparent;
    border: none;
    font-size: 42px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
}

.lightbox-close:hover {
    color: #70b82f;
}

/* Clickable image cursor */
main img {
    cursor: zoom-in;
}

@keyframes imageZoom {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .image-lightbox {
        padding: 15px;
    }

    .image-lightbox img {
        max-width: 100%;
        max-height: 85vh;
    }

    .lightbox-close {
        top: 12px;
        right: 18px;
        font-size: 36px;
    }
}