/* ============================================================
   Bodhitva Corporate Website — Design System
   ============================================================ */

/* --- Design Tokens --- */
:root {
  /* Brand */
  --brand-saffron: #F57813;
  --brand-amber: #FFA300;
  --brand-gold: #FFB800;

  /* Neutrals */
  --brand-deep: #1A1A2E;
  --brand-navy: #16213E;
  --brand-slate: #0F3460;
  --text: #16213E;
  --text-muted: #4A5568;
  --text-light: #94A3B8;
  --text-on-dark: #E2E8F0;
  --text-on-dark-muted: #94A3B8;

  /* Surfaces */
  --surface: #FFFFFF;
  --surface-warm: #FFF9F0;
  --surface-cool: #F0F4F8;
  --bg-dark: #0D1117;

  /* Borders */
  --border-light: #E8E0D4;
  --border-cool: #D8E2EE;
  --border-dark: #2A2A3E;

  /* Semantic */
  --success: #15A04A;
  --info: #27A3DF;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #F57813, #FFB800);
  --grad-hero: linear-gradient(135deg, #1A1A2E 0%, #0F3460 100%);
  --grad-warm: linear-gradient(180deg, #FFF9F0, #FFFFFF);
  --grad-cool: linear-gradient(180deg, #F0F4F8, #FFFFFF);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --max-w: 1200px;
  --content-px: clamp(1rem, 4vw, 4rem);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(26,26,46,0.04);
  --shadow-md: 0 4px 24px rgba(26,26,46,0.06);
  --shadow-lg: 0 12px 40px rgba(26,26,46,0.10);
  --shadow-glow: 0 4px 14px rgba(245,120,19,0.3);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 200ms;
  --dur-med: 300ms;
  --dur-slow: 600ms;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--brand-saffron); text-decoration: none; transition: color var(--dur-fast) ease; }
a:hover { color: var(--brand-amber); }
img { max-width: 100%; display: block; height: auto; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 200;
  background: var(--surface);
  color: var(--text);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}
.skip-link:focus {
  left: 1rem;
  outline: 3px solid var(--brand-saffron);
  outline-offset: 2px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  line-height: 1.15;
  color: var(--text);
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 600; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--text-muted); line-height: 1.75; }

/* --- Eyebrow / Badge --- */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-saffron);
  margin-bottom: var(--space-sm);
}
.eyebrow-pill {
  background: rgba(245,120,19,0.1);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
}

/* --- Layout --- */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--content-px);
}

