/* ============================================================
   Wellness Nest Daily — indoor plants & planters
   Palette: forest #2F5233 · terracotta #C67B5C · cream #FAF6EF
   Fonts:   Marcellus (display) · Mulish (body)
   ============================================================ */

:root {
  --forest: #2F5233;
  --forest-deep: #24402A;
  --forest-tint: #E4ECE2;
  --terracotta: #C67B5C;
  --terracotta-deep: #A85F42;
  --cream: #FAF6EF;
  --sand: #EFE7DA;
  --ink: #26332A;
  --ink-muted: #6B776C;
  --radius-card: 14px;
  --shadow-soft: 0 8px 26px rgba(38, 51, 42, 0.09);
  --shadow-lift: 0 18px 44px rgba(38, 51, 42, 0.16);
  --font-display: "Marcellus", "Palatino Linotype", Georgia, serif;
  --font-body: "Mulish", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

.container { width: min(1200px, 92%); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--forest); color: var(--cream); padding: 10px 18px;
  border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.16; letter-spacing: 0.015em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 14.5px;
  letter-spacing: 0.04em;
  padding: 14px 28px; border-radius: 10px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:focus-visible { outline: 3px solid var(--terracotta-deep); outline-offset: 2px; }
.btn-primary { background: var(--forest); color: var(--cream); }
.btn-primary:hover { background: var(--forest-deep); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-ghost:hover { background: var(--forest); color: var(--cream); transform: translateY(-2px); }
.btn-light { background: var(--terracotta); color: var(--cream); }
.btn-light:hover { background: var(--terracotta-deep); transform: translateY(-2px); }
.btn-dark { background: var(--terracotta); color: var(--cream); }
.btn-dark:hover { background: var(--terracotta-deep); transform: translateY(-2px); }
.btn-add { width: 100%; padding: 12px 18px; font-size: 14px; background: var(--forest); color: var(--cream); }
.btn-add:hover { background: var(--terracotta); }
.btn-add.added { background: var(--terracotta); color: var(--cream); cursor: default; }

/* ---------- Announcement ---------- */
.announce {
  background: var(--forest); color: var(--cream);
  text-align: center; font-size: 13.5px; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 9px 16px; font-weight: 600;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(38, 51, 42, 0.12);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.logo {
  font-family: var(--font-display); font-size: 21px; letter-spacing: 0.02em;
  color: var(--forest-deep); text-decoration: none; white-space: nowrap;
}
.logo em { font-style: normal; color: var(--terracotta); }
.logo .tld { font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--ink-muted); margin-left: 2px; }
.main-nav { display: flex; gap: 30px; }
.main-nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 6px 2px; border-bottom: 2px solid transparent; transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover { color: var(--terracotta-deep); border-bottom-color: var(--terracotta); }
.main-nav a:focus-visible { outline: 2px solid var(--terracotta-deep); outline-offset: 3px; border-radius: 4px; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; border: none; background: transparent;
  color: var(--forest-deep); cursor: pointer; transition: background 0.15s ease;
}
.icon-btn:hover { background: var(--forest-tint); }
.icon-btn:focus-visible { outline: 2px solid var(--terracotta-deep); outline-offset: 2px; }
.cart-count {
  position: absolute; top: 2px; right: 0;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--terracotta); color: var(--cream); font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.nav-toggle { display: none; }
.mobile-nav {
  display: none; flex-direction: column; padding: 6px 4% 16px;
  border-top: 1px solid rgba(38, 51, 42, 0.1);
}
.mobile-nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px;
  padding: 12px 4px; border-bottom: 1px solid rgba(38, 51, 42, 0.08);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav.open { display: flex; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(38, 51, 42, 0.1); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--terracotta-deep); margin-bottom: 16px;
}
.hero h1 { font-size: clamp(38px, 4.8vw, 60px); margin-bottom: 20px; color: var(--forest-deep); }
.lede { font-size: 17.5px; color: var(--ink-muted); max-width: 46ch; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-meta { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.hero-meta li { font-size: 14.5px; color: var(--ink-muted); display: flex; align-items: center; gap: 10px; }
.hero-meta li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50% 50% 50% 0; background: var(--forest); flex: none;
  transform: rotate(-45deg);
}
.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 2.9; object-fit: cover;
  border-radius: var(--radius-card) var(--radius-card) 120px var(--radius-card);
  box-shadow: var(--shadow-lift);
}
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: rgba(250, 246, 239, 0.96); border: 1px solid rgba(38, 51, 42, 0.08);
  border-radius: 999px; padding: 10px 18px; font-size: 13px; font-weight: 700;
  box-shadow: var(--shadow-soft); color: var(--ink);
}
.chip svg { color: var(--forest); flex: none; }
.chip-a { top: 20px; left: -16px; }
.chip-b { bottom: 30px; right: -12px; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 18px; }
.chip-stars { color: var(--terracotta); letter-spacing: 2px; font-size: 13px; }

