/* ---------- Tokens ---------- */
:root {
  --bg: #f7f3ea;
  --surface: #fffdf8;
  --ink: #1d2a23;
  --muted: #5d6a62;
  --line: #e4ddcd;
  --green: #2f5d46;
  --green-soft: #dfe9df;
  --apricot: #d9783f;
  --apricot-soft: #fbe6d6;
  --shadow: 0 10px 30px -18px rgba(29, 42, 35, 0.35);
  --radius: 22px;
  --gutter: 20px;
  --max: 1080px;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121a16;
    --surface: #19241e;
    --ink: #eef1ea;
    --muted: #a3b0a7;
    --line: #2a3a31;
    --green: #8fc2a1;
    --green-soft: #213428;
    --apricot: #f0a070;
    --apricot-soft: #3a2a20;
    --shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Soft decorative glows behind the hero */
body::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 720px;
  background:
    radial-gradient(420px 320px at 85% 8%, var(--apricot-soft), transparent 70%),
    radial-gradient(520px 380px at 0% 30%, var(--green-soft), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.08rem;
  font-weight: 600;
}

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px var(--gutter);
  padding-top: max(12px, env(safe-area-inset-top));
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.topbar.scrolled {
  border-bottom-color: var(--line);
}

.brand {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  margin-right: auto;
  padding: 8px 0;
}

.brand span {
  color: var(--green);
}

.nav {
  display: none;
  gap: 24px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--green);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s;
  box-shadow: var(--shadow);
}

.btn:active {
  transform: scale(0.97);
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
  box-shadow: none;
}

.btn-small {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.95rem;
}

/* ---------- Layout ---------- */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 56px 0 8px;
}

.section h2 {
  font-size: clamp(1.7rem, 6vw, 2.5rem);
  margin-bottom: 24px;
}

.section-tag,
.eyebrow {
  margin: 0 0 10px;
  color: var(--apricot);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  gap: 28px;
  padding: 28px 0 40px;
  text-align: center;
  justify-items: center;
}

.hero-photo {
  position: relative;
  width: min(180px, 50vw);
}

.hero-photo img {
  border-radius: 50%;
  box-shadow:
    0 0 0 8px var(--surface),
    0 0 0 9px var(--line),
    var(--shadow);
}

.badge-licensed {
  position: absolute;
  bottom: 6px;
  left: 50%;
  translate: -50% 0;
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(2rem, 8.5vw, 3.4rem);
  margin-bottom: 16px;
}

.hero h1 em {
  font-style: italic;
  color: var(--green);
}

.lead {
  margin: 0 auto 24px;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-row {
  display: grid;
  gap: 12px;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3fb26b;
  box-shadow: 0 0 0 4px color-mix(in srgb, #3fb26b 25%, transparent);
}

/* ---------- Trust strip ---------- */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat {
  padding: 18px 16px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--green);
}

.stat span {
  display: block;
  margin-top: 4px;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--muted);
}

/* ---------- Approach ---------- */
.intro {
  margin: 0 0 24px;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.principles {
  display: grid;
  gap: 12px;
}

.principle {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.num {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--apricot);
}

.principle p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Service + background cards ---------- */
.cards {
  display: grid;
  gap: 12px;
}

.card {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--green-soft);
  font-size: 1.4rem;
}

.card:nth-child(even) .card-icon {
  background: var(--apricot-soft);
}

.card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.87rem;
}

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 20px 20px 20px 72px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: var(--bg);
  font-weight: 600;
}

.steps p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  flex: none;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--green);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Contact ---------- */
.contact {
  margin: 56px 0 0;
  padding: 36px 22px;
  border-radius: calc(var(--radius) + 6px);
  background: var(--green);
  color: var(--bg);
  text-align: center;
}

.contact h2 {
  margin-bottom: 10px;
}

.contact > p {
  margin: 0 auto 24px;
  max-width: 30rem;
  opacity: 0.85;
}

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-links a {
  display: flex;
  flex-direction: column;
  min-height: 60px;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--bg) 22%, transparent);
  text-decoration: none;
  font-weight: 600;
  word-break: break-word;
  transition: background 0.15s;
}

.contact-links a:hover {
  background: color-mix(in srgb, var(--bg) 20%, transparent);
}

.contact-links small {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
}

.footer {
  padding: 32px var(--gutter) max(32px, env(safe-area-inset-bottom));
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Wider screens ---------- */
@media (min-width: 640px) {
  :root {
    --gutter: 32px;
  }

  .cta-row {
    grid-auto-flow: column;
    justify-content: center;
  }

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

  .cards,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .contact-links {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact {
    padding: 56px 40px;
  }
}

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

  .hero {
    grid-template-columns: 300px 1fr;
    gap: 64px;
    padding: 72px 0 64px;
    text-align: left;
    justify-items: start;
    align-items: center;
  }

  .hero-photo {
    width: 300px;
    justify-self: center;
  }

  .lead {
    margin-left: 0;
  }

  .cta-row {
    justify-content: start;
  }

  .section {
    padding-top: 88px;
  }

  .principles,
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .steps li {
    padding: 72px 20px 22px;
  }

  .faq {
    max-width: 760px;
  }
}