.section {
  padding: var(--space-2xl) 0;
}
.section-warm { background: var(--surface-warm); }
.section-cool { background: var(--surface-cool); }
.section-dark {
  background: var(--grad-hero);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: #FFFFFF; }
.section-dark .lead { color: var(--text-on-dark-muted); }
.section-dark .eyebrow { color: var(--brand-gold); }
.section-dark a { color: var(--brand-gold); }
.section-dark a:hover { color: #fff; }

.section-brand {
  background: var(--grad-brand);
  color: #fff;
  text-align: center;
}
.section-brand h2 { color: #fff; }
.section-brand p { color: rgba(255,255,255,0.9); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-xl);
}

/* --- Grid Layouts --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-cool);
  transition: box-shadow var(--dur-med) ease;
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.85rem var(--content-px);
  gap: var(--space-sm);
}

/* Brand / Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.brand img {
  height: 120px;
  width: auto;
  object-fit: contain;
}
.brand-text {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

/* Desktop Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast) ease, background var(--dur-fast) ease;
  position: relative;
}
.site-nav a:hover {
  color: var(--brand-saffron);
  background: rgba(245,120,19,0.06);
}
.site-nav a[aria-current="page"] {
  color: var(--brand-saffron);
}
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: -0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  height: 3px;
  background: var(--brand-saffron);
  border-radius: 3px;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--dur-med) ease, opacity var(--dur-fast) ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--brand-deep);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0;
    transform: translateX(100%);
    transition: transform var(--dur-med) var(--ease-out);
    z-index: 105;
    box-shadow: -8px 0 30px rgba(0,0,0,0.2);
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav a {
    color: var(--text-on-dark);
    font-size: 1.1rem;
    padding: 0.85rem 0;
    width: 100%;
    border-bottom: 1px solid var(--border-dark);
    border-radius: 0;
  }
  .site-nav a:hover { color: var(--brand-saffron); background: none; }
  .site-nav a[aria-current="page"]::after { display: none; }
  .site-nav a[aria-current="page"] { color: var(--brand-saffron); }
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 104;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-med) ease;
  }
  .nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: var(--space-3xl) 0 var(--space-2xl);
  overflow: hidden;
}
.hero.section-dark {
  min-height: 85vh;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-content { max-width: 620px; }
.hero-content h1 { margin-bottom: var(--space-md); }
.hero-content .lead { margin-bottom: var(--space-lg); }

/* Hero animated gradient mesh */
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-mesh .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  will-change: transform;
}
.hero-mesh .blob-1 {
  width: 500px; height: 500px;
  background: rgba(245,120,19,0.35);
}
.hero-mesh .blob-2 {
  width: 400px; height: 400px;
  background: rgba(255,163,0,0.25);
}
.hero-mesh .blob-3 {
  width: 350px; height: 350px;
  background: rgba(15,52,96,0.4);
}
.hero-mesh .blob-4 {
  width: 300px; height: 300px;
  background: rgba(255,184,0,0.2);
}
.hero-mesh .blob-5 {
  width: 450px; height: 450px;
  background: rgba(245,120,19,0.2);
}
.hero-mesh .blob-6 {
  width: 380px; height: 380px;
  background: rgba(255,163,0,0.3);
}

/* Hero Visual / Floating Card */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-float-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: var(--space-lg);
  width: 100%;
  max-width: 400px;
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
  animation: hero-float 6s ease-in-out infinite;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}
.hero-float-card .card-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-gold);
  margin-bottom: var(--space-sm);
}
.hero-float-card h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: var(--space-sm);
}
.hero-float-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}
.hero-float-card .module-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-md);
}
.module-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--grad-brand);
  color: #fff;
}

.hero-stats {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat .stat-num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-gold);
}
.hero-stat .stat-label {
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
  margin-top: 0.15rem;
}

