/* ==========================================================================
   DHANVANTARI AYURVEDA - LEGAL & POLICY PAGES STYLESHEET (legal.css)
   100% Exact Visual Replica of React Storefront Pages
   Zero Inline Styles - Pure Modular CSS
   ========================================================================== */

/* Page Background Wrapper */
.legal-page-wrap {
  background-color: #fafaf9; /* stone-50 */
  min-height: 100vh;
  padding-bottom: 5rem;
  font-family: var(
    --font-family-sans,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif
  );
  color: #44403c; /* stone-700 */
}

/* Hero Banners */
.legal-banner {
  color: #ffffff;
  padding: 4rem 1rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

@media (min-width: 640px) {
  .legal-banner {
    padding: 5rem 1.5rem;
  }
}

.legal-banner--dark {
  background-color: #0f1f14;
}

.legal-banner--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(212, 160, 23, 0.12),
    transparent 70%
  );
  pointer-events: none;
}

.legal-banner--rose {
  background-color: #4c0519; /* rose-950 */
}

.legal-banner--rose::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(244, 63, 94, 0.14),
    transparent 70%
  );
  pointer-events: none;
}

.legal-banner-inner {
  max-width: 56rem;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #a8a29e; /* stone-400 */
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.legal-back-link:hover {
  color: var(--color-accent, #d4a017);
  transform: translateX(-3px);
}

.legal-banner--rose .legal-back-link {
  color: #fecdd3; /* rose-200 */
}

.legal-banner--rose .legal-back-link:hover {
  color: #ffffff;
}

.legal-banner-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border-radius: 9999px;
  background-color: rgba(244, 63, 94, 0.2);
  color: #fb7185; /* rose-400 */
  border: 1px solid rgba(244, 63, 94, 0.3);
  margin-bottom: 1rem;
}

.legal-title {
  font-size: 1.875rem;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  font-family: var(
    --font-family-sans,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif
  );
}

@media (min-width: 640px) {
  .legal-title {
    font-size: 2.75rem;
  }
}

.legal-desc {
  color: #d6d3d1; /* stone-300 */
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 42rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .legal-desc {
    font-size: 1rem;
  }
}

.legal-banner--rose .legal-desc {
  color: #ffe4e6; /* rose-100 */
}

/* Page Containers */
.legal-main-container {
  max-width: 64rem; /* 1024px */
  margin: -2rem auto 0;
  padding: 0 1rem;
  position: relative;
  z-index: 20;
}

@media (min-width: 640px) {
  .legal-main-container {
    padding: 0 1.5rem;
  }
}

/* Base Card Style */
.legal-card {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #f5f5f4; /* stone-100 */
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .legal-card {
    padding: 2.5rem;
  }
}

.legal-card--elevated {
  box-shadow:
    0 20px 25px -5px rgba(231, 229, 228, 0.5),
    0 8px 10px -6px rgba(231, 229, 228, 0.5);
  margin-bottom: 2.5rem;
}

.legal-card--danger-shadow {
  box-shadow: 0 20px 25px -5px rgba(76, 5, 25, 0.05);
  border-color: #ffe4e6; /* rose-100 */
  margin-bottom: 2.5rem;
}

.legal-card + .legal-card {
  margin-top: 2rem;
}

.legal-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1c1917; /* stone-900 */
  margin-bottom: 1.5rem;
  font-family: var(
    --font-family-sans,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif
  );
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .legal-section-title {
    font-size: 1.5rem;
  }
}

.legal-section-title svg {
  color: var(--color-primary, #2d5a27);
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
}

.legal-prose {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #57534e; /* stone-600 */
}

.legal-prose p {
  margin-bottom: 1rem;
}

.legal-prose p:last-child {
  margin-bottom: 0;
}

.legal-prose strong {
  color: #1c1917;
  font-weight: 600;
}

.legal-prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 1rem 0;
}

.legal-prose li {
  margin-bottom: 0.625rem;
}

