/* ── Rooted Nutrition Co. — Wellness Template 02 ── */
:root {
  --teal: #1F4C4A;
  --teal-dark: #163634;
  --cream: #FAF6EF;
  --cream-alt: #F2EBDC;
  --mustard: #E8A94A;
  --mustard-dark: #D0923A;
  --white: #ffffff;
  --text: #2B3B39;
  --muted: #6B7C79;
  --border: #E5DDC8;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito Sans', sans-serif; background: var(--cream); color: var(--text); line-height: 1.65; }

h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; color: var(--teal); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); line-height: 1.05; }
h2 { font-size: clamp(2.1rem, 4vw, 2.9rem); line-height: 1.15; }
h3 { font-size: 1.35rem; }
p { color: var(--muted); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.section-alt { background: var(--cream-alt); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: 'Nunito Sans', sans-serif; font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--mustard-dark);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--mustard); display: inline-block; }

/* ── HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,246,239,0.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo-text { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 700; color: var(--teal); }
.logo-text span { color: var(--mustard-dark); }
.nav-links { display: flex; align-items: center; gap: 2.4rem; }
.nav-link {
  font-size: 0.9rem; font-weight: 600; color: var(--teal); position: relative; padding-bottom: 4px;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--mustard);
  transition: width 0.25s;
}
.nav-link:hover::after { width: 100%; }
.btn-nav {
  background: var(--teal); color: var(--white); font-weight: 700; font-size: 0.85rem;
  padding: 0.75rem 1.6rem; border-radius: 999px; transition: background 0.2s;
}
.btn-nav:hover { background: var(--teal-dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--teal); border-radius: 2px; }

.mobile-nav {
  display: none; position: fixed; top: 4.6rem; left: 1rem; right: 1rem; z-index: 99;
  background: var(--white); border-radius: 20px;
  padding: 1.5rem 2rem; flex-direction: column; gap: 1.1rem;
  box-shadow: 0 12px 40px rgba(31,76,74,0.18);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 1rem; font-weight: 600; color: var(--teal); }

/* ── HERO ── */
.hero { padding: 5.5rem 0 5rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 3.5rem; align-items: center; }
.hero-text p.lead { font-size: 1.12rem; max-width: 460px; margin: 1.4rem 0 2rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.btn-primary {
  background: var(--mustard); color: var(--teal-dark); font-weight: 700; font-size: 0.95rem;
  padding: 1rem 2.1rem; border-radius: 999px; display: inline-block; transition: background 0.2s;
  box-shadow: 0 8px 24px rgba(232,169,74,0.35);
}
.btn-primary:hover { background: var(--mustard-dark); }
.btn-outline {
  border: 2px solid var(--teal); color: var(--teal); font-weight: 700; font-size: 0.95rem;
  padding: 1rem 2.1rem; border-radius: 999px; display: inline-block; transition: all 0.2s;
}
.btn-outline:hover { background: var(--teal); color: var(--white); }
.hero-credential { display: flex; align-items: center; gap: 0.9rem; }
.rd-badge {
  width: 52px; height: 52px; border-radius: 50%; background: var(--teal);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.hero-credential p { font-size: 0.85rem; font-weight: 600; color: var(--teal); margin: 0; }
.hero-credential span { font-size: 0.8rem; color: var(--muted); font-weight: 400; }

.hero-visual { position: relative; }
.hero-circle {
  width: 100%; aspect-ratio: 1/1; border-radius: 50%; overflow: hidden;
  box-shadow: 0 30px 60px rgba(31,76,74,0.2); border: 8px solid var(--white);
}
.hero-circle img { width: 100%; height: 100%; object-fit: cover; }
.hero-pill-stat {
  position: absolute; bottom: 1rem; left: -1.5rem;
  background: var(--white); border-radius: 999px; padding: 1rem 1.5rem;
  display: flex; align-items: center; gap: 0.8rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.hero-pill-stat .num { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 700; color: var(--mustard-dark); }
.hero-pill-stat .label { font-size: 0.75rem; font-weight: 600; color: var(--teal); line-height: 1.2; }

/* ── STATS STRIP ── */
.stats-strip { background: var(--teal); padding: 2.6rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-item .stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 700; color: var(--mustard); }
.stat-item .stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.75); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.3rem; }

/* ── SERVICES ── */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; margin-top: 3rem; }
.service-card {
  background: var(--white); border-radius: 20px; padding: 2.2rem 1.7rem;
  border: 1px solid var(--border); transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(31,76,74,0.1); border-color: transparent; }
