/* HealthyKnack — Clean Responsive Stylesheet (Restored Green & White Palette) */
:root {
  --green-primary: #689f28;
  --green-dark: #4f7d1c;
  --green-light: #eef5e4;
  --green-border: #cde0b4;
  --text-main: #222222;
  --text-muted: #555555;
  --bg-page: #f7f8f5;
  --bg-white: #ffffff;
  --max-width: 980px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--green-dark);
  text-decoration: underline;
}

a:hover {
  color: var(--green-primary);
}

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

/* Header & Navigation */
.site-header {
  background-color: var(--bg-white);
  border-bottom: 1px solid #e2e8d8;
}

.header-top {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--green-dark);
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.header-contact {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.header-contact a {
  font-weight: 600;
  text-decoration: none;
}

.header-contact a:hover {
  text-decoration: underline;
}

.site-nav {
  background-color: var(--green-primary);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.nav-list li a {
  display: block;
  padding: 13px 20px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.15s ease;
}

.nav-list li a:hover,
.nav-list li a[aria-current="page"] {
  background-color: var(--green-dark);
}

/* Main Wrapper */
main {
  flex: 1;
  padding: 32px 0 48px;
}

.page-card {
  background-color: var(--bg-white);
  border: 1px solid #e4e9dc;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

/* Hero Banner */
.hero-banner {
  background: linear-gradient(135deg, #527f1d 0%, #75ad32 100%);
  color: #ffffff;
  padding: 48px 36px;
  text-align: left;
}

.hero-banner h1 {
  margin: 0 0 14px;
  font-size: 2rem;
  line-height: 1.25;
  font-weight: 700;
}

.hero-banner p {
  margin: 0 0 24px;
  font-size: 1.08rem;
  max-width: 660px;
  color: #f4faec;
}

.btn-cta {
  display: inline-block;
  background-color: #ffffff;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 4px;
  border: 2px solid #ffffff;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-cta:hover {
  background-color: var(--green-dark);
  color: #ffffff;
}

.btn-green {
  display: inline-block;
  background-color: var(--green-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.btn-green:hover {
  background-color: var(--green-dark);
  color: #ffffff;
}

/* Content Sections */
.content-section {
  padding: 36px;
}

.content-section h1,
.content-section h2 {
  color: var(--green-primary);
  margin-top: 0;
  line-height: 1.3;
}

.content-section h1 {
  font-size: 1.85rem;
  margin-bottom: 16px;
}

.content-section h2 {
  font-size: 1.45rem;
  margin-bottom: 14px;
}

.content-section h3 {
  color: var(--green-dark);
  font-size: 1.12rem;
  margin: 22px 0 8px;
}

.content-section p {
  margin: 0 0 16px;
  color: var(--text-main);
}

.content-section ul {
  margin: 0 0 20px;
  padding-left: 22px;
}

.content-section li {
  margin-bottom: 8px;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.feature-box {
  background-color: var(--green-light);
  border: 1px solid var(--green-border);
  border-radius: 5px;
  padding: 20px;
}

.feature-box h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.05rem;
  color: var(--green-dark);
}

.feature-box p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* FAQ Items */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.faq-item {
  border: 1px solid #e1e8d6;
  border-left: 4px solid var(--green-primary);
  border-radius: 4px;
  padding: 18px 20px;
  background-color: #fbfdf8;
}

.faq-item h2 {
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: var(--green-dark);
}

.faq-item p {
  margin: 0;
  font-size: 0.96rem;
}

/* Contact Grid & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  margin-top: 20px;
}

.contact-info-box {
  background-color: var(--green-light);
  border: 1px solid var(--green-border);
  border-radius: 5px;
  padding: 24px;
}

.contact-info-box h2 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.contact-form .form-group {
  margin-bottom: 16px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--text-main);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c9d4bc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  background-color: #ffffff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--green-primary);
  border-color: var(--green-primary);
}

/* CTA Strip */
.cta-strip {
  margin-top: 28px;
  padding: 22px 24px;
  background-color: var(--green-light);
  border: 1px solid var(--green-border);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.cta-strip p {
  margin: 0;
  font-weight: 600;
  color: var(--green-dark);
}

/* Footer */
.site-footer {
  background-color: var(--green-primary);
  color: #ffffff;
  padding: 28px 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.footer-heading {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-email a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  font-size: 0.9rem;
}

.footer-links a {
  color: #f0f7e6;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: #e6f2d8;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-banner {
    padding: 36px 22px;
  }

  .hero-banner h1 {
    font-size: 1.6rem;
  }

  .content-section {
    padding: 24px 20px;
  }

  .feature-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-list li a {
    padding: 11px 14px;
    font-size: 0.9rem;
  }
}
