/* ============================================================
   Holistic Functional Medicine — Main Stylesheet
   Palette: earthy greens, creams, warm browns
   ============================================================ */

/* ─── Google Fonts ────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

/* ─── Custom Properties ───────────────────────────────────── */
:root {
  --green-dark:    #3D6B4F;
  --green-medium:  #5A8C6E;
  --green-light:   #8FAF8A;
  --green-pale:    #D4E6D0;
  --cream:         #F5F0E8;
  --cream-dark:    #EDE5D8;
  --cream-mid:     #E8DDD0;
  --brown-dark:    #5C4A32;
  --brown-medium:  #8B6E47;
  --brown-light:   #C4A882;
  --text-dark:     #2C2416;
  --text-medium:   #5C4D3C;
  --text-light:    #8B7D6E;
  --white:         #FFFFFF;
  --black:         #1A1410;
  --error:         #C0392B;
  --success:       #2D7A4F;
  --shadow-sm:     0 2px 8px rgba(60,45,20,.10);
  --shadow-md:     0 4px 20px rgba(60,45,20,.14);
  --shadow-lg:     0 8px 40px rgba(60,45,20,.18);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --transition:    0.25s ease;
  --max-width:     1200px;
  --font-heading:  'Playfair Display', Georgia, serif;
  --font-body:     'Lato', system-ui, sans-serif;
  --font-brand:    'Cormorant Garamond', Georgia, serif;
}

/* ─── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-medium); }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ─── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--brown-dark);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem,   5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ─── Container & Layout ──────────────────────────────────── */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin-inline: auto;
}

.section {
  padding: 80px 0;
}
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--dark  { background: var(--brown-dark); color: var(--cream); }
.section--green { background: var(--green-dark); color: var(--white); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-title { margin-bottom: 12px; }
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-medium);
}

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

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: .03em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--green-light); outline-offset: 3px; }

.btn-primary {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}
.btn-primary:hover {
  background: var(--brown-dark);
  border-color: var(--brown-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--brown-medium);
  color: var(--white);
  border-color: var(--brown-medium);
}
.btn-secondary:hover {
  background: var(--brown-dark);
  border-color: var(--brown-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-dark);
}
.btn-outline:hover {
  background: var(--green-dark);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--green-dark);
}

.btn-sm { padding: 8px 18px; font-size: 0.875rem; }
.btn-lg { padding: 16px 38px; font-size: 1.05rem; }

