/*
 * bn-style.css — Homepage + shared component styles
 * Ricky Burd Babysitting
 *
 * Contains: nav, footer, cookie banner, hero, all homepage sections.
 * Always loaded globally via head.php — do NOT put in $pageCSS.
 *
 * DARK MODE RULE: [data-theme="dark"] only. No @media prefers-color-scheme.
 * MOTION RULE: Animations go inside @media (prefers-reduced-motion: no-preference).
 */

/* ── NAV ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
}

.nav {
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--bn-transition), border-color var(--bn-transition), box-shadow var(--bn-transition);
}

/* Background appears once the user scrolls past the hero */
.nav.is-scrolled {
  background: var(--bn-surf);
  border-bottom-color: var(--bn-bdr);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 66px;
}

.nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  overflow: visible;
  margin: 15px 0;
}

/* Nav sparkles — three animated 4-pointed stars: two flanking the logo end,
   one at the top of the R on the left */
.nav__sparkles {
  position: absolute;
  inset: -10px -14px;
  pointer-events: none;
}

.nav-sparkle {
  position: absolute;
  fill: var(--bn-acc); /* fallback if animations are off */
}

/* Near top-right end of wordmark */
.nav-sparkle--1 {
  top: -5px;
  right: 10px;
}

/* Near bottom-right end of wordmark */
.nav-sparkle--2 {
  bottom: -3px;
  right: 1px;
}

/* Top of the R — left edge of the wordmark */
.nav-sparkle--3 {
  top: -6px;
  left: 3px;
}

/* Bottom-left of wordmark */
.nav-sparkle--4 {
  bottom: -4px;
  left: 30px;
}

/* Mid-right of wordmark */
.nav-sparkle--5 {
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
}

/* Top-center of wordmark */
.nav-sparkle--6 {
  top: -7px;
  left: 45%;
}

