/* ==========================================================================
   KULI — Public Design System
   Version 1.0  |  Mobile-first  |  Premium Marketplace
   Dibuat di atas fondasi admin.css; hanya untuk public pages.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS (override / extend admin.css tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Extended palette */
  --brand-primary:   #123d2b;    /* forest */
  --brand-mid:       #176b45;    /* green */
  --brand-light:     #24543d;    /* forest-soft */
  --brand-xlight:    #eef3ef;    /* surface-soft */
  --brand-gold:      #b96f24;    /* accent */
  --brand-gold-soft: #fff4e3;    /* accent-soft */
  --brand-gold-glow: #edbd72;    /* accent-bright */

  /* Neutrals */
  --neutral-50:  #f9fafb;
  --neutral-100: #f3f4f6;
  --neutral-200: #e5e7eb;
  --neutral-300: #d1d5db;
  --neutral-400: #9ca3af;
  --neutral-500: #6b7280;
  --neutral-600: #4b5563;
  --neutral-700: #374151;
  --neutral-800: #1f2937;
  --neutral-900: #111827;

  /* Semantic */
  --success:      #16a34a;
  --success-soft: #dcfce7;
  --warning:      #d97706;
  --warning-soft: #fef3c7;
  --error:        #dc2626;
  --error-soft:   #fee2e2;
  --info:         #0369a1;
  --info-soft:    #e0f2fe;

  /* Typography scale */
  --text-xs:  0.72rem;
  --text-sm:  0.82rem;
  --text-md:  0.92rem;
  --text-base: 1rem;
  --text-lg:  1.1rem;
  --text-xl:  1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.8rem;
  --text-4xl: 2.2rem;
  --text-5xl: clamp(2.4rem, 7vw, 3.4rem);

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* Border radius */
  --r-xs:  6px;
  --r-sm:  10px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-xs:  0 1px 3px rgba(0,0,0,.07),  0 1px 2px rgba(0,0,0,.04);
  --shadow-sm:  0 4px 12px rgba(18,61,43,.06);
  --shadow-md:  0 8px 24px rgba(18,61,43,.09);
  --shadow-lg:  0 16px 42px rgba(18,61,43,.12);
  --shadow-xl:  0 24px 56px rgba(18,61,43,.16);
  --shadow-gold: 0 8px 24px rgba(185,111,36,.22);

  /* Transitions */
  --ease-fast:    160ms ease;
  --ease-default: 220ms cubic-bezier(.4,0,.2,1);
  --ease-slow:    360ms cubic-bezier(.4,0,.2,1);

  /* Layout */
  --container-max: 1200px;
  --container-pad: clamp(16px, 5vw, 48px);
  --section-gap:   clamp(60px, 10vw, 100px);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & BASE (tambahan ke admin.css)
   -------------------------------------------------------------------------- */
.public-page *,
.public-page *::before,
.public-page *::after {
  box-sizing: border-box;
}

.public-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--neutral-800);
  background: #f9fafb;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* --------------------------------------------------------------------------
   3. CONTAINER / WRAPPER
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container-sm {
  max-width: 760px;
}

.container-lg {
  max-width: 1360px;
}

/* --------------------------------------------------------------------------
   4. PUBLIC HEADER / NAVBAR
   -------------------------------------------------------------------------- */
.pub-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--neutral-200);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.pub-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: 68px;
}

.pub-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.pub-logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(145deg, #1b6745, var(--brand-primary));
  color: #fff;
  font-weight: 850;
  font-size: 0.85rem;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 12px rgba(18,61,43,.18);
}

.pub-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.pub-logo-text strong {
  color: var(--brand-primary);
  font-size: 0.95rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.pub-logo-text small {
  color: var(--neutral-500);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

.pub-nav-links {
  display: none;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.pub-nav-links a {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--r-sm);
  color: var(--neutral-600);
  font-size: var(--text-sm);
  font-weight: 650;
  text-decoration: none;
  transition: color var(--ease-fast), background var(--ease-fast);
}

.pub-nav-links a:hover {
  color: var(--brand-primary);
  background: var(--brand-xlight);
}

.pub-nav-links a.active {
  color: var(--brand-primary);
  background: var(--brand-xlight);
  font-weight: 750;
}

.pub-nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.pub-nav-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--neutral-200);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--neutral-700);
  cursor: pointer;
  transition: background var(--ease-fast);
}

.pub-nav-toggle:hover {
  background: var(--neutral-100);
}

