/* ===========================================================
   DECKED OUT RV — shared stylesheet
   RV-parts affiliate / SEO content site
   =========================================================== */

:root {
  --asphalt: #20402f;     /* deep pine — headers/footers/hero overlay */
  --asphalt-2: #16301f;
  --steel: #586054;
  --fog: #f1eee2;         /* cream page bg */
  --paper: #fffdf7;       /* warm white cards */
  --line: #e3ddca;
  --amber: #c8772e;       /* warm bark/trail accent */
  --amber-dark: #a85f1e;
  --pine: #2e7d5b;        /* secondary green */
  --ink: #26302a;         /* dark green-charcoal text */
  --muted: #6f6a5c;
  --star: #e0a52a;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(29,33,37,.08);
  --shadow-lg: 0 10px 30px rgba(29,33,37,.14);
  --wrap: 1080px;
  --font: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--fog);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

a { color: var(--amber-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 1.6em 0 .5em; }
h3 { font-size: 1.2rem; margin: 1.2em 0 .4em; }

img { max-width: 100%; display: block; }

/* ---------- Top bar / nav ---------- */
.site-header {
  background: var(--asphalt);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: .06em;
  color: #fff;
  text-transform: uppercase;
}
.brand:hover { text-decoration: none; }
.brand .mark {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  background: var(--amber);
  color: var(--asphalt);
  border-radius: 8px;
  font-weight: 900;
  transform: skewX(-8deg);
}
.brand .mark span { transform: skewX(8deg); }
.brand .logo { height: 56px; width: auto; display: block; }
.nav-links { display: flex; gap: 22px; flex-wrap: wrap; }
.nav-links a {
  color: #d7dce0;
  font-weight: 600;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.nav-links a:hover { color: var(--amber); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--amber);
  color: var(--asphalt);
  font-weight: 800;
  padding: 12px 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: .9rem;
  transition: transform .08s ease, background .15s ease;
}
.btn:hover { background: var(--amber-dark); text-decoration: none; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(rgba(22,48,31,.55), rgba(13,28,18,.72)),
    url("images/bg-3.jpg") center/cover no-repeat;
  color: #fff;
  padding: 84px 0 92px;
  text-align: center;
}
.hero p.kicker {
  color: var(--amber);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 0 12px;
  font-size: .85rem;
}
.hero h1 { color: #fff; max-width: 760px; margin: 0 auto .5em; }
.hero .sub { color: #c7ccd1; font-size: 1.15rem; max-width: 620px; margin: 0 auto 28px; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-head h2 { margin-top: 0; }
.section-head p { color: var(--muted); }

/* ---------- Category / card grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform .1s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: #eaf1df; color: #3b6d2f;
  border-radius: 10px; font-size: 1.4rem; margin-bottom: 14px;
}
.card h3 { margin-top: 0; }
.card p { color: var(--muted); margin: 0 0 14px; }
.card a.more { font-weight: 700; }

/* ---------- Article layout ---------- */
.article { background: var(--paper); }
.article .lead {
  font-size: 1.15rem; color: var(--steel);
  border-left: 4px solid var(--amber); padding-left: 16px; margin: 18px 0 28px;
}
.article-wrap { max-width: 800px; margin: 0 auto; padding: 48px 20px 64px; }
.byline { color: var(--muted); font-size: .9rem; margin-bottom: 6px; }
.toc {
  background: var(--fog); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 22px; margin: 24px 0;
}
.toc strong { display: block; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .05em; font-size: .8rem; color: var(--muted); }
.toc ol { margin: 0; padding-left: 20px; }

/* ---------- Comparison table ---------- */
.table-scroll { overflow-x: auto; margin: 24px 0; }
table.compare {
  width: 100%; border-collapse: collapse; min-width: 560px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
table.compare th, table.compare td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
table.compare thead th { background: var(--asphalt); color: #fff; text-transform: uppercase; letter-spacing: .03em; font-size: .8rem; }
table.compare tbody tr:nth-child(even) { background: #fafbfa; }
table.compare .pick { color: var(--amber-dark); font-weight: 800; }

/* ---------- Review card ---------- */
.review {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; margin: 26px 0; box-shadow: var(--shadow);
}
.review .rank {
  display: inline-block; background: var(--asphalt); color: #fff;
  font-weight: 800; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 10px;
}
.review .rank.best { background: var(--amber); color: var(--asphalt); }
.review h3 { margin-top: 6px; }
.stars { color: var(--star); letter-spacing: 2px; font-size: 1.05rem; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 16px 0; }
.proscons ul { margin: 6px 0 0; padding-left: 18px; }
.proscons .pros li { color: #1f6b48; }
.proscons .cons li { color: #9a3b2f; }
.proscons h4 { margin: 0; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Affiliate placeholder button ---------- */
.aff {
  display: inline-block; background: var(--amber); color: var(--asphalt);
  font-weight: 800; padding: 11px 20px; border-radius: 10px; text-transform: uppercase;
  letter-spacing: .02em; font-size: .85rem;
}
.aff:hover { background: var(--amber-dark); text-decoration: none; }
.aff[data-placeholder]::after { content: " ↗"; }
.placeholder-note {
  font-size: .8rem; color: #9a3b2f; background: #fdecea;
  border: 1px dashed #e0a59c; border-radius: 8px; padding: 8px 12px; margin: 10px 0;
}

/* ---------- Disclosure strip ---------- */
.disclosure-strip {
  background: #fff7ee; border: 1px solid #f3d9b8; color: #6b4a1d;
  font-size: .85rem; border-radius: 10px; padding: 12px 16px; margin: 0 0 22px;
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: linear-gradient(rgba(22,48,31,.74),rgba(13,28,18,.82)), url("images/bg-4.jpg") center/cover no-repeat;
  color: #fff; border-radius: 16px;
  padding: 44px; text-align: center;
}
.newsletter h2 { color: #fff; margin-top: 0; }
.newsletter p { color: #c7ccd1; max-width: 520px; margin: 0 auto 20px; }
.newsletter form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; }
.newsletter input[type=email] {
  flex: 1; min-width: 220px; padding: 13px 16px; border-radius: 10px; border: none; font-size: 1rem;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--asphalt); color: #aeb6bd; padding: 48px 0 28px; margin-top: 60px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; margin: 0 0 12px; }
.site-footer a { color: #aeb6bd; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: var(--amber); text-decoration: none; }
.site-footer .fineprint {
  border-top: 1px solid #333b42; margin-top: 30px; padding-top: 18px;
  font-size: .8rem; color: #7f888f; line-height: 1.7;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .site-footer .co