/* ==========================================================
   Nikolife Health — Shared stylesheet
   Warm, natural, organic feel
   ========================================================== */

:root {
  --bg-cream: #faf7f0;
  --bg-cream-deep: #f3ede0;
  --bg-sage: #e8f1e6;
  --bg-sage-soft: #f1f7ef;
  --bg-sage-deep: #d6e7d2;
  --teal: #2a8d8e;
  --teal-deep: #1f6f70;
  --teal-soft: #c9e2e1;
  --text-dark: #1f2a24;
  --text-muted: #5d6b62;
  --warm-tan: #c8a577;
  --terracotta: #c97b5a;
  --border: #e3dccb;
  --shadow: 0 8px 30px rgba(31, 42, 36, 0.06);
  --shadow-lg: 0 20px 50px rgba(31, 42, 36, 0.10);
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 32px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text-dark);
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
h4 { font-size: 1.2rem; font-weight: 600; }

p { color: var(--text-muted); margin-bottom: 1rem; }

a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal-deep); }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- Header / Nav ---- */
.site-header {
  background: var(--bg-cream);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(250, 247, 240, 0.92);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--teal-deep);
  text-transform: uppercase;
  font-weight: 600;
}

.logo-mark {
  height: 56px;
  width: auto;
  max-width: 200px;
  flex-shrink: 0;
  object-fit: contain;
}

.site-header .logo-mark { height: 52px; }
.site-footer .logo-mark { height: 70px; }

/* If the user's logo PNG has a dark/black background built in, no inversion needed
   on the dark footer. If a transparent PNG is used and looks too dark, uncomment: */
/* .site-footer .logo-mark { filter: brightness(0) invert(1) brightness(0.95); } */

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

.nav-links a {
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.25s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--teal);
  color: white !important;
  padding: 10px 22px !important;
  border-radius: 100px;
  font-size: 0.92rem;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover {
  background: var(--teal-deep) !important;
  transform: translateY(-1px);
}
.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 6px 18px rgba(42, 141, 142, 0.25);
}
.btn-primary:hover {
  background: var(--teal-deep);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(42, 141, 142, 0.32);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--text-dark);
}
.btn-outline:hover {
  background: var(--text-dark);
  color: white;
}

/* ---- Hero ---- */
.hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--bg-sage);
  color: var(--teal-deep);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--teal);
}

.hero-lede {
  font-size: 1.18rem;
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 36px;
  color: var(--text-muted);
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image .photo-frame {
  background: var(--bg-sage);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.hero-image .photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-leaf {
  position: absolute;
  width: 90px;
  height: 90px;
  opacity: 0.7;
}
.hero-leaf-1 { top: -20px; left: -30px; transform: rotate(-25deg); }
.hero-leaf-2 { bottom: -10px; right: -20px; transform: rotate(135deg); }

/* ---- Sections ---- */
section { padding: 90px 0; }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 14px;
  display: inline-block;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-head p {
  font-size: 1.1rem;
  margin-top: 16px;
}

/* ---- Cards ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-sage);
  padding: 32px 28px;
  border-radius: var(--radius-md);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--teal);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.card p {
  font-size: 0.96rem;
  color: var(--text-dark);
  opacity: 0.78;
}

/* ---- Mission band ---- */
.mission-band {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mission-band::before,
.mission-band::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.mission-band::before { top: -100px; left: -100px; }
.mission-band::after { bottom: -100px; right: -100px; }

.mission-band h2 {
  color: white;
  margin-bottom: 20px;
  position: relative;
}

.mission-band p {
  color: rgba(255,255,255,0.85);
  font-size: 1.2rem;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.mission-big-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 1;
  color: rgba(255,255,255,0.95);
  margin: 30px 0 10px;
  font-style: italic;
}

/* ---- Quote / testimonial block ---- */
.quote-block {
  background: var(--bg-sage);
  padding: 60px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 50px;
  align-items: center;
}

.quote-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-cream);
  flex-shrink: 0;
  box-shadow: var(--shadow);
}
.quote-avatar img { width: 100%; height: 100%; object-fit: cover; }

.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.quote-name { font-weight: 600; color: var(--text-dark); }
.quote-title { color: var(--text-muted); font-size: 0.95rem; }

/* ---- Discovery call CTA ---- */
.discovery-cta {
  background: var(--bg-sage);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
  align-items: stretch;
}

.discovery-cta-image {
  background: var(--bg-sage-deep);
  min-height: 360px;
}
.discovery-cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discovery-cta-body {
  padding: 60px;
}

.discovery-cta-body h2 {
  margin-bottom: 16px;
}

.discovery-cta-body p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* ---- Product cards (shop) ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.product-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  aspect-ratio: 3/4;
  background: var(--bg-cream-deep);
  position: relative;
  overflow: hidden;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; }

