/* Top Care Docs — site styles. Brand: Happy Camper Productions style guide
   (Libre Baskerville + Outfit; Forest, Deep Pine, Campfire, Ember, Canvas, Cream). */
:root {
  --forest: #3D5A47;
  --deep-pine: #2A3F30;
  --campfire: #C67B4E;
  --campfire-dark: #A8633A;
  --campfire-deeper: #8F5230;
  --campfire-text: #9A5A33;  /* campfire tone for small text on light backgrounds (AA) */
  --ember: #E8956A;
  --sage: #6B8E5A;
  --bark: #4A3C32;
  --trail: #8B7355;
  --stone: #6B6560;
  --cream: #FDFBF7;
  --canvas: #F5F1E8;
  --line: #E5DED0;
  --ink: #3A302A;
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1120px;
  --serif: 'Libre Baskerville', Georgia, serif;
  --sans: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow: 0 6px 24px rgba(42, 63, 48, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.site {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
}
img, video { max-width: 100%; display: block; }
a { color: var(--forest); }
a:hover { color: var(--campfire-dark); }
.site h1, .site h2, .site h3 { font-family: var(--serif); color: var(--deep-pine); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
.site h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -.01em; }
.site h2 { font-size: clamp(26px, 3.4vw, 36px); }
.site h3 { font-size: 20px; }
.site p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block; font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--campfire-text); margin-bottom: 12px;
}
.lead { font-size: 19px; color: var(--stone); max-width: 680px; }
.section { padding: 88px 0; }
.section.alt { background: var(--canvas); }
.section.dark { background: var(--deep-pine); color: rgba(255,255,255,.82); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: 16px; text-decoration: none;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s; cursor: pointer;
}
.btn-primary { background: var(--campfire-dark); color: #fff; }
.btn-primary:hover { background: var(--campfire-deeper); color: #fff; }
.btn-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-outline:hover { background: var(--forest); color: #fff; }
.btn-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-light:hover { background: #fff; color: var(--deep-pine); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(253,251,247,.96);
  backdrop-filter: saturate(140%) blur(6px); border-bottom: 1px solid var(--line);
  font-family: var(--sans);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--deep-pine); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 20px; letter-spacing: -.01em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; color: var(--bark); font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--campfire-dark); }
.nav .btn { padding: 10px 18px; font-size: 14px; color: #fff; }
.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--deep-pine);
  border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; background: #fff;
}
.menu summary::-webkit-details-marker { display: none; }
.menu-panel {
  position: absolute; right: 0; top: 48px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; width: 250px;
  display: flex; flex-direction: column;
}
.menu-panel a { padding: 12px 14px; border-radius: var(--radius-sm); text-decoration: none; color: var(--bark); font-weight: 500; }
.menu-panel a:hover { background: var(--canvas); }
@media (max-width: 880px) {
  .nav { display: none; }
  .menu { display: block; }
}

/* Hero */
.hero-home {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, var(--deep-pine) 0%, var(--forest) 70%, #4b6a52 100%);
}
.hero-home .wrap { position: relative; padding-top: 96px; padding-bottom: 104px; }
.hero-home h1 { color: #fff; max-width: 760px; }
.hero-home h1 em { color: var(--ember); font-style: italic; }
.hero-home .lead { color: rgba(255,255,255,.82); margin-bottom: 32px; }
.hero-home .eyebrow { color: var(--ember); }
.hero-ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 120px; }
.page-hero { background: var(--canvas); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-top: 72px; padding-bottom: 64px; }

/* Trust strip */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--bark); font-weight: 500; line-height: 1.4; }
.trust li svg { flex: none; width: 22px; height: 22px; color: var(--sage); margin-top: 1px; }
@media (max-width: 880px) { .trust ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust ul { grid-template-columns: 1fr; } }