/* ---------- Trust strip ---------- */
.trust { background: var(--forest-tint); border-block: 1px solid rgba(38, 51, 42, 0.1); padding: 26px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust-item { display: flex; align-items: center; gap: 14px; color: var(--forest); }
.trust-item svg { flex: none; }
.trust-item div { display: flex; flex-direction: column; }
.trust-item strong { color: var(--ink); font-size: 14.5px; }
.trust-item span { font-size: 13px; color: var(--ink-muted); }

/* ---------- Sections ---------- */
section { scroll-margin-top: 90px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 10px; color: var(--forest-deep); }
.section-head p { color: var(--ink-muted); font-size: 16px; }

/* ---------- Category tiles ---------- */
.categories { padding: 76px 0 20px; }
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tile {
  position: relative; display: block; border-radius: var(--radius-card);
  overflow: hidden; box-shadow: var(--shadow-soft);
}
.tile img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; transition: transform 0.5s ease; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); }
.tile-label {
  position: absolute; inset-inline: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 44px 22px 18px; color: var(--cream); font-weight: 700; font-size: 15.5px;
  background: linear-gradient(to top, rgba(36, 64, 42, 0.8), transparent);
}
.tile-arrow { color: var(--terracotta); transition: transform 0.2s ease; }
.tile:hover .tile-arrow { transform: translateX(5px); }
.tile:focus-visible { outline: 3px solid var(--terracotta-deep); outline-offset: 3px; }

