:root {
    --bg: #f4f7f5;
    --surface: #ffffff;
    --ink: #12151a;
    --muted: #5f6875;
    --line: #d7ded9;
    --moss: #2f6b57;
    --moss-dark: #194638;
    --clay: #8c5a35;
    --amber: #d79a28;
    --steel: #3c4856;
    --danger: #b42318;
    --shadow: 0 18px 52px rgba(18, 21, 26, 0.13);
    --container: 1180px;
    --page-x: max(18px, calc((100vw - var(--container)) / 2));
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

main {
    overflow: clip;
}

a {
    color: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 74px;
    padding: 10px var(--page-x);
    background: rgba(250, 252, 250, 0.96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 28px rgba(18, 21, 26, 0.06);
    backdrop-filter: blur(14px);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    flex: 0 1 auto;
    text-decoration: none;
}

.site-brand-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    background: linear-gradient(135deg, var(--moss-dark), #24342c);
    color: var(--surface);
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0;
    box-shadow: inset 0 -4px 0 rgba(215, 154, 40, 0.82);
}

.site-brand strong,
.site-brand small {
    display: block;
}

.site-brand strong {
    color: #15191e;
    font-size: 0.98rem;
    line-height: 1.15;
}

.site-brand small {
    max-width: 34ch;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    flex-wrap: wrap;
    padding: 4px;
    border: 1px solid #dfe7e2;
    border-radius: 999px;
    background: #eef4f0;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    color: #20262e;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 750;
    font-size: 0.9rem;
}

.site-nav a:hover {
    background: #fff;
    box-shadow: 0 4px 14px rgba(18, 21, 26, 0.08);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--moss-dark);
    color: #fff;
    text-decoration: none;
    font-weight: 850;
    white-space: nowrap;
}

.header-cta:hover {
    background: var(--moss);
}

.nav-toggle {
    display: none;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 6px;
    color: var(--ink);
    font: inherit;
    font-weight: 750;
}

.onepage-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: calc(100svh - 74px);
    padding: 82px var(--page-x);
    color: #fff;
    background-image:
        linear-gradient(90deg, rgba(18, 21, 26, 0.84), rgba(18, 21, 26, 0.54) 48%, rgba(18, 21, 26, 0.10)),
        var(--hero-image);
    background-position: center right;
    background-size: cover;
}

.onepage-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    height: 10px;
    background: linear-gradient(90deg, var(--moss), var(--amber), var(--clay));
}

.hero-content {
    width: min(740px, 100%);
}

.eyebrow,
.section-kicker {
    margin: 0 0 12px;
    color: var(--amber);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    max-width: 11ch;
    font-size: 4.6rem;
    line-height: 0.98;
    letter-spacing: 0;
}

h2 {
    margin: 0;
    max-width: 13ch;
    font-size: 2.35rem;
    line-height: 1.08;
    letter-spacing: 0;
}

h3 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.25;
    letter-spacing: 0;
}

.hero-content > p:not(.eyebrow) {
    max-width: 66ch;
    margin: 22px 0 0;
    color: #eef4ef;
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--moss);
    background: var(--moss);
    color: var(--surface);
    border-radius: 6px;
    text-decoration: none;
    font: inherit;
    font-weight: 850;
    cursor: pointer;
}

.button:hover {
    background: var(--moss-dark);
    border-color: var(--moss-dark);
}

.button-ghost {
    border-color: rgba(255, 255, 255, 0.66);
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
}

.button-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #fff;
}

.button-dark {
    background: var(--ink);
    border-color: var(--ink);
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    max-width: 660px;
    margin: 38px 0 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
}

.hero-facts div {
    min-width: 0;
    padding: 8px 14px;
}

.hero-facts div + div {
    border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-facts dt {
    color: var(--amber);
    font-weight: 950;
}

.hero-facts dd {
    margin: 4px 0 0;
    color: #f8fbf9;
    font-weight: 800;
}

.intro-band {
    padding: 30px var(--page-x);
    background: var(--ink);
    color: var(--surface);
}

.intro-band p {
    max-width: 980px;
    margin: 0;
    font-size: 1.12rem;
}

.section-block {
    padding: 76px var(--page-x);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
    gap: 32px;
    align-items: end;
    margin-bottom: 30px;
}

.section-heading p,
.split-section p,
.contact-copy p {
    margin: 0;
    color: var(--muted);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.service-card,
.timeline article,
.content-block {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 12px 28px rgba(28, 38, 32, 0.06);
}

.service-card {
    display: grid;
    align-content: start;
    min-height: 248px;
    padding: 24px;
}

.service-card:hover,
.timeline article:hover {
    border-color: #b9cac0;
    box-shadow: 0 16px 34px rgba(28, 38, 32, 0.10);
}

.service-card span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 22px;
    border-radius: 8px;
    background: #f4c45a;
    color: #20170a;
    font-weight: 950;
}

.service-card p,
.timeline p,
.content-block p {
    margin: 12px 0 0;
    color: var(--muted);
}

.process-section {
    background: #eaf1ee;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.timeline article {
    position: relative;
    min-height: 220px;
    padding: 24px;
    border-top: 4px solid rgba(47, 107, 87, 0.18);
}

.timeline span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--moss);
    color: #fff;
    font-weight: 900;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(300px, 1fr);
    gap: 36px;
    align-items: start;
    background: var(--surface);
}

