/* Eden Grounds — eco, low-noise gardening
   Palette: forest #1E3A2F, sage #4A7C59, moss #6B9B6E, cream #F4F1E8, bark #2C241B */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap");

.addr-wrap { position: relative; }
.addr-suggest {
  list-style: none;
  margin: 4px 0 0;
  padding: 6px 0;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 10px;
  box-shadow: var(--shadow);
  max-height: 240px;
  overflow-y: auto;
}
.addr-suggest li {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.92rem;
  line-height: 1.35;
}
.addr-suggest li:hover,
.addr-suggest li.active {
  background: var(--cream);
}
.addr-suggest .muted { display: block; font-size: 0.8rem; }

:root {
  --forest: #1e3a2f;
  --sage: #4a7c59;
  --moss: #6b9b6e;
  --leaf: #c5d9b8;
  --cream: #f4f1e8;
  --sand: #e8e2d4;
  --bark: #2c241b;
  --ink: #1a1a16;
  --white: #fffcf6;
  --header-h: 92px;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(30, 58, 47, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 241, 232, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30, 58, 47, 0.1);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
  padding: 8px 0;
}

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

.logo img {
  height: 64px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

.logo-text {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--forest);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.logo-text span {
  display: block;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 4px;
  list-style: none;
}

.main-nav a {
  display: inline-block;
  padding: 8px 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--forest);
  border-radius: 999px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: var(--leaf);
  color: var(--forest);
}

/* Compact sign-in form — header right */
.signin {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.signin input {
  width: 132px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(30, 58, 47, 0.22);
  border-radius: 8px;
  background: var(--white);
  font: inherit;
  font-size: 0.82rem;
  color: var(--ink);
}

.signin input:focus {
  outline: 2px solid var(--sage);
  outline-offset: 1px;
}

.signin button {
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--forest);
  color: var(--cream);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.signin button:hover {
  background: var(--sage);
}

/* ---------- CTA: image + text block ---------- */
.cta {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 520px;
  background: var(--forest);
}

.cta-image {
  min-height: 420px;
  background: #1e3a2f center / cover no-repeat;
}

.cta-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 56px 48px;
  color: var(--cream);
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--leaf);
}

.cta-copy h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--white);
}

.cta-copy p {
  font-size: 1.05rem;
  max-width: 38ch;
  color: rgba(244, 241, 232, 0.88);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--leaf);
  color: var(--forest);
}

.btn-primary:hover {
  background: var(--cream);
}

.btn-ghost {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--sage);
}

.btn-ghost:hover {
  background: var(--leaf);
}

/* ---------- Sections ---------- */
.section {
  padding: 72px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 36px;
}

.section-head h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--forest);
  line-height: 1.15;
}

.section-head p {
  margin-top: 8px;
  color: #4a5348;
}

.intro {
  background: var(--sand);
}

.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}

.point {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.point h3 {
  font-size: 1.05rem;
  color: var(--forest);
  margin-bottom: 6px;
}

.point p {
  font-size: 0.95rem;
  color: #4a5348;
}

/* Service cards */
.service {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.service + .service {
  border-top: 1px solid rgba(30, 58, 47, 0.08);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.service:nth-child(even) .service-grid {
  direction: rtl;
}

.service:nth-child(even) .service-grid > * {
  direction: ltr;
}

.service img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 18px;
}

.service h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: var(--forest);
  margin-bottom: 10px;
}

.service p {
  color: #3f473d;
  margin-bottom: 16px;
}

.tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--leaf);
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Mission */
.mission {
  background: var(--cream);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}
.mission .section-head { max-width: 42rem; }
.mission .eyebrow { color: var(--sage); margin-bottom: 8px; }
.mission h2 { color: var(--forest); }

/* Quote strip */
.quote {
  background: var(--forest);
  color: var(--cream);
  text-align: center;
}

.quote h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.quote p {
  margin-bottom: 22px;
  color: rgba(244, 241, 232, 0.85);
}

.quote .btn-primary {
  margin-inline: auto;
}

/* Footer */
.site-footer {
  padding: 28px 0;
  background: #15261f;
  color: rgba(244, 241, 232, 0.75);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--leaf);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo signin"
      "nav nav";
  }

  .logo {
    grid-area: logo;
  }

  .signin {
    grid-area: signin;
  }

  .main-nav {
    grid-area: nav;
  }

  .cta {
    grid-template-columns: 1fr;
  }

  .cta-image {
    min-height: 280px;
  }

  .cta-copy {
    padding: 36px 24px 48px;
  }

  .points,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service:nth-child(even) .service-grid {
    direction: ltr;
  }

  .service img {
    height: 240px;
  }
}

.signin-on { gap: 10px; }

.signed-as {
  font-size: 0.82rem;
  color: var(--forest);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sage);
}

.book-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.cal-nav h3 {
  font-family: "Cormorant Garamond", serif;
  color: var(--forest);
  font-size: 1.4rem;
}

.cal-weekdays,
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-weekdays span {
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  color: var(--sage);
}