@media (max-width: 768px) {
  .hero { padding: var(--space-xl) 0; min-height: auto !important; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-visual { display: none; }
  .hero-stats { justify-content: center; flex-wrap: wrap; }
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: var(--space-2xl) 0 var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { max-width: 800px; margin: 0 auto var(--space-md); }
.page-hero .lead { max-width: 640px; margin: 0 auto; }

/* --- Cards --- */
.card {
  background: var(--surface);
  border: 1px solid var(--border-cool);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card h3 { margin-bottom: var(--space-xs); }
.card p { color: var(--text-muted); }

/* Feature card with icon */
.card-feature {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}
.card-feature .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--grad-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: #fff;
  transition: transform var(--dur-med) ease;
}
.card-feature:hover .card-icon {
  transform: rotate(5deg) scale(1.05);
}
.card-feature .card-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.75;
}

/* Metric card */
.card-metric {
  text-align: center;
  padding: var(--space-lg);
}
.card-metric .metric-num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

/* Nav card (explore section) */
.card-nav {
  display: flex;
  flex-direction: column;
  border-left: 3px solid transparent;
  transition: border-color var(--dur-med) ease, transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.card-nav:hover {
  border-left-color: var(--brand-saffron);
}
.card-nav .card-link {
  margin-top: auto;
  padding-top: var(--space-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.card-nav .card-link .arrow {
  transition: transform var(--dur-fast) ease;
}
.card-nav:hover .card-link .arrow {
  transform: translateX(4px);
}

/* Dark card */
.card-dark {
  background: var(--brand-deep);
  border-color: var(--border-dark);
  color: var(--text-on-dark);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.card-dark h3 { color: #fff; }
.card-dark p { color: var(--text-on-dark-muted); }

/* Value card with icon */
.card-value {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}
.card-value .card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: rgba(245,120,19,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-saffron);
}
.card-value .card-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.75;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 12px;
  padding: 0.8rem 1.5rem;
  border: 2px solid transparent;
  transition: all var(--dur-fast) ease;
  cursor: pointer;
}
.btn:focus-visible {
  outline: 3px solid var(--brand-saffron);
  outline-offset: 2px;
}

.btn-primary, a.btn-primary, a.btn-primary:visited {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245,120,19,0.4);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--brand-saffron);
  border-color: var(--brand-saffron);
}
.btn-secondary:hover {
  background: var(--brand-saffron);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--brand-deep);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--brand-saffron);
  color: #fff;
  border-color: var(--brand-saffron);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

.btn-ghost {
  background: none;
  border: none;
  color: var(--brand-saffron);
  padding: 0.4rem 0;
  font-weight: 600;
}
.btn-ghost:hover { color: var(--brand-amber); }
.btn-ghost .arrow { transition: transform var(--dur-fast) ease; }
.btn-ghost:hover .arrow { transform: translateX(4px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* --- Workflow Diagram --- */
.workflow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  position: relative;
}
.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.workflow-step-number {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-saffron);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xs);
}
.workflow-node {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: var(--space-sm);
  box-shadow: var(--shadow-glow);
  position: relative;
  z-index: 1;
}
.workflow-node svg { width: 28px; height: 28px; stroke-width: 1.75; }
.workflow-step h4 { font-size: 0.9rem; margin-bottom: 0.25rem; }
.workflow-step p { font-size: 0.75rem; color: var(--text-muted); }
/* Connector line between steps — vertically centered on the 72px node */
.workflow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 35px;
  left: calc(50% + 40px);
  width: calc(100% - 80px + var(--space-md));
  height: 2px;
  background: linear-gradient(90deg, var(--brand-saffron), var(--brand-amber));
  z-index: 0;
}
/* Arrow head on connector */
.workflow-step:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 30px;
  right: calc(-1 * var(--space-md) / 2 - 2px);
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--brand-amber);
  border-right: 2px solid var(--brand-amber);
  transform: rotate(45deg);
  z-index: 1;
}
.workflow-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  background: var(--bg-warm);
  color: var(--brand-saffron);
  padding: 0.2em 0.6em;
  border-radius: 999px;
  margin-top: 0.25rem;
}

@media (max-width: 1024px) {
  .workflow { grid-template-columns: repeat(5, 1fr); gap: var(--space-sm); }
  .workflow-node { width: 60px; height: 60px; border-radius: 14px; }
  .workflow-step:not(:last-child)::after { top: 29px; left: calc(50% + 34px); width: calc(100% - 68px + var(--space-sm)); }
  .workflow-step:not(:last-child)::before { top: 24px; width: 8px; height: 8px; right: calc(-1 * var(--space-sm) / 2 - 2px); }
}
@media (max-width: 768px) {
  .workflow {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 280px;
    margin: 0 auto;
  }
  .workflow-step {
    flex-direction: row;
    text-align: left;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-left: 2px solid var(--brand-amber);
    padding-left: var(--space-md);
    margin-left: 1rem;
  }
  .workflow-step:last-child { border-left-color: transparent; }
  .workflow-step:not(:last-child)::after,
  .workflow-step:not(:last-child)::before { display: none; }
  .workflow-node { width: 48px; height: 48px; min-width: 48px; border-radius: 12px; margin-bottom: 0; }
  .workflow-step-number { margin-bottom: 0.15rem; }
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before { display: none; }
.timeline-item {
  position: relative;
  padding-bottom: var(--space-lg);
  padding-left: var(--space-md);
}
/* Circle bullet */
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-saffron);
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 3px var(--brand-saffron);
  z-index: 1;
}
/* Connector line from this circle center to next circle center */
.timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(-2rem + 5.5px);
  top: calc(0.5rem + 7px);
  bottom: calc(-0.5rem - 7px);
  width: 3px;
  background: var(--grad-brand);
  border-radius: 3px;
  z-index: 0;
}
.timeline-item h3 { margin-bottom: var(--space-xs); }
.timeline-item p { color: var(--text-muted); }