/* ─── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.linked-card {
  color: inherit;
  text-decoration: none;
}
.linked-card:hover {
  color: inherit;
}
.linked-card:focus-visible {
  outline: 3px solid var(--green-light);
  outline-offset: 4px;
}
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card-img-portrait { aspect-ratio: 3/4; }
.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-category {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-medium);
  margin-bottom: 8px;
}
.card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--brown-dark);
  margin-bottom: 10px;
}
.card-text {
  color: var(--text-medium);
  font-size: 0.95rem;
  flex: 1;
}
.card-footer {
  padding: 16px 24px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.price-tag {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-dark);
}

/* ─── Alerts ──────────────────────────────────────────────── */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  margin-bottom: 20px;
  border-left: 4px solid;
}
.alert-success { background: #E8F5EE; color: #1E5C3A; border-color: var(--success); }
.alert-error   { background: #FDECEA; color: #7B1D1D; border-color: var(--error);   }
.alert-info    { background: #E8F0FE; color: #1A3C6E; border-color: #4A7CC7;        }

/* ─── Forms ───────────────────────────────────────────────── */
.form-group { margin-bottom: 22px; }
.form-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--cream-mid);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--green-medium);
  box-shadow: 0 0 0 3px rgba(90,140,110,.15);
}
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-hint { font-size: 0.82rem; color: var(--text-light); margin-top: 4px; }
.form-honey { display: none; }
.intake-form {
  max-width: 920px;
  margin: 0 auto;
}
.intake-section {
  background: var(--cream);
  border: 1px solid var(--cream-mid);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.intake-section-header {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 26px;
}
.intake-section-header span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.intake-section-header h2 {
  font-size: 1.45rem;
  margin-bottom: 4px;
}
.intake-section-header p {
  color: var(--text-medium);
  margin: 0;
}
.checkbox-group {
  border: 1px solid var(--cream-mid);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  background: rgba(255,255,255,.55);
}
.checkbox-group legend {
  padding: 0 8px;
  font-weight: 700;
  color: var(--brown-dark);
}
.checkbox-group label,
.consent-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-medium);
  line-height: 1.45;
}
.checkbox-group input,
.consent-line input {
  margin-top: 4px;
  accent-color: var(--green-dark);
}
.consent-line {
  background: var(--white);
  border: 1px solid var(--cream-mid);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 24px;
}
.form-submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.thank-you-page {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--cream), var(--green-pale));
}
.thank-you-card {
  max-width: 680px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
.thank-you-card h1 { margin-bottom: 16px; }
.thank-you-card p {
  color: var(--text-medium);
  font-size: 1.08rem;
  margin-bottom: 28px;
}

/* ─── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(245, 240, 232, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-mid);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.nav-logo-mark {
  width: auto;
  height: 62px;
  object-fit: contain;
  flex-shrink: 0;
  mix-blend-mode: multiply;
}
.nav-logo-text {
  display: flex;
  align-items: baseline;
}
.nav-logo-name {
  font-family: var(--font-brand);
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--brown-dark);
  letter-spacing: 0.1em;
  line-height: 1;
  white-space: nowrap;
}
.nav-logo-sub {
  display: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}
.mobile-menu-only { display: none; }
.nav-link {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-medium);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--green-dark);
  background: var(--green-pale);
}
.nav-cta {
  margin-left: 8px;
}
.nav-menu .nav-cta,
.nav-menu .nav-cta:hover,
.nav-menu .nav-cta.active {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  border-radius: var(--radius-sm);
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-dark), var(--brown-dark));
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: .58;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(31,58,43,.88) 0%, rgba(61,107,79,.78) 42%, rgba(92,74,50,.45) 100%),
    radial-gradient(circle at 75% 35%, rgba(245,240,232,.18), transparent 36%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  color: var(--white);
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-pale);
  background: rgba(255,255,255,.12);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero-title em { color: var(--green-pale); font-style: italic; }
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.88);
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ─── Page Hero (inner pages) ─────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--brown-dark) 100%);
  padding: 80px 0 60px;
  text-align: center;
  color: var(--white);
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,.8); font-size: 1.1rem; }

/* ─── Homepage Sections ───────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-item {
  text-align: center;
  padding: 40px 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.feature-item:hover { transform: translateY(-4px); }
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
}
.feature-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--brown-dark);
}
.feature-text { color: var(--text-medium); font-size: 0.93rem; }

/* ─── About Split ─────────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}
.about-photo-placeholder {
  background:
    linear-gradient(135deg, rgba(212,230,208,.95), rgba(245,240,232,.95)),
    var(--green-pale);
  border: 2px dashed var(--green-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 32px;
  text-align: center;
}
.about-photo-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}
.about-photo-placeholder p {
  font-weight: 700;
  color: var(--green-dark);
  margin: 0;
}
.about-badge {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.about-split h2 { margin-bottom: 20px; }
.about-list {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-medium);
}
.about-list li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* ─── Testimonials ────────────────────────────────────────── */
.testimonials { background: var(--cream-dark); }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.testimonial-stars { color: #D4A017; font-size: 1.1rem; margin-bottom: 14px; }
.testimonial-text {
  font-style: italic;
  color: var(--text-medium);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.8;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-name { font-weight: 700; color: var(--brown-dark); font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-light); }

/* ─── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark), var(--brown-dark));
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p  { color: rgba(255,255,255,.85); margin-bottom: 32px; font-size: 1.1rem; }
.cta-banner-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ─── Services Page ───────────────────────────────────────── */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--cream-mid);
}
.service-row:last-child { border-bottom: none; }
.service-row.reverse { direction: rtl; }
.service-row.reverse > * { direction: ltr; }
.service-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow-md);
}
.service-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--green-pale);
  line-height: 1;
  margin-bottom: 8px;
}
.service-content h3 { margin-bottom: 14px; }
.service-content p  { color: var(--text-medium); }

/* ─── Contact Form Section ────────────────────────────────── */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.contact-info-block { padding: 40px; background: var(--green-dark); border-radius: var(--radius-md); color: var(--white); }
.contact-info-block h3 { color: var(--white); margin-bottom: 16px; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 0.95rem; }
.contact-detail span:first-child { font-size: 1.2rem; }

