:root {
  --bg: #102318;
  --bg-2: #173323;
  --card: #1a3326;
  --ink: #e8efe8;
  --muted: #b7c4b5;
  --line: #3d5a45;
  --accent: #2f6a43;
  --accent-2: #8b4e2a;
  --gold: #c4a574;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Trebuchet MS", "Segoe UI", sans-serif; }
a { color: #d7b48a; }
header.site {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem 1.2rem; background: #0c1c13f2; border-bottom: 3px solid var(--accent-2);
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.brand img { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 10px; border: 1px solid var(--line); }
.brand strong { display: block; letter-spacing: .04em; color: #e8efe8; }
.brand span { display: block; color: var(--muted); font-size: .78rem; }
header.site nav { display: flex; gap: .35rem; flex-wrap: wrap; }
header.site nav a {
  color: var(--ink); text-decoration: none; padding: .4rem .65rem; border-radius: 8px; font-size: .92rem;
}
header.site nav a:hover, header.site nav a.active { background: var(--bg-2); }
header.site nav a.cta { background: var(--accent-2); color: #f4ece3; font-weight: 800; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 1.4rem 1.2rem 3rem; }
.hero {
  text-align: center; padding: 2.4rem 1.2rem 1.5rem;
  background:
    radial-gradient(circle at 50% 0%, #2a5538 0, transparent 58%),
    linear-gradient(#102318, #0c1c13);
}
.hero img.mark { width: min(220px, 60vw); background: #fff; border-radius: 18px; border: 3px solid var(--accent-2); }
.hero h1 { font-size: clamp(1.8rem, 5vw, 3.4rem); margin: .8rem 0 .3rem; color: #f1f6f1; }
.hero p { color: var(--muted); max-width: 620px; margin: 0 auto 1.2rem; line-height: 1.5; }
.actions { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; border-radius: 10px; padding: .7rem 1rem; font-weight: 700;
  border: 1px solid var(--line); color: var(--ink); background: var(--card);
}
.btn-primary { background: var(--accent); color: #f4ece3; border-color: transparent; }
.grid { display: grid; gap: 1rem; }
@media (min-width: 800px) {
  .thirds { grid-template-columns: 1fr 1fr 1fr; }
  .split { grid-template-columns: 1.1fr .9fr; }
  .two { grid-template-columns: 1fr 1fr; }
}
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.15rem; box-shadow: 0 10px 28px #06140c66; }
h2 { margin: 1.6rem 0 .8rem; color: #d7b48a; }
.muted { color: var(--muted); line-height: 1.55; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .5rem 0; border-bottom: 1px solid var(--line); }
th { color: #d7b48a; font-size: .78rem; text-transform: uppercase; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .7rem; }
.gallery a { display: block; background: #12281c; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 100%; height: 180px; object-fit: cover; display: block; }
form label { display: block; font-size: .82rem; color: var(--muted); margin: .4rem 0 .2rem; }
input, textarea, select {
  width: 100%; background: #0f2218; color: var(--ink); border: 1px solid var(--line);
  border-radius: 8px; padding: .5rem .6rem; font: inherit;
}
textarea { min-height: 90px; }
footer.site { border-top: 3px solid var(--accent-2); text-align: center; color: var(--muted); padding: 1.3rem; font-size: .85rem; background: #0c1c13; }
.msg { padding: .6rem .8rem; border-radius: 8px; background: #234232; margin: .6rem 0; }
.err { background: #4a2a22; }
.thumb-wrap { position: relative; }
.thumb-wrap form { margin: .3rem; }
.thumb-wrap button { width: 100%; font-size: .78rem; background: transparent; color: #e09a86; border: 1px solid #6a3b32; border-radius: 8px; padding: .25rem; cursor: pointer; }
