/* ==========================================================================
   oxaadventur.com — Adventure Seeker's Guide design system
   Jungle / cave palette, mobile-first, CSS custom properties
   ========================================================================== */
:root {
  --deep-jungle: #0A1F0F;
  --oxalis-green: #1B4D2E;
  --oxalis-green-2: #24603A;
  --accent-gold: #C8962A;
  --accent-gold-dark: #8F6815;
  --cave-stone: #8B7355;
  --cave-stone-dark: #5E4D38;
  --mist-white: #F5F4F0;
  --charcoal: #1A1A1A;
  --text: #2A2A2A;
  --text-muted: #555048;
  --border: #DDD8CC;
  --surface: #FFFFFF;

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 6px 24px rgba(10, 31, 15, .10);
  --shadow-lg: 0 14px 40px rgba(10, 31, 15, .18);
  --container: 1180px;
  --narrow: 760px;
  --header-h: 68px;
  --focus: 3px solid var(--accent-gold);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--mist-white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--oxalis-green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-gold-dark); }
:focus-visible { outline: var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--deep-jungle); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-top: 1.6em; }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); margin-top: 1.3em; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
li { margin-bottom: .4em; }

.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 1000;
  background: var(--accent-gold); color: var(--charcoal); padding: .6rem 1rem;
  font-weight: 700; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: var(--narrow); }

/* ---------- Top notice + header ---------- */
.topbar {
  background: var(--charcoal); color: #E9E4D8; font-size: .82rem; text-align: center;
  padding: .45rem 1rem; line-height: 1.4;
}
.topbar a { color: #F0C870; }
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--deep-jungle);
  border-bottom: 2px solid var(--accent-gold);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.logo { display: flex; align-items: center; gap: .6rem; color: var(--mist-white); text-decoration: none; }
.logo:hover { color: var(--mist-white); }
.logo-mark {
  width: 38px; height: 38px; border-radius: 50%; background: var(--accent-gold);
  color: var(--deep-jungle); display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
}
.logo-text { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; line-height: 1.1; }
.logo-text small { display: block; font-family: var(--font-body); font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #D9C9A0; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem; background: transparent;
  border: 1px solid rgba(245,244,240,.45); color: var(--mist-white); border-radius: var(--radius);
  padding: .5rem .8rem; font: inherit; font-size: .95rem; cursor: pointer;
}
.nav-toggle-bars { width: 20px; height: 2px; background: currentColor; position: relative; display: inline-block; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
.primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--deep-jungle); border-bottom: 2px solid var(--accent-gold); }
.primary-nav.is-open { display: block; }
.primary-nav ul { list-style: none; margin: 0; padding: .5rem 1.25rem 1rem; }
.primary-nav li { margin: 0; }
.primary-nav a {
  display: block; padding: .7rem .2rem; color: var(--mist-white); text-decoration: none;
  border-bottom: 1px solid rgba(245,244,240,.1); font-weight: 500;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: #F0C870; }
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block; position: static; background: none; border: 0; }
  .primary-nav ul { display: flex; gap: 1.2rem; padding: 0; }
  .primary-nav a { border: 0; padding: .4rem 0; font-size: .93rem; }
  .primary-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent-gold); }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--mist-white); background: var(--deep-jungle); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,31,15,.55) 0%, rgba(10,31,15,.78) 60%, rgba(10,31,15,.94) 100%); }
.hero-content { position: relative; z-index: 2; padding: 4.5rem 0 3.5rem; max-width: 820px; }
.hero--home .hero-content { padding: 6rem 0 4.5rem; }
.hero h1 { color: var(--mist-white); text-shadow: 0 2px 18px rgba(0,0,0,.4); }
.hero .lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #EDEAE0; max-width: 680px; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #F0C870; margin-bottom: .8rem;
}
.hero-disclaimer {
  margin-top: 1.6rem; font-size: .88rem; background: rgba(10,31,15,.7); border-left: 3px solid var(--accent-gold);
  padding: .75rem 1rem; border-radius: 0 var(--radius) var(--radius) 0; color: #EDEAE0; max-width: 680px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 46px;
  padding: .7rem 1.3rem; border-radius: 999px; font-weight: 700; font-size: .98rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font-family: var(--font-body); transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--accent-gold); color: var(--charcoal); }
