:root {
  --green: #0d5d2c; --green-dark: #0a4a23; --gold: #f0b323; --gold-dark: #c98f0e;
  --ink: #1f2a24; --muted: #5b6861; --paper: #f6f7f4; --card: #fff; --line: #e1e6e2;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body { font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.55; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: var(--green); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.fine { font-size: .9rem; color: var(--muted); }
h2 { color: var(--green); font-size: 1.6rem; margin: 0 0 10px; }
h3 { color: var(--green); font-size: 1.05rem; margin: 0 0 6px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--green-dark); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* header */
header.top { background: var(--green); color: #fff; border-bottom: 6px solid var(--gold); position: sticky; top: 0; z-index: 20; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand img { height: 48px; width: auto; }
.org { font-weight: 700; font-size: 1.1rem; line-height: 1.15; }
.org small { display: block; font-weight: 400; font-size: .8rem; opacity: .85; }
nav { display: flex; gap: 6px 18px; align-items: center; flex-wrap: wrap; }
nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; opacity: .92; }
nav a:hover { opacity: 1; text-decoration: underline; }
nav a[hidden] { display: none; }
nav .nav-cta { background: var(--gold); color: var(--green-dark); padding: 7px 14px; border-radius: 999px; opacity: 1; }

/* hero */
.hero { background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%); text-align: center; padding: 56px 16px 44px; border-bottom: 1px solid var(--line); }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--gold-dark); font-weight: 700; margin: 0 0 8px; }
.hero h1 { margin: 0 0 12px; font-size: clamp(2.1rem, 5vw, 3.4rem); color: var(--green); line-height: 1.08; }
.hero .jump { margin: 14px auto 0; font-size: 1rem; color: var(--green); }
.hero .jump a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hero .jump a:hover { color: var(--gold-dark); }
.hero .lead { max-width: 680px; margin: 0 auto 22px; font-size: 1.15rem; color: var(--muted); }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--green); color: var(--green); background: #fff; }
.btn:hover { background: #eef5f0; }
.btn.primary { background: var(--gold); border-color: var(--gold); color: var(--green-dark); }
.btn.primary:hover { filter: brightness(1.05); background: var(--gold); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: #eef5f0; }
.btn.disabled { opacity: .55; pointer-events: none; }
.btn[hidden] { display: none; }
#register-note { margin: 14px auto 0; max-width: 560px; }
#register-note:empty { display: none; }

/* sections */
section.wrap { padding: 40px 16px; }
section.wrap[hidden] { display: none; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.card.pinned { border-left: 5px solid var(--gold); }
.card h3 { margin: 0; }
.card p { margin: 0; white-space: pre-line; }
.card .when { font-size: .8rem; color: var(--muted); }
.card a.more { font-weight: 700; margin-top: auto; }

.steps { list-style: none; padding: 0; margin: 14px 0 10px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.steps li { display: flex; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.num { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }

.park-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 14px; }
.info { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.info[hidden] { display: none; }
.info p { margin: 4px 0; }
.info p:empty { display: none; }

/* sponsors marquee */
section.sponsors { padding: 36px 0 48px; border-bottom: 1px solid var(--line); background: #fff; }
section.sponsors h2, section.sponsors .lead { text-align: center; }
section.sponsors .lead { color: var(--muted); margin: 0 0 22px; }
.marquee { overflow: hidden; position: relative; padding: 8px 0 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track { display: flex; gap: 20px; width: max-content; animation: scroll-banner var(--duration, 40s) linear infinite; }
.marquee:hover .track, .marquee:focus-within .track { animation-play-state: paused; }
.marquee.static .track { animation: none; width: auto; justify-content: center; flex-wrap: wrap; padding: 0 16px; }
.marquee.static { -webkit-mask-image: none; mask-image: none; }
.sponsor { flex: 0 0 230px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.sponsor:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(13,93,44,.12); }
.sponsor .logo { width: 100%; height: 110px; display: flex; align-items: center; justify-content: center; }
.sponsor img { max-width: 100%; max-height: 110px; object-fit: contain; }
.sponsor .name { font-weight: 600; color: var(--green); text-align: center; font-size: .95rem; }
@keyframes scroll-banner { from { transform: translateX(0); } to { transform: translateX(calc(-1 * var(--shift, 33.333%))); } }
@media (prefers-reduced-motion: reduce) { .track { animation: none; } .marquee { overflow-x: auto; } }

footer { background: var(--green-dark); color: #d9e6dd; padding: 22px 16px; font-size: .9rem; }
.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer a { color: var(--gold); }
footer .fine { color: #b7c9bd; }
@media (max-width: 640px) { .bar { justify-content: center; text-align: center; } nav { justify-content: center; } .hero { padding: 40px 16px 32px; } }
