/**
 * Washable Granules homepage — scoped under .wg-hp
 */
.wg-hp {
  --wg-green: #1f7a4c;
  --wg-green-dark: #145536;
  --wg-mint: #e8f6ee;
  --wg-ink: #122018;
  --wg-muted: #5a6b60;
  --wg-line: #d7e5dc;
  --wg-white: #ffffff;
  --wg-yellow: #f0c43c;
  --wg-radius: 14px;
  --wg-max: 1120px;
  --wg-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-family: var(--wg-font);
  color: var(--wg-ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.wg-hp *, .wg-hp *::before, .wg-hp *::after { box-sizing: border-box; }
.wg-hp__wrap { width: min(var(--wg-max), calc(100% - 2rem)); margin: 0 auto; }
.wg-hp__h1, .wg-hp__h2, .wg-hp__h3 { letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 0.75rem; color: var(--wg-ink); }
.wg-hp__h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 800; }
.wg-hp__h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 800; }
.wg-hp__h3 { font-size: 1.15rem; font-weight: 750; }
.wg-hp__btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9rem 1.35rem; border-radius: 12px; font-weight: 800; font-size: 1rem;
  text-decoration: none !important; border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}
.wg-hp__btn:hover { transform: translateY(-1px); }
.wg-hp__btn--primary { background: var(--wg-yellow); color: var(--wg-ink) !important; border-color: var(--wg-yellow); }
.wg-hp__btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,0.75); }
.wg-hp__btn--ghost-dark { background: transparent; color: var(--wg-ink) !important; border-color: var(--wg-ink); }
.wg-hp__btn--block { width: 100%; }

/* Full-bleed out of theme content */
body.home:has(.wg-hp) .entry-content,
body.page:has(.wg-hp) .entry-content,
body.home:has(.wg-hp) .wp-block-post-content,
body.page:has(.wg-hp) .wp-block-post-content {
  max-width: none !important; padding-left: 0 !important; padding-right: 0 !important; width: 100% !important;
}
body.home:has(.wg-hp) .wp-block-post-title,
body.page:has(.wg-hp) .wp-block-post-title { display: none !important; }

.wg-hp__hero { position: relative; min-height: min(72vh, 620px); display: grid; align-items: center; color: #fff; overflow: hidden; }
.wg-hp__hero-bg { position: absolute; inset: 0; background: #145536 center/cover no-repeat; }
.wg-hp__hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(18,32,24,0.92) 0%, rgba(18,32,24,0.72) 48%, rgba(18,32,24,0.35) 100%);
}
.wg-hp__hero-content { position: relative; z-index: 1; padding: 3.5rem 0 4rem; max-width: 640px; }
.wg-hp__eyebrow {
  display: inline-block; background: rgba(240,196,60,0.18); color: var(--wg-yellow);
  border: 1px solid rgba(240,196,60,0.45); border-radius: 999px; padding: 0.3rem 0.7rem;
  font-size: 0.78rem; font-weight: 700; margin-bottom: 1rem;
}
.wg-hp__hero .wg-hp__h1 { color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,0.4); }
.wg-hp__lead {
  color: #fff; font-size: 1.08rem; max-width: 36rem; margin: 0 0 1.5rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.45); background: rgba(18,32,24,0.35);
  border-radius: 10px; padding: 0.65rem 0.85rem;
}
.wg-hp__hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; }
.wg-hp__hero-trust { display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; font-size: 0.88rem; font-weight: 600; color: #d9ebe0; }
.wg-hp__hero-trust span::before { content: "✓ "; color: var(--wg-yellow); }

.wg-hp__section { padding: 3.5rem 0; }
.wg-hp__section--tint { background: var(--wg-mint); }
.wg-hp__section-head { text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.wg-hp__section-head p { color: var(--wg-muted); margin: 0; }

.wg-hp__packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.wg-hp__pack {
  background: var(--wg-white); border: 1px solid var(--wg-line); border-radius: var(--wg-radius);
  padding: 1.35rem; box-shadow: 0 8px 24px rgba(18,32,24,0.06); position: relative;
}
.wg-hp__pack--featured { border-color: var(--wg-green); box-shadow: 0 10px 28px rgba(31,122,76,0.15); }
.wg-hp__badge {
  position: absolute; top: 0.85rem; right: 0.85rem; background: var(--wg-green); color: #fff;
  font-size: 0.72rem; font-weight: 800; padding: 0.25rem 0.55rem; border-radius: 999px;
}
.wg-hp__price { font-size: 1.35rem; font-weight: 800; margin: 0.35rem 0 0.15rem; }
.wg-hp__was { color: var(--wg-muted); font-size: 0.85rem; text-decoration: line-through; margin: 0 0 0.55rem; }
.wg-hp__pack-note { text-align: center; color: var(--wg-muted); font-size: 0.92rem; margin: 1.25rem 0 0; }

.wg-hp__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.wg-hp__step { background: #fff; border: 1px solid var(--wg-line); border-radius: var(--wg-radius); padding: 1.35rem; }
.wg-hp__step-num {
  display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--wg-green); color: #fff; font-weight: 800; margin-bottom: 0.75rem;
}
.wg-hp__benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.wg-hp__benefit { background: #fff; border: 1px solid var(--wg-line); border-radius: var(--wg-radius); padding: 1.25rem; }
.wg-hp__benefit p { color: var(--wg-muted); margin: 0; font-size: 0.95rem; }

.wg-hp__split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem; align-items: center; }
.wg-hp__split-img { width: 100%; border-radius: var(--wg-radius); object-fit: cover; max-height: 360px; }

.wg-hp__quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.wg-hp__quote {
  background: #fff; border: 1px solid var(--wg-line); border-radius: var(--wg-radius);
  padding: 1.35rem; margin: 0; box-shadow: 0 8px 24px rgba(18,32,24,0.06);
}
.wg-hp__quote p { font-style: italic; margin: 0 0 0.75rem; }
.wg-hp__quote cite { font-style: normal; font-weight: 700; color: var(--wg-muted); font-size: 0.9rem; }

.wg-hp__faq { max-width: 720px; margin: 0 auto; }
.wg-hp__faq details {
  background: #fff; border: 1px solid var(--wg-line); border-radius: 12px; padding: 1rem 1.15rem; margin-bottom: 0.65rem;
}
.wg-hp__faq summary { font-weight: 750; cursor: pointer; }
.wg-hp__faq p { color: var(--wg-muted); margin: 0.65rem 0 0; }

.wg-hp__final { background: var(--wg-green-dark); color: #fff; text-align: center; }
.wg-hp__final .wg-hp__h2, .wg-hp__final p { color: #fff; }
.wg-hp__final-inner { padding: 1rem 0; }
.wg-hp__final-logo { height: 64px; width: auto; margin-bottom: 1rem; }

@media (max-width: 900px) {
  .wg-hp__packs, .wg-hp__benefits { grid-template-columns: 1fr 1fr; }
  .wg-hp__steps, .wg-hp__quotes, .wg-hp__split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wg-hp__packs, .wg-hp__benefits { grid-template-columns: 1fr; }
  .wg-hp__hero-ctas { flex-direction: column; }
  .wg-hp__btn { width: 100%; }
}
