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

:root {
  color-scheme: light;
  --text: #29332e;
  --text-soft: #65716a;
  --background: #f3f5f1;
  --surface: #ffffff;
  --surface-soft: #e9eee8;
  --primary: #55755d;
  --primary-rgb: 85, 117, 93;
  --primary-dark: #3f5e47;
  --primary-pale: #dce8dd;
  --green: #55755d;
  --green-rgb: 85, 117, 93;
  --green-pale: #e1ebe1;
  --line: #dce3da;
  --line-strong: #c5d0c5;
  --hero-surface: #fbfcf9;
  --topbar-surface: rgba(243, 245, 241, 0.94);
  --photo-border: #ffffff;
  --extra-surface: rgba(255, 255, 255, 0.68);
  --plan-total-end: #f1f5ed;
  --muted: #8b978e;
  --disabled: #aebbb0;
  --error: #b34f49;
  --shadow: 0 16px 40px rgba(44, 60, 48, 0.10);
  --shadow-soft: 0 8px 22px rgba(44, 60, 48, 0.06);
  --radius: 24px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --text: #e5ece6;
  --text-soft: #aab8ad;
  --background: #171e19;
  --surface: #202923;
  --surface-soft: #27332b;
  --primary: #57765e;
  --primary-rgb: 87, 118, 94;
  --primary-dark: #a6c2aa;
  --primary-pale: #304237;
  --green: #779a7d;
  --green-rgb: 119, 154, 125;
  --green-pale: #2d4032;
  --line: #354239;
  --line-strong: #4a5b4e;
  --hero-surface: #1d2720;
  --topbar-surface: rgba(23, 30, 25, 0.94);
  --photo-border: #2a352d;
  --extra-surface: rgba(32, 41, 35, 0.72);
  --plan-total-end: #29372d;
  --muted: #748278;
  --disabled: #46564a;
  --error: #f08d85;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  --shadow-soft: 0 8px 22px rgba(0, 0, 0, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: 'DM Sans', Arial, sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.55;
}
body.modal-open { overflow: hidden; }
a { color: inherit; }
button, select, input, textarea { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(var(--primary-rgb), .55); outline-offset: 2px; }

h1, h2, h3 {
  font-family: 'Fredoka', 'DM Sans', sans-serif;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.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;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  padding: 10px 14px; border-radius: 10px; background: var(--text); color: #fff;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

svg use { pointer-events: none; }
.brand-paw, .chips svg, .photo-tag svg, .extra > svg, .foot-paw { fill: currentColor; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 12px clamp(18px, 4vw, 52px);
  background: var(--topbar-surface);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 26px;
  text-decoration: none; color: var(--text);
}
.brand-paw { width: 28px; height: 28px; color: var(--primary); transform: rotate(-12deg); }
.site-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 9px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600; text-decoration: none; color: var(--text-soft);
  transition: .2s ease;
}
.nav-link:hover { background: var(--primary-pale); color: var(--primary-dark); }
.theme-toggle {
  width: 42px; height: 42px; flex: 0 0 42px;
  display: grid; place-items: center;
  padding: 0; border: 1px solid var(--line-strong); border-radius: 50%;
  background: var(--surface); color: var(--text-soft); cursor: pointer;
  transition: .2s ease;
}
.theme-toggle:hover { color: var(--primary-dark); border-color: var(--primary); background: var(--primary-pale); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* ---------- Buttons ---------- */
.primary-button, .secondary-button, .pill-button, .book-button {
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  font-size: 15px; font-weight: 700;
  text-decoration: none; text-align: center;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: .2s ease;
}
.primary-button, .pill-button, .book-button { background: var(--primary); color: #fff; }
.primary-button:hover, .pill-button:hover, .book-button:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); }
.secondary-button { background: transparent; color: var(--primary-dark); border-color: var(--line-strong); }
.secondary-button:hover { border-color: var(--primary); background: var(--primary-pale); transform: translateY(-2px); }
.pill-button { min-height: 42px; padding: 8px 18px; font-size: 14px; margin-left: 4px; }
.book-button { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  max-width: 1180px;
  margin: 18px auto 0;
  padding: clamp(30px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    radial-gradient(circle at 92% 8%, rgba(var(--green-rgb), .12), transparent 32%),
    radial-gradient(circle at 5% 95%, rgba(var(--primary-rgb), .09), transparent 34%),
    var(--hero-surface);
  box-shadow: var(--shadow);
}
.eyebrow {
  margin: 0 0 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--primary-dark);
}
.hero-copy h2 { margin: 0; font-size: clamp(44px, 6.4vw, 78px); line-height: 1.02; }
.hero-copy h2 em { font-style: normal; color: var(--primary); }
.lead { max-width: 480px; margin: 22px 0 0; color: var(--text-soft); font-size: clamp(16px, 1.5vw, 18px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; }
.chips li {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px 7px 10px; border-radius: 999px;
  background: var(--green-pale); color: var(--primary-dark);
  font-size: 13px; font-weight: 700;
}
.chips svg { width: 16px; height: 16px; }

.hero-photo {
  position: relative; margin: 0;
  border-radius: 200px 200px 32px 32px;
  overflow: hidden;
  border: 6px solid var(--photo-border);
  box-shadow: var(--shadow);
  background: var(--surface-soft);
  max-width: 420px; justify-self: center; width: 100%;
}
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; }
.photo-tag {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px 8px 11px; border-radius: 999px;
  background: var(--surface); color: var(--primary-dark);
  font-size: 13px; font-weight: 700;
}
.photo-tag svg { width: 16px; height: 16px; }