/* Callout Boxes */
.legal-callout-gold {
  background-color: #fafaf9;
  border-left: 4px solid var(--color-accent, #d4a017);
  padding: 1rem;
  font-size: 0.75rem;
  color: #57534e;
  border-radius: 0 8px 8px 0;
  margin-top: 1rem;
  line-height: 1.6;
}

.legal-callout-amber {
  background-color: #fffbeb;
  border: 1px solid #fef3c7;
  padding: 1.25rem;
  border-radius: 8px;
  color: #78350f;
  font-size: 0.8125rem;
  line-height: 1.6;
  margin-top: 1rem;
}

.legal-callout-consult {
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: rgba(15, 31, 20, 0.04);
  border-radius: 8px;
  border: 1px solid rgba(15, 31, 20, 0.1);
  color: #57534e;
  font-size: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.legal-callout-consult svg {
  color: var(--color-primary, #2d5a27);
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.legal-callout-consult h4 {
  font-weight: 700;
  color: #0c0a09;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

/* 2-Column Sidebar Layout for Terms */
.legal-toc-layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 1024px) {
  .legal-toc-layout {
    flex-direction: row;
    gap: 2.5rem;
  }
}

.legal-sidebar {
  width: 100%;
}

@media (min-width: 1024px) {
  .legal-sidebar {
    width: 16rem; /* 256px */
    flex-shrink: 0;
    position: sticky;
    top: 6rem;
    height: fit-content;
  }
}

.legal-toc-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #f5f5f4;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.legal-toc-heading {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #a8a29e;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0 0.75rem;
  margin-bottom: 1rem;
}

.legal-toc-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.legal-toc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: 6px;
  text-align: left;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #78716c;
  background: transparent;
  border: none;
  border-left: 4px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.legal-toc-btn:hover {
  background-color: #fafaf9;
  color: #1c1917;
}

.legal-toc-btn.is-active {
  background-color: rgba(45, 90, 39, 0.06);
  color: var(--color-primary, #2d5a27);
  border-left: 4px solid var(--color-primary, #2d5a27);
  padding-left: 0.5rem;
}

.legal-toc-btn svg {
  width: 1rem;
  height: 1rem;
  color: #a8a29e;
  flex-shrink: 0;
}

.legal-toc-btn.is-active svg {
  color: var(--color-primary, #2d5a27);
}

.legal-content-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.legal-content-area .legal-card {
  scroll-margin-top: 6rem;
}

/* Tabs Navigation for Privacy */
.legal-tabs-wrap {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(231, 229, 228, 0.5);
  border: 1px solid #f5f5f4;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.legal-tab-btn {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  background: transparent;
  border: none;
  color: #78716c;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.legal-tab-btn:hover {
  background-color: #fafaf9;
  color: #1c1917;
}

.legal-tab-btn.is-active {
  background-color: var(--color-primary, #2d5a27);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(45, 90, 39, 0.25);
}

.legal-tab-btn svg {
  width: 1rem;
  height: 1rem;
}

.legal-tab-panel {
  display: none;
}

.legal-tab-panel.is-active {
  display: block;
}

.legal-tab-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  border-bottom: 1px solid #f5f5f4;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.legal-tab-icon-wrap {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  background-color: rgba(45, 90, 39, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary, #2d5a27);
}

.legal-tab-icon-wrap svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Shipping Rates Table */
.legal-table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.legal-table thead tr {
  border-bottom: 1px solid #e7e5e4;
  color: #57534e;
  font-weight: 700;
}

.legal-table th,
.legal-table td {
  padding: 1rem 0.75rem;
}

.legal-table tbody tr {
  border-bottom: 1px solid #f5f5f4;
  color: #57534e;
  transition: background-color 0.15s ease;
}

.legal-table tbody tr:hover {
  background-color: rgba(250, 250, 249, 0.7);
}

.legal-table tbody tr:last-child {
  border-bottom: none;
}

.legal-badge-free {
  color: #059669;
  font-weight: 700;
}

/* Pincode Checker Form */
.legal-pincode-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .legal-pincode-form {
    flex-direction: row;
  }
}

.legal-pincode-input-wrap {
  position: relative;
  flex: 1;
}

.legal-pincode-input-wrap svg {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: #a8a29e;
}

.legal-pincode-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  background-color: #fafaf9;
  border: 1px solid #e7e5e4;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1c1917;
  outline: none;
  transition: border-color 0.2s ease;
  font-family: inherit;
}

.legal-pincode-input:focus {
  border-color: var(--color-primary, #2d5a27);
  background-color: #ffffff;
}

.legal-pincode-btn {
  background-color: var(--color-primary, #2d5a27);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
  font-family: inherit;
}

.legal-pincode-btn:hover {
  background-color: var(--color-primary-dark, #1d3c1a);
}

.legal-pincode-result {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-pincode-result--available {
  background-color: #ecfdf5;
  border: 1px solid #d1fae5;
  color: #065f46;
}

.legal-pincode-result--standard {
  background-color: #fafaf9;
  border: 1px solid #e7e5e4;
  color: #44403c;
}

.legal-pincode-result--invalid {
  background-color: #fff1f2;
  border: 1px solid #ffe4e6;
  color: #9f1239;
}

/* 3-Column Metrics Card for Refund Policy */
.legal-metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .legal-metrics-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.legal-metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

.legal-metric-item--bordered {
  border-top: 1px solid #f5f5f4;
  border-bottom: 1px solid #f5f5f4;
}

@media (min-width: 768px) {
  .legal-metric-item--bordered {
    border-top: none;
    border-bottom: none;
    border-left: 1px solid #f5f5f4;
    border-right: 1px solid #f5f5f4;
  }
}

.legal-metric-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.legal-metric-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.legal-metric-icon--amber {
  background-color: #fffbeb;
  color: var(--color-accent, #d4a017);
}

.legal-metric-icon--emerald {
  background-color: #ecfdf5;
  color: var(--color-primary, #2d5a27);
}

.legal-metric-icon--blue {
  background-color: #eff6ff;
  color: #2563eb;
}

.legal-metric-title {
  font-weight: 700;
  color: #292524;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.legal-metric-desc {
  font-size: 0.75rem;
  color: #78716c;
  line-height: 1.6;
}

/* Numbered Timeline Steps */
.legal-timeline {
  position: relative;
  border-left: 2px solid rgba(45, 90, 39, 0.2);
  margin-left: 1rem;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .legal-timeline {
    padding-left: 2rem;
  }
}

.legal-timeline-step {
  position: relative;
}

.legal-timeline-num {
  position: absolute;
  left: -2.35rem;
  top: 0;
  background-color: var(--color-primary, #2d5a27);
  color: #ffffff;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .legal-timeline-num {
    left: -2.85rem;
    width: 2rem;
    height: 2rem;
    font-size: 0.875rem;
  }
}

.legal-timeline-heading {
  font-weight: 700;
  color: #292524;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.legal-timeline-text {
  color: #78716c;
  line-height: 1.6;
}

/* Accordion FAQs */
.legal-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.legal-faq-item {
  border-bottom: 1px solid #f5f5f4;
  padding-bottom: 1rem;
}

.legal-faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.legal-faq-trigger {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-weight: 700;
  color: #292524;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  transition: color 0.2s ease;
  font-family: inherit;
}

@media (min-width: 640px) {
  .legal-faq-trigger {
    font-size: 1rem;
  }
}

.legal-faq-trigger:hover {
  color: var(--color-primary, #2d5a27);
}

.legal-faq-toggle-icon {
  color: var(--color-primary, #2d5a27);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
}

.legal-faq-body {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    margin-top 0.3s ease;
}

.legal-faq-body.is-open {
  max-height: 200px;
  margin-top: 0.5rem;
}

.legal-faq-body p {
  color: #78716c;
  font-size: 0.8125rem;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .legal-faq-body p {
    font-size: 0.875rem;
  }
}

/* Bottom CTA / Help Boxes */
.legal-cta-box {
  background-color: #0f1f14;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
}

.legal-cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at bottom left,
    rgba(212, 160, 23, 0.08),
    transparent 70%
  );
  pointer-events: none;
}

.legal-cta-box--rose {
  background-color: #4c0519;
}

.legal-cta-box--rose::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at bottom left,
    rgba(244, 63, 94, 0.1),
    transparent 70%
  );
  pointer-events: none;
}

.legal-cta-title {
  font-size: 1.125rem;
  font-weight: 700;
  font-family: var(
    --font-family-sans,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif
  );
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .legal-cta-title {
    font-size: 1.25rem;
  }
}

.legal-cta-desc {
  color: #d6d3d1;
  font-size: 0.8125rem;
  line-height: 1.6;
  max-width: 32rem;
  margin: 0 auto 1.5rem;
}

.legal-cta-box--rose .legal-cta-desc {
  color: #ffe4e6;
}

.legal-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 5;
}

@media (min-width: 640px) {
  .legal-cta-actions {
    flex-direction: row;
  }
}

.legal-cta-btn {
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-family: inherit;
}

.legal-cta-btn--outline {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.legal-cta-btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.legal-cta-btn--gold {
  background-color: var(--color-accent, #d4a017);
  color: #0f1f14;
  box-shadow: 0 4px 12px rgba(212, 160, 23, 0.2);
}

.legal-cta-btn--gold:hover {
  filter: brightness(1.05);
}

.legal-cta-btn--white {
  background-color: #ffffff;
  color: #4c0519;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.legal-cta-btn--white:hover {
  background-color: #fff1f2;
}

/* 3 Golden Rules Grid for Fraud Page */
.legal-rules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .legal-rules-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.legal-rule-card {
  padding: 1.25rem;
  border-radius: 8px;
  background-color: #fafaf9;
  border: 1px solid #e7e5e4;
}

.legal-rule-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #e11d48; /* rose-600 */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.5rem;
}

.legal-rule-text {
  font-size: 0.75rem;
  color: #44403c;
  line-height: 1.6;
  font-weight: 600;
}

/* Scam Cards */
.legal-scam-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.legal-scam-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #f5f5f4;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .legal-scam-card {
    flex-direction: row;
    padding: 2rem;
  }
}

.legal-scam-icon-wrap {
  padding: 0.875rem;
  border-radius: 6px;
  background-color: #fff1f2;
  color: #e11d48;
  flex-shrink: 0;
}

.legal-scam-icon-wrap svg {
  width: 1.5rem;
  height: 1.5rem;
}

.legal-scam-title {
  font-weight: 700;
  color: #1c1917;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .legal-scam-title {
    font-size: 1.125rem;
  }
}

.legal-scam-desc {
  color: #57534e;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Verified Channels List */
.legal-channels-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
  color: #57534e;
}

.legal-channel-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-bottom: 1px solid #f5f5f4;
  padding-bottom: 0.875rem;
}

@media (min-width: 640px) {
  .legal-channel-item {
    flex-direction: row;
    align-items: center;
  }
}

.legal-channel-label {
  font-weight: 700;
  color: #1c1917;
  width: 9rem;
  flex-shrink: 0;
}

.legal-channel-badge {
  font-family: monospace;
  font-size: 0.8125rem;
  background-color: #fafaf9;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  color: var(--color-primary, #2d5a27);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  width: fit-content;
}

.legal-channel-badge--plain {
  color: #44403c;
  font-family: inherit;
  font-weight: 500;
}

/* Micro-animations */
@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin-slow {
  animation: spinSlow 12s linear infinite;
}

@keyframes gentleBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.animate-bounce-gentle {
  animation: gentleBounce 2s ease-in-out infinite;
}

/* ==========================================================================
   ABOUT US - MODERN CLEAN AYURVEDIC DESIGN STYLES
   ========================================================================== */
.about-hero-wrap {
  position: relative;
  background: radial-gradient(
    circle at 50% 20%,
    #173322 0%,
    #0d1a12 70%,
    #08100b 100%
  );
  color: #ffffff;
  padding: 4.5rem 1rem 5.5rem;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(212, 160, 23, 0.25);
  font-family: var(--font-family-sans, "Inter", sans-serif);
}

.about-hero-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(212, 160, 23, 0.12) 1px,
    transparent 1px
  );
  background-size: 32px 32px;
  opacity: 0.4;
  pointer-events: none;
}

.about-hero-inner {
  max-width: 52rem;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.about-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-family-sans, "Inter", sans-serif);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #d4a017;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  background: rgba(212, 160, 23, 0.12);
  padding: 0.35rem 0.875rem;
  border-radius: 4px;
  border: 1px solid rgba(212, 160, 23, 0.3);
}

.about-badge-tag svg {
  width: 1rem;
  height: 1rem;
}

.about-hero-title {
  font-family: var(--font-family-sans, "Inter", sans-serif);
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .about-hero-title {
    font-size: 2.75rem;
  }
}

.about-hero-desc {
  font-family: var(--font-family-sans, "Inter", sans-serif);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #d6d3d1;
  max-width: 44rem;
  margin: 0 auto 1.5rem;
  font-weight: 400;
}

/* Stats Strip */
.about-stats-strip {
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
  margin-bottom: 3.5rem;
  font-family: var(--font-family-sans, "Inter", sans-serif);
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  background: #ffffff;
  padding: 1.5rem 1rem;
  border-radius: 8px;
  border: 1px solid #e7e5e4;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .about-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    padding: 1.75rem;
    gap: 1.25rem;
  }
}

