:root {
  --cream: #FDF3E3;
  --cream-deep: #F6E7CE;
  --ink: #3B2E25;
  --ink-soft: #7A6A5C;
  --terra: #E8743B;
  --terra-deep: #C95A26;
  --sage: #7FA678;
  --cal-free: #F2DEBB;
  --busy: #DCC9AE;
  --busy-text: #8A7660;
  --holiday: #D98A1F;
  --card: #FFFBF4;
  --radius: 22px;
  --shadow: 0 6px 24px rgba(75, 50, 25, 0.10);
}

/* ---------- Paws & Tails (alternate-domain palette) ----------
   Applied when the host is pawsandtails.space. The data-brand attribute is set
   on <html> by the inline boot script in each page's <head> — before first
   paint, so the page never flashes the default warm palette. The variable names
   are legacy/semantic (terra, sage, cream); only their values change here, from
   the cozy terracotta scheme to a cooler indigo + teal one. */
html[data-brand="pawsandtails"] {
  --cream: #F1F0FB;
  --cream-deep: #E3E1F5;
  --ink: #2B2740;
  --ink-soft: #6A6588;
  --terra: #5A4BD4;
  --terra-deep: #4031A8;
  --sage: #14B8A6;
  --cal-free: #E7E4F8;
  --busy: #D6D1EC;
  --busy-text: #6A6588;
  --holiday: #E08A1F;
  --card: #FCFCFF;
  --shadow: 0 6px 24px rgba(45, 35, 110, 0.12);
}
/* Ambient corner glows + the few hardcoded warm accents that don't read from
   the variables above — recoloured to keep the indigo scheme cohesive. */