/* Mobile drawer */
.pub-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.pub-nav-drawer.open {
  display: block;
}

.pub-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}

.pub-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 90vw);
  background: #fff;
  padding: var(--space-6);
  overflow-y: auto;
  box-shadow: -4px 0 32px rgba(0,0,0,.12);
}

.pub-nav-panel nav a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--r-md);
  color: var(--neutral-700);
  font-size: var(--text-md);
  font-weight: 650;
  text-decoration: none;
  transition: background var(--ease-fast), color var(--ease-fast);
}

.pub-nav-panel nav a:hover {
  background: var(--brand-xlight);
  color: var(--brand-primary);
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 12vw, 100px) 0 clamp(50px, 10vw, 80px);
  background:
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(237,189,114,.13), transparent),
    radial-gradient(ellipse 50% 70% at 10% 80%, rgba(23,107,69,.08), transparent),
    linear-gradient(165deg, #f0f7f3 0%, #f9fafb 50%, #fff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18,61,43,.06), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: var(--brand-gold-soft);
  border: 1px solid rgba(185,111,36,.2);
  color: var(--brand-gold);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.hero-headline {
  font-size: var(--text-5xl);
  font-weight: 870;
  letter-spacing: -0.045em;
  line-height: 1.1;
  color: var(--brand-primary);
  margin-bottom: var(--space-5);
  max-width: 760px;
}

.hero-headline em {
  font-style: normal;
  color: var(--brand-gold);
  position: relative;
}

.hero-headline em::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-gold), transparent);
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--neutral-600);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: clamp(var(--space-8), 5vw, var(--space-10));
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: clamp(var(--space-10), 6vw, var(--space-12));
}

/* Hero search bar */
.hero-search {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--r-xl);
  padding: var(--space-3);
  box-shadow: var(--shadow-lg);
  max-width: 700px;
}

.hero-search-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
}

.hero-search-field {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border: 1px solid transparent;
  border-radius: var(--r-md);
  background: var(--neutral-50);
  transition: border-color var(--ease-fast), background var(--ease-fast);
}

.hero-search-field:focus-within {
  border-color: var(--brand-mid);
  background: #fff;
}

.hero-search-field svg {
  flex-shrink: 0;
  color: var(--neutral-400);
  width: 18px;
  height: 18px;
}

.hero-search-field input,
.hero-search-field select {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--neutral-800);
  font-size: var(--text-sm);
  font: inherit;
  outline: none;
  min-width: 0;
  padding: 6px 0;
}

.hero-search-field input::placeholder {
  color: var(--neutral-400);
}

.hero-search-btn {
  width: 100%;
}

/* Hero trust badges */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--neutral-600);
  font-size: var(--text-xs);
  font-weight: 650;
}

