/* ==========================================================================
   Northwoods Rentals — shared stylesheet
   Hand-coded static site. Edit :root tokens to re-skin across the rewrite cycle.
   ========================================================================== */

:root {
  --green-900: #1b3a2b;
  --green-700: #2f5d43;
  --green-500: #4a8b63;
  --sand-100:  #f5f1e8;
  --sand-200:  #ebe3d4;
  --ink-900:   #1d2421;
  --ink-600:   #4c5650;
  --ink-400:   #7b847e;
  --amber-500: #d98a2b;
  --white:     #ffffff;
  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 6px 24px rgba(27, 58, 43, 0.12);
  --shadow-sm: 0 2px 8px rgba(27, 58, 43, 0.08);
  --maxw:      1120px;
  --font:      "Helvetica Neue", Arial, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3 { line-height: 1.2; color: var(--green-900); margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; color: var(--ink-600); }
a  { color: var(--green-700); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.center { text-align: center; }
.muted { color: var(--ink-400); font-size: 0.92rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
  font-size: 1rem;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--amber-500); color: var(--white); }
.btn--primary:hover { box-shadow: var(--shadow-sm); filter: brightness(1.05); }
.btn--ghost { background: transparent; color: var(--green-900); border-color: var(--green-700); }
.btn--ghost:hover { background: var(--green-700); color: var(--white); }
.btn--block { display: block; width: 100%; text-align: center; }

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 241, 232, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand-200);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--green-900); text-decoration: none; font-size: 1.15rem; }
.brand .mark { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; gap: 22px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink-900); font-weight: 600; font-size: 0.96rem; }
.nav-links a:hover { color: var(--green-500); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--green-900); }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 1; padding-top: 84px; padding-bottom: 84px; }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero p { color: rgba(255,255,255,0.88); font-size: 1.15rem; max-width: 52ch; }
.hero .cta-row { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-deco { position: absolute; inset: 0; opacity: 0.12; z-index: 0; }

/* ---- Fleet grid ---- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .12s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .thumb {
  aspect-ratio: 16 / 10;
  background: var(--green-500);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.card .thumb svg { width: 64px; height: 64px; opacity: 0.92; }
.card .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .body h3 { margin: 0; }
.card .tag { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--green-700); background: var(--sand-200); padding: 3px 9px; border-radius: 999px; align-self: flex-start; }
.card .rate { font-weight: 800; color: var(--green-900); font-size: 1.05rem; }
.card .body .btn { margin-top: auto; }

/* ---- Steps ---- */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.step { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--amber-500); color: var(--white); font-weight: 800;
  margin-bottom: 12px;
}

/* ---- Item page ---- */
.item-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: start; }
.tour-frame {
  aspect-ratio: 16 / 10; width: 100%;
  border-radius: var(--radius); border: 1px dashed var(--green-500);
  background: var(--sand-200);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--ink-600); padding: 20px;
}
.specs { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.specs th, .specs td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--sand-200); }
.specs th { width: 45%; color: var(--green-900); font-weight: 700; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }

.includes { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.includes li { padding-left: 26px; position: relative; color: var(--ink-600); }
.includes li::before { content: "✓"; position: absolute; left: 0; color: var(--green-500); font-weight: 800; }

.embed-box {
  border: 1px dashed var(--ink-400); border-radius: var(--radius);
  background: var(--white); padding: 28px; text-align: center; color: var(--ink-600);
}
.embed-box code { background: var(--sand-200); padding: 2px 6px; border-radius: 4px; font-size: 0.85rem; }

/* ---- Quote calculator ---- */
.quote-wrap { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; color: var(--green-900); margin-bottom: 6px; font-size: 0.92rem; }
.field input, .field select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--sand-200);
  border-radius: var(--radius-sm); font-size: 1rem; font-family: var(--font); background: var(--white);
}
.field input:focus, .field select:focus { outline: 2px solid var(--green-500); border-color: var(--green-500); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkbox-grid { display: grid; gap: 8px; }
.checkbox-grid label { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink-600); }
.checkbox-grid input { width: auto; }

.quote-out { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; position: sticky; top: 88px; }
.quote-line { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--sand-200); font-size: 0.95rem; }
.quote-line span:last-child { font-weight: 700; color: var(--green-900); }
.quote-line.total { border-bottom: 0; font-size: 1.15rem; padding-top: 14px; }
.quote-line.total span:last-child { color: var(--green-700); }
.deposit-note { background: var(--sand-100); border-radius: var(--radius-sm); padding: 12px 14px; margin-top: 14px; font-size: 0.85rem; color: var(--ink-600); }

/* ---- Banners / notes ---- */
.note {
  border-left: 4px solid var(--amber-500); background: #fff7ec;
  padding: 14px 18px; border-radius: var(--radius-sm); margin: 18px 0; color: var(--ink-600); font-size: 0.92rem;
}
.note strong { color: var(--ink-900); }

/* ---- FAQ ---- */
.faq details { background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); padding: 16px 20px; margin-bottom: 12px; }
.faq summary { font-weight: 700; color: var(--green-900); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--amber-500); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }

/* ---- Footer ---- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,0.82); margin-top: 60px; }
.site-footer .container { padding-top: 48px; padding-bottom: 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: var(--white); margin: 0 0 12px; font-size: 1rem; }
.site-footer a { color: rgba(255,255,255,0.82); text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 32px; padding-top: 18px; font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ---- Page header (sub-pages) ---- */
.page-head { background: linear-gradient(135deg, var(--green-700), var(--green-500)); color: var(--white); padding: 56px 0; }
.page-head h1 { color: var(--white); margin-bottom: 8px; }
.page-head p { color: rgba(255,255,255,0.9); margin: 0; max-width: 60ch; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-bottom: 10px; }
.breadcrumb a { color: rgba(255,255,255,0.9); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .item-hero { grid-template-columns: 1fr; }
  .quote-wrap { grid-template-columns: 1fr; }
  .quote-out { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 620px) {
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; background: var(--sand-100); padding: 16px 24px;
    border-bottom: 1px solid var(--sand-200); gap: 14px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .field-row { grid-template-columns: 1fr; }
}