.about-stat-box {
  text-align: center;
  padding: 0.75rem 0.5rem;
  border-right: 1px solid #f5f5f4;
}

.about-stat-box:last-child {
  border-right: none;
}

.about-stat-num {
  font-family: var(--font-family-sans, "Inter", sans-serif);
  font-size: 1.75rem;
  font-weight: 800;
  color: #173322;
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, #173322 0%, #d4a017 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
  .about-stat-num {
    font-size: 2.25rem;
  }
}

.about-stat-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #78716c;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Story Narrative Card */
.about-narrative-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e7e5e4;
  padding: 1.75rem 1.25rem;
  margin-bottom: 3rem;
  box-shadow: 0 2px 12px -2px rgba(0, 0, 0, 0.04);
  font-family: var(--font-family-sans, "Inter", sans-serif);
}

@media (min-width: 768px) {
  .about-narrative-card {
    padding: 2.5rem;
  }
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .about-story-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
  }
}

.about-story-media {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(23, 51, 34, 0.15);
  border: 1px solid #e7e5e4;
}

.about-story-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-story-media:hover .about-story-img {
  transform: scale(1.02);
}

.about-lead-title {
  font-family: var(--font-family-sans, "Inter", sans-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: #173322;
  margin-bottom: 0.875rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .about-lead-title {
    font-size: 1.875rem;
  }
}

.about-lead-paragraph {
  color: #57534e;
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 1.125rem;
}

/* Classical Pillars Grid */
.about-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
  font-family: var(--font-family-sans, "Inter", sans-serif);
}

