/* ============================================
   ABUNDANT RISE CO. — Design System
   Palette pulled from the brand logo
   ============================================ */

:root {
  --cream: #F8F3E9;
  --cream-dark: #EFE6D3;
  --forest: #4A5A38;
  --forest-dark: #38452A;
  --olive: #7A8B5E;
  --toast: #8B5A34;
  --toast-dark: #6E4527;
  --gold: #C9A24B;
  --lavender: #B6A4C9;
  --ink: #2E2A22;
  --white: #FFFEFB;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --max-width: 1180px;
  --radius: 6px;
  --shadow-soft: 0 8px 30px rgba(74, 90, 56, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--forest);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--toast);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.75em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section--tight { padding: 56px 0; }

.section--cream-dark { background: var(--cream-dark); }

.section--forest {
  background: var(--forest);
  color: var(--cream);
}
.section--forest h2, .section--forest h3 { color: var(--white); }

/* ---------- Sprig divider (signature element) ---------- */
.sprig-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 2.5em;
  color: var(--gold);
}
.sprig-divider svg { width: 46px; height: 20px; }
.sprig-divider::before,
.sprig-divider::after {
  content: "";
  height: 1px;
  width: 60px;
  background: var(--gold);
  opacity: 0.55;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color .2s ease;
}
.btn--primary {
  background: var(--forest);
  color: var(--white);
}
.btn--primary:hover { background: var(--forest-dark); transform: translateY(-2px); }

.btn--gold {
  background: var(--gold);
  color: var(--white);
}
.btn--gold:hover { background: #b58f3c; transform: translateY(-2px); }

.btn--outline {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}
.btn--outline:hover { background: var(--forest); color: var(--white); transform: translateY(-2px); }

.btn--outline-light {
  background: transparent;
  border-color: var(--cream);
  color: var(--cream);
}
.btn--outline-light:hover { background: var(--cream); color: var(--forest); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(248, 243, 233, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(74,90,56,0.12);
}
.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--forest);
}
.brand .brand-mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--toast);
  font-weight: 600;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a:hover { color: var(--toast); }
.nav-links a.active { color: var(--toast); font-weight: 600; }
.nav-cta { display: flex; align-items: center; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: inline-flex;
    background: none; border: none;
    font-size: 1.6rem; color: var(--forest); cursor: pointer;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(46,42,34,0.45) 0%, rgba(46,42,34,0.72) 100%);
}
.hero .container { position: relative; z-index: 2; max-width: 760px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: var(--white); }
.hero p.lead { font-size: 1.2rem; max-width: 560px; opacity: 0.95; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 1.8em; }

.page-hero {
  position: relative;
  min-height: 44vh;
  display: flex;
  align-items: center;
  color: var(--white);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(46,42,34,0.5) 0%, rgba(46,42,34,0.7) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 0.2em; }
.page-hero p { max-width: 600px; opacity: 0.95; }

/* ---------- Grids / Cards ---------- */
.grid {
  display: grid;
  gap: 30px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 940px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(74,90,56,0.18); }
.card img { height: 230px; width: 100%; object-fit: cover; }
.card-body { padding: 22px 24px 26px; }
.card-body h3 { margin-bottom: 0.3em; }
.card-body .price { color: var(--toast); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.6em; }
.card-body p.desc { font-size: 0.95rem; color: #5a5648; }

/* ---------- Two column feature ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature img { border-radius: var(--radius); box-shadow: var(--shadow-soft); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 30px; }
}
.feature.reverse .feature-media { order: 2; }
@media (max-width: 860px) {
  .feature.reverse .feature-media { order: 0; }
}

/* ---------- Testimonial ---------- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow-soft);
}
.testimonial .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 10px; }
.testimonial p { font-style: italic; color: #4a4638; }
.testimonial .who { font-weight: 600; color: var(--forest); font-style: normal; margin-top: 12px; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--forest-dark);
}
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #ddd3bd;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--cream);
  margin-bottom: 20px;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--olive);
  background: var(--white);
}
textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
fieldset { border: none; padding: 0; margin: 0 0 20px; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.checkbox-pill {
  border: 1.5px solid #ddd3bd;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.88rem;
  display: flex; align-items: center; gap: 8px;
  background: var(--cream);
}
.checkbox-pill input { width: auto; margin: 0; }

/* ---------- FAQ accordion ---------- */
.faq-item {
  border-bottom: 1px solid rgba(74,90,56,0.15);
  padding: 22px 0;
}
.faq-item h3 { margin-bottom: 0.4em; font-size: 1.15rem; }
.faq-item p { color: #5a5648; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--forest);
  color: var(--white);
  text-align: center;
  padding: 70px 24px;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 1.6em; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-dark);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
.footer-grid h4 {
  color: var(--gold);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  margin-bottom: 1em;
}
.footer-grid a { display: block; margin-bottom: 8px; color: rgba(255,255,255,0.8); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 22px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255,255,255,0.6);
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-0 { margin-bottom: 0; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream-dark);
  color: var(--toast-dark);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
}
.stack-gap-lg > * + * { margin-top: 20px; }
.lead-narrow { max-width: 640px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--forest); color: var(--white); padding: 10px 16px; z-index: 1000;
}
.skip-link:focus { left: 10px; top: 10px; }

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