/* ===========================================
   HEALEAZE DESIGN SYSTEM
   Natural Wellness · Traditional Medicine
   =========================================== */

:root {
  /* Brand Colors */
  --hz-forest:      #1B4332;
  --hz-sage:        #40916C;
  --hz-mint:        #52B788;
  --hz-pale-sage:   #D8F3DC;
  --hz-cream:       #FEFCF3;
  --hz-warm-white:  #FAFAF7;
  --hz-gold:        #D4A017;
  --hz-amber:       #F2A65A;

  /* Semantic */
  --hz-success:     #166534;
  --hz-success-bg:  #DCFCE7;
  --hz-success-br:  #86EFAC;
  --hz-error:       #991B1B;
  --hz-error-bg:    #FEE2E2;
  --hz-error-br:    #FCA5A5;
  --hz-warning:     #92400E;
  --hz-warning-bg:  #FEF3C7;
  --hz-warning-br:  #FCD34D;
  --hz-info:        #1E40AF;
  --hz-info-bg:     #DBEAFE;
  --hz-info-br:     #93C5FD;

  /* Text */
  --hz-text-primary: #1C1917;
  --hz-text-body:    #374151;
  --hz-text-muted:   #6B7280;
  --hz-text-light:   #9CA3AF;
  --hz-text-on-dark: #D1FAE5;

  /* Backgrounds */
  --hz-bg-base:    #FAFAF7;
  --hz-bg-surface: #FFFFFF;
  --hz-bg-muted:   #F0FFF4;
  --hz-bg-dark:    #1B4332;

  /* Borders */
  --hz-border-light:  #E5E7EB;
  --hz-border:        #D1D5DB;
  --hz-border-focus:  #40916C;

  /* Shadows */
  --hz-shadow-xs: 0 1px 2px rgba(27,67,50,.06);
  --hz-shadow-sm: 0 1px 3px rgba(27,67,50,.10), 0 1px 2px rgba(27,67,50,.06);
  --hz-shadow-md: 0 4px 6px rgba(27,67,50,.07), 0 2px 4px rgba(27,67,50,.05);
  --hz-shadow-lg: 0 10px 15px rgba(27,67,50,.10), 0 4px 6px rgba(27,67,50,.05);
  --hz-shadow-xl: 0 20px 25px rgba(27,67,50,.10), 0 10px 10px rgba(27,67,50,.04);
  --hz-shadow-glow: 0 0 0 3px rgba(64,145,108,.22);

  /* Typography */
  --hz-font-display: 'DM Serif Display', Georgia, serif;
  --hz-font-body:    'IBM Plex Sans', 'IBM Plex Sans Condensed', system-ui, sans-serif;

  /* Layout */
  --hz-header-h:      68px;
  --hz-bottom-nav-h:  64px;
  --hz-max-w:         1280px;

  /* Radius */
  --hz-r-sm:   6px;
  --hz-r-md:   10px;
  --hz-r-lg:   16px;
  --hz-r-xl:   24px;
  --hz-r-full: 9999px;

  /* Motion */
  --hz-ease:            cubic-bezier(.4,0,.2,1);
  --hz-transition:      200ms var(--hz-ease);
  --hz-transition-slow: 350ms var(--hz-ease);
}

/* ═══════════════════════════════════════════
   BASE
   ═══════════════════════════════════════════ */

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background-color: var(--hz-bg-base) !important;
  color: var(--hz-text-body);
  font-family: var(--hz-font-body);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: var(--hz-bottom-nav-h);
}
@media (min-width: 768px) { body { padding-bottom: 0; } }

main { flex: 1; }

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */

.hz-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hz-border-light);
  box-shadow: var(--hz-shadow-xs);
  height: var(--hz-header-h);
}

.hz-header-inner {
  max-width: var(--hz-max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */
.hz-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  text-decoration: none;
  flex-shrink: 0;
}
.hz-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--hz-forest), var(--hz-sage));
  border-radius: var(--hz-r-md);
  display: flex; align-items: center; justify-content: center;
  color: white;
}
.hz-logo-icon svg { width: 20px; height: 20px; fill: currentColor; }
.hz-logo-text {
  font-family: var(--hz-font-display);
  font-size: 1.375rem;
  color: var(--hz-forest);
  letter-spacing: -.01em;
}
.hz-logo-text em {
  font-style: normal;
  color: var(--hz-sage);
}

