/* =========================================================
   CARRY ON DOG WALKING — design tokens
   Palette: deep pine + park sage + trail gold, no cream/terracotta cliché
   Type: Bebas Neue (poster display) + Work Sans (body) + JetBrains Mono (labels)
   Signature: dashed "trail" line + numbered walk-route stops
   ========================================================= */

:root {
  --forest: #1F3328;
  --forest-light: #3B5943;
  --sage: #E3ECDD;
  --sage-deep: #CBDBC0;
  --paper: #FBF9F4;
  --gold: #D9A441;
  --gold-deep: #B9832C;
  --rust: #B5502F;
  --ink: #1B1F1B;
  --white: #FFFFFF;

  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;

  --max-w: 1180px;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(27, 31, 27, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--forest);
  color: var(--white);
  padding: 12px 18px;
  z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Typography ---------- */
.display, .display-sm, h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--forest);
  letter-spacing: 0.3px;
  line-height: 1.02;
  margin: 0 0 0.4em;
}

.display { font-size: clamp(3rem, 8vw, 5.6rem); }
.display-sm { font-size: clamp(2.1rem, 5vw, 3.1rem); margin-bottom: 0.5em; }

h3 { font-size: 1.4rem; letter-spacing: 0.2px; }

p { margin: 0 0 1em; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin: 0 0 0.9em;
}

.section-lede {
  max-width: 620px;
  color: var(--forest-light);
  font-size: 1.05rem;
}

.text-gold { color: var(--gold-deep); }

a { color: var(--forest); }

.link-arrow {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 20px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }

.btn-primary { background: var(--gold); color: var(--forest); }
.btn-primary:hover { background: var(--gold-deep); }

.btn-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-outline:hover { background: var(--forest); color: var(--white); }

.btn-ghost { color: var(--forest); background: transparent; border-color: transparent; }
.btn-ghost:hover { text-decoration: underline; }

/* ---------- Top utility bar ---------- */
.top-bar {
  background: var(--forest);
  color: var(--sage);
  padding: 13px 0;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.top-bar-badge {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--sage);
}
.top-bar-star { color: var(--gold); }
.top-bar-social {
  display: flex;
  align-items: center;
  gap: 12px;
}
.top-bar-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--white);
  border-radius: 50%;
  padding: 6px;
  transition: transform 0.15s ease;
}
.top-bar-social a:hover { transform: translateY(-2px); }
.top-bar-social img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------- Hero trust badge ---------- */
.est-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--sage-deep);
  border-radius: 999px;
  padding: 7px 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--forest);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.est-badge-icon { color: var(--gold-deep); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 244, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--sage-deep);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand-logo { height: 52px; width: auto; }

.main-nav {
  display: flex;
  gap: 26px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--forest);
  position: relative;
}
.main-nav a:hover { color: var(--gold-deep); }
.main-nav a[aria-current="page"] {
  color: var(--gold-deep);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--forest);
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sage) 0%, var(--paper) 78%);
}

.hero-trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.55;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

.hero-lede {
  font-size: 1.15rem;
  color: var(--forest-light);
  max-width: 46ch;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 22px 0 26px; }

.trust-strip {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--forest-light);
}
.trust-strip li { display: flex; align-items: center; gap: 8px; }
.trust-strip .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); display: inline-block;
}

.hero-media {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-tint { background: var(--sage); }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.split-reverse { grid-template-columns: 1.1fr 0.9fr; }
.split-reverse .split-copy { order: 1; }
.split-reverse .split-media { order: 2; }

.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Cards (safety) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}
.card-icon { color: var(--gold-deep); margin-bottom: 14px; }
.card h3 { font-size: 1.15rem; margin-bottom: 0.35em; }
.card p { font-size: 0.94rem; color: var(--forest-light); margin: 0; }

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--sage-deep);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.service-card-featured {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.service-tag {
  position: absolute;
  top: -13px; left: 26px;
  background: var(--gold);
  color: var(--forest);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.service-time {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: 0.8em;
}
.service-card p:last-child { color: var(--forest-light); margin-bottom: 0; }

.service-note {
  margin-top: 30px;
  padding: 18px 22px;
  border-left: 3px solid var(--gold);
  background: var(--sage);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
  color: var(--forest-light);
}
.service-note p { margin: 0; }

/* ---------- Trail / how it works ----------
   A signpost-style path: one continuous dashed line runs down the
   left edge; each stop is a solid circle sitting on top of the line
   (breaking it, like a waymarker), with a short tick connecting the
   circle to its card — echoing real trail signage. */
.trail-list {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* the continuous path, running through every circle's centre */
.trail-list::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  border-left: 3px dashed var(--gold);
}

.trail-stop {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  padding: 20px 0;
}

.trail-num {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--forest);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px var(--sage);
}
.trail-num-end { background: var(--forest); color: var(--sage); }

.trail-connector {
  flex-shrink: 0;
  width: 24px;
  height: 2px;
  background: var(--gold);
  margin-top: 27px;
}

.trail-content {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 22px;
  margin-top: 2px;
}
.trail-content h3 { margin-bottom: 0.25em; }
.trail-content p { margin: 0; color: var(--forest-light); }

.trail-stop-last .trail-content { border: 1px solid var(--sage-deep); }

/* ---------- Areas ---------- */
.area-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 0;
  margin: 40px 0 0;
}
.area-chips li {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--forest);
  background: var(--sage);
  border: 1px solid var(--sage-deep);
  padding: 9px 18px;
  border-radius: 999px;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 36px;
}
.gallery-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 10px;
}