/* Rainbow cycle through red → orange → yellow → green → blue → violet → white */
@keyframes nav-sparkle-rainbow {
  0%    { fill: #ff4757; }
  12.5% { fill: #ff7f50; }
  25%   { fill: #ffd700; }
  37.5% { fill: #2ed573; }
  50%   { fill: #1e90ff; }
  62.5% { fill: #a29bfe; }
  75%   { fill: #fd79a8; }
  87.5% { fill: #ffffff; }
  100%  { fill: #ff4757; }
}

@media (prefers-reduced-motion: no-preference) {
  .nav-sparkle--1 { animation: sparkle-twinkle 3.5s ease-in-out infinite,        nav-sparkle-rainbow 5.0s linear infinite; }
  .nav-sparkle--2 { animation: sparkle-twinkle 4.8s ease-in-out infinite 1.3s,   nav-sparkle-rainbow 5.0s linear infinite 1.7s; }
  .nav-sparkle--3 { animation: sparkle-twinkle 3.0s ease-in-out infinite 0.6s,   nav-sparkle-rainbow 5.0s linear infinite 3.3s; }
  .nav-sparkle--4 { animation: sparkle-twinkle 4.2s ease-in-out infinite 0.9s,   nav-sparkle-rainbow 5.0s linear infinite 0.8s; }
  .nav-sparkle--5 { animation: sparkle-twinkle 3.7s ease-in-out infinite 1.6s,   nav-sparkle-rainbow 5.0s linear infinite 2.5s; }
  .nav-sparkle--6 { animation: sparkle-twinkle 4.5s ease-in-out infinite 2.2s,   nav-sparkle-rainbow 5.0s linear infinite 4.0s; }
}

.nav__logo-text {
  font-size: calc(1.1rem + 24px);
  font-weight: 900;
  color: var(--bn-acc);
  letter-spacing: -0.3px;
}

/* Logo swap for light/dark */
[data-theme="light"] .nav__logo-img--for-dark  { display: none; }
[data-theme="dark"]  .nav__logo-img--for-light  { display: none; }
[data-theme="light"] .footer__logo.nav__logo-img--for-dark { display: none; }
[data-theme="dark"]  .footer__logo.nav__logo-img--for-light { display: none; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__links a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bn-text-muted);
  border-radius: var(--bn-radius-sm);
  border-bottom: 2px solid transparent;
  transition: color var(--bn-transition), background var(--bn-transition);
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--bn-acc);
  background: var(--bn-acc-subtle);
}

/* Active link underline */
.nav__links a[aria-current="page"] {
  position: relative;
}
.nav__links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--bn-acc);
  border-radius: 2px;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
}

.nav__cta {
  padding: 9px 20px;
  font-size: 0.88rem;
}

/* Theme toggle button */
.theme-toggle {
  background: none;
  border: 1.5px solid var(--bn-bdr);
  border-radius: var(--bn-radius-full);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bn-text-muted);
  transition: border-color var(--bn-transition), color var(--bn-transition), background var(--bn-transition);
}

.theme-toggle:hover {
  border-color: var(--bn-acc);
  color: var(--bn-acc);
  background: var(--bn-acc-subtle);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--bn-acc);
  outline-offset: 2px;
}

/* Show/hide sun vs moon based on current theme */
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"]  .theme-toggle .icon-sun  { display: none; }

/* Mobile burger */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 1.5px solid var(--bn-bdr);
  border-radius: var(--bn-radius-sm);
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  transition: border-color var(--bn-transition);
}

.nav__burger:focus-visible {
  outline: 2px solid var(--bn-acc);
  outline-offset: 2px;
}

.nav__burger span {
  display: block;
  height: 2px;
  background: var(--bn-text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav__burger:hover {
  border-color: var(--bn-acc);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  background: var(--bn-surf);
  border-top: 1px solid var(--bn-bdr);
  padding: 20px 24px 28px;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.mobile-menu ul li a {
  display: block;
  padding: 12px 14px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--bn-text);
  border-radius: var(--bn-radius-sm);
  transition: background var(--bn-transition), color var(--bn-transition);
}

.mobile-menu ul li a:hover {
  background: var(--bn-acc-subtle);
  color: var(--bn-acc);
}

.mobile-menu__cta {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Mobile menu open state */
.mobile-menu.is-open {
  display: block;
}

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

  .nav__cta {
    font-size: 0.8rem;
    padding: 7px 14px;
  }

  .nav__burger {
    display: flex;
  }

  /* Push theme toggle + burger to the right — .nav__links (which normally
     carries margin-left: auto) is hidden on mobile, so nothing was pushing
     .nav__actions across. Adding it here restores logo-left / controls-right. */
  .nav__actions {
    margin-left: auto;
  }
}

/* ── HERO ─────────────────────────────────────────────── */
/*
 * CONTRAST FIX: original gradient ended at #a855f7 (purple) which gave
 * white text only ~3.8:1 — below WCAG AA (4.5:1). Darkened to #6d28d9
 * which yields ~7:1, comfortably passing AAA.
 */
.hero {
  background: linear-gradient(145deg, var(--bn-acc) 0%, #6d28d9 100%);
  color: #fff;
  text-align: center;
  padding: 80px 24px 70px;
  position: relative;
  overflow: hidden;
}

/* Subtle dot texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--bn-radius-full);
  padding: 5px 16px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero__photo {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.6);
  overflow: hidden;
  margin: 0 auto 22px;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

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

.hero__photo-placeholder {
  font-size: 4rem;
  line-height: 1;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.hero__tagline {
  font-size: 1.2rem;
  font-weight: 700;
  /* opacity removed: using rgba instead so contrast tools can measure it */
  color: rgba(255,255,255,0.93);
  margin-bottom: 20px;
}

.hero__blurb {
  max-width: 520px;
  margin: 0 auto 36px;
  font-size: 1rem;
  /* opacity removed for contrast compliance — straight white on dark purple passes */
  color: rgba(255,255,255,0.92);
  line-height: 1.6;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero__ctas .btn-primary {
  background: #fff;
  color: var(--bn-acc);
  border-color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

.hero__ctas .btn-primary:hover {
  background: var(--bn-surf-2);
  color: var(--bn-acc-hover);
}

.hero__ctas .btn-ghost {
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}

.hero__ctas .btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.8);
}

/* ── Hero content wrapper — sits above sparkles/credentials ── */
.hero__content {
  position: relative;
  z-index: 1;
}

/* ── Pulsing "Now Booking" dot ───────────────────────── */
.hero__badge-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__badge-dot {
    animation: dot-pulse 2s ease-in-out infinite;
  }
}

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  60%       { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

/* ── Animated photo ring ─────────────────────────────── */
.hero__photo-ring {
  width: 156px;
  height: 156px;
  margin: 0 auto 22px;
  border-radius: 50%;
  padding: 4px;
  background: conic-gradient(
    from 0deg,
    rgba(255,255,255,0.95) 0%,
    rgba(255,255,255,0.15) 35%,
    rgba(255,255,255,0.95) 55%,
    rgba(255,255,255,0.15) 80%,
    rgba(255,255,255,0.95) 100%
  );
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
}

@media (prefers-reduced-motion: no-preference) {
  .hero__photo-ring            { animation: ring-spin         8s linear infinite; }
  .hero__photo-ring .hero__photo { animation: ring-spin-reverse 8s linear infinite; }
}

@keyframes ring-spin         { to { transform: rotate(360deg);  } }
@keyframes ring-spin-reverse { to { transform: rotate(-360deg); } }

/* Photo resets when nested inside ring */
.hero__photo-ring .hero__photo {
  margin: 0;
  border: none;
  box-shadow: none;
  width: 100%;
  height: 100%;
}

/* ── Floating soap bubbles ───────────────────────────── */
.hero__credentials {
  position: absolute;
  inset: 0;
  pointer-events: none; /* container is pass-through; JS sets auto on each bubble */
  z-index: 3;           /* must be above .hero__content (z-index:1) so bubbles win hit-test */
}

.hero__cred {
  position: absolute;
  border-radius: 50%;
  cursor: pointer;        /* hint before JS loads */
  touch-action: manipulation;
  background: radial-gradient(
    circle at 32% 28%,
    rgba(255,255,255,0.52) 0%,
    rgba(255,255,255,0.12) 40%,
    rgba(255,255,255,0.03) 70%,
    transparent 100%
  );
  border: 1.5px solid rgba(255,255,255,0.42);
  box-shadow:
    inset 0 1px 6px rgba(255,255,255,0.18),
    0 6px 18px rgba(0,0,0,0.07);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* Bubble sizes and positions */
.hero__cred--1 { width: 58px;  height: 58px;  top: 34%;    left: 8%;   }
.hero__cred--2 { width: 40px;  height: 40px;  top: 22%;    right: 11%; }
.hero__cred--3 { width: 68px;  height: 68px;  top: 54%;    left: 13%;  }
.hero__cred--4 { width: 34px;  height: 34px;  top: 40%;    right: 6%;  }
.hero__cred--5 { width: 50px;  height: 50px;  bottom: 18%; right: 17%; }
.hero__cred--6 { width: 88px;  height: 88px;  top: 18%;    left: 28%;  }
.hero__cred--7 { width: 44px;  height: 44px;  bottom: 28%; left: 6%;   }
.hero__cred--8 { width: 72px;  height: 72px;  top: 42%;    right: 18%; }
.hero__cred--9 { width: 30px;  height: 30px;  bottom: 12%; right: 9%;  }

@media (prefers-reduced-motion: no-preference) {
  .hero__cred--1 { animation: bubble-float 7.0s ease-in-out infinite;       }
  .hero__cred--2 { animation: bubble-float 9.2s ease-in-out infinite 1.3s;  }
  .hero__cred--3 { animation: bubble-float 6.5s ease-in-out infinite 2.2s;  }
  .hero__cred--4 { animation: bubble-float 8.4s ease-in-out infinite 0.6s;  }
  .hero__cred--5 { animation: bubble-float 7.8s ease-in-out infinite 1.9s;  }
  .hero__cred--6 { animation: bubble-float 11.0s ease-in-out infinite 3.1s; }
  .hero__cred--7 { animation: bubble-float 8.0s ease-in-out infinite 0.9s;  }
  .hero__cred--8 { animation: bubble-float 9.5s ease-in-out infinite 2.5s;  }
  .hero__cred--9 { animation: bubble-float 7.3s ease-in-out infinite 1.6s;  }
}

@keyframes bubble-float {
  0%, 100% { transform: translateY(0)    scale(1);    }
  40%       { transform: translateY(-11px) scale(1.03); }
  60%       { transform: translateY(-8px)  scale(1.01); }
}

/* ── Sparkle accents ─────────────────────────────────── */
.hero__sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/*
 * Sparkle sizing is set via explicit width/height attributes on each <svg>
 * element in the HTML — this prevents browsers from falling back to the
 * SVG intrinsic/default size (300×150) when CSS dimensions fail to apply.
 */
.sparkle {
  position: absolute;
  fill: rgba(255,255,255,0.55);
}

/* Position only — sizes come from HTML attributes */
.sparkle--1 { top: 10%;    left: 16%;   }
.sparkle--2 { top: 28%;    right: 20%;  }
.sparkle--3 { top: 58%;    right: 11%;  }
.sparkle--4 { top: 65%;    left: 9%;    }
.sparkle--5 { bottom: 24%; right: 22%;  }
.sparkle--6  { top: 18%;    right: 35%;  }
.sparkle--7  { top: 42%;    left: 22%;   }
.sparkle--8  { bottom: 15%; left: 18%;   }
.sparkle--9  { top: 12%;    left: 38%;   }
.sparkle--10 { bottom: 30%; right: 8%;   }
.sparkle--11 { top: 48%;    right: 28%;  }
.sparkle--12 { bottom: 10%; right: 35%;  }

@media (prefers-reduced-motion: no-preference) {
  /* Each sparkle gets both animations: twinkle (opacity/scale/rotate) + rainbow (fill).
     Rainbow delays are spread apart so all 12 always show different colours. */
  .sparkle--1  { animation: sparkle-twinkle 3.0s ease-in-out infinite,      nav-sparkle-rainbow 5.0s linear infinite 0.0s;  }
  .sparkle--2  { animation: sparkle-twinkle 4.2s ease-in-out infinite 0.6s, nav-sparkle-rainbow 5.0s linear infinite 0.42s; }
  .sparkle--3  { animation: sparkle-twinkle 3.6s ease-in-out infinite 1.1s, nav-sparkle-rainbow 5.0s linear infinite 0.83s; }
  .sparkle--4  { animation: sparkle-twinkle 4.8s ease-in-out infinite 1.7s, nav-sparkle-rainbow 5.0s linear infinite 1.25s; }
  .sparkle--5  { animation: sparkle-twinkle 3.3s ease-in-out infinite 0.3s, nav-sparkle-rainbow 5.0s linear infinite 1.67s; }
  .sparkle--6  { animation: sparkle-twinkle 5.0s ease-in-out infinite 2.0s, nav-sparkle-rainbow 5.0s linear infinite 2.08s; }
  .sparkle--7  { animation: sparkle-twinkle 3.8s ease-in-out infinite 0.9s, nav-sparkle-rainbow 5.0s linear infinite 2.5s;  }
  .sparkle--8  { animation: sparkle-twinkle 4.5s ease-in-out infinite 1.5s, nav-sparkle-rainbow 5.0s linear infinite 2.92s; }
  .sparkle--9  { animation: sparkle-twinkle 3.2s ease-in-out infinite 2.3s, nav-sparkle-rainbow 5.0s linear infinite 3.33s; }
  .sparkle--10 { animation: sparkle-twinkle 4.0s ease-in-out infinite 0.4s, nav-sparkle-rainbow 5.0s linear infinite 3.75s; }
  .sparkle--11 { animation: sparkle-twinkle 3.5s ease-in-out infinite 1.8s, nav-sparkle-rainbow 5.0s linear infinite 4.17s; }
  .sparkle--12 { animation: sparkle-twinkle 4.3s ease-in-out infinite 2.6s, nav-sparkle-rainbow 5.0s linear infinite 4.58s; }
}

@keyframes sparkle-twinkle {
  0%, 100% { opacity: 0.55; transform: scale(1)   rotate(0deg);  }
  50%       { opacity: 1;    transform: scale(1.4) rotate(22deg); }
}

/* ── Bubble speech bubble hint ───────────────────────── */
.bubble-hint {
  position: absolute;
  top: 73px;
  left: calc(50% + 90px);
  background: #fff;
  color: #333;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 16px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transform: scale(0.85);
  transform-origin: left center;
  transition: opacity 0.35s ease, transform 0.35s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Speech bubble tail pointing left toward the photo */
.bubble-hint::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -8px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 10px solid #fff;
}

.bubble-hint--visible {
  opacity: 1;
  transform: scale(1);
}

/* ── Wave bottom edge ────────────────────────────────── */
.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
}

.hero__wave svg {
  display: block;
  width: 100%;
  height: 64px;
}

.hero__wave-path {
  fill: var(--bn-surf);
}

/* Scroll cue — in flow below the CTA buttons, above the wave */
.hero__scroll-cue {
  display: flex;
  justify-content: center;
  margin-top: 22px;
  opacity: 0.6;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__scroll-cue {
    animation: bounce 2s infinite;
  }
}

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

/* ── MAIN + PAGE CONTENT ────────────────────────────────
 * <main> is now a full-width semantic wrapper (no max-width) so the
 * hero inside it can bleed edge-to-edge. The .page-content div inside
 * main re-introduces the centered, padded container for content sections.
 */
main {
  display: block; /* explicit, overrides any UA quirk */
}

.page-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}

.page-content > section {
  margin-bottom: 64px;
}

.page-content > section:last-child {
  margin-bottom: 0;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--bn-acc);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--bn-text);
  margin-bottom: 8px;
  line-height: 1.2;
}

.section-sub {
  font-size: 0.97rem;
  color: var(--bn-text-muted);
  margin-bottom: 28px;
  max-width: 600px;
}

/* Squiggle replaces the plain bar — SVG data URI, color-swapped for dark mode */
.section-divider {
  display: block;
  width: 80px;
  height: 12px;
  background: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 12'%3E%3Cpath d='M0,6 C13,0 27,12 40,6 C53,0 67,12 80,6' fill='none' stroke='%23db2777' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 0;
  margin-bottom: 28px;
}

[data-theme="dark"] .section-divider {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 12'%3E%3Cpath d='M0,6 C13,0 27,12 40,6 C53,0 67,12 80,6' fill='none' stroke='%23f472b6' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ── TRUST STRIP ─────────────────────────────────────── */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background: var(--bn-surf);
  border-bottom: 1px solid var(--bn-bdr);
  padding: 14px 24px;
  gap: 0;
}

.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 20px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--bn-text-muted);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.trust-strip__item svg {
  color: var(--bn-acc);
  flex-shrink: 0;
}

