: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: var(--bg); border-bottom: 3px solid var(--accent);
}
.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%, color-mix(in srgb, var(--accent) 28%, transparent) 0, transparent 58%),
    linear-gradient(var(--bg), color-mix(in srgb, var(--bg) 70%, #000));
}
.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: color-mix(in srgb, var(--bg) 55%, #000); 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); text-align: center; color: var(--muted); padding: 1.3rem; font-size: .85rem; background: var(--bg); }
.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; }

.boot {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .35s ease;
}
.boot.hide { opacity: 0; pointer-events: none; display: none; }
.boot img { width: min(220px, 55vw); height: auto; }
.boot p { margin: .7rem 0 0; color: #d7b48a; font-weight: 700; letter-spacing: .04em; }

.cpr-badge{display:inline-block;background:#7f1d1d;color:#fee2e2;border-radius:999px;padding:.2rem .65rem;font-size:.78rem;font-weight:800;}

@media (max-width: 800px) {
  header.site {
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem .6rem;
    padding: .55rem .7rem .65rem;
  }
  .brand { min-width: 0; flex: 1 1 auto; }
  .brand img { width: 40px; height: 40px; }
  .brand strong { font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 58vw; }
  .brand span { font-size: .68rem; }
  header.site nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
  }
  header.site nav a {
    font-size: .78rem;
    padding: .32rem .48rem;
  }
}