.hero-trust-item svg {
  color: var(--success);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   6. SECTION LAYOUTS
   -------------------------------------------------------------------------- */
.section {
  padding-block: var(--section-gap);
}

.section-sm {
  padding-block: calc(var(--section-gap) * .6);
}

.section-alt {
  background: #fff;
}

.section-dark {
  background: linear-gradient(165deg, var(--brand-primary) 0%, #0d2e1f 100%);
  color: #fff;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(var(--space-8), 5vw, var(--space-12));
}

.section-eyebrow {
  display: inline-block;
  color: var(--brand-gold);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.section-title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 820;
  letter-spacing: -0.04em;
  color: var(--brand-primary);
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.section-dark .section-title {
  color: #fff;
}

.section-desc {
  font-size: var(--text-md);
  color: var(--neutral-500);
  line-height: 1.65;
  margin-bottom: 0;
}

.section-dark .section-desc {
  color: rgba(255,255,255,.65);
}

/* --------------------------------------------------------------------------
   7. CATEGORY GRID
   -------------------------------------------------------------------------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-4);
  border: 1px solid var(--neutral-200);
  border-radius: var(--r-lg);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform var(--ease-default), box-shadow var(--ease-default), border-color var(--ease-fast);
  cursor: pointer;
}

.cat-card:hover {
  border-color: var(--brand-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: inherit;
}

.cat-icon-wrap {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--brand-xlight);
  color: var(--brand-mid);
  flex-shrink: 0;
}

.cat-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.cat-card h3 {
  font-size: var(--text-sm);
  font-weight: 760;
  color: var(--brand-primary);
  margin-bottom: 2px;
  line-height: 1.3;
}

.cat-card p {
  font-size: var(--text-xs);
  color: var(--neutral-500);
  line-height: 1.5;
  margin: 0;
}

.cat-card-arrow {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--brand-mid);
  font-size: var(--text-xs);
  font-weight: 750;
}

/* --------------------------------------------------------------------------
   8. WORKER CARDS
   -------------------------------------------------------------------------- */
.workers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.worker-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  border: 1px solid var(--neutral-200);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: transform var(--ease-default), box-shadow var(--ease-default), border-color var(--ease-fast);
  text-decoration: none;
  color: inherit;
}

.worker-card:hover {
  border-color: rgba(23,107,69,.25);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  color: inherit;
}

.worker-card-top {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.worker-avatar {
  position: relative;
  flex-shrink: 0;
}

.worker-avatar img,
.worker-avatar-initials {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.worker-avatar-initials {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1b6745, var(--brand-primary));
  color: #fff;
  font-size: 1.1rem;
  font-weight: 820;
}

.worker-verified-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--success);
  border: 2px solid #fff;
}

.worker-verified-badge svg {
  width: 10px;
  height: 10px;
  color: #fff;
}

.worker-card-info {
  flex: 1;
  min-width: 0;
}

.worker-card-name {
  font-size: var(--text-md);
  font-weight: 780;
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: 2px;
}

.worker-card-spec {
  font-size: var(--text-sm);
  color: var(--neutral-500);
  margin-bottom: var(--space-2);
}

.worker-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.worker-stars {
  display: flex;
  color: #f59e0b;
}

.worker-stars svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.worker-rating-score {
  font-size: var(--text-xs);
  font-weight: 760;
  color: var(--neutral-700);
}

.worker-rating-count {
  font-size: var(--text-xs);
  color: var(--neutral-400);
}

.worker-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.worker-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--neutral-500);
  font-size: var(--text-xs);
}

.worker-meta-item svg {
  width: 14px;
  height: 14px;
  color: var(--neutral-400);
  flex-shrink: 0;
}

.worker-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--neutral-100);
}

.worker-availability {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 700;
}

.availability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.availability-dot.available {
  background: var(--success);
  box-shadow: 0 0 0 3px var(--success-soft);
}

.availability-dot.busy {
  background: var(--warning);
  box-shadow: 0 0 0 3px var(--warning-soft);
}

.availability-dot.offline {
  background: var(--neutral-300);
}

/* --------------------------------------------------------------------------
   9. HOW IT WORKS
   -------------------------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  counter-reset: steps;
}

.step-card {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  border: 1px solid var(--neutral-200);
  border-radius: var(--r-xl);
  background: #fff;
  transition: transform var(--ease-default), box-shadow var(--ease-default);
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.step-num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 13px;
  background: linear-gradient(145deg, #1b6745, var(--brand-primary));
  color: #fff;
  font-size: var(--text-lg);
  font-weight: 870;
  letter-spacing: -0.03em;
  box-shadow: 0 6px 16px rgba(18,61,43,.2);
}

.step-body h3 {
  font-size: var(--text-md);
  font-weight: 760;
  color: var(--brand-primary);
  margin-bottom: var(--space-2);
}

.step-body p {
  font-size: var(--text-sm);
  color: var(--neutral-500);
  margin: 0;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. TRUST / FEATURES SECTION
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.feature-card {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--r-xl);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
}

.section-alt .feature-card {
  background: #fff;
  border-color: var(--neutral-200);
  box-shadow: var(--shadow-xs);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 13px;
  background: rgba(255,255,255,.1);
  color: var(--brand-gold-glow);
}

.section-alt .feature-icon {
  background: var(--brand-xlight);
  color: var(--brand-mid);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-body h3 {
  font-size: var(--text-md);
  font-weight: 760;
  color: #fff;
  margin-bottom: var(--space-2);
}

.section-alt .feature-body h3 {
  color: var(--brand-primary);
}

.feature-body p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.65);
  margin: 0;
  line-height: 1.6;
}

.section-alt .feature-body p {
  color: var(--neutral-500);
}

/* --------------------------------------------------------------------------
   11. TESTIMONIAL / REVIEW
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.testimonial-card {
  padding: var(--space-5);
  border: 1px solid var(--neutral-200);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.testimonial-stars {
  display: flex;
  color: #f59e0b;
  margin-bottom: var(--space-3);
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.testimonial-text {
  font-size: var(--text-md);
  color: var(--neutral-700);
  line-height: 1.65;
  margin-bottom: var(--space-4);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1b6745, var(--brand-primary));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 820;
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: var(--text-sm);
  font-weight: 750;
  color: var(--brand-primary);
}

.testimonial-location {
  font-size: var(--text-xs);
  color: var(--neutral-400);
}

/* --------------------------------------------------------------------------
   12. CTA BANNER
   -------------------------------------------------------------------------- */