/* Desktop Nav */
.hz-nav {
  display: none;
  align-items: center;
  gap: .25rem;
}
@media (min-width: 768px) { .hz-nav { display: flex; } }

.hz-nav-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .5rem .875rem;
  border-radius: var(--hz-r-md);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--hz-text-body);
  text-decoration: none;
  transition: var(--hz-transition);
  white-space: nowrap;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.5;
}
.hz-nav-link:hover    { background: var(--hz-bg-muted); color: var(--hz-forest); }
.hz-nav-link.active   { background: var(--hz-pale-sage); color: var(--hz-forest); font-weight: 600; }

/* CTA Pill (Desktop) */
.hz-header-cta {
  display: none;
  align-items: center;
  gap: .5rem;
}
@media (min-width: 768px) { .hz-header-cta { display: flex; } }

/* Mobile Menu Button */
.hz-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--hz-r-md);
  border: 1.5px solid var(--hz-border-light);
  background: transparent;
  cursor: pointer;
  color: var(--hz-text-body);
  transition: var(--hz-transition);
}
.hz-menu-btn:hover { background: var(--hz-bg-muted); border-color: var(--hz-border-focus); }
@media (min-width: 768px) { .hz-menu-btn { display: none; } }

/* Mobile Drawer */
.hz-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}
.hz-mobile-menu.open { pointer-events: auto; }

.hz-mobile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: opacity .3s var(--hz-ease);
}
.hz-mobile-menu.open .hz-mobile-overlay { opacity: 1; }

.hz-mobile-drawer {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 85vw);
  background: white;
  transform: translateX(100%);
  transition: transform .3s var(--hz-ease);
  box-shadow: var(--hz-shadow-xl);
  display: flex;
  flex-direction: column;
}
.hz-mobile-menu.open .hz-mobile-drawer { transform: translateX(0); }

.hz-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  border-bottom: 1px solid var(--hz-border-light);
}

.hz-drawer-close {
  width: 36px; height: 36px;
  border-radius: var(--hz-r-md);
  border: 1.5px solid var(--hz-border-light);
  background: transparent;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--hz-text-muted);
  transition: var(--hz-transition);
}
.hz-drawer-close:hover { background: var(--hz-bg-muted); color: var(--hz-text-body); }

.hz-drawer-nav {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  overflow-y: auto;
}
.hz-drawer-nav .hz-nav-link {
  padding: .875rem 1rem;
  font-size: 1rem;
  border-radius: var(--hz-r-md);
}

.hz-drawer-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--hz-border-light);
}

/* ═══════════════════════════════════════════
   BOTTOM NAV (Mobile Only)
   ═══════════════════════════════════════════ */

.hz-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  height: var(--hz-bottom-nav-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--hz-border-light);
  box-shadow: 0 -4px 20px rgba(27,67,50,.08);
  display: flex;
  align-items: stretch;
}
@media (min-width: 768px) { .hz-bottom-nav { display: none; } }

.hz-bnav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: var(--hz-text-light);
  font-size: .6875rem;
  font-weight: 500;
  transition: var(--hz-transition);
  padding: .5rem .25rem;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  position: relative;
}
.hz-bnav-item svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: var(--hz-transition);
}
.hz-bnav-item:hover,
.hz-bnav-item.active { color: var(--hz-forest); }
.hz-bnav-item.active svg { stroke-width: 2.25; }