/* ─── Ebook Store ─────────────────────────────────────────── */
.ebook-card {
  display: flex;
  gap: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.ebook-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ebook-cover {
  width: 180px;
  flex-shrink: 0;
  object-fit: cover;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.ebook-cover img { width: 100%; height: 100%; object-fit: cover; }
.ebook-body { padding: 28px 24px 28px 0; flex: 1; display: flex; flex-direction: column; }
.ebook-body h3 { margin-bottom: 10px; }
.ebook-body p  { color: var(--text-medium); font-size: 0.95rem; flex: 1; }
.ebook-footer { display: flex; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }

/* ─── Blog ────────────────────────────────────────────────── */
.blog-featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 48px;
  background: var(--white);
}
.blog-featured-img { aspect-ratio: 4/3; object-fit: cover; width: 100%; height: 100%; }
.blog-featured-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-meta { font-size: 0.8rem; color: var(--text-light); margin-bottom: 8px; }

/* ─── Login / Auth Pages ──────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--brown-dark) 100%);
  padding: 40px 20px;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-lg);
}
.auth-logo {
  text-align: center;
  margin-bottom: 32px;
}
.auth-logo-mark {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px;
}
.auth-title { font-size: 1.6rem; text-align: center; margin-bottom: 6px; }
.auth-sub   { text-align: center; color: var(--text-light); font-size: 0.9rem; margin-bottom: 28px; }
.auth-footer-link { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--text-light); }

/* ─── Dashboard ───────────────────────────────────────────── */
.dashboard-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  min-height: calc(100vh - 72px);
}
.dashboard-sidebar {
  background: var(--brown-dark);
  color: var(--white);
  padding: 32px 0;
  overflow-y: auto;
}
.sidebar-user {
  padding: 0 24px 24px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  margin-bottom: 16px;
}
.sidebar-user-name { font-weight: 700; font-size: 1rem; }
.sidebar-user-email { font-size: 0.8rem; color: rgba(255,255,255,.6); }
.sidebar-section-title {
  padding: 12px 24px 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  color: rgba(255,255,255,.75);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.sidebar-link:hover, .sidebar-link.active {
  background: rgba(255,255,255,.1);
  color: var(--white);
}
.sidebar-link.active { border-left: 3px solid var(--green-light); }
.sidebar-progress {
  height: 4px;
  background: rgba(255,255,255,.15);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
}
.sidebar-progress-bar { height: 100%; background: var(--green-light); border-radius: 2px; }

.dashboard-main { padding: 40px; background: var(--cream); overflow-y: auto; }
.course-card-enrolled {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  transition: box-shadow var(--transition);
}
.course-card-enrolled:hover { box-shadow: var(--shadow-md); }
.course-thumb {
  width: 100px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--green-pale);
}
.progress-bar-wrap { background: var(--cream-dark); border-radius: 4px; height: 8px; margin-top: 8px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: var(--green-medium); border-radius: 4px; transition: width 0.5s ease; }

/* ─── Course Player ───────────────────────────────────────── */
.player-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
  min-height: calc(100vh - 72px);
  background: var(--text-dark);
}
.player-main { display: flex; flex-direction: column; }
.player-video-wrap {
  position: relative;
  background: #000;
  aspect-ratio: 16/9;
  width: 100%;
}
.player-video-wrap video,
.player-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.player-text-content {
  padding: 32px;
  background: var(--white);
  flex: 1;
  overflow-y: auto;
  color: var(--text-dark);
}
.player-sidebar {
  background: #1E1A16;
  overflow-y: auto;
  border-left: 1px solid rgba(255,255,255,.08);
}
.player-sidebar-title {
  padding: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.module-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background var(--transition);
  color: rgba(255,255,255,.7);
  font-size: 0.88rem;
}
.module-item:hover  { background: rgba(255,255,255,.06); color: var(--white); }
.module-item.active { background: rgba(90,140,110,.25); color: var(--white); border-left: 3px solid var(--green-light); }
.module-item.done   { color: rgba(255,255,255,.45); }
.module-done-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
}
.module-item.done .module-done-icon { background: var(--green-light); border-color: var(--green-light); color: var(--white); }

