/* ============================================
   MY DOG WALKER — SITE STYLES
   One stylesheet (was tokens / global / components / animations), with the fonts hosted on the site.
   ============================================ */

/* === FONTS (latin subset, self-hosted) === */
@font-face {
  font-family: 'Fredoka One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/fredoka-one-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../assets/fonts/nunito-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================
   MY DOG WALKER — DESIGN TOKENS
   Brand Guidelines: mydogwalker_brand_guidelines.md
   ============================================ */

:root {
  /* Vertical rhythm (one rule for the whole site):
     --rhythm       the space between separate blocks: under a heading group, from a wave to the content,
                    between side-by-side columns, and around sections. 32px on phones → 48px on desktop.
     --rhythm-tight the space inside one group (a title and its subline), so they read as a unit. */
  --rhythm: clamp(2rem, 1.25rem + 2.5vw, 3rem);
  --rhythm-tight: calc(var(--rhythm) * 0.35);

  /* === BRAND COLORS === */
  --teal:         #1A7B74;
  --teal-dark:    #165f5a;
  --teal-light:   #2a9d96;
  --mint:         #FAF6E9;
  --mint-dark:    #f0e9d2;
  --cream:        #FAF6E9;
  --white:        #FFFFFF;
  --gold:         #E8C18C;
  --brown:        #8B572A;
  --red:          #D0021B;

  /* === SEMANTIC ALIASES === */
  --color-bg-primary:    var(--teal);
  --color-bg-secondary:  var(--cream);
  --color-text-on-teal:  var(--cream);
  --color-text-on-mint:  var(--teal);
  --color-text-body:     var(--white);
  --color-accent:        var(--gold);
  --color-cta-bg:        var(--cream);
  --color-cta-text:      var(--teal);

  /* === TYPOGRAPHY === */
  --font-display:  'Fredoka One', 'Nunito', cursive;
  --font-body:     'Nunito', 'Poppins', sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.5rem;

  /* === SPACING === */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* === LAYOUT === */
  --max-width:     1200px;
  --nav-height:    72px;
  --border-radius: 20px;
  --border-radius-lg: 40px;
  --border-radius-xl: 60px;
  --border-radius-full: 9999px;

  /* === SHADOWS === */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.16);
  --shadow-teal: 0 6px 30px rgba(30,134,127,0.3);

  /* === TRANSITIONS === */
  --transition-fast:   150ms ease-out;
  --transition-base:   250ms ease-out;
  --transition-slow:   400ms ease-out;
}


/* ============================================
   MY DOG WALKER — GLOBAL STYLES
   ============================================ */

/* Google Fonts load via <link> in each page's <head> */

/* === CSS RESET === */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--teal);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* === LAYOUT UTILITIES === */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

@media (max-width: 768px) {
  .container {
    padding-inline: var(--space-4);
  }
}

.section {
  padding-block: var(--space-20);
}

.section-sm {
  padding-block: var(--space-12);
}

/* === TYPOGRAPHY === */

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 400;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
  font-size: clamp(var(--text-base), 1.5vw, var(--text-lg));
  line-height: 1.7;
}

/* === SECTION BACKGROUNDS === */

.bg-teal   { background-color: var(--teal); }
.bg-mint   { background-color: var(--mint); color: var(--teal); }
.bg-white  { background-color: var(--white); color: var(--teal); }

/* === WAVE DIVIDERS === */

.wave-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  /* Remove all margins — waves must sit flush against sibling elements */
  margin: 0;
  padding: 0;
  font-size: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 80px;
}

@media (max-width: 768px) {
  .wave-divider svg {
    height: 50px;
  }
}

/* === BUTTONS === */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  border-radius: var(--border-radius-full);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--mint);
  color: var(--teal);
  box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
  background-color: #d4eeda;
  box-shadow: 0 10px 40px rgba(30,134,127,0.4);
}

.btn-secondary {
  background-color: var(--teal);
  color: var(--mint);
  border: 2px solid var(--mint);
}

.btn-secondary:hover {
  background-color: var(--teal-dark);
}

/* Teal outline, for secondary actions on light backgrounds */
.btn-outline {
  background-color: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}

.btn-outline:hover {
  background-color: rgba(30,134,127,0.08);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--brown);
  box-shadow: 0 4px 20px rgba(232,193,140,0.4);
}

.btn-gold:hover {
  background-color: #f0cc9a;
}

.btn-lg {
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-xl);
}

/* === CARDS === */

.card {
  background-color: var(--mint);
  color: var(--teal);
  border-radius: var(--border-radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* === PHOTO TILES === */

.photo-tile {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-tile:hover img {
  transform: scale(1.05);
}

/* === TAG / BADGE === */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  background-color: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--border-radius-full);
  padding: var(--space-1) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

/* === FOCUS STYLES === */

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* === SKIP TO CONTENT === */

.skip-link {
  position: absolute;
  top: -999px;
  left: 0;
  background: var(--gold);
  color: var(--brown);
  padding: var(--space-2) var(--space-4);
  z-index: 9999;
  font-weight: 700;
}

.skip-link:focus {
  top: 0;
}

/* === SCROLLBAR === */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--teal-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--teal-light);
  border-radius: 4px;
}


/* ============================================
   MY DOG WALKER — COMPONENTS
   ============================================ */

/* =====================
   NAVIGATION
   ===================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background-color: rgba(21, 88, 83, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background-color var(--transition-slow), box-shadow var(--transition-slow), transform var(--transition-slow);
}

.nav.scrolled {
  background-color: rgba(15, 60, 57, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.nav.hidden {
  transform: translateY(-100%);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo img {
  display: block;
  /* Tint to cream (#FAF6E9) to match brand colour scheme */
  filter: brightness(0) saturate(100%) invert(97%) sepia(8%) saturate(600%) hue-rotate(335deg) brightness(103%);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  color: rgba(235,247,238,0.85);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width var(--transition-base);
}

.nav__link:hover {
  color: var(--mint);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  background-color: var(--mint);
  color: var(--teal) !important;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--border-radius-full);
  font-family: var(--font-display);
  font-size: var(--text-base);
  transition: background-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base) !important;
}