/* Center CTA button */
.hz-bnav-cta {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  font-size: .6875rem;
  font-weight: 600;
  color: var(--hz-forest);
  padding: .375rem .25rem;
}
.hz-bnav-cta-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hz-forest), var(--hz-sage));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(27,67,50,.35);
  transition: var(--hz-transition);
}
.hz-bnav-cta-circle svg {
  width: 22px; height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hz-bnav-cta:hover .hz-bnav-cta-circle {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(27,67,50,.45);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.hz-footer {
  background: var(--hz-forest);
  color: var(--hz-text-on-dark);
  padding: 3.5rem 0 2rem;
  margin-top: auto;
}

.hz-footer-inner {
  max-width: var(--hz-max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hz-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) {
  .hz-footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.hz-footer-logo-text {
  font-family: var(--hz-font-display);
  font-size: 1.5rem;
  color: white;
  display: block;
  margin-bottom: .75rem;
}
.hz-footer-brand p {
  color: rgba(255,255,255,.65);
  font-size: .9375rem;
  line-height: 1.6;
  max-width: 30ch;
  margin: 0;
}

.hz-footer-heading {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 1rem;
}

.hz-footer-links {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.hz-footer-links a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: .9375rem;
  transition: var(--hz-transition);
}
.hz-footer-links a:hover { color: white; }

.hz-footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.12);
  margin-bottom: 1.5rem;
}

.hz-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: .875rem;
  color: rgba(255,255,255,.45);
}
@media (min-width: 640px) {
  .hz-footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ═══════════════════════════════════════════
   MESSAGES / ALERTS
   ═══════════════════════════════════════════ */

.hz-messages {
  max-width: 720px;
  margin: 1rem auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.hz-alert {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .875rem 1rem;
  border-radius: var(--hz-r-md);
  font-size: .9375rem;
  line-height: 1.5;
  border-width: 1px;
  border-style: solid;
}
.hz-alert-icon { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; }
.hz-alert-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.hz-alert.success { background: var(--hz-success-bg); color: var(--hz-success); border-color: var(--hz-success-br); }
.hz-alert.error   { background: var(--hz-error-bg);   color: var(--hz-error);   border-color: var(--hz-error-br); }
.hz-alert.warning { background: var(--hz-warning-bg); color: var(--hz-warning); border-color: var(--hz-warning-br); }
.hz-alert.info    { background: var(--hz-info-bg);    color: var(--hz-info);    border-color: var(--hz-info-br); }
.hz-alert.debug   { background: #F3F4F6; color: #374151; border-color: #D1D5DB; }

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */

.hz-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: var(--hz-r-xl);
  margin: 1rem;
}
@media (min-width: 768px) { .hz-hero { margin: 1.5rem 0; min-height: 50vh; } }

.hz-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hz-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27,67,50,.90) 0%,
    rgba(27,67,50,.65) 60%,
    rgba(64,145,108,.30) 100%
  );
}

.hz-hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 1.5rem;
  max-width: 680px;
}
@media (min-width: 768px) { .hz-hero-content { padding: 4.5rem 3rem; } }

.hz-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,.95);
  padding: .375rem .875rem;
  border-radius: var(--hz-r-full);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .03em;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255,255,255,.2);
}

.hz-hero-title {
  font-family: var(--hz-font-display);
  font-size: clamp(1.875rem, 5vw, 2.875rem);
  color: white;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.hz-hero-subtitle {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.85);
  line-height: 1.65;
  max-width: 52ch;
}

/* ═══════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════ */

.hz-form-card {
  background: rgba(21,55,40,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--hz-r-xl);
  border: 1px solid rgba(255,255,255,.1);
  padding: 2rem;
  box-shadow: var(--hz-shadow-xl);
}
@media (min-width: 640px) { .hz-form-card { padding: 2.5rem; } }

