/* ==========================================================================
   11 Oaks R.V. Park - shared stylesheet
   Owned by the orchestrator. Page agents may ONLY append page-scoped rules
   at the end, each under a banner comment reading:  page: SLUG
   Do not edit the token, chrome, or shared-component sections above.
   ========================================================================== */

:root {
  --brown: #8f573e;
  --brown-dark: #7a4a34;
  --green: #59823e;
  --green-dark: #4a6d33;
  --beige: #ece3df;
  --beige-soft: #f4eeeb;
  --cream: #ffffff;
  --ink: #333333;
  --muted: #646464;
  --line: #e2ddd8;
  --footer-bg: #212121;
  --footer-text: #c9c5c0;
  --shadow-card: 0 10px 30px rgba(0,0,0,.08);
  --shadow-soft: 0 6px 18px rgba(0,0,0,.06);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1200px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Barlow", Arial, Helvetica, sans-serif;
}

/* ---- reset / base ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); font-weight: 700; margin: 0 0 .5em; line-height: 1.2; }
p { margin: 0 0 1em; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: #fff; padding: 8px 14px; z-index: 1000; }

/* ---- top contact bar ---- */
.topbar { background: var(--brown); color: #fff; font-size: 13px; }
.topbar-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 7px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: 7px; }
.topbar-contact { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-social { display: flex; align-items: center; gap: 10px; }
.topbar img { width: 14px; height: 14px; filter: brightness(0) invert(1); }
.topbar-social img { width: 16px; height: 16px; }

/* ---- header / nav ---- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 10px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand img { width: 92px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-family: var(--serif); font-size: 17px; color: var(--green);
  transition: color .2s ease; white-space: nowrap;
}
.main-nav a:hover, .main-nav a:focus, .main-nav a[aria-current="page"] { color: var(--brown); }
.nav-cta {
  background: var(--green); color: #fff !important; padding: 11px 26px; border-radius: 999px;
  transition: background .2s ease, transform .2s ease;
}
.nav-cta:hover { background: var(--green-dark); color: #fff !important; }
.nav-toggle, #nav-check { display: none; }

/* ---- buttons ---- */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 13px 30px; border-radius: 999px; cursor: pointer; border: none;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-brown { background: var(--brown); color: #fff; }
.btn-brown:hover { background: var(--brown-dark); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-outline-light { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.85); }
.btn-outline-light:hover { background: rgba(255,255,255,.22); }

/* ---- sections ---- */
.section { padding: 72px 0; }
.section-beige { background: var(--beige); }
.section-green { background: var(--green); color: #fff; }
.section-title { font-size: 34px; color: var(--brown); text-align: center; margin-bottom: 34px; }
.section-green .section-title { color: #fff; }
.eyebrow { color: var(--green); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 600; }

/* ---- interior page hero banner ---- */
.page-hero {
  position: relative; min-height: 360px; display: flex; align-items: center;
  background: #6f7d55 url("orig/21.jpg") center/cover no-repeat;
}
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.18); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-title { color: #fff; font-size: 56px; margin: 0; text-shadow: 0 2px 12px rgba(0,0,0,.35); }

/* ---- generic cards ---- */
.card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }

/* ---- lead form (shared) ---- */
.lead-form { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: #555; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 12px 15px; border: 1px solid #d9d4cf; border-radius: 999px;
  font-family: var(--sans); font-size: 15px; color: var(--ink); background: #fff;
}
.field textarea { border-radius: 16px; min-height: 120px; resize: vertical; background: #f7f6f4; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(89,130,62,.15); }
.hp-field { position: absolute; left: -9999px; overflow: hidden; width: 1px; height: 1px; }
.form-actions { text-align: right; margin-top: 8px; }

/* ---- contact info line ---- */
.contact-line { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin: 22px 0 34px; }
.contact-line a, .contact-line span { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 16px; }
.contact-line img { width: 16px; height: 16px; }

/* ---- footer ---- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-brand img { width: 150px; height: auto; border-radius: 6px; margin-bottom: 14px; }
.footer-social { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.footer-social img { width: 26px; height: 26px; }
.site-footer h3 { color: #fff; font-size: 22px; margin-bottom: 18px; }
.site-footer p { color: var(--footer-text); font-size: 14.5px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--footer-text); transition: color .2s ease; }
.footer-links a:hover { color: #fff; }
.footer-contact p { margin-bottom: 14px; }
.footer-bottom { background: var(--brown); color: #fff; text-align: center; padding: 12px; margin-top: 54px; font-size: 13.5px; }

/* ==========================================================================
   motion - plain CSS only. On-load reveals always finish visible because the
   animation always runs (fill-mode both). No static rule ever hides content.
   ========================================================================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }

.reveal { animation: fadeUp .8s ease both; }
.reveal-1 { animation: fadeUp .8s ease .12s both; }
.reveal-2 { animation: fadeUp .8s ease .24s both; }
.reveal-3 { animation: fadeUp .8s ease .36s both; }
.fade-in { animation: fadeIn 1s ease both; }
.zoom-in { animation: zoomIn .7s ease both; }

/* ---- shared: pill photo collage (home + about) ---- */
.about-grid { display: grid; grid-template-columns: 431px 1fr; gap: 47px; align-items: center; }
.about-collage { position: relative; width: 100%; max-width: 431px; aspect-ratio: 431 / 482; }
.about-collage img {
  position: absolute; object-fit: cover; border: 10px solid var(--green); border-radius: 999px;
  width: 48.03%; height: 67.01%;
}
.about-collage .collage-1 { left: 0; top: 0; border-color: var(--brown); }
.about-collage .collage-2 { left: 0; top: 69.92%; height: 30.08%; border-radius: 999px 999px 0 0; }
.about-collage .collage-3 { right: 0; top: 19.5%; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-collage { margin: 0 auto; }
}

/* ---- shared: Google map band (home + contact) ---- */
.map-band { height: 400px; background: #3c3d41; }
.map-band iframe {
  display: block; width: 100%; height: 100%; border: 0;
  /* approximates the source's dark custom map style (no API key for styled maps) */
  filter: grayscale(1) invert(.85) brightness(1.5);
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---- responsive chrome ---- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 40px; border: 1px solid var(--green); border-radius: 8px;
    color: var(--green); background: #fff; font-size: 22px; cursor: pointer;
  }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; box-shadow: 0 12px 24px rgba(0,0,0,.12);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  #nav-check:checked ~ .main-nav { max-height: 520px; }
  .main-nav a { padding: 14px 24px; border-top: 1px solid var(--line); font-size: 18px; }
  .nav-cta { border-radius: 0; text-align: center; }
  .header-inner { position: relative; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero-title { font-size: 40px; }
  .section-title { font-size: 28px; }
  .section { padding: 52px 0; }
  .topbar-inner { justify-content: center; }
}