.nav__cta::after { display: none !important; }

.nav__cta:hover {
  background-color: #d4eeda !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 15px rgba(235,247,238,0.3);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: 8px;
  transition: background var(--transition-fast);
}

.nav__hamburger:hover {
  background: rgba(255,255,255,0.1);
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--mint);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.nav__drawer {
  display: none;
  position: fixed;
  inset: 0;
  background-color: var(--teal-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--space-8);
  transition: opacity var(--transition-slow);
}

.nav__drawer.is-open {
  display: flex;
}

/* Sunny mascot in mobile nav drawer */
.nav__drawer-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-4);
}

.nav__drawer-mascot {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(250,246,233,0.25);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.nav__drawer .nav__link {
  font-size: var(--text-2xl);
  color: var(--mint);
}

.nav__drawer .nav__cta {
  font-size: var(--text-xl);
  padding: var(--space-3) var(--space-8);
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
}

/* =====================
   HERO
   ===================== */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 60%, #2ab5ac 100%);
  padding-top: var(--nav-height);
}

.hero__bg-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.25;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(22, 95, 90, 0.85) 0%,
    rgba(30, 134, 127, 0.7) 50%,
    rgba(22, 95, 90, 0.6) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-6);
  padding-block: var(--space-16);
}

.hero__text { }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(235,247,238,0.15);
  border: 1px solid rgba(235,247,238,0.3);
  border-radius: var(--border-radius-full);
  padding: var(--space-1) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-6);
  backdrop-filter: blur(8px);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--mint);
  line-height: 1.05;
  margin-bottom: var(--space-6);
}

.hero__title .accent {
  color: var(--gold);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(235,247,238,0.9);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 500px;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-4);
  position: relative;
}

.hero__photo {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  border: 3px solid rgba(255,255,255,0.2);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Photos are 9:16 portraits. Each sets --focus to where the dog's face is, so cropping on a
     wide or narrow window zooms around the face instead of slicing through it. */
  object-position: var(--focus, center 38%);
}

/* The hero ends in a wave that flows into the ticker. */
.hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  line-height: 0;
  pointer-events: none;
}
.hero__wave svg {
  display: block;
  width: 100%;
  height: 70px;
}
@media (max-width: 768px) {
  .hero__wave svg { height: 40px; }
}

.hero__photo--tall {
  grid-row: span 2;
  height: 420px;
}

.hero__photo--short {
  height: 198px;
}

.hero__photo:hover img {
  transform: scale(1.04);
  transition: transform 0.5s ease;
}

.hero__trust-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: rgba(22, 95, 90, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(235,247,238,0.15);
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--space-4) var(--space-6);
  max-width: var(--max-width);
  margin-inline: auto;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(235,247,238,0.85);
  font-weight: 600;
  white-space: nowrap;
}

.trust-bar__icon {
  font-size: var(--text-xl);
}

.trust-bar__divider {
  width: 1px;
  height: 24px;
  background: rgba(235,247,238,0.2);
}

@media (max-width: 900px) {
  .hero__content {
    grid-template-columns: 1fr;
  }

  .hero__photos {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
  }

  .hero__photo--tall {
    height: 280px;
  }

  .hero__photo--short {
    height: 134px;
  }

  .trust-bar__inner {
    gap: var(--space-4);
    flex-wrap: wrap;
  }

  .trust-bar__divider {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero__photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero__photo--tall {
    grid-row: span 1;
    height: 160px;
  }

  .hero__photo--short {
    height: 160px;
  }
}

/* =====================
   TICKER / MARQUEE
   ===================== */

.ticker {
  overflow: hidden;
  background-color: var(--mint);
  /* no top border: the hero's wave runs straight into it */
  padding-top: var(--space-3);
}

/* Curved underline, same shape and height as .hero__wave so the two run parallel */
.ticker__line {
  display: block;
  width: 100%;
  height: 70px;
  margin-top: -22px;
  margin-bottom: -1px; /* overlap the next section so no sub-pixel seam shows */
  color: var(--teal);
  pointer-events: none;
}
@media (max-width: 768px) {
  .ticker__line { height: 40px; margin-top: -6px; }
}

/* With JS, animations.js swaps the straight track for text that rides along the curve */
.ticker--curved .ticker__track,
.ticker--curved .ticker__line { display: none; }
.ticker--curved { overflow: visible; padding-top: 0; }
.ticker__svg {
  display: block;
  position: relative;
  z-index: 3; /* sits over the hero's wave, which the words are pulled up into */
  width: 100%;
  margin-bottom: -1px; /* overlap the next section so no sub-pixel seam shows */
  font-family: var(--font-display);
  font-size: var(--text-lg);
  fill: var(--teal);
}
.ticker__svg-dot { fill: var(--gold); font-size: var(--text-xl); }
.ticker__svg-line { fill: none; stroke: var(--teal); stroke-width: 2; }

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding-right: var(--space-10);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--teal);
  white-space: nowrap;
}

.ticker__dot {
  color: var(--gold);
  font-size: var(--text-xl);
}

/* =====================
   INTRO SECTION
   ===================== */

.intro {
  background: var(--mint);
  padding-block: var(--space-20);
}

.intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

/* A straight mosaic: the pack as one tall tile, two near-square tiles stacked beside it.
   The shapes stay close to the photos' 9:16 portrait framing, so no face gets cut off. */
.intro__photo-stack {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-4);
  aspect-ratio: 1.15;
}

.intro__photo {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  min-height: 0;
}

.intro__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro__photo--1 { grid-row: span 2; }

.intro__text {}

.intro__heading {
  color: var(--teal);
  margin-bottom: var(--space-6);
}

.intro__heading .paw {
  color: var(--gold);
}

.intro__body {
  color: var(--teal);
  margin-bottom: var(--space-4);
}

.intro__signature {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--teal);
  margin-top: var(--space-6);
}

.intro__role {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--teal-dark);
  opacity: 0.8;
}

.intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

@media (max-width: 600px) {
  .intro__actions .btn { width: 100%; }
}

@media (max-width: 900px) {
  .intro__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .intro__photo-stack { gap: var(--space-3); }
}

/* =====================
   SERVICES SECTION
   ===================== */

.services {
  background: var(--teal);
  padding-top: 0;
  padding-bottom: 0; /* Wave handles the bottom edge — no gap */
}

.services__header {
  text-align: center;
  /* Generous top padding to breathe below the wave */
  padding-top: var(--space-16);
  margin-bottom: var(--space-12);
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.services__title {
  color: var(--mint);
  margin-bottom: var(--space-4);
}

.services__subtitle {
  color: rgba(235,247,238,0.8);
  max-width: 600px;
  margin-inline: auto;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.service-card {
  background: rgba(235,247,238,0.1);
  border: 1px solid rgba(235,247,238,0.2);
  border-radius: var(--border-radius-lg);
  padding: var(--space-8);
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  backdrop-filter: blur(8px);
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card:hover {
  background: rgba(235,247,238,0.18);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.service-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--mint);
  margin-bottom: var(--space-3);
}

.service-card__body {
  font-size: var(--text-base);
  color: rgba(235,247,238,0.8);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.service-card__link {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  transition: gap var(--transition-fast);
}

.service-card:hover .service-card__link {
  gap: var(--space-2);
}

.services__cta {
  text-align: center;
  margin-top: var(--space-12);
  padding-bottom: 0; /* the gallery follows on in the same teal, so no wave to clear */
}

/* Home: Life on the Walk follows the services in one teal block, so keep the join tight */
.services + .gallery .gallery__header { padding-top: var(--rhythm); }

@media (max-width: 900px) {
  .services__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
}

/* =====================
   WHY CHOOSE US
   ===================== */

.why {
  background: var(--mint);
  padding-block: calc(var(--rhythm) * 0.5) var(--rhythm);
}

.why__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.why__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.why__title {
  color: var(--teal);
}

.why__subtitle {
  color: var(--teal-dark);
  margin-top: var(--space-3);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.why-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-3);
}

.why-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--teal);
  margin-bottom: var(--space-2);
}

.why-card__body {
  font-size: var(--text-sm);
  color: var(--teal-dark);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .why__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .why__grid {
    grid-template-columns: 1fr;
  }
}

/* =====================
   PHOTO GALLERY
   ===================== */

.gallery {
  background: var(--teal);
  padding-top: 0;    /* top wave handles the edge */
  padding-bottom: 0; /* bottom wave handles the edge */
  overflow: hidden;
}

.gallery__header {
  text-align: center;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-6);
  padding-top: var(--space-16); /* breathing room below top wave */
  margin-bottom: var(--space-10);
}

/* Meet Mireya: the values section flows straight into the gallery, so less room under the wave */
.why + .gallery .gallery__header { padding-top: var(--rhythm); }

.gallery__title {
  color: var(--mint);
}

.gallery__row {
  display: flex;
  gap: var(--space-4);
  padding-inline: var(--space-6);
  padding-bottom: var(--space-16); /* space above the bottom wave */
  max-width: var(--max-width);
  margin-inline: auto;
}

.gallery__tile {
  flex: 1;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  min-height: 280px;
  border: 3px solid rgba(255,255,255,0.15);
  box-shadow: var(--shadow-md);
  position: relative;
}

.gallery__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Keep dog faces in frame — never crop from the top */
  object-position: center top;
  transition: transform 0.5s ease;
}

.gallery__tile:hover img {
  transform: scale(1.06);
}

.gallery__tile--tall {
  min-height: 380px;
}

@media (max-width: 768px) {
  .gallery__row {
    flex-wrap: wrap;
  }
  .gallery__tile {
    flex: calc(50% - var(--space-2));
    min-width: calc(50% - var(--space-2));
    min-height: 200px;
  }
}

/* =====================
   AREAS SERVED
   ===================== */

.areas {
  background: var(--mint);
  padding-block: var(--space-16);
}

.areas__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-6);
  text-align: center;
}

.areas__title {
  color: var(--teal);
  margin-bottom: var(--space-8);
}

.areas__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.areas__tag {
  background: var(--teal);
  color: var(--mint);
  border-radius: var(--border-radius-full);
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 700;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.areas__tag:hover {
  background: var(--teal-dark);
  transform: scale(1.04);
}

/* =====================
   TESTIMONIALS / REVIEWS
   ===================== */

.testimonials {
  background: var(--mint);
  padding-block: var(--space-20);
}

.testimonials__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.testimonials__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.testimonials__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  padding: var(--space-2) var(--space-5);
  margin-bottom: var(--space-6);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.testimonials__google-logo {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.testimonials__rating-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.testimonials__stars {
  color: #FBBC05;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.testimonials__score {
  font-size: var(--text-xs);
  font-weight: 700;
  color: #444;
  letter-spacing: 0.03em;
}

.testimonials__title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  color: var(--teal);
  margin-bottom: var(--space-3);
}

.testimonials__subtitle {
  color: var(--teal-dark);
  opacity: 0.7;
  font-size: var(--text-lg);
  max-width: 520px;
  margin-inline: auto;
}

/* Grid layout: 3 cols, last 2 cards span as a centered row */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-6);
}

/* Review cards */
.review-card {
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  padding: var(--space-8);
  box-shadow: 0 4px 24px rgba(30,134,127,0.08), 0 1px 4px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border: 1px solid rgba(30,134,127,0.08);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(30,134,127,0.14), 0 2px 8px rgba(0,0,0,0.06);
}

/* Featured card spans 2 cols */
.review-card--featured {
  grid-column: span 2;
}

.review-card__stars {
  color: #FBBC05;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  line-height: 1;
}

.review-card__quote {
  font-size: var(--text-base);
  line-height: 1.7;
  color: #2d2d2d;
  font-style: italic;
  flex: 1;
  margin: 0;
}

