/* =========================================================================
   Stag Park Caravan Site — design system
   Brand: deep forest green · sage · cream · elegant serif + script logo
   Hand-authored, dependency-free. Edit the tokens below to re-theme.
   ========================================================================= */

:root {
  /* Brand colours (from the original Canva design) */
  --forest-deep: #26361a;
  --forest:      #2f4320;
  --sage:        #7d9c69;
  --sage-dark:   #6d8b5a;
  --sage-tint:   #e7eede;
  --cream:       #f5efe1;
  --cream-2:     #efe7d4;
  --ink:         #202a17;
  --ink-soft:    #45503a;
  --gold:        #c99a3f;   /* review stars / small accents */
  --white:       #ffffff;

  /* Typography */
  --font-script: "Pinyon Script", "Segoe Script", cursive;
  --font-serif:  "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:   "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1140px;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 30, 12, .12);
  --shadow-sm: 0 4px 14px rgba(20, 30, 12, .10);
}

/* ------------------------------- reset -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.12; font-weight: 600; margin: 0 0 .5em; color: var(--forest); }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ------------------------------ layout -------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section--forest { background: var(--forest); color: var(--cream); }
.section--forest-deep { background: var(--forest-deep); color: var(--cream); }
.section--sage { background: var(--sage); color: #14210b; }
.section--cream { background: var(--cream); }
.section--cream-2 { background: var(--cream-2); }
.section--forest h1, .section--forest h2, .section--forest h3,
.section--forest-deep h1, .section--forest-deep h2, .section--forest-deep h3,
.section--sage h1, .section--sage h2, .section--sage h3 { color: inherit; }
.center { text-align: center; }
.measure { max-width: 62ch; }
.measure.center { margin-inline: auto; }
.eyebrow { font-family: var(--font-sans); letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; font-weight: 800; opacity: .85; margin-bottom: .6rem; }

/* grids */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

/* ------------------------------ buttons ------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-sans); font-weight: 800; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .12s ease, background .2s ease, color .2s ease;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--gold); color: #2a1e05; }
.btn--primary:hover { background: #d9ab52; }
.btn--forest { background: var(--forest); color: var(--cream); }
.btn--forest:hover { background: var(--forest-deep); }
.btn--outline { background: transparent; border-color: currentColor; color: inherit; }
.btn--outline:hover { background: rgba(255,255,255,.12); }
.btn--ghost-dark { background: transparent; border-color: var(--forest); color: var(--forest); }
.btn--ghost-dark:hover { background: var(--forest); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-row.center { justify-content: center; }

/* --------------------------- header / nav ----------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(38, 54, 26, .96);
  backdrop-filter: saturate(1.2) blur(6px);
  color: var(--cream);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .6rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--cream); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-word { font-family: var(--font-script); font-size: 1.9rem; line-height: .8; color: var(--cream); }
.brand-sub { display:block; font-family: var(--font-sans); font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; opacity: .8; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--cream); text-decoration: none; padding: .5rem .7rem; border-radius: 8px; font-weight: 600; font-size: .96rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: rgba(255,255,255,.14); }
.nav-cta { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; background: none; border: 0; color: var(--cream); cursor: pointer; padding: .4rem; }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 940px) {
  /* No-JS fallback: the menu is always usable — links wrap onto their own
     full-width row below the bar, and the (JS-only) toggle button stays hidden. */
  .nav { flex-wrap: wrap; }
  .nav > nav { flex: 1 1 100%; order: 3; }
  .nav-links { width: 100%; justify-content: center; }
  .nav-links a { padding: .7rem 1rem; }

  /* JS enhancement: collapse into a button-toggled dropdown. */
  .js .nav > nav { flex: 0 0 auto; order: 0; }
  .js .nav-toggle { display: inline-flex; }
  .js .nav-links {
    position: absolute; inset: 100% 0 auto 0; width: auto;
    flex-direction: column; align-items: stretch;
    background: var(--forest-deep); padding: .6rem; gap: .2rem;
    box-shadow: var(--shadow); display: none;
  }
  .js .nav-links.open { display: flex; }
  .nav .btn--phone-lg { display: none; }
}

/* ------------------------------- hero --------------------------------- */
.hero { position: relative; background: var(--forest); color: var(--cream); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(1rem, 4vw, 3rem); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.hero h1 { color: var(--cream); }
.hero .lede { font-size: 1.2rem; max-width: 46ch; opacity: .95; }
.hero-figure { position: relative; justify-self: center; }
.hero-figure img { width: min(360px, 78vw); filter: drop-shadow(0 20px 30px rgba(0,0,0,.4)); }
.hero-badge { display:inline-flex; align-items:center; gap:.5rem; background: rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.22); padding:.45rem .9rem; border-radius:999px; font-weight:700; font-size:.9rem; margin-bottom:1rem; }
.hero-badge .stars { color: var(--gold); letter-spacing: 1px; }
@media (max-width: 820px) { .hero-inner { grid-template-columns: 1fr; text-align: center; } .hero .lede { margin-inline:auto; } .hero .btn-row { justify-content:center; } .hero-figure { order:-1; } .hero-figure img { width: min(240px, 60vw); } }

