:root {
  /* Palette adapted from the Wooflahoma Walks design language */
  --sage-50: #f6f7f6;
  --sage-100: #e3e8e3;
  --sage-200: #c7d1c7;
  --sage-300: #a3b3a3;
  --sage-400: #7d917d;
  --sage-500: #627862;
  --sage-600: #4d5f4d;
  --sage-700: #404f40;
  --sage-800: #364136;
  --sage-900: #2f382f;

  --brown-50: #faf8f5;
  --brown-100: #f0ebe1;
  --brown-200: #e1d5c2;
  --brown-300: #ceb89d;
  --brown-400: #bc9a76;
  --brown-500: #a67c52;
  --brown-600: #8b6642;
  --brown-700: #6f5237;
  --brown-800: #5a4430;

  --sunny-300: #fde047;
  --sunny-400: #facc15;
  --sunny-500: #eab308;

  --sky-300: #7dd3fc;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;

  --radius: 20px;
  --shadow-sm: 0 2px 10px rgba(54, 65, 54, 0.08);
  --shadow-md: 0 10px 28px rgba(54, 65, 54, 0.12);

  --font-body: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Fredoka", var(--font-body);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  color: var(--brown-800);
  background: linear-gradient(160deg, var(--sage-50), var(--brown-50));
  line-height: 1.6;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--sage-800);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p { color: var(--sage-700); margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
.accent { color: var(--sunny-500); }

/* Dev banner */
.dev-banner {
  background: var(--sage-800);
  color: var(--sunny-300);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--sunny-400);
  color: var(--brown-800);
}
.btn-primary:hover { background: var(--sunny-300); transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--sage-700); }
.btn-ghost:hover { background: var(--sage-100); }

.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage-400), var(--sage-600));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--sage-800); }

.main-nav { display: flex; gap: 28px; flex: 1; justify-content: center; }
.main-nav a { font-weight: 600; color: var(--sage-700); }
.main-nav a:hover { color: var(--sage-500); }

.header-actions { display: flex; gap: 12px; }

/* Hero */
.hero { padding: 72px 0; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }

.hero-copy h1 { font-size: clamp(2.1rem, 4vw, 3rem); }
.hero-copy p { font-size: 1.1rem; max-width: 480px; }

.hero-subtext { font-size: 0.9rem; margin-top: 12px; }
.hero-subtext a { color: var(--brown-600); font-weight: 700; }

.search-bar {
  display: flex;
  gap: 8px;
  background: #fff;
  padding: 8px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  max-width: 480px;
}
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 18px;
  font: inherit;
  border-radius: 999px;
  background: transparent;
  color: var(--sage-800);
}

.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.trust-badge {
  background: var(--sage-100);
  color: var(--sage-700);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}

.hero-art { display: flex; justify-content: center; }
.hero-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 320px;
  position: relative;
}
.hero-card-avatar {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--sunny-300);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.hero-card-body { display: flex; flex-direction: column; gap: 2px; }
.hero-card-body strong { color: var(--sage-800); }
.hero-card-body span { font-size: 0.82rem; color: var(--sage-600); }
.status-pill {
  position: absolute; top: -10px; right: 16px;
  background: var(--sky-500);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
}

/* Section headers */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p { font-size: 1.05rem; }

