/* ============================================
   Body N Spice — bodynspice.com
   Apple-inspired minimalism · pastel palette
   ============================================ */

:root {
  /* Pastel palette derived from brand brown #443315 + green #5B8C2A */
  --ink: #1d1d1f;            /* near-black text (Apple) */
  --ink-2: #6e6e73;          /* secondary text */
  --bg: #fbfbfd;             /* page background */
  --surface: #ffffff;
  --hairline: rgba(0, 0, 0, 0.07);

  --sage: #8aa86e;           /* muted brand green — accents & buttons */
  --sage-deep: #6f8f54;
  --sage-tint: #eef3e7;      /* pastel green wash */
  --sand-tint: #f7f4ee;      /* pastel sand wash */
  --mist-tint: #eef2f4;      /* pastel blue-grey wash */
  --blush-tint: #f7efe9;     /* pastel blush wash */

  --radius: 20px;
  --maxw: 1040px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.022em;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: .9rem; }
h3 { font-size: 1.2rem; margin-bottom: .45rem; font-weight: 650; letter-spacing: -0.01em; }

p { margin-bottom: 1rem; }

a { color: var(--sage-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

section { padding: 96px 0; }

.eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--sage-deep);
  letter-spacing: .01em;
  margin-bottom: .8rem;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ---------- Header — frosted glass ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 251, 253, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}

.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }

.brand img { height: 52px; width: 52px; border-radius: 12px; }

.brand span {
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: var(--ink-2);
  font-weight: 500;
  font-size: .92rem;
  transition: color .15s ease;
}

.nav-links a:hover, .nav-links a.active { color: var(--ink); text-decoration: none; }

.nav-links a.btn { color: #fff; }

/* ---------- Buttons — quiet pills ---------- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 980px;
  font-weight: 500;
  font-size: .98rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: opacity .15s ease, background .15s ease;
}

.btn:hover { text-decoration: none; opacity: .88; }

.btn-green { background: var(--sage); color: #fff; }
.btn-green:hover { background: var(--sage-deep); opacity: 1; }

.btn-brown { background: var(--ink); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.22);
}
.btn-outline:hover { background: rgba(0,0,0,.04); opacity: 1; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2rem; align-items: center; }

.btn-note { font-size: .85rem; color: var(--ink-2); margin-top: .9rem; }

/* Nav CTA — smaller */
.nav .btn { padding: 8px 18px; font-size: .88rem; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--bg) 0%, var(--sage-tint) 130%);
  padding: 120px 0 104px;
}

.hero .container { max-width: 780px; text-align: center; }

.hero h1 span { color: var(--sage-deep); }

.hero .lead { max-width: 620px; margin: 1.4rem auto 0; }

.hero .btn-row { justify-content: center; }

/* ---------- Imagery ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
  max-width: var(--maxw) !important;
  text-align: left !important;
}

.hero-grid .lead { margin: 1.4rem 0 0 !important; }
.hero-grid .btn-row { justify-content: flex-start !important; }

.hero-media img {
  width: 100%;
  border-radius: 28px;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split img {
  width: 100%;
  border-radius: 28px;
  display: block;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}

.banner-img {
  width: 100%;
  border-radius: 28px;
  display: block;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  margin-top: 2.6rem;
}

.card.card-photo { padding: 0; overflow: hidden; }

.card.card-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.card.card-photo .card-body { padding: 24px 26px 30px; }

@media (max-width: 800px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 32px; }
  .hero-media img { aspect-ratio: 4 / 3; }
}

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 20px; margin-top: 2.6rem; }

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px 30px;
  border: 1px solid var(--hairline);
}

.card p:last-child { margin-bottom: 0; }

.pill-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: var(--sage-tint);
  margin-bottom: 18px;
}

/* Alternate pastel tiles for icon variety */
.card:nth-child(2) .pill-icon { background: var(--sand-tint); }
.card:nth-child(3) .pill-icon { background: var(--mist-tint); }
.card:nth-child(4) .pill-icon { background: var(--blush-tint); }

/* ---------- Section washes ---------- */
.section-alt { background: var(--surface); }

/* formerly dark brown — now a pastel sand wash */
.section-brown { background: var(--sand-tint); }
.section-brown h2, .section-brown h3 { color: var(--ink); }
.section-brown p { color: #55524b; }

/* ---------- Pricing tiers ---------- */
.tier { display: flex; flex-direction: column; position: relative; }

.tier .price {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: .35rem 0 .3rem;
}

.tier .price small {
  font-size: .95rem;
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: 0;
}

.tier ul { list-style: none; margin: 1.1rem 0 1.6rem; flex: 1; }

.tier ul li {
  padding: 7px 0 7px 26px;
  position: relative;
  font-size: .93rem;
  color: #3c3c40;
}

.tier ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 600;
}

.tier .btn { text-align: center; }

.badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sage);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .03em;
  padding: 5px 15px;
  border-radius: 980px;
  white-space: nowrap;
}

.tier-featured { border: 1.5px solid var(--sage); background: var(--surface); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 2.4rem;
  text-align: center;
}

.stat .num {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--sage-deep);
}

.stat .lbl { font-size: .85rem; color: var(--ink-2); }

/* ---------- Quote ---------- */
blockquote {
  border: 0;
  padding: 0;
  margin: 2.4rem 0;
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  line-height: 1.4;
  font-weight: 550;
  letter-spacing: -0.018em;
  color: var(--ink);
  text-align: center;
}

/* ---------- Journey steps ---------- */
.steps { counter-reset: step; margin-top: 2.4rem; display: grid; gap: 16px; }