/* ---------- Contact page (stacked layout) ---------- */
.contact-info-grid { grid-template-columns: repeat(3, 1fr); margin-top: 32px; }
.contact-info-card { text-align: center; }
.contact-info-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 8px;
}
.contact-info-value {
  display: block;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--forest);
  text-decoration: none;
}
.contact-social-row {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.contact-form-full {
  margin: 36px auto 0;
}

/* ---------- Contact ---------- */
.contact-details { list-style: none; padding: 0; margin: 26px 0; }
.contact-details li { margin-bottom: 14px; display: flex; flex-direction: column; }
.contact-details strong {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 2px;
}
.contact-details a { text-decoration: none; font-weight: 600; }

.social-row { display: flex; gap: 16px; }
.social-row img { border-radius: 50%; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-form label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--forest-light);
  margin-top: 14px;
}
.contact-form input, .contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 12px;
  border: 1px solid var(--sage-deep);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form button { margin-top: 22px; align-self: flex-start; }
.contact-form iframe { border: 0; width: 100%; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest);
  color: var(--sage);
  padding: 40px 0;
}
.footer-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-logo { height: 42px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-fine { font-size: 0.82rem; opacity: 0.7; margin: 0; }
.site-footer p { margin: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding-top: 56px;
  padding-bottom: 24px;
  background: linear-gradient(180deg, var(--sage) 0%, var(--paper) 100%);
}
.page-hero .section-lede { margin-top: 6px; margin-bottom: 20px; }
.page-hero-flat { background: var(--sage); }
.page-hero + section { padding-top: 28px; }

/* ---------- Thank you page ---------- */
.thank-you-hero { padding-top: 64px; padding-bottom: 48px; }
.thank-you-check {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--sage);
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

/* ---------- Area chips as links ---------- */
.area-chips a { text-decoration: none; color: inherit; }
.area-chips li:hover { background: var(--sage-deep); }

/* ---------- Area hub cards ---------- */
.area-card-grid { grid-template-columns: repeat(3, 1fr); }
.area-card {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.area-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(27,31,27,0.14); }
.area-card h3 { color: var(--forest); margin-bottom: 0.3em; }
.area-card p { font-family: var(--font-mono); font-size: 0.85rem; color: var(--forest-light); margin: 0; }
.thank-you-links .card { text-align: center; }

/* ---------- Team ---------- */
.team-grid { grid-template-columns: repeat(3, 1fr); align-items: start; }
.team-card { text-align: center; }
.team-photo {
  width: 140px; height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--sage-deep);
  margin: 0 auto 16px;
}
.team-photo-logo {
  object-fit: contain;
  background: var(--sage);
  padding: 20px;
  border: none;
}
.team-role {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: -0.2em 0 14px;
}
.team-bio { text-align: left; }
.team-bio p {
  font-size: 0.92rem;
  color: var(--forest-light);
  margin-bottom: 10px;
}
.team-bio p:last-child { margin-bottom: 0; }
.section-note-text {
  font-size: 0.92rem;
  color: var(--forest-light);
  margin: 0;
}

/* ---------- Gallery (dedicated page, more columns) ---------- */
.gallery-grid-full { grid-template-columns: repeat(5, 1fr); }

/* ---------- Footer nav ---------- */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 4px 0;
}
.footer-nav a {
  color: var(--sage);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0.85;
}
.footer-nav a:hover { opacity: 1; text-decoration: underline; }

/* ---------- FAQ accordion ---------- */
.faq-list {
  max-width: 760px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--white);
  border-radius: 10px;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }

.faq-index {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--gold-deep);
  flex-shrink: 0;
  min-width: 24px;
}
.faq-question-text {
  flex: 1;
  font-weight: 600;
  color: var(--forest);
  font-size: 1.03rem;
}
.faq-toggle {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 2px solid var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--forest);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
  background: var(--forest);
  color: var(--white);
}
.faq-answer {
  padding: 0 24px 22px 66px;
  color: var(--forest-light);
}
.faq-answer p { margin: 0; }
.faq-answer a { color: var(--gold-deep); font-weight: 600; }

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .area-card-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid-full { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .split, .split-reverse { grid-template-columns: 1fr; }
  .split-reverse .split-copy, .split-reverse .split-media { order: initial; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--sage-deep);
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .header-actions .btn-ghost { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid-full { grid-template-columns: repeat(2, 1fr); }
  .area-card-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .faq-item summary { padding: 16px 18px; gap: 12px; }
  .faq-answer { padding: 0 18px 18px 42px; }
  .top-bar-inner { justify-content: center; text-align: center; }
  .top-bar-badge { font-size: 0.78rem; }
  .top-bar-social a { width: 30px; height: 30px; }
}
