:root {
    --ink: #17201d;
    --muted: #62706b;
    --paper: #f6f2ea;
    --white: #ffffff;
    --line: #ddd8cd;
    --green: #2c6656;
    --green-dark: #173f36;
    --blue: #315f7a;
    --clay: #b3653c;
    --gold: #d89949;
    --cream: #fffaf0;
    --shadow: 0 18px 48px rgba(34, 41, 36, 0.13);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

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

h1 {
    max-width: 860px;
    margin: 0;
    font-size: clamp(42px, 6.2vw, 82px);
    line-height: 0.98;
    letter-spacing: 0;
}

h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.08;
    letter-spacing: 0;
}

h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.2;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 14px clamp(18px, 4vw, 58px);
    background: rgba(246, 242, 234, 0.94);
    border-bottom: 1px solid rgba(23, 32, 29, 0.1);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
}

.brand-mark {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 8px;
    color: var(--white);
    background: linear-gradient(135deg, var(--green-dark), var(--clay));
    font-weight: 900;
}

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

.brand small {
    color: var(--muted);
    font-size: 12px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.nav a:hover {
    color: var(--green-dark);
}

.menu-button,
.mobile-nav {
    display: none;
}

.hero {
    position: relative;
    display: grid;
    min-height: min(760px, calc(100vh - 78px));
    align-items: center;
    overflow: hidden;
    padding: clamp(66px, 9vw, 126px) clamp(18px, 5vw, 76px);
}

.hero-image,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    object-fit: cover;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(18, 31, 27, 0.9), rgba(18, 31, 27, 0.66) 45%, rgba(18, 31, 27, 0.12) 82%),
        linear-gradient(0deg, rgba(18, 31, 27, 0.34), transparent 42%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(760px, 100%);
    color: var(--white);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--clay);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #f0b35f;
}

.hero-copy {
    max-width: 660px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 13px 18px;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

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

.primary {
    color: var(--white);
    background: var(--green);
    box-shadow: 0 14px 30px rgba(23, 63, 54, 0.24);
}

.primary:hover {
    background: var(--green-dark);
}

.secondary {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.36);
}

.secondary-light {
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
}

.full {
    width: 100%;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border-bottom: 1px solid var(--line);
}

.stats div {
    min-height: 118px;
    padding: 28px clamp(18px, 4vw, 48px);
    background: var(--white);
}

.stats strong,
.stats span {
    display: block;
}

.stats strong {
    font-size: 22px;
}

.stats span {
    margin-top: 6px;
    color: var(--muted);
}

.section {
    padding: clamp(66px, 8vw, 108px) clamp(18px, 5vw, 76px);
}

.section-heading {
    max-width: 780px;
}

.section-heading > p:not(.eyebrow),
.section-copy p:not(.eyebrow),
.request-copy p {
    color: var(--muted);
    font-size: 17px;
}

.services-section {
    background: #fbf8ef;
}

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

.service-grid article,
.steps article,
.trust-section article,
.request-form,
.admin-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.service-grid article {
    min-height: 220px;
    padding: 24px;
}

.service-grid span {
    display: block;
    width: 38px;
    height: 8px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--clay), var(--blue));
}

.service-grid p,
.steps p,
.trust-section p {
    margin: 0;
    color: var(--muted);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
    gap: clamp(32px, 6vw, 84px);
    align-items: start;
}

.steps {
    display: grid;
    gap: 14px;
}

.steps article {
    position: relative;
    padding: 26px 26px 26px 86px;
}

.steps span {
    position: absolute;
    left: 24px;
    top: 24px;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 8px;
    color: var(--green-dark);
    background: #dceadf;
    font-weight: 900;
}

.areas-band {
    color: var(--white);
    background: var(--green-dark);
}

.areas-band h2 {
    max-width: 760px;
}

.area-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.area-list span {
    padding: 10px 13px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    font-weight: 800;
}

.trust-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    background: #eef3ef;
}

.trust-section article {
    padding: 26px;
}

.request-section {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
    gap: clamp(28px, 6vw, 80px);
    align-items: start;
}

.callout,
.mini-note {
    padding: 15px 17px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    font-weight: 800;
}

