:root {
    --bg: #f7f5f0;
    --panel: #ffffff;
    --ink: #182322;
    --muted: #65716f;
    --line: #dad6cd;
    --accent: #0f766e;
    --accent-dark: #0b4f4a;
    --warm: #b45309;
    --soft: #e8efe9;
    --shadow: 0 20px 60px rgba(18, 30, 29, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

a {
    color: inherit;
}

.site-header {
    align-items: center;
    background: rgba(247, 245, 240, 0.92);
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    left: 0;
    min-height: 72px;
    padding: 14px clamp(18px, 4vw, 56px);
    position: sticky;
    right: 0;
    top: 0;
    z-index: 10;
}

.brand {
    align-items: center;
    display: inline-flex;
    font-weight: 800;
    gap: 10px;
    letter-spacing: 0;
    text-decoration: none;
}

.brand-mark {
    background: linear-gradient(135deg, var(--accent), var(--warm));
    border-radius: 8px;
    display: inline-block;
    height: 28px;
    width: 28px;
}

.site-nav {
    align-items: center;
    display: flex;
    gap: 8px;
}

.site-nav a {
    border-radius: 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    padding: 10px 12px;
    text-decoration: none;
}

.site-nav a:hover {
    background: var(--soft);
    color: var(--ink);
}

.nav-toggle {
    display: none;
}

.hero {
    min-height: calc(100vh - 72px);
    overflow: hidden;
    position: relative;
}

.hero::after {
    background: linear-gradient(90deg, rgba(13, 28, 27, 0.84), rgba(13, 28, 27, 0.48), rgba(13, 28, 27, 0.12));
    content: "";
    inset: 0;
    position: absolute;
}

.hero img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

.hero-content {
    color: #ffffff;
    max-width: 760px;
    padding: clamp(90px, 14vw, 170px) clamp(20px, 6vw, 86px);
    position: relative;
    z-index: 1;
}

.eyebrow {
    color: var(--warm);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #f6d9ad;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(42px, 7vw, 86px);
    line-height: 0.96;
    margin-bottom: 22px;
    max-width: 860px;
}

h2 {
    font-size: clamp(28px, 4vw, 52px);
    line-height: 1.05;
    margin-bottom: 0;
}

h3 {
    font-size: 21px;
    margin-bottom: 8px;
}

.hero-content > p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.86);
    font-size: 20px;
    max-width: 680px;
}

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

.button,
button {
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 800;
    min-height: 44px;
    padding: 11px 16px;
    text-decoration: none;
}

.button.secondary {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.46);
}

.section {
    padding: clamp(56px, 8vw, 104px) clamp(20px, 6vw, 86px);
}

.section-head,
.intro-section {
    align-items: end;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.58fr);
    margin-bottom: 28px;
}

.intro-section > p,
.contact-section p {
    color: var(--muted);
    font-size: 18px;
}

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

.service-grid article,
.project-grid article,
.contact-form {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

.service-grid article {
    padding: 26px;
}

.service-grid span {
    color: var(--accent);
    display: block;
    font-weight: 900;
    margin-bottom: 46px;
}

.service-grid p,
.project-grid p {
    color: var(--muted);
    margin-bottom: 0;
}

.project-grid img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.project-grid div {
    padding: 20px;
}

.contact-section {
    align-items: start;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.62fr);
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 22px;
}

label {
    color: var(--muted);
    display: grid;
    font-size: 13px;
    font-weight: 800;
    gap: 7px;
}

input,
textarea {
    background: #fbfaf7;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font: inherit;
    padding: 12px 13px;
    width: 100%;
}

input:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.16);
    outline: 0;
}

.form-note {
    background: var(--soft);
    border-radius: 8px;
    color: var(--accent-dark);
    font-weight: 700;
    margin: 0;
    padding: 12px;
}

.site-footer {
    align-items: center;
    border-top: 1px solid var(--line);
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    padding: 24px clamp(20px, 6vw, 86px);
}

.site-footer a {
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 860px) {
    .site-header {
        align-items: flex-start;
    }

    .nav-toggle {
        background: transparent;
        border-color: var(--line);
        color: var(--ink);
        display: inline-flex;
    }

    .site-nav {
        background: var(--panel);
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow);
        display: none;
        flex-direction: column;
        min-width: 220px;
        padding: 8px;
        position: absolute;
        right: 18px;
        top: 62px;
    }

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

    .site-nav a {
        width: 100%;
    }

    .section-head,
    .intro-section,
    .contact-section,
    .service-grid,
    .project-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .hero {
        min-height: 720px;
    }

    .hero-content {
        padding-top: 86px;
    }

    .hero-actions,
    .site-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .button,
    button {
        justify-content: center;
        width: 100%;
    }
}
