*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --color-ink: #17201c;
    --color-muted: #5d6861;
    --color-bg: #f7f8f4;
    --color-paper: #ffffff;
    --color-line: #d7ddd8;
    --color-forest: #27634a;
    --color-forest-dark: #183d30;
    --color-amber: #d88b2f;
    --color-sky: #dceff4;
    --color-rust: #9a4f2f;
    --shadow-soft: 0 18px 50px rgba(23, 32, 28, 0.14);
    --container: 1180px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-ink);
    background: var(--color-bg);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

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

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

a:hover {
    color: var(--color-forest);
}

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

h1,
h2,
h3 {
    line-height: 1.08;
    letter-spacing: 0;
}

h1 {
    max-width: 780px;
    margin-bottom: 22px;
    color: #ffffff;
    font-size: 64px;
    font-weight: 800;
}

h2 {
    margin-bottom: 18px;
    font-size: 40px;
    font-weight: 800;
}

h3 {
    margin-bottom: 12px;
    font-size: 22px;
}

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -80px;
    z-index: 20;
    padding: 10px 14px;
    border-radius: 6px;
    background: #ffffff;
    color: var(--color-ink);
    box-shadow: var(--shadow-soft);
}

.skip-link:focus {
    top: 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(215, 221, 216, 0.9);
    backdrop-filter: blur(14px);
}

.top-line {
    background: var(--color-forest-dark);
    color: #ffffff;
    font-size: 14px;
}

.top-line__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 36px;
    align-items: center;
    gap: 20px;
}

.top-line__coverage {
    display: grid;
    gap: 2px;
    min-width: 0;
    padding: 6px 0;
    line-height: 1.35;
}

.top-line__inner > a {
    flex: 0 0 auto;
    white-space: nowrap;
}

.main-nav__inner {
    display: flex;
    min-height: 74px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.brand__logo {
    width: 150px;
    height: auto;
}

.brand small {
    display: block;
}

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

.main-nav__links {
    display: flex;
    align-items: center;
    gap: 24px;
    font-weight: 700;
}

.hero {
    position: relative;
    display: grid;
    min-height: 78svh;
    overflow: hidden;
    background: var(--color-forest-dark);
}

.hero__media,
.hero__shade,
.hero__content {
    grid-area: 1 / 1;
}

.hero__media img {
    width: 100%;
    height: 100%;
    min-height: 78svh;
    object-fit: cover;
    object-position: center;
}

.hero__shade {
    background:
        linear-gradient(90deg, rgba(13, 24, 21, 0.78) 0%, rgba(13, 24, 21, 0.54) 38%, rgba(13, 24, 21, 0.08) 70%),
        linear-gradient(0deg, rgba(13, 24, 21, 0.36), rgba(13, 24, 21, 0.08));
}

.hero__content {
    position: relative;
    display: flex;
    min-height: 78svh;
    flex-direction: column;
    justify-content: center;
    padding: 72px 0 54px;
    color: #ffffff;
}

.eyebrow {
    margin-bottom: 12px;
    color: var(--color-amber);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero__lead {
    max-width: 650px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 20px;
}

.hero__actions,
.contact-direct {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    line-height: 1.2;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.btn--primary {
    background: var(--color-amber);
    color: #17120b;
}

.btn--primary:hover {
    background: #ef9f42;
    color: #17120b;
}

.btn--ghost {
    border-color: rgba(255, 255, 255, 0.42);
    color: #ffffff;
}

.btn--ghost:hover {
    border-color: #ffffff;
    color: #ffffff;
}

.hero__facts {
    display: grid;
    max-width: 720px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 46px 0 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.16);
}

.hero__facts div {
    padding: 18px;
    background: rgba(13, 24, 21, 0.38);
}

.hero__facts dt {
    color: var(--color-amber);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero__facts dd {
    margin: 2px 0 0;
    color: #ffffff;
    font-weight: 700;
}

.section {
    padding: 86px 0;
}

.section--intro {
    padding: 52px 0;
    background: #ffffff;
}

.section--band {
    background: var(--color-sky);
}

.section--contact {
    background: var(--color-forest-dark);
    color: #ffffff;
}

.intro-grid,
.area-grid,
.process-grid,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 54px;
    align-items: start;
}

.intro-grid p:last-child,
.section-heading p,
.area-grid p,
.process-grid p,
.contact-grid p {
    color: var(--color-muted);
    font-size: 18px;
}

.section--contact .contact-grid p {
    color: rgba(255, 255, 255, 0.78);
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 36px;
    text-align: center;
}

.section-heading--left {
    margin: 0;
    text-align: left;
}

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

.service-card,
.steps article,
.contact-form {
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-paper);
    box-shadow: 0 10px 34px rgba(23, 32, 28, 0.08);
}

.service-card {
    padding: 26px;
}

.service-card__icon,
.steps span {
    display: inline-grid;
    width: 42px;
    height: 42px;
    margin-bottom: 22px;
    place-items: center;
    border-radius: 8px;
    background: var(--color-forest);
    color: #ffffff;
    font-weight: 800;
}

.service-card p {
    color: var(--color-muted);
}

.service-card ul {
    display: grid;
    gap: 8px;
    margin: 20px 0 0;
    padding-left: 19px;
}

.service-card li::marker {
    color: var(--color-amber);
}

.area-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.area-list li {
    padding: 9px 12px;
    border: 1px solid rgba(39, 99, 74, 0.22);
    border-radius: 8px;
    background: #ffffff;
    font-weight: 700;
}

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

.steps article {
    padding: 24px;
}

.steps p {
    margin-bottom: 0;
    color: var(--color-muted);
}

.contact-direct a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 8px;
    color: #ffffff;
    font-weight: 800;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 24px;
    color: var(--color-ink);
}