.trust-strip__sep {
  width: 1px;
  height: 18px;
  background: var(--bn-bdr);
}

@media (max-width: 600px) {
  .trust-strip {
    gap: 4px;
    padding: 12px 16px;
  }

  .trust-strip__item {
    padding: 4px 10px;
    font-size: 0.75rem;
  }

  .trust-strip__sep {
    display: none;
  }
}

/* ── TESTIMONIALS ─────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.testimonial-card {
  background: var(--bn-surf);
  border: 1.5px solid var(--bn-bdr);
  border-radius: var(--bn-radius-md);
  padding: 28px 24px 22px;
  box-shadow: var(--bn-shadow-card);
  margin: 0;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  left: 20px;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--bn-acc);
  opacity: 0.25;
  font-family: Georgia, serif;
  pointer-events: none;
}

.testimonial-card__quote {
  font-size: 0.93rem;
  color: var(--bn-text-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 18px;
  padding-top: 12px;
}

.testimonial-card__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-card__name {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--bn-acc);
}

.testimonial-card__detail {
  font-size: 0.78rem;
  color: var(--bn-text-faint);
}

/* ── FAQ ──────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bn-surf);
  border: 1.5px solid var(--bn-bdr);
  border-radius: var(--bn-radius-md);
  overflow: hidden;
  transition: border-color var(--bn-transition);
}

.faq-item[open] {
  border-color: var(--bn-bdr-strong);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--bn-text);
  cursor: pointer;
  list-style: none;
  transition: color var(--bn-transition), background var(--bn-transition);
}

/* Remove default browser triangle */
.faq-item__question:hover {
  color: var(--bn-acc);
}

.faq-item__question:focus-visible {
  outline: 2px solid var(--bn-acc);
  outline-offset: -2px;
  border-radius: var(--bn-radius-md);
}

.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question::marker              { display: none; }

.faq-item__question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--bn-acc);
  flex-shrink: 0;
  line-height: 1;
  transition: transform var(--bn-transition), opacity var(--bn-transition);
}

.faq-item[open] > .faq-item__question {
  color: var(--bn-acc);
  background: var(--bn-acc-subtle);
}

.faq-item[open] > .faq-item__question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item__answer {
  padding: 4px 20px 20px;
}

.faq-item__answer p {
  font-size: 0.9rem;
  color: var(--bn-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ── SERVICES GRID ────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}

.service-card {
  background: var(--bn-surf);
  border: 1.5px solid var(--bn-bdr);
  border-radius: var(--bn-radius-md);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--bn-shadow-card);
  transition: transform var(--bn-transition), box-shadow var(--bn-transition), border-color var(--bn-transition);
}

@media (prefers-reduced-motion: no-preference) {
  .service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--bn-shadow);
    border-color: var(--bn-bdr-strong);
  }
}

/* SVG icon box — replaces emoji span */
.service-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bn-acc-subtle);
  border-radius: var(--bn-radius-md);
  color: var(--bn-acc);
  flex-shrink: 0;
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--bn-text);
  margin-bottom: 6px;
}

