/* ============================================================
   VITAFLOW — Healthy Habits Website
   CSS Design System
   ============================================================ */

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

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --green-deep:   #1a3a2a;
  --green-mid:    #2d6a4f;
  --green-soft:   #52b788;
  --green-pale:   #b7e4c7;
  --green-mist:   #d8f3dc;
  --cream:        #faf7f2;
  --warm-white:   #ffffff;
  --ink:          #1c1c1c;
  --ink-muted:    #4a4a4a;
  --ink-light:    #7a7a7a;
  --amber:        #e9a84b;
  --amber-pale:   #fdf3e3;
  --border:       #e5ede8;
  --shadow-sm:    0 2px 8px rgba(26,58,42,0.08);
  --shadow-md:    0 6px 24px rgba(26,58,42,0.12);
  --shadow-lg:    0 16px 48px rgba(26,58,42,0.16);
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --radius-xl:    32px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --transition:   0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width:    1160px;
  --col-gap:      2rem;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-mid); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-soft); }
ul, ol { padding-left: 1.5rem; }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--green-deep);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin-bottom: 1.25rem; color: var(--ink-muted); font-size: 1.0625rem; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 600; }

/* ── Layout Helpers ────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--col-gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--col-gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--col-gap); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-muted { color: var(--ink-light); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--green-mid);
  color: white;
  border-color: var(--green-mid);
}
.btn-primary:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--green-mid);
  border-color: var(--green-mid);
}
.btn-outline:hover {
  background: var(--green-mid);
  color: white;
}
.btn-amber {
  background: var(--amber);
  color: white;
  border-color: var(--amber);
}
.btn-amber:hover {
  background: #d4962d;
  border-color: #d4962d;
  color: white;
  transform: translateY(-2px);
}

/* ── Badges / Tags ─────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tag-green { background: var(--green-mist); color: var(--green-mid); }
.tag-amber { background: var(--amber-pale); color: #b07b1a; }

/* ── Header / Nav ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-deep);
  text-decoration: none;
}
.logo-leaf {
  width: 32px;
  height: 32px;
  background: var(--green-mid);
  border-radius: 50% 0 50% 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--green-mid);
  background: var(--green-mist);
}
.nav-cta { margin-left: 1rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
  gap: 0.25rem;
}
.mobile-menu a {
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--ink-muted);
}
.mobile-menu a:hover { background: var(--green-mist); color: var(--green-mid); }
.mobile-menu.open { display: flex; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 60%, var(--green-soft) 100%);
  color: white;
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  padding: 0.35rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.25rem;
}
.hero h1 { color: white; margin-bottom: 1.25rem; }
.hero p { color: rgba(255,255,255,0.82); font-size: 1.125rem; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-hero-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
  color: white;
}
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.25rem;
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-card-stack {
  position: relative;
  width: 320px;
  height: 380px;
}
.habit-card {
  position: absolute;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  color: white;
  width: 260px;
}
.habit-card:nth-child(1) { top: 0; left: 0; transform: rotate(-4deg); }
.habit-card:nth-child(2) { top: 40px; left: 50px; transform: rotate(2deg); z-index: 2; background: rgba(255,255,255,0.18); }
.habit-card:nth-child(3) { top: 80px; left: 20px; transform: rotate(-1deg); z-index: 1; }
.habit-card-icon { font-size: 1.75rem; margin-bottom: 0.5rem; }
.habit-card-title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.habit-card-sub { font-size: 0.8125rem; opacity: 0.75; }

/* ── Section Headers ───────────────────────────────────────── */
.section-header { margin-bottom: 3rem; }
.section-header .tag { margin-bottom: 0.75rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { max-width: 540px; font-size: 1.0625rem; }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }

/* ── Feature Cards ─────────────────────────────────────────── */
.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--green-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--green-mist);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.625rem; }
.feature-card p { margin: 0; font-size: 0.9375rem; }

/* ── Blog Cards ────────────────────────────────────────────── */
.blog-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--green-pale);
}
.blog-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}
.blog-card-thumb-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  transition: transform var(--transition);
}
.blog-card:hover .blog-card-thumb-inner { transform: scale(1.05); }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  color: var(--ink-light);
}
.blog-meta span { display: flex; align-items: center; gap: 0.25rem; }
.blog-card h3 { font-size: 1.15rem; margin-bottom: 0.625rem; line-height: 1.4; }
.blog-card p { font-size: 0.9375rem; flex: 1; }
.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-mid);
  margin-top: 1rem;
}
.blog-card-link:hover { gap: 0.625rem; }