.hz-form-title {
  font-family: var(--hz-font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: white;
  margin-bottom: .5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.hz-form-subtitle {
  color: rgba(255,255,255,.75);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.hz-form-group { margin-bottom: 1.125rem; }

.hz-label {
  display: block;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--hz-text-primary);
  margin-bottom: .4rem;
}
.hz-label-light { color: rgba(255,255,255,.88); }

.hz-input,
.hz-select,
.hz-textarea {
  display: block;
  width: 100%;
  padding: .75rem 1rem;
  font-size: 1rem;
  font-family: var(--hz-font-body);
  color: var(--hz-text-primary);
  background: white;
  border: 1.5px solid var(--hz-border);
  border-radius: var(--hz-r-md);
  transition: var(--hz-transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.hz-input:hover,
.hz-select:hover,
.hz-textarea:hover  { border-color: var(--hz-sage); }
.hz-input:focus,
.hz-select:focus,
.hz-textarea:focus  { border-color: var(--hz-border-focus); box-shadow: var(--hz-shadow-glow); }
.hz-input::placeholder,
.hz-textarea::placeholder { color: var(--hz-text-light); }
.hz-input.hz-err   { border-color: #DC2626; box-shadow: 0 0 0 3px rgba(220,38,38,.12); }
.hz-input.hz-ok    { border-color: var(--hz-sage); }
.hz-textarea       { resize: vertical; min-height: 100px; }

.hz-field-msg {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .8125rem;
  margin-top: .375rem;
  height: 1.2em;
  color: #DC2626;
  opacity: 0;
  transition: opacity .2s;
}
.hz-field-msg.show { opacity: 1; }
.hz-field-msg.ok   { color: var(--hz-sage); }
.hz-field-msg svg  { width: 14px; height: 14px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Select wrapper with custom arrow */
.hz-select-wrap { position: relative; }
.hz-select-wrap::after {
  content: '';
  position: absolute;
  right: 1rem; top: 50%;
  transform: translateY(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--hz-text-muted);
  pointer-events: none;
}

/* Password toggle */
.hz-pw-wrap { position: relative; }
.hz-pw-wrap .hz-input { padding-right: 3rem; }
.hz-pw-toggle {
  position: absolute;
  right: .75rem; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  cursor: pointer;
  color: var(--hz-text-muted);
  padding: .25rem;
  display: flex; align-items: center;
  transition: var(--hz-transition);
}
.hz-pw-toggle:hover { color: var(--hz-forest); }
.hz-pw-toggle svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Checkbox on dark */
.hz-check-row {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .5rem .625rem;
  border-radius: var(--hz-r-md);
  cursor: pointer;
  transition: var(--hz-transition);
}
.hz-check-row:hover { background: rgba(255,255,255,.07); }

.hz-checkbox {
  width: 18px; height: 18px;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.45);
  border-radius: 4px;
  background: rgba(255,255,255,.1);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  transition: var(--hz-transition);
}
.hz-checkbox:checked { background: var(--hz-sage); border-color: var(--hz-sage); }
.hz-checkbox:checked::after {
  content: '';
  position: absolute;
  left: 3px; top: 0px;
  width: 7px; height: 10px;
  border-right: 2.5px solid white;
  border-bottom: 2.5px solid white;
  transform: rotate(45deg);
}
.hz-checkbox-label { font-size: .9375rem; color: rgba(255,255,255,.88); cursor: pointer; }

/* Progress bar for password strength */
.hz-pw-strength {
  display: flex;
  gap: 3px;
  margin-top: .5rem;
}
.hz-pw-strength-bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,.15);
  transition: background .3s;
}
.hz-pw-strength-bar.weak   { background: #EF4444; }
.hz-pw-strength-bar.fair   { background: #F59E0B; }
.hz-pw-strength-bar.good   { background: var(--hz-mint); }
.hz-pw-strength-bar.strong { background: var(--hz-sage); }

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */

.hz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--hz-r-md);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--hz-font-body);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--hz-transition);
  white-space: nowrap;
  line-height: 1;
}
.hz-btn:disabled { opacity: .6; cursor: not-allowed; }
.hz-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.hz-btn-primary { background: var(--hz-forest); color: white; }
.hz-btn-primary:hover:not(:disabled) { background: var(--hz-sage); color: white; box-shadow: var(--hz-shadow-md); transform: translateY(-1px); }
.hz-btn-primary:active { transform: translateY(0); }

.hz-btn-sage { background: var(--hz-sage); color: white; }
.hz-btn-sage:hover:not(:disabled) { background: var(--hz-forest); color: white; }

.hz-btn-soft { background: var(--hz-pale-sage); color: var(--hz-forest); }
.hz-btn-soft:hover:not(:disabled) { background: var(--hz-mint); color: white; }

.hz-btn-outline { background: transparent; color: var(--hz-forest); border: 1.5px solid var(--hz-forest); }
.hz-btn-outline:hover:not(:disabled) { background: var(--hz-forest); color: white; }

.hz-btn-ghost { background: transparent; color: var(--hz-text-body); }
.hz-btn-ghost:hover:not(:disabled) { background: var(--hz-bg-muted); color: var(--hz-forest); }

.hz-btn-sm  { padding: .5rem 1rem; font-size: .875rem; }
.hz-btn-lg  { padding: .9375rem 2rem; font-size: 1.0625rem; }
.hz-btn-xl  { padding: 1.125rem 2.5rem; font-size: 1.125rem; }
.hz-btn-full { width: 100%; }
.hz-btn-pill { border-radius: var(--hz-r-full); }

/* ═══════════════════════════════════════════
   BADGES
   ═══════════════════════════════════════════ */

.hz-badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .25rem .625rem;
  border-radius: var(--hz-r-full);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.25;
}
.hz-badge-green  { background: var(--hz-pale-sage); color: var(--hz-forest); }
.hz-badge-amber  { background: #FEF3C7; color: #92400E; }
.hz-badge-purple { background: #EDE9FE; color: #5B21B6; }
.hz-badge-gray   { background: #F3F4F6; color: #374151; }
.hz-badge-blue   { background: #DBEAFE; color: #1E40AF; }
.hz-badge-red    { background: #FEE2E2; color: #991B1B; }

/* ═══════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════ */

.hz-card {
  background: var(--hz-bg-surface);
  border-radius: var(--hz-r-lg);
  border: 1px solid var(--hz-border-light);
  box-shadow: var(--hz-shadow-sm);
  overflow: hidden;
  transition: var(--hz-transition-slow);
}
.hz-card:hover { box-shadow: var(--hz-shadow-lg); transform: translateY(-2px); }
.hz-card-body { padding: 1.5rem; }

/* Category Card */
.hz-cat-card {
  background: white;
  border-radius: var(--hz-r-lg);
  border: 1px solid var(--hz-border-light);
  padding: 1.375rem;
  display: flex;
  flex-direction: column;
  gap: .625rem;
  position: relative;
  overflow: hidden;
  transition: var(--hz-transition-slow);
}
.hz-cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--hz-forest), var(--hz-sage));
}
.hz-cat-card:hover { box-shadow: var(--hz-shadow-lg); transform: translateY(-2px); border-color: rgba(64,145,108,.3); }
.hz-cat-title { font-family: var(--hz-font-display); font-size: 1.125rem; color: var(--hz-forest); margin: 0; }
.hz-cat-desc  { font-size: .9375rem; color: var(--hz-text-muted); line-height: 1.6; margin: 0; }

/* Practitioner Card */
.hz-prac-card {
  background: white;
  border-radius: var(--hz-r-lg);
  border: 1px solid var(--hz-border-light);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  transition: var(--hz-transition-slow);
}
.hz-prac-card:hover { box-shadow: var(--hz-shadow-lg); transform: translateY(-2px); border-color: rgba(64,145,108,.3); }

.hz-prac-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hz-pale-sage), var(--hz-bg-muted));
  display: flex; align-items: center; justify-content: center;
  color: var(--hz-forest);
  font-family: var(--hz-font-display);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Place Card */
