/*
Theme Name: BioVitality Wellness & Nutrition
Theme URI: https://biovitality.co
Author: BioVitality Wellness & Nutrition
Author URI: https://biovitality.co
Description: A premium, SEO-ready, AI-agent-friendly wellness theme for BioVitality Wellness & Nutrition. Includes a custom homepage, services, Energy 4 Life, nutrition, wellness technology, contact, FAQ, blog, and full compliance pages (privacy, terms, wellness disclaimer). Built with structured data (JSON-LD), Open Graph, llms.txt/ai.txt support, and a built-in contact form. Natural green & gold palette, fully responsive, accessibility-minded.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: biovitality
Tags: wellness, health, nutrition, business, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready, blog
*/

/* ===========================================================
   BioVitality Wellness & Nutrition — Shared Stylesheet
   Palette derived from brand logo: deep green, gold, cream
   =========================================================== */

:root {
  --green-900: #0f3d34;
  --green-700: #1d6a5c;
  --green-600: #2a8170;
  --green-400: #6aa698;
  --sage-200: #cfe0d9;
  --gold-600: #b5872e;
  --gold-500: #c79a3f;
  --gold-300: #e3c986;
  --cream: #faf7f0;
  --beige: #f1eadc;
  --beige-2: #efe7d6;
  --charcoal: #2b2e2c;
  --muted: #5d6360;
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(15, 61, 52, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 61, 52, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 61, 52, 0.16);
  --radius: 16px;
  --radius-lg: 28px;
  --maxw: 1160px;
  --font-head: "Cormorant Garamond", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; color: var(--green-900); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
p { color: var(--muted); }

a { color: var(--green-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-600); }

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

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold-600);
  font-family: var(--font-body);
  margin-bottom: 14px;
  display: inline-block;
}

.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section--cream { background: var(--cream); }
.section--beige { background: var(--beige-2); }
.section--green {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
  color: var(--cream);
}
.section--green h1, .section--green h2, .section--green h3 { color: var(--white); }
.section--green p { color: rgba(255,255,255,.82); }

.text-center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 720px; }
.center-block { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600; font-size: .98rem;
  font-family: var(--font-body);
  cursor: pointer; border: none;
  transition: transform .18s ease, box-shadow .18s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: #fff; box-shadow: 0 8px 22px rgba(181,135,46,.32); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 30px rgba(181,135,46,.42); }
.btn-secondary { background: transparent; color: var(--green-700); border: 1.5px solid var(--green-400); }
.btn-secondary:hover { color: var(--green-900); border-color: var(--green-700); background: rgba(29,106,92,.05); }
.btn-on-green { background: var(--cream); color: var(--green-900); }
.btn-on-green:hover { color: var(--green-900); background: #fff; }
.btn-ghost-light { background: transparent; border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,240,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,61,52,.08);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px; max-width: var(--maxw); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 50px; height: 50px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); font-size: 1.35rem; color: var(--green-900); font-weight: 600; }
.brand-text span { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a { color: var(--charcoal); font-weight: 500; font-size: .95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--green-700); }
.nav-cta { margin-left: 8px; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--green-900); margin: 5px 0; transition: .3s; }

/* dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 140%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-md);
  padding: 10px; min-width: 230px; list-style: none;
  opacity: 0; visibility: hidden; transition: .22s ease;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown li a { display: block; padding: 9px 14px; border-radius: 8px; font-size: .9rem; }
.dropdown li a:hover { background: var(--beige-2); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(199,154,63,.16), transparent 60%),
              linear-gradient(160deg, #ffffff 0%, var(--cream) 55%, var(--beige-2) 100%);
}
.hero-inner {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  padding: 84px 0 96px;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { color: var(--gold-600); font-style: italic; }
.hero-sub { font-size: 1.35rem; color: var(--green-700); font-family: var(--font-head); font-weight: 500; margin-bottom: 18px; }
.hero p.lead { margin-bottom: 30px; }
.hero-badges { display: flex; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 9px; font-size: .86rem; color: var(--muted); font-weight: 500; }
.hero-badge svg { width: 20px; height: 20px; color: var(--green-600); flex-shrink: 0; }

.hero-art { position: relative; display: flex; justify-content: center; }
.hero-orb {
  width: min(420px, 90%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff, var(--sage-200) 55%, var(--green-400) 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-orb::after {
  content: ""; position: absolute; inset: -18px; border-radius: 50%;
  border: 1px dashed rgba(181,135,46,.4);
}
.hero-orb img { width: 62%; filter: drop-shadow(0 12px 24px rgba(15,61,52,.18)); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(15,61,52,.06);
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .96rem; }
.card .card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--green-700), var(--green-600));
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card .card-icon svg { width: 28px; height: 28px; color: #fff; }
.card-link { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; }

.card--gold .card-icon { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); }

/* numbered step */
.step { background: #fff; border-radius: var(--radius); padding: 34px 28px; box-shadow: var(--shadow-sm); position: relative; height: 100%; }
.step-num {
  font-family: var(--font-head); font-size: 2.6rem; font-weight: 600;
  color: var(--gold-300); line-height: 1; margin-bottom: 12px; display: block;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: .96rem; }

/* ---------- Section heading block ---------- */
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head p { margin-top: 14px; }
.section-head--left { text-align: left; margin-left: 0; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-art {
  border-radius: var(--radius-lg); min-height: 380px;
  background: linear-gradient(150deg, var(--green-700), var(--green-900));
  display: flex; align-items: center; justify-content: center; padding: 40px;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.split-art::before {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,201,134,.28), transparent 70%);
  top: -80px; right: -80px;
}
.split-art img { width: 58%; position: relative; z-index: 1; filter: drop-shadow(0 14px 30px rgba(0,0,0,.3)); }
.split ul { list-style: none; margin: 22px 0 28px; }
.split ul li { position: relative; padding-left: 32px; margin-bottom: 13px; color: var(--muted); }
.split ul li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px;
  background: var(--green-600);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5'/></svg>") center/contain no-repeat;
  border: 2px solid var(--green-600); border-radius: 50%;
}

/* check list shorthand */
.checklist { list-style: none; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--muted); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--gold-600); font-weight: 700;
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; text-align: center; }
.stat .num { font-family: var(--font-head); font-size: 2.8rem; color: var(--gold-300); font-weight: 600; }
.stat .label { font-size: .9rem; color: rgba(255,255,255,.8); }

/* ---------- Practitioner ---------- */
.practitioner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.practitioner-photo {
  border-radius: var(--radius-lg); aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--sage-200), var(--green-400));
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
}
.practitioner-photo span { color: var(--green-900); font-family: var(--font-head); font-size: 1.1rem; opacity: .7; text-align:center; padding: 20px; }

/* ---------- Testimonials ---------- */
.quote-card { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); height: 100%; }
.quote-card .stars { color: var(--gold-500); margin-bottom: 12px; letter-spacing: 2px; }
.quote-card p { color: var(--charcoal); font-style: italic; font-size: 1rem; }
.quote-card .who { margin-top: 16px; font-weight: 600; color: var(--green-900); font-style: normal; }
.quote-card .who small { display: block; color: var(--muted); font-weight: 400; }

/* ---------- FAQ ---------- */
.faq-item { background: #fff; border-radius: 14px; margin-bottom: 14px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary {
  padding: 22px 26px; cursor: pointer; font-weight: 600; color: var(--green-900);
  font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--gold-600); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 26px 24px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { max-width: 620px; margin: 0 auto 28px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 26px; align-items: flex-start; }
