:root {
  --bg: #fbfaf7;
  --card: #ffffff;
  --ink: #181714;
  --muted: #6d6a62;
  --line: #e9e4d8;
  --accent: #b9824f;
  --accent-dark: #7a4f2d;
  --green: #7f9f73;
  --shadow: 0 24px 70px rgba(46, 36, 21, 0.09);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(185, 130, 79, 0.14), transparent 34rem),
    linear-gradient(180deg, #fffdfa 0%, var(--bg) 100%);
  color: var(--ink);
}

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

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

.site-header {
  align-items: center;
  background: var(--bg);
  border-bottom: 1px solid rgba(233, 228, 216, 0.8);
  display: flex;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 72px);
  position: relative;
}

.brand,
.site-header nav,
.hero-actions,
.trust-list,
.area-tags {
  align-items: center;
  display: flex;
  gap: 14px;
}

.brand {
  font-weight: 750;
  letter-spacing: -0.03em;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 50%;
  color: white;
  display: inline-flex;
  font-size: 12px;
  height: 38px;
  justify-content: center;
  letter-spacing: 0;
  width: 38px;
}

.site-header nav {
  color: var(--muted);
  font-size: 14px;
}

.site-header nav a {
  padding: 10px 4px;
}

.nav-cta {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  padding: 10px 16px !important;
}

.social-link {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-weight: 700;
  gap: 9px;
  margin-top: 22px;
  padding: 11px 18px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.hero,
.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 82px clamp(20px, 5vw, 44px);
}

.hero {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  min-height: 720px;
}

.eyebrow {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: -0.06em;
  line-height: 0.98;
}

h1 {
  font-size: clamp(52px, 8vw, 96px);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(38px, 5vw, 64px);
  margin-bottom: 18px;
}

h3 {
  font-size: 20px;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-text {
  font-size: 20px;
  max-width: 680px;
}

.button {
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  padding: 15px 23px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--ink);
  box-shadow: 0 14px 32px rgba(24, 23, 20, 0.18);
  color: white;
}

.button.ghost {
  background: white;
}

