/* Emily Walks — single stylesheet, no build step.
   Palette: outdoor greens, warm cream, one puppy-amber accent. */

:root {
  --green-900: #1c3a24;
  --green-700: #2f5d3a;
  --green-500: #4a8455;
  --green-100: #e7efe0;
  --cream: #fdfaf3;
  --cream-tint: #f4efe1;
  --amber: #e59a2b;
  --amber-dark: #b9761a;
  --ink: #22301f;
  --ink-soft: #4a5545;
  --line: #d8d3c2;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(28, 58, 36, 0.09);
  --wrap: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-text-size-adjust: 100%;
}

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

h1, h2, h3 { line-height: 1.2; color: var(--green-900); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; }

a { color: var(--green-700); }
a:hover { color: var(--green-900); }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green-900);
  color: #fff;
  padding: .75rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 250, 243, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.25rem;
  padding-block: .75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--green-900);
  text-decoration: none;
}
.brand-mark { width: 30px; height: 30px; color: var(--amber); flex: none; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem 1.1rem;
  font-size: .97rem;
}
.site-nav a { text-decoration: none; color: var(--ink-soft); font-weight: 600; }
.site-nav a:hover { color: var(--green-700); }
.site-nav .btn { color: #fff; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  background: var(--green-700);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  border: 2px solid var(--green-700);
  transition: background-color .18s ease, border-color .18s ease;
}
.btn:hover, .btn:focus { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.btn-sm { padding: .5rem 1rem; font-size: .92rem; }
.btn-lg { font-size: 1.05rem; padding: .95rem 1.6rem; }
.btn-ghost { background: transparent; color: var(--green-700); }
.btn-ghost:hover, .btn-ghost:focus { background: var(--green-100); color: var(--green-900); border-color: var(--green-700); }

/* ---------- hero ---------- */

.hero {
  background:
    radial-gradient(1100px 420px at 12% -10%, var(--green-100), transparent 65%),
    var(--cream);
  padding-block: clamp(2rem, 6vw, 4rem);
}

.hero-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--amber-dark);
  margin-bottom: .6rem;
}

.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.4rem 0 1rem; }

.hero-note {
  font-size: .95rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--amber);
  padding-left: .75rem;
  margin: 0;
}

.hero-figure { margin: 0; }
.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--green-100);
}

/* ---------- trust bar ---------- */

.trust { background: var(--green-900); color: #eef3ea; padding-block: 1.6rem; }

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.trust-list li { display: flex; gap: .75rem; align-items: flex-start; }
.trust-icon { width: 26px; height: 26px; flex: none; color: var(--amber); margin-top: .2rem; }
.trust-list strong { display: block; color: #fff; }
.trust-list span { font-size: .95rem; color: #cfe0c8; }

/* ---------- sections ---------- */

.section { padding-block: clamp(2.6rem, 7vw, 4.5rem); }
.section-tint { background: var(--cream-tint); }
.section-lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 58ch; margin-bottom: 2rem; }

.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card p { color: var(--ink-soft); }
.card-feature { border-color: var(--amber); }
.card-feature::before {
  content: "Most popular";
  align-self: flex-start;
  background: var(--amber);
  color: #3a2a06;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: .2rem .6rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}

.price { margin: auto 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.price .amount { font-size: 1.6rem; font-weight: 700; color: var(--green-900); }
.price .unit { font-size: .92rem; color: var(--ink-soft); }

/* ---------- rates table ---------- */

.rates {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 1rem;
}
.rates caption {
  caption-side: bottom;
  text-align: left;
  padding-top: .9rem;
  font-size: .92rem;
  color: var(--ink-soft);
}
.rates th, .rates td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.rates thead th { background: var(--green-700); color: #fff; font-size: .92rem; text-transform: uppercase; letter-spacing: .05em; }
.rates tbody tr:last-child th, .rates tbody tr:last-child td { border-bottom: 0; }
.rates tbody th { font-weight: 600; color: var(--green-900); }
.rates .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.rates-note { margin-top: 1.2rem; color: var(--ink-soft); }

/* ---------- steps ---------- */

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
}
.steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-900);
  font-weight: 700;
  margin-bottom: .8rem;
}
.steps p { color: var(--ink-soft); margin-bottom: 0; }

/* ---------- gallery ---------- */

.gallery {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  aspect-ratio: 9 / 7;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--green-100);
  box-shadow: var(--shadow);
}
.gallery figcaption { font-size: .95rem; color: var(--ink-soft); padding-top: .6rem; }

/* ---------- hours ---------- */

.hours { background: var(--green-700); color: #eaf2e6; padding-block: 2.4rem; }
.hours h2 { color: #fff; }
.hours-inner { display: grid; gap: 1rem; align-items: center; }
.hours-line { font-size: 1.3rem; font-weight: 700; color: var(--amber); margin: 0; }
.hours-copy { margin: 0; color: #d9e6d3; max-width: 52ch; }

/* ---------- contact ---------- */

.contact-inner { text-align: center; }
.contact-inner .section-lede { margin-inline: auto; }
.contact-cta { margin: 1.8rem 0 1rem; }
.contact-help { font-size: .95rem; color: var(--ink-soft); max-width: 54ch; margin-inline: auto; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--green-900);
  color: #cfe0c8;
  padding-block: 2.2rem 1.6rem;
  font-size: .95rem;
}
.footer-inner {
  display: grid;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.footer-brand { font-weight: 700; color: #fff; margin-bottom: .25rem; font-size: 1.1rem; }
.footer-owner { margin: 0; }
.site-footer a { color: #fff; }
.footer-fine { margin: .25rem 0 0; color: #b6cbb0; }
.site-footer .wrap:last-child { padding-top: 1rem; }

/* ---------- wider screens ---------- */

@media (max-width: 620px) {
  /* Two-row header: brand, then the nav links. The nav CTA is dropped here
     because the hero's "Book a walk" button is already visible without
     scrolling, and keeping it would wrap the header to three rows. */
  .header-inner { padding-block: .6rem; gap: .4rem .75rem; }
  .site-nav { gap: .1rem .9rem; font-size: .93rem; }
  .site-nav a { padding-block: .45rem; }   /* comfortable touch target */
  .site-nav .btn { display: none; }
  .brand { font-size: 1.08rem; }
  /* Give the pricing table more room so "$75-150" and "30 minutes" do not wrap. */
  .rates { font-size: .95rem; }
  .rates th, .rates td { padding: .7rem .6rem; }
}

@media (min-width: 800px) {
  .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 3rem; }
  .hours-inner { grid-template-columns: auto 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
}

@media (min-width: 1000px) {
  body { font-size: 1.125rem; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