/* ─── Cookie Banner ───────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--brown-dark);
  color: var(--white);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-text { font-size: 0.9rem; color: rgba(255,255,255,.85); max-width: 700px; }
.cookie-text a { color: var(--green-pale); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ─── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.45fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-logo-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
  font-style: italic;
}
.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-contact-item { display: flex; gap: 10px; font-size: 0.9rem; margin-bottom: 10px; color: rgba(255,255,255,.65); }
.footer-contact-item a { color: rgba(255,255,255,.65); }
.footer-contact-item a:hover { color: var(--white); }
.footer-social {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(212,230,208,.24);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green-pale);
  background: rgba(255,255,255,.04);
  transition: transform var(--transition), color var(--transition), border-color var(--transition), background var(--transition);
}
.footer-social a:hover {
  color: var(--white);
  border-color: var(--green-light);
  background: rgba(90,140,110,.22);
  transform: translateY(-2px) scale(1.04);
}
.footer-social svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--white); }
.footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-legal a,
.footer-legal span {
  color: rgba(255,255,255,.42);
  font-size: 0.8rem;
}
.footer-legal a:hover { color: var(--green-pale); }
.legal-placeholder {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, var(--cream), var(--green-pale));
}

/* ─── Utility ─────────────────────────────────────────────── */
.text-center  { text-align: center; }
.text-green   { color: var(--green-medium); }
.text-brown   { color: var(--brown-medium); }
.text-muted   { color: var(--text-light); }
.mt-1 { margin-top:  8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom:  8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.divider { border: none; border-top: 1px solid var(--cream-mid); margin: 40px 0; }
.badge-new {
  display: inline-block;
  background: var(--brown-medium);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  vertical-align: middle;
  margin-left: 8px;
}

/* ─── Spinner ─────────────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container { width: 92%; }
  .nav-container {
    height: 68px;
    gap: 14px;
  }
  .nav-hamburger {
    display: flex;
    margin-left: auto;
  }
  .nav-menu {
    position: fixed;
    top: 68px;
    left: 50%;
    right: auto;
    width: min(92vw, 420px);
    max-height: calc(100svh - 84px);
    overflow-y: auto;
    background: rgba(245, 240, 232, 0.98);
    border: 1px solid var(--cream-mid);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    gap: 6px;
    box-shadow: var(--shadow-lg);
    transform: translate(-50%, -120%);
    transition: transform 0.3s ease;
    z-index: 999;
  }
  .nav-menu.open { transform: translate(-50%, 0); }
  .mobile-menu-only { display: block; }
  .nav-link {
    display: flex;
    justify-content: center;
    padding: 12px 16px;
    font-size: 1rem;
    white-space: normal;
  }
  .nav-cta {
    margin-left: 0;
    justify-content: center;
    width: 100%;
  }
  .grid-3 { gap: 24px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .dashboard-layout { grid-template-columns: 260px 1fr; }
  .player-layout { grid-template-columns: 1fr; }
  .player-sidebar { display: none; }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  .section { padding: 56px 0; }
  .container { width: min(92%, 640px); }
  .nav-container { gap: 12px; }
  .nav-logo-name { font-size: 1.15rem; }
  .nav-logo-mark {
    width: auto;
    height: 50px;
  }

  /* Grids */
  .grid-2, .grid-3, .features-grid { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 32px; }
  .service-row { grid-template-columns: 1fr; gap: 24px; }
  .service-row.reverse { direction: ltr; }
  .contact-section { grid-template-columns: 1fr; gap: 32px; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-social { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-bottom .container { justify-content: center !important; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-group { grid-template-columns: 1fr; }
  .intake-section { padding: 24px 18px; }
  .intake-section-header { gap: 12px; }
  .thank-you-card { padding: 32px 24px; }

  /* Ebook cards */
  .ebook-card { flex-direction: column; }
  .ebook-cover { width: 100%; height: 200px; }
  .ebook-body { padding: 20px; }
  .card-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .card-footer .btn {
    width: 100%;
    justify-content: center;
  }
  .price-tag { font-size: 1.2rem; }

  /* Dashboard */
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; }
  .dashboard-main { padding: 24px 16px; }

  /* Cookie */
  .cookie-banner { flex-direction: column; align-items: flex-start; }

  /* Auth */
  .auth-card { padding: 32px 24px; }

  /* Hero */
  .hero {
    min-height: calc(100svh - 68px);
    padding: 56px 0;
  }
  .hero-bg { object-position: 58% center; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .container { width: 90%; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .btn-lg { padding: 13px 24px; font-size: 0.95rem; }
  .section { padding: 44px 0; }
  .section-header { margin-bottom: 34px; }
  .hero-title { font-size: 2.25rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-eyebrow {
    white-space: normal;
    border-radius: var(--radius-sm);
  }
  .about-photo-avatar {
    width: 88px;
    height: 88px;
    font-size: 1.6rem;
  }
  .intake-section-header { flex-direction: column; }
  .form-submit-row .btn {
    width: 100%;
    justify-content: center;
  }
  .thank-you-page { padding: 48px 0; }
  .thank-you-card { border-radius: var(--radius-md); }
}

/* ─── Feature Icon SVG color ──────────────────────────────── */
.feature-icon { color: var(--green-dark); }

/* ─── Heading color inside dark/green sections ────────────── */
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.section--green h1, .section--green h2, .section--green h3, .section--green h4 {
  color: var(--white);
}

/* ─── Course "Coming Soon" tag ────────────────────────────── */
.coming-soon-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brown-medium);
  font-family: var(--font-body);
  letter-spacing: .02em;
}

/* ─── Future Vision Section ───────────────────────────────── */
.vision-intro {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}
.vision-intro p {
  color: rgba(255,255,255,.88);
  font-size: 1.05rem;
  margin: 0;
}

.vision-locations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 56px;
}
.vision-location-tag {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 20px;
  padding: 7px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .04em;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.vision-item {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: background var(--transition);
}
.vision-item:hover { background: rgba(255,255,255,.18); }
.vision-item-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--white);
}
.vision-item h4 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.vision-item p {
  color: rgba(255,255,255,.78);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .vision-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .vision-grid { grid-template-columns: 1fr; }
  .vision-locations { gap: 8px; }
}
