/**
 * Legal Pages — Disclaimer / Privacy Policy / Terms & Conditions
 * Livine Holistic Wellness
 * ONLY page-specific overrides. All shared styles from home.css.
 */

/* ════════════════════════════════════════════════
   PAGE BANNER — compact, no full hero image
   ════════════════════════════════════════════════ */
.legal-banner {
  background: var(--charcoal);
  padding: 80px 0 52px;
  margin-top: var(--header-h);
  position: relative;
  overflow: hidden;
}
.legal-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(211,138,80,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.lb-inner {
  position: relative; z-index: 1;
}
.lb-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}
.lb-breadcrumb a {
  color: rgba(255,255,255,0.45); text-decoration: none;
  transition: color 0.2s;
}
.lb-breadcrumb a:hover { color: var(--brand); }
.lb-breadcrumb i { font-size: 9px; }
.lb-breadcrumb span { color: rgba(255,255,255,0.7); }
.lb-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(211,138,80,0.15);
  border: 1px solid rgba(211,138,80,0.25);
  color: var(--brand);
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px;
  margin-bottom: 14px;
}
.legal-banner h1 {
  font-family: var(--heading-font);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff; line-height: 1.2;
  margin-bottom: 12px;
}
.legal-banner p {
  font-size: 15px; color: rgba(255,255,255,0.6);
  line-height: 1.7; max-width: 560px;
}
.lb-meta {
  display: flex; align-items: center; gap: 20px;
  margin-top: 20px;
  font-size: 12px; color: rgba(255,255,255,0.4);
}
.lb-meta span { display: flex; align-items: center; gap: 6px; }
.lb-meta i { color: var(--brand); }

/* ════════════════════════════════════════════════
   LEGAL BODY — two-column: TOC + content
   ════════════════════════════════════════════════ */
.section-legal-body {
  padding: 72px 0 100px;
  background: var(--warm-bg);
}
.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: flex-start;
}

/* ── Table of Contents (sticky sidebar) ── */
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
.legal-toc h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.legal-toc ol {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 2px;
  counter-reset: toc-counter;
}
.legal-toc ol li { counter-increment: toc-counter; }
.legal-toc ol li a {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 10px; border-radius: var(--radius-sm);
  font-size: 13px; color: var(--muted); text-decoration: none;
  transition: background 0.2s, color 0.2s;
  line-height: 1.4;
}
.legal-toc ol li a::before {
  content: counter(toc-counter, decimal-leading-zero);
  font-size: 10px; font-weight: 700; color: var(--brand);
  flex-shrink: 0; margin-top: 2px;
}
.legal-toc ol li a:hover {
  background: var(--brand-lt); color: var(--brand);
}
.legal-toc-note {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 11.5px; color: var(--muted); line-height: 1.6;
}
.legal-toc-note i { color: var(--brand); margin-right: 4px; }

/* ── Article Content ── */
.legal-article {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 52px 56px;
}
.legal-article .la-intro {
  background: var(--brand-lt);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  font-size: 13.5px; color: var(--text);
  line-height: 1.75; margin-bottom: 48px;
}
.legal-section {
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 32px);
}
.legal-section:last-child {
  margin-bottom: 0; padding-bottom: 0; border-bottom: none;
}
.ls-heading {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.ls-num {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--brand-lt);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--brand);
}
.legal-section h2 {
  font-family: var(--body-font);
  font-size: 1.1rem; font-weight: 700;
  color: var(--charcoal); margin: 0;
}
.legal-section p {
  font-size: 14px; color: var(--text);
  line-height: 1.85; margin-bottom: 12px;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul, .legal-section ol {
  padding-left: 0; margin: 0 0 12px;
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
}
.legal-section ul li, .legal-section ol li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text); line-height: 1.7;
}
.legal-section ul li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); flex-shrink: 0; margin-top: 8px;
}
.legal-section ol { counter-reset: ol-counter; }
.legal-section ol li { counter-increment: ol-counter; }
.legal-section ol li::before {
  content: counter(ol-counter) '.';
  font-size: 12px; font-weight: 700; color: var(--brand);
  flex-shrink: 0; min-width: 18px;
}
.legal-section a {
  color: var(--brand); text-decoration: none;
  border-bottom: 1px solid var(--brand-mid);
  transition: border-color 0.2s;
}
.legal-section a:hover { border-color: var(--brand); }

/* Contact block inside legal */
.legal-contact-block {
  background: var(--warm-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.lcb-row {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 13.5px; color: var(--text);
}
.lcb-row i { color: var(--brand); width: 16px; margin-top: 2px; flex-shrink: 0; }

/* ════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .legal-layout { grid-template-columns: 220px 1fr; gap: 36px; }
  .legal-article { padding: 40px 36px; }
}
@media (max-width: 760px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .legal-banner { padding: 64px 0 40px; }
}
@media (max-width: 480px) {
  .legal-article { padding: 28px 22px; }
  .section-legal-body { padding: 48px 0 72px; }
}