/* ── Newsletter ────────────────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  border-radius: var(--radius-xl);
  padding: 4rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '🌿';
  position: absolute;
  font-size: 12rem;
  opacity: 0.06;
  top: -2rem;
  right: -2rem;
}
.newsletter-section h2 { color: white; margin-bottom: 0.75rem; }
.newsletter-section p { color: rgba(255,255,255,0.8); max-width: 480px; margin: 0 auto 2rem; }
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-input {
  flex: 1;
  min-width: 220px;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.12);
  color: white;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.55); }
.newsletter-input:focus { border-color: rgba(255,255,255,0.7); }
.newsletter-note { font-size: 0.8125rem; color: rgba(255,255,255,0.55); margin-top: 1rem; }

/* ── Tips Strip ────────────────────────────────────────────── */
.tips-strip {
  background: var(--green-mist);
  border-top: 1px solid var(--green-pale);
  border-bottom: 1px solid var(--green-pale);
  padding: 1.25rem 0;
  overflow: hidden;
}
.tips-scroll {
  display: flex;
  gap: 2.5rem;
  animation: scrollLeft 28s linear infinite;
  width: max-content;
}
.tips-scroll:hover { animation-play-state: paused; }
.tip-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--green-deep);
  white-space: nowrap;
}
@keyframes scrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Testimonials ──────────────────────────────────────────── */
.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--green-pale);
  line-height: 1;
}
.testimonial-text { font-size: 0.9375rem; font-style: italic; margin-bottom: 1.25rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.author-name { font-weight: 600; font-size: 0.9375rem; color: var(--ink); }
.author-desc { font-size: 0.8125rem; color: var(--ink-light); }

/* ── AdSense Placeholders ──────────────────────────────────── */
.adsense-placeholder {
  background: repeating-linear-gradient(
    45deg,
    var(--border),
    var(--border) 1px,
    transparent 1px,
    transparent 10px
  );
  border: 2px dashed var(--green-pale);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--ink-light);
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  padding: 1rem;
}
.adsense-placeholder span { font-size: 1.5rem; }
.ad-leaderboard { width: 100%; height: 90px; }
.ad-rectangle { width: 100%; height: 280px; }
.ad-sidebar { width: 100%; height: 600px; }
.ad-in-article { width: 100%; height: 250px; margin: 2rem 0; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--green-deep);
  color: rgba(255,255,255,0.75);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { color: white; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.65; }
.footer-col h4 {
  font-family: var(--font-display);
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--green-soft); }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  transition: background var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.social-btn:hover { background: var(--green-soft); color: white; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: 0.8125rem;
}
.footer-bottom-links { display: flex; gap: 1.25rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); }
.footer-bottom-links a:hover { color: white; }