.product-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--teal);
  color: white;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
}

.product-badge.coming {
  background: var(--warm-tan);
}

.product-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h3 { margin-bottom: 12px; }
.product-tag {
  display: inline-block;
  background: var(--bg-sage);
  color: var(--teal-deep);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  margin-bottom: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.product-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--teal-deep);
  margin: 18px 0;
  font-weight: 600;
}

.product-price small {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.product-body ul {
  list-style: none;
  margin: 16px 0 24px;
}
.product-body ul li {
  padding: 6px 0 6px 26px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.product-body ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.product-body .btn { margin-top: auto; align-self: flex-start; }

/* ---- Blog cards ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.blog-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--bg-sage) 0%, var(--bg-sage-deep) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}
.blog-image img { width: 100%; height: 100%; object-fit: cover; }

.blog-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }

.blog-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.blog-card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.blog-card p { flex: 1; }
.blog-read {
  margin-top: 16px;
  color: var(--teal);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
}

/* ---- About / Team ---- */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: center;
  padding: 70px 0;
}

.about-photo {
  background: var(--bg-sage);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.about-text h1 { margin-bottom: 24px; }
.about-text .role {
  color: var(--teal);
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.credentials-list {
  list-style: none;
  margin: 28px 0;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.credentials-list li {
  padding: 10px 0 10px 30px;
  position: relative;
}
.credentials-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 14px;
  height: 2px;
  background: var(--teal);
}

/* ---- Pricing tiers ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
}

.pricing-card {
  background: white;
  padding: 44px 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pricing-card.featured {
  background: var(--bg-sage);
  border-color: var(--teal);
}

.pricing-card .ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: white;
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.pricing-card h3 { margin-bottom: 8px; }
.pricing-card .desc {
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.pricing-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  color: var(--text-dark);
  margin-bottom: 4px;
  font-weight: 600;
}
.pricing-price small {
  font-size: 1rem;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.pricing-card ul {
  list-style: none;
  margin: 28px 0;
  flex: 1;
}
.pricing-card ul li {
  padding: 9px 0 9px 28px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-dark);
}
.pricing-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ---- Footer ---- */
.site-footer {
  background: #1f2a24;
  color: rgba(255,255,255,0.7);
  padding: 70px 0 30px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-grid h4 {
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.footer-grid a:hover { color: white; }

.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.65);
}

.social-row {
  display: flex;
  gap: 14px;
}
.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.social-row a:hover { background: var(--teal); }
.social-row svg { width: 18px; height: 18px; }

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 14px;
}

/* ---- Page hero (sub-pages) ---- */
.page-hero {
  text-align: center;
  padding: 80px 0 60px;
  background: linear-gradient(180deg, var(--bg-sage-soft) 0%, var(--bg-cream) 100%);
}
.page-hero h1 { margin-bottom: 18px; }
.page-hero p { font-size: 1.18rem; max-width: 660px; margin: 0 auto; }

/* ---- Article (single) ---- */
.article-meta {
  display: flex;
  gap: 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.article-content { font-size: 1.08rem; line-height: 1.78; }
.article-content h2 { margin: 50px 0 20px; }
.article-content p { color: var(--text-dark); margin-bottom: 22px; }
.article-content a { text-decoration: underline; }

/* ---- Responsive ---- */
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-cream);
    padding: 20px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }

  .hero { padding: 50px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { max-width: 420px; margin: 0 auto; }

  section { padding: 60px 0; }

  .quote-block {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 28px;
    gap: 24px;
  }
  .quote-avatar { margin: 0 auto; width: 130px; height: 130px; }

  .discovery-cta { grid-template-columns: 1fr; }
  .discovery-cta-body { padding: 40px 28px; }

  .about-hero { grid-template-columns: 1fr; gap: 40px; padding: 40px 0; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn { justify-content: center; }
}
