/* =========================================
       VARIABLES
    ========================================= */

:root {
    --primary: #0b6b4f;
    --primary-dark: #074b39;
    --primary-light: #e9f5f0;
    --accent: #f5b942;

    --dark: #12221c;
    --text: #405049;
    --muted: #68756f;

    --light: #f5f8f6;
    --white: #ffffff;
    --border: #dce7e1;

    --max-width: 1180px;

    --radius: 12px;
    --shadow: 0 10px 30px rgba(7, 75, 57, 0.08);
}


/* =========================================
       RESET
    ========================================= */

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

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

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.65;
    color: var(--text);
    background: var(--white);

    overflow-x: hidden;
}

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

a {
    color: inherit;
}

button {
    font: inherit;
}


/* =========================================
       GLOBAL
    ========================================= */

.container {
    width: min(92%, var(--max-width));
    margin-inline: auto;
}

section {
    padding: 70px 0;
}

.section-header {
    max-width: 760px;
    margin-bottom: 35px;
}

.eyebrow {
    display: inline-block;

    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1px;

    margin-bottom: 12px;
}

h1,
h2,
h3,
h4 {
    color: var(--dark);
}

h1 {
    font-size: clamp(2.4rem, 10vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: -1.5px;
    margin-bottom: 22px;
}

h2 {
    font-size: clamp(2rem, 7vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.8px;
    margin-bottom: 16px;
}

h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 12px;
}

p {
    margin-bottom: 16px;
}

ul {
    padding-left: 20px;
}


/* =========================================
       SKIP LINK
    ========================================= */

.skip-link {
    position: absolute;
    left: -9999px;
    top: 10px;
}

.skip-link:focus {
    left: 10px;
    z-index: 9999;

    background: var(--dark);
    color: white;

    padding: 10px 15px;
    border-radius: 5px;
}


/* =========================================
       HEADER
    ========================================= */

header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid var(--border);
}

.nav {
    min-height: 68px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.logo {
    text-decoration: none;

    font-size: 1.45rem;
    font-weight: 900;

    color: var(--primary);

    white-space: nowrap;
}

.logo span {
    color: var(--accent);
}


/* Desktop nav */

nav ul {
    display: flex;

    list-style: none;

    gap: 25px;
    align-items: center;
}

nav a {
    text-decoration: none;

    font-weight: 700;
    color: var(--dark);
}

nav a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);

    color: white !important;

    padding: 10px 16px;

    border-radius: 7px;
}


/* Mobile menu button */

.menu-toggle {
    display: none;

    border: 0;
    background: transparent;

    cursor: pointer;

    width: 44px;
    height: 44px;

    border-radius: 8px;
}

.menu-toggle:hover {
    background: var(--light);
}

.menu-icon {
    width: 24px;
    height: 18px;

    margin: auto;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-icon span {
    display: block;

    width: 100%;
    height: 2px;

    background: var(--dark);

    border-radius: 2px;
}


/* =========================================
       HERO
    ========================================= */

.hero {
    background:
        linear-gradient(135deg,
            rgba(7, 75, 57, 0.98),
            rgba(11, 107, 79, 0.92));

    color: white;

    padding: 80px 0 75px;
}

.hero-content {
    max-width: 850px;
}

.hero .eyebrow {
    color: var(--accent);
}

.hero h1 {
    color: white;
}

.hero p {
    max-width: 720px;

    font-size: clamp(1rem, 4vw, 1.2rem);

    color: #edf7f2;

    margin-bottom: 28px;
}


/* =========================================
       BUTTONS
    ========================================= */

.buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 13px 20px;

    border-radius: 8px;

    text-decoration: none;

    font-weight: 800;

    text-align: center;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--accent);
    color: var(--dark);
}

.button-secondary {
    border: 1px solid rgba(255, 255, 255, .55);
    color: white;
}


/* =========================================
       SERVICES
    ========================================= */

.services-section {
    background: var(--light);
}

.service-group {
    margin-top: 65px;
}

.service-group:first-of-type {
    margin-top: 0;
}

.service-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.service-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 25px;

    box-shadow: var(--shadow);

    height: 100%;
}

.service-card h3 {
    color: var(--dark);
}

.service-card ul {
    margin-top: 15px;
}

.service-card li {
    margin-bottom: 8px;
}

.service-card strong {
    color: var(--primary);
}

.service-cta {
    margin-top: 20px;
}


/* =========================================
       ABOUT
    ========================================= */

.two-column {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 60px;

    align-items: center;
}

.check-list {
    list-style: none;

    padding: 0;

    margin-top: 25px;
}

.check-list li {
    position: relative;

    padding: 9px 0 9px 28px;
}

.check-list li::before {
    content: "✓";

    position: absolute;

    left: 0;

    color: var(--primary);

    font-weight: 900;
}

