/* Rustic Roots LLC — shared site styles */

:root {
  --cream: #E7EED6;
  --forest: #345F49;
  --forest-dark: #243f32;
  --olive: #C8D3B6;
  --sage: #576556;
  --muted-sage: #A0A898;
  --ink: #1a1f1a;
  --text: #3a4238;
  --white: #ffffff;
  --radius: 8px;
  --max: 1280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Lato', sans-serif;
  min-height: 100vh;
}

a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--forest-dark); }
img { max-width: 100%; display: block; }
input, textarea, select, button { font-family: 'Lato', sans-serif; }
::placeholder { color: #7c8577; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: clamp(16px, 4vw, 48px); padding-right: clamp(16px, 4vw, 48px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--olive);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(16px, 4vw, 48px);
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 56px; width: 56px; border-radius: 50%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 20px; color: var(--forest); }
.brand-sub { font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 11px; letter-spacing: 2px; color: var(--sage); }

.main-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 32px); flex-wrap: wrap; }
.nav-link { font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 15px; color: var(--ink); }
.nav-link.active { color: var(--forest); }
.nav-cta {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px;
  background: var(--forest); color: var(--cream); padding: 10px 20px; border-radius: 4px;
}
.nav-cta:hover { background: var(--forest-dark); color: var(--cream); }

.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 16px;
  border: none; padding: 16px 32px; border-radius: 4px; cursor: pointer;
  display: inline-block;
}
.btn-primary { background: var(--forest); color: var(--cream); }
.btn-primary:hover { background: var(--forest-dark); color: var(--cream); }
.btn-outline { background: transparent; color: var(--forest); border: 2px solid var(--forest); padding: 14px 30px; }
.btn-outline:hover { background: var(--forest); color: var(--cream); }
.btn-block { width: 100%; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(48px, 8vw, 96px) 0;
  display: flex; gap: 48px; align-items: center; flex-wrap: wrap;
}
.hero-copy { flex: 1 1 420px; min-width: 300px; }
.eyebrow-pill {
  display: inline-block; background: var(--olive); color: var(--forest);
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 1px;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: clamp(34px, 5vw, 56px); line-height: 1.08; color: var(--ink); margin: 0 0 20px;
}
.hero p { font-size: clamp(17px, 1.8vw, 20px); line-height: 1.6; color: var(--text); max-width: 520px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-media { flex: 1 1 380px; min-width: 280px; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Values strip ---------- */
.values-strip { background: var(--forest); padding: 28px clamp(16px, 4vw, 48px); }
.values-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(max(150px, (100% - 3 * 16px) / 4), 1fr)); gap: 16px; }
.value-item { display: flex; align-items: center; gap: 10px; }
.value-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-sage); flex-shrink: 0; }
.value-item span:last-child { font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 14px; color: var(--cream); }

/* ---------- Section headings ---------- */
.section { padding: clamp(48px, 8vw, 88px) 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-eyebrow { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 2px; color: var(--sage); }
.section h2 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(28px, 3.5vw, 40px); color: var(--ink); margin: 8px 0 12px; }
.section-head p { font-size: 17px; color: var(--text); line-height: 1.6; }
.section.on-white { background: var(--white); }

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(max(240px, (100% - 3 * 20px) / 4), 1fr)); gap: 20px; }
.service-card {
  background: var(--white); border: 1px solid var(--olive); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; height: 100%;
}
.service-card:hover { box-shadow: 0 8px 24px rgba(52, 95, 73, 0.15); border-color: var(--forest); }
.service-icon { width: 44px; height: 44px; border-radius: var(--radius); background: var(--olive); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.service-icon svg { width: 22px; height: 22px; color: var(--forest); }
.service-card h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 18px; color: var(--ink); margin: 0; }
.service-card p { font-size: 14px; color: var(--sage); line-height: 1.5; margin: 0; flex: 1; }
.service-card .cta { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px; color: var(--forest); }

/* ---------- Recent project ---------- */
.project-section { background: var(--white); padding: clamp(48px, 8vw, 88px) 0; }
.project-grid { display: flex; gap: 48px; align-items: center; flex-wrap: wrap; }
.project-media { flex: 1 1 320px; border-radius: var(--radius); overflow: hidden; }
.project-copy { flex: 1 1 320px; min-width: 280px; }
.project-copy h2 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(24px, 3vw, 32px); color: var(--ink); margin: 8px 0 16px; }
.project-copy p { font-size: 16px; color: var(--text); line-height: 1.7; }