.callout {
    border-left: 4px solid var(--clay);
    color: var(--ink) !important;
}

.callout a,
.footer p a,
.request-table a {
    color: var(--green);
    font-weight: 900;
}

.request-form {
    padding: clamp(22px, 4vw, 34px);
}

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

label {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #cfc8ba;
    border-radius: 8px;
    padding: 12px 13px;
    color: var(--ink);
    background: #fffdfa;
    font: inherit;
    font-weight: 500;
}

textarea {
    min-height: 138px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(44, 102, 86, 0.18);
    border-color: var(--green);
}

.notice {
    margin-bottom: 18px;
    border-radius: 8px;
    padding: 14px 16px;
    font-weight: 800;
}

.notice p {
    margin: 0;
}

.success {
    color: #174d3d;
    background: #dff2e7;
}

.error {
    color: #79270d;
    background: #ffe1d4;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 26px clamp(18px, 5vw, 76px);
    color: rgba(255, 255, 255, 0.82);
    background: #131b19;
}

.footer p {
    margin: 0;
}

.footer p a {
    color: var(--white);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-weight: 900;
}

.admin-body {
    min-height: 100vh;
    background: #eef3ef;
}

.admin-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 26px 0 70px;
}

.admin-top,
.admin-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
}

.admin-card {
    padding: clamp(22px, 4vw, 34px);
}

.login-card {
    width: min(560px, 100%);
    margin: clamp(28px, 7vw, 80px) auto 0;
}

.login-card h1,
.admin-heading h1 {
    margin: 0;
    font-size: clamp(32px, 5vw, 52px);
}

.login-card p:not(.eyebrow) {
    color: var(--muted);
}

.empty-state {
    padding: 34px;
    border-radius: 8px;
    color: var(--muted);
    background: var(--paper);
}

.empty-state h2 {
    color: var(--ink);
    font-size: 28px;
}

.request-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.request-table {
    width: 100%;
    min-width: 1000px;
    border-collapse: collapse;
    background: var(--white);
}

.request-table th,
.request-table td {
    padding: 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    font-size: 14px;
}

.request-table th {
    color: var(--muted);
    background: #f8f4ea;
    font-size: 12px;
    text-transform: uppercase;
}

.request-table tr:last-child td {
    border-bottom: 0;
}

.request-table strong,
.request-table span,
.request-table a {
    display: block;
}

.request-table td:last-child {
    max-width: 320px;
    color: var(--muted);
}

@media (max-width: 1020px) {
    .nav {
        display: none;
    }

    .menu-button {
        display: inline-flex;
        min-height: 42px;
        align-items: center;
        border: 1px solid var(--line);
        border-radius: 8px;
        padding: 9px 12px;
        color: var(--ink);
        background: var(--white);
        font: inherit;
        font-weight: 900;
    }

    .mobile-nav {
        position: sticky;
        top: 73px;
        z-index: 19;
        grid-template-columns: 1fr;
        gap: 1px;
        background: var(--line);
    }

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

    .mobile-nav a {
        padding: 14px 20px;
        background: var(--white);
        font-weight: 900;
    }

    .service-grid,
    .trust-section {
        grid-template-columns: 1fr 1fr;
    }

    .split,
    .request-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .site-header {
        padding: 12px 16px;
    }

    .brand {
        min-width: 0;
    }

    .brand small {
        display: none;
    }

    .hero {
        min-height: 720px;
        align-items: end;
        padding-bottom: 54px;
    }

    .hero-overlay {
        background:
            linear-gradient(0deg, rgba(18, 31, 27, 0.92), rgba(18, 31, 27, 0.52) 60%, rgba(18, 31, 27, 0.18)),
            linear-gradient(90deg, rgba(18, 31, 27, 0.5), transparent 78%);
    }

    h1 {
        font-size: 42px;
    }

    .hero-actions,
    .button {
        width: 100%;
    }

    .stats,
    .service-grid,
    .trust-section,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .steps article {
        padding: 80px 22px 24px;
    }

    .footer,
    .admin-top,
    .admin-heading {
        display: grid;
    }
}