/* ── Article / Blog Post ───────────────────────────────────── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
.article-header { margin-bottom: 2.5rem; }
.article-header .tag { margin-bottom: 1rem; }
.article-header h1 { margin-bottom: 1rem; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--ink-light);
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.article-meta strong { color: var(--ink); }
.article-featured-img {
  width: 100%;
  aspect-ratio: 16/8;
  background: linear-gradient(135deg, var(--green-mist), var(--green-pale));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  margin-bottom: 2.5rem;
}
.article-content h2 { margin: 2rem 0 1rem; }
.article-content h3 { margin: 1.5rem 0 0.75rem; }
.article-content ul, .article-content ol { margin-bottom: 1.25rem; }
.article-content li { margin-bottom: 0.5rem; color: var(--ink-muted); }
.article-content blockquote {
  border-left: 4px solid var(--green-soft);
  padding: 1rem 1.5rem;
  margin: 1.75rem 0;
  background: var(--green-mist);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--green-deep);
}
.article-content .highlight-box {
  background: var(--amber-pale);
  border: 1px solid #f0d5a0;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}
.article-content .highlight-box h4 { color: #7a5500; margin-bottom: 0.5rem; }

/* ── Sidebar ───────────────────────────────────────────────── */
.sidebar { position: sticky; top: 88px; }
.sidebar-widget {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-widget h4 { margin-bottom: 1rem; font-size: 1rem; }
.recent-post-item {
  display: flex;
  gap: 0.875rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.recent-post-item:last-child { border-bottom: none; padding-bottom: 0; }
.recent-post-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--green-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.recent-post-title { font-size: 0.875rem; font-weight: 500; color: var(--ink); line-height: 1.4; }
.recent-post-date { font-size: 0.75rem; color: var(--ink-light); margin-top: 0.25rem; }

/* ── Share Buttons ─────────────────────────────────────────── */
.share-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  margin: 2.5rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.share-label { font-weight: 600; font-size: 0.9375rem; color: var(--ink); }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}
.share-twitter { background: #e8f5fd; color: #1da1f2; }
.share-twitter:hover { background: #1da1f2; color: white; }
.share-facebook { background: #e8edf8; color: #1877f2; }
.share-facebook:hover { background: #1877f2; color: white; }
.share-pinterest { background: #fde8e8; color: #e60023; }
.share-pinterest:hover { background: #e60023; color: white; }
.share-copy { background: var(--green-mist); color: var(--green-mid); }
.share-copy:hover { background: var(--green-mid); color: white; }

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--ink-light);
  padding: 1.25rem 0;
}
.breadcrumb a { color: var(--green-mid); }
.breadcrumb-sep { color: var(--border); }

/* ── Page Hero ─────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--green-mist) 0%, white 100%);
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero p { max-width: 580px; margin: 0 auto; font-size: 1.125rem; }

/* ── Table of Contents ─────────────────────────────────────── */
.toc-widget ol { padding-left: 1.25rem; }
.toc-widget li { margin-bottom: 0.5rem; }
.toc-widget a { font-size: 0.875rem; color: var(--green-mid); }
.toc-widget a:hover { color: var(--green-deep); }

/* ── Contact / About / Policy Pages ───────────────────────── */
.prose-page { max-width: 760px; margin: 0 auto; }
.prose-page h2 { margin: 2rem 0 0.875rem; }
.prose-page h3 { margin: 1.5rem 0 0.625rem; }
.contact-form { margin-top: 2.5rem; }
.form-row { margin-bottom: 1.25rem; }
.form-row label { display: block; font-weight: 500; margin-bottom: 0.375rem; font-size: 0.9375rem; }
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--ink);
  background: white;
  transition: border-color var(--transition);
  outline: none;
}
.form-row input:focus,
.form-row textarea:focus { border-color: var(--green-mid); }
.form-row textarea { resize: vertical; min-height: 120px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Related Posts ─────────────────────────────────────────── */
.related-section { background: var(--green-mist); border-radius: var(--radius-xl); padding: 3rem; margin-top: 3rem; }
.related-section h3 { margin-bottom: 1.5rem; }

/* ── Progress / Checklist ──────────────────────────────────── */
.checklist { list-style: none; padding: 0; }
.checklist li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--ink-muted);
}
.checklist li:last-child { border-bottom: none; }
.check-icon { color: var(--green-soft); font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }

/* ── Contact Section ──────────────────────────────────────── */
.contact-section {
  background: linear-gradient(135deg, #f0fdf4 0%, #e8f5e9 40%, #fdf3e3 100%);
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(45,106,79,0.08) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
  pointer-events: none;
}
.contact-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(233,168,75,0.1) 0%, transparent 70%);
  bottom: -80px;
  left: -80px;
  border-radius: 50%;
  pointer-events: none;
}
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}
.contact-info {
  padding-top: 1rem;
}
.contact-info h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.contact-info > p {
  font-size: 1.0625rem;
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
  max-width: 440px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.contact-detail-item:hover {
  background: rgba(255,255,255,0.95);
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}
.contact-detail-icon {
  width: 48px;
  height: 48px;
  background: var(--green-mist);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.contact-detail-item h4 {
  margin-bottom: 0.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green-deep);
}
.contact-email-link {
  font-size: 0.9rem;
  color: var(--green-mid);
  font-weight: 500;
  transition: color var(--transition);
}
.contact-email-link:hover {
  color: var(--green-deep);
}
.contact-detail-text {
  font-size: 0.9rem;
  color: var(--ink-light);
  margin: 0;
}
.contact-form-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-mid), var(--green-soft), var(--amber));
}
.contact-form-card h3 {
  margin-bottom: 1.75rem;
  font-size: 1.3rem;
  color: var(--green-deep);
}
.contact-form-card .form-row label {
  color: var(--ink-muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contact-form-card .form-row input,
.contact-form-card .form-row textarea {
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}
.contact-form-card .form-row input:focus,
.contact-form-card .form-row textarea:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.1);
}
.contact-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-form-card {
    padding: 1.75rem;
  }
}

/* ── Scroll to Top ─────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--green-mid);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 50;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--green-deep); }

/* ── Cookie Banner ─────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--green-deep);
  color: rgba(255,255,255,0.85);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  z-index: 200;
  flex-wrap: wrap;
  font-size: 0.9rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner a { color: var(--green-soft); }
.cookie-actions { display: flex; gap: 0.75rem; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { padding: 4rem 0 3.5rem; }
  .hero-stats { gap: 1.5rem; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .newsletter-section { padding: 2.5rem 1.5rem; }
  .section { padding: 3.5rem 0; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
}
