:root {
    --green: #2f5233;
    --green-dark: #243d27;
    --bg: #faf7f1;
    --card: #ffffff;
    --text: #22281f;
    --muted: #6b6f66;
    --line: #e3ded2;
    --radius: 10px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.site-header {
    background: var(--green);
    color: #fff;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 14px;
    padding-bottom: 14px;
}
.brand {
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
}
.site-nav a {
    color: #e8ecdf;
    text-decoration: none;
    margin-left: 18px;
    font-size: 1rem;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; text-decoration: underline; }

.hero { background: linear-gradient(180deg, #eef1e6 0%, var(--bg) 100%); }
.hero-inner {
    display: flex;
    gap: 40px;
    align-items: center;
    padding-top: 48px;
    padding-bottom: 48px;
}
.hero-text { flex: 1 1 45%; }
.hero-text h1 { font-size: 2.4rem; margin: 0 0 12px; color: var(--green-dark); }
.hero-figure { flex: 1 1 55%; margin: 0; }
.hero-figure img {
    width: 100%;
    border-radius: var(--radius);
    display: block;
    box-shadow: 0 8px 30px rgba(36, 61, 39, 0.18);
}

.section { padding: 40px 0 10px; }
.section h1, .section h2 { color: var(--green-dark); margin-top: 0; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: var(--radius);
    text-decoration: none;
    font-family: inherit;
    font-size: 1rem;
    border: 2px solid var(--green);
    cursor: pointer;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: #fff; }
.hero-actions { display: flex; gap: 14px; margin-top: 20px; flex-wrap: wrap; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    text-decoration: none;
    color: var(--text);
    transition: box-shadow .15s ease;
}
.card:hover { box-shadow: 0 6px 18px rgba(36, 61, 39, 0.15); }
.card h3 { margin-top: 0; color: var(--green-dark); }

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}
.gallery img {
    width: 100%;
    border-radius: var(--radius);
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.gallery .thumb {
    padding: 0;
    border: none;
    background: none;
    cursor: zoom-in;
    width: 100%;
}
.gallery .thumb:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 2px;
}
#gallery-dialog {
    max-width: 90vw;
    border: none;
    border-radius: var(--radius);
    padding: 16px;
}
#gallery-dialog::backdrop { background: rgba(0, 0, 0, 0.6); }
#gallery-dialog img { max-width: 85vw; max-height: 80vh; display: block; }

.muted { color: var(--muted); font-size: .95rem; }

.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 16px;
}
.listing-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
}
.listing-card:hover { box-shadow: 0 6px 18px rgba(36, 61, 39, 0.15); }
.listing-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.listing-card .body { padding: 16px; }
.listing-card h3 { margin: 0 0 4px; color: var(--green-dark); }

.facts { display: flex; gap: 32px; flex-wrap: wrap; margin: 16px 0; }
.facts div { min-width: 110px; }
.facts dt { font-size: .85rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: bold; }

.form { max-width: 560px; }
.form-row { margin-bottom: 16px; display: flex; flex-direction: column; }
.form-row label { font-weight: bold; margin-bottom: 4px; }
.form-row input, .form-row textarea {
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    background: #fff;
}
.form-row input:focus, .form-row textarea:focus {
    outline: 2px solid var(--green);
    outline-offset: 1px;
}
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-message { font-weight: bold; }
.form-message.error { color: #a33; }
.form-message.ok { color: var(--green-dark); }

.site-footer {
    margin-top: 60px;
    padding: 24px 0;
    background: var(--green-dark);
    color: #e8ecdf;
}
.site-footer a { color: #fff; }

@media (max-width: 720px) {
    .hero-inner { flex-direction: column; }
    .hero-text h1 { font-size: 1.8rem; }
    .cols { grid-template-columns: 1fr; }
    .site-nav a { margin-left: 12px; }
}