.split-section h2 {
    margin-bottom: 18px;
}

.capability-list {
    display: grid;
    gap: 12px;
}

.capability-list div {
    display: grid;
    grid-template-columns: minmax(140px, 0.42fr) minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
    border-left: 5px solid var(--moss);
    background: #f5f8f6;
}

.capability-list strong {
    color: var(--ink);
}

.capability-list span {
    color: var(--muted);
}

.area-section {
    background: #f8faf9;
}

.area-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.area-strip span {
    padding: 11px 14px;
    border: 1px solid #cfd9d3;
    border-radius: 999px;
    background: #fff;
    color: var(--steel);
    font-weight: 800;
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(300px, 1fr);
    gap: 34px;
    padding: 76px var(--page-x);
    background: var(--steel);
    color: #fff;
}

.contact-copy h2 {
    margin-bottom: 18px;
    color: #fff;
}

.contact-copy p {
    color: #e2e9e6;
}

.contact-direct {
    display: grid;
    gap: 8px;
    margin-top: 26px;
}

.contact-direct a {
    color: #fff;
    font-weight: 850;
    text-decoration: none;
}

.contact-direct a:hover {
    text-decoration: underline;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    box-shadow: var(--shadow);
}

label {
    display: grid;
    gap: 7px;
    color: #303842;
    font-weight: 760;
}

input,
textarea,
select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #c8d1cc;
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

textarea {
    resize: vertical;
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 650;
}

.check-row input {
    width: 18px;
    min-height: 18px;
    margin-top: 4px;
}

.honeypot {
    position: absolute;
    left: -10000px;
}

.page-hero {
    display: grid;
    align-items: center;
    min-height: 52vh;
    padding: 76px var(--page-x);
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.page-hero.compact {
    grid-template-columns: minmax(0, 760px);
}

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

.hero-copy h1 {
    color: var(--ink);
}

.hero-copy p:not(.eyebrow) {
    max-width: 68ch;
    margin: 22px 0 0;
    color: var(--muted);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 62px var(--page-x);
}

.content-block {
    padding: 28px;
}

.site-flash {
    margin: 16px var(--page-x) 0;
    padding: 12px 14px;
    border-radius: 6px;
    font-weight: 750;
}

.site-flash-success {
    background: #e4f4ed;
    color: var(--moss-dark);
}

.site-flash-error {
    background: #fde7e7;
    color: var(--danger);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    padding: 32px var(--page-x);
    background: #111418;
    color: #f6f8f7;
}

.site-footer p {
    margin: 6px 0 0;
    color: #c8d0cc;
}

.site-footer nav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-banner {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: min(520px, calc(100vw - 36px));
    margin: 0;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.cookie-banner p {
    margin: 0;
}

.system-page {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 24px;
}

.system-message {
    max-width: 780px;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

@media (max-width: 1080px) {
    .service-grid,
    .timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    h1 {
        font-size: 3.7rem;
    }
}

@media (max-width: 920px) {
    .site-header {
        align-items: center;
    }

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

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        gap: 6px;
        padding: 12px 18px 18px;
        background: #fff;
        border: 0;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
        box-shadow: 0 18px 26px rgba(18, 21, 26, 0.08);
    }

    .site-nav.is-open {
        display: grid;
    }

    .site-nav a {
        min-height: 42px;
        padding: 0 12px;
        border-radius: 6px;
        background: #f5f8f6;
    }

    .section-heading,
    .split-section,
    .contact-section,
    .content-grid {
        grid-template-columns: 1fr;
    }

    .onepage-hero {
        min-height: auto;
        padding-top: 64px;
        padding-bottom: 64px;
        background-image:
            linear-gradient(90deg, rgba(18, 21, 26, 0.88), rgba(18, 21, 26, 0.66) 58%, rgba(18, 21, 26, 0.28)),
            var(--hero-image);
        background-position: 58% center;
    }

    .site-footer {
        display: grid;
    }
}

@media (max-width: 640px) {
    .site-brand small {
        display: none;
    }

    .site-header {
        gap: 10px;
        padding-inline: 14px;
    }

    .site-brand-mark {
        width: 44px;
        height: 44px;
    }

    .site-brand strong {
        max-width: 15ch;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header-cta {
        min-height: 40px;
        padding: 0 13px;
    }

    .onepage-hero {
        background-image:
            linear-gradient(90deg, rgba(18, 21, 26, 0.90), rgba(18, 21, 26, 0.72) 68%, rgba(18, 21, 26, 0.38)),
            var(--hero-image);
        background-position: 61% center;
    }

    .nav-toggle {
        padding: 0 10px;
    }

    h1 {
        max-width: 12ch;
        font-size: 2.55rem;
    }

    h2 {
        max-width: 15ch;
        font-size: 1.9rem;
    }

    .hero-facts,
    .service-grid,
    .timeline {
        grid-template-columns: 1fr;
    }

    .hero-facts div + div {
        border-top: 1px solid rgba(255, 255, 255, 0.24);
        border-left: 0;
    }

    .capability-list div {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 20px;
    }

    .cookie-banner {
        display: grid;
    }
}