/* image with an arched top (echoes the original design) */
.arch { border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sage-tint); }
.arch img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

/* cards */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.card .card-body { padding: 1.2rem 1.3rem 1.4rem; }
.card h3 { margin-bottom: .35rem; }
.feature { text-align: center; }
.feature .arch { margin: 0 auto 1rem; max-width: 300px; }
.feature h3 { color: var(--forest); }
.section--forest .feature h3, .section--sage .feature h3 { color: inherit; }

/* icon feature (SVG line art) */
.icon-feature { text-align:center; }
.icon-feature svg { width: 90px; height: 90px; margin: 0 auto .6rem; display:block; }
.section--forest .icon-feature svg, .section--sage .icon-feature svg { color: currentColor; }

/* split media/text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 4vw, 3rem); align-items: center; }
.split img.media { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split--reverse .split-text { order: 2; }
@media (max-width: 820px) { .split, .split--reverse { grid-template-columns: 1fr; } .split--reverse .split-text { order: 0; } }

/* facts / list checks */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.check-list li { position: relative; padding-left: 1.9rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.1rem; height: 1.1rem; background: var(--sage); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/78% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/78% no-repeat;
}
.section--forest .check-list li::before, .section--sage .check-list li::before { background: var(--gold); }

/* local guide list */
.guide-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.guide-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.guide-list .dist { font-weight: 800; white-space: nowrap; opacity: .9; }
.section--cream .guide-list li, .section--cream-2 .guide-list li { border-color: rgba(0,0,0,.12); }

/* pricing table */
.price-hero { text-align:center; }
.price-tag { font-family: var(--font-serif); font-size: clamp(3rem, 9vw, 5rem); font-weight: 700; line-height: 1; color: var(--forest); }
.section--forest .price-tag { color: var(--cream); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table.price { width: 100%; border-collapse: collapse; background: var(--white); min-width: 520px; }
table.price th, table.price td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid #e7e2d3; }
table.price thead th { background: var(--forest); color: var(--cream); font-family: var(--font-sans); }
table.price tbody tr:last-child td { border-bottom: 0; }
table.price td.num { font-weight: 800; white-space: nowrap; }

/* reviews */
.review { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 1.4rem; }
.section--cream .review, .section--cream-2 .review { background: var(--white); border-color: #e7e2d3; box-shadow: var(--shadow-sm); }
.review .stars { color: var(--gold); letter-spacing: 2px; font-size: 1.1rem; margin-bottom: .5rem; }
.review .who { font-family: var(--font-script); font-size: 1.6rem; margin-top: .6rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; }
.gallery img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; }
@media (max-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* FAQ accordion (details/summary — works with JS off) */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .7rem; }
.faq details { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid #e7e2d3; overflow: hidden; }
.faq summary { cursor: pointer; font-weight: 800; font-family: var(--font-serif); font-size: 1.2rem; color: var(--forest); padding: 1rem 1.2rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items:center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--sage-dark); }
.faq details[open] summary::after { content: "\2013"; }
.faq .faq-body { padding: 0 1.2rem 1.2rem; }

/* callout / cta band */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: .4rem; }

/* contact info blocks */
.info-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }
.info-cards--two { grid-template-columns: repeat(2, minmax(0,1fr)); max-width: 760px; margin-inline: auto; }
@media (max-width: 780px){ .info-cards { grid-template-columns: 1fr; } }
.info-card { background: var(--white); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.info-card svg { width: 34px; height: 34px; color: var(--sage-dark); margin-bottom:.5rem; }
.info-card a { font-weight: 700; }

/* NAP address */
address.nap { font-style: normal; line-height: 1.8; }

/* ------------------------------ footer -------------------------------- */
.site-footer { background: var(--forest-deep); color: var(--cream); padding-block: clamp(2.5rem,6vw,4rem) 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--gap); }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; } }
.site-footer h4 { color: var(--cream); font-family: var(--font-sans); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; opacity: .8; margin-bottom: .8rem; }
.site-footer a { color: var(--cream); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-links a { text-decoration: none; opacity: .9; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer-brand .brand-word { font-size: 2.4rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 2rem; padding-top: 1.2rem; font-size: .85rem; opacity: .75; display:flex; flex-wrap:wrap; gap:.4rem 1.2rem; justify-content: space-between; }

/* breadcrumbs */
.crumbs { font-size: .85rem; padding-block: .8rem; opacity: .8; }
.crumbs a { text-decoration: none; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.crumbs li::after { content: "›"; margin-left: .4rem; opacity: .6; }
.crumbs li:last-child::after { content: ""; }

/* small print / notes */
.note { font-size: .9rem; opacity: .85; }
.pill { display:inline-block; background: var(--sage-tint); color:#2c3b1e; font-weight:700; font-size:.8rem; padding:.25rem .7rem; border-radius:999px; }

/* utilities */
.mt-0{margin-top:0}.mb-0{margin-bottom:0}.mt-1{margin-top:1rem}.mt-2{margin-top:2rem}
.stack > * + * { margin-top: 1rem; }
.visually-hidden { position:absolute!important; width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn:hover { transform: none; } }