.contact-form label {
    display: grid;
    gap: 6px;
    color: var(--color-ink);
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    padding: 11px 12px;
    color: var(--color-ink);
    background: #ffffff;
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form__wide,
.form-alert {
    grid-column: 1 / -1;
}

.form-alert {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-left-width: 6px;
    border-radius: 8px;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(23, 32, 28, 0.08);
}

.form-alert p {
    margin: 0;
    color: inherit;
    font-size: 16px;
}

.form-alert--success {
    border-color: #1f7a4d;
    background: #d8f4e4;
    color: #0d3f26;
}

.form-alert--error {
    border-color: #b84a24;
    background: #ffe1d6;
    color: #6b2411;
}

.section--contact .contact-grid .form-alert,
.section--contact .contact-grid .form-alert p {
    color: inherit;
}

.site-footer {
    padding: 52px 0 24px;
    background: #111816;
    color: #ffffff;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr;
    gap: 36px;
}

.site-footer h2 {
    margin-bottom: 12px;
    font-size: 18px;
}

.site-footer p,
.site-footer a,
.brand--footer small {
    color: rgba(255, 255, 255, 0.74);
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.site-footer__bottom p {
    margin: 0;
}

.error-hero {
    position: relative;
    display: grid;
    min-height: 58svh;
    overflow: hidden;
    background: var(--color-forest-dark);
}

.error-hero__media,
.error-hero__shade,
.error-hero__content {
    grid-area: 1 / 1;
}

.error-hero__media img {
    width: 100%;
    height: 100%;
    min-height: 58svh;
    object-fit: cover;
    object-position: center;
}

.error-hero__shade {
    background:
        linear-gradient(90deg, rgba(13, 24, 21, 0.92) 0%, rgba(13, 24, 21, 0.72) 46%, rgba(13, 24, 21, 0.28) 100%),
        linear-gradient(0deg, rgba(13, 24, 21, 0.22), rgba(13, 24, 21, 0.18));
}

.error-hero__content {
    position: relative;
    display: flex;
    min-height: 58svh;
    flex-direction: column;
    justify-content: center;
    padding: 70px 0;
    color: #ffffff;
}

.error-code {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 16px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 8px;
    color: var(--color-amber);
    font-weight: 800;
}

.error-hero h1 {
    max-width: 720px;
}

.error-hero p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 19px;
}

.error-services {
    background: #ffffff;
}

@media (max-width: 1040px) {
    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 34px;
    }

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

    .steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .top-line__inner {
        display: flex;
        justify-content: flex-start;
        overflow-x: auto;
    }

    .top-line__coverage {
        flex: 0 0 auto;
        padding: 0;
    }

    .top-line__coverage > span {
        white-space: nowrap;
    }

    .main-nav__inner,
    .main-nav__links {
        align-items: flex-start;
    }

    .main-nav__inner {
        flex-direction: column;
        padding: 14px 0;
        gap: 14px;
    }

    .main-nav__links {
        width: 100%;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .main-nav__links a {
        flex: 0 0 auto;
        padding: 6px 0;
    }

    .hero,
    .hero__media img,
    .hero__content,
    .error-hero,
    .error-hero__media img,
    .error-hero__content {
        min-height: 72svh;
    }

    .hero__media img,
    .error-hero__media img {
        object-position: 58% center;
    }

    .hero__shade {
        background: linear-gradient(90deg, rgba(13, 24, 21, 0.86), rgba(13, 24, 21, 0.5));
    }

    .hero__content {
        padding: 54px 0 36px;
    }

    h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 30px;
    }

    .hero__lead {
        font-size: 18px;
    }

    .hero__facts,
    .intro-grid,
    .area-grid,
    .process-grid,
    .contact-grid,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 62px 0;
    }

    .section--intro {
        padding: 42px 0;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 34px;
    }

    .hero__actions,
    .contact-direct {
        flex-direction: column;
    }

    .btn,
    .contact-direct a {
        width: 100%;
    }

    .hero__facts {
        grid-template-columns: 1fr;
        margin-top: 28px;
    }

    .service-grid,
    .contact-form {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 22px;
    }

    .site-footer__bottom {
        flex-direction: column;
    }
}