.cta-banner {
  padding: clamp(var(--space-10), 8vw, var(--space-16));
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse 60% 60% at 85% 20%, rgba(237,189,114,.2), transparent),
    linear-gradient(145deg, #1b5c3e 0%, var(--brand-primary) 100%);
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-xl);
}

.cta-banner h2 {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 850;
  color: #fff;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-4);
}

.cta-banner p {
  font-size: var(--text-md);
  color: rgba(255,255,255,.75);
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: 1.65;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

/* --------------------------------------------------------------------------
   13. BUTTONS (public variants)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 760;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--ease-fast), box-shadow var(--ease-fast), background var(--ease-fast), border-color var(--ease-fast), color var(--ease-fast);
  white-space: nowrap;
}

.btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none !important;
}

.btn-xl {
  padding: 15px 30px;
  font-size: var(--text-md);
  border-radius: var(--r-lg);
}

.btn-sm {
  padding: 8px 16px;
  font-size: var(--text-xs);
  border-radius: var(--r-sm);
}

/* Green primary */
.btn-green {
  background: linear-gradient(145deg, #1b6745, var(--brand-primary));
  border-color: var(--brand-primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(18,61,43,.2);
}

.btn-green:hover {
  background: linear-gradient(145deg, #145535, #0c2c1d);
  box-shadow: 0 10px 24px rgba(18,61,43,.28);
  transform: translateY(-2px);
  color: #fff;
}

/* Gold accent */
.btn-gold {
  background: linear-gradient(145deg, #d4841f, var(--brand-gold));
  border-color: var(--brand-gold);
  color: #fff;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: linear-gradient(145deg, #c0751a, #9a571a);
  box-shadow: 0 10px 28px rgba(185,111,36,.32);
  transform: translateY(-2px);
  color: #fff;
}

/* Outline */
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.35);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.65);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-green {
  background: transparent;
  border-color: var(--brand-mid);
  color: var(--brand-mid);
}

.btn-outline-green:hover {
  background: var(--brand-xlight);
  color: var(--brand-primary);
  transform: translateY(-1px);
}

/* White (on dark bg) */
.btn-white {
  background: #fff;
  border-color: #fff;
  color: var(--brand-primary);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

.btn-white:hover {
  background: #f0f7f3;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  color: var(--brand-primary);
}

/* --------------------------------------------------------------------------
   14. BADGES & CHIPS
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 760;
  white-space: nowrap;
}

.badge-green   { background: var(--success-soft); color: var(--success); }
.badge-gold    { background: var(--brand-gold-soft); color: var(--brand-gold); }
.badge-gray    { background: var(--neutral-100); color: var(--neutral-600); }
.badge-red     { background: var(--error-soft); color: var(--error); }
.badge-blue    { background: var(--info-soft); color: var(--info); }
.badge-warning { background: var(--warning-soft); color: var(--warning); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--neutral-200);
  border-radius: var(--r-full);
  background: #fff;
  color: var(--neutral-600);
  font-size: var(--text-xs);
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--ease-fast), background var(--ease-fast), color var(--ease-fast);
}

.chip:hover,
.chip.active {
  border-color: var(--brand-mid);
  background: var(--brand-xlight);
  color: var(--brand-primary);
}

/* --------------------------------------------------------------------------
   15. STATS ROW
   -------------------------------------------------------------------------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  padding: var(--space-6) 0;
}

.stat-item {
  text-align: center;
  padding: var(--space-5);
  border-radius: var(--r-xl);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
}

.section-alt .stat-item {
  background: var(--brand-xlight);
  border-color: transparent;
}

.stat-num {
  display: block;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 870;
  letter-spacing: -0.045em;
  color: var(--brand-gold-glow);
  line-height: 1.1;
}

.section-alt .stat-num {
  color: var(--brand-primary);
}

.stat-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  color: rgba(255,255,255,.65);
  margin-top: var(--space-1);
}

.section-alt .stat-label {
  color: var(--neutral-500);
}

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
.pub-footer {
  background: var(--brand-primary);
  color: rgba(255,255,255,.75);
  padding: clamp(var(--space-10), 8vw, var(--space-16)) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

.footer-brand-col {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-weight: 850;
  font-size: 0.85rem;
}

.footer-logo-name {
  color: #fff;
  font-weight: 850;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.footer-desc {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: rgba(255,255,255,.6);
  margin-bottom: var(--space-5);
}

.footer-col-title {
  display: block;
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  color: rgba(255,255,255,.65);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color var(--ease-fast);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: var(--space-5) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
  text-align: center;
  font-size: var(--text-xs);
  color: rgba(255,255,255,.45);
}

/* --------------------------------------------------------------------------
   17. AUTH PAGES (login, register, OTP)
   -------------------------------------------------------------------------- */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  background:
    radial-gradient(ellipse 60% 60% at 90% 10%, rgba(237,189,114,.1), transparent),
    linear-gradient(165deg, #f0f7f3 0%, #f9fafb 100%);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.auth-card-header {
  padding: var(--space-6) var(--space-6) var(--space-4);
  text-align: center;
  border-bottom: 1px solid var(--neutral-100);
}

.auth-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  text-decoration: none;
}

.auth-logo-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(145deg, #1b6745, var(--brand-primary));
  color: #fff;
  font-weight: 870;
  font-size: 0.95rem;
  box-shadow: 0 6px 18px rgba(18,61,43,.2);
}

.auth-title {
  font-size: var(--text-xl);
  font-weight: 820;
  color: var(--brand-primary);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-2);
}

.auth-subtitle {
  font-size: var(--text-sm);
  color: var(--neutral-500);
  margin: 0;
}

.auth-card-body {
  padding: var(--space-6);
}

.auth-footer-links {
  padding: var(--space-4) var(--space-6) var(--space-6);
  text-align: center;
  font-size: var(--text-sm);
  color: var(--neutral-500);
  border-top: 1px solid var(--neutral-100);
}

.auth-footer-links a {
  color: var(--brand-mid);
  font-weight: 700;
}

/* OTP input */
.otp-inputs {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  margin: var(--space-5) 0;
}

.otp-input {
  width: 52px;
  height: 60px;
  border: 2px solid var(--neutral-200);
  border-radius: var(--r-md);
  background: var(--neutral-50);
  color: var(--brand-primary);
  font-size: var(--text-2xl);
  font-weight: 820;
  text-align: center;
  transition: border-color var(--ease-fast), box-shadow var(--ease-fast);
  outline: none;
}

.otp-input:focus {
  border-color: var(--brand-mid);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(23,107,69,.12);
}

.otp-input.filled {
  border-color: var(--brand-mid);
  background: var(--brand-xlight);
}

/* --------------------------------------------------------------------------
   18. WORKER PUBLIC PROFILE
   -------------------------------------------------------------------------- */
.worker-profile-hero {
  background:
    radial-gradient(ellipse 50% 70% at 90% 0%, rgba(237,189,114,.1), transparent),
    linear-gradient(165deg, #f0f7f3 0%, #fff 100%);
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--neutral-200);
}

.worker-profile-top {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.worker-profile-avatar {
  position: relative;
  width: 96px;
  height: 96px;
  flex-shrink: 0;
}

.worker-profile-avatar img,
.worker-profile-initials {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: var(--shadow-md);
}

.worker-profile-initials {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1b6745, var(--brand-primary));
  color: #fff;
  font-size: var(--text-3xl);
  font-weight: 850;
}

.worker-profile-vbadge {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: var(--r-full);
  background: var(--success);
  border: 2px solid #fff;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
}

.worker-profile-vbadge svg {
  width: 10px;
  height: 10px;
}

.worker-profile-name {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
  font-weight: 850;
  color: var(--brand-primary);
  letter-spacing: -0.04em;
  margin-bottom: var(--space-2);
}

.worker-profile-skills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.portfolio-item {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--neutral-100);
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ease-slow);
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   19. TOAST / ALERT
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: calc(var(--space-5) + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: var(--space-2);
  pointer-events: none;
  width: min(calc(100vw - 32px), 480px);
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 14px 18px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-xl);
  pointer-events: all;
  animation: toast-in 240ms cubic-bezier(.4,0,.2,1);
  min-width: 260px;
  max-width: 100%;
}