.service-card p {
  font-size: 0.82rem;
  color: var(--bn-text-muted);
  line-height: 1.5;
}

/* ── WHY ME ───────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

.why-card {
  background: var(--bn-surf);
  border: 1.5px solid var(--bn-bdr);
  border-radius: var(--bn-radius-md);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--bn-shadow-card);
}

/* SVG icon box for why-me cards */
.why-card__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bn-acc-subtle);
  border-radius: var(--bn-radius-md);
  color: var(--bn-acc);
}

.why-card__icon svg {
  width: 22px;
  height: 22px;
}

.why-card__title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--bn-text);
  margin-bottom: 4px;
}

.why-card__desc {
  font-size: 0.83rem;
  color: var(--bn-text-muted);
  line-height: 1.5;
}

/* ── RATES ────────────────────────────────────────────── */
.rates-box {
  background: var(--bn-surf);
  border: 2px solid var(--bn-bdr-strong);
  border-radius: var(--bn-radius-lg);
  padding: 36px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  box-shadow: var(--bn-shadow);
}

.rate-item__label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--bn-acc);
  margin-bottom: 6px;
}

.rate-item__value {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--bn-text);
  line-height: 1;
}

/* Modifier for medium-sized rate values (schedule) */
.rate-item__value--md {
  font-size: 1.25rem;
  line-height: 1.3;
}