.review-card__footer {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border-top: 1px solid rgba(30,134,127,0.1);
  padding-top: var(--space-4);
  margin-top: auto;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-light), var(--teal-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-card__name {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--teal-dark);
}

.review-card__meta {
  display: block;
  font-size: var(--text-xs);
  color: #888;
  margin-top: 2px;
}

.review-card__google {
  width: 20px;
  height: 20px;
  margin-left: auto;
  flex-shrink: 0;
}

/* CTA row */
.testimonials__cta {
  text-align: center;
  margin-top: var(--space-10);
}

.testimonials__google-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: #fff;
  color: #333;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 999px;
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.testimonials__google-btn:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.14);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
  .testimonials__grid {
    grid-template-columns: 1fr 1fr;
  }
  .review-card--featured {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
  .review-card--featured {
    grid-column: span 1;
  }
  .testimonials__title {
    font-size: var(--text-3xl);
  }
}

/* =====================
   CONTACT / BOOK SECTION
   ===================== */

.book-cta {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  padding-block: var(--space-24);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.book-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  /* closest-side: the glow fades out fully inside its box, so its edge never shows as a line */
  background: radial-gradient(closest-side, rgba(235,247,238,0.06) 0%, transparent 100%);
  pointer-events: none;
}

.book-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.book-cta__title {
  color: var(--mint);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: var(--space-6);
}

.book-cta__body {
  color: rgba(235,247,238,0.85);
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}

.book-cta__tagline {
  font-size: var(--text-sm);
  font-weight: 700;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-8);
  opacity: 0.9;
}

.book-cta__phone {
  margin-top: var(--space-6);
  font-size: var(--text-base);
  color: var(--gold);
  font-weight: 700;
}

.book-cta__phone a {
  color: inherit;
  transition: opacity var(--transition-fast);
}

.book-cta__phone a:hover {
  opacity: 0.8;
}

/* =====================
   APPLY / FORM PAGE
   ===================== */

.form-page {
  min-height: 100svh;
  background: linear-gradient(180deg, var(--teal-dark) 0%, var(--teal) 100%);
  padding-top: var(--nav-height);
  padding-bottom: var(--space-24);
}

.form-page__inner {
  max-width: 800px;
  margin-inline: auto;
  padding-inline: var(--space-6);
  padding-top: var(--space-16);
}

.form-page__title {
  color: var(--mint);
  text-align: center;
  margin-bottom: var(--space-3);
}

.form-page__subtitle {
  color: rgba(235,247,238,0.8);
  text-align: center;
  margin-bottom: var(--space-12);
}

/* Step progress */
.form-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-10);
}

.form-step {
  display: flex;
  align-items: center;
}

.form-step__dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(235,247,238,0.15);
  border: 2px solid rgba(235,247,238,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: rgba(235,247,238,0.5);
  transition: all var(--transition-base);
  position: relative;
}

.form-step__label {
  font-size: var(--text-xs);
  color: rgba(235,247,238,0.5);
  text-align: center;
  margin-top: var(--space-1);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.form-step--active .form-step__dot {
  background: var(--mint);
  color: var(--teal);
  border-color: var(--mint);
}

.form-step--active .form-step__label {
  color: var(--mint);
}

.form-step--done .form-step__dot {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--brown);
}

.form-step--done .form-step__label {
  color: var(--gold);
}

.form-step__line {
  width: 60px;
  height: 2px;
  background: rgba(235,247,238,0.2);
  margin-inline: var(--space-2);
}

.form-step--done + .form-step .form-step__line,
.form-step--done .form-step__line {
  background: var(--gold);
}

/* Form card */
.form-card {
  background: rgba(235,247,238,0.08);
  border: 1px solid rgba(235,247,238,0.15);
  border-radius: var(--border-radius-xl);
  padding: var(--space-10);
  backdrop-filter: blur(12px);
}

.form-panel {
  display: none;
}

.form-panel.is-active {
  display: block;
  animation: fadeSlideUp 0.4s ease-out both;
}

.form-panel__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--mint);
  margin-bottom: var(--space-2);
}

.form-panel__subtitle {
  color: rgba(235,247,238,0.7);
  margin-bottom: var(--space-8);
}

/* Form fields */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}

.form-row--full {
  grid-template-columns: 1fr;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: rgba(235,247,238,0.9);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-input,
.form-textarea,
.form-select {
  background: rgba(235,247,238,0.1);
  border: 2px solid rgba(235,247,238,0.2);
  border-radius: var(--border-radius);
  padding: var(--space-3) var(--space-4);
  color: var(--mint);
  font-size: var(--text-base);
  font-family: var(--font-body);
  width: 100%;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(235,247,238,0.35);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(235,247,238,0.15);
}

.form-input.error,
.form-textarea.error {
  border-color: var(--red);
}

.form-error {
  font-size: var(--text-xs);
  color: #ff8a8a;
  font-weight: 600;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  appearance: none;
  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 d='M1 1l5 5 5-5' stroke='%23EBF7EE' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
  cursor: pointer;
}

.form-select option {
  background: var(--teal-dark);
  color: var(--mint);
}

/* Honeypot */
.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

/* Form navigation buttons */
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-8);
  gap: var(--space-4);
}

.form-nav--end {
  justify-content: flex-end;
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-12) var(--space-8);
  animation: scaleIn 0.5s ease-out both;
}

.form-success.is-active {
  display: block;
}

.form-success__emoji {
  font-size: 4rem;
  margin-bottom: var(--space-4);
  animation: float 3s ease-in-out infinite;
  display: inline-block;
}

.form-success__title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  color: var(--mint);
  margin-bottom: var(--space-4);
}

.form-success__body {
  color: rgba(235,247,238,0.85);
  margin-bottom: var(--space-6);
}

.form-success__phone {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: var(--space-8);
}

/* =====================
   FOOTER
   ===================== */

.footer {
  background: var(--teal-dark);
  padding-block: var(--space-16);
  border-top: 1px solid rgba(235,247,238,0.1);
}

.footer__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-6);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
}