.toast.success { border-left: 4px solid var(--success); }
.toast.error   { border-left: 4px solid var(--error); }
.toast.warning { border-left: 4px solid var(--warning); }
.toast.info    { border-left: 4px solid var(--info); }

.toast-icon { flex-shrink: 0; }
.toast-icon.success { color: var(--success); }
.toast-icon.error   { color: var(--error); }
.toast-icon.warning { color: var(--warning); }

.toast-msg {
  flex: 1;
  font-size: var(--text-sm);
  font-weight: 650;
  color: var(--neutral-800);
  line-height: 1.4;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(16px) scale(.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* --------------------------------------------------------------------------
   20. SKELETON LOADING
   -------------------------------------------------------------------------- */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--neutral-200) 25%, var(--neutral-100) 50%, var(--neutral-200) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: var(--r-sm);
}

.skeleton-text   { height: 14px; }
.skeleton-title  { height: 22px; width: 60%; }
.skeleton-avatar { border-radius: 50%; }
.skeleton-card {
  height: 180px;
  border-radius: var(--r-xl);
}

/* --------------------------------------------------------------------------
   21. EMPTY STATE
   -------------------------------------------------------------------------- */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-12) var(--space-6);
  text-align: center;
}

.empty-state-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--brand-xlight);
  color: var(--brand-mid);
}

