/* ============================================
   Private Bins — Core Stylesheet v2
   Mobile-first, clean, conversion-focused
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark: #1a3c24;
  --green-mid: #2d6a3e;
  --green-light: #4a9d5b;
  --green-pale: #e8f5e9;
  --orange: #e67e22;
  --orange-dark: #cf6d17;
  --white: #ffffff;
  --off-white: #f9faf8;
  --grey-light: #eaeceb;
  --grey-mid: #7a8a7e;
  --grey-dark: #3a3f3c;
  --text: #2c2f2d;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1100px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-mid); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--green-dark); }

/* --- Typography --- */
h1, h2, h3, h4 {
  color: var(--green-dark);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.5em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.4em; }
h3 { font-size: 1.25rem; margin-bottom: 0.3em; }
p { margin-bottom: 1em; }

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 4rem 0; }
.section--alt { background: var(--off-white); }
.section--green { background: var(--green-dark); color: var(--white); }
.section--green h2,
.section--green h3 { color: var(--white); }

/* --- Grid --- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* --- Header / Nav --- */
.site-header {
  background: var(--green-dark);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.site-logo {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.site-logo span { color: var(--orange); }

.nav-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}
.site-nav { display: none; width: 100%; }
.site-nav.active { display: block; }
.site-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.site-nav a {
  display: block;
  color: var(--white);
  padding: 0.6rem 0;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.site-nav a:hover,
.site-nav a.active { opacity: 1; color: var(--orange); }

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; width: auto; }
  .site-nav ul { flex-direction: row; gap: 1.5rem; }
}

/* --- Hero (Homepage) --- */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  color: var(--white);
  padding: 3rem 0 3rem;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .hero__inner { grid-template-columns: 1fr 380px; }
}
.hero__eyebrow {
  color: var(--orange);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}
.hero__headline {
  color: var(--white);
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}
.hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 540px;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* --- Lead Form --- */
.lead-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.lead-form__title {
  color: var(--green-dark);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.lead-form__subtitle {
  color: var(--grey-mid);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}
.lead-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  min-width: 0;
  max-width: 100%;
}
@media (min-width: 480px) {
  .lead-form__grid { grid-template-columns: 1fr 1fr; }
}
.lead-form__field {
  display: flex;
  flex-direction: column;
}
.lead-form__field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--grey-dark);
  margin-bottom: 0.25rem;
}
.lead-form__field input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font);
  transition: border-color 0.2s;
  outline: none;
}
.lead-form__field input:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(45, 106, 62, 0.1);
}
.lead-form__submit {
  grid-column: 1 / -1;
  margin-top: 0.25rem;
}
.lead-form__submit .btn {
  width: 100%;
  padding: 0.9rem;
  font-size: 1.05rem;
}
.lead-form__note {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.75rem;
  color: var(--grey-mid);
  margin-top: 0.15rem;
  margin-bottom: 0;
}

/* Form success state */
.lead-form__success {
  text-align: center;
  padding: 2rem 1rem;
}
.lead-form__success-icon {
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
}
.lead-form__success-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-mid);
  margin-bottom: 0.5rem;
}
.lead-form__success-text {
  font-size: 0.95rem;
  color: var(--grey-mid);
}

/* Lead form on inner pages */
.lead-form--inline {
  max-width: 680px;
  margin: -2rem auto 0;
  position: relative;
  z-index: 10;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  text-align: center;
  border: none;
  font-family: var(--font);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-dark); color: var(--white); }
.btn--secondary { background: var(--white); color: var(--green-dark); }
.btn--secondary:hover { background: var(--green-pale); color: var(--green-dark); }
.btn--outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn--outline:hover { background: var(--white); color: var(--green-dark); }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* --- Trust Bar --- */
.trust-bar {
  background: var(--green-pale);
  padding: 1.25rem 0;
  text-align: center;
}
.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-dark);
}
.trust-item span { font-size: 1.2rem; }

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: var(--shadow-lg); }
.card__icon { font-size: 2rem; margin-bottom: 0.75rem; }
.card h3 { margin-bottom: 0.5rem; }

