/* Audit Camping — Escale Ads */
:root {
  --green-900: #0f2b1a;
  --green-800: #1a3f2a;
  --green-700: #255a3e;
  --green-600: #347a55;
  --green-500: #4a9f72;
  --green-100: #e8f5ef;
  --gold: #d4a843;
  --gold-light: #f0d68a;
  --gold-dark: #b8922e;
  --cream: #faf6f0;
  --white: #ffffff;
  --gray-100: #f7f7f7;
  --gray-200: #e8e8e8;
  --gray-400: #a0a0a0;
  --gray-600: #666;
  --gray-800: #333;
  --gray-900: #1a1a1a;
  --score-low: #ef4444;
  --score-mid: #f59e0b;
  --score-high: #22c55e;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--cream);
  line-height: 1.6;
}

/* Header */
.site-header {
  background: var(--green-900);
  color: var(--white);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
}
.site-header .logo span { color: var(--white); font-weight: 400; }
.site-header .tagline { font-size: 0.85rem; color: var(--gold-light); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 50%, var(--green-500) 100%);
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
}
.hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 0.75rem; }
.hero h1 .gold { color: var(--gold); }
.hero p { font-size: 1.1rem; max-width: 700px; margin: 0 auto 2rem; opacity: 0.9; }
.hero-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--green-900);
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(212,168,67,0.4); }
.hero .sub { margin-top: 1rem; font-size: 0.9rem; opacity: 0.7; }

/* Sections */
.section { padding: 3rem 2rem; max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 1.75rem; font-weight: 700; color: var(--green-800); margin-bottom: 1.5rem; }
.section-title .gold { color: var(--gold-dark); }

/* How it works */
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.how-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-top: 4px solid var(--gold);
}
.how-card .num {
  display: inline-block;
  width: 32px; height: 32px;
  background: var(--gold);
  color: var(--green-900);
  border-radius: 50%;
  text-align: center;
  line-height: 32px;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.how-card h3 { margin-bottom: 0.5rem; color: var(--green-800); }
.how-card p { font-size: 0.9rem; color: var(--gray-600); }

/* Score bar */
.score-bar { display: flex; align-items: center; gap: 0.5rem; }
.score-bar .bar {
  flex: 1;
  height: 10px;
  background: var(--gray-200);
  border-radius: 5px;
  overflow: hidden;
}
.score-bar .bar-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 0.6s ease;
}
.score-bar .label {
  font-weight: 700;
  font-size: 1rem;
  min-width: 2.5rem;
  text-align: right;
}

/* Score colors */
.score-0 .bar-fill { background: var(--score-low); width: 0%; }
.score-1 .bar-fill { background: var(--score-low); width: 10%; }
.score-2 .bar-fill { background: var(--score-low); width: 20%; }
.score-3 .bar-fill { background: var(--score-low); width: 30%; }
.score-4 .bar-fill { background: var(--score-low); width: 40%; }
.score-5 .bar-fill { background: var(--score-mid); width: 50%; }
.score-6 .bar-fill { background: var(--score-mid); width: 60%; }
.score-7 .bar-fill { background: var(--score-mid); width: 70%; }
.score-8 .bar-fill { background: var(--score-high); width: 80%; }
.score-9 .bar-fill { background: var(--score-high); width: 90%; }
.score-10 .bar-fill { background: var(--score-high); width: 100%; }