.footer__brand {}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer__logo-img {
  /* Let the SVG breathe — no circular crop */
  width: auto;
  height: 80px;
  max-width: 200px;
  display: block;
  /* Tint to cream (#FAF6E9) */
  filter: brightness(0) saturate(100%) invert(97%) sepia(8%) saturate(600%) hue-rotate(335deg) brightness(103%);
}

/* Sunny mascot above CTA */
.book-cta__mascot {
  display: block;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-6);
  border: 3px solid rgba(250,246,233,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  animation: sunny-bounce 3s ease-in-out infinite;
}

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

.footer__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--mint);
  line-height: 1;
}

/* Sunny mascot in footer */
.footer__mascot {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--space-4);
  border: 2px solid rgba(250,246,233,0.2);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  order: -1; /* appears above logo */
}

.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(250,246,233,0.85);
  line-height: 1.8;
  max-width: 280px;
}

.footer__contact-list {
  margin-top: var(--space-4);
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(235,247,238,0.88);
  margin-bottom: var(--space-2);
}

.footer__contact-item a {
  color: #F2D4A8; /* lighter gold: 5.2:1 on the footer teal */
  transition: opacity var(--transition-fast);
}

.footer__contact-item a:hover {
  opacity: 0.8;
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--mint);
  margin-bottom: var(--space-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  color: rgba(235,247,238,0.85);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--mint);
}

.footer__bottom {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-6);
  padding-top: var(--space-8);
  margin-top: var(--space-8);
  border-top: 1px solid rgba(235,247,238,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: rgba(235,247,238,0.78);
  flex-wrap: wrap;
  gap: var(--space-4);
}

@media (max-width: 900px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 600px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }
}

/* =====================
   PAGE HEADER (inner pages)
   ===================== */

.page-header {
  background: linear-gradient(90deg, var(--teal-dark) 0%, var(--teal) 100%);
  padding-top: calc(var(--nav-height) + var(--space-12));
  padding-bottom: var(--space-8);
  text-align: center;
}

/* The teal header ends in a wave rather than a straight cut. */
.page-header__wave {
  line-height: 0;
  margin-top: -1px;
  /* the colour of the section below, so only the teal wave shows */
  background: var(--mint);
}
.page-header__wave svg {
  display: block;
  width: 100%;
  height: 60px;
}
@media (max-width: 768px) {
  .page-header__wave svg { height: 36px; }
}

.page-header__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.page-header__title {
  color: var(--mint);
  margin-bottom: var(--space-4);
}

.page-header__subtitle {
  color: rgba(235,247,238,0.8);
  max-width: 600px;
  margin-inline: auto;
}

/* =====================
   MIREYA ANIMATED HERO
   ===================== */

.mireya-hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 560px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-height);
}

.mireya-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mireya-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  /* Smooth crossfade between frames */
  transition: opacity 0.05s linear;
}

.mireya-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* Top: darken for nav readability */
    linear-gradient(to bottom,
      rgba(10,60,58,0.45) 0%,
      rgba(10,60,58,0.10) 35%,
      rgba(10,60,58,0.05) 55%,
      rgba(10,60,58,0.55) 80%,
      rgba(10,60,58,0.80) 100%
    );
}

.mireya-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: var(--space-16) var(--space-6) var(--space-16);
}

.mireya-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  color: #FAF6E9;
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 20px rgba(0,0,0,0.5), 0 0 40px rgba(0,0,0,0.2);
}

.mireya-hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(250,246,233,0.90);
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

@media (max-width: 600px) {
  .mireya-hero {
    max-height: 100svh;
    align-items: flex-end;
  }
  .mireya-hero__img {
    object-position: 60% top;
  }
}


.about-section {
  background: var(--mint);
  /* tight under the header's wave; roomy at the bottom */
  padding-block: var(--space-6) var(--space-16);
}

.about-section__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-6);
  /* one column: the write-up, then the animated photo centred below it */
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  gap: var(--space-16);
}

.about-section__photo {
  /* No extra styling needed — mireya-tile handles it */
}

.about-section__text {}

.about-section__cta {
  margin-top: var(--space-8);
  text-align: center;
}

.about-section__heading {
  color: var(--teal);
  margin-bottom: var(--space-6);
}

.about-section__body {
  color: var(--teal-dark);
  margin-bottom: var(--space-4);
}

/* Animated portrait tile: shows the top two-thirds of the 9:16 frames (the bottom third is just table) */
.mireya-tile {
  aspect-ratio: 27 / 32;
  width: 100%;
  max-width: 320px;
  overflow: hidden;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  background: var(--teal-dark);
  /* Centre in column */
  margin-inline: auto;
}

.mireya-tile { position: relative; }
/* Animation frames stack over the first one; only the current frame is visible */
.mireya-tile__frame { position: absolute; inset: 0; visibility: hidden; }
.mireya-tile__frame.is-on { visibility: visible; }

.mireya-tile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* the window sits 10% of the frame's height below the top (the frame overflows the tile by ~1/3, so 30%) */
  object-position: center 30%;
  display: block;
}

/* Dogs-on-rocks strip */
.dogs-strip {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: var(--teal-dark);
}

.dogs-strip__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Focal point: dogs' faces sit at ~50% vertically in the portrait image */
  object-position: center 50%;
  display: block;
}

@media (max-width: 900px) {
  .about-section__inner {
    grid-template-columns: 1fr;
  }
  .mireya-tile {
    max-width: 280px;
  }
  .dogs-strip {
    height: 220px;
  }
}

/* =====================
   FAQ SECTION
   ===================== */

.faq-section {
  background: var(--mint);
  padding-block: var(--space-20);
}

.faq__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.faq__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.faq__title {
  color: var(--teal);
  margin-bottom: var(--space-3);
}

.faq__subtitle {
  color: var(--teal-dark);
}

.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.faq__item {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.faq__item:hover {
  box-shadow: var(--shadow-md);
}

.faq__item[open] {
  box-shadow: var(--shadow-md);
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--teal);
  cursor: pointer;
  list-style: none;
  line-height: 1.5;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform var(--transition-base);
  line-height: 1;
}