/* --- Badges / Pills --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(245,120,19,0.08);
  color: var(--brand-saffron);
  border: 1px solid rgba(245,120,19,0.15);
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Compliance badges */
.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-cool);
  box-shadow: var(--shadow-sm);
}
.compliance-badge svg { width: 18px; height: 18px; color: var(--success); }

/* --- Data / Profile List --- */
.data-list { display: grid; gap: 0; }
.data-row {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-cool);
}
.data-row:last-child { border-bottom: none; }
.data-label {
  font-weight: 700;
  color: var(--text);
  min-width: 180px;
  flex-shrink: 0;
}
.data-value { color: var(--text-muted); }

@media (max-width: 640px) {
  .data-row { flex-direction: column; gap: 0.15rem; }
  .data-label { min-width: auto; }
}

/* --- Legal Pages --- */
.legal-section {
  margin-bottom: var(--space-lg);
}
.legal-section h2 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
}
.legal-section h2 .section-num {
  font-size: 0.85rem;
  color: var(--brand-saffron);
  font-weight: 700;
  min-width: 1.5rem;
}
.legal-section p,
.legal-section li {
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
  line-height: 1.8;
}
.legal-section ul {
  padding-left: 1.25rem;
  list-style: disc;
}
.legal-section ul li { margin-bottom: 0.35rem; }
.legal-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

/* --- Footer --- */
.site-footer {
  background: var(--brand-deep);
  color: var(--text-on-dark);
  padding: var(--space-2xl) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.footer-brand img { width: auto; height: 110px; }
.footer-brand .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}
.footer-brand .brand-text { color: #fff; font-size: 1.15rem; }
.footer-tagline {
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark-muted);
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
}
.footer-social a:hover {
  background: var(--brand-saffron);
  color: #fff;
}
.footer-social a svg { width: 18px; height: 18px; }

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-md);
}
.footer-col a {
  display: block;
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color var(--dur-fast) ease;
}
.footer-col a:hover { color: var(--brand-saffron); }

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: var(--space-md) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* --- Wave Divider --- */
.wave-divider {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -2px;
}
.wave-divider-flip {
  transform: scaleY(-1);
  margin-top: -2px;
  margin-bottom: 0;
}

/* --- Animations --- */
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(30px, -20px); }
  50% { transform: translate(-10px, 20px); }
  75% { transform: translate(-30px, -10px); }
}

@keyframes hero-float {
  0%, 100% { transform: perspective(1200px) rotateY(-6deg) rotateX(3deg) translateY(0); }
  50% { transform: perspective(1200px) rotateY(-6deg) rotateX(3deg) translateY(-12px); }
}

/* Scroll Reveal Animations */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal-up { transform: translateY(30px); }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-scale { transform: scale(0.95); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: none;
}

/* Stagger: add delay via data attribute or CSS */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 100ms; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 200ms; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 300ms; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 400ms; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 500ms; opacity: 1; transform: none; }

/* Hero text cascade */
.hero-anim > * {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
.hero-anim.visible > *:nth-child(1) { transition-delay: 200ms; opacity: 1; transform: none; }
.hero-anim.visible > *:nth-child(2) { transition-delay: 350ms; opacity: 1; transform: none; }
.hero-anim.visible > *:nth-child(3) { transition-delay: 500ms; opacity: 1; transform: none; }
.hero-anim.visible > *:nth-child(4) { transition-delay: 650ms; opacity: 1; transform: none; }
.hero-anim.visible > *:nth-child(5) { transition-delay: 800ms; opacity: 1; transform: none; }
.hero-anim.visible > *:nth-child(6) { transition-delay: 950ms; opacity: 1; transform: none; }

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-up, .reveal-left, .reveal-right, .reveal-scale,
  .reveal-stagger > *, .hero-anim > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --- Contact Form --- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: var(--space-md);
}
.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-cool);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-saffron);
  box-shadow: 0 0 0 3px rgba(245,120,19,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: var(--space-sm);
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-white { color: #fff; }
.mx-auto { margin-inline: auto; }
.max-w-prose { max-width: 680px; }
.max-w-narrow { max-width: 540px; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }
