@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

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

:root {
  --brand: #2C4A14;
  --bg: #F7F5F0;
  --surface: #FFFFFF;
  --border: rgba(0,0,0,0.08);
  --ink: #1A1A1A;
  --ink-2: #555555;
  --ink-3: #888888;
  --amber-bg: #FFF8E8;
  --amber-border: #F5C842;
  --amber-text: #7A5C00;
  --brand-light: #E8F0DC;
  --brand-mid: #F0F7E8;
  --brand-border: #9DC85A;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  background: #F7F5F0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: #1a1a1a;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* --- Visibility helpers --- */
.walk-mobile-only { display: block; }
@media (min-width: 768px) {
  .walk-mobile-only { display: none !important; }
}

/* --- Header --- */
/* Mobile: bg #F7F5F0, padding 12px 16px, flex, space-between, border-bottom */
.site-header {
  background: #F7F5F0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0.5px solid rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.header-wordmark {
  font-size: 16px;
  font-weight: 800;
  color: #2C4A14;
  letter-spacing: -0.5px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-nav {
  display: none;
}

.header-nav a {
  font-size: 13px;
  font-weight: 500;
  color: #888;
  text-decoration: none;
}

.header-cta-pill {
  font-size: 11px;
  color: #2C4A14;
  background: #E8F0DC;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .site-header {
    padding: 12px 28px;
  }
  .header-logo svg {
    width: 28px;
    height: 28px;
  }
  .header-wordmark {
    font-size: 18px;
  }
  .header-nav {
    display: flex;
    gap: 20px;
    margin-left: 24px;
  }
  .header-nav a:first-child {
    color: #2C4A14;
    font-weight: 500;
    border-bottom: 2px solid #2C4A14;
    padding-bottom: 2px;
  }
}

/* --- Walk breadcrumb (desktop only - hidden on mobile) --- */
.walk-breadcrumb {
  display: none;
}

@media (min-width: 768px) {
  .walk-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 28px;
    font-size: 12px;
    color: #888;
    max-width: 1200px;
    margin: 0 auto;
  }
  .walk-breadcrumb a {
    color: #2C4A14;
    text-decoration: none;
  }
  .walk-breadcrumb-sep {
    color: #888;
  }
  .walk-breadcrumb-current {
    color: #888;
  }
}

/* --- Walk page layout --- */
/* Mobile: single column */
.walk-page {
  /* no grid on mobile */
}

@media (min-width: 768px) {
  .walk-page {
    display: grid;
    grid-template-columns: 1fr 340px;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 0.5px solid rgba(0,0,0,0.08);
  }
}

/* --- Left column --- */
.walk-content {
  min-width: 0;
}

@media (min-width: 768px) {
  .walk-content {
    border-right: 0.5px solid rgba(0,0,0,0.08);
  }
}

/* --- Hero map --- */
/* Mobile: height 200px, no border-radius */
.walk-hero {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, #C8D8B0 0%, #A8C088 40%, #8BAD68 70%, #6E9048 100%);
  overflow: hidden;
}

.walk-hero-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.walk-hero-badge {
  position: absolute;
  background: rgba(255,255,255,0.92);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
}

.walk-hero-badge--left {
  top: 10px;
  left: 10px;
  color: #2C4A14;
}

.walk-hero-badge--offlead {
  top: 10px;
  right: 10px;
  color: #2C4A14;
}

.walk-hero-badge--onlead {
  top: 10px;
  right: 10px;
  color: #b45309;
}

.walk-hero-attr {
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-size: 9px;
  color: rgba(0,0,0,0.4);
}

@media (min-width: 768px) {
  .walk-hero {
    height: 340px;
  }
  .walk-hero-svg {
    width: 100%;
    height: 340px;
    viewBox: 0 0 700 340;
  }
}

/* --- Walk body padding --- */
.walk-body {
  padding: 14px 16px 0;
}

@media (min-width: 768px) {
  .walk-body {
    padding: 14px 16px 0;
  }
  .walk-body-main {
    padding: 20px 28px;
  }
}