.faq__item[open] .faq__question::after {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--teal-dark);
  font-size: var(--text-base);
  line-height: 1.7;
  border-top: 1px solid rgba(30,134,127,0.1);
  padding-top: var(--space-4);
}

.faq__answer strong {
  color: var(--teal);
}

@media (max-width: 768px) {
  .faq__grid {
    grid-template-columns: 1fr;
  }
}


/* Home intro: a small round photo of Mireya above "Hey! I'm Mireya." */
.intro__mireya {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 35%;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md, 0 6px 18px rgba(0,0,0,0.15));
  margin: 0 auto var(--space-4);
  display: block;
}

/* Intro photo stack: keep faces in frame when the photos are cropped. */
.intro__photo img {
  object-position: var(--focus, center 38%);
}


/* Meet Mireya: the pack on the rocks as the page's hero. */
.page-header--photo {
  position: relative;
  overflow: hidden;
  min-height: min(760px, 88svh);
  display: flex;
  align-items: flex-end;
  padding-bottom: calc(var(--space-16) + 40px);
  background: var(--teal-dark);
}
.page-header--photo .page-header__photo {
  position: absolute;
  /* start below the fixed nav, so it never covers Mireya's face */
  inset: var(--nav-height, 72px) 0 0 0;
  width: 100%;
  height: calc(100% - var(--nav-height, 72px));
  object-fit: cover;
  /* keep Mireya's face and the dogs in frame; the title sits over the grass below */
  object-position: center 5%;
}
.page-header--photo::after {
  /* darken the bottom so the title reads over the grass */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 95, 90, 0.35) 0%, rgba(22, 95, 90, 0) 18%, rgba(22, 95, 90, 0) 50%, rgba(22, 95, 90, 0.88) 100%);
}
.page-header--photo .page-header__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}
.page-header--photo .page-header__subtitle {
  color: rgba(235, 247, 238, 0.95);
}

/* Waves inside a section with padding: sit on its very edge. */
.book-cta .wave-divider--top {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
}
.book-cta .wave-divider--bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
}
.book-cta { position: relative; }
.book-cta + .footer, main + .footer { border-top: 0; }

@media (max-width: 768px) {
  .page-header--photo { min-height: 520px; }
  .page-header--photo .page-header__photo { object-position: 30% center; }
}


/* Book-a-meet call to action: short line, then the button, then the small print. */
.book-cta__body {
  max-width: 34rem;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}
.book-cta__info {
  margin-top: var(--space-5, 1.25rem);
  font-size: var(--text-sm);
  color: rgba(235, 247, 238, 0.8);
}
.book-cta__info a {
  color: var(--gold);
  font-weight: 700;
}
.book-cta__info--soft {
  margin-top: var(--space-2);
  color: rgba(235, 247, 238, 0.55);
  letter-spacing: 0.04em;
}
.book-cta__inner .book-cta__tagline {
  margin-top: var(--space-4);
  margin-bottom: 0;
}


/* ===== Vertical rhythm (see --rhythm in tokens.css) ===== */
.page-header__title { margin-bottom: var(--rhythm-tight); }
.page-header__subtitle { margin-bottom: 0; }
/* plain teal header: the subline sits one rhythm above the wave */
.page-header { padding-bottom: var(--rhythm); }
/* photo header: one rhythm between the subline and the top of the wave (the wave is 70px, 40px on phones) */
.page-header--photo { padding-bottom: calc(var(--rhythm) + 70px); }
@media (max-width: 768px) {
  .page-header--photo { padding-bottom: calc(var(--rhythm) + 40px); }
}
/* the section under a header: one rhythm from the wave, columns one rhythm apart, top-aligned */
.about-section { padding-block: var(--rhythm); }
.about-section__inner { gap: var(--rhythm); align-items: start; }
.about-section__heading { margin-top: 0; margin-bottom: var(--rhythm-tight); }

/* =====================
   REVIEWER AVATARS (initials + their pup, where the review names one)
   ===================== */