.trust-list {
  color: var(--muted);
  flex-wrap: wrap;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.trust-list li {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
}

.dog-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.dog-card,
.tracking-card,
.feature-card,
.availability,
.contact-form,
.map-card,
.about-photo,
.admin-card,
.track-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(233, 228, 216, 0.92);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.dog-card {
  min-height: 230px;
  overflow: hidden;
  padding: 8px;
  position: relative;
}

.dog-card.large {
  grid-row: span 2;
}

.dog-card img {
  border-radius: 26px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.dog-card img.align-left {
  object-position: left center;
}

.tracking-card {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 190px;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.tracking-card strong {
  font-size: 24px;
  letter-spacing: -0.04em;
}

.tracking-map-preview {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center bottom;
  position: absolute;
  width: 100%;
}

.tracking-time-preview {
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(24, 23, 20, 0.18);
  display: block;
  max-width: 72%;
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
}

.tracking-copy {
  background: linear-gradient(180deg, rgba(24, 23, 20, 0.05), rgba(24, 23, 20, 0.46));
  color: white;
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: start;
  padding: 20px;
  position: absolute;
  z-index: 2;
}

.section-heading {
  margin-bottom: 28px;
  max-width: 760px;
}

.steps-path {
  align-items: center;
  display: flex;
  gap: clamp(18px, 6vw, 72px);
  margin: 28px 0 52px;
  opacity: 0.78;
}

.paw-print {
  height: 44px;
  position: relative;
  transform: rotate(-16deg);
  width: 42px;
}

.paw-print::before {
  background: var(--accent);
  border-radius: 58% 42% 55% 45%;
  bottom: 4px;
  box-shadow: 0 8px 20px rgba(122, 79, 45, 0.12);
  content: "";
  height: 22px;
  left: 10px;
  position: absolute;
  transform: rotate(8deg);
  width: 24px;
}

.paw-print::after {
  background:
    radial-gradient(circle at 8px 9px, var(--accent) 0 6px, transparent 7px),
    radial-gradient(circle at 21px 4px, var(--accent) 0 6px, transparent 7px),
    radial-gradient(circle at 34px 9px, var(--accent) 0 6px, transparent 7px);
  content: "";
  height: 20px;
  left: 0;
  position: absolute;
  top: 0;
  width: 42px;
}

.paw-print:nth-child(even) {
  transform: translateY(18px) rotate(17deg);
}

.paw-print:nth-child(3) {
  opacity: 0.7;
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  padding: 28px;
}

.feature-card p {
  font-size: 15px;
  margin-bottom: 0;
}

.price-card {
  background: var(--ink);
  color: white;
}

.price-card p {
  color: rgba(255, 255, 255, 0.72);
}

.split {
  align-items: center;
  display: grid;
  gap: 52px;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 1fr);
}

.area-subhead {
  color: var(--accent-dark);
  display: inline-block;
  font-size: 0.5em;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 6px;
}

.hero-subhead {
  color: var(--accent-dark);
  display: inline-block;
  font-size: 0.42em;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 10px;
}

.area-tags {
  flex-wrap: wrap;
  margin-top: 28px;
}

.area-tags span {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-dark);
  font-weight: 800;
  padding: 10px 14px;
}

.map-card {
  height: 420px;
  overflow: hidden;
  position: relative;
}

.leaflet-area-map {
  border-radius: 26px;
  inset: 8px;
  overflow: hidden;
  position: absolute;
}

.leaflet-area-map .leaflet-control-attribution {
  font-size: 10px;
}

.leaflet-area-map .area-tooltip {
  background: rgba(24, 23, 20, 0.82);
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  color: white;
  font-weight: 800;
  padding: 6px 12px;
}

.leaflet-area-map .area-tooltip::before {
  display: none;
}

.about-photo {
  padding: 8px;
}

.booking-layout {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: 0.72fr 1fr;
}

.availability,
.contact-form {
  padding: 30px;
}

.availability {
  align-self: start;
}

.time-row {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 8px;
  padding: 18px 0;
}

.time-row span {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.contact-form label,
.admin-form label {
  color: var(--muted);
  display: grid;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
}

.wide {
  grid-column: 1 / -1;
}

input,
textarea,
select {
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  font: inherit;
  outline: none;
  padding: 14px 15px;
  width: 100%;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(185, 130, 79, 0.12);
}

.hidden-field {
  display: none;
}

.form-status {
  font-weight: 800;
  grid-column: 1 / -1;
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 auto;
  max-width: 1180px;
  padding: 30px clamp(20px, 5vw, 44px);
}

.site-footer p {
  font-size: 14px;
  margin: 0;
}

.footer-copyright {
  color: var(--muted);
  font-size: 12px;
}

.admin-body,
.track-body {
  min-height: 100vh;
}

.admin-shell,
.track-shell {
  margin: 0 auto;
  max-width: 980px;
  padding: 48px 20px;
}

.admin-card,
.track-card {
  margin-top: 18px;
  padding: 26px;
}

.admin-form {
  display: grid;
  gap: 14px;
  max-width: 420px;
}

.lead-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.lead-item {
  border: 1px solid var(--line);
  border-radius: 24px;
  display: grid;
  gap: 10px;
  padding: 18px;
}

.lead-meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tracking-map {
  border: 1px solid var(--line);
  border-radius: 24px;
  height: 420px;
  overflow: hidden;
  width: 100%;
}

.tracking-map .leaflet-container {
  background: #f5f1e8;
  height: 100%;
  width: 100%;
}

.tracking-map .map-placeholder {
  color: var(--muted);
  margin: 0;
  padding: 24px;
}

.tracking-map iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

.tracking-map img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.route-preview {
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: 24px;
  height: 220px;
  margin-top: 16px;
  width: 100%;
}

.timer {
  font-size: clamp(42px, 8vw, 76px);
  font-weight: 850;
  letter-spacing: -0.06em;
  margin: 14px 0;
}

.admin-timer {
  font-size: clamp(34px, 7vw, 58px);
  margin: 8px 0 12px;
}

.active-walk-panel {
  background: rgba(127, 159, 115, 0.08);
  border: 1px solid rgba(127, 159, 115, 0.28);
  border-radius: 24px;
  display: grid;
  gap: 12px;
  margin-bottom: 8px;
  padding: 20px;
}

.tracking-link-field {
  color: var(--muted);
  display: grid;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
}

.tracking-status {
  color: #516d48;
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.tracking-help {
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  padding: 14px 16px;
}

.tracking-help p {
  margin: 0 0 8px;
}

.tracking-help ol {
  margin: 0;
  padding-left: 18px;
}

.tracking-help li + li {
  margin-top: 6px;
}

.dashboard-section-title {
  font-size: clamp(24px, 4vw, 30px);
  margin: 28px 0 14px;
}

.lead-item-compact {
  gap: 12px;
}

.lead-item-compact h3 {
  margin: 0;
}

.empty-note {
  color: var(--muted);
  margin: 0;
}

.button.danger {
  color: #9a4b4b;
}

.button.danger:hover {
  border-color: rgba(154, 75, 75, 0.35);
  color: #7d3535;
}

.status-pill {
  background: rgba(127, 159, 115, 0.14);
  border: 1px solid rgba(127, 159, 115, 0.35);
  border-radius: 999px;
  color: #516d48;
  display: inline-flex;
  font-weight: 850;
  padding: 8px 13px;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 920px) {
  .site-header nav a:not(.nav-cta) {
    display: none;
  }

  .hero,
  .section {
    padding-block: 52px;
  }

  .hero,
  .split,
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 32px;
    min-height: auto;
  }

  .split {
    gap: 28px;
  }

  .about.split > div {
    order: 1;
  }

  .about.split .about-photo {
    order: 2;
    width: 100%;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .steps-path {
    gap: clamp(12px, 4vw, 48px);
    margin: 22px 0 38px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .hero,
  .section {
    padding-block: 36px;
  }

  .hero {
    gap: 22px;
  }

  .split {
    gap: 22px;
  }

  .section-heading {
    margin-bottom: 14px;
  }

  .steps-path {
    gap: 10px;
    margin: 18px 0 28px;
  }

  h1 {
    margin-bottom: 16px;
  }

  h2 {
    margin-bottom: 12px;
  }

  .area-tags {
    margin-top: 18px;
  }

  .feature-card {
    padding: 22px;
  }

  .dog-grid,
  .contact-form,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    padding-block: 22px;
  }

  .map-card {
    height: 320px;
  }

  .admin-shell,
  .track-shell {
    padding: 24px 16px;
  }

  .admin-card,
  .track-card {
    border-radius: 24px;
    margin-top: 12px;
    padding: 20px 16px;
  }

  .lead-item,
  .active-walk-panel {
    border-radius: 18px;
    padding: 14px;
  }

  .tracking-map {
    border-radius: 18px;
    height: 300px;
  }

  .route-preview {
    border-radius: 18px;
    height: 180px;
    margin-top: 12px;
  }

  .dashboard-section-title {
    margin: 22px 0 12px;
  }

  .admin-actions {
    gap: 8px;
  }
}