/* Camping Cards Grid */
.camping-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.camping-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.camping-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.camping-card .card-body { padding: 1.25rem; flex: 1; }
.camping-card h3 { font-size: 1.1rem; color: var(--green-800); margin-bottom: 0.25rem; }
.camping-card .location { font-size: 0.85rem; color: var(--gray-600); margin-bottom: 0.75rem; }
.camping-card .card-footer {
  padding: 0.75rem 1.25rem;
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.camping-card .score-value { font-size: 1.25rem; font-weight: 800; }
.camping-card .cta-small {
  font-size: 0.8rem;
  color: var(--green-600);
  font-weight: 600;
}
.camping-card .status-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-pending { background: var(--gray-200); color: var(--gray-600); }
.badge-done { background: var(--green-100); color: var(--green-700); }

/* Camping Detail Page */
.camping-detail { max-width: 900px; margin: 0 auto; padding: 2rem; }
.camping-detail .breadcrumb { font-size: 0.85rem; color: var(--gray-600); margin-bottom: 1.5rem; }
.camping-detail .breadcrumb a { color: var(--green-600); text-decoration: none; }
.camping-detail h1 { font-size: 2rem; color: var(--green-800); }
.camping-detail .location-big { font-size: 1rem; color: var(--gray-600); margin-bottom: 1.5rem; }

/* Score big display */
.score-big {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.score-big .number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  min-width: 80px;
  text-align: center;
}
.score-big .meta { flex: 1; }
.score-big .meta .label { font-size: 0.85rem; color: var(--gray-600); margin-bottom: 0.5rem; }

/* Audit check grid */
.audit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.audit-item {
  background: var(--white);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  text-align: center;
}
.audit-item .icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.audit-item .name { font-size: 0.85rem; color: var(--gray-600); }
.audit-item .status { font-weight: 700; font-size: 0.95rem; }
.status-ok { color: var(--score-high); }
.status-missing { color: var(--score-low); }
.status-partial { color: var(--score-mid); }

/* Action plan */
.action-plan { background: var(--white); border-radius: 12px; padding: 1.5rem; margin: 1.5rem 0; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.action-plan h3 { color: var(--green-800); margin-bottom: 1rem; }
.action-plan ol { padding-left: 1.25rem; }
.action-plan li { margin-bottom: 0.75rem; padding-left: 0.5rem; }
.action-plan .priority { display: inline-block; padding: 0.15rem 0.5rem; border-radius: 4px; font-size: 0.75rem; font-weight: 700; }
.prio-high { background: #fef2f2; color: var(--score-low); }
.prio-med { background: #fffbeb; color: var(--score-mid); }
.prio-low { background: var(--green-100); color: var(--green-700); }

/* CTA block */
.cta-block {
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}
.cta-block h2 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.cta-block p { opacity: 0.9; margin-bottom: 1.5rem; }
.cta-block .price { font-size: 2rem; font-weight: 800; color: var(--gold); }
.cta-block .price-sub { font-size: 0.9rem; opacity: 0.7; }
.cta-button {
  display: inline-block;
  background: var(--gold);
  color: var(--green-900);
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  margin-top: 1rem;
  transition: transform 0.2s;
}
.cta-button:hover { transform: translateY(-2px); }

/* Footer */
.site-footer {
  background: var(--green-900);
  color: var(--white);
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
}
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer .powered { opacity: 0.6; margin-top: 0.5rem; font-size: 0.8rem; }

/* Filter bar */
.filter-bar { display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.filter-bar input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font);
}
.filter-bar input:focus { outline: none; border-color: var(--green-500); }
.filter-bar select {
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font);
  background: var(--white);
}

/* Stats counter */
.stats-bar {
  display: flex; gap: 2rem; justify-content: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 12px;
  margin: 2rem auto;
  max-width: 700px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.stat-item { text-align: center; }
.stat-item .num { font-size: 2rem; font-weight: 800; color: var(--green-700); }
.stat-item .label { font-size: 0.85rem; color: var(--gray-600); }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.75rem; }
  .hero { padding: 2.5rem 1rem; }
  .section { padding: 2rem 1rem; }
  .camping-grid { grid-template-columns: 1fr; }
  .score-big { flex-direction: column; text-align: center; }
  .stats-bar { flex-wrap: wrap; gap: 1rem; }
}

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.camping-card { animation: fadeUp 0.4s ease forwards; }
.camping-card:nth-child(2) { animation-delay: 0.05s; }
.camping-card:nth-child(3) { animation-delay: 0.1s; }
.camping-card:nth-child(4) { animation-delay: 0.15s; }
.camping-card:nth-child(5) { animation-delay: 0.2s; }

/* Refined audit interface */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 200; padding: .7rem 1rem; background: var(--gold); color: var(--green-900); border-radius: 6px; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.eyebrow { color: var(--green-600); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .6rem; }
.eyebrow.light { color: var(--gold-light); }
.hero { text-align: left; padding: 6rem 2rem 5rem; background: radial-gradient(circle at 80% 15%, rgba(74,159,114,.45), transparent 34%), linear-gradient(135deg, var(--green-900), var(--green-800)); }
.hero-inner { max-width: 1080px; margin: 0 auto; }
.hero h1 { max-width: 820px; font-size: clamp(2.4rem, 5vw, 4.7rem); line-height: 1.04; letter-spacing: -.04em; margin-bottom: 1.4rem; }
.hero h1 span { color: var(--gold-light); }
.hero-lead { max-width: 690px; font-size: 1.15rem; line-height: 1.75; opacity: .86; margin: 0 0 2rem; }
.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-cta, .hero-secondary { display: inline-flex; align-items: center; gap: .7rem; min-height: 48px; padding: .8rem 1.25rem; border-radius: 7px; font-weight: 800; text-decoration: none; }
.hero-cta { background: var(--gold); color: var(--green-900); }
.hero-secondary { border: 1px solid rgba(255,255,255,.35); color: white; }
.hero-footnote { margin-top: 2rem; color: rgba(255,255,255,.56); font-size: .78rem; }
.stats-wrap { padding: 0 1.5rem; margin-top: -2.5rem; position: relative; z-index: 2; }
.stats-wrap .stats-bar { max-width: 1080px; display: grid; grid-template-columns: repeat(4, 1fr); padding: 1.35rem 1.5rem; margin: 0 auto; }
.stats-wrap .stat-item { text-align: left; border-right: 1px solid var(--gray-200); padding-left: 1.25rem; }
.stats-wrap .stat-item:first-child { padding-left: 0; }
.stats-wrap .stat-item:last-child { border-right: 0; }
.stats-wrap .stat-item strong { display: block; font-size: 2rem; line-height: 1.1; color: var(--green-700); }
.stats-wrap .stat-item span { display: block; margin-top: .25rem; font-size: .78rem; color: var(--gray-600); }
.section { max-width: 1080px; padding: 4.5rem 1.5rem; }
.section-heading { margin-bottom: 2rem; }
.section-heading h2, .methodology h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; color: var(--green-900); letter-spacing: -.03em; }
.section-heading > p:last-child { color: var(--gray-600); margin-top: .7rem; }
.intro { padding-bottom: 2rem; }
.how-grid { gap: 1rem; margin: 0; }
.how-card { border-top: 0; border-left: 3px solid var(--gold); padding: 1.4rem; }
.how-card .step { display: block; color: var(--gold-dark); font-size: .75rem; font-weight: 800; letter-spacing: .1em; margin-bottom: 1.3rem; }
.how-card h3 { font-size: 1.05rem; }
.listing { max-width: none; background: #f1eee8; padding-left: max(1.5rem, calc((100vw - 1080px) / 2)); padding-right: max(1.5rem, calc((100vw - 1080px) / 2)); }
.filter-bar { align-items: center; margin-bottom: 1.5rem; }
.filter-bar input, .filter-bar select { min-height: 46px; background: white; border: 1px solid var(--gray-200); }
.filter-bar input { flex-basis: 260px; }
.filter-bar input:focus, .filter-bar select:focus { outline: 3px solid rgba(74,159,114,.25); border-color: var(--green-500); }
#results-count { color: var(--gray-600); font-size: .82rem; white-space: nowrap; }
.camping-grid { max-width: 1080px; margin: 0 auto; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.camping-card { min-height: 220px; border: 1px solid rgba(15,43,26,.06); }
.card-top { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem 0; }
.card-index { color: var(--gray-400); font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.stars { color: var(--gold-dark); letter-spacing: .08em; font-size: .78rem; }
.camping-card h3 { line-height: 1.25; }
.card-tool-line { color: var(--gray-400); font-size: .72rem; margin-top: 1rem; }
.camping-card .card-footer { min-height: 62px; }
.mini-score { display: flex; align-items: baseline; gap: .15rem; flex-wrap: wrap; }
.score-number { color: var(--green-800); font-size: 1.45rem; font-weight: 800; }
.score-denom { color: var(--gray-400); font-size: .8rem; }
.score-label { display: block; flex-basis: 100%; color: var(--gray-600); font-size: .68rem; }
.status-badge { white-space: nowrap; }
.badge-high { background: #e8f5ef; color: var(--green-700); }
.badge-mid { background: #fffbeb; color: #a16207; }
.badge-low { background: #fef2f2; color: #b91c1c; }
.badge-na { background: #f1f5f9; color: #64748b; }
.empty-state { padding: 3rem 1rem; text-align: center; color: var(--gray-600); }
.offer-section { padding-top: 1rem; }
.cta-block { padding: 3rem 1.5rem; }
.cta-block .eyebrow { color: var(--gold-light); }
.methodology { padding-top: 1rem; padding-bottom: 5rem; }
.methodology p:last-child { max-width: 760px; color: var(--gray-600); margin-top: 1rem; }
.detail-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.detail-heading h1 { letter-spacing: -.04em; }
.source-link { color: var(--green-700); font-size: .85rem; font-weight: 700; white-space: nowrap; }
.camping-detail { max-width: 1080px; padding: 2.5rem 1.5rem 4rem; }
.camping-detail .breadcrumb { margin-bottom: 3rem; }
.camping-detail .breadcrumb span { padding: 0 .45rem; color: var(--gray-400); }
.score-big { border: 1px solid rgba(15,43,26,.06); padding: 2rem; margin: 2rem 0; }
.score-big .number { color: var(--green-800); }
.score-big.score-0 .number, .score-big.score-1 .number, .score-big.score-2 .number, .score-big.score-3 .number, .score-big.score-4 .number,
.score-big.score-0 .meta h2, .score-big.score-1 .meta h2, .score-big.score-2 .meta h2, .score-big.score-3 .meta h2, .score-big.score-4 .meta h2 { color: var(--score-low); }
.score-big.score-5 .number, .score-big.score-5 .meta h2 { color: var(--score-mid); }
.score-big .number span { display: block; color: var(--gray-400); font-size: .85rem; font-weight: 600; margin-top: .25rem; }
.score-big .meta h2 { color: var(--green-800); font-size: 1.5rem; margin-bottom: .25rem; }
.score-big .meta p:not(.eyebrow) { color: var(--gray-600); font-size: .9rem; }
.score-track { height: 8px; overflow: hidden; background: var(--gray-200); border-radius: 9px; margin-top: 1rem; }
.score-track span { display: block; height: 100%; background: var(--score-low); border-radius: inherit; }
.score-5 .score-track span { background: var(--score-mid); }
.score-na .number, .score-na .meta h2 { color: #64748b; }
.notice { padding: 1rem 1.25rem; border-left: 3px solid var(--gold); background: #fffdf8; color: var(--gray-600); font-size: .9rem; margin-bottom: 3rem; }
.audit-grid { margin: 0 0 3rem; grid-template-columns: repeat(5, 1fr); }
.audit-item { min-height: 150px; border: 1px solid var(--gray-200); }
.tool-icon { color: var(--gold-dark); font-size: 1.5rem; margin-bottom: .6rem; }
.audit-item small { display: block; max-width: 100%; overflow-wrap: anywhere; color: var(--gray-600); font-size: .7rem; margin-top: .35rem; }
.detail-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1rem 0; }
.panel, .method-note { background: var(--white); border: 1px solid var(--gray-200); border-radius: 12px; padding: 1.5rem; }
.panel h2, .method-note h2 { color: var(--green-800); font-size: 1.25rem; margin-bottom: 1rem; }
.issue-list, .action-list, .id-list, .link-list, .method-note ul { padding-left: 1.2rem; }
.issue-list li, .action-list li, .id-list li, .link-list li, .method-note li { margin-bottom: .7rem; color: var(--gray-600); font-size: .9rem; overflow-wrap: anywhere; }
.action-list { list-style: none; padding-left: 0; }
.action-list li { display: flex; gap: .5rem; align-items: flex-start; }
.priority { flex: 0 0 auto; }
.id-list { list-style: none; padding-left: 0; }
.id-list li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--gray-200); padding-bottom: .6rem; }
.id-list code, .method-note code { overflow-wrap: anywhere; color: var(--green-700); font-size: .75rem; }
.link-list { list-style: none; padding-left: 0; }
.link-list a { color: var(--green-600); }
.data-summary { color: var(--gray-600); font-size: .88rem; margin-bottom: 1rem; }
.muted, .small { color: var(--gray-600); font-size: .85rem; }
.method-note { margin-top: 1rem; background: #f7faf8; }
.evidence-panel { margin: 1rem 0 1rem; background: #fffdf6; border-color: #f0e2c0; }
.journey-panel { margin: 1.25rem 0 2rem; border-left: 4px solid var(--green-600); }
.journey-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin: 1.25rem 0; }
.journey-metrics > div { background: #f7faf8; border: 1px solid var(--gray-200); border-radius: 8px; padding: .9rem; }
.journey-metrics strong, .journey-metrics span { display: block; }
.journey-metrics strong { color: var(--gray-600); font-size: .75rem; margin-bottom: .35rem; }
.journey-metrics span { color: var(--green-800); font-size: .9rem; font-weight: 700; overflow-wrap: anywhere; }
.journey-alert { background: #fef2f2; border-left: 3px solid var(--score-low); color: #991b1b; padding: .8rem 1rem; margin: .8rem 0; font-size: .9rem; }
.method-note .small { margin-top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 768px) { .journey-metrics { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  .hero { padding: 4rem 1.25rem 3.5rem; }
  .hero h1 { font-size: 2.5rem; }
  .stats-wrap .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stats-wrap .stat-item:nth-child(2) { border-right: 0; }
  .stats-wrap .stat-item:nth-child(3), .stats-wrap .stat-item:nth-child(4) { border-top: 1px solid var(--gray-200); padding-top: 1rem; }
  .detail-columns, .audit-grid { grid-template-columns: 1fr; }
  .detail-heading { display: block; }
  .source-link { display: inline-block; margin-top: 1rem; }
  .filter-bar { align-items: stretch; }
  .filter-bar input, .filter-bar select { width: 100%; flex-basis: 100%; }
  #results-count { padding: .4rem 0; }
}