/* Earth Guard Mission — Global Stylesheet */

/* ── Variables ─────────────────────────────────────────── */
:root {
  --green-primary: #5c8f3f;
  --green-dark:    #3a5e28;
  --green-light:   #eaf4e0;
  --green-mid:     #7db05a;
  --cream:         #f7f3ed;
  --cream-dark:    #ede8e0;
  --white:         #ffffff;
  --text-dark:     #1c2a18;
  --text-body:     #3a4a36;
  --text-muted:    #6b7d66;
  --border:        #c8dbbe;
  --orange-cta:    #e0701e;
  --orange-dark:   #c05a10;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.12);
  --radius:        8px;
  --radius-lg:     14px;
  --max-width:     1080px;
  --transition:    0.2s ease;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--text-body);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
h1,h2,h3,h4 { color: var(--text-dark); line-height: 1.25; }
h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout ────────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 3.5rem 0; }
.section-alt { background: var(--white); }
.section-green { background: var(--green-light); }
.section-dark { background: var(--green-dark); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark p { color: var(--white); }
.section-cream { background: var(--cream-dark); }

/* ── Header / Nav ──────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-dark);
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.logo svg { width: 38px; height: 38px; flex-shrink: 0; }
.logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.logo-text span { display: block; font-size: 0.7rem; font-weight: 400; opacity: 0.85; letter-spacing: 0.05em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav a {
  color: rgba(255,255,255,0.88);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  text-decoration: none;
}
.nav-cta {
  background: var(--orange-cta) !important;
  color: var(--white) !important;
  padding: 0.4rem 0.9rem !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--orange-dark) !important; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.4rem;
  background: none;
  border: none;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ── Breadcrumb ────────────────────────────────────────── */
.breadcrumb-bar {
  background: var(--cream-dark);
  border-bottom: 1px solid var(--border);
  padding: 0.55rem 0;
  font-size: 0.82rem;
}
.breadcrumb { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--green-dark); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--text-muted); }
.breadcrumb .current { color: var(--text-muted); }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%);
  color: var(--white);
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero p { color: rgba(255,255,255,0.9); font-size: 1.15rem; max-width: 640px; margin: 0 auto 1.75rem; }
.hero-sub { font-size: 0.95rem !important; opacity: 0.8; }
.hero-mini {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%);
  color: var(--white);
  padding: 2.5rem 0;
}
.hero-mini h1 { color: var(--white); font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.5rem; }
.hero-mini p { color: rgba(255,255,255,0.88); margin: 0; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-decoration: none !important;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: none; }
.btn-amazon {
  background: var(--orange-cta);
  color: var(--white);
  font-size: 1.05rem;
  padding: 0.9rem 2rem;
}
.btn-amazon:hover { background: var(--orange-dark); color: var(--white); }
.btn-green {
  background: var(--green-primary);
  color: var(--white);
}
.btn-green:hover { background: var(--green-dark); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-primary);
}
.btn-outline:hover { background: var(--green-light); color: var(--green-dark); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.88rem; }
.cta-group { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.cta-group.center { justify-content: center; }

/* ── Cards ─────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  border: 1px solid var(--border);
}
.card-grid { display: grid; gap: 1.5rem; }
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card-icon { font-size: 2.2rem; margin-bottom: 0.75rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* ── Feature List ──────────────────────────────────────── */
.feature-list { list-style: none; padding: 0; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.97rem;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .check {
  color: var(--green-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ── Problem / Solution Split ──────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.split-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
@media (max-width: 700px) { .split { grid-template-columns: 1fr; } .split-img { order: -1; } }

/* ── Landing Page Split (split-section / split-content) ── */
.split-content { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.split-text { display: flex; flex-direction: column; gap: 1rem; }
.split-image { display: flex; align-items: center; justify-content: center; }
.split-image img {
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
@media (max-width: 700px) {
  .split-content { grid-template-columns: 1fr; }
  .split-image { order: -1; }
  .split-image img { max-width: 240px; }
}

/* ── Stats Bar ─────────────────────────────────────────── */
.stats-bar { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.stat-item { text-align: center; padding: 1.25rem 2rem; }
.stat-number { font-size: 2.2rem; font-weight: 800; color: var(--green-primary); line-height: 1; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.3rem; }
.section-dark .stat-number { color: var(--green-mid); }
.section-dark .stat-label { color: rgba(255,255,255,0.75); }

/* ── Steps ─────────────────────────────────────────────── */
.steps { display: grid; gap: 1.25rem; }
.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.step-num {
  min-width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-primary);
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-body h3 { margin-bottom: 0.3rem; font-size: 1.05rem; }
.step-body p { color: var(--text-muted); font-size: 0.93rem; margin: 0; }

/* ── FAQ ───────────────────────────────────────────────── */
.faq-list { display: grid; gap: 0.75rem; }
details.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
details.faq-item summary {
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dark);
  list-style: none;
  gap: 0.5rem;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--green-primary);
  flex-shrink: 0;
  line-height: 1;
}
details.faq-item[open] summary::after { content: '−'; }
details.faq-item[open] { border-color: var(--green-primary); }
.faq-answer { padding: 0 1.25rem 1.1rem; color: var(--text-body); font-size: 0.95rem; }

/* ── Product Image Gallery ─────────────────────────────── */
.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}
.product-gallery img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1;
}

/* ── CTA Banner ────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%);
  color: var(--white);
  text-align: center;
  padding: 3.5rem 0;
}
.cta-banner h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.88); margin-bottom: 1.75rem; font-size: 1.05rem; }

/* ── Amazon CTA Block ──────────────────────────────────── */
.amazon-block {
  background: var(--green-light);
  border: 2px solid var(--green-primary);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}
.amazon-block h3 { color: var(--green-dark); margin-bottom: 0.5rem; }
.amazon-block p { color: var(--text-muted); margin-bottom: 1.25rem; font-size: 0.95rem; }
.amazon-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.75rem; }

/* ── Media / Today Show badge ──────────────────────────── */
.media-bar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.5rem; padding: 1.5rem 0; }
.media-badge {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Section Heading ───────────────────────────────────── */
.section-heading { text-align: center; margin-bottom: 2.5rem; }
.section-heading h2 { margin-bottom: 0.5rem; }
.section-heading p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 1rem; }
.section-dark .section-heading p { color: rgba(255,255,255,0.78); }

/* ── Petition Bar ──────────────────────────────────────── */
.petition-bar {
  background: var(--green-dark);
  color: var(--white);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.95rem;
}
.petition-bar a { color: var(--green-mid); font-weight: 600; }
.petition-bar a:hover { color: var(--white); }

/* ── Contact Form ──────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 0.92rem; color: var(--text-dark); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.97rem;
  font-family: inherit;
  color: var(--text-body);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--green-primary);
}
.form-group textarea { min-height: 130px; resize: vertical; }

/* ── Tags ──────────────────────────────────────────────── */
.tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

/* ── Alert / Tip Box ───────────────────────────────────── */
.tip-box {
  background: var(--green-light);
  border-left: 4px solid var(--green-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
}
.tip-box strong { color: var(--green-dark); }

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.8);
  padding: 3rem 0 1.5rem;
  font-size: 0.88rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-text span { color: rgba(255,255,255,0.6); }
.footer-tagline { color: rgba(255,255,255,0.6); margin-top: 0.75rem; font-size: 0.85rem; line-height: 1.5; }
.footer-col h4 { color: var(--white); font-size: 0.88rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: rgba(255,255,255,0.65); }
.footer-col ul li a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--white); }

/* ── Mobile Nav ────────────────────────────────────────── */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--green-dark);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-md);
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.65rem 1rem; font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > *:first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-bar .stat-item { padding: 0.75rem 1rem; }
}