.step {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 26px 28px 26px 78px;
  position: relative;
  border: 1px solid var(--hairline);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 26px;
  top: 26px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sage-tint);
  color: var(--sage-deep);
  font-weight: 650;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
details {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 10px;
  border: 1px solid var(--hairline);
}

details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: -0.01em;
  list-style: none;
  position: relative;
  padding-right: 28px;
}

details summary::-webkit-details-marker { display: none; }

details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-2);
  font-size: 1.3rem;
  font-weight: 300;
}

details[open] summary::after { content: "−"; }

details[open] summary { margin-bottom: .6rem; }

details p { color: var(--ink-2); margin-bottom: 0; }

/* ---------- CTA band — pastel, light ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--sage-tint) 0%, var(--mist-tint) 100%);
  border-radius: 28px;
  padding: 72px 44px;
  text-align: center;
}

.cta-band h2 { color: var(--ink); }
.cta-band p { color: var(--ink-2); max-width: 520px; margin: .7rem auto 0; font-size: 1.1rem; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-white { background: var(--sage); color: #fff; }
.cta-band .btn-white:hover { background: var(--sage-deep); }
.cta-band .btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.22);
}
.cta-band .btn-ghost:hover { background: rgba(0,0,0,.04); }

/* ---------- Footer — light, Apple-style ---------- */
footer {
  background: #f5f5f7;
  color: var(--ink-2);
  padding: 56px 0 32px;
  font-size: .88rem;
  border-top: 1px solid var(--hairline);
}

footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
}

footer h4 {
  color: var(--ink);
  margin-bottom: .8rem;
  font-size: .95rem;
  font-weight: 650;
}

.f-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: .8rem;
}

.f-brand img {
  height: 44px;
  width: 44px;
  border-radius: 10px;
  background: #fff;
}

.f-brand h4 { margin-bottom: 0; }

footer a { color: var(--ink-2); }
footer a:hover { color: var(--ink); text-decoration: underline; }

footer ul { list-style: none; }
footer ul li { margin-bottom: 9px; }

.footer-bottom {
  max-width: var(--maxw);
  margin: 40px auto 0;
  padding: 22px 28px 0;
  border-top: 1px solid var(--hairline);
  font-size: .78rem;
  color: #86868b;
  text-align: center;
}

.footer-bottom p { margin-bottom: .4rem; }

/* ---------- Credibility bar ---------- */
.cred-bar {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--surface);
  padding: 22px 0;
}

.cred-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 44px;
  font-size: .88rem;
  color: var(--ink-2);
  text-align: center;
}

.cred-bar strong { color: var(--ink); font-weight: 650; }

/* ---------- Testimonials ---------- */
.quote-card { display: flex; flex-direction: column; }

.quote-card .q-mark {
  font-size: 2.6rem;
  line-height: 1;
  color: var(--sage);
  font-weight: 700;
  margin-bottom: .6rem;
}

.quote-card p { color: #3c3c40; flex: 1; }

.quote-card .q-by { color: var(--ink); font-weight: 650; font-size: .92rem; margin: 0; }
.quote-card .q-meta { color: var(--ink-2); font-size: .82rem; }

/* ---------- Quiz ---------- */
.quiz {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 28px;
  padding: 48px 40px;
  max-width: 720px;
  margin: 2.4rem auto 0;
}

.quiz h3 { font-size: 1.35rem; margin-bottom: 1.4rem; }

.quiz .q { display: none; }
.quiz .q.active { display: block; }

.quiz .q-count { font-size: .82rem; color: var(--sage-deep); font-weight: 600; margin-bottom: .5rem; }

.quiz .opts { display: grid; gap: 10px; margin-top: 1.2rem; }

.quiz .opts button {
  font: inherit;
  text-align: left;
  padding: 15px 20px;
  border-radius: 14px;
  border: 1px solid var(--hairline);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}

.quiz .opts button:hover { border-color: var(--sage); background: var(--sage-tint); }

.quiz .result { display: none; text-align: center; }
.quiz .result.active { display: block; }
.quiz .result .btn-row { justify-content: center; }
.quiz .restart {
  background: none; border: none; cursor: pointer;
  color: var(--ink-2); font: inherit; font-size: .85rem;
  margin-top: 1rem; text-decoration: underline;
}

/* ---------- Portrait ---------- */
.portrait {
  width: 100%;
  border-radius: 28px;
  display: block;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  filter: grayscale(100%);
}

/* ---------- Newsletter band ---------- */
.news-band {
  background: var(--sage-tint);
  border-radius: 28px;
  padding: 44px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 28px;
  max-width: var(--maxw);
}

@media (min-width: 1100px) { .news-band { margin: 0 auto; } }

.news-band h3 { margin-bottom: .3rem; }
.news-band p { color: var(--ink-2); margin: 0; }

/* ---------- WhatsApp floating button ---------- */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  transition: transform .15s ease;
}

.wa-fab:hover { transform: scale(1.07); }

.wa-fab svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Article pages ---------- */
.article-body { max-width: 720px; margin: 0 auto; }

.article-body h2 { font-size: 1.5rem; margin-top: 2.4rem; }

.article-meta {
  color: var(--ink-2);
  font-size: .88rem;
  margin-bottom: 1.6rem;
}

.article-hero {
  width: 100%;
  border-radius: 28px;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  display: block;
  margin-bottom: 2.4rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .hero { padding: 76px 0 64px; }
  .nav-links { gap: 18px; font-size: .88rem; }
  .cta-band { padding: 52px 28px; }
}