.btn--gold:hover { background: #D9A93E; color: var(--charcoal); }
.btn--ghost { border-color: var(--mist-white); color: var(--mist-white); }
.btn--ghost:hover { background: var(--mist-white); color: var(--deep-jungle); }
.btn--green { background: var(--oxalis-green); color: var(--mist-white); }
.btn--green:hover { background: var(--deep-jungle); color: var(--mist-white); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { background: var(--surface); border-bottom: 1px solid var(--border); font-size: .88rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: .7rem 0; margin: 0; }
.breadcrumbs li { margin: 0; color: var(--text-muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: .35rem; color: var(--cave-stone); }
.breadcrumbs a { color: var(--oxalis-green); }

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
.section--white { background: var(--surface); }
.section--forest { background: var(--oxalis-green); color: #F1EEE4; }
.section--forest h2, .section--forest h3 { color: var(--mist-white); }
.section--forest p { color: #E6E2D6; }
.section--forest a { color: #F0C870; }
.section--stone { background: #EDE8DD; }
.section-head { max-width: 720px; margin-bottom: 2rem; }
.section-head h2 { margin-top: 0; }

/* ---------- Grid + cards ---------- */
.grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; border: 1px solid var(--border);
}
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card-body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-top: 0; font-size: 1.3rem; }
.card p { color: var(--text-muted); font-size: .97rem; }
.card .card-link { margin-top: auto; font-weight: 700; }
.feature { background: var(--surface); border-radius: var(--radius-lg); padding: 1.5rem; border-top: 4px solid var(--accent-gold); box-shadow: var(--shadow); }
.feature h3 { margin-top: 0; }
.section--forest .feature { background: rgba(10,31,15,.45); box-shadow: none; }
.feature-icon { font-size: 1.6rem; line-height: 1; margin-bottom: .6rem; display: block; }

.pill { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .25rem .7rem; border-radius: 999px; margin-bottom: .7rem; align-self: flex-start; }
.pill--extreme { background: #3A1F0F; color: #F6D7B5; }
.pill--hard { background: #6B3A10; color: #FBE7C9; }
.pill--moderate { background: var(--accent-gold); color: var(--charcoal); }
.pill--easy { background: #D7E6D3; color: var(--deep-jungle); }

/* ---------- Article layout ---------- */
.article-layout { display: grid; gap: 2.5rem; padding: 3rem 0; }
@media (min-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr) 290px; } }
.prose { max-width: var(--narrow); }
.prose h2 { scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { scroll-margin-top: calc(var(--header-h) + 20px); }
.prose figure { margin: 2rem 0; }
.prose figure img { border-radius: var(--radius-lg); width: 100%; }
figcaption { font-size: .85rem; color: var(--text-muted); margin-top: .5rem; }
.sidebar { display: flex; flex-direction: column; gap: 1.4rem; }
@media (min-width: 1000px) { .sidebar-sticky { position: sticky; top: calc(var(--header-h) + 20px); } }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.2rem 1.3rem; }
.toc h2 { font-size: 1.1rem; margin: 0 0 .7rem; }
.toc ol { margin: 0; padding-left: 1.1em; font-size: .93rem; }
.toc li { margin-bottom: .35rem; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.side-box { background: var(--deep-jungle); color: #EDEAE0; border-radius: var(--radius-lg); padding: 1.3rem; }
.side-box h2 { color: var(--mist-white); font-size: 1.15rem; margin: 0 0 .5rem; }
.side-box p { font-size: .93rem; color: #E0DCCF; }

.callout { background: #FBF4E4; border-left: 4px solid var(--accent-gold); padding: 1rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.6rem 0; }
.callout p:last-child { margin: 0; }
.callout--stone { background: #EFEAE1; border-color: var(--cave-stone); }
.facts { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.3rem 1.4rem; margin: 1.8rem 0; }
.facts h2, .facts h3 { margin-top: 0; font-size: 1.2rem; }
.facts dl { display: grid; grid-template-columns: 1fr; gap: .2rem 1rem; margin: 0; }
@media (min-width: 560px) { .facts dl { grid-template-columns: 180px 1fr; } }
.facts dt { font-weight: 700; color: var(--deep-jungle); }
.facts dd { margin: 0 0 .5rem; color: var(--text-muted); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 1.6rem 0; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 680px; font-size: .94rem; }
caption { text-align: left; padding: .9rem 1rem; font-weight: 700; color: var(--deep-jungle); }
th, td { padding: .8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
thead th { background: var(--deep-jungle); color: var(--mist-white); font-weight: 600; }
tbody tr:nth-child(even) { background: #FAF8F3; }

/* ---------- FAQ ---------- */
.faq { margin: 1.5rem 0; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-bottom: .7rem; }
.faq-q { margin: 0; font-size: 1.05rem; font-family: var(--font-body); }
.faq-q button {
  width: 100%; text-align: left; background: none; border: 0; padding: 1rem 2.8rem 1rem 1.1rem; font: inherit;
  font-weight: 700; color: var(--deep-jungle); cursor: pointer; position: relative; line-height: 1.4;
}
.faq-q button::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--accent-gold-dark); }
.faq-q button[aria-expanded="true"]::after { content: "−"; }
.faq-a { padding: 0 1.1rem 1rem; color: var(--text-muted); }
.faq-a[hidden] { display: none; }

/* ---------- Disclaimer block ---------- */
.disclaimer-block { background: #EFEAE1; border: 1px solid var(--cave-stone); border-radius: var(--radius-lg); padding: 1.5rem; margin: 2.5rem 0 0; scroll-margin-top: calc(var(--header-h) + 20px); }
.disclaimer-block h2 { margin-top: 0; font-size: 1.3rem; }
.disclaimer-block p { font-size: .95rem; }

/* ---------- Forms ---------- */
.form { background: var(--surface); padding: 1.6rem; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow); }
.form-row { margin-bottom: 1.1rem; }
.form label { display: block; font-weight: 600; margin-bottom: .35rem; color: var(--deep-jungle); }
.form input, .form select, .form textarea {
  width: 100%; padding: .75rem .9rem; border: 1.5px solid #B9B1A0; border-radius: var(--radius); font: inherit; background: #FFF; color: var(--text);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: var(--focus); outline-offset: 1px; border-color: var(--oxalis-green); }
.form textarea { min-height: 150px; resize: vertical; }
.form .hint { font-size: .85rem; color: var(--text-muted); margin-top: .3rem; }
.form .error { color: #A1260D; font-size: .88rem; margin-top: .3rem; font-weight: 600; }
.form [aria-invalid="true"] { border-color: #A1260D; }
.checkbox-row { display: flex; gap: .6rem; align-items: flex-start; }
.checkbox-row input { width: auto; margin-top: .35rem; }
.checkbox-row label { font-weight: 400; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius); background: #DCEBD8; color: var(--deep-jungle); font-weight: 600; }
.form-status[hidden] { display: none; }
.hp-field { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #CFC9BB; padding: 3.5rem 0 1.5rem; font-size: .93rem; margin-top: 0; }
.site-footer h2 { color: var(--mist-white); font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; letter-spacing: .04em; margin: 0 0 .8rem; }
.site-footer a { color: #E8DDBF; text-decoration: none; }
.site-footer a:hover { color: #F0C870; text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-disclaimer { margin-top: 2.5rem; padding: 1.2rem; border: 1px solid #3A3A3A; border-radius: var(--radius); background: #111; color: #D4CDBD; font-size: .88rem; }
.footer-disclaimer p { margin: 0 0 .5rem; }
.footer-disclaimer p:last-child { margin: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid #333; font-size: .85rem; }
.linklike { background: none; border: 0; color: #E8DDBF; font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 500; max-width: 560px;
  background: var(--surface); color: var(--text); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); padding: 1.3rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.15rem; margin: 0 0 .4rem; }
.cookie-banner p { font-size: .9rem; margin-bottom: .8rem; }
.cookie-options { border: 0; padding: 0; margin: 0 0 1rem; }
.cookie-options[hidden] { display: none; }
.cookie-options legend { font-weight: 700; margin-bottom: .4rem; font-size: .92rem; }
.cookie-option { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; margin-bottom: .5rem; }
.cookie-option input { margin-top: .3rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-actions .btn { min-height: 40px; padding: .5rem 1rem; font-size: .88rem; }
.btn--outline { border-color: var(--oxalis-green); color: var(--oxalis-green); background: transparent; }
.btn--outline:hover { background: var(--oxalis-green); color: var(--mist-white); }

/* ---------- Misc ---------- */
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); margin: 2rem 0 0; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: rgba(10,31,15,.55); border: 1px solid rgba(200,150,42,.5); border-radius: var(--radius); padding: 1rem; }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.35rem; color: #F0C870; }
.stat span { font-size: .85rem; color: #E6E2D6; }
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 1.8rem; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--oxalis-green); font-weight: 700; }
.updated { font-size: .88rem; color: var(--text-muted); }
.legal h2 { font-size: 1.45rem; }
.cta-band { background: var(--deep-jungle); color: var(--mist-white); border-radius: var(--radius-lg); padding: 2rem; display: grid; gap: 1rem; }
.cta-band h2 { color: var(--mist-white); margin: 0; }
.cta-band p { color: #E0DCCF; margin: 0; }
@media (min-width: 800px) { .cta-band { grid-template-columns: 1fr auto; align-items: center; } }