/* --- Split Content (text + image side by side) --- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: -1; }
}
.split__text h2 { margin-top: 0; }
.split__text { max-width: 560px; }
.split__text p:last-child { margin-bottom: 0; }

/* --- Image Placeholder (fallback when no image exists) --- */
.img-placeholder {
  background: linear-gradient(135deg, var(--green-pale) 0%, #c8e6c9 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--green-mid);
  opacity: 0.7;
}

/* --- Split Section Images --- */
.split__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}

/* --- Google Map --- */
.map-section { padding: 2rem 0; }
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  line-height: 0;
}
.map-embed iframe {
  width: 100%;
  height: 320px;
  border: none;
}
@media (min-width: 768px) {
  .map-embed iframe { height: 400px; }
}

/* --- Pricing Table --- */
.pricing-card {
  background: var(--white);
  border: 2px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pricing-card--featured {
  border-color: var(--orange);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.pricing-card--featured::before {
  content: "Most Popular";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  padding: 0.2rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}
.price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green-dark);
  margin: 0.75rem 0 0.25rem;
}
.price-period {
  font-size: 0.9rem;
  color: var(--grey-mid);
  margin-bottom: 1.25rem;
}
.pricing-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 1.5rem;
}
.pricing-card li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--grey-light);
  font-size: 0.95rem;
}
.pricing-card li::before {
  content: "✓ ";
  color: var(--green-light);
  font-weight: 700;
}

/* --- FAQ Accordion --- */
.faq-item { border-bottom: 1px solid var(--grey-light); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green-dark);
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
}
.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer__inner {
  padding: 0 0 1.25rem;
  color: var(--grey-dark);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--green-mid) 0%, var(--green-dark) 100%);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-banner p { opacity: 0.9; margin-bottom: 1.5rem; }

/* --- Footer --- */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.7);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.site-footer h4 { color: var(--white); margin-bottom: 0.75rem; font-size: 1rem; }
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: var(--orange); }
.site-footer ul { list-style: none; }
.site-footer li { padding: 0.2rem 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.82rem;
}

/* --- Page Header (inner pages) --- */
.page-header {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  color: var(--white);
  padding: 2.5rem 0 3.5rem;
  text-align: center;
}
.page-header h1 { color: var(--white); margin-bottom: 0.25rem; }
.page-header p { opacity: 0.85; font-size: 1.05rem; margin-bottom: 0; }

/* --- Content Blocks --- */
.content-block { max-width: 700px; margin: 0 auto; }
.content-block h2 { margin-top: 1.5rem; }
.content-block ul, .content-block ol { margin: 0.5rem 0 1rem 1.25rem; }
.content-block li { margin-bottom: 0.35rem; }

/* --- Prose Typography --- */
.split__text p,
.content-block p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--grey-dark);
  margin-bottom: 1.4em;
  max-width: 60ch;
}
.split__text p.lead,
.content-block p.lead {
  font-size: 1.18rem;
  line-height: 1.75;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 55ch;
}
.split__text p:last-child,
.content-block p:last-child {
  margin-bottom: 0;
}

/* --- Section Divider (soft rule between content sections) --- */
.section + .section:not(.section--alt):not(.section--green):not(.cta-banner) {
  border-top: 1px solid var(--grey-light);
}
.section--alt + .section {
  border-top: none;
}

/* --- Highlight Box (pull-quote / key stat callout) --- */
.highlight-box {
  background: var(--green-pale);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  border-left: 5px solid var(--green-mid);
  position: relative;
}
.highlight-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(45,106,62,0.04) 0%, transparent 100%);
  pointer-events: none;
}
.highlight-box p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 0;
  line-height: 1.6;
  position: relative;
}
.highlight-box p + p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--grey-dark);
}
.highlight-box--orange {
  background: #fef5ec;
  border-left-color: var(--orange);
}
.highlight-box--orange p {
  color: var(--text);
}

/* --- Check List --- */
.check-list { list-style: none; margin-left: 0 !important; }
.check-list li { padding: 0.4rem 0; padding-left: 1.6rem; position: relative; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-light);
  font-weight: 700;
}

/* --- Inline CTA --- */
.inline-cta {
  background: var(--green-pale);
  border-left: 4px solid var(--green-mid);
  padding: 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
}
.inline-cta p { margin-bottom: 0.75rem; }

/* --- Nearby Towns (plain text) --- */
.nearby-towns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.nearby-towns span {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: var(--green-pale);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-dark);
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