@media (min-width: 640px) {
  .about-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .about-pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-pillar-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e7e5e4;
  padding: 1.75rem 1.25rem;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.about-pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #173322, #d4a017);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.about-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px -2px rgba(23, 51, 34, 0.08);
  border-color: #d4a017;
}

.about-pillar-card:hover::before {
  opacity: 1;
}

.about-pillar-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 6px;
  background: #f4ede2;
  color: #173322;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 1px solid rgba(212, 160, 23, 0.2);
}

.about-pillar-icon svg {
  width: 1.375rem;
  height: 1.375rem;
  stroke: #173322;
}

.about-pillar-title {
  font-family: var(--font-family-sans, "Inter", sans-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  color: #173322;
  margin-bottom: 0.375rem;
}

.about-pillar-desc {
  font-size: 0.875rem;
  color: #78716c;
  line-height: 1.55;
}

/* Doshas Philosophy Section */
.about-doshas-wrap {
  background: #173322;
  color: #ffffff;
  border-radius: 8px;
  padding: 2.5rem 1.25rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  font-family: var(--font-family-sans, "Inter", sans-serif);
}

@media (min-width: 768px) {
  .about-doshas-wrap {
    padding: 3rem 2rem;
  }
}

.about-doshas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

@media (min-width: 768px) {
  .about-doshas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-dosha-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 1.5rem 1.125rem;
  backdrop-filter: blur(8px);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.about-dosha-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  border-color: #d4a017;
}

.about-dosha-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
}

