:root {
  --deep-green: #0f4d3a;
  --leaf-green: #1c7a52;
  --mint: #d9f2e6;
  --cream: #fdfaf3;
  --gold: #e8a33d;
  --ink: #16221c;
  --muted: #5b6b62;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 77, 58, 0.12);
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
}

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

body {
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
}

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

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
header.site {
  background: var(--deep-green);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.brand svg { width: 34px; height: 34px; }
.brand .accent { color: var(--gold); }
nav.site-nav { display: flex; gap: 22px; font-weight: 500; }
nav.site-nav a { opacity: 0.9; transition: opacity .15s; }
nav.site-nav a:hover { opacity: 1; text-decoration: underline; }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--deep-green) 0%, var(--leaf-green) 65%);
  color: #fff;
  padding: 64px 0 90px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.hero h1 .accent { color: var(--gold); }
.hero p.sub {
  font-size: 1.1rem;
  opacity: 0.92;
  max-width: 560px;
  margin: 0 auto 32px;
}

.search-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.search-card input[type="text"] {
  flex: 1 1 220px;
  border: 2px solid var(--mint);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 1rem;
  outline: none;
  transition: border-color .15s;
}
.search-card input[type="text"]:focus { border-color: var(--leaf-green); }
.btn {
  border: none;
  border-radius: 12px;
  padding: 14px 20px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--deep-green); }
.btn-outline { background: var(--mint); color: var(--deep-green); }
.btn-gps { background: var(--deep-green); color: #fff; flex: 1 1 100%; }
.search-status { margin-top: 10px; font-size: 0.85rem; color: var(--muted); }

/* Section headings */
.section { padding: 56px 0; }
.section h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.section p.lede { color: var(--muted); margin-bottom: 30px; max-width: 640px; }

/* Location cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15,77,58,0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card .badge {
  display: inline-block;
  background: var(--mint);
  color: var(--deep-green);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}
.card h3 { font-size: 1.25rem; font-weight: 700; }
.card .meta { color: var(--muted); font-size: 0.92rem; }
.card .distance { font-weight: 700; color: var(--leaf-green); font-size: 0.9rem; }
.card .actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.card .actions .btn { padding: 10px 14px; font-size: 0.88rem; }
.card .badge + .badge { margin-left: 6px; }

/* Explore Cities grid — homepage hub linking out to every city page */
.city-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.city-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15,77,58,0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.city-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15,77,58,0.16); }
.city-card .count {
  display: inline-block;
  background: var(--mint);
  color: var(--deep-green);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}
.city-card h3 { font-size: 1.3rem; font-weight: 800; color: var(--deep-green); }
.city-card p.meta { color: var(--muted); font-size: 0.92rem; flex: 1; }
.city-card .go { font-weight: 700; color: var(--leaf-green); }
.city-card .go::after { content: " \2192"; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.step { text-align: center; padding: 18px; }
.step .num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--deep-green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; margin: 0 auto 14px;
}

.callout {
  background: var(--deep-green);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin-top: 30px;
}
.callout h3 { font-size: 1.4rem; margin-bottom: 10px; }
.callout p { opacity: 0.9; margin-bottom: 20px; }

footer.site {
  background: var(--ink);
  color: #cfd8d2;
  padding: 40px 0;
  font-size: 0.88rem;
  margin-top: 40px;
}
footer.site .wrap { display: flex; flex-direction: column; gap: 18px; }
footer.site .footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer.site a { opacity: 0.85; }
footer.site a:hover { opacity: 1; text-decoration: underline; }

/* Cities strip — shows every city the directory covers, reused in the hero
   (light-on-dark, over the green gradient) and in the footer (muted variant). */
.cities-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cities-strip .cities-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.75;
}
.city-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
  transition: background .15s;
}
.city-pill:hover { background: rgba(255,255,255,0.2); }
.city-pill.active { background: var(--gold); color: var(--deep-green); border-color: var(--gold); }
.city-pill.soon { opacity: 0.65; border-style: dashed; cursor: default; }
.city-pill.soon:hover { background: rgba(255,255,255,0.1); }

.hero .cities-strip { justify-content: center; margin: 26px auto 0; }

footer.site .cities-strip .cities-label { color: #8fa398; }
footer.site .city-pill {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: #cfd8d2;
  padding: 5px 12px;
  font-size: 0.8rem;
}
footer.site .city-pill.active { background: var(--gold); color: var(--ink); border-color: var(--gold); }
footer.site .city-pill:hover { background: rgba(255,255,255,0.12); }
.disclaimer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 24px 0;
  font-size: 0.78rem;
  color: #8fa398;
}

form.plain { display: flex; flex-direction: column; gap: 12px; max-width: 480px; }
form.plain input, form.plain textarea, form.plain select {
  border: 2px solid var(--mint);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
}
form.plain label { font-weight: 600; font-size: 0.88rem; }

/* Mobile nav toggle — checkbox-driven, no JS required so it works the same
   on every page regardless of which scripts that page happens to load. */
.nav-toggle-checkbox { display: none; }
.nav-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .grid { grid-template-columns: 1fr; }
  .nav-toggle-btn { display: flex; }
  nav.site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--deep-green);
    padding: 4px 16px 14px;
    box-shadow: var(--shadow);
  }
  nav.site-nav a {
    padding: 13px 2px;
    border-top: 1px solid rgba(255,255,255,0.14);
  }
  nav.site-nav a:first-child { border-top: none; }
  .nav-toggle-checkbox:checked ~ nav.site-nav { display: flex; }
}