.service-icon {
  width: 54px; height: 54px; border-radius: 16px; background: var(--cream-alt);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.4rem;
}
.service-icon svg { width: 26px; height: 26px; color: var(--mustard-dark); }
.service-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.service-card p { font-size: 0.88rem; }

/* ── PROCESS TIMELINE ── */
.process-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem; position: relative; }
.process-row::before {
  content: ''; position: absolute; top: 32px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(to right, var(--border) 0, var(--border) 8px, transparent 8px, transparent 16px);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; text-align: center; }
.process-num {
  width: 64px; height: 64px; border-radius: 50%; background: var(--teal); color: var(--white);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.4rem;
  font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 700;
  border: 6px solid var(--cream);
}
.process-step h3 { margin-bottom: 0.6rem; }
.process-step p { font-size: 0.9rem; max-width: 260px; margin: 0 auto; }

/* ── PACKAGES ── */
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; margin-top: 3rem; align-items: stretch; }
.package-card {
  background: var(--white); border-radius: 24px; padding: 2.6rem 2rem;
  border: 2px solid var(--border); display: flex; flex-direction: column;
  position: relative; transition: transform 0.25s;
}
.package-card.featured { border-color: var(--mustard); box-shadow: 0 20px 50px rgba(232,169,74,0.18); transform: scale(1.03); }
.package-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--mustard); color: var(--teal-dark); font-size: 0.72rem; font-weight: 700;
  padding: 0.4rem 1.1rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em;
}
.package-name { font-size: 1.3rem; margin-bottom: 0.4rem; }
.package-price { font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; font-weight: 700; color: var(--teal); margin-bottom: 0.3rem; }
.package-price span { font-size: 0.95rem; font-weight: 400; color: var(--muted); }
.package-desc { font-size: 0.88rem; margin-bottom: 1.6rem; }
.package-features { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 2rem; flex-grow: 1; }
.package-features li { font-size: 0.88rem; display: flex; align-items: flex-start; gap: 0.6rem; color: var(--text); }
.package-features li svg { width: 16px; height: 16px; color: var(--mustard-dark); flex-shrink: 0; margin-top: 0.2rem; }
.package-card .btn-outline, .package-card .btn-primary { text-align: center; }

/* ── TESTIMONIALS ── */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; margin-top: 3rem; }
.testimonial-card { background: var(--white); border-radius: 20px; padding: 2.2rem; border: 1px solid var(--border); }
.testimonial-stars { color: var(--mustard-dark); font-size: 0.95rem; margin-bottom: 1rem; letter-spacing: 0.05em; }
.testimonial-card p.quote { font-size: 0.94rem; color: var(--text); font-style: italic; margin-bottom: 1.4rem; }
.testimonial-author { font-size: 0.85rem; font-weight: 700; color: var(--teal); }

/* ── FAQ ACCORDION ── */
.faq-list { max-width: 780px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item { background: var(--white); border-radius: 16px; border: 1px solid var(--border); overflow: hidden; }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 1.3rem 1.6rem; display: flex; justify-content: space-between; align-items: center;
  font-family: 'Nunito Sans', sans-serif; font-size: 1rem; font-weight: 700; color: var(--teal);
}
.faq-question .faq-icon { transition: transform 0.25s; font-size: 1.3rem; color: var(--mustard-dark); flex-shrink: 0; }
.faq-item.open .faq-question .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 1.6rem 1.4rem; font-size: 0.9rem; color: var(--muted); }
.faq-item.open .faq-answer { max-height: 300px; }

/* ── FINAL CTA ── */
.final-cta { text-align: center; padding: 6rem 2rem; background: var(--teal); }
.final-cta .eyebrow { color: var(--mustard); justify-content: center; }
.final-cta .eyebrow::before { background: var(--mustard); }
.final-cta h2 { color: var(--white); max-width: 640px; margin: 0 auto 1.2rem; }
.final-cta p { color: rgba(255,255,255,0.75); max-width: 480px; margin: 0 auto 2.2rem; }

/* ── FOOTER ── */
.site-footer { background: var(--teal-dark); padding: 3rem 2rem 2rem; }
.footer-inner { max-width: 1160px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo-text { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 700; color: var(--white); }
.footer-logo-text span { color: var(--mustard); }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { max-width: 1160px; margin: 1.5rem auto 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.footer-copy, .footer-credit { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-credit a { color: rgba(255,255,255,0.6); }
.footer-credit a:hover { color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .packages-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .package-card.featured { transform: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .process-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .process-row::before { display: none; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .container { padding: 0 1.25rem; }
  .section { padding: 4rem 0; }
  .services-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .hero-pill-stat { left: 0.5rem; }
}