.avatar {
  --av: var(--teal);
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--av);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--white);
}
.avatar--gold  { --av: #c9892f; }
.avatar--brown { --av: var(--brown); }
.avatar--dark  { --av: var(--teal-dark); }
.avatar--sky   { --av: #3f7fa6; }
.avatar__pup {
  position: absolute;
  right: -6px;
  bottom: -4px;
  font-size: 1rem;
  line-height: 1;
  background: var(--white);
  border-radius: 50%;
  padding: 2px;
}
.avatar-stack { display: flex; }
.avatar-stack .avatar { width: 36px; height: 36px; font-size: 0.95rem; margin-left: -10px; }
.avatar-stack .avatar:first-child { margin-left: 0; }

/* Hero: one line of proof right under the buttons */
.hero__proof {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--rhythm);
  color: var(--cream);
  flex-wrap: wrap;
}
.hero__proof-stars { color: #FBBC05; letter-spacing: 0.05em; }
.hero__proof-text { font-size: var(--text-sm); line-height: 1.4; }
.hero__proof-text q { font-weight: 600; font-style: italic; opacity: 0.92; }

/* =====================
   QUOTE STRIP: short, punchy lines from real Google reviews
   ===================== */
.quotes {
  background: var(--mint);
  padding: var(--rhythm) 0;
}
.quotes__title {
  text-align: center;
  color: var(--teal);
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  margin: 0 var(--space-6) var(--rhythm-tight);
}
.quotes__sub {
  text-align: center;
  color: var(--teal-dark);
  font-size: var(--text-sm);
  margin: 0 var(--space-6) var(--rhythm);
}
.quotes__row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: var(--space-5);
  max-width: var(--max-width);
  margin-inline: auto;
  padding: var(--space-2) var(--space-6) var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.quotes__row::-webkit-scrollbar { display: none; }
.quote-card {
  scroll-snap-align: center;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-4) var(--space-5);
  box-shadow: 0 4px 24px rgba(30,134,127,0.10);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.quote-card__line {
  font-family: var(--font-display);
  color: var(--teal-dark);
  font-size: var(--text-lg);
  line-height: 1.3;
  margin: 0;
  flex: 1;
}
.quote-card__line::before { content: "“"; color: var(--gold); }
.quote-card__line::after  { content: "”"; color: var(--gold); }
.quote-card__who { display: flex; align-items: center; gap: var(--space-3); }
.quote-card__who .avatar { width: 38px; height: 38px; font-size: 1rem; }
.quote-card__name { font-weight: 800; color: var(--teal-dark); font-size: var(--text-sm); display: block; }
.quote-card__pup { color: #6b6b6b; font-size: var(--text-xs); display: block; }
.quote-card__stars { color: #FBBC05; font-size: var(--text-sm); letter-spacing: 0.05em; }
.quotes__hint { display: none; text-align: center; color: var(--teal-dark); font-size: var(--text-xs); margin-top: var(--space-2); }
@media (max-width: 800px) { .quotes__hint { display: block; } .quotes__row { grid-auto-columns: 82%; } }

/* Reviews: a headline grab, full review one tap away */
.review-card__grab {
  font-family: var(--font-display);
  color: var(--teal-dark);
  font-size: var(--text-xl);
  line-height: 1.3;
  margin: 0;
}
.review-card__more summary {
  cursor: pointer;
  color: var(--teal);
  font-weight: 700;
  font-size: var(--text-sm);
  list-style: none;
}
.review-card__more summary::-webkit-details-marker { display: none; }
.review-card__more summary::after { content: " ↓"; }
.review-card__more[open] summary::after { content: " ↑"; }
.review-card__more .review-card__quote { margin-top: var(--space-3); font-size: var(--text-sm); }

/* Home: what's included, under the three offerings */
.included {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  max-width: var(--max-width);
  margin: var(--rhythm) auto 0;
  padding-inline: var(--space-6);
}
.included__pill {
  background: rgba(250,246,233,0.14);
  border: 1.5px solid rgba(250,246,233,0.35);
  color: var(--cream);
  border-radius: var(--border-radius-full);
  padding: var(--space-2) var(--space-4);
  font-weight: 700;
  font-size: var(--text-sm);
}

/* =====================
   APP: phone mock-ups of the client app (illustrative screens)
   ===================== */
.phone {
  width: 250px;
  aspect-ratio: 9 / 16.5;
  border-radius: 36px;
  background: #1c2b29;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}
.phone__screen {
  height: 100%;
  border-radius: 28px;
  background: #fbf8ef;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: #2d2d2d;
  text-align: left;
}
.phone__bar {
  background: var(--teal);
  color: var(--cream);
  padding: 18px 14px 10px;
  font-family: var(--font-display);
  font-size: 15px;
}
.phone__body { padding: 10px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.phone__photo { border-radius: 16px; overflow: hidden; position: relative; }
.phone__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--focus, 50% 60%); display: block; }
.phone__photo span {
  position: absolute; inset: auto 0 0 0; padding: 18px 10px 8px;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: #fff; font-family: var(--font-display); font-size: 14px;
}
.phone__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.phone__thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
.phone__card { background: #fff; border-radius: 14px; padding: 10px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.phone__card b { color: var(--teal-dark); }
.phone__note { display: flex; gap: 8px; align-items: flex-start; }
.phone__note i { font-style: normal; font-size: 18px; line-height: 1; }
.phone__muted { color: #777; font-size: 11px; }
.phone__cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-size: 10px; }
.phone__cal span { padding: 5px 0; border-radius: 6px; }
.phone__cal .h { color: #888; font-weight: 700; }
.phone__cal .w { background: rgba(30,134,127,0.14); color: var(--teal-dark); font-weight: 800; }
.phone__cal .s { background: rgba(232,193,140,0.45); color: var(--brown); font-weight: 800; }
.phone__cal .t { outline: 2px solid var(--teal); }
.phone__msg { max-width: 80%; padding: 7px 10px; border-radius: 14px; line-height: 1.35; }
.phone__msg--them { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.phone__msg--me { background: var(--teal); color: var(--cream); align-self: flex-end; }

/* Home: the app teaser */
/* Swipeable row of example app screens (home page and How it works) */
.phones {
  /* auto margins on the end phones: centred when they fit, swipeable from the first one when they don't */
  display: flex; gap: var(--space-6);
  padding: var(--space-2) var(--space-6) var(--space-6);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.phones::-webkit-scrollbar { display: none; }
.phones figure { margin: 0; scroll-snap-align: center; text-align: center; }
.phones figcaption { margin-top: var(--space-3); color: var(--teal-dark); font-weight: 800; }
.phones > :first-child { margin-left: auto; }
.phones > :last-child { margin-right: auto; }
.mock-chips { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.mock-chip { font-size: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(30,134,127,0.1); color: var(--teal-dark); font-weight: 700; }
.mock-chip--on { background: var(--teal); color: var(--cream); }
.mock-slot { display: flex; justify-content: space-between; font-size: 10px; padding: 4px 0 0; margin-top: 4px; border-top: 1px solid rgba(0,0,0,0.06); }
.mock-slot__ok { color: var(--teal); font-weight: 800; }
.mock-slot__booked { color: var(--teal-dark); font-weight: 800; }
.mock-slot__few { color: #a8742c; font-weight: 800; }
.mock-btn { background: var(--teal); color: var(--cream); text-align: center; border-radius: 999px; padding: 8px; font-family: var(--font-display); font-size: 13px; }
.mock-center { text-align: center; }
.mock-actions { color: var(--teal); font-weight: 800; font-size: 11px; }

/* Teal, with cream waves top and bottom (like the gallery), to set it apart from the reviews above */
.app-teaser { background: var(--teal); padding-block: 0; }
.app-teaser__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  text-align: center;
  padding-block: var(--rhythm);
}
.app-teaser__head, .app-teaser__foot { max-width: 680px; margin-inline: auto; padding-inline: var(--space-6); }
.app-teaser .phones { margin-block: var(--space-2) var(--space-6); }
.app-teaser__eyebrow {
  font-weight: 800; font-size: var(--text-sm); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: var(--rhythm-tight);
}
.app-teaser__title { color: var(--cream); margin-bottom: var(--rhythm-tight); }
.app-teaser__body { color: rgba(250,246,233,0.9); margin-bottom: var(--space-5); }
.app-teaser .phones figcaption { color: var(--cream); }
.app-teaser__list { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-5); margin-bottom: var(--space-6); color: var(--cream); font-weight: 600; }
@media (max-width: 800px) {
  .app-teaser__list { flex-direction: column; align-items: center; }
}

/* Phones: less scrolling. Reviews become a swipe row, the photo stack and area tags tighten up. */
@media (max-width: 800px) {
  .testimonials { padding-block: var(--rhythm); }
  .testimonials__grid {
    display: grid;
    grid-template-columns: none;
    grid-template-rows: none;
    grid-auto-flow: column;
    grid-auto-columns: 85%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: var(--space-2) var(--space-6) var(--space-4);
    margin-inline: calc(-1 * var(--space-6));
  }
  .testimonials__grid::-webkit-scrollbar { display: none; }
  .testimonials__grid .review-card { scroll-snap-align: center; padding: var(--space-6); }
  .testimonials__grid .review-card--featured { grid-column: auto; }
  .intro { padding-block: var(--rhythm); }
  .areas { padding-block: var(--rhythm); }
  .areas__tag { font-size: var(--text-xs); padding: 4px 10px; }
  .services__header { padding-top: var(--rhythm); margin-bottom: var(--rhythm); }
}

/* Booking form steps: always fit the screen (4 steps across a phone) */
.form-steps { width: 100%; max-width: 560px; margin-inline: auto; }
.form-step { flex: 1; min-width: 0; }
.form-step:last-child { flex: 0 0 auto; }
.form-step__line { flex: 1; width: auto; min-width: 10px; }
@media (max-width: 600px) {
  .form-step__dot { width: 30px; height: 30px; font-size: var(--text-sm); }
  .form-step__label { font-size: 10px; letter-spacing: 0; }
  .form-step__line { margin-inline: 4px; margin-bottom: 18px; }
}

/* Slight waves inside a section, at the seam with its neighbour: the wave takes the neighbour's
   colour, so the section's own background (flat or gradient) shows through unbroken. */
.has-wave { position: relative; }
.has-wave > .wave-divider--top { position: absolute; top: -1px; left: 0; right: 0; z-index: 1; }
.has-wave > .wave-divider--bottom { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 1; }
.wave-divider--slight svg { height: clamp(24px, 3.2vw, 48px); }


/* ============================================
   MY DOG WALKER — ANIMATIONS
   ============================================ */

/* === KEYFRAMES === */

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeSlideRight {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

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

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25%       { transform: rotate(-3deg); }
  75%       { transform: rotate(3deg); }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes waveMove {
  0%, 100% { d: path("M0,60 C300,120 900,0 1440,60 L1440,200 L0,200 Z"); }
  50%       { d: path("M0,80 C400,20 1000,140 1440,40 L1440,200 L0,200 Z"); }
}

@keyframes pulse-soft {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.04); }
}

/* === SCROLL REVEAL === */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.reveal-left {
  transform: translateX(-28px);
}

.reveal.reveal-right {
  transform: translateX(28px);
}

.reveal.reveal-scale {
  transform: scale(0.93);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* === HERO ENTRANCE === */

.hero-animate {
  animation: fadeSlideUp 0.8s ease-out both;
}

.hero-animate-delay-1 { animation-delay: 0.15s; }
.hero-animate-delay-2 { animation-delay: 0.3s; }
.hero-animate-delay-3 { animation-delay: 0.45s; }

/* === FLOAT === */

.float {
  animation: float 4s ease-in-out infinite;
}

.float-slow {
  animation: float 6s ease-in-out infinite;
}

/* === WIGGLE ON HOVER === */

.wiggle-hover:hover {
  animation: wiggle 0.5s ease-in-out;
}

/* === PULSE === */

.pulse-cta {
  animation: pulse-soft 2.5s ease-in-out infinite;
}

/* === TICKER === */

.ticker-inner {
  display: flex;
  width: max-content;
  animation: ticker 20s linear infinite;
}

.ticker-inner:hover {
  animation-play-state: paused;
}

/* Suburb tags that link to the off-leash park finder */
a.areas__tag { text-decoration: none; transition: background-color var(--transition-base), transform var(--transition-base); }
a.areas__tag:hover, a.areas__tag:focus-visible { background: var(--teal-dark); transform: translateY(-2px); }

.footer__privacy { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Phones: a slim call / book bar fixed to the bottom of the screen */
.mobile-cta { display: none; }
@media (max-width: 768px) {
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    display: grid; grid-template-columns: auto 1fr; gap: var(--space-2);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(22, 95, 90, 0.97); box-shadow: 0 -4px 18px rgba(0,0,0,0.18);
  }
  .mobile-cta--call-only { grid-template-columns: 1fr; }
  .mobile-cta a {
    display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 16px;
    border-radius: var(--border-radius-full); font-family: var(--font-display); font-size: 15px; text-decoration: none; white-space: nowrap; min-width: 0;
  }
  .mobile-cta__call { border: 2px solid var(--cream); color: var(--cream); }
  .mobile-cta__book { background: var(--cream); color: var(--teal-dark); }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}

/* Meet Mireya: at-a-glance facts */
.mireya-facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-5); margin: var(--space-6) 0 var(--space-5); padding: var(--space-5); background: var(--white); border-radius: var(--border-radius-lg); box-shadow: 0 4px 24px rgba(30,134,127,0.08); color: var(--teal-dark); font-weight: 700; font-size: var(--text-sm); }
.mireya-facts li { display: flex; gap: var(--space-2); align-items: flex-start; }
.about-section__body a { color: var(--teal-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) { .mireya-facts { grid-template-columns: 1fr; } }

/* "Log in" lands on the app sneak peek: keep its heading clear of the sticky nav */
#app { scroll-margin-top: calc(var(--nav-height, 72px) - 1px); }
