/* ===========================
   GLOBAL RESET & BASE STYLES
   =========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary:    #4a6d4a; /* Sage Green */
  --primary-dk: #3a5a3a;
  --accent:     #b8860b; /* Earthy Cider Tone */
  --dark:       #2c3e2c;
  --dark-2:     #3d523d;
  --mid:        #6c7d6c;
  --light:      #f5f5dc; /* Weathered Parchment Cream */
  --white:      #ffffff;
  --radius:     8px;
  --shadow:     0 4px 24px rgba(rgba(0,0,0,.10));
  --transition: .3s ease;
  --max-w:      1200px;
  --font-serif:   "Georgia", serif;
  --font-sans:    "Arial", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--dark);
  background: var(--light);
  line-height: 1.7;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3, h4, h5 {
  line-height: 1.2;
  font-weight: 700;
  font-family: var(--font-serif);
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--mid); }

.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-title {
  margin-bottom: 16px;
}

.section-sub {
  max-width: 560px;
  margin: 0 auto 48px;
  text-align: center;
  color: var(--mid);
}

.text-center { text-align: center; }

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74,109,74,.35);
}
.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-accent {
  background: var(--accent);
  color: var(--dark);
}
.btn-accent:hover {
  background: #a37309;
  transform: translateY(-2px);
}

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--primary-dk);
  padding: 0 24px;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img {
  height: 40px;
  width: auto;
}
.nav-logo div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-logo span {
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: none;
  color: rgba(255,255,255,0.8);
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--light);
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: var(--primary-dk);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===========================
   HERO (shared)
   =========================== */
.page-hero {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url("../images/hero-orchard.jpg") no-repeat center center/cover;
  color: var(--white);
  padding: 120px 24px;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 20px; }
.page-hero p  { color: rgba(255,255,255,0.8); max-width: 700px; margin: 0 auto 40px; font-size: 1.1rem; }

/* ===========================
   SECTIONS
   =========================== */
.section {
  padding: 96px 0;
}
.section-alt {
  background: var(--light);
}

/* ===========================
   CARDS
   =========================== */
.card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,.14);
}
.card-body { padding: 28px; }

/* ===========================
   GRID HELPERS
   =========================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ===========================
   BADGE
   =========================== */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.badge-blue   { background: #dbeafe; color: var(--primary); }
.badge-green  { background: #dcfce7; color: #16a34a; }
.badge-yellow { background: #fef9c3; color: #b45309; }
.badge-red    { background: #fee2e2; color: #dc2626; }

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--dark);
  color: var(--light);
  padding: 64px 24px 32px;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--dark-2);
}
.footer-brand p { margin-top: 12px; font-size: .9rem; line-height: 1.8; }
.footer-col h4 {
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: .9rem;
  color: var(--light);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
}
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--dark-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--light);
  font-size: .85rem;
  transition: var(--transition);
}
.social-links a:hover { background: var(--primary); color: var(--white); }

/* ===========================
   FORM ELEMENTS
   =========================== */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--dark);
  transition: var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74,109,74,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* ===========================
   STATS BAR
   =========================== */
.stats-bar {
  display: flex;
  gap: 0;
  background: var(--primary);
  color: var(--white);
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 36px 20px;
  border-right: 1px solid rgba(255,255,255,.15);
}
.stat-item:last-child { border-right: none; }
.stat-item .num {
  font-size: 2.4rem;
  font-weight: 800;
  display: block;
  color: var(--white);
}
.stat-item .lbl {
  font-size: .85rem;
  opacity: .85;
  margin-top: 4px;
}

/* ===========================
   TESTIMONIAL CARD
   =========================== */
.testi-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
}
.testi-card::before {
  content: '“';
  font-size: 5rem;
  color: var(--primary);
  opacity: .15;
  position: absolute;
  top: 10px; left: 20px;
  line-height: 1;
  font-family: Georgia, serif;
}
.testi-stars { color: var(--accent); font-size: 1rem; margin-bottom: 12px; }
.testi-text  { font-style: italic; color: var(--mid); margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}
.testi-name  { font-weight: 700; font-size: .95rem; color: var(--dark); }
.testi-role  { font-size: .8rem; color: var(--mid); }

/* ===========================
   PRICING CARD
   =========================== */
.pricing-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--primary);
  transform: scale(1.04);
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  letter-spacing: .05em;
}
.pricing-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.14); }
.price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.price-amount sup { font-size: 1.2rem; vertical-align: top; margin-top: 8px; }
.price-amount span { font-size: 1rem; font-weight: 500; color: var(--mid); }
.price-features { margin: 24px 0; }
.price-features li {
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: .9rem;
  color: var(--mid);
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-features li::before {
  content: '✓';
  color: #16a34a;
  font-weight: 700;
  flex-shrink: 0;
}
.price-features li.disabled { opacity: .45; }
.price-features li.disabled::before { content: '✕'; color: #94a3b8; }

/* ===========================
   FAQ ACCORDION
   =========================== */
.faq-item {
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.faq-question:hover { background: #f8fafc; }
.faq-question.open  { color: var(--primary); }
.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  transition: var(--transition);
  color: var(--primary);
  flex-shrink: 0;
}
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 24px;
  color: var(--mid);
  font-size: .95rem;
}
.faq-answer.open {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* ===========================
   BLOG CARD
   =========================== */
.blog-card { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); background: var(--white); }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,.14); }
.blog-thumb {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.blog-meta { font-size: .8rem; color: var(--mid); margin-bottom: 8px; }
.blog-body { padding: 24px; }
.blog-body h3 { margin-bottom: 8px; font-size: 1.1rem; }
.blog-body p  { font-size: .9rem; }
.read-more { display: inline-flex; align-items: center; gap: 4px; color: var(--primary); font-weight: 600; font-size: .9rem; margin-top: 14px; transition: var(--transition); }
.read-more:hover { gap: 8px; }

/* ===========================
   TEAM CARD
   =========================== */
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: 12px;
  padding: 36px 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,.14); }
.team-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}
.team-card h3 { margin-bottom: 4px; }
.team-role { font-size: .85rem; color: var(--primary); font-weight: 600; margin-bottom: 12px; }
.team-bio  { font-size: .88rem; color: var(--mid); }
.team-socials { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.team-socials a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  color: var(--mid);
  transition: var(--transition);
}
.team-socials a:hover { background: var(--primary); color: var(--white); }

/* ===========================
   PORTFOLIO
   =========================== */
.portfolio-filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid #e2e8f0;
  background: var(--white);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--mid);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.portfolio-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
}
.portfolio-item:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,.14); }
.portfolio-thumb {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}
.portfolio-info { padding: 20px; background: var(--white); }
.portfolio-info h3 { margin-bottom: 4px; font-size: 1rem; }
.portfolio-info p  { font-size: .85rem; }

/* ===========================
   CONTACT
   =========================== */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: #eff6ff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-info-item h4 { font-size: .9rem; color: var(--dark); margin-bottom: 2px; }
.contact-info-item p  { font-size: .9rem; color: var(--mid); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--primary);
    padding: 16px 24px;
    border-bottom: 1px solid var(--primary-dk);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-bar { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .pricing-card.featured { transform: scale(1); }
}