/* Modifier for smaller rate values (area) */
.rate-item__value--sm {
  font-size: 1.1rem;
  line-height: 1.4;
}

.rate-item__sub {
  font-size: 0.85rem;
  color: var(--bn-text-muted);
  margin-top: 4px;
}

.rates-divider {
  width: 1px;
  height: 60px;
  background: var(--bn-bdr-strong);
  opacity: 0.4;
}

/* ── CONTACT FORM ─────────────────────────────────────── */
.contact-wrap {
  background: var(--bn-surf);
  border: 1.5px solid var(--bn-bdr);
  border-radius: var(--bn-radius-lg);
  padding: 40px 44px;
  box-shadow: var(--bn-shadow);
}

.contact-intro {
  color: var(--bn-text-muted);
  margin-bottom: 28px;
  font-size: 0.97rem;
}

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

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--bn-text);
  margin-bottom: 8px;
}

.form-group label .req {
  color: var(--bn-acc);
  margin-left: 2px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bn-bg);
  border: 1.5px solid var(--bn-bdr);
  border-radius: var(--bn-radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--bn-text);
  /*
   * outline is set to transparent rather than none.
   * This ensures the focus indicator remains visible in Windows High Contrast Mode,
   * where box-shadow is invisible but transparent outlines are promoted to solid.
   */
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: border-color var(--bn-transition), box-shadow var(--bn-transition), background var(--bn-transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--bn-text-faint);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--bn-acc);
  /* Pink glow for sighted users */
  box-shadow: 0 0 0 3px rgba(219,39,119,0.12);
  /* Solid outline for High Contrast Mode users */
  outline-color: var(--bn-acc);
  background: var(--bn-surf);
}

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

/* Honeypot — positioned off-screen; visually hidden, accessible to bots */
.form-honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.form-privacy {
  font-size: 0.78rem;
  color: var(--bn-text-faint);
}

.form-privacy a {
  color: var(--bn-text-muted);
}

/* Inline alerts */
.form-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--bn-radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.5;
}

.form-alert--success {
  background: #d1fae5;
  color: #065f46;
  border: 1.5px solid #6ee7b7;
}

.form-alert--error {
  background: #fee2e2;
  color: #991b1b;
  border: 1.5px solid #fca5a5;
}

[data-theme="dark"] .form-alert--success {
  background: #064e3b;
  color: #a7f3d0;
  border-color: #059669;
}

[data-theme="dark"] .form-alert--error {
  background: #450a0a;
  color: #fca5a5;
  border-color: #dc2626;
}

/* ── FOOTER ───────────────────────────────────────────── */
.site-footer {
  background: var(--bn-surf);
  border-top: 2px solid var(--bn-bdr);
  padding: 52px 24px 0;
}

.footer__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--bn-bdr);
}

.footer__logo-text {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--bn-acc);
}