/* ---------- Sections ---------- */
.section { max-width: 1080px; margin: 0 auto; padding: 84px 20px; }
.section.soft {
  max-width: none;
  background: var(--surface-soft);
  border-block: 1px solid var(--line);
  padding-inline: max(20px, calc((100% - 1040px) / 2));
}
.section-head { max-width: 640px; margin-bottom: 30px; }
.section-head h2 { margin: 0; font-size: clamp(36px, 4.6vw, 54px); line-height: 1.05; }
.section-head p:not(.eyebrow) { margin: 14px 0 0; color: var(--text-soft); }
.center { text-align: center; margin-top: 34px; }

/* ---------- Walk cards ---------- */
.walk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.walk-card {
  display: flex; flex-direction: column;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease;
}
.walk-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.walk-card.featured { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-pale), var(--shadow-soft); }
.walk-time { font-family: 'Fredoka', sans-serif; font-size: 22px; color: var(--text-soft); }
.walk-time span { font-size: 56px; line-height: 1; color: var(--text); font-weight: 600; }
.walk-desc { flex: 1; margin: 10px 0 16px; color: var(--text-soft); font-size: 15px; }
.walk-price { margin-bottom: 14px; font-family: 'Fredoka', sans-serif; font-size: 38px; font-weight: 600; color: var(--primary-dark); }

.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.extra {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 18px;
  background: var(--extra-surface);
}
.extra > svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px; color: var(--primary); }
.extra strong { display: block; font-size: 16px; }
.extra span { color: var(--text-soft); font-size: 14px; }
.extra .extra-price { color: var(--primary-dark); font-weight: 700; display: inline; font-size: inherit; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps li { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step-num {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; background: var(--primary); color: #fff;
  font-family: 'Fredoka', sans-serif; font-size: 19px; font-weight: 600;
}
.steps h3 { margin: 14px 0 6px; font-size: 24px; }
.steps p { margin: 0; color: var(--text-soft); font-size: 15px; }

/* ---------- Plan builder ---------- */
.plan-card {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: 28px; overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-soft);
}
.plan-controls { padding: 28px; display: grid; gap: 20px; align-content: start; }
.field { display: grid; gap: 7px; }
.field label, .field-label { font-size: 13px; font-weight: 700; color: var(--text); }
.field select, .booking-form input, .booking-form textarea, .booking-form select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: 14px;
  background: var(--background); color: var(--text); font-size: 15px;
}
.field select:focus, .booking-form input:focus, .booking-form textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .2);
}
.segmented { display: inline-flex; padding: 4px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--background); width: fit-content; }
.segmented label { margin: 0; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: block; padding: 8px 20px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--text-soft); }
.segmented input:checked + span { background: var(--primary); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid rgba(var(--primary-rgb), .55); outline-offset: 2px; }

.stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--background); width: fit-content; }
.stepper button {
  width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: var(--primary-pale); color: var(--primary-dark);
  font-size: 22px; line-height: 1; font-weight: 700; cursor: pointer;
}
.stepper button:hover:not(:disabled) { background: var(--primary); color: #fff; }
.stepper button:disabled { opacity: .4; cursor: default; }
.stepper output { min-width: 40px; text-align: center; font-weight: 700; font-size: 17px; }

.check { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--primary); }

.plan-total {
  padding: 30px 28px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  background: linear-gradient(160deg, var(--primary-pale), var(--plan-total-end));
  border-left: 1px solid var(--line);
}
.plan-total-label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--primary-dark); }
.plan-total-price { font-family: 'Fredoka', sans-serif; font-size: 68px; line-height: 1.05; font-weight: 600; margin-top: 6px; }
.plan-total-price small { font-size: 20px; color: var(--text-soft); margin-left: 6px; font-weight: 500; }
.plan-total-note { margin: 6px 0 22px; color: var(--text-soft); font-size: 14px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.about-grid h2 { margin: 0 0 16px; font-size: clamp(34px, 4.2vw, 48px); line-height: 1.08; }
.about-text { margin: 0 0 14px; color: var(--text-soft); max-width: 520px; }
.info-card { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.info-card h3 { margin: 0 0 12px; font-size: 22px; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.day {
  padding: 9px 0; text-align: center; border-radius: 12px;
  background: var(--background); border: 1px solid var(--line);
  color: var(--muted); font-size: 12px; font-weight: 700;
}
.day.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.info-note { margin: 12px 0 24px; color: var(--text-soft); font-size: 14px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list a, .contact-list span { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-size: 15px; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--primary); }
.contact-list svg { width: 36px; height: 36px; flex: 0 0 36px; padding: 8px; border-radius: 12px; background: var(--primary-pale); color: var(--primary-dark); }

/* ---------- Footer ---------- */
.site-footer { max-width: 1080px; margin: 0 auto; padding: 22px 20px 34px; color: var(--text-soft); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot-paw { width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; color: var(--primary); }

/* ---------- Booking modal ---------- */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 100;
  padding: 22px 14px; background: rgba(0, 0, 0, .56); backdrop-filter: blur(5px);
  overflow-y: auto; align-items: flex-start; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  width: min(560px, 100%); margin: auto 0; padding: 28px; position: relative;
  border: 1px solid var(--line); border-radius: 26px;
  background: var(--surface); box-shadow: 0 30px 80px rgba(0,0,0,.25);
}
.modal-close {
  position: absolute; right: 16px; top: 14px; width: 38px; height: 38px;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--background); color: var(--text-soft); cursor: pointer; font-size: 21px; line-height: 1;
}
.modal-close:hover { color: var(--text); border-color: var(--line-strong); }
.modal h3 { margin: 0 48px 3px 0; font-size: 32px; line-height: 1.1; }
.modal .modal-sub { color: var(--primary-dark); font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.modal .section-label { margin: 22px 0 8px; color: var(--primary-dark); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.option-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 14px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface-soft); font-size: 14px;
}
.option-row + .option-row { margin-top: 8px; }
.option-row .opt-name small { display: block; color: var(--text-soft); font-size: 12px; }
.option-row.check-row { cursor: pointer; justify-content: flex-start; gap: 10px; }
.option-row.check-row input { width: 18px; height: 18px; accent-color: var(--primary); }
.calendar { padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--background); }
.calendar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-family: 'Fredoka', sans-serif; font-size: 20px; font-weight: 600; }
.calendar-nav { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--primary); cursor: pointer; }
.calendar-nav:disabled { opacity: .35; cursor: default; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; }
.calendar-grid .dow { padding-bottom: 4px; color: var(--text-soft); font-size: 11px; font-weight: 700; }
.calendar-day { min-width: 0; height: 42px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--muted); cursor: not-allowed; font-size: 13px; }
.calendar-day.available { border-color: var(--line-strong); background: var(--surface); color: var(--text); cursor: pointer; font-weight: 600; }
.calendar-day.available:hover { border-color: var(--primary); color: var(--primary); }
.calendar-day.selected { background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 700; }
.calendar-note { margin: 10px 0 0; color: var(--text-soft); font-size: 12px; text-align: center; }
.time-slots { display: flex; flex-wrap: wrap; gap: 7px; }
.time-slot { padding: 8px 13px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--text); cursor: pointer; font-size: 13px; }
.time-slot:hover { border-color: var(--primary); color: var(--primary); }
.time-slot.selected { background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 700; }
.contact-line { margin: 2px 0; color: var(--text-soft); font-size: 13px; }
.booking-form { display: grid; gap: 9px; }
.booking-form textarea { min-height: 80px; resize: vertical; }
.day-picks { display: flex; flex-wrap: wrap; gap: 7px; }
.day-picks label { cursor: pointer; }
.day-picks input { position: absolute; opacity: 0; pointer-events: none; }
.day-picks span { display: block; padding: 8px 15px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--surface); }
.day-picks input:checked + span { background: var(--primary); color: #fff; border-color: var(--primary); }
.day-picks input:focus-visible + span { outline: 3px solid rgba(var(--primary-rgb), .55); outline-offset: 2px; }
.confirm-button { width: 100%; min-height: 50px; margin-top: 18px; border: 0; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 700; font-size: 16px; cursor: pointer; }
.confirm-button:hover:not(:disabled) { background: var(--primary-dark); }
.confirm-button:disabled { background: var(--disabled); cursor: not-allowed; }
.booking-summary { margin-top: 14px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); color: var(--text-soft); font-size: 13px; line-height: 1.6; }
.booking-error { margin-top: 12px; color: var(--error); font-size: 13px; font-weight: 600; }
.confirmation-view { padding: 10px 0 2px; text-align: center; }
.confirmation-view .checkmark { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 14px; border-radius: 50%; background: var(--green); color: #fff; }
.confirmation-view .checkmark svg { width: 32px; height: 32px; fill: currentColor; }
.confirmation-view h3 { margin: 0 0 6px; font-size: 32px; }
.confirmation-view p { color: var(--text-soft); font-size: 14px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { max-width: 340px; order: -1; }
  .about-grid { grid-template-columns: 1fr; }
  .plan-card { grid-template-columns: 1fr; }
  .plan-total { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 72px; }
  .topbar { padding: 10px 14px; }
  .brand { font-size: 21px; }
  .site-nav { gap: 4px; }
  .theme-toggle { width: 38px; height: 38px; flex-basis: 38px; }
  .pill-button { min-height: 38px; padding: 7px 10px; margin-left: 0; font-size: 12px; }
  .nav-link { display: none; }
  .hero { margin: 10px 10px 0; padding: 26px 20px 28px; border-radius: 28px; }
  .hero-photo { border-radius: 150px 150px 26px 26px; max-width: 280px; }
  .hero-actions .primary-button, .hero-actions .secondary-button { flex: 1 1 100%; }
  .section { padding: 60px 16px; }
  .section.soft { padding-inline: 16px; }
  .walk-grid, .extras, .steps { grid-template-columns: 1fr; }
  .plan-controls, .plan-total { padding: 22px 18px; }
  .plan-total-price { font-size: 56px; }
  .plan-total .primary-button { width: 100%; }
  .modal-overlay { padding: 10px; }
  .modal { padding: 24px 16px 18px; border-radius: 22px; }
}

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