/* Services */
.services { padding: 64px 0; background: #fff; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid--3col { grid-template-columns: repeat(3, 1fr); }

.service-card {
  border-radius: var(--radius);
  padding: 28px;
  border: 2px solid transparent;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.service-card--sunny { background: linear-gradient(160deg, #fffdf5, #fff7d6); border-color: #fde68a; }
.service-card--sky { background: linear-gradient(160deg, #f4fbff, #e0f4fe); border-color: #bae6fd; }
.service-card--sage { background: linear-gradient(160deg, var(--sage-50), var(--sage-100)); border-color: var(--sage-200); }

.service-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-sm);
}

.service-card h3 { font-size: 1.2rem; }
.service-card p { font-size: 0.92rem; }
.rate-note {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sage-500);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* How it works */
.how-it-works { padding: 64px 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { text-align: center; position: relative; }

.step-icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 14px;
  box-shadow: var(--shadow-md);
}
.step-icon--sunny { background: linear-gradient(135deg, var(--sunny-300), var(--sunny-500)); }
.step-icon--sky { background: linear-gradient(135deg, var(--sky-300), var(--sky-500)); }
.step-icon--sage { background: linear-gradient(135deg, var(--sage-400), var(--sage-600)); }

.step-num {
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: 22px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sage-800);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
}

.steps h3 { font-size: 1.1rem; }
.steps p { font-size: 0.92rem; }

/* Why us */
.why-us { padding: 64px 0; background: #fff; }
.benefit-card {
  background: var(--sage-50);
  border-radius: var(--radius);
  padding: 26px;
  text-align: left;
}
.benefit-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.benefit-icon--sunny { background: linear-gradient(135deg, var(--sunny-300), var(--sunny-500)); }
.benefit-icon--sky { background: linear-gradient(135deg, var(--sky-300), var(--sky-500)); }
.benefit-icon--sage { background: linear-gradient(135deg, var(--sage-400), var(--sage-600)); }
.benefit-icon--brown { background: linear-gradient(135deg, var(--brown-400), var(--brown-600)); }
.benefit-card h3 { font-size: 1.05rem; }
.benefit-card p { font-size: 0.92rem; margin: 0; }

/* CTA band */
.cta-band { background: var(--sage-800); padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: 1.6rem; margin-bottom: 6px; }
.cta-inner p { color: var(--sage-200); margin: 0; }

/* Footer */
.site-footer { padding: 40px 0 24px; }
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--sage-200);
}
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand strong { font-family: var(--font-display); color: var(--sage-800); font-size: 1.05rem; }
.footer-brand p { margin: 0; font-size: 0.85rem; color: var(--sage-600); }
.footer-inner nav { display: flex; gap: 20px; }
.footer-inner nav a { font-size: 0.9rem; font-weight: 600; color: var(--sage-700); }

.footer-bottom { padding-top: 18px; text-align: center; font-size: 0.85rem; color: var(--sage-500); }

/* Auth pages (login / signup / dashboard) */
.auth-page {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.auth-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 40px;
  width: 100%;
  max-width: 460px;
}

.auth-card h1 { font-size: 1.6rem; text-align: center; margin-bottom: 6px; }
.auth-subtitle { text-align: center; font-size: 0.9rem; color: var(--sage-600); margin-bottom: 26px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; font-size: 0.85rem; color: var(--sage-700); margin-bottom: 6px; }
.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--sage-200);
  border-radius: 12px;
  font: inherit;
  color: var(--brown-800);
  background: #fff;
}
.form-group input:focus,
.form-group select:focus { outline: none; border-color: var(--sunny-400); }
.form-hint { font-size: 0.78rem; color: var(--sage-500); margin-top: 4px; }

.role-options { display: flex; gap: 10px; }
.role-option {
  flex: 1;
  border: 2px solid var(--sage-200);
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--sage-700);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.role-option input { display: none; }
.role-option:has(input:checked) { border-color: var(--sunny-500); background: #fffbeb; color: var(--brown-800); }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--sage-700);
  margin-bottom: 22px;
}
.checkbox-row input { margin-top: 3px; }
.checkbox-row a { color: var(--brown-600); font-weight: 700; }

.form-error {
  background: #fee2e2;
  color: #991b1b;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 18px;
  display: none;
}
.form-error.visible { display: block; }

.form-notice {
  background: var(--sage-100);
  color: var(--sage-700);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 18px;
  display: none;
}
.form-notice.visible { display: block; }

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: var(--sage-400);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--sage-200); }

.btn-google { background: #fff; border: 2px solid var(--sage-200); color: var(--sage-800); }
.btn-google:hover { background: var(--sage-50); }
.btn-block { width: 100%; }

.auth-footer-link { text-align: center; margin-top: 22px; font-size: 0.9rem; color: var(--sage-600); }
.auth-footer-link a { color: var(--brown-600); font-weight: 700; }

.status-badge {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
}
.status-badge--pending { background: #fef3c7; color: #92400e; }
.status-badge--approved { background: #dcfce7; color: #166534; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .card-grid, .card-grid--3col { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .main-nav { display: none; }
}

@media (max-width: 560px) {
  .card-grid, .card-grid--3col { grid-template-columns: 1fr; }
  .search-bar { flex-direction: column; border-radius: 22px; }
  .header-actions .btn-ghost { display: none; }
  .cta-inner { text-align: center; justify-content: center; }
}