/* ---------- Bestsellers ---------- */
.bestsellers { padding: 76px 0; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: #FFFFFF; border: 1px solid rgba(38, 51, 42, 0.09);
  border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.product-media { position: relative; overflow: hidden; background: var(--sand); }
.product-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-media img { transform: scale(1.04); }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 11px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.badge-hot { background: var(--forest); color: var(--cream); }
.badge-new { background: var(--terracotta); color: var(--cream); }
.product-info { display: flex; flex-direction: column; gap: 10px; padding: 20px; flex: 1; }
.product-info h3 { font-size: 19px; }
.stars-row { display: flex; align-items: center; gap: 8px; }
.stars { color: var(--terracotta); letter-spacing: 2px; font-size: 14px; }
.count { font-size: 13px; color: var(--ink-muted); }
.product-desc { font-size: 14px; color: var(--ink-muted); flex: 1; }
.price-row { display: flex; align-items: baseline; gap: 10px; }
.price { font-weight: 800; font-size: 18px; }
.compare { color: var(--ink-muted); text-decoration: line-through; font-size: 14.5px; }

/* ---------- Editorial band: rounded card ---------- */
.band-wrap { padding: 30px 0 76px; }
.band-card {
  background: var(--forest); border-radius: 28px; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch;
  box-shadow: var(--shadow-lift);
}
.band-copy { padding: clamp(36px, 5vw, 72px); color: var(--cream); display: flex; flex-direction: column; justify-content: center; }
.eyebrow-light { color: var(--terracotta); }
.band-copy h2 { font-size: clamp(30px, 3.4vw, 44px); color: var(--cream); margin-bottom: 16px; }
.band-copy p { color: rgba(250, 246, 239, 0.82); margin-bottom: 28px; max-width: 46ch; }
.band-media { min-height: 100%; }
.band-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Steps ---------- */
.steps { padding: 0 0 30px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card {
  background: #FFFFFF; border: 1px solid rgba(38, 51, 42, 0.09);
  border-radius: var(--radius-card); padding: 32px 28px; position: relative;
  border-top: 4px solid var(--terracotta);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.step-num {
  font-family: var(--font-display); font-size: 38px; color: var(--forest);
  display: block; margin-bottom: 12px;
}
.step-card h3 { font-size: 20px; margin-bottom: 10px; color: var(--forest-deep); }
.step-card p { font-size: 14.5px; color: var(--ink-muted); }

/* ---------- Testimonials ---------- */
.testimonials { padding: 76px 0; background: var(--sand); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--cream); border-radius: var(--radius-card); padding: 30px;
  display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-soft);
}
.testimonial-card blockquote { font-size: 15px; color: var(--ink); flex: 1; }
.testimonial-card figcaption { display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; }
.verified {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 800; color: var(--forest);
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--terracotta); }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 52px 0; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); color: var(--cream); margin-bottom: 6px; }
.cta-band p { color: rgba(250, 246, 239, 0.85); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--forest-deep); color: var(--cream); padding: 76px 0; }
.newsletter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.newsletter .eyebrow { color: var(--terracotta); }
.newsletter h2 { color: var(--cream); font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 12px; }
.newsletter-copy p { color: rgba(250, 246, 239, 0.72); }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 12px; align-content: start; }
.newsletter-form input {
  flex: 1 1 240px; padding: 14px 20px; border-radius: 10px;
  border: 2px solid rgba(250, 246, 239, 0.28); background: rgba(250, 246, 239, 0.08);
  color: var(--cream); font-family: var(--font-body); font-size: 15px;
}
.newsletter-form input::placeholder { color: rgba(250, 246, 239, 0.45); }
.newsletter-form input:focus { outline: none; border-color: var(--terracotta); background: rgba(250, 246, 239, 0.12); }
.newsletter-form .btn-primary { background: var(--terracotta); color: var(--cream); }
.newsletter-form .btn-primary:hover { background: var(--cream); color: var(--forest-deep); }
.form-note { flex-basis: 100%; font-size: 12.5px; color: rgba(250, 246, 239, 0.5); }
.form-success { flex-basis: 100%; font-weight: 700; color: var(--terracotta); font-size: 16px; }
.form-error { border-color: #D98C7B !important; }

/* ---------- Footer ---------- */
.site-footer { background: #1E2E22; color: rgba(250, 246, 239, 0.78); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 62px 0 42px;
}
.logo-light { color: var(--cream); }
.logo-light em { color: var(--terracotta); }
.logo-light .tld { color: rgba(250, 246, 239, 0.5); }
.footer-brand p { font-size: 14.5px; margin: 16px 0 20px; max-width: 34ch; }
.footer-widget {
  background: rgba(198, 123, 92, 0.12); border: 1px solid rgba(198, 123, 92, 0.35);
  border-radius: 12px; padding: 18px 20px;
}
.footer-widget h4 { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 10px; }
.footer-widget ul { list-style: none; }
.footer-widget li { font-size: 13.5px; padding: 3px 0; }
.footer-col h4 {
  font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream); margin-bottom: 16px; font-family: var(--font-body); font-weight: 800;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 14.5px; }
.footer-col a { color: rgba(250, 246, 239, 0.7); text-decoration: none; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--terracotta); }
.footer-col a:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; border-radius: 3px; }
.payments-title { margin-top: 24px; }
.payments { display: flex; flex-wrap: wrap; gap: 8px; }
.payments li {
  margin: 0; font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
  border: 1px solid rgba(250, 246, 239, 0.28); border-radius: 7px; padding: 5px 10px; color: rgba(250, 246, 239, 0.85);
}
.footer-bottom { border-top: 1px solid rgba(250, 246, 239, 0.12); padding: 22px 0; font-size: 13.5px; color: rgba(250, 246, 239, 0.5); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: var(--forest-deep); color: var(--cream); font-weight: 700; font-size: 15px;
  padding: 14px 26px; border-radius: 12px; box-shadow: var(--shadow-lift);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease; z-index: 300;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .tile img, .product-card, .product-media img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .band-card { grid-template-columns: 1fr; }
  .band-media { order: -1; max-height: 300px; overflow: hidden; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero { padding: 36px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media img { border-radius: 14px 14px 60px 14px; }
  .chip-a { left: 8px; }
  .chip-b { right: 8px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .tile-grid { grid-template-columns: 1fr; }
  .steps-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .newsletter-grid { grid-template-columns: 1fr; gap: 28px; }
  .categories, .bestsellers, .testimonials { padding-top: 56px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { font-size: 36px; }
  .logo { font-size: 18px; }
}