.contact-info-item .ci-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--green-700), var(--green-600));
  display: flex; align-items: center; justify-content: center;
}
.contact-info-item .ci-icon svg { width: 22px; height: 22px; color: #fff; }
.contact-info-item h4 { color: var(--green-900); margin-bottom: 2px; font-family: var(--font-body); font-size: 1rem; font-weight: 600; }
.contact-info-item p, .contact-info-item a { font-size: .96rem; color: var(--muted); }

form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 7px; color: var(--green-900); }
form input, form select, form textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid rgba(15,61,52,.16);
  border-radius: 11px; font-family: var(--font-body); font-size: .96rem; background: #fff; color: var(--charcoal);
  transition: border .2s;
}
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--green-600); }
form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--muted); }
form .consent input { width: auto; margin-top: 4px; }
.form-card { background: #fff; padding: 34px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* ---------- Article / prose ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin: 38px 0 14px; }
.prose h3 { margin: 28px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; color: var(--muted); }
.prose li { margin-bottom: 8px; }
.prose .meta { color: var(--gold-600); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; margin-bottom: 8px; }

.page-hero { background: linear-gradient(160deg, #fff, var(--beige-2)); padding: 70px 0 56px; text-align: center; }
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero p { max-width: 680px; margin: 16px auto 0; }
.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--green-600); }

/* blog list */
.post-card { background:#fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; height:100%; display:flex; flex-direction:column; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-thumb { height: 150px; background: linear-gradient(135deg, var(--green-600), var(--green-900)); display:flex; align-items:center; justify-content:center; }
.post-thumb svg { width: 48px; height: 48px; color: rgba(255,255,255,.6); }
.post-card .post-body { padding: 24px; flex:1; display:flex; flex-direction:column; }
.post-card .tag { font-size: .72rem; text-transform: uppercase; letter-spacing:.1em; color: var(--gold-600); font-weight:600; }
.post-card h3 { font-size: 1.25rem; margin: 8px 0 10px; }
.post-card p { font-size: .92rem; flex:1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.78); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.site-footer a { color: rgba(255,255,255,.78); font-size: .92rem; }
.site-footer a:hover { color: var(--gold-300); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-brand img { width: 56px; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,.7); font-size: .92rem; max-width: 280px; }
.footer-contact-line { display:flex; align-items:center; gap:8px; margin-bottom:10px; font-size:.92rem; color: rgba(255,255,255,.85); }
.social-row { display:flex; gap:12px; margin-top:18px; }
.social-row a { width:38px; height:38px; border-radius:50%; background: rgba(255,255,255,.1); display:flex; align-items:center; justify-content:center; }
.social-row a:hover { background: var(--gold-600); }
.social-row svg { width:18px; height:18px; color:#fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 48px; padding-top: 24px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:14px; font-size: .82rem; color: rgba(255,255,255,.6); }
.footer-disclaimer { background: var(--green-900); padding: 0 0 30px; }
.footer-disclaimer .container { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; }
.footer-disclaimer p { font-size: .78rem; color: rgba(255,255,255,.5); line-height: 1.6; }

/* ---------- Utility ---------- */
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.pill { display:inline-block; padding:7px 16px; border-radius:999px; background:rgba(29,106,92,.1); color:var(--green-700); font-size:.8rem; font-weight:600; }
.divider-leaf { text-align:center; color:var(--gold-500); font-size:1.4rem; margin: 8px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-art { order: -1; }
  .hero-badges { justify-content: center; }
  .hero p.lead { margin-left:auto; margin-right:auto; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .split, .practitioner, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .practitioner-photo { max-width: 360px; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: flex-start;
    background: var(--cream); padding: 20px 24px; gap: 4px; box-shadow: var(--shadow-md);
    transform: translateY(-150%); transition: transform .3s ease; height: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display:block; padding: 12px 0; width:100%; }
  .has-dropdown .dropdown { position: static; opacity:1; visibility:visible; transform:none; box-shadow:none; padding: 0 0 0 14px; min-width:auto; }
  .nav-toggle { display: block; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* ---------- Wellness illustrations ---------- */
.hero-illus { width: min(440px, 92%); border-radius: 26px; box-shadow: var(--shadow-lg); display:block; }
.feature-img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: block; }
.practitioner-photo { overflow: hidden; }
.practitioner-photo img { width: 100%; height: 100%; object-fit: cover; display:block; }
.post-thumb img { display:block; }
@media (max-width: 940px){ .hero-illus{ margin:0 auto; } }