.footer__tagline {
  font-size: 0.88rem;
  color: var(--bn-text-muted);
  margin-top: 8px;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav ul li a {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--bn-text-muted);
  transition: color var(--bn-transition);
}

.footer__nav ul li a:hover {
  color: var(--bn-acc);
}

.footer__bottom {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 0 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--bn-text-faint);
}

.footer__bottom strong {
  color: var(--bn-acc);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__legal li a {
  color: var(--bn-text-faint);
  font-size: 0.82rem;
  transition: color var(--bn-transition);
}

.footer__legal li a:hover {
  color: var(--bn-acc);
}

.footer__cookie-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--bn-text-faint);
  font-size: 0.82rem;
  font-family: inherit;
  cursor: pointer;
  transition: color var(--bn-transition);
}
.footer__cookie-btn:hover {
  color: var(--bn-acc);
}
.footer__cookie-btn:focus-visible {
  outline: 2px solid var(--bn-acc);
  outline-offset: 2px;
}

/* ── COOKIE BANNER ─────────────────────────────────────── */
#cookie-banner.cookie-banner--hidden {
  display: none !important;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bn-text);
  color: var(--bn-bg);
  font-size: 13px;
  z-index: 99999;         /* above everything, including booking progress bar */
  pointer-events: auto;   /* explicit — never let anything cascade none to it */
  padding: 16px 30px;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.35);
}

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.cookie-banner__text { flex: 1 1 260px; }
.cookie-banner__text p { margin: 0; line-height: 1.5; }
.cookie-banner__text a {
  color: var(--bn-bg);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-btn {
  padding: 8px 18px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  pointer-events: auto;   /* explicit — ensure buttons are always clickable */
  transition: opacity 0.2s;
  white-space: nowrap;
  font-family: inherit;
}

.cookie-btn:hover { opacity: 0.85; }
.cookie-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.cookie-btn--primary {
  background: var(--bn-acc);
  color: var(--bn-acc-on);
  font-weight: 600;
}

.cookie-btn--secondary {
  background: transparent;
  color: var(--bn-bg);
  border: 1px solid rgba(255,255,255,0.3);
}

#cookie-preferences {
  max-width: 1100px;
  margin: 1rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.cookie-banner__inner--prefs {
  display: block;
  padding-top: 0;
  margin-top: 0;
}

.cookie-pref__group { margin-bottom: 1rem; }

.cookie-pref__group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  cursor: pointer;
}

.cookie-pref__group label input[disabled] {
  cursor: not-allowed;
  opacity: 0.6;
}

.cookie-pref__group p {
  margin: 0 0 0 1.6rem;
  font-size: 12px;
  opacity: 0.75;
  line-height: 1.4;
}

@media (max-width: 600px) {
  #cookie-banner {
    padding: 12px 14px;
    font-size: 12px;
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .cookie-banner__text { flex-basis: auto; }
  .cookie-banner__text p { font-size: 12px; line-height: 1.4; }
  .cookie-banner__actions {
    width: 100%;
    gap: 6px;
  }
  .cookie-btn {
    flex: 1;
    text-align: center;
    padding: 7px 10px;
    font-size: 12px;
  }
  #cookie-preferences {
    margin-top: 0.65rem;
    padding-top: 0.65rem;
  }
  #cookie-preferences .cookie-banner__inner {
    padding-top: 0;
    margin-top: 0;
  }
  .cookie-pref__group { margin-bottom: 0.6rem; }
  .cookie-pref__group p {
    font-size: 11px;
    margin-left: 1.4rem;
  }
}

@media print {
  #cookie-banner { display: none !important; }
}

/* ── DATE PICKER ─────────────────────────────────────────── */
.date-picker-wrap {
  position: relative;
}

.date-picker-input {
  cursor: pointer;
  padding-right: 44px !important;
  caret-color: transparent;
}

.date-picker-input:focus {
  border-color: var(--bn-acc);
  box-shadow: 0 0 0 3px rgba(219,39,119,0.12);
  outline: none;
  background: var(--bn-surf);
}

.cal-toggle-btn {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 44px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--bn-text-faint);
  transition: color var(--bn-transition);
}

.cal-toggle-btn:hover { color: var(--bn-acc); }

.calendar-popup {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 200;
  background: var(--bn-surf);
  border: 1.5px solid var(--bn-bdr-strong);
  border-radius: var(--bn-radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  width: min(296px, calc(100vw - 48px));
  padding: 16px;
  user-select: none;
}

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

.cal-month-label {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--bn-text);
}

