/* ============================================================
   TOTALLY GREEN CLEAN — Lovable-Match Stylesheet
   Cream #F5F2EA | Forest Green #1C3A28 | Mid Green #2D5A3D
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500&display=swap');

:root {
  --cream:        #F5F2EA;
  --cream-card:   #EDEADF;
  --green-dark:   #1C3A28;
  --green-mid:    #2D5A3D;
  --green-icon:   #2D5A3D;
  --green-light:  #E8EFE4;
  --green-tag:    #D6E4D0;
  --text-dark:    #1C3A28;
  --text-mid:     #4A5E4F;
  --text-light:   #7A8C7F;
  --border:       #DDD9CE;
  --white:        #FFFFFF;
  --shadow:       rgba(28,58,40,0.08);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', sans-serif;
  --nav-h:        68px;
  --radius-pill:  100px;
  --radius-card:  16px;
  --radius-sm:    8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--cream);
}

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

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--green-dark);
}
h1 { font-size: clamp(2.8rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-dark {
  background: var(--green-dark);
  color: var(--white);
}
.btn-dark:hover { background: var(--green-mid); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--text-dark);
  font-weight: 400;
}
.btn-ghost:hover { color: var(--green-dark); }

.btn-outline-dark {
  background: transparent;
  color: var(--green-dark);
  border: 1.5px solid var(--green-dark);
}
.btn-outline-dark:hover { background: var(--green-dark); color: var(--white); }

/* ── Layout ─────────────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 7rem 0; }
.section-sm { padding: 5rem 0; }

/* ── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(245,242,234,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-logo-icon {
  width: 34px;
  height: 34px;
  background: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo-icon img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}
.nav-logo-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--green-dark);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-mid);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--green-dark); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-phone {
  font-size: 0.85rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-phone:hover { color: var(--green-dark); }

/* Mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer-logo-icon img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.footer-logo-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--green-dark);
}
.footer-brand p { font-size: 0.88rem; color: var(--text-mid); max-width: 300px; line-height: 1.7; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-mid);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--green-dark); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 0.65rem;
}
.footer-contact-item a { color: var(--text-mid); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--green-dark); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ── Page Hero (inner pages) ────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 6rem) 0 6rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { max-width: 800px; margin: 0 auto; }
.page-hero p {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 580px;
  margin: 1.25rem auto 0;
  line-height: 1.75;
}

/* ── Fade-in ────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--cream);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px var(--shadow);
  }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .section { padding: 5rem 0; }
  .container { padding: 0 1.25rem; }
}