/* ---------- Membership ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: start; }
.tier-card { background: var(--white); border-radius: 10px; overflow: hidden; border: 2px solid var(--olive); position: relative; display: flex; flex-direction: column; }
.tier-card.popular { border-color: var(--forest); }
.tier-badge {
  position: absolute; top: 14px; right: -32px; background: var(--olive); color: var(--ink);
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 11px; padding: 4px 40px; transform: rotate(35deg);
}
.tier-header { padding: 22px 24px; }
.tier-name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 20px; color: var(--white); }
.tier-tagline { font-family: 'Lato', sans-serif; font-style: italic; font-size: 14px; color: var(--cream); opacity: 0.9; }
.tier-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.tier-price { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 34px; color: var(--ink); }
.tier-price-unit { font-size: 14px; color: var(--sage); }
.tier-yearly { font-size: 13px; color: var(--sage); margin-top: 2px; }
.tier-features { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tier-feature { display: flex; gap: 8px; font-size: 14px; color: var(--text); line-height: 1.4; }
.tier-feature .check { color: var(--forest); font-weight: 700; flex-shrink: 0; }
.tier-cta {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px;
  border: 2px solid var(--forest); padding: 12px; border-radius: 4px; cursor: pointer; width: 100%; text-align: center;
}
.membership-tagline { text-align: center; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px; color: var(--forest); margin-top: 32px; letter-spacing: 0.5px; }

/* ---------- Testimonials ---------- */
.testimonial-section { background: var(--sage); padding: clamp(48px, 8vw, 88px) 0; }
.testimonial-section h2 { text-align: center; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(26px, 3vw, 34px); color: var(--cream); margin: 0 0 40px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.testimonial-card { background: var(--white); border-radius: var(--radius); padding: 24px; }
.stars { color: var(--forest); font-size: 16px; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card p { font-size: 15px; color: var(--text); line-height: 1.6; margin: 0 0 16px; }
.testimonial-name { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; color: var(--ink); }

/* ---------- CTA banner ---------- */
.cta-banner { padding: clamp(40px, 6vw, 64px) 0; text-align: center; }
.cta-banner h2 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(24px, 3vw, 32px); color: var(--ink); margin: 0 0 12px; }
.cta-banner p { font-size: 16px; color: var(--text); margin: 0 0 28px; }

/* ---------- Services page ---------- */
.page-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.page-head h1 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(30px, 4vw, 44px); color: var(--ink); margin: 8px 0 12px; }
.page-head p { font-size: 17px; color: var(--text); line-height: 1.6; }
main.page { padding: clamp(40px, 6vw, 72px) 0; max-width: var(--max); margin: 0 auto; }

/* ---------- Service detail ---------- */
.detail-back { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; color: var(--forest); }
.detail-grid { display: flex; gap: 48px; flex-wrap: wrap; margin-top: 24px; align-items: flex-start; }
.detail-copy { flex: 1 1 480px; min-width: 280px; }
.detail-copy .section-eyebrow { display: block; }
.detail-copy h1 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(28px, 4vw, 42px); color: var(--ink); margin: 8px 0 20px; }
.detail-copy > p { font-size: 16px; line-height: 1.7; color: var(--text); margin: 0 0 24px; }
.detail-copy h2 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 20px; color: var(--ink); margin: 24px 0 12px; }
.included-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.included-item { display: flex; gap: 10px; font-size: 15px; color: var(--text); }
.included-item .check { color: var(--forest); font-weight: 700; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 32px; }
.why-card { background: var(--white); border: 1px solid var(--olive); border-radius: var(--radius); padding: 18px; }
.why-card .title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px; color: var(--forest); margin-bottom: 6px; }
.why-card .text { font-size: 13px; color: var(--sage); line-height: 1.5; }
.detail-media { flex: 1 1 320px; min-width: 260px; display: flex; flex-direction: column; gap: 16px; }
.detail-media img { aspect-ratio: 4/3; border-radius: var(--radius); object-fit: cover; width: 100%; }

/* ---------- Quote form ---------- */
main.quote-page { max-width: 820px; margin: 0 auto; padding: clamp(32px, 5vw, 56px) 0; }
.quote-form {
  background: var(--white); border: 1px solid var(--olive); border-radius: 10px;
  padding: clamp(20px, 4vw, 40px); display: flex; flex-direction: column; gap: 22px;
}
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px; color: var(--ink); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  padding: 12px 14px; border: 1px solid var(--olive); border-radius: 4px; font-size: 15px;
}
.field textarea { resize: vertical; }
.optional-tag { font-weight: 400; color: var(--sage); }
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.checkbox-row, .radio-row { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); cursor: pointer; }
.checkbox-row input, .radio-row input { width: 16px; height: 16px; accent-color: var(--forest); }
.radio-group { display: flex; gap: 20px; flex-wrap: wrap; }
.group-label { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px; color: var(--ink); display: block; margin-bottom: 10px; }
.honeypot { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; }
.form-note { font-size: 13px; color: var(--sage); margin-top: 4px; }
.form-error {
  background: #fbe7e7; border: 1px solid #d98b8b; color: #7a2323; border-radius: 4px;
  padding: 12px 16px; font-size: 14px; margin-bottom: 8px;
}
.turnstile-wrap { margin-top: 4px; }

.success-box { text-align: center; padding: 80px 20px; background: var(--white); border-radius: 10px; border: 1px solid var(--olive); }
.success-check {
  width: 64px; height: 64px; border-radius: 50%; background: var(--forest); color: var(--cream);
  display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 24px;
}
.success-box h1 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 28px; color: var(--ink); margin: 0 0 12px; }
.success-box p { font-size: 16px; color: var(--text); margin: 0 0 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: var(--cream); padding: clamp(32px, 5vw, 56px) 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand img { height: 40px; width: 40px; border-radius: 50%; object-fit: cover; }
.footer-brand span { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 17px; }
.footer-col-title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; margin-bottom: 14px; color: var(--white); }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--olive); }
.footer-col a { color: var(--olive); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { max-width: var(--max); margin: 32px auto 0; padding: 20px clamp(16px,4vw,48px) 0; border-top: 1px solid rgba(231,238,214,0.2); font-size: 13px; color: var(--muted-sage); text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .main-nav { display: none; flex-direction: column; align-items: flex-start; width: 100%; gap: 16px; padding-top: 16px; }
  .main-nav.open { display: flex; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border: 1px solid var(--olive); border-radius: 4px; background: var(--white);
    cursor: pointer;
  }
  .site-header { position: relative; }
}
@media (min-width: 721px) {
  .nav-toggle { display: none; }
}
