
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #17352b;
    background: #f5f8f3;
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, p, a { overflow-wrap: break-word; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid #dfe8df;
}
.nav {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav > * { min-width: 0; }
.logo { font-size: 22px; font-weight: 800; color: #236246; }
nav { display: flex; flex-wrap: wrap; gap: 8px; }
nav a {
    padding: 9px 12px;
    border-radius: 9px;
    font-size: 14px;
    color: #426055;
}
nav a:hover, nav a.active { background: #e4f0e7; color: #1f6847; }

.hero {
    min-height: 520px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 80px 20px;
    color: white;
    background:
        linear-gradient(rgba(16,60,43,.55), rgba(16,60,43,.65)),
        url("images/hero.jpg")
        center/cover;
}
.hero h1 { font-size: clamp(40px, 7vw, 72px); margin: 0 0 15px; }
.hero p { max-width: 700px; margin: 0 auto 28px; font-size: 20px; }
.button {
    display: inline-block;
    padding: 13px 22px;
    border-radius: 10px;
    background: #dff0c8;
    color: #24533b;
    font-weight: 700;
}
.button:hover { background: white; }
.button-primary {
    width: 100%;
    border: 0;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    background: #236246;
    color: white;
}
.button-primary:hover { background: #1b4f38; }

.auth {
    width: min(430px, 100%);
    margin: 0 auto;
    padding: 34px;
    background: white;
    border: 1px solid #e1e9e2;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(27,64,45,.06);
}
.field { margin-bottom: 18px; }
.field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #2d5546;
}
.field input {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    color: inherit;
    background: #f7faf6;
    border: 1px solid #d8e4da;
    border-radius: 10px;
}
.field input:focus {
    outline: none;
    border-color: #4a9070;
    background: white;
}
.auth-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    font-size: 14px;
}
.checkbox {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #5a7166;
    cursor: pointer;
}
.link { color: #28734e; font-weight: 700; }
.link:hover { text-decoration: underline; }
.auth-note {
    margin: 16px 0 0;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 14px;
}
.auth-note.ok { background: #e4f0e7; color: #1f6847; }
.auth-note.error { background: #fbe9e7; color: #a33527; }
.auth-footer {
    margin: 18px 0 0;
    text-align: center;
    font-size: 14px;
    color: #65786f;
}

.page-hero {
    padding: 70px 0;
    background: #e7f1e8;
    text-align: center;
}
.page-hero h1 { margin: 0 0 8px; font-size: 44px; }
.page-hero p { margin: 0 auto; max-width: 700px; color: #5a7166; }

section { padding: 65px 0; }
.section-title { text-align: center; margin-bottom: 35px; }
.section-title h2 { margin: 0 0 8px; font-size: 34px; }
.section-title p { margin: 0; color: #65786f; }

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.card {
    overflow: hidden;
    background: white;
    border: 1px solid #e1e9e2;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(27,64,45,.06);
}
.card img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
}
.card-content { padding: 20px; }
.card h3 { margin: 0 0 8px; font-size: 22px; }
.card p { margin: 0; color: #64766e; }

.info {
    background: #1e503a;
    color: white;
    border-radius: 20px;
    padding: 38px;
}
.info p { color: #d9e8df; }

.facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.fact {
    padding: 25px;
    background: white;
    border-radius: 14px;
    border: 1px solid #e1e9e2;
}
.fact strong { display: block; font-size: 28px; color: #28734e; }

.gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.gallery img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    border-radius: 14px;
}

footer {
    padding: 35px 0;
    background: #163a2b;
    color: #dce8e1;
    text-align: center;
}
footer p { margin: 5px 0; }

@media (max-width: 800px) {
    .nav { padding: 12px 0; align-items: flex-start; flex-direction: column; }
    nav { width: 100%; }
    .grid, .facts, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
    .grid, .facts, .gallery { grid-template-columns: minmax(0, 1fr); }
    .hero { min-height: 460px; }
    .page-hero h1 { font-size: 36px; }
}