.flash {
  width: min(1160px, calc(100% - 40px));
  margin: 12px auto 0;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
}
.flash.ok { background: var(--leaf); color: var(--forest); }
.flash.err { background: #f3d0d0; color: #8a2a2a; }

.cal-day {
  min-height: 54px;
  border: 1px solid rgba(30, 58, 47, 0.12);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  font: inherit;
  color: var(--forest);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
}

.cal-day.empty { border: 0; background: transparent; cursor: default; }
.cal-day.past { opacity: 0.4; cursor: not-allowed; }
.cal-day.today { outline: 2px solid var(--moss); }
.cal-day.picked { background: var(--forest); color: var(--cream); }

.cal-dot {
  font-size: 0.68rem;
  background: var(--leaf);
  color: var(--forest);
  border-radius: 999px;
  padding: 0 6px;
}

.cal-day.picked .cal-dot { background: var(--cream); }

.book-panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.book-panel label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--forest);
}

.book-panel input,
.book-panel select,
.book-panel textarea {
  font: inherit;
  font-weight: 400;
  padding: 10px 12px;
  border: 1px solid rgba(30, 58, 47, 0.2);
  border-radius: 8px;
  background: var(--cream);
}

.muted { color: #5b6358; font-size: 0.92rem; }

.subhead {
  font-family: "Cormorant Garamond", serif;
  color: var(--forest);
  font-size: 1.6rem;
  margin-bottom: 14px;
}

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

.job-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.job-card h4 { color: var(--forest); margin-bottom: 6px; }
.job-card .btn { margin-top: 10px; }

.travel-box {
  background: var(--sand);
  border-radius: 10px;
  padding: 12px;
  font-size: 0.95rem;
}

.form-msg { font-weight: 600; }
.form-msg.ok { color: var(--sage); }
.form-msg.err { color: #8a2a2a; }

@media (max-width: 980px) {
  .book-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .logo-text {
    display: none;
  }

  .signin input {
    width: 96px;
  }

  .main-nav a {
    font-size: 0.78rem;
    padding: 6px 8px;
  }
}

.social-bar {
  border-top: 1px solid rgba(30, 58, 47, 0.08);
  background: #e8efe4;
}
.social-inner {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding: 8px 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--forest);
}
.service-detail {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}
.ticks { margin: 16px 0 0 18px; color: #3f473d; }
.book-now-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.book-now-card h3 { font-family: "Cormorant Garamond", serif; color: var(--forest); font-size: 1.8rem; margin-bottom: 8px; }
.social-links { margin-top: 16px; }
.cal-day.state-mine { background: #2f7a46; color: #f4f1e8; }
.cal-day.state-busy { background: #b42318; color: #fff; }
.cal-day.state-both { background: linear-gradient(135deg, #2f7a46 50%, #b42318 50%); color: #fff; }
.legend { display: flex; gap: 16px; margin-top: 14px; font-size: 0.9rem; }
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; }
.swatch-mine { background: #2f7a46; }
.swatch-busy { background: #b42318; }
.swatch-free { background: #fff; border: 1px solid #ccc; }
.slot-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 6px; }
.slot { border-radius: 8px; padding: 8px; font-size: 0.78rem; background: #fff; }
.slot-mine { background: #2f7a46; color: #fff; }
.slot-busy { background: #b42318; color: #fff; }
.job-current { outline: 2px solid var(--sage); }
.check-complete { display: flex; gap: 8px; align-items: center; margin: 10px 0; font-weight: 600; }
@media (max-width: 980px) { .service-detail { grid-template-columns: 1fr; } }

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--forest);
  color: #fff;
  padding: 8px 12px;
  z-index: 80;
}
.skip-link:focus { left: 8px; }
.nav-burger {
  display: none;
  width: 42px;
  height: 36px;
  border-radius: 8px;
  background: var(--leaf);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-burger span, .nav-burger span:before, .nav-burger span:after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--forest);
  position: relative;
  content: "";
}
.nav-burger span:before { top: -6px; position: absolute; }
.nav-burger span:after { top: 6px; position: absolute; }
.legal h2, .legal h3 { color: var(--forest); margin: 16px 0 8px; }
.legal ul { margin-left: 18px; }
.footer-grid { display: grid; gap: 12px; }
@media (max-width: 980px) {
  .nav-burger { display: flex; }
  .main-nav { display: none; grid-area: nav; }
  .nav-toggle:checked ~ .main-nav { display: block; }
}

.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.review-card { background: #fff; padding: 16px; border-radius: var(--radius); box-shadow: var(--shadow); }
.review-who { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.avatar, .avatar-lg { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.avatar-lg { width: 72px; height: 72px; }
.avatar-fallback { display: inline-flex; align-items: center; justify-content: center; background: var(--sage); color: var(--forest); font-weight: 700; }
.stars { color: #c47b12; letter-spacing: 1px; margin: 0; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 800px) { .account-grid { grid-template-columns: 1fr; } }