/* --- Mobile header section (title + chips + stats pills) --- */
.walk-mobile-header {
  /* shown on mobile, hidden on desktop via .walk-mobile-only parent logic
     Note: this is NOT walk-mobile-only itself because on desktop the sidebar shows these instead */
}

@media (min-width: 768px) {
  .walk-mobile-header {
    display: none;
  }
}

/* --- Walk title --- */
h1.walk-title {
  font-size: 21px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px;
  line-height: 1.2;
}

h1.walk-sidebar-title {
  font-size: 20px;
}

/* --- Location chips --- */
.walk-chips {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.chip--location {
  font-size: 11px;
  color: #2C4A14;
  background: #E8F0DC;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}

/* --- Stats pills (mobile) --- */
.walk-stats-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.stat-pill {
  font-size: 11px;
  color: #555;
  background: white;
  border: 0.5px solid rgba(0,0,0,0.1);
  padding: 4px 10px;
  border-radius: 20px;
}

/* --- Stats grid (desktop sidebar) --- */
.walk-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 14px;
}

.stat-cell {
  background: #F7F5F0;
  border-radius: 10px;
  padding: 10px 12px;
}

.stat-label {
  font-size: 9px;
  color: #888;
  font-weight: 600;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-value {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}

.stat-value--sm {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
}

.stat-value--onlead {
  color: #b45309;
}

/* --- Primary CTA: flex row on mobile --- */
.walk-cta-row {
  margin: 0 16px 14px;
}

.walk-cta-inner {
  background: #2C4A14;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cta-headline {
  font-size: 13px;
  font-weight: 600;
  color: white;
  margin-bottom: 2px;
}

.cta-subtext {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
}

.cta-pill-btn {
  background: white;
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #2C4A14;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

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

/* --- Primary CTA: stacked block on desktop (in sidebar) --- */
.walk-cta-stacked {
  background: #2C4A14;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
}

.cta-headline--desktop {
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 3px;
}

.cta-subtext--desktop {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 12px;
}

.cta-btn-full {
  background: white;
  border-radius: 10px;
  padding: 9px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #2C4A14;
  display: block;
  width: 100%;
  text-decoration: none;
  transition: transform 0.15s ease;
}

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

/* --- Dividers --- */
/* Full-width divider after mobile CTA */
.walk-divider-full {
  height: 0.5px;
  background: rgba(0,0,0,0.08);
  margin: 0 16px;
}

/* Sidebar divider */
.walk-divider-sidebar {
  height: 0.5px;
  background: rgba(0,0,0,0.08);
  margin-bottom: 14px;
}

/* --- Section headings (10px uppercase label) --- */
.walk-section-heading {
  font-size: 10px;
  font-weight: 600;
  color: #888;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- Walk description --- */
.walk-description {
  font-size: 14px;
  color: #333;
  line-height: 1.65;
  margin: 0 0 14px;
}

/* --- For your dog box --- */
.walk-dog-box {
  background: #F0F7E8;
  border: 0.5px solid #9DC85A;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.dog-box-label {
  font-size: 10px;
  font-weight: 600;
  color: #2C4A14;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dog-box-body {
  font-size: 13px;
  color: #2C4A14;
  line-height: 1.6;
}

/* --- Seasonal notes --- */
.seasonal-notes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.seasonal-pill {
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
}

.seasonal-pill--amber {
  background: #FFF8E8;
  border: 0.5px solid #F5C842;
  color: #7A5C00;
}

.seasonal-pill--green {
  background: #F0F7E8;
  border: 0.5px solid #9DC85A;
  color: #2C4A14;
}

.seasonal-bold {
  font-weight: 600;
}

/* --- Practical info card (mobile white card) --- */
.practical-card {
  background: white;
  border-radius: 12px;
  border: 0.5px solid rgba(0,0,0,0.08);
  overflow: hidden;
  margin-bottom: 14px;
}

.practical-card-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 14px;
  border-bottom: 0.5px solid rgba(0,0,0,0.06);
  font-size: 13px;
}

.practical-card-row--last {
  border-bottom: none;
}

.practical-key {
  color: #888;
  flex-shrink: 0;
}

.practical-val {
  color: #222;
  font-weight: 500;
  text-align: right;
}

/* --- Practical info bare rows (desktop sidebar) --- */
.practical-heading {
  font-size: 10px;
  font-weight: 600;
  color: #888;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.practical-rows-bare {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.practical-row-bare {
  display: flex;
  gap: 10px;
}

.practical-key-bare {
  font-size: 11px;
  color: #888;
  width: 70px;
  flex-shrink: 0;
  padding-top: 1px;
}

.practical-val-bare {
  font-size: 13px;
  color: #222;
  font-weight: 500;
}

/* --- Nearby walks (mobile: vertical list with chevrons) --- */
.nearby-walks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.nearby-walk-row {
  background: white;
  border-radius: 12px;
  border: 0.5px solid rgba(0,0,0,0.08);
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nearby-walk-name {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
}

.nearby-walk-meta {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}

/* --- Secondary CTA --- */
.btn-secondary {
  display: block;
  border: 1.5px solid #2C4A14;
  border-radius: 14px;
  padding: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #2C4A14;
  margin-bottom: 14px;
  text-decoration: none;
  transition: transform 0.15s ease;
}

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

/* --- Store badges (mobile: centred row with two-line text) --- */
.walk-store-badges {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 4px;
}

.badge-store {
  background: #1a1a1a;
  border-radius: 8px;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

.badge-label {
  font-size: 8px;
  color: rgba(255,255,255,0.6);
}

.badge-name {
  font-size: 11px;
  color: white;
  font-weight: 600;
}

/* Store badges sidebar variant */
.walk-store-badges--sidebar {
  justify-content: flex-start;
  margin-bottom: 14px;
}

.walk-store-badges--sidebar .badge-store {
  flex: 1;
  justify-content: center;
  padding: 7px 10px;
}

.badge-store-text {
  font-size: 11px;
  color: white;
  font-weight: 500;
}

/* --- Area link --- */
.area-link {
  display: inline-block;
  color: #2C4A14;
  font-weight: 600;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-bottom: 32px;
  text-decoration: none;
  border-bottom: 1px solid rgba(44,74,20,0.3);
  padding-bottom: 1px;
}

/* --- Right sidebar (desktop only) --- */
.walk-sidebar {
  display: none;
}

@media (min-width: 768px) {
  .walk-sidebar {
    display: block;
    background: white;
    padding: 20px;
    position: sticky;
    top: 56px;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    align-self: start;
  }
}

/* --- Footer --- */
/* Mobile: bg #2C4A14, padding 14px 16px, flex, gap 8px, align-items center */
.site-footer {
  background: #2C4A14;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-wordmark {
  font-size: 13px;
  font-weight: 700;
  color: white;
}

.footer-links {
  display: none;
}

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-left: auto;
}

@media (min-width: 768px) {
  .site-footer {
    padding: 16px 28px;
    justify-content: space-between;
  }
  .footer-wordmark {
    font-size: 14px;
  }
  .footer-links {
    display: flex;
    gap: 20px;
  }
  .footer-links a {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
  }
  .footer-copy {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    margin-left: 0;
  }
}

/* --- Homepage --- */
.hero-section {
  background: #2C4A14;
  padding: 64px 20px;
  text-align: center;
}

.hero-section h1 {
  font-size: 32px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-section p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-section h1 { font-size: 48px; }
}

.btn-primary {
  display: inline-block;
  background: white;
  color: #2C4A14;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 16px;
  border-radius: 10px;
  padding: 14px 32px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-primary:active { transform: scale(0.97); }
.btn-primary:hover { opacity: 0.92; }

.regions-section {
  padding: 48px 0;
}

.regions-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  text-align: center;
}

.region-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 0 20px;
}

.region-chip {
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  transition: transform 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}

.region-chip:hover {
  border-color: #2C4A14;
  color: #2C4A14;
}

.region-chip:active { transform: scale(0.97); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Nearby walks desktop grid */
@media (min-width: 768px) {
  .nearby-walks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-direction: unset;
    gap: 8px;
  }
  .nearby-walk-row {
    padding: 12px 14px;
  }
  /* Hide chevron on desktop grid */
  .nearby-walk-row svg {
    display: none;
  }
}
