/* ---------- Heading typeface: Figo Shiftz Editorial SemiBold Italic ---------- */
@font-face {
  font-family: "Figo Shiftz Editorial";
  src: url("../fonts/figoshiftz/figoshiftz-sembdita.woff2") format("woff2"),
       url("../fonts/figoshiftz/figoshiftz-sembdita.woff") format("woff"),
       url("../fonts/figoshiftz/figoshiftz-sembdita.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
/* main headers only: the hero h1 and every section h2 (the price figures keep the body face) */
#dw-sections h1, #dw-sections h2:not(.d-inline),
#dw-sections h1 span, #dw-sections h2:not(.d-inline) span {
  font-family: "Figo Shiftz Editorial", var(--title-font), Helvetica, Arial, sans-serif !important;
  font-weight: 600 !important;
  font-style: italic;
  letter-spacing: .005em;
  line-height: 1.1;
}

:root { color-scheme: light dark; }
html, body { background: #fff; }
body { color: var(--body-font-color); }

/* Dog walking brand layer on top of the Mindthera styles */
:root { --alt-font: var(--title-font); }
.alt-font { font-family: var(--title-font) !important; }
html { scroll-behavior: smooth; }
#dw-sections > section { scroll-margin-top: 90px; }

header div#logo { max-width: none; }
.dw-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  color: #fff;
}
.dw-logo svg { height: 54px; width: auto; display: block; fill: currentColor; }
.dw-logo:hover { color: inherit; }
header.smaller.scroll-light .dw-logo,
header.menu-open .dw-logo { color: #202020; }
.dw-logo-dark, .dw-logo-dark:hover { color: #202020; }
.dw-logo-dark svg { height: 64px; }

@media (max-width: 991px) {
  .dw-logo svg { height: 52px; }
  .dw-logo-dark svg { height: 52px; }
}

/* photo hero: keep white text readable over the bright sky, let the dogs stay bright */
.dw-hero-min { min-height: 680px; display: flex; align-items: center; }
.dw-hero-min > .container { width: 100%; }
.dw-photo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(8, 22, 14, .62) 0%, rgba(8, 22, 14, .34) 38%, rgba(8, 22, 14, 0) 62%),
    linear-gradient(to top, rgba(8, 22, 14, .35) 0%, rgba(8, 22, 14, 0) 22%);
}
.dw-photo-hero .container { position: relative; z-index: 2; }
@media (min-width: 768px) and (max-width: 991px) {
  .dw-hero-min { min-height: 560px; }
  .dw-photo-hero::before {
    background: linear-gradient(to top, rgba(8, 22, 14, .2) 0%, rgba(8, 22, 14, .55) 100%);
  }
}
/* mobile: full-viewport-height hero with text anchored near the bottom */
@media (max-width: 767px) {
  .dw-hero-min { min-height: 100vh; min-height: 100svh; align-items: flex-end !important; padding-bottom: 100px; }
  /* the theme forces the section's own bottom padding to 0, so lift the text block itself */
  .dw-hero-min > .container { margin-bottom: 26px; }
  .dw-photo-hero::before {
    background: linear-gradient(to top, rgba(8, 22, 14, .65) 0%, rgba(8, 22, 14, .3) 45%, rgba(8, 22, 14, .1) 100%);
  }
}

/* booking modal */
.dw-book-open { overflow: hidden; }
.dw-book-modal { position: fixed; inset: 0; z-index: 100010; display: none; }
.dw-book-modal.on { display: block; }
.dw-book-backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 20, 14, .55);
  backdrop-filter: blur(4px);
  animation: dwBookFade .25s ease;
}
.dw-book-card {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 420px; max-width: calc(100vw - 32px);
  background: #fff; border-radius: 20px;
  padding: 36px 32px 32px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  animation: dwBookPop .3s cubic-bezier(.2, .9, .3, 1.15);
}
@keyframes dwBookFade { from { opacity: 0; } }
@keyframes dwBookPop { from { opacity: 0; transform: translate(-50%, -46%) scale(.96); } }
.dw-book-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: #f1f3f2; color: #202020; font-size: 15px; cursor: pointer;
}
.dw-book-close:hover { background: #e4e7e5; }
.dw-book-icon {
  width: 56px; height: 56px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(var(--primary-color-rgb), .12);
  color: var(--primary-color); font-size: 24px;
}
.dw-book-title { margin-bottom: 6px; }
.dw-book-sub { font-size: 15px; margin-bottom: 22px; }
.dw-book-btn {
  display: flex; align-items: center; gap: 14px;
  width: 100%; padding: 14px 18px; margin-bottom: 12px;
  border-radius: 14px; text-align: left;
  border: 1px solid #e7e9e8; background: #fff;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s;
}
.dw-book-btn:last-child { margin-bottom: 0; }
.dw-book-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .1); }
.dw-book-btn i {
  flex: 0 0 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff;
}
.dw-book-wa i { background: #25d366; }
.dw-book-em i { background: var(--primary-color); font-size: 18px; }
.dw-book-wa:hover { border-color: #25d366; }
.dw-book-em:hover { border-color: var(--primary-color); }
.dw-book-btn strong { display: block; color: #202020; font-size: 16px; line-height: 1.2; }
.dw-book-btn em { display: block; font-style: normal; font-size: 13px; color: #7b8893; margin-top: 2px; }

/* pricing band photo: darken evenly so the white heading reads, cards already have their own white backing */
.dw-pricing-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(8, 20, 14, .72) 0%, rgba(8, 20, 14, .5) 30%, rgba(8, 20, 14, .66) 100%);
}
.dw-pricing-photo .container { position: relative; z-index: 2; }

/* mobile header: no hamburger menu, just the green Book a Walk button */
/* no hamburger button at any width */
#menu-btn, header #menu-btn, header.header-mobile #menu-btn, header .menu-btn-show { display: none !important; }
/* hide the dropdown menu on phones only; tablets and desktop get the inline nav */
@media (max-width: 767px) {
  header #mainmenu, header.header-mobile #mainmenu { display: none !important; }
}
/* tablet: show the nav inline, header stays transparent like desktop */
@media (min-width: 768px) and (max-width: 992px) {
  header.header-mobile #mainmenu {
    display: flex !important; flex-direction: row !important; flex-wrap: nowrap;
    position: static !important; width: auto !important; max-width: none !important;
    padding: 0 !important; margin: 0 !important; background: transparent !important;
    overflow: visible !important; height: auto !important;
  }
  header.header-mobile #mainmenu > li { display: inline-block !important; width: auto !important; margin: 0 !important; border: 0 !important; }
  header.header-mobile #mainmenu > li > a {
    display: inline-block !important; padding: 0 10px !important; border: 0 !important;
    color: #202020 !important; font-size: 14px !important; white-space: nowrap;
  }
  header.header-mobile #mainmenu > li > a:hover { color: var(--primary-color) !important; }
  header.header-mobile .h-phone { display: none !important; }
  header.header-mobile .menu_side_area { display: flex; align-items: center; }
}
header.header-mobile .btn-main.d-md-none { display: inline-block !important; }
header .btn-main.d-md-none,
header .btn-main.d-md-none:hover {
  background: var(--secondary-color);
  color: #202020;
  border-color: var(--secondary-color);
}
header .btn-main.d-md-none:hover { filter: brightness(1.05); }
@media (max-width: 575px) {
  header .btn-main.d-md-none { padding: 10px 18px; font-size: 14px; }
}