.hz-place-card {
  background: white;
  border-radius: var(--hz-r-lg);
  overflow: hidden;
  border: 1px solid var(--hz-border-light);
  box-shadow: var(--hz-shadow-sm);
  transition: var(--hz-transition-slow);
  display: flex;
  flex-direction: column;
}
.hz-place-card:hover { box-shadow: var(--hz-shadow-xl); transform: translateY(-3px); }

.hz-place-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.hz-place-img-ph {
  width: 100%; height: 180px;
  background: linear-gradient(135deg, var(--hz-pale-sage), var(--hz-bg-muted));
  display: flex; align-items: center; justify-content: center;
  color: var(--hz-sage);
  font-size: 2.5rem;
}
.hz-place-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.hz-place-footer { padding: 0 1.25rem 1.25rem; }

/* Request List Item */
.hz-req-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--hz-r-lg);
  border: 1px solid var(--hz-border-light);
  background: white;
  transition: var(--hz-transition);
  margin-bottom: .75rem;
}
.hz-req-item:hover { border-color: var(--hz-border-focus); box-shadow: var(--hz-shadow-md); }
.hz-req-title { font-size: .9375rem; font-weight: 600; color: var(--hz-text-primary); margin-bottom: .25rem; }
.hz-req-desc  { font-size: .875rem; color: var(--hz-text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ═══════════════════════════════════════════
   PAGE HEADERS
   ═══════════════════════════════════════════ */

.hz-page-header { margin-bottom: 2rem; }
.hz-page-title  { font-family: var(--hz-font-display); font-size: clamp(1.5rem,4vw,2.25rem); color: var(--hz-forest); line-height: 1.2; }
.hz-page-subtitle { font-size: 1rem; color: var(--hz-text-muted); margin-top: .375rem; }

.hz-section-title { font-family: var(--hz-font-display); font-size: clamp(1.25rem,3.5vw,1.875rem); color: var(--hz-text-primary); }

/* ═══════════════════════════════════════════
   PROFILE & CONTACT
   ═══════════════════════════════════════════ */

.hz-profile-banner {
  background: linear-gradient(135deg, var(--hz-forest) 0%, var(--hz-sage) 100%);
  border-radius: var(--hz-r-xl);
  padding: 2rem 2rem 2.5rem;
  color: white;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.hz-profile-banner::before {
  content: '';
  position: absolute;
  top: -40%; right: -8%;
  width: 280px; height: 280px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
}

.hz-profile-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  border: 3px solid rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--hz-font-display);
  font-size: 1.875rem;
  color: white;
  margin-bottom: 1rem;
}

.hz-contact-card {
  background: var(--hz-bg-muted);
  border: 1px solid var(--hz-border-light);
  border-radius: var(--hz-r-lg);
  padding: 1.5rem;
}

.hz-contact-row {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--hz-border-light);
  font-size: .9375rem;
  color: var(--hz-text-body);
}
.hz-contact-row:last-child { border-bottom: none; padding-bottom: 0; }
.hz-contact-row:first-child { padding-top: 0; }