html[data-brand="pawsandtails"] body {
  background:
    radial-gradient(circle at 85% -5%, #DAD3F5 0%, transparent 45%),
    radial-gradient(circle at -10% 30%, #E6E1F8 0%, transparent 40%),
    var(--cream);
}
html[data-brand="pawsandtails"] .cal-day.in-range { background: #C9C1F3; color: #2F2580; }
html[data-brand="pawsandtails"] .service-btn.selected { background: #ECE9FB; }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

/* Kill double-tap-to-zoom everywhere (rapid taps were zooming the page).
   touch-action is not inherited, so this must hit every element — taps on
   card backgrounds or text zoomed too. Scrolling and pinch-zoom still work. */
* {
  touch-action: manipulation;
}

body {
  font-family: 'Karla', sans-serif;
  background:
    radial-gradient(circle at 85% -5%, #FAE3C0 0%, transparent 45%),
    radial-gradient(circle at -10% 30%, #FBEAD3 0%, transparent 40%),
    var(--cream);
  color: var(--ink);
  min-height: 100vh;
  padding: 0 16px calc(40px + env(safe-area-inset-bottom));
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}

.paw-bg {
  position: fixed;
  font-size: 300px;
  opacity: 0.045;
  top: -60px;
  right: -100px;
  transform: rotate(-25deg);
  pointer-events: none;
  z-index: 0;
}

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

.hero {
  text-align: center;
  padding: 36px 0 22px;
  position: relative;
  z-index: 1;
  animation: rise 0.5s ease both;
}

.hero-home {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.hero-home:active .hero-badge { transform: rotate(-6deg) scale(0.94); }

.hero-badge {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  background: var(--terra);
  border-radius: 50% 50% 50% 12px;
  display: grid;
  place-items: center;
  font-size: 38px;
  box-shadow: var(--shadow);
  transform: rotate(-6deg);
}

h1 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: clamp(2.1rem, 9vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.tagline {
  margin-top: 10px;
  color: var(--ink-soft);
  font-style: italic;
}

/* ---------- cards ---------- */

.card-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 18px;
  animation: rise 0.5s ease both;
}

.card:nth-child(2) { animation-delay: 0.07s; }
.card:nth-child(3) { animation-delay: 0.14s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.step-label {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

/* Paw-bulleted tips list (mirrors the how-to pages, reused on the booking page). */
.tips { margin: 4px 0 0; padding-left: 1.1rem; }
.tips li { margin-bottom: 9px; color: var(--ink); font-size: 0.93rem; line-height: 1.45; }
.tips li::marker { content: "🐾  "; }
.tips a { color: var(--terra-deep); font-weight: 700; }

.step-num {
  background: var(--ink);
  color: var(--cream);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  flex: none;
}

/* ---------- calendar ---------- */

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cal-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
}

.cal-nav {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 12px;
  background: var(--cream-deep);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s;
}

.cal-nav:active { transform: scale(0.92); }
.cal-nav:disabled { opacity: 0.25; cursor: default; }

.cal-weekdays, .cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

/* Placeholder shown across the whole grid while availability loads lazily. */
.cal-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 28px 12px;
  color: #5F5142;
  font-size: 0.92rem;
}

.cal-weekdays span {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #5F5142;
  padding: 6px 0;
}

.cal-day {
  aspect-ratio: 1;
  border: none;
  background: var(--cal-free);
  border-radius: 12px;
  font-family: 'Karla', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  transition: transform 0.12s ease, background 0.15s, color 0.15s;
}

.cal-day:active:not(:disabled) { transform: scale(0.9); }

.cal-day.empty { background: transparent; pointer-events: none; }

.cal-day:disabled {
  background: var(--busy);
  color: var(--busy-text);
  cursor: default;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.cal-day.past:disabled {
  background: transparent;
  text-decoration: none;
  color: #B3A28C;
}

.cal-day.in-range {
  background: #F5BD96;
  color: #A8480E;
  border-radius: 0;
}

.cal-day.range-start, .cal-day.range-end {
  background: var(--terra);
  color: #fff;
  font-weight: 700;
}

.cal-day.range-start { border-radius: 12px 0 0 12px; }
.cal-day.range-end { border-radius: 0 12px 12px 0; }
.cal-day.range-start.range-end { border-radius: 12px; }
.cal-day.partial.free-late { background: linear-gradient(135deg, var(--busy) 50%, var(--cal-free) 50%); }
.cal-day.partial.free-early { background: linear-gradient(135deg, var(--cal-free) 50%, var(--busy) 50%); }
.cal-day.partial.free-mid { background: linear-gradient(135deg, var(--busy) 25%, var(--cal-free) 25% 75%, var(--busy) 75%); }
.cal-day.range-start.free-late { background: linear-gradient(135deg, var(--busy) 50%, var(--terra) 50%); color: #fff; }
.cal-day.range-end.free-early { background: linear-gradient(135deg, var(--terra) 50%, var(--busy) 50%); color: #fff; }
.cal-day.range-start.free-mid, .cal-day.range-end.free-mid { background: linear-gradient(135deg, var(--terra) 25%, var(--cal-free) 25% 75%, var(--terra) 75%); color: var(--terra-deep); font-weight: 700; }

.cal-grid.shake { animation: shake 0.4s ease; }

@keyframes shake {
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  justify-content: center;
  margin-top: 14px;
  font-size: 0.78rem;
  color: #5F5142;
}

.cal-legend span { display: flex; align-items: center; gap: 5px; }

.dot { width: 11px; height: 11px; border-radius: 4px; display: inline-block; }
.dot-free { background: var(--cal-free); }
.dot-busy { background: var(--busy); }
.dot-sel { background: var(--terra); }
.dot-partial { background: linear-gradient(135deg, var(--busy) 50%, var(--cal-free) 50%); }

/* Holiday-rate marker: a small gold star in the cell corner. Sits on top of any
   background state (free, busy, partial, selected) without altering it. */
.holiday-star { font-style: normal; color: var(--holiday); font-size: 0.95rem; line-height: 1; }
.cal-day.holiday::after {
  content: '★';
  position: absolute;
  top: 2px;
  right: 3px;
  font-size: 0.6rem;
  line-height: 1;
  color: var(--holiday);
  pointer-events: none;
}
/* Keep the star legible on the orange selected/edge cells. */
.cal-day.holiday.in-range::after,
.cal-day.holiday.range-start::after,
.cal-day.holiday.range-end::after { color: #FFF1DD; }

.range-summary {
  text-align: center;
  margin-top: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  min-height: 1.4em;
  transition: color 0.2s;
}

.range-summary.has-range { color: var(--terra-deep); }

/* ---------- service picker ---------- */

.service-toggle {
  display: flex;
  gap: 12px;
}

.service-btn {
  flex: 1;
  border: 2px solid var(--cream-deep);
  border-radius: 16px;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 14px 8px 12px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}

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

.service-btn .service-emoji {
  display: block;
  font-size: 1.7rem;
  margin-bottom: 4px;
}

.service-btn small {
  display: block;
  margin-top: 3px;
  font-family: 'Karla', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.service-btn.selected {
  border-color: var(--terra);
  background: #FCEBDD;
}

.walks-time-note {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  cursor: pointer;
}
.checkbox-field input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--terra);
}
.checkbox-field span { font-size: 0.9rem; line-height: 1.35; }
.checkbox-field small { display: block; color: var(--ink-soft); }
.checkbox-field + .checkbox-field { margin-top: 14px; }

.adventure-examples { margin: 10px 0 14px 30px; font-size: 0.82rem; }

/* "How many of the walks?" — label and dropdown side by side. */
.field.adventure-count-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 14px 30px;
}
.field.adventure-count-row > span { flex: 1; margin-bottom: 0; }
.field.adventure-count-row select { flex: 1; width: auto; min-width: 0; }

.price-summary {
  text-align: center;
  margin: 0 0 4px;
  font-weight: 700;
  color: var(--terra-deep);
}
.price-summary small {
  display: block;
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.time-note { display: block; margin-top: 4px; font-size: 0.72rem; color: var(--ink-soft); }

/* ---------- form fields ---------- */

.time-row { display: flex; gap: 12px; }
.time-row .field { flex: 1; }

.field { display: block; margin-bottom: 12px; }
.field:last-child { margin-bottom: 0; }

.field > span {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 6px;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.field > span small {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 14px;
  border: 2px solid var(--cream-deep);
  border-radius: 14px;
  background: #fff;
  font-family: 'Karla', sans-serif;
  font-size: 1.05rem;
  color: var(--ink);
  transition: border-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

/* Custom chevron for the time dropdowns (native arrow is stripped by appearance:none). */
.field select {
  padding-right: 38px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%238a6f5a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--terra);
}

.field textarea {
  resize: vertical;
  min-height: 84px;
}

/* ---------- buttons & messages ---------- */

.big-btn {
  width: 100%;
  padding: 17px;
  border: none;
  border-radius: 18px;
  background: var(--terra);
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 6px 0 var(--terra-deep);
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.2s;
}

.big-btn:active:not(:disabled) {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--terra-deep);
}

.big-btn:disabled { opacity: 0.45; cursor: default; }

.big-btn.ghost {
  background: transparent;
  color: var(--terra-deep);
  box-shadow: none;
  border: 2px solid var(--terra);
  margin-top: 18px;
}

.form-error {
  background: #FBE3DC;
  color: #A8401F;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.92rem;
  text-align: center;
}

/* Client cancellation: a quiet trigger that opens a two-step confirm. */
.status-cancel { margin-top: 14px; }
.cancel-trigger {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: var(--ink-soft);
  font-family: 'Fredoka', sans-serif;
  font-size: 0.95rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 8px;
}
.cancel-confirm-q { font-weight: 700; text-align: center; margin: 4px 0 12px; }
.cancel-confirm-actions { display: flex; flex-direction: column; gap: 10px; }
.cancel-confirm-actions .big-btn.ghost { margin-top: 0; }
.big-btn.danger { background: #B23B2E; box-shadow: 0 6px 0 #8A2C22; }
.big-btn.danger:active:not(:disabled) { box-shadow: 0 2px 0 #8A2C22; }

/* Editing an existing booking: show only the form itself — hide the intro,
   saved-bookings list, notification nudge, reviews, and the (unchangeable)
   phone field. */
body.editing #about-card,
body.editing #my-bookings-card,
body.editing #form-updates,
body.editing #reviews-card,
body.editing #phone-card { display: none; }

.fine-print {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.82rem;
  padding: 0 12px;
}
.fine-print a { color: var(--terra-deep); font-weight: 700; }

/* ---------- status view ---------- */

.status-card { text-align: center; padding: 32px 22px; }

.status-emoji { font-size: 60px; animation: bounce 1.2s ease infinite; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.status-card h2 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.7rem;
  margin: 12px 0 8px;
}

#status-detail { color: var(--ink-soft); margin-bottom: 16px; }

.status-summary {
  background: var(--cream-deep);
  border-radius: 16px;
  padding: 14px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 14px;
}

/* ---------- upcoming bookings on the main page ---------- */

.my-bookings-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.my-booking-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--cream-deep);
  border: none;
  border-radius: 16px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.my-booking-btn small {
  display: block;
  font-weight: 400;
  color: var(--ink-soft);
}

.my-booking-go {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.5rem;
  color: var(--ink-soft);
}

.my-booking-btn.dimmed { opacity: 0.55; }

.my-bookings-toggle {
  background: none;
  border: none;
  padding: 4px 0;
  margin-top: 10px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-decoration: underline dotted;
  cursor: pointer;
}

#my-bookings-hidden { margin-top: 10px; }

/* ---------- reviews ---------- */

/* No-JS / pre-enhancement fallback: reviews stack with separators. Once JS
   adds .is-carousel, only the active one shows and the controls appear. */
.reviews:not(.is-carousel) .review + .review {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--cream-deep);
}
.reviews.is-carousel { min-height: 150px; }
.reviews.is-carousel .review { display: none; }
.reviews.is-carousel .review.is-active { display: block; animation: rise 0.3s ease both; }

.review blockquote {
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--ink);
}

.review figcaption {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
}
.review-name {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
}
.review-meta {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.review-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
}
.review-nav {
  width: 40px;
  height: 40px;
  flex: none;
  border: none;
  border-radius: 50%;
  background: var(--cream-deep);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.12s ease, background 0.15s ease;
}
.review-nav:hover { background: var(--busy); }
.review-nav:active { transform: scale(0.92); }
.review-counter {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
  min-width: 52px;
  text-align: center;
}

/* ---------- about / bio ---------- */

.about > summary,
.gallery-details > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}
.about > summary::-webkit-details-marker,
.gallery-details > summary::-webkit-details-marker { display: none; }
.about > summary:focus-visible,
.gallery-details > summary:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 12px; }

.about-avatar {
  width: 52px;
  height: 52px;
  flex: none;
  background: var(--cream-deep);
  border-radius: 50%;
  overflow: hidden;
}
.about-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-head {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}
.about-head small {
  font-family: 'Karla', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.about-chevron {
  flex: none;
  color: var(--ink-soft);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.25s ease;
}
.about[open] .about-chevron,
.gallery-details[open] .about-chevron { transform: rotate(180deg); }

.about-body {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: rise 0.3s ease both;
}
.about-body p {
  color: var(--ink-soft);
  line-height: 1.55;
  font-size: 0.95rem;
}
.about-signoff {
  color: var(--ink);
  font-weight: 700;
}

/* ---------- misc ---------- */

.loading {
  text-align: center;
  padding: 50px 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.loading-paw { display: inline-block; animation: bounce 1s ease infinite; }

/* ---------- add-to-home-screen ---------- */

/* Install prompt on the confirmation screen — a separated block inside the
   centred status card. */
.status-install {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--cream-deep);
}

.status-install-lead {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.status-install-sub {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0 auto 14px;
  max-width: 320px;
}

.status-install-android { margin-top: 8px; }

/* The same notify/install prompt shown on the booking form (not just the
   confirmation screen) — centred to match. */
#form-updates { text-align: center; }

/* Host + emergency contacts on the confirmation screen. */
.status-contact {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--cream-deep);
}
.status-contact-head {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.status-contact-line {
  font-size: 0.95rem;
  color: var(--ink);
  margin: 4px 0;
}
.status-contact-tel {
  color: var(--terra-deep);
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
  white-space: nowrap;
}
.status-contact-emergency { color: var(--ink-soft); }

.install-btn {
  border: 2px solid var(--terra);
  background: transparent;
  color: var(--terra-deep);
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 11px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s;
}

.install-btn:active { transform: scale(0.95); }

.install-howto {
  margin: 14px auto 0;
  max-width: 340px;
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 14px 16px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink);
  text-align: left;
  animation: rise 0.3s ease both;
}

.share-glyph {
  display: inline-block;
  color: var(--terra-deep);
  font-weight: 700;
}

/* ---------- local dog guide (info card) ---------- */

.info-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  border: 2px solid var(--cream-deep);
  border-radius: 16px;
  padding: 14px;
  transition: border-color 0.15s ease, transform 0.1s ease;
}
.info-link:active { transform: translateY(1px); border-color: var(--terra); }
.info-link + .info-link { margin-top: 12px; }
.info-link[hidden] { display: none; }

.info-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 14px;
}

.info-emoji {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: var(--cal-free);
  border-radius: 50% 50% 50% 12px;
}

.info-text { display: flex; flex-direction: column; gap: 3px; }
.info-text strong { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 1.02rem; }
.info-text small { color: var(--ink-soft); font-size: 0.86rem; line-height: 1.35; }

.info-chevron {
  flex: none;
  margin-left: auto;
  font-size: 1.6rem;
  color: var(--terra);
  font-family: 'Fredoka', sans-serif;
}

.footer {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.78rem;
  padding-top: 34px;
  opacity: 0.8;
}

.footer-areas,
.footer-towns,
.footer-services {
  margin-bottom: 8px;
  color: var(--ink-soft);
}

/* De-emphasised — present for local SEO, not meant to draw the eye. */
.footer-addresses {
  margin-bottom: 8px;
  font-size: 0.7rem;
  color: var(--ink-soft);
  opacity: 0.6;
  font-style: normal;
}

.footer-legal { margin-bottom: 8px; }
.footer-legal a { color: var(--terra-deep); font-weight: 700; }

.footer-saas {
  display: block;
  margin-top: 6px;
  color: var(--terra-deep);
  font-weight: 700;
  text-decoration: underline dotted;
}

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

.gallery-body {
  margin-top: 14px;
}

.gallery {
  position: relative;
}

/* Horizontal scroll-snap track — native momentum swipe on touch. The negative
   inline margin + matching scroll-padding lets the active slide sit flush with
   the card edge while a sliver of the next photo peeks in to signal swipe. */
.gallery-track {
  display: flex;
  gap: 12px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-left: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: 16px;
}
.gallery-track::-webkit-scrollbar { display: none; }

.gallery-item {
  flex: 0 0 82%;
  scroll-snap-align: start;
}

.gallery-item figure {
  position: relative;
  margin: 0;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  background: var(--cream-deep);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 14px 12px;
  border-radius: 0 0 16px 16px;
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  background: linear-gradient(transparent, rgba(40, 26, 16, 0.72));
  pointer-events: none;
}
.gallery-item figcaption:empty { display: none; }

/* Desktop / mouse affordance — hidden by default, shown on hover-capable
   pointers. On touch the swipe gesture is the primary control. */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: none;
  place-items: center;
}
.gallery-prev { left: 6px; }
.gallery-next { right: 6px; }
.gallery-arrow:active { transform: translateY(-50%) scale(0.92); }

@media (hover: hover) and (pointer: fine) {
  .gallery-arrow { display: grid; }
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.gallery-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--busy);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.gallery-dot.active {
  background: var(--terra);
  transform: scale(1.35);
}

[hidden] { display: none !important; }