.empty-state-icon svg {
  width: 32px;
  height: 32px;
}

.empty-state h3 {
  font-size: var(--text-lg);
  font-weight: 760;
  color: var(--brand-primary);
  margin-bottom: var(--space-2);
}

.empty-state p {
  font-size: var(--text-sm);
  color: var(--neutral-500);
  max-width: 320px;
  margin: 0;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   22. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */

/* Tablet (640px+) */
@media (min-width: 640px) {
  .cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .workers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-search-fields {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .worker-profile-top {
    flex-direction: row;
    align-items: center;
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .pub-nav-links {
    display: flex;
  }

  .pub-nav-toggle {
    display: none;
  }

  .cat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .workers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .hero-search-fields {
    grid-template-columns: 2fr 1.5fr auto;
    align-items: stretch;
  }

  .hero-search {
    flex-direction: row;
    align-items: center;
    padding: var(--space-2) var(--space-2) var(--space-2) var(--space-4);
  }

  .hero-search-fields {
    flex: 1;
    gap: 0;
  }

  .hero-search-field {
    border-radius: 0;
    border-left: 1px solid var(--neutral-200);
    background: transparent;
  }

  .hero-search-field:first-child {
    border-left: 0;
    border-radius: var(--r-md) 0 0 var(--r-md);
  }

  .hero-search-btn {
    width: auto;
    flex-shrink: 0;
  }
}

/* Large desktop (1280px+) */
@media (min-width: 1280px) {
  .cat-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .workers-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   23. UTILITY CLASSES
   -------------------------------------------------------------------------- */
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }
.flex         { display: flex; }
.flex-col     { flex-direction: column; }
.flex-wrap    { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-2  { gap: var(--space-2); }
.gap-3  { gap: var(--space-3); }
.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }
.w-full { width: 100%; }
.mt-2   { margin-top: var(--space-2); }
.mt-4   { margin-top: var(--space-4); }
.mt-6   { margin-top: var(--space-6); }
.mb-4   { margin-bottom: var(--space-4); }
.mb-6   { margin-bottom: var(--space-6); }
.mb-8   { margin-bottom: var(--space-8); }
.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}


/* ==========================================================================
   24. ACTUAL PUBLIC SHELL & LANDING CLASSES (View::publicPage & PublicController)
   ========================================================================== */
.public-body {
  background: var(--cream, #f5f7fa);
  color: var(--ink, #16271f);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.public-main {
  flex: 1 0 auto;
}

.site-container {
  width: 100%;
  max-width: var(--container-max, 1200px);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 36px);
}

/* Announcement bar */
.announcement-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 9px 16px;
  background: linear-gradient(90deg, var(--forest-deep, #0b2b1e), var(--forest, #123d2b));
  color: #f3f7f4;
  font-size: 0.78rem;
  text-align: center;
}

.announcement-bar a {
  color: var(--brand-gold-glow, #edbd72);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line, #dce5df);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-brand > span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.site-brand b {
  color: var(--forest, #123d2b);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.site-brand small {
  color: var(--muted, #5d7066);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--ink, #16271f);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--ease-fast);
}

.site-nav a:hover {
  color: var(--green, #176b45);
}

.site-actions {
  display: none;
  align-items: center;
  gap: 8px;
}

.site-menu-toggle {
  display: inline-grid;
  place-items: center;
}

.site-mobile-menu {
  display: grid;
  gap: 8px;
  padding: 14px clamp(16px, 4vw, 36px) 18px;
  background: var(--surface, #ffffff);
  border-top: 1px solid var(--line, #dce5df);
  box-shadow: var(--shadow-md);
}

.site-mobile-menu[hidden] {
  display: none;
}

.site-mobile-menu a:not(.btn-primary):not(.btn-secondary) {
  padding: 9px 4px;
  color: var(--ink, #16271f);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--neutral-100, #f3f4f6);
}

.site-mobile-menu hr {
  border: 0;
  border-top: 1px solid var(--line, #dce5df);
  margin: 4px 0;
}

.w-100 {
  width: 100%;
  justify-content: center;
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
  }

  .site-actions {
    display: flex;
  }

  .site-menu-toggle,
  .site-mobile-menu {
    display: none !important;
  }
}

/* Public Hero */
.public-hero {
  position: relative;
  padding: clamp(32px, 6vw, 64px) 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(23, 107, 69, 0.10), transparent 34rem),
    radial-gradient(circle at 10% 80%, rgba(185, 111, 36, 0.08), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, var(--cream, #f5f7fa) 100%);
  border-bottom: 1px solid var(--line, #dce5df);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.hero-copy h1 {
  margin: 8px 0 14px;
  color: var(--forest, #123d2b);
  font-size: clamp(1.8rem, 4.4vw, 2.85rem);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.hero-lead {
  max-width: 58ch;
  color: var(--muted, #51635a);
  font-size: clamp(0.92rem, 1.8vw, 1.04rem);
  line-height: 1.65;
  margin-bottom: 22px;
}

.hero-search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 10px;
  background: var(--surface, #ffffff);
  border: 1px solid var(--line, #dce5df);
  border-radius: var(--r-md, 14px);
  box-shadow: var(--shadow-md);
}

.hero-search-bar .search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  min-height: 44px;
  background: var(--neutral-50, #f9fafb);
  border: 1px solid var(--neutral-200, #e5e7eb);
  border-radius: var(--r-sm, 10px);
}

.hero-search-bar .search-field svg {
  width: 18px;
  height: 18px;
  color: var(--muted, #5d7066);
  flex-shrink: 0;
}

.hero-search-bar input,
.hero-search-bar select {
  width: 100%;
  min-height: 42px;
  border: 0;
  background: transparent;
  color: var(--ink, #16271f);
  font-size: 0.86rem;
  outline: none;
}

.hero-search-bar select {
  padding: 0 10px;
  background: var(--neutral-50, #f9fafb);
  border: 1px solid var(--neutral-200, #e5e7eb);
  border-radius: var(--r-sm, 10px);
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.72fr);
  }

  .hero-search-bar {
    grid-template-columns: minmax(0, 1.4fr) minmax(140px, 0.9fr) minmax(130px, 0.9fr) auto;
    align-items: center;
  }
}

/* Public Sections */
.site-section {
  padding: clamp(36px, 6vw, 64px) 0;
}

.site-section.section-soft {
  background: var(--surface, #ffffff);
  border-top: 1px solid var(--line, #dce5df);
  border-bottom: 1px solid var(--line, #dce5df);
}

.site-section .section-heading a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green, #176b45);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.site-section .section-heading a:hover {
  text-decoration: underline;
}

/* Banners & Promos */
.banner-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.promo-banner {
  display: grid;
  overflow: hidden;
  border-radius: var(--r-md, 14px);
  border: 1px solid var(--line, #dce5df);
  background: var(--surface, #ffffff);
  box-shadow: var(--shadow-sm);
}

.promo-banner img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.promo-banner-body {
  padding: 18px;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.promo-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: var(--r-md, 14px);
  border: 1px solid var(--line, #dce5df);
  background: var(--surface, #ffffff);
  box-shadow: var(--shadow-xs);
  transition: transform var(--ease-fast), box-shadow var(--ease-fast);
}

.promo-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.promo-code-box {
  margin-top: auto;
  padding: 8px 12px;
  border-radius: var(--r-xs, 6px);
  background: var(--brand-xlight, #eef3ef);
  border: 1px dashed var(--green, #176b45);
  text-align: center;
}

.promo-code-box code {
  color: var(--forest, #123d2b);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

/* Category & Worker card enhancements */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 14px;
}

.category-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  background: var(--surface, #ffffff);
  border: 1px solid var(--line, #dce5df);
  border-radius: var(--r-md, 14px);
  text-decoration: none;
  color: var(--ink, #16271f);
  box-shadow: var(--shadow-xs);
  transition: transform var(--ease-fast), box-shadow var(--ease-fast), border-color var(--ease-fast);
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: var(--green, #176b45);
  box-shadow: var(--shadow-md);
}

.category-card .cat-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--brand-xlight, #eef3ef);
  color: var(--green, #176b45);
}

.category-card strong {
  font-size: 0.92rem;
  color: var(--forest, #123d2b);
}

.category-card small {
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--muted, #5d7066);
}

.worker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}

.worker-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: var(--surface, #ffffff);
  border: 1px solid var(--line, #dce5df);
  border-radius: var(--r-md, 14px);
  box-shadow: var(--shadow-xs);
  transition: transform var(--ease-fast), box-shadow var(--ease-fast);
}

.worker-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.worker-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.worker-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.worker-badges .verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--r-full, 9999px);
  background: var(--brand-xlight, #eef3ef);
  color: var(--forest, #123d2b);
  font-size: 0.7rem;
  font-weight: 700;
}

.worker-card h3 {
  margin: 2px 0 0;
  font-size: 1.02rem;
  color: var(--forest, #123d2b);
}

.worker-specialty {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green, #176b45);
}

.worker-bio {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted, #5d7066);
}

.worker-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.76rem;
  color: var(--muted, #5d7066);
}

.worker-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.worker-card-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--neutral-100, #f3f4f6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--forest, #123d2b);
}

/* Trust & Steps Grids */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.trust-card {
  padding: 20px;
  background: var(--surface, #ffffff);
  border: 1px solid var(--line, #dce5df);
  border-radius: var(--r-md, 14px);
  box-shadow: var(--shadow-xs);
}

.trust-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 11px;
  background: var(--brand-xlight, #eef3ef);
  color: var(--green, #176b45);
}

.trust-card h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  color: var(--forest, #123d2b);
}

.trust-card p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted, #5d7066);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 14px;
}

.step-card {
  padding: 18px;
  background: var(--cream, #f5f7fa);
  border: 1px solid var(--line, #dce5df);
  border-radius: var(--r-md, 14px);
}

.step-card > b {
  display: inline-block;
  padding: 3px 9px;
  border-radius: var(--r-full, 9999px);
  background: var(--brand-gold-soft, #fff4e3);
  color: var(--brand-gold, #b96f24);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.step-card h3 {
  margin: 10px 0 6px;
  font-size: 0.92rem;
  color: var(--forest, #123d2b);
}

.step-card p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--muted, #5d7066);
}

/* CTA Banner */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--r-lg, 20px);
  background:
    radial-gradient(circle at 90% 10%, rgba(237, 189, 114, 0.2), transparent 18rem),
    linear-gradient(135deg, var(--forest, #123d2b), var(--forest-deep, #0b2b1e));
  color: #e6f0ea;
  box-shadow: var(--shadow-lg);
}

.cta-banner .eyebrow {
  color: var(--brand-gold-glow, #edbd72);
}

.cta-banner h2 {
  margin: 6px 0 8px;
  color: #ffffff;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.cta-banner p {
  margin: 0;
  max-width: 56ch;
  color: #cde0d5;
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Site Footer */
.site-footer {
  margin-top: auto;
  background: var(--forest-deep, #0b2b1e);
  color: #c7dcd0;
  padding: clamp(36px, 5vw, 56px) 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  }
}

.footer-brand .site-brand b {
  color: #ffffff;
}

.footer-brand .site-brand small {
  color: #9ec0ae;
}

.footer-brand > p {
  margin: 12px 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #b7d2c3;
}

.footer-contacts {
  display: grid;
  gap: 6px;
  font-size: 0.78rem;
}

.footer-contacts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h3 {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 0.88rem;
}

.footer-col a {
  color: #b7d2c3;
  font-size: 0.8rem;
  text-decoration: none;
  transition: color var(--ease-fast);
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  font-size: 0.75rem;
  color: #9ec0ae;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-socials a {
  color: #d6e8de;
  text-decoration: none;
}

.footer-socials a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Pagination & Empty state */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 24px;
}

.empty-state {
  text-align: center;
  padding: clamp(28px, 5vw, 48px) 20px;
}

.empty-state .hero-actions {
  justify-content: center;
}

.check-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink, #16271f);
  cursor: pointer;
}