.hz-contact-ico {
  width: 38px; height: 38px;
  border-radius: var(--hz-r-md);
  background: var(--hz-pale-sage);
  display: flex; align-items: center; justify-content: center;
  color: var(--hz-forest);
  flex-shrink: 0;
}
.hz-contact-ico svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ═══════════════════════════════════════════
   AUTH PAGES
   ═══════════════════════════════════════════ */

.hz-auth-wrap {
  min-height: calc(100vh - var(--hz-header-h) - var(--hz-bottom-nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}
@media (min-width: 768px) { .hz-auth-wrap { min-height: calc(100vh - var(--hz-header-h)); } }

.hz-auth-card {
  background: white;
  border-radius: var(--hz-r-xl);
  border: 1px solid var(--hz-border-light);
  box-shadow: var(--hz-shadow-xl);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 440px;
}
@media (min-width: 640px) { .hz-auth-card { padding: 3rem 2.5rem; } }

.hz-auth-title {
  font-family: var(--hz-font-display);
  font-size: 2rem;
  color: var(--hz-forest);
  text-align: center;
  margin-bottom: .5rem;
}
.hz-auth-subtitle { font-size: .9375rem; color: var(--hz-text-muted); text-align: center; margin-bottom: 2rem; }

.hz-auth-footer { text-align: center; margin-top: 1.5rem; font-size: .9375rem; color: var(--hz-text-muted); }
.hz-auth-footer a { color: var(--hz-sage); font-weight: 600; text-decoration: none; }
.hz-auth-footer a:hover { color: var(--hz-forest); text-decoration: underline; }

/* ═══════════════════════════════════════════
   THANKS / SUCCESS
   ═══════════════════════════════════════════ */

.hz-success-wrap {
  max-width: 560px;
  margin: 4rem auto;
  text-align: center;
  padding: 0 1.25rem;
}
.hz-success-icon {
  width: 80px; height: 80px;
  background: var(--hz-pale-sage);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--hz-forest);
}
.hz-success-icon svg { width: 40px; height: 40px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ═══════════════════════════════════════════
   ABOUT / CONTENT
   ═══════════════════════════════════════════ */

.hz-prose {
  font-size: 1.0625rem;
  color: var(--hz-text-body);
  line-height: 1.8;
}
.hz-prose p + p { margin-top: 1em; }

/* ═══════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════ */

.hz-divider { height: 1px; background: var(--hz-border-light); margin: 1.5rem 0; }

.hz-container {
  max-width: var(--hz-max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */

@keyframes hz-slide-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hz-animate-in { animation: hz-slide-up .4s var(--hz-ease) forwards; }

@keyframes hz-spin { to { transform: rotate(360deg); } }
.hz-spinner {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,.3);
  border-top-color: white;
  border-radius: 50%;
  animation: hz-spin .7s linear infinite;
  display: inline-block;
}

@keyframes hz-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .5; }
}
.hz-pulse { animation: hz-pulse 2s ease-in-out infinite; }
