* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Trebuchet MS", "Segoe UI", Tahoma, Arial, sans-serif;
    line-height: 1.5;
    color: #1f2d2a;
    background: #f2f6f3;
}

#site-header {
    background: linear-gradient(135deg, #0d3934, #1f5f4e);
    color: #ffffff;
    padding: 1rem;
}

.brand-wrap {
    width: min(980px, 94%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-wrap img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 0.4rem;
    padding: 0.2rem;
}

#site-header h1 {
    margin: 0;
    font-size: 1.7rem;
}

#site-header p {
    margin: 0.2rem 0 0;
}

#site-nav {
    background: #12392f;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem;
    flex-wrap: wrap;
}

#site-nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 0.45rem 0.75rem;
    border-radius: 0.35rem;
    font-weight: 600;
}

#site-nav a:hover,
#site-nav a:focus,
#site-nav a[aria-current="page"] {
    background: #f2c34b;
    color: #25302b;
    outline: none;
}

#content {
    width: min(980px, 94%);
    margin: 1.2rem auto;
    background: #ffffff;
    padding: 1.2rem;
    border-radius: 0.4rem;
    box-shadow: 0 8px 24px rgba(16, 33, 28, 0.1);
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.hero img,
.feature-card img,
.service-card img {
    width: 100%;
    height: auto;
    border-radius: 0.4rem;
    border: 1px solid #c5d3c8;
}

.home-hero img {
    max-height: 320px;
    object-fit: cover;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.feature-card {
    border: 1px solid #d6e2d9;
    border-radius: 0.45rem;
    padding: 0.9rem;
    background: #f7fbf8;
}

.feature-card img {
    width: 52px;
    height: 52px;
    border: 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.service-card {
    border: 1px solid #d6e2d9;
    border-radius: 0.4rem;
    padding: 0.9rem;
    background: #f7fbf8;
}

.contact-quick-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin: 1rem 0 1.1rem;
}

.contact-quick-info article {
    border: 1px solid #d6e2d9;
    background: #f7fbf8;
    border-radius: 0.4rem;
    padding: 0.75rem;
}

.contact-quick-info img {
    width: 24px;
    height: 24px;
}

.form-row {
    margin-bottom: 0.95rem;
}

label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

input,
textarea {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #93aba0;
    border-radius: 0.25rem;
    font: inherit;
}

input:focus,
textarea:focus {
    background: #173f34;
    color: #ffffff;
    border-color: #f2c34b;
    outline: none;
}

.button-row {
    display: flex;
    gap: 0.6rem;
}

button {
    border: 0;
    background: #1f5f4e;
    color: #ffffff;
    padding: 0.6rem 0.9rem;
    border-radius: 0.3rem;
    cursor: pointer;
}

button:hover,
button:focus {
    background: #f2c34b;
    color: #25302b;
    outline: none;
}

.error-msg {
    color: #b00020;
    margin: 0.35rem 0 0;
    font-size: 0.95rem;
}

#site-footer {
    text-align: center;
    margin: 1rem auto 1.4rem;
    padding: 0.8rem;
    width: min(980px, 94%);
    color: #40534c;
    font-size: 0.88rem;
}

#site-footer a {
    color: #40534c;
    text-decoration: none;
    margin: 0 0.35rem;
}

#site-footer a:hover,
#site-footer a:focus {
    text-decoration: underline;
    outline: none;
}

@media (max-width: 850px) {
    .feature-grid,
    .service-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .brand-wrap {
        align-items: flex-start;
    }

    .brand-wrap img {
        width: 46px;
        height: 46px;
    }

    #site-header h1 {
        font-size: 1.3rem;
    }

    .feature-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .contact-quick-info {
        grid-template-columns: 1fr;
    }

    .button-row {
        flex-direction: column;
    }
}