.about-dosha-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 4px;
  background: rgba(212, 160, 23, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4a017;
  flex-shrink: 0;
}

.about-dosha-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.about-dosha-name {
  font-family: var(--font-family-sans, "Inter", sans-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  color: #ffffff;
}

.about-dosha-elements {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #d4a017;
}

.about-dosha-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #e7e5e4;
}

/* Certifications Showcase */
.about-cert-strip {
  text-align: center;
  margin-bottom: 3rem;
  font-family: var(--font-family-sans, "Inter", sans-serif);
}

.about-cert-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  margin-top: 1.25rem;
}

.about-cert-item {
  height: 3.25rem;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.9;
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.about-cert-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* CTA Box */
.about-cta-box {
  background: linear-gradient(135deg, #173322 0%, #0f2217 60%, #09140e 100%);
  border: 1px solid rgba(212, 160, 23, 0.3);
  border-radius: 8px;
  padding: 2.5rem 1.25rem;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.15);
  font-family: var(--font-family-sans, "Inter", sans-serif);
}

@media (min-width: 768px) {
  .about-cta-box {
    padding: 3rem 2rem;
  }
}

.about-cta-title {
  font-family: var(--font-family-sans, "Inter", sans-serif);
  font-size: 1.625rem;
  font-weight: 800;
  margin-bottom: 0.625rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .about-cta-title {
    font-size: 2rem;
  }
}

.about-cta-desc {
  color: #d6d3d1;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.about-cta-btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .about-cta-btn-group {
    flex-direction: row;
  }
}