/* Listing cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
@media (max-width: 400px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s;
  text-decoration: none; color: inherit;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(42,63,48,.14); color: inherit; }
.card-img { aspect-ratio: 16 / 10; background: var(--canvas) center / cover no-repeat; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.chip {
  align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--forest);
  background: #EAF0E6; border-radius: 999px; padding: 4px 12px; margin-bottom: 12px;
}
.card h3 { margin-bottom: 4px; }
.card .place { color: var(--stone); font-size: 15px; margin-bottom: 14px; }
.card ul { margin: 0 0 18px; padding: 0; list-style: none; }
.card li { position: relative; padding-left: 20px; font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.card li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--campfire); }
.card .more { margin-top: auto; font-weight: 600; color: var(--campfire-dark); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 920px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.section.dark .step { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--campfire); color: #fff; font-weight: 700; margin-bottom: 14px;
}
.step h3 { font-size: 18px; }
.step p { font-size: 15px; margin: 0; color: var(--stone); }
.section.dark .step p { color: rgba(255,255,255,.7); }

/* Two-column split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.panel.forest { background: var(--forest); color: rgba(255,255,255,.85); border: none; }
.panel.forest h2, .panel.forest h3 { color: #fff; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M8.2 13.6 4.6 10l-1.2 1.2 4.8 4.8 9-9-1.2-1.2z'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.crosses li::before { background: var(--campfire) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M5.6 4.4 10 8.8l4.4-4.4 1.2 1.2L11.2 10l4.4 4.4-1.2 1.2L10 11.2l-4.4 4.4-1.2-1.2L8.8 10 4.4 5.6z'/%3E%3C/svg%3E") center / 12px no-repeat; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature h3 { font-size: 18px; }
.feature p { font-size: 15px; color: var(--stone); margin: 0; }
.feature .icon { width: 42px; height: 42px; border-radius: 10px; background: var(--canvas); display: grid; place-items: center; margin-bottom: 14px; color: var(--forest); }
.feature .icon svg { width: 22px; height: 22px; }

/* Form blocks */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form-card iframe { width: 100%; border: none; min-height: 560px; }
.contact-fallback .btn { width: 100%; margin-top: 10px; }
.contact-fallback p { color: var(--stone); font-size: 15px; }
.note { font-size: 14px; color: var(--stone); background: var(--canvas); border-radius: var(--radius-sm); padding: 14px 16px; }

/* CTA band */
.cta-band { background: var(--campfire-dark); color: #fff; }
.cta-band .wrap { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; margin: 0; font-size: clamp(24px, 3vw, 32px); }
.cta-band p { margin: 6px 0 0; color: rgba(255,255,255,.88); }
.cta-band .btn-light:hover { color: var(--campfire-dark); }

/* Prose pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin-top: 1.6em; }

/* Footer */
.site-footer { background: var(--deep-pine); color: rgba(255,255,255,.7); font-family: var(--sans); font-size: 15px; line-height: 1.6; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 64px 24px 40px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; gap: 28px; } }
.site-footer h4 { font-family: var(--sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ember); margin: 0 0 14px; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .fine { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 24px 28px; font-size: 13px; color: rgba(255,255,255,.55); }
.site-footer .fine p { margin: 0 0 6px; }

/* Listing pages: leave room for their fixed mobile CTA */
@media (max-width: 768px) { body.listing-page .site-footer { padding-bottom: 76px; } }

/* Lead forms */
.lead-form h3 { margin-bottom: 4px; }
.lead-form .form-intro { color: var(--stone); font-size: 15px; margin-bottom: 18px; }
.lead-form .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 18px; }
.lead-form.compact .grid { grid-template-columns: 1fr; }
.lead-form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .lead-form .grid { grid-template-columns: 1fr; } }
.lead-form label { display: block; font-size: 14px; font-weight: 600; color: var(--bark); margin-bottom: 6px; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 11px 13px;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(61,90,71,.15); }
.lead-form .invalid { border-color: #B4442F; }
.lead-form .check { display: flex; gap: 10px; align-items: flex-start; }
.lead-form .check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--forest); }
.lead-form .check label { font-weight: 400; font-size: 14px; color: var(--stone); margin: 0; }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form button { width: 100%; }
.lead-form .form-status { margin: 12px 0 0; font-size: 14px; color: #B4442F; min-height: 1em; }
.lead-form .form-done { background: #EAF0E6; color: var(--deep-pine); border-radius: var(--radius-sm); padding: 16px 18px; font-weight: 500; margin: 0; }
.lead-form.sent .grid, .lead-form.sent button { display: none; }
.lead-form.sent .form-status { position: absolute; left: -9999px; }
.section.dark .panel, .section.dark .form-card { color: var(--ink); }
.section.dark .panel h3, .section.dark .form-card h3 { color: var(--deep-pine); }
details.reveal > summary { list-style: none; width: 100%; margin-bottom: 4px; }
details.reveal > summary::-webkit-details-marker { display: none; }
details.reveal[open] > summary { display: none; }

.lead-form .form-privacy { font-size: 13px; color: var(--stone); margin: 10px 0 0; }