/* mobile and tablet sticky header: white bar, dark logo (matches desktop's scrolled state) */
@media (max-width: 992px) {
  header.header-mobile {
    background: #fff !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    padding-bottom: 10px !important;
  }
  header.header-mobile .dw-logo { color: #202020; }
}
@media (max-width: 767px) {
  header.header-mobile .h-phone { display: inline-block !important; color: #202020; margin-right: 14px; }
  header.header-mobile .h-phone span { color: #202020; }
  header.header-mobile .h-phone span:first-of-type { color: #7b8893; }
  header.header-mobile .menu_side_area { display: flex; align-items: center; }
}
@media (max-width: 575px) {
  /* smallest phones: drop the number from the bar (it is in the contact bar and the booking popup), keep the button on one line */
  header.header-mobile .h-phone { display: none !important; }
  header .btn-main, header.header-mobile .btn-main { white-space: nowrap; }
  /* Getting Started: one step per row instead of two squashed columns */
  #process .col-lg-3.col-6 { flex: 0 0 100%; max-width: 100%; }
  #process .col-lg-3.col-6 + .col-lg-3.col-6 { margin-top: -36px; }
}
@media (max-width: 767px) {
  #process .col-lg-3.col-6:last-child { margin-bottom: -44px; }
  #pricing .row.g-4 > div:last-child .rounded-10px { margin-bottom: 0 !important; }
}
@media (max-width: 400px) {
  header.header-mobile .h-phone span:first-of-type { display: none; }
}
header.header-mobile .h-phone i { top: 50%; transform: translateY(-50%); }

/* heading accent words: same size, weight and colour as the rest of the heading */
#dw-sections h1 span,
#dw-sections h2:not(.d-inline) span {
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
  margin-left: 0 !important;
}
.dw-book-sms i { background: #4caf6e; }
.dw-book-sms:hover { border-color: #4caf6e; }


/* logo stays left-aligned but vertically centred on the same line as the nav/CTA at every width */
header .de-flex { display: flex !important; align-items: center !important; }
header .de-flex > .de-flex-col { display: flex !important; align-items: center !important; align-self: stretch !important; }
header div#logo { display: flex !important; align-items: center !important; height: 100%; }
header div#logo .dw-logo { display: inline-flex; align-items: center; line-height: 0; }

/* mobile: logo left, phone+button right, everything vertically centred on the bar's midline */
@media (max-width: 992px) {
  header.header-mobile .de-flex { align-items: center; }
  header.header-mobile .de-flex-col,
  header.header-mobile .menu_side_area { display: flex; align-items: center; }
  header.header-mobile div#logo { margin: 0; padding: 0; }
  header.header-mobile div#logo .dw-logo { display: flex; align-items: center; }
  header.header-mobile .de-flex > .de-flex-col { align-self: center !important; }
}

/* hero CTA uses the accent orange */
#hero .btn-main,
#hero .btn-main:hover {
  background: var(--secondary-color);
  color: #202020;
  border-color: var(--secondary-color);
}
#hero .btn-main:hover { filter: brightness(1.05); }

/* nav links horizontal offset from settings: per Bootstrap breakpoint */
header #mainmenu { transition: transform .2s ease; }
@media (max-width: 575px) { header #mainmenu { transform: translateX(var(--dw-nav-x-xs, 0px)); } }
@media (min-width: 576px) and (max-width: 767px) { header #mainmenu { transform: translateX(var(--dw-nav-x-sm, 0px)); } }
@media (min-width: 768px) and (max-width: 991px) { header #mainmenu { transform: translateX(var(--dw-nav-x-md, 0px)); } }
@media (min-width: 992px) and (max-width: 1199px) { header #mainmenu { transform: translateX(var(--dw-nav-x-lg, 0px)); } }
@media (min-width: 1200px) { header #mainmenu { transform: translateX(var(--dw-nav-x-xl, 0px)); } }

/* mobile: extra 50px breathing room between sections, except the gallery strip sits flush under contact */
@media (max-width: 767px) {
  #dw-sections > section + section { margin-top: 50px; }
  #dw-sections > #photo-strip { margin-top: 0 !important; }
}

/* hero paragraph: narrower on tablet/desktop; full width on mobile */
@media (min-width: 768px) {
  #hero p { max-width: calc(100% - 120px); }
}


/* hero image position vars, separate for desktop and mobile */
.dw-hero-img {
  scale: var(--hero-scale-d, 1.5);
  translate: var(--hero-tx-d, 0%) var(--hero-ty-d, 0%);
  object-position: var(--hero-op-d, 50% 50%) !important;
}
@media (max-width: 767px) {
  .dw-hero-img {
    scale: var(--hero-scale-m, 1.2);
    translate: var(--hero-tx-m, 0%) var(--hero-ty-m, 0%);
    object-position: var(--hero-op-m, 50% 50%) !important;
  }
}

/* ---------- Scroll motion (js/motion.js) ---------- */
/* the template's one-shot WOW animations are replaced by replaying ones */
#dw-sections .wow, footer .wow { visibility: visible !important; animation: none !important; }

/* Pre-hide eligible elements from first paint (before motion.js runs), matching
   the same selectors scan() uses. This prevents a flash on mobile refresh where
   content would paint fully, then jump to hidden, then animate back in. */
.dw-motion :where(#dw-sections h1, #dw-sections h2, #dw-sections h3,
    #dw-sections img:not(.jarallax-img),
    #dw-sections .bg-white.rounded-10px:not(.item),
    #dw-sections .accordion-section-title,
    #contact .relative,
    #dw-sections h4:not(.dw-card-head), #dw-sections h5, #dw-sections p, #dw-sections ul,
    #dw-sections .subtitle, #dw-sections .btn-main,
    footer h5, footer p, footer ul, footer .dw-logo),
.dw-motion .dw-m {
  opacity: 0;
  transition: opacity .9s ease, background-color .3s, color .3s, box-shadow .3s, transform .6s cubic-bezier(.2, .7, .2, 1);
  will-change: opacity;
}
.dw-motion .dw-m-head { }
.dw-motion .dw-m-text { }
.dw-motion .dw-m-card { }
.dw-motion .dw-m-img { }

.dw-motion .dw-m.dw-in {
  opacity: 1;
  transition-delay: var(--dw-d, 0ms), 0s, 0s, 0s, 0s;
}

/* blur filters are expensive on mobile first paint; drop them there */
@media (max-width: 767px) {
    .dw-motion :where(#dw-sections h1, #dw-sections h2, #dw-sections h3),
  .dw-motion .dw-m-head { filter: none; }
}

/* no JS? reveal everything after a safety timeout (handled in motion.js too).
   Excludes .jarallax-img so the hero image keeps its custom scale and position. */
.dw-motion.dw-ready-fallback #dw-sections :where(h1, h2, h3, h4, h5, p, ul, .subtitle, .btn-main, .bg-white.rounded-10px, .accordion-section-title),
.dw-motion.dw-ready-fallback #dw-sections img:not(.jarallax-img),
.dw-motion.dw-ready-fallback footer :where(h5, p, ul, .dw-logo),
.dw-motion.dw-ready-fallback #contact .relative {
  opacity: 1; translate: none; scale: 1; filter: none;
}

/* ---------- Mobile header: clear over the hero at the top, white once scrolled (like desktop) ---------- */
@media (max-width: 767px) {
  header.header-mobile { transition: background-color .3s ease, box-shadow .3s ease; }
  header.header-mobile .dw-logo, header.header-mobile .h-phone span { transition: color .3s ease; }
  header.header-mobile:not(.dw-scrolled) { background: transparent !important; box-shadow: none; }
  header.header-mobile:not(.dw-scrolled) .dw-logo { color: #fff; }
  header.header-mobile:not(.dw-scrolled) .h-phone,
  header.header-mobile:not(.dw-scrolled) .h-phone span,
  header.header-mobile:not(.dw-scrolled) .h-phone span:first-of-type { color: #fff; }
}

/* footer gallery hover: smooth zoom on the photo and the plus icon */
#photo-strip .hover-scale-in-3 { transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .4s ease; }
#photo-strip a.hover img { backface-visibility: hidden; }

/* cards: 32px corners (price cards, booking modal) */
#dw-sections .bg-white.rounded-10px { border-radius: 32px !important; }
.dw-book-card { border-radius: 32px !important; }

/* hero pill: frosted glass */
#hero .subtitle {
  background: rgba(255, 255, 255, .16) !important;
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .22);
}

/* price cards: no white showing above the coloured header bar.
   The white lives on the card body instead of the whole card, so nothing can peek out
   round the header's top edge while the card scales or scrolls. */
#pricing .bg-white.rounded-10px {
  background: transparent !important;
  display: flex; flex-direction: column;
  isolation: isolate;
}
#pricing .bg-white.rounded-10px > h4 { margin: 0; flex: 0 0 auto; }
#pricing .bg-white.rounded-10px > h4 + div { background: #fff; flex: 1 1 auto; margin-bottom: 0 !important; padding-bottom: 2rem !important; }

/* Puppy Visit card: green header bar, matching the Book a Walk button */
/* all three price card headers share the primary colour, serif heading face */
#pricing .bg-white.rounded-10px > h4.dw-card-head { background: var(--primary-color) !important; }
#pricing .bg-white.rounded-10px > h4.dw-card-head {
  font-family: "Figo Shiftz Editorial", var(--title-font), Helvetica, Arial, sans-serif !important;
  font-weight: 600 !important; font-style: italic !important; letter-spacing: 0; font-size: 26px;
}

/* desktop footer: brand left, contact block flush to the right edge, Services and Company
   spaced evenly between them */
@media (min-width: 992px) {
  footer > .container > .row { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: flex-start; }
  footer > .container > .row { margin-left: 0; margin-right: 0; }
  footer > .container > .row > [class*="col-"] { width: auto; max-width: none; flex: 0 0 auto; padding-left: 0; padding-right: 0; }
  footer > .container > .row > [class*="col-"]:first-child { flex: 0 1 360px; max-width: 360px; }
  footer > .container > .row > .order-lg-1,
  footer > .container > .row > .order-lg-1 > .row { display: contents; }
  footer > .container > .row > .order-lg-1 > .row > [class*="col-"] { width: auto; max-width: none; flex: 0 0 auto; padding: 0; }
  footer > .container > .row > .order-lg-2 { order: 2; }
}

/* desktop contact bar: same layout as the footer. First block on the left edge,
   button flush to the right edge, the two in the middle spaced evenly */
@media (min-width: 992px) {
  #contact > .container > .row { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; margin-left: 0; margin-right: 0; }
  #contact > .container > .row > [class*="col-"] { width: auto; max-width: none; flex: 0 0 auto; padding-left: 0; padding-right: 0; margin-top: 0; }
}

/* price cards: gap between the price and "per dog / walk" */
#pricing h2.d-inline + span { margin-left: 8px; }

/* price cards: centre the header titles */
#pricing .bg-white.rounded-10px > h4 { text-align: center; }

/* ---------- Dark theme, opt-in only: applied when <html> has class dw-dark ---------- */
html.dw-dark, html.dw-dark * {--title-font-color: #f2f4f3;
    --body-font-color: #aab4ae;
    --bg-grey: #141a18;
    --tertiary-color: #243029;
    --tertiary-color-rgb: 36, 48, 41; }
html.dw-dark, html.dw-dark body, html.dw-dark #content {background: #0f1412; }
html.dw-dark header.header-light.smaller, html.dw-dark header.smaller.scroll-light {background: #141a18; box-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
html.dw-dark .dw-logo, html.dw-dark .dw-logo:hover, html.dw-dark header .dw-logo, html.dw-dark footer .dw-logo, html.dw-dark header.smaller.scroll-light .dw-logo, html.dw-dark header.menu-open .dw-logo, html.dw-dark header.header-mobile .dw-logo, html.dw-dark .dw-logo-dark, html.dw-dark .dw-logo-dark:hover {color: #fff !important; }
html.dw-dark .dw-logo svg, html.dw-dark .dw-logo svg path {fill: currentColor !important; }
html.dw-dark header.smaller.scroll-light .h-phone, html.dw-dark header.smaller.scroll-light .h-phone span, html.dw-dark header.header-mobile .h-phone, html.dw-dark header.header-mobile .h-phone span {color: #f2f4f3; }
html.dw-dark header.smaller.scroll-light .h-phone span:first-of-type, html.dw-dark header.header-mobile .h-phone span:first-of-type {color: #aab4ae; }
html.dw-dark header.smaller.scroll-light #mainmenu li a {color: #f2f4f3; }
html.dw-dark .text-dark, html.dw-dark .fw-bold.text-dark, html.dw-dark .ul-style-2.text-dark {color: #f2f4f3 !important; }
html.dw-dark #dw-sections .fs-14.text-dark {color: #aab4ae !important; }
html.dw-dark #dw-sections .bg-white.rounded-10px > h4 + div {background: #1b2320; }
html.dw-dark #dw-sections .bg-white.rounded-10px p {color: #aab4ae; }
html.dw-dark a.btn-main.btn-light-trans {color: #f2f4f3; background: rgba(255, 255, 255, .08); }
html.dw-dark a.btn-main.btn-light-trans:hover {color: #fff; background: var(--primary-color); }
html.dw-dark .accordion-section-title {color: #f2f4f3; }
html.dw-dark .accordion.s2 .accordion-section-title {border-bottom-color: rgba(255, 255, 255, .14); }
html.dw-dark .accordion-section-content {color: var(--body-font-color); }
html.dw-dark footer.footer-light a {color: #c3cbc6; }
html.dw-dark footer.footer-light a:hover {color: #fff; }
html.dw-dark .footer-light .subfooter {border-top-color: rgba(255, 255, 255, .12); }
html.dw-dark footer .social-icons a i {color: #f2f4f3; }
html.dw-dark .dw-book-backdrop {background: rgba(0, 0, 0, .7); }
html.dw-dark .dw-book-card {background: #1b2320; }
html.dw-dark .dw-book-close {background: #2a332f; color: #f2f4f3; }
html.dw-dark .dw-book-close:hover {background: #364039; }
html.dw-dark .dw-book-icon {background: rgba(255, 255, 255, .1); color: #f2f4f3; }
html.dw-dark .dw-book-btn {background: #222b27; border-color: #2f3a35; }
html.dw-dark .dw-book-btn strong {color: #f2f4f3; }
html.dw-dark .dw-book-btn em {color: #aab4ae; }
html.dw-dark .dw-book-btn:hover {box-shadow: 0 10px 24px rgba(0, 0, 0, .4); }
html.dw-dark .arrow-divider > [class*=col-]:nth-child(n+2):after {opacity: .5; }
html.dw-dark #scroll-to-top, html.dw-dark #back-to-top {background: #243029; }
@media (max-width: 992px) { html.dw-dark header.header-mobile { background: #141a18 !important; box-shadow: 0 2px 12px rgba(0, 0, 0, .4); } html.dw-dark header.header-mobile #mainmenu > li > a { color: #f2f4f3 !important; } }
@media (max-width: 767px) { html.dw-dark header.header-mobile:not(.dw-scrolled) { background: transparent !important; box-shadow: none; } }

/* footer logo: dark like the header logo, not the footer link grey */
footer.footer-light a.dw-logo, footer.footer-light a.dw-logo:hover { color: #202020; }

/* Logo contrast that survives browser dark mode / forced dark (Brave Night Mode etc).
   On the white bars and the footer the logo is drawn white with a difference blend:
   white over a white bar comes out black, white over a dark bar (or an inverted one) stays white.
   Over the hero photo (transparent header at the top) it stays plain white. */
header.smaller.scroll-light .dw-logo,
header.menu-open .dw-logo,
footer .dw-logo, footer.footer-light a.dw-logo, footer.footer-light a.dw-logo:hover,
.dw-logo-dark, .dw-logo-dark:hover {
  color: #f5c8c7; /* difference over white = #0a3738 */
  mix-blend-mode: difference;
}
footer.footer-light a.dw-logo, footer.footer-light a.dw-logo:hover { color: #f5c8c7; } /* difference over white = #0a3738 */
@media (min-width: 768px) and (max-width: 992px) {
  header.header-mobile .dw-logo { color: #f5c8c7; mix-blend-mode: difference; }
}
@media (max-width: 767px) {
  header.header-mobile.dw-scrolled .dw-logo { color: #f5c8c7; mix-blend-mode: difference; }
  header.header-mobile:not(.dw-scrolled) .dw-logo { color: #fff; mix-blend-mode: normal; }
}
/* the footer's content wrapper is its own stacking layer; give it the footer background so the
   logo has something to blend against */
footer.footer-light, footer.footer-light > .container.z-1000, footer.footer-light .subfooter { background: #fff !important; }
footer.footer-light .subfooter { border-top: 1px solid rgba(0, 0, 0, .08); }

/* ---------- Reviews carousel ---------- */
#testimonials.dw-reviews-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(8, 20, 14, .74) 0%, rgba(8, 20, 14, .52) 35%, rgba(8, 20, 14, .7) 100%);
}
#testimonials .container, #testimonials .container-fluid { position: relative; z-index: 2; }
#testimonials .owl-carousel .item h5 { color: #202020; }
#testimonials .owl-carousel .item .de-flex span { color: #7b8893; }
#testimonials .owl-dots .owl-dot span { background: rgba(255, 255, 255, .45); }
#testimonials .owl-dots .owl-dot.active span { background: var(--secondary-color); }
#testimonials .owl-carousel .item { margin-bottom: 10px; box-shadow: none; border: 0; outline: 0; transition: none; }
/* no seam/line on the card when the cursor moves over it: own compositing layer, clipped to the rounded shape */
#testimonials .owl-carousel .item, #testimonials .owl-carousel .item:hover {
  box-shadow: none; border: 0; outline: 0; background-clip: padding-box;
}
.dw-reviews-owl .owl-item { backface-visibility: hidden; }
/* cards leaving the stage fade out, the incoming one fades in */
.dw-reviews-owl .owl-item { opacity: 0; transition: opacity .7s ease; }
.dw-reviews-owl .owl-item.active { opacity: 1; }
.dw-reviews-owl .owl-stage { display: flex; }
.dw-reviews-owl .owl-item .item { height: 100%; }
#testimonials .owl-carousel .item p { color: #4a5560; line-height: 1.6; }
#testimonials .d-stars i { color: var(--secondary-color); }
#testimonials .icofont-quote-left { display: block; }
.dw-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-color); color: #fff !important; font-weight: 600; font-size: 15px;
}
#testimonials .owl-carousel .item .de-flex span.dw-avatar { color: #fff; }
#testimonials .owl-dots { margin-top: 20px; }
/* keep the carousel out of the scroll motion: owl clones the items after load */
.dw-motion #testimonials :where(.item, .item h5, .item p, .item span) { opacity: 1; translate: none; scale: 1; filter: none; }
/* mobile: 24px more breathing room either side of the review cards */
@media (max-width: 767px) {
  #testimonials .container-fluid { padding-left: 24px; padding-right: 24px; }
}

/* weekly plan discount pill on the price cards */
.dw-deal {
  display: inline-flex; align-items: center; gap: 7px;
  margin: 2px 0 14px; padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: rgba(76, 175, 110, .14); color: #2e7d4d;
  font-size: 13px; font-weight: 600; line-height: 1; letter-spacing: .01em;
}
.dw-deal i { font-size: 12px; }

/* tablet and desktop: price cards equal height, Book Now buttons lined up along the bottom */
@media (min-width: 768px) {
  #pricing .bg-white.rounded-10px > h4 + div { display: flex; flex-direction: column; }
  #pricing .bg-white.rounded-10px > h4 + div > .btn-main { margin-top: auto; }
}
@media (min-width: 768px) {
  #pricing .row.g-4 { align-items: stretch !important; }
  #pricing .row.g-4 > [class*="col-"] { display: flex; }
  #pricing .row.g-4 > [class*="col-"] > .rounded-10px { width: 100%; }
  #pricing .dw-deal { align-self: flex-start; }
}

/* ---------- Legal pages (privacy.html, terms.html) and footer links ---------- */
.dw-legal-links { margin-left: 18px; }
.dw-legal-links a { color: inherit; opacity: .75; margin-left: 14px; }
.dw-legal-links a:hover { opacity: 1; }
@media (max-width: 575px) { .subfooter .de-flex-col { display: flex; flex-direction: column; gap: 6px; } .dw-legal-links { margin-left: 0; } .dw-legal-links a:first-child { margin-left: 0; } }
body.dw-legal { background: #fff; }
.dw-legal-head { padding: 22px 0; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.dw-legal-head .de-flex { display: flex; align-items: center; justify-content: space-between; }
.dw-legal-head .dw-logo svg { height: 48px; }
.dw-legal-body { max-width: 820px; padding: 48px 20px 80px; }
.dw-legal-body h1 { line-height: 1.1; font-family: "Figo Shiftz Editorial", var(--title-font), sans-serif; font-weight: 600; font-style: italic; }
.dw-legal-body h2 { font-family: var(--title-font); font-weight: 600; }
.dw-legal-body p, .dw-legal-body li { font-size: 17px; line-height: 1.7; color: #4a5560; }
.dw-legal-body ul { padding-left: 20px; }
.dw-legal-body li { margin-bottom: 8px; }
.dw-legal-body a { color: var(--primary-color); text-decoration: underline; }
.dw-legal-foot { background: var(--bg-grey); padding: 22px 0; font-size: 14px; }
.dw-legal-foot .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.dw-legal-foot a { color: inherit; }

/* ---------- Footer map ---------- */
/* keep the scroll motion off the map: tiles are images and would get slid and scaled */
.dw-motion .dw-map img, .dw-motion .dw-map .leaflet-tile, .dw-motion .dw-map .leaflet-control a, .dw-motion .dw-map .dw-pin span {
  translate: none; scale: 1; filter: none; transition: none;
}
.dw-motion .dw-map .leaflet-tile:not([style*="opacity"]), .dw-motion .dw-map .leaflet-control a, .dw-motion .dw-map .dw-pin span { opacity: 1; }
.dw-map {
  --map-h: 360px;
  --map-sat: 100%; --map-hue: 0deg; --map-bri: 100%; --map-con: 100%; --map-gray: 0%; --map-sep: 0%; --map-inv: 0%;
  position: relative; height: var(--map-h); margin: 0; border-radius: 0; overflow: hidden;
  background: #dfe7ea;
  background-image: radial-gradient(rgba(47, 72, 88, .12) 1px, transparent 1px);
  background-size: 18px 18px;
}
.dw-map-ph { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 20px; }
.dw-map-pin { width: 56px; height: 56px; border-radius: 50%; background: var(--primary-color); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 10px 24px rgba(47, 72, 88, .3); }
.dw-map-txt strong { display: block; color: #202020; font-size: 18px; }
.dw-map-txt span { display: block; color: #5d6371; font-size: 14px; margin-top: 2px; }
.dw-map-btn { margin-top: 6px; }
.dw-map-frame, .dw-map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dw-map-frame { z-index: 1; }
.dw-map-frame .leaflet-tile-pane {
  filter: grayscale(var(--map-gray)) sepia(var(--map-sep)) saturate(var(--map-sat)) hue-rotate(var(--map-hue))
          brightness(var(--map-bri)) contrast(var(--map-con)) invert(var(--map-inv));
}
.dw-map-frame { background: #e9eef0; font-family: var(--body-font); }
.dw-map .leaflet-control-attribution { font-size: 10px; background: rgba(255, 255, 255, .75); }
.dw-map .leaflet-control-attribution a { color: #0a3738; }
.dw-pin { position: relative; }
.dw-pin-dot {
  position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--secondary-color); color: #202020; display: flex; align-items: center; justify-content: center;
  font-size: 18px; box-shadow: 0 0 0 6px rgba(246, 174, 45, .35), 0 10px 24px rgba(0, 0, 0, .25);
}
.dw-pin-label {
  position: absolute; left: 30px; top: -14px; white-space: nowrap; background: #fff; color: #202020;
  font-weight: 600; font-size: 13px; padding: 5px 10px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.dw-map-loaded .dw-map-ph { display: none; }
.dw-map-loaded.dw-map-failed .dw-map-ph { display: flex; background: #dfe7ea; z-index: 500; }
.dw-map-failed .dw-map-btn { display: none; }
.dw-map-failed .dw-map-txt span::after { content: ' (map tiles could not load here; they will on the live site)'; }
.dw-map-hidden { display: none; }
#dw-sections > #map { margin-top: 0 !important; padding: 0 !important; height: auto !important; }
@media (max-width: 767px) { .dw-map { --map-h: 240px; } }
/* static map: no hand cursor, nothing to grab */
.dw-map .leaflet-container, .dw-map .leaflet-grab { cursor: default; }

/* Getting Started step pills: nav CTA green */
#process .subtitle.bg-color { background: #0a3738 !important; color: #fff; }

/* solid Book a Walk buttons (primary colour ones): nav CTA green */
#dw-sections .btn-main:not(.btn-light-trans):not(.btn-white):not(.bg-color-2):not(#hero .btn-main),
#dw-sections .btn-main:not(.btn-light-trans):not(.btn-white):not(.bg-color-2):not(#hero .btn-main):hover { background: #0a3738; border-color: #0a3738; color: #fff; }

/* dark headings pick up the nav green (white headings on photo/dark sections stay white) */
#dw-sections :is(h1, h2, h3, h4, h5):not(.dw-card-head):not(.text-light *):not(.section-dark *):not(#hero *):not(.dw-deal),
#dw-sections .section-dark .item :is(h4, h5),
footer :is(h4, h5),
.dw-legal-body :is(h1, h2, h3) { color: #0a3738; }
footer.footer-light h5, footer.footer-light h4, #faq .accordion-section-title, #faq .accordion-section-title.active { color: #0a3738 !important; }

/* carousel: don't clip cards at the container edge (looked cut off mid swipe).
   Outgoing cards fade out whole while sliding; the section clips at the viewport instead. */
#testimonials { overflow: hidden; }
.dw-reviews-owl .owl-stage-outer { overflow: visible; }
.dw-reviews-owl .owl-item { transition: opacity .45s ease; }


/* mobile reviews: one card at a time, plain slide (the fade only makes sense with 3 up) */
@media (max-width: 767px) {
  /* clip box wider than the card so the rounded edges never get shaved by a subpixel */
  .dw-reviews-owl .owl-stage-outer { overflow: hidden; margin: 0 -24px; padding: 0 24px; }
  .dw-reviews-owl .owl-item, .dw-reviews-owl .owl-item.active { opacity: 1; transition: none; }
}

/* phones: photo sections without jarallax (see motion.js) */
@media (max-width: 767px) {
  .dw-static-photo { position: relative; overflow: hidden; z-index: 0; }
  .dw-static-photo > .jarallax-img {
    position: absolute; top: -15%; left: 0; width: 100%; height: 130%; max-width: none;
    object-fit: cover; z-index: -1; pointer-events: none; will-change: transform;
  }
  /* hero keeps its own framing (zoom and position from the panel), parallax drifts it from there */
  #hero.dw-static-photo > .jarallax-img { top: 0; height: 100%; }
}

/* phones: drop the expensive effects that re-render on every scroll frame
   (backdrop blur on the hero pill, blend mode on the logo) */
@media (max-width: 767px) {
  #hero .subtitle { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(20, 40, 30, .45) !important; }
  header.header-mobile .dw-logo, header.header-mobile.dw-scrolled .dw-logo { mix-blend-mode: normal; color: #0a3738; }
  header.header-mobile:not(.dw-scrolled) .dw-logo { color: #fff; }
}

/* phones: native snap scrolling reviews (see reviews.js) */
@media (max-width: 767px) {
  .dw-reviews-native {
    display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
    margin: 0 -24px; padding: 4px 24px 12px; scroll-padding: 0 24px;
    scrollbar-width: none;
  }
  .dw-reviews-native::-webkit-scrollbar { display: none; }
  .dw-reviews-native > .item { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; margin-bottom: 0; }
  .dw-native-dots .owl-dots { margin-top: 12px; text-align: center; }
  .dw-native-dots .owl-dot { display: inline-block; width: 8px; height: 8px; margin: 0 5px; padding: 0; border: 0; border-radius: 30px; background: rgba(255, 255, 255, .45); transition: background .3s ease; }
  .dw-native-dots .owl-dot.active { background: var(--secondary-color); }
}