.about-btn-gold {
  background: linear-gradient(135deg, #d4a017 0%, #b8860b 100%);
  color: #173322;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(212, 160, 23, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.about-btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(212, 160, 23, 0.4);
  color: #0d1a12;
}

.about-btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.about-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

/* ==========================================================================
   FAQ PAGE ENHANCEMENTS (faq.cshtml)
   ========================================================================== */
.legal-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background-color: rgba(212, 160, 23, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(212, 160, 23, 0.3);
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.faq-search-filter-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.faq-search-icon {
  position: absolute;
  left: 1rem;
  color: #a8a29e;
  pointer-events: none;
}

.faq-search-input {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 2.75rem;
  background-color: #fcfbf9;
  border: 1px solid #e7e5e4;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #1c1917;
  transition: all 0.2s ease;
  font-family: inherit;
  box-sizing: border-box;
}

.faq-search-input:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #065f46;
  box-shadow: 0 0 0 3px rgba(6, 95, 70, 0.1);
}

.faq-clear-btn {
  position: absolute;
  right: 0.75rem;
  background: #e7e5e4;
  border: none;
  border-radius: 9999px;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #57534e;
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-clear-btn:hover {
  background: #d6d3d1;
  color: #1c1917;
}

.faq-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.faq-pill-btn {
  padding: 0.4375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  background-color: #f5f5f4;
  color: #57534e;
  border: 1px solid #e7e5e4;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.faq-pill-btn:hover {
  background-color: #e7e5e4;
  color: #1c1917;
}

.faq-pill-btn.is-active {
  background-color: #065f46;
  color: #ffffff;
  border-color: #065f46;
  box-shadow: 0 2px 6px rgba(6, 95, 70, 0.2);
}

.legal-card-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f5f5f4;
}

.faq-count-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: #78716c;
  background-color: #f5f5f4;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

.faq-modern-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.faq-modern-item {
  border: 1px solid #e7e5e4;
  border-radius: 10px;
  background-color: #ffffff;
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-modern-item:hover {
  border-color: rgba(6, 95, 70, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.faq-modern-item.is-open {
  border-color: rgba(6, 95, 70, 0.4);
  box-shadow: 0 4px 16px rgba(6, 95, 70, 0.06);
}

.faq-modern-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background-color 0.2s ease;
}

.faq-modern-trigger:hover {
  background-color: #fafaf9;
}

.faq-modern-question-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-right: 1rem;
}

.faq-category-tag {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #065f46;
  width: fit-content;
}

.faq-modern-question {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1c1917;
  line-height: 1.4;
  margin: 0;
}

.faq-chevron-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background-color: #f5f5f4;
  color: #78716c;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-modern-item.is-open .faq-chevron-icon {
  background-color: #ecfdf5;
  color: #047857;
  transform: rotate(180deg);
}

.faq-modern-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: #fafaf9;
}