.visual {
    min-height: 360px;

    border-radius: 18px;

    background:
        linear-gradient(135deg,
            #dcefe7,
            #f7d990);

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--dark);

    text-align: center;

    padding: 35px;
}

.visual strong {
    display: block;

    font-size: clamp(1.5rem, 5vw, 2.2rem);

    line-height: 1.2;

    margin-bottom: 12px;
}


/* =========================================
       INDUSTRIES
    ========================================= */

.industry-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 14px;
}

.industry {
    padding: 20px 15px;

    background: var(--light);

    border-radius: 9px;

    font-weight: 700;

    color: var(--dark);

    text-align: center;
}


/* =========================================
       PROCESS
    ========================================= */

.process {
    background: var(--light);
}

.process-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 18px;
}

.process-step {
    background: white;

    padding: 25px;

    border-radius: 10px;

    border: 1px solid var(--border);
}

.step-number {
    color: var(--primary);

    font-size: 1.8rem;

    font-weight: 900;

    margin-bottom: 8px;
}


/* =========================================
       LOCATIONS
    ========================================= */

.locations {
    background: var(--dark);

    color: white;
}

.locations h2 {
    color: white;
}

.locations .section-header p {
    color: #d9e6e0;
}

.location-links {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    margin-top: 25px;
}

.location-links a {
    border: 1px solid rgba(255, 255, 255, .25);

    border-radius: 7px;

    padding: 13px 15px;

    text-decoration: none;

    text-align: center;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.location-links a:hover {
    background: rgba(255, 255, 255, .08);

    border-color: rgba(255, 255, 255, .5);
}


/* =========================================
       FAQ
    ========================================= */

.faq {
    max-width: 850px;
}

details {
    border-bottom: 1px solid var(--border);

    padding: 20px 0;
}

summary {
    cursor: pointer;

    color: var(--dark);

    font-size: 1rem;

    font-weight: 800;

    padding-right: 30px;
}

details p {
    margin-top: 12px;
    margin-bottom: 0;
}


/* =========================================
       CTA
    ========================================= */

.cta {
    background: var(--primary);

    color: white;

    text-align: center;
}

.cta h2 {
    color: white;
}

.cta p {
    max-width: 650px;

    margin: 0 auto 25px;

    color: #edf7f2;
}

.cta .buttons {
    justify-content: center;
}


/* =========================================
       FOOTER
    ========================================= */

footer {
    background: #09130f;

    color: #cbd8d2;

    padding: 50px 0 25px;
}

.footer-grid {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 35px;

    margin-bottom: 35px;
}

footer h3,
footer h4 {
    color: white;

    margin-bottom: 15px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer li {
    margin: 8px 0;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    color: var(--accent);
}

.copyright {
    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, .12);

    font-size: .9rem;
}


/* =========================================
       TABLET
    ========================================= */

@media (max-width: 900px) {

    section {
        padding: 65px 0;
    }

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

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

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

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

    .two-column {
        gap: 40px;
    }
}


/* =========================================
       MOBILE NAVIGATION
    ========================================= */

@media (max-width: 700px) {

    .nav {
        min-height: 64px;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    nav {
        position: absolute;

        top: 64px;
        left: 0;
        right: 0;

        background: white;

        border-bottom: 1px solid var(--border);

        box-shadow: 0 12px 25px rgba(0, 0, 0, .08);

        display: none;
    }

    nav.active {
        display: block;
    }

    nav ul {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 10px 4%;
    }

    nav li {
        border-bottom: 1px solid var(--border);
    }

    nav li:last-child {
        border-bottom: 0;
    }

    nav a {
        display: block;

        padding: 14px 5px;
    }

    .nav-cta {
        margin: 8px 0 5px;

        text-align: center;
    }


    /* Mobile hero */

    .hero {
        padding: 65px 0 60px;
    }

    h1 {
        font-size: clamp(2.25rem, 12vw, 3.5rem);
    }

    .hero p {
        font-size: 1rem;
    }

    .buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }


    /* Mobile columns */

    .two-column {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .visual {
        min-height: 280px;
    }


    /* Mobile services */

    .service-grid,
    .process-grid,
    .industry-grid {
        grid-template-columns: 1fr;
    }

    .service-group {
        margin-top: 50px;
    }


    /* Mobile locations */

    .location-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    /* Footer */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }
}


/* =========================================
       SMALL PHONES
    ========================================= */

@media (max-width: 420px) {

    .container {
        width: min(90%, 1180px);
    }

    section {
        padding: 55px 0;
    }

    .hero {
        padding: 55px 0;
    }

    .service-card {
        padding: 22px 19px;
    }

    .location-links {
        grid-template-columns: 1fr;
    }

    .visual {
        min-height: 240px;

        padding: 25px;
    }

    .section-header {
        margin-bottom: 28px;
    }
}


/* =========================================
       ACCESSIBILITY
    ========================================= */

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}


/* =========================================
       REDUCED MOTION
    ========================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}