/* ============================================================
   THE NUTRI CENTER — Design System
   Palette: Deep Forest + Sage + Warm Cream + Soft Gold
   Type: Cormorant Garamond (display) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Tokens ──────────────────────────────────────────────── */
:root {
  --forest:   #1a2e1f;
  --forest2:  #243328;
  --sage:     #4a7c59;
  --sage-lt:  #6a9e78;
  --cream:    #f8f4ee;
  --cream2:   #f0ebe2;
  --gold:     #b8965a;
  --gold-lt:  #d4b07a;
  --text:     #1a1a18;
  --text-md:  #3d4039;
  --text-lt:  #6b7068;
  --white:    #ffffff;
  --border:   #e2ddd5;

  --sans:  'DM Sans', system-ui, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  --shadow-sm: 0 1px 4px rgba(26,46,31,.08);
  --shadow-md: 0 4px 24px rgba(26,46,31,.10);
  --shadow-lg: 0 12px 48px rgba(26,46,31,.14);

  --max-w: 1200px;
  --gap: clamp(3.5rem, 7vw, 6rem);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Layout ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}
.section { padding: var(--gap) 0; }
.section-sm { padding: clamp(2rem, 4vw, 3.5rem) 0; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .eyebrow { margin-bottom: .8rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { max-width: 55ch; margin-inline: auto; }

/* ── Grids ───────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }

/* ── Typography ──────────────────────────────────────────── */
.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
}
.display-xl {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 300;
  line-height: 1.07;
  letter-spacing: -.01em;
}
.display-lg {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.12;
}
.display-md {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
}
.body-lg { font-size: 1.1rem; line-height: 1.75; color: var(--text-md); }
.body-sm { font-size: .88rem; line-height: 1.65; color: var(--text-lt); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .04em;
  transition: all .22s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}
.btn-primary:hover {
  background: var(--forest);
  border-color: var(--forest);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}
.btn-outline-sage {
  background: transparent;
  color: var(--sage);
  border-color: var(--sage);
}
.btn-outline-sage:hover {
  background: var(--sage);
  color: var(--white);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #a0823f;
  border-color: #a0823f;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-lg { padding: 1rem 2.6rem; font-size: .95rem; }
.btn-sm { padding: .6rem 1.35rem; font-size: .8rem; }

/* ── Utility ─────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.bg-cream { background: var(--cream); }
.bg-forest { background: var(--forest); }

.divider {
  width: 44px; height: 2px;
  background: var(--gold);
  margin-block: 1.2rem;
}
.divider-center { margin-inline: auto; }

.tag {
  display: inline-block;
  padding: .28rem .8rem;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .04em;
  background: rgba(74,124,89,.1);
  color: var(--sage);
}

/* ── Nav ─────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: background .3s ease, box-shadow .3s ease;
}
.site-nav.scrolled {
  background: rgba(26,46,31,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 36px; height: 36px;
  background: var(--sage);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
}
.nav-logo-text {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--white);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.nav-links a {
  font-size: .85rem;
  font-weight: 400;
  color: rgba(255,255,255,.78);
  letter-spacing: .03em;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-cta { margin-left: .5rem; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--forest);
  z-index: 800;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: rgba(255,255,255,.82);
  transition: color .2s;
}
.nav-mobile a:hover { color: var(--white); }

/* ── Page Hero (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--forest);
  padding: 9rem 0 5rem;
  text-align: center;
}
.page-hero .eyebrow { color: var(--sage-lt); margin-bottom: .9rem; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,.68); max-width: 52ch; margin-inline: auto; }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-body { padding: 1.75rem; }

/* ── Testimonials ────────────────────────────────────────── */
.testimonial {
  background: var(--cream);
  border-radius: var(--r-md);
  padding: 2rem;
  border-left: 3px solid var(--sage);
}
.testimonial-stars { color: var(--gold); font-size: .9rem; letter-spacing: .1em; margin-bottom: .75rem; }
.testimonial-text {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 1.2rem;
  color: var(--text);
}
.testimonial-author { font-size: .82rem; font-weight: 500; color: var(--text-lt); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  font-weight: 500;
  cursor: pointer;
  transition: color .2s;
  text-align: left;
}
.faq-question:hover { color: var(--sage); }
.faq-icon {
  width: 26px; height: 26px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .85rem;
  flex-shrink: 0;
  transition: all .2s;
  color: var(--sage);
}
.faq-item.open .faq-icon { background: var(--sage); border-color: var(--sage); color: var(--white); }
.faq-answer {
  display: none;
  padding-bottom: 1.25rem;
  color: var(--text-md);
  line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  background: var(--forest);
  padding: 5.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(74,124,89,.25) 0%, transparent 70%);
}
.cta-banner .container { position: relative; }
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,.68); max-width: 50ch; margin-inline: auto; margin-bottom: 2.5rem; }
.btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Stats ───────────────────────────────────────────────── */
.stat-number {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--sage);
  line-height: 1;
}
.stat-label { font-size: .8rem; color: var(--text-lt); margin-top: .4rem; letter-spacing: .04em; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: #111a13;
  color: rgba(255,255,255,.55);
  padding: 4.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { font-size: .88rem; line-height: 1.75; max-width: 28ch; margin-top: 1rem; }
.footer-col h4 {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul a { font-size: .87rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-contact p { font-size: .87rem; line-height: 2; }
.footer-contact a { transition: color .2s; }
.footer-contact a:hover { color: var(--sage-lt); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .78rem;
}
.footer-social { display: flex; gap: .75rem; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .75rem;
  transition: all .2s;
}
.footer-social a:hover { border-color: var(--sage); color: var(--sage-lt); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