.faq-modern-body.is-open {
  max-height: 800px;
}

.faq-modern-content {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid #f5f5f4;
  font-size: 0.875rem;
  color: #57534e;
  line-height: 1.65;
  margin: 0;
}

.faq-controls-card {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.75rem;
}

.faq-no-results-box {
  text-align: center;
  padding: 3rem 1.5rem;
  background-color: #fafaf9;
  border-radius: 8px;
  border: 1px dashed #d6d3d1;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE ADAPTATIONS (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .legal-page-wrap {
    padding-bottom: 7rem; /* Safe clearance for fixed mobile bottom navigation and floating bot triggers */
  }

  /* Compact Vedic Hero Banner */
  .legal-banner {
    padding: 2.25rem 1rem 3.25rem;
  }

  .legal-back-link {
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .legal-hero-eyebrow {
    font-size: 0.625rem;
    padding: 0.25rem 0.625rem;
    margin-bottom: 0.625rem;
    letter-spacing: 0.06em;
  }

  .legal-title {
    font-size: 1.5rem;
    line-height: 1.25;
    margin-bottom: 0.5rem;
  }

  .legal-desc {
    font-size: 0.8125rem;
    line-height: 1.5;
    max-width: 100%;
    padding: 0 0.25rem;
  }

  /* Container & Card Negative Overlap */
  .legal-main-container {
    margin: -1.75rem auto 0;
    padding: 0 0.75rem;
  }

  .legal-card {
    padding: 1.125rem 0.875rem;
    border-radius: 12px;
  }

  .legal-card--elevated {
    margin-bottom: 1.25rem;
  }

  .faq-controls-card {
    padding: 0.875rem 0.75rem;
    margin-bottom: 1rem;
  }

  .faq-search-filter-wrap {
    gap: 0.75rem;
  }

  .faq-search-box {
    margin-bottom: 0;
  }

  .faq-search-input {
    font-size: 0.8125rem;
    padding: 0.625rem 2rem 0.625rem 2.25rem;
    border-radius: 8px;
  }

  .faq-search-icon {
    left: 0.75rem;
    width: 16px;
    height: 16px;
  }

  /* Horizontal Category Slide View (Single Row with Touch Scroll) */
  .faq-category-pills {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    gap: 0.4rem;
    padding-bottom: 0.25rem;
    padding-top: 0.125rem;
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .faq-category-pills::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }

  .faq-pill-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.375rem 0.75rem;
    font-size: 0.6875rem;
    border-radius: 9999px;
  }

  /* FAQ Accordion List Mobile Refinements */
  .legal-card-header-row {
    margin-bottom: 0.875rem;
    padding-bottom: 0.625rem;
  }

  .legal-section-title {
    font-size: 1.05rem;
  }

  .faq-count-badge {
    font-size: 0.6875rem;
    padding: 0.15rem 0.5rem;
  }

  .faq-modern-list {
    gap: 0.625rem;
  }

  .faq-modern-item {
    border-radius: 8px;
  }

  .faq-modern-trigger {
    padding: 0.875rem 0.75rem;
    gap: 0.5rem;
  }

  .faq-category-tag {
    font-size: 0.5625rem;
    padding: 0.125rem 0.45rem;
  }

  .faq-modern-question {
    font-size: 0.84375rem;
    line-height: 1.35;
  }

  .faq-chevron-icon {
    width: 1.625rem;
    height: 1.625rem;
    min-width: 1.625rem;
  }

  .faq-chevron-icon svg {
    width: 14px;
    height: 14px;
  }

  .faq-modern-content {
    padding: 0.75rem 0.75rem 1rem;
    font-size: 0.8125rem;
    line-height: 1.55;
  }

  /* Still Have Questions CTA Card Mobile */
  .legal-cta-box {
    padding: 1.5rem 1rem;
    margin-top: 1.5rem;
  }
}