.cal-nav {
  background: none;
  border: 1.5px solid var(--bn-bdr);
  border-radius: var(--bn-radius-sm);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--bn-text-muted);
  transition: border-color var(--bn-transition), color var(--bn-transition);
  flex-shrink: 0;
}

.cal-nav:hover {
  border-color: var(--bn-acc);
  color: var(--bn-acc);
}

.cal-nav:focus-visible {
  outline: 2px solid var(--bn-acc);
  outline-offset: 2px;
}

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

.cal-day-header {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--bn-text-faint);
  padding: 4px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  border-radius: var(--bn-radius-sm);
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  color: var(--bn-text);
  transition: background var(--bn-transition), color var(--bn-transition);
  min-height: 36px;
}

.cal-day:hover:not([disabled]) {
  background: var(--bn-acc-subtle);
  color: var(--bn-acc);
}

.cal-day:focus-visible {
  outline: 2px solid var(--bn-acc);
  outline-offset: 1px;
}

.cal-day[disabled] {
  color: var(--bn-text-faint);
  cursor: not-allowed;
  opacity: 0.35;
}

.cal-day--today {
  font-weight: 900;
  color: var(--bn-acc);
}

.cal-day--selected {
  background: var(--bn-acc) !important;
  color: #fff !important;
  font-weight: 700;
}

/* ── Calendar inline time selects ─────────────────────────── */

.cal-times {
  border-top: 1px solid var(--bn-bdr);
  padding: 12px 14px 4px;
  display: flex;
  gap: 10px;
}

.cal-time-row {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cal-time-row label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bn-text-muted);
}

.cal-time-row select {
  width: 100%;
  padding: 7px 28px 7px 10px;
  background: var(--bn-bg);
  border: 1.5px solid var(--bn-bdr);
  border-radius: var(--bn-radius-sm);
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--bn-text);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  cursor: pointer;
}

.cal-time-row select:focus-visible {
  outline: 2px solid var(--bn-acc);
  outline-offset: 2px;
  border-color: var(--bn-acc);
}

.cal-done-btn {
  display: block;
  width: calc(100% - 28px);
  margin: 10px 14px 14px;
  padding: 9px;
  background: var(--bn-acc);
  color: #fff;
  border: none;
  border-radius: var(--bn-radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background var(--bn-transition);
}

.cal-done-btn:hover {
  background: var(--bn-acc-dark, #be185d);
}

.cal-done-btn:focus-visible {
  outline: 2px solid var(--bn-acc);
  outline-offset: 2px;
}

/* Time selects inherit input styling */
.form-group select {
  width: 100%;
  padding: 12px 40px 12px 16px;
  background: var(--bn-bg);
  border: 1.5px solid var(--bn-bdr);
  border-radius: var(--bn-radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--bn-text);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  transition: border-color var(--bn-transition), box-shadow var(--bn-transition), background var(--bn-transition);
}

.form-group select:focus {
  border-color: var(--bn-acc);
  box-shadow: 0 0 0 3px rgba(219,39,119,0.12);
  outline: none;
  background-color: var(--bn-surf);
}

.form-optional {
  font-weight: 400;
  color: var(--bn-text-faint);
  font-size: 0.8em;
}

/* ── Inline field validation errors (from bn-contact.js) ── */
.field-error {
  display: block;
  margin-top: 5px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #991b1b;
}

[data-theme="dark"] .field-error {
  color: #fca5a5;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */

/* Touch target fixes (WCAG 2.5.5 — minimum 44×44px) */
@media (max-width: 768px) {
  .theme-toggle {
    width: 44px;
    height: 44px;
  }

  .nav__burger {
    width: 44px;
    height: 44px;
  }

}

/* Hide decorative side elements on all phones and small tablets */
@media (max-width: 768px) {
  .hero__credentials,
  .hero__sparkles {
    display: none;
  }

  .hero__wave svg {
    height: 40px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 52px;
  }

  .page-content {
    padding: 40px 20px 56px;
  }
}

@media (max-width: 700px) {
  .rates-box {
    flex-direction: column;
    padding: 28px 24px;
    gap: 20px;
  }

  .rates-divider {
    width: 60px;
    height: 1px;
  }

  .contact-wrap {
    padding: 28px 22px;
  }

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

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
