/* Pawthority Design System - Extracted from React Codebase */

/* ============================================
   FULL WIDTH - MOBILE (no body/html margins)
   ============================================ */

html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: clip; /* clip instead of hidden - allows position:sticky to work */
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 100%;
  overflow-x: clip; /* clip instead of hidden - allows position:sticky to work */
}

* {
  box-sizing: border-box;
}

.page-wrapper,
main,
.main-content,
#root,
#app {
  margin: 0;
  padding: 0;
  width: 100%;
}

/* ============================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================ */

:root {
  /* Pure white backgrounds */
  --background: #FFFFFF;
  --foreground: #282D35;

  /* White cards */
  --card: #FFFFFF;
  --card-foreground: #282D35;

  /* Teal primary (replacing warm gold) */
  --primary: #0D9488;
  --primary-foreground: hsl(0, 0%, 100%);

  /* Grey secondary */
  --secondary: #6B7280;
  --secondary-foreground: hsl(0, 0%, 100%);

  /* Light grey for alternating sections */
  --muted: #F5F5F7;
  --muted-foreground: #6B7280;

  /* Light teal - Accent */
  --accent: #14B8A6;
  --accent-foreground: hsl(0, 0%, 100%);

  /* Soft sage green - Nature accent */
  --sage: hsl(142, 40%, 65%);
  --sage-foreground: hsl(142, 45%, 25%);
  
  /* Dark brown for hero text */
  --brown: hsl(25, 25%, 20%);
  --brown-foreground: hsl(0, 0%, 100%);
  
  /* Lighter brown for subheadline hierarchy */
  --brown-light: hsl(33, 13%, 31%);
  --brown-light-foreground: hsl(0, 0%, 100%);

  /* Bright gold - Premium and ratings */
  --gold: hsl(45, 95%, 55%);
  --gold-foreground: hsl(45, 30%, 20%);

  /* Emerald green - CTA accent for conversions */
  --emerald: hsl(160, 84%, 39%);
  --emerald-foreground: hsl(0, 0%, 100%);
  --emerald-light: hsl(152, 76%, 95%);

  --destructive: hsl(0, 70%, 55%);
  --destructive-foreground: hsl(0, 0%, 100%);

  --border: #E5E7EB;
  --input: #F5F5F7;
  --ring: #0D9488;

  --radius: 0.75rem;
  
  /* Warm earthy gradients */
  --gradient-gold: linear-gradient(135deg, hsl(35, 45%, 55%), hsl(40, 50%, 60%));
  --gradient-trust: linear-gradient(135deg, hsl(150, 25%, 60%), hsl(160, 30%, 65%));
  --gradient-premium: linear-gradient(135deg, hsl(35, 45%, 55%), hsl(150, 25%, 60%));
  
  /* Soft elegant shadows */
  --shadow-soft: 0 2px 8px -2px hsla(25, 20%, 40%, 0.10);
  --shadow-card: 0 4px 16px -4px hsla(25, 20%, 40%, 0.12);
  --shadow-gold: 0 8px 24px -8px hsla(35, 45%, 55%, 0.25);
  
  /* Smooth transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #FFFFFF;
  color: #282D35;
  line-height: 1.6;
}

/* Ensure all page types have white background */
.homepage,
.borough-landing-page,
.directory-page,
.provider-profile-page,
.verification-page,
.legal-page,
.for-professionals-page {
  background: #FFFFFF !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--foreground);
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

/* ============================================
   BASE STYLES
   ============================================ */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

* {
  border-color: var(--border);
}

/* ============================================
   COMPONENT STYLES
   ============================================ */

/* Star rating styling - using gold color */
.rating-star {
  color: var(--gold);
}

/* Premium badge - using gold gradient */
.premium-badge {
  background: var(--gradient-premium);
  color: var(--gold-foreground);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: calc(var(--radius) - 2px);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-gold);
}

/* Provider card - base styles, centered content site-wide */
.provider-card {
  background-color: var(--card);
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.provider-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(13, 148, 136, 0.15);
  border-color: #0D9488;
  cursor: pointer;
}

/* Borough landing page - fully clickable provider cards, centered content */
.borough-provider-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.borough-provider-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(13, 148, 136, 0.15);
  border-color: #0D9488;
}

.borough-provider-card .provider-name {
  color: #282D35;
  text-decoration: none;
}

.borough-provider-card .provider-card-attributes .provider-attribute-tag {
  pointer-events: none;
}

/* Consultation Price on Borough Cards (vets only) */
.provider-consultation {
  font-size: 0.9rem;
  font-weight: 600;
  color: #282D35;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: rgba(13, 148, 136, 0.08);
  border-radius: 6px;
  display: inline-block;
  width: fit-content;
}

/* Provider card attribute tags */
.provider-card-attributes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.provider-attribute-tag {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: calc(var(--radius) - 2px);
  background-color: hsla(142, 40%, 65%, 0.2);
  color: var(--foreground);
  border: 1px solid hsla(142, 40%, 65%, 0.4);
}

/* Filter sidebar */
.filter-sidebar {
  position: sticky;
  top: 1rem;
  height: fit-content;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

/* Loading spinner - using sage color */
.spinner {
  border: 3px solid var(--muted);
  border-top: 3px solid var(--sage);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Truncate text utility */
.text-truncate {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   HEADER STYLES
   ============================================ */

header {
  background-color: var(--card);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  background-color: hsla(35, 25%, 97%, 0.95);
}

header a {
  color: var(--foreground);
  transition: color 0.2s ease;
}

header a:hover {
  color: var(--primary);
}

/* Mobile menu toggle - hidden on desktop */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 6px;
  transition: background 0.2s;
}

.mobile-menu-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--foreground);
  transition: 0.3s;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav - slide-out panel */
@media (max-width: 767px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .homepage-header-nav {
    padding: 0 16px;
  }

  .homepage-header-links {
    position: fixed;
    top: 64px;
    left: -100%;
    width: min(320px, 85vw);
    height: calc(100vh - 64px);
    background: var(--card);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    transition: left 0.3s ease;
    overflow-y: auto;
    z-index: 999;
    flex-direction: column;
    gap: 0;
    padding: 24px;
    align-items: stretch;
  }

  .homepage-header-links.active {
    left: 0;
  }

  .homepage-header-links a {
    padding: 16px;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .homepage-header-links a:last-child {
    border-bottom: none;
  }

  /* Overlay when menu open */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    top: 64px;
  }

  .nav-overlay.active {
    display: block;
  }
}

@media (min-width: 768px) {
  .homepage-header-links {
    display: flex !important;
  }
}

/* Logo gradient text */
.logo-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   BUTTON STYLES
   ============================================ */

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: hsla(35, 45%, 50%, 1);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn-sage {
  background-color: var(--sage);
  color: var(--sage-foreground);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

.btn-sage:hover {
  background-color: hsla(142, 40%, 60%, 1);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--gold-foreground);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background-color: hsla(45, 95%, 50%, 1);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px hsla(45, 95%, 55%, 0.35);
}

.btn-emerald {
  background-color: var(--emerald);
  color: var(--emerald-foreground);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

.btn-emerald:hover {
  background-color: hsla(160, 84%, 35%, 1);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

/* ============================================
   HERO SECTION STYLES
   ============================================ */

.hero-gradient {
  background: linear-gradient(180deg, hsl(232, 95%, 91%) 0%, hsl(48, 95%, 96%) 100%);
  /* Alternative warm gradient matching React design */
  /* background: linear-gradient(180deg, hsl(142, 40%, 95%) 0%, hsl(35, 45%, 96%) 100%); */
}

/* Borough Landing Hero - dark gradient, centered content, pill search */
.borough-landing-hero {
  background: linear-gradient(180deg, hsl(220, 12%, 18%) 0%, hsl(218, 15%, 35%) 50%, hsl(215, 18%, 48%) 100%);
  padding: 48px 24px 64px;
  text-align: center;
}

/* Greenwich borough hero - full-width background image with overlay */
.borough-landing-hero-greenwich {
  position: relative;
  min-height: 420px;
  background-color: hsl(220, 12%, 18%);
  background-image: url('/images/greenwich-hero.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.borough-landing-hero-greenwich::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.borough-landing-hero-greenwich .max-w-3xl {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .borough-landing-hero-greenwich {
    min-height: 480px;
  }
}

@media (min-width: 1024px) {
  .borough-landing-hero-greenwich {
    min-height: 520px;
  }
}

@media (max-width: 480px) {
  .borough-landing-hero-greenwich {
    min-height: 380px;
  }
}

/* Barnet borough hero - full-width background image with overlay */
.borough-landing-hero-barnet {
  position: relative;
  min-height: 420px;
  background-color: hsl(220, 12%, 18%);
  background-image: url('/images/victoria-park-barnet-hero.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.borough-landing-hero-barnet::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.borough-landing-hero-barnet .max-w-3xl {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .borough-landing-hero-barnet {
    min-height: 480px;
  }
}

@media (min-width: 1024px) {
  .borough-landing-hero-barnet {
    min-height: 520px;
  }
}

@media (max-width: 480px) {
  .borough-landing-hero-barnet {
    min-height: 380px;
  }
}

/* Brent borough hero - full-width background image with overlay */
.borough-landing-hero-brent {
  position: relative;
  min-height: 420px;
  background-color: hsl(220, 12%, 18%);
  background-image: url('/images/brent-hero.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.borough-landing-hero-brent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.borough-landing-hero-brent .max-w-3xl {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .borough-landing-hero-brent {
    min-height: 480px;
  }
}

@media (min-width: 1024px) {
  .borough-landing-hero-brent {
    min-height: 520px;
  }
}

@media (max-width: 480px) {
  .borough-landing-hero-brent {
    min-height: 380px;
  }
}

/* Camden borough hero - full-width background image with overlay */
.borough-landing-hero-camden {
  position: relative;
  min-height: 420px;
  background-color: hsl(220, 12%, 18%);
  background-image: url('/images/hampstead-heath-hero.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.borough-landing-hero-camden::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.borough-landing-hero-camden .max-w-3xl {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .borough-landing-hero-camden {
    min-height: 480px;
  }
}

@media (min-width: 1024px) {
  .borough-landing-hero-camden {
    min-height: 520px;
  }
}

@media (max-width: 480px) {
  .borough-landing-hero-camden {
    min-height: 380px;
  }
}

/* Ealing borough hero - full-width background image with overlay */
.borough-landing-hero-ealing {
  position: relative;
  min-height: 420px;
  background-color: hsl(220, 12%, 18%);
  background-image: url('/images/gunnersbury-park-hero.png');
  background-size: 100% auto;
  background-position: center center;
  background-repeat: no-repeat;
}

.borough-landing-hero-ealing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.borough-landing-hero-ealing .max-w-3xl {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .borough-landing-hero-ealing {
    min-height: 480px;
  }
}

@media (min-width: 1024px) {
  .borough-landing-hero-ealing {
    min-height: 520px;
  }
}

@media (max-width: 480px) {
  .borough-landing-hero-ealing {
    min-height: 380px;
  }
}

/* Hackney borough hero - full-width background image with overlay */
.borough-landing-hero-hackney {
  position: relative;
  min-height: 420px;
  background-color: hsl(220, 12%, 18%);
  background-image: url('/images/hackney-hero.jpg');
  background-size: cover;
  background-position: center 67%;
  background-repeat: no-repeat;
}

.borough-landing-hero-hackney::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.borough-landing-hero-hackney .max-w-3xl {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .borough-landing-hero-hackney {
    min-height: 480px;
  }
}

@media (min-width: 1024px) {
  .borough-landing-hero-hackney {
    min-height: 520px;
  }
}

@media (max-width: 480px) {
  .borough-landing-hero-hackney {
    min-height: 380px;
  }
}

/* Hammersmith & Fulham borough hero - full-width background image with overlay */
.borough-landing-hero-hammersmith-fulham {
  position: relative;
  min-height: 420px;
  background-color: hsl(220, 12%, 18%);
  background-image: url('/images/hammersmith-fulham-hero.jpg');
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
}

.borough-landing-hero-hammersmith-fulham::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.borough-landing-hero-hammersmith-fulham .max-w-3xl {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .borough-landing-hero-hammersmith-fulham {
    min-height: 480px;
  }
}

@media (min-width: 1024px) {
  .borough-landing-hero-hammersmith-fulham {
    min-height: 520px;
  }
}

@media (max-width: 480px) {
  .borough-landing-hero-hammersmith-fulham {
    min-height: 380px;
  }
}

/* Islington borough hero - full-width background image with overlay */
.borough-landing-hero-islington {
  position: relative;
  min-height: 420px;
  background-color: hsl(220, 12%, 18%);
  background-image: url('/images/islington-hero.jpg');
  background-size: cover;
  background-position: center 52%;
  background-repeat: no-repeat;
}

.borough-landing-hero-islington::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.borough-landing-hero-islington .max-w-3xl {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .borough-landing-hero-islington {
    min-height: 480px;
  }
}

@media (min-width: 1024px) {
  .borough-landing-hero-islington {
    min-height: 520px;
  }
}

@media (max-width: 480px) {
  .borough-landing-hero-islington {
    min-height: 380px;
  }
}

/* Kensington & Chelsea borough hero - full-width background image with overlay */
.borough-landing-hero-kensington-chelsea {
  position: relative;
  min-height: 420px;
  background-color: hsl(220, 12%, 18%);
  background-image: url('/images/kensington-chelsea-hero.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.borough-landing-hero-kensington-chelsea::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.borough-landing-hero-kensington-chelsea .max-w-3xl {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .borough-landing-hero-kensington-chelsea {
    min-height: 480px;
  }
}

@media (min-width: 1024px) {
  .borough-landing-hero-kensington-chelsea {
    min-height: 520px;
  }
}

@media (max-width: 480px) {
  .borough-landing-hero-kensington-chelsea {
    min-height: 380px;
  }
}

/* Kingston upon Thames borough hero - full-width background image with overlay */
.borough-landing-hero-kingston-upon-thames {
  position: relative;
  min-height: 420px;
  background-color: hsl(220, 12%, 18%);
  background-image: url('/images/bushy-park-hero.jpg');
  background-size: cover;
  background-position: 75% 58%;
  background-repeat: no-repeat;
}

.borough-landing-hero-kingston-upon-thames::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.borough-landing-hero-kingston-upon-thames .max-w-3xl {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .borough-landing-hero-kingston-upon-thames {
    min-height: 480px;
  }
}

@media (min-width: 1024px) {
  .borough-landing-hero-kingston-upon-thames {
    min-height: 520px;
  }
}

@media (max-width: 480px) {
  .borough-landing-hero-kingston-upon-thames {
    min-height: 380px;
  }
}

/* Lambeth borough hero - full-width background image with overlay (fallback for non-split) */
.borough-landing-hero-lambeth {
  position: relative;
  min-height: 420px;
  background-color: hsl(220, 12%, 18%);
  background-image: url('/images/lambeth-hero.jpg');
  background-size: cover;
  background-position: center 44%;
  background-repeat: no-repeat;
}

.borough-landing-hero-lambeth::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.borough-landing-hero-lambeth .max-w-3xl {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .borough-landing-hero-lambeth {
    min-height: 480px;
  }
}

@media (min-width: 1024px) {
  .borough-landing-hero-lambeth {
    min-height: 520px;
  }
}

@media (max-width: 480px) {
  .borough-landing-hero-lambeth {
    min-height: 380px;
  }
}

/* Borough landing split-screen hero - same layout as service landing pages */
.borough-landing-hero-split.service-landing-hero-split .hero-split-title,
.borough-landing-hero-split.service-landing-hero-split .borough-hero-title {
  color: var(--homepage-text);
}

.borough-landing-hero-split.service-landing-hero-split #hero-sub,
.borough-landing-hero-split.service-landing-hero-split .borough-hero-sub {
  color: var(--homepage-muted);
}

.borough-landing-hero-split.service-landing-hero-split .borough-landing-trust-badges {
  color: var(--homepage-muted);
}

.borough-landing-hero-split.service-landing-hero-split .borough-landing-trust-badges svg {
  color: var(--homepage-primary);
}

.borough-landing-hero-split.service-landing-hero-split .borough-hero-borough {
  color: var(--homepage-primary);
}

.borough-landing-hero-split.service-landing-hero-split .borough-landing-search-pill {
  border-color: var(--homepage-border);
}

/* Borough split hero - image positioning per borough */
.borough-landing-hero-split-greenwich .hero-split-image { object-position: 43% center; }
.borough-landing-hero-split-barnet .hero-split-image { object-position: 5% center; }
.borough-landing-hero-split-brent .hero-split-image { object-position: center center; }
.borough-landing-hero-split-camden .hero-split-image { object-position: 45% center; }
.borough-landing-hero-split-ealing .hero-split-image { object-position: 72% center; }
.borough-landing-hero-split-hackney .hero-split-image { object-position: 43% 67%; }
.borough-landing-hero-split-hammersmith-fulham .hero-split-image { object-position: 77% 65%; }
.borough-landing-hero-split-islington .hero-split-image { object-position: center 52%; }
.borough-landing-hero-split-kensington-chelsea .hero-split-image { object-position: 18% center; }
.borough-landing-hero-split-kingston-upon-thames .hero-split-image { object-position: 22% 58%; }
.borough-landing-hero-split-lambeth .hero-split-image { object-position: center 44%; }
.borough-landing-hero-split-lewisham .hero-split-image { object-position: center center; }
.borough-landing-hero-split-merton .hero-split-image { object-position: 43% 75%; }
.borough-landing-hero-split-southwark .hero-split-image { object-position: 64% 55%; }
.borough-landing-hero-split-richmond .hero-split-image { object-position: center 10%; }
.borough-landing-hero-split-westminster .hero-split-image { object-position: center 22%; }
.borough-landing-hero-split-wandsworth .hero-split-image { object-position: center center; }
.borough-landing-hero-split-tower-hamlets .hero-split-image { object-position: center 2%; }
.borough-landing-hero-split-sutton .hero-split-image { object-position: 45% center; }

/* Merton borough hero - full-width background image with overlay */
.borough-landing-hero-merton {
  position: relative;
  min-height: 420px;
  background-color: hsl(220, 12%, 18%);
  background-image: url('/images/wimbledon-common-hero.jpg');
  background-size: cover;
  background-position: center 75%;
  background-repeat: no-repeat;
}

.borough-landing-hero-merton::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.borough-landing-hero-merton .max-w-3xl {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .borough-landing-hero-merton {
    min-height: 480px;
  }
}

@media (min-width: 1024px) {
  .borough-landing-hero-merton {
    min-height: 520px;
  }
}

@media (max-width: 480px) {
  .borough-landing-hero-merton {
    min-height: 380px;
  }
}

/* Southwark borough hero - full-width background image with overlay */
.borough-landing-hero-southwark {
  position: relative;
  min-height: 420px;
  background-color: hsl(220, 12%, 18%);
  background-image: url('/images/southwark-hero.jpg');
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
}

.borough-landing-hero-southwark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.borough-landing-hero-southwark .max-w-3xl {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .borough-landing-hero-southwark {
    min-height: 480px;
  }
}

@media (min-width: 1024px) {
  .borough-landing-hero-southwark {
    min-height: 520px;
  }
}

@media (max-width: 480px) {
  .borough-landing-hero-southwark {
    min-height: 380px;
  }
}

/* Richmond borough hero - full-width background image with overlay */
.borough-landing-hero-richmond {
  position: relative;
  min-height: 420px;
  background-color: hsl(220, 12%, 18%);
  background-image: url('/images/richmond-park-hero.jpg');
  background-size: cover;
  background-position: center 10%;
  background-repeat: no-repeat;
}

.borough-landing-hero-richmond::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.borough-landing-hero-richmond .max-w-3xl {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .borough-landing-hero-richmond {
    min-height: 480px;
  }
}

@media (min-width: 1024px) {
  .borough-landing-hero-richmond {
    min-height: 520px;
  }
}

@media (max-width: 480px) {
  .borough-landing-hero-richmond {
    min-height: 380px;
  }
}

/* Westminster borough hero - full-width background image with overlay */
.borough-landing-hero-westminster {
  position: relative;
  min-height: 420px;
  background-color: hsl(220, 12%, 18%);
  background-image: url('/images/westminster-hero.jpg');
  background-size: cover;
  background-position: center 22%;
  background-repeat: no-repeat;
}

.borough-landing-hero-westminster::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.borough-landing-hero-westminster .max-w-3xl {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .borough-landing-hero-westminster {
    min-height: 480px;
  }
}

@media (min-width: 1024px) {
  .borough-landing-hero-westminster {
    min-height: 520px;
  }
}

@media (max-width: 480px) {
  .borough-landing-hero-westminster {
    min-height: 380px;
  }
}

/* Borough landing page hero heading - Standard journey H1 */
.borough-hero-title,
.borough-landing-hero h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: #FFFFFF;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .borough-hero-title,
  .borough-landing-hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .borough-hero-title,
  .borough-landing-hero h1 {
    font-size: 3.5rem;
  }
}

.borough-hero-title .borough-hero-borough {
  display: block;
  font-size: 1em;
  margin-top: 4px;
}

.borough-hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.borough-landing-search-pill {
  display: flex;
  align-items: stretch;
  max-width: 520px;
  margin: 0 auto 20px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: white;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.borough-landing-search-pill select {
  flex: 1;
  min-width: 0;
  padding: 14px 20px;
  font-size: 16px;
  color: var(--foreground);
  background: white;
  border: none;
  border-radius: 0;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 44px;
}

.borough-landing-search-pill .borough-view-all-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  background: hsl(174, 58%, 39%);
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.borough-landing-search-pill .borough-view-all-btn:hover {
  background: hsl(174, 58%, 32%);
}

@media (max-width: 480px) {
  .borough-landing-search-pill {
    flex-direction: column;
    border-radius: 16px;
  }
  .borough-landing-search-pill select {
    padding-right: 20px;
    border-bottom: 1px solid var(--border);
  }
  .borough-landing-search-pill .borough-view-all-btn {
    border-radius: 0 0 16px 16px;
  }
}

.borough-landing-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.borough-landing-trust-badges span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.borough-landing-trust-badges .trust-check {
  color: hsl(142, 56%, 55%);
}

.borough-landing-trust-badges .trust-google {
  width: 16px;
  height: 16px;
}

.borough-landing-trust-badges .trust-star {
  color: var(--gold);
}

/* Borough landing page - white header bar */
.borough-landing-page .homepage-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.borough-landing-page .homepage-logo {
  color: var(--foreground);
}

.borough-landing-page .homepage-header-links a {
  color: var(--foreground);
}

.borough-landing-page .homepage-header-links a:hover {
  color: var(--primary);
}

/* Dog Walking Service Hero - full-bleed image, left-aligned content */
.dog-walking-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-image: url('/images/dog%20walking%20hero.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.dog-walking-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.2) 100%);
}

.dog-walking-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0;
  padding: 64px 32px 80px;
  width: 100%;
}

.dog-walking-hero-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.2;
  color: white;
  margin-bottom: 16px;
}

.dog-walking-hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 28px;
  max-width: 520px;
}

.dog-walking-search-container {
  max-width: 420px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dog-walking-search-container label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: white;
  margin-bottom: 8px;
}

.dog-walking-search-container select {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  background: white;
  color: #282D35;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  margin-bottom: 16px;
}

.dog-walking-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  color: white;
  background: #0D9488;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.dog-walking-search-btn:hover {
  background: #0b8278;
}

/* Pet Sitting Service Hero - same layout, different image */
.pet-sitting-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-image: url('/images/pet%20sitting%20hero.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Dog Training, Dog Grooming, Dog Day Care Service Heroes */
.dog-training-hero,
.dog-grooming-hero,
.dog-day-care-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.dog-training-hero { background-image: url('/images/dog-training-hero.jpg'); }
.dog-grooming-hero { background-image: url('/images/dog-grooming-hero.jpg'); }
.dog-day-care-hero { background-image: url('/images/dog-day-care-hero.jpg'); }

/* Pet Boarding and Vets - use main hero image */
.pet-boarding-hero,
.vets-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-image: url('/images/hero-image.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Service landing split-screen hero - same layout as homepage hero */
.service-landing-hero-split {
  min-height: 500px;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .service-landing-hero-split {
    min-height: 620px;
  }
}

.service-landing-hero-split .hero-split-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 500px;
}

@media (min-width: 1024px) {
  .service-landing-hero-split .hero-split-container {
    flex-direction: row;
    display: grid;
    grid-template-columns: 55fr 45fr;
    min-height: 620px;
  }
}

/* Service landing search card - light styling for white left panel */
.service-landing-hero-split .dog-walking-search-container {
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.service-landing-hero-split .dog-walking-search-container label {
  color: var(--homepage-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.service-landing-hero-split .dog-walking-search-container select {
  border: 1px solid var(--homepage-border);
}

.service-landing-hero-split .dog-walking-trust-badge {
  color: var(--homepage-muted);
  font-size: 14px;
}

/* Header over dark hero - only for non-split service landing pages */
.service-landing-hero-page .homepage-header {
  background: rgba(0, 0, 0, 0.25);
  border-bottom-color: transparent;
}

.service-landing-hero-page .homepage-logo {
  color: white;
}

.service-landing-hero-page .homepage-header-links a {
  color: rgba(255, 255, 255, 0.9);
}

.service-landing-hero-page .homepage-header-links a:hover {
  color: white;
}

.dog-walking-trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

/* Service Landing - Value Props, About, FAQ */
.service-landing-value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 768px) {
  .service-landing-value-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-landing-value-card {
  text-align: center;
  padding: 24px 16px;
  background: white;
  border: 1px solid var(--homepage-border);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.service-landing-value-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 148, 136, 0.1);
  border-radius: 50%;
  color: var(--homepage-primary);
}

.service-landing-value-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--homepage-text);
  margin-bottom: 8px;
}

.service-landing-value-desc {
  font-size: 14px;
  color: var(--homepage-muted);
  line-height: 1.5;
}

.service-landing-about {
  margin-top: 24px;
}

.service-landing-about h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--homepage-text);
  margin-top: 24px;
  margin-bottom: 12px;
}

.service-landing-about h3:first-child {
  margin-top: 0;
}

.service-landing-about p {
  font-size: 16px;
  color: var(--homepage-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.homepage-step-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--homepage-primary);
  text-decoration: none;
}

.homepage-step-link:hover {
  text-decoration: underline;
}

.service-landing-faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-landing-faq-item {
  background: white;
  border: 1px solid var(--homepage-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.service-landing-faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--homepage-text);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.service-landing-faq-question svg {
  flex-shrink: 0;
  color: var(--homepage-primary);
  transition: transform 0.2s;
}

.service-landing-faq-question.active svg {
  transform: rotate(180deg);
}

.service-landing-faq-answer {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--homepage-muted);
  line-height: 1.6;
}

.service-landing-faq-answer.hidden {
  display: none;
}

/* ============================================
   CARD STYLES
   ============================================ */

.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

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

/* Card header with distinct background */
.card-header {
  background-color: hsl(25, 10%, 98%);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  margin: -1.5rem -1.5rem 1.5rem -1.5rem;
}

/* ============================================
   BADGE STYLES
   ============================================ */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--border);
}

.badge-outline {
  border: 1px solid hsla(142, 40%, 65%, 0.3);
  color: var(--foreground);
  background-color: transparent;
}

.badge-outline:hover {
  background-color: hsla(142, 40%, 65%, 0.1);
  border-color: var(--sage);
}

.badge-premium {
  background: var(--gradient-premium);
  color: var(--gold-foreground);
  border: none;
  box-shadow: var(--shadow-gold);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-primary {
  color: var(--primary);
}

.text-sage {
  color: var(--sage);
}

.text-gold {
  color: var(--gold);
}

.text-emerald {
  color: var(--emerald);
}

.text-muted {
  color: var(--muted-foreground);
}

.bg-primary {
  background-color: var(--primary);
}

.bg-sage {
  background-color: var(--sage);
}

.bg-gold {
  background-color: var(--gold);
}

.bg-emerald {
  background-color: var(--emerald);
}

.bg-card {
  background-color: var(--card);
}

.bg-muted {
  background-color: var(--muted);
}

.border-sage {
  border-color: var(--sage);
}

.shadow-card {
  box-shadow: var(--shadow-card);
}

.shadow-gold {
  box-shadow: var(--shadow-gold);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Base: ensure 16px minimum to prevent iOS zoom on input focus */
html {
  font-size: 16px;
}

/* Touch-friendly buttons and links (min 44px) */
@media (max-width: 767px) {
  .btn-primary,
  .btn-sage,
  .btn-gold,
  .btn-emerald,
  .hero-search-btn,
  .homepage-cta-btn,
  .borough-view-all-btn {
    min-height: 44px;
    padding: 12px 24px;
  }

  .form-group input,
  .form-group textarea,
  .form-field input,
  .form-field select,
  .form-field textarea,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select.borough-dropdown {
    min-height: 44px;
    font-size: 16px;
    padding: 12px 16px;
  }

  /* Service hero - reduce min-height on mobile */
  .dog-walking-hero,
  .pet-sitting-hero,
  .dog-training-hero,
  .dog-grooming-hero,
  .dog-day-care-hero,
  .pet-boarding-hero,
  .vets-hero {
    min-height: 380px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .card {
    padding: 1rem;
  }
  
  .card-header {
    padding: 1rem;
    margin: -1rem -1rem 1rem -1rem;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ============================================
   ACCESSIBILITY
   ============================================ */

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border: hsl(25, 25%, 40%);
    --shadow-soft: 0 2px 8px -2px hsla(0, 0%, 0%, 0.3);
    --shadow-card: 0 4px 16px -4px hsla(0, 0%, 0%, 0.3);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   HOMEPAGE - Lovable Design System
   ============================================ */

.homepage {
  --homepage-bg: #FFFFFF;
  --homepage-text: #282D35;
  --homepage-muted: #6B7280;
  --homepage-primary: #0D9488;
  --homepage-border: #E5E7EB;
  --homepage-footer: #282D35;
  --homepage-cta-bg: #3a4249;
  --homepage-accent-tan: #c4a574;
  --homepage-overlay: rgba(0, 0, 0, 0.4);
  --homepage-testimonial-bg: #F5F5F7;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--homepage-bg);
  color: var(--homepage-text);
}

.homepage h1, .homepage h2, .homepage h3 {
  font-family: 'DM Serif Display', Georgia, serif;
}

/* Header */
.homepage-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--homepage-border);
}

.homepage-header-nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.homepage-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--homepage-text);
  text-decoration: none;
}

.homepage-logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.homepage-header-links {
  display: flex;
  gap: 24px;
}

.homepage-header-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--homepage-text);
  text-decoration: none;
}

.homepage-header-links a:hover {
  color: var(--homepage-primary);
}

/* Header over dark hero (dog walking, etc.) */
.dog-walking-page .homepage-header {
  background: rgba(0, 0, 0, 0.25);
  border-bottom-color: transparent;
}

.dog-walking-page .homepage-logo {
  color: white;
}

.dog-walking-page .homepage-header-links a {
  color: rgba(255, 255, 255, 0.9);
}

.dog-walking-page .homepage-header-links a:hover {
  color: white;
}

/* Hero - Split-screen design (matches reference image) */
.homepage-hero-split {
  min-height: 500px;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .homepage-hero-split {
    min-height: 620px;
  }
}

.hero-split-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 500px;
}

@media (min-width: 1024px) {
  .hero-split-container {
    flex-direction: row;
    display: grid;
    grid-template-columns: 55fr 45fr;
    min-height: 620px;
  }
}

/* Left panel - pure white, 55% */
.hero-split-left {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px 24px 64px;
  background: #ffffff;
  min-height: 360px;
}

@media (min-width: 640px) {
  .hero-split-left {
    padding: 48px 40px 64px;
  }
}

@media (min-width: 1024px) {
  .hero-split-left {
    min-height: 620px;
    padding: 64px 48px;
    align-items: center;
  }
}

@media (min-width: 1280px) {
  .hero-split-left {
    padding-left: 60px;
    padding-right: 60px;
  }
}

/* Content wrapper - centered, max-width */
.hero-split-content {
  width: 100%;
  max-width: 720px;
  position: relative;
  z-index: 1;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .hero-split-content {
    max-width: 560px;
  }
}

/* Decorative circles - subtle teal, very low opacity */
.hero-accent-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-accent-circle-1 {
  width: 130px;
  height: 130px;
  top: 12%;
  right: 20%;
  background: rgba(13, 148, 136, 0.04);
}

.hero-accent-circle-2 {
  width: 240px;
  height: 240px;
  bottom: -4%;
  left: -70px;
  background: rgba(13, 148, 136, 0.03);
}

@media (max-width: 1023px) {
  .hero-accent-circle {
    display: none;
  }
}

/* Homepage hero - larger (keep as-is)*/
.hero-split-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.12;
  color: var(--homepage-text);
  margin-bottom: 12px;
}

@media (min-width: 640px) {
  .hero-split-title {
    font-size: 44px;
  }
}

@media (min-width: 1024px) {
  .hero-split-title {
    font-size: 48px;
  }
}

/* Service landing page hero - Standard journey H1 */
.service-landing-hero-split .hero-split-title {
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .service-landing-hero-split .hero-split-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .service-landing-hero-split .hero-split-title {
    font-size: 3.5rem;
  }
}

.hero-split-accent {
  color: var(--homepage-primary);
}

.hero-split-sub {
  font-size: 16px;
  color: var(--homepage-muted);
  margin-bottom: 28px;
  line-height: 1.5;
  max-width: 36rem;
}

@media (min-width: 640px) {
  .hero-split-sub {
    font-size: 18px;
  }
}

/* Search card - frosted glass style */
.hero-search-card {
  width: 100%;
  max-width: 560px;
  padding: 20px;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-search-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 640px) {
  .hero-search-row {
    flex-direction: row;
    gap: 12px;
  }
}

.hero-search-field {
  flex: 1;
  min-width: 0;
}

.hero-search-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--homepage-muted);
  margin-bottom: 8px;
}

.hero-search-field select {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 500;
  color: var(--homepage-text);
  background: #ffffff;
  border: 1px solid var(--homepage-border);
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.hero-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  color: white;
  background: var(--homepage-primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.hero-search-btn:hover {
  background: #0b8278;
}

.hero-trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--homepage-muted);
}

.hero-trust-badge svg {
  flex-shrink: 0;
}

/* Right panel - 42%, image */
.hero-split-right {
  position: relative;
  flex: 1;
  min-height: 280px;
  order: -1;
}

@media (min-width: 1024px) {
  .hero-split-right {
    min-height: 620px;
    order: 0;
  }
}

/* Organic curved divider - extends from image into left panel */
.hero-split-divider {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 80px;
  margin-left: -64px;
  z-index: 10;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .hero-split-divider {
    display: block;
  }
}

.hero-split-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-split-image-wrap {
  position: absolute;
  inset: 0;
}

.hero-split-image-wrap::before {
  content: none;
}

/* Mobile: top gradient fade */
@media (max-width: 1023px) {
  .hero-split-image-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    background: linear-gradient(to bottom, #ffffff, transparent);
    z-index: 2;
    pointer-events: none;
  }
}

/* Vignette overlay */
.hero-split-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(40, 45, 53, 0.08) 0%, transparent 40%, transparent 60%, rgba(40, 45, 53, 0.04) 100%);
  pointer-events: none;
}

.hero-split-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center; /* Shift left to show cat's ear */
}

/* Dog day care hero - shift right to show dog's ear */
.dog-day-care-page .hero-split-image {
  object-position: 40% center;
}

/* Pet boarding hero - shift up and right */
.pet-boarding-page .hero-split-image {
  object-position: 40% 10%;
}

/* Vet hero - centre the image */
.vet-page .hero-split-image {
  object-position: 60% center;
}

/* Sections */
.homepage-section {
  padding: 64px 32px;
}

.homepage-container {
  max-width: 1400px;
  margin: 0 auto;
}

.homepage-section-title {
  font-size: 30px;
  font-weight: 400;
  text-align: center;
  color: var(--homepage-text);
  margin-bottom: 12px;
}

.homepage-section-sub {
  font-size: 16px;
  text-align: center;
  color: var(--homepage-muted);
  margin-bottom: 48px;
}

/* Services Grid */
.homepage-services {
  background: var(--homepage-testimonial-bg);
}

.homepage-services .homepage-container {
  max-width: 1000px;
}

.homepage-services-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

@media (min-width: 640px) {
  .homepage-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .homepage-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.homepage-service-card {
  display: block;
  padding: 16px;
  background: white;
  border: 1px solid var(--homepage-border);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}

.homepage-service-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.homepage-service-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 148, 136, 0.1);
  border-radius: 8px;
  color: var(--homepage-primary);
  margin-bottom: 12px;
}

.homepage-service-icon svg,
.homepage-service-icon img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  object-fit: contain;
}

.homepage-service-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--homepage-text);
  margin-bottom: 6px;
}

.homepage-service-desc {
  font-size: 14px;
  color: var(--homepage-muted);
  line-height: 1.5;
}

/* How It Works */
.homepage-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .homepage-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.homepage-step {
  text-align: center;
}

.homepage-step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 148, 136, 0.1);
  border: 2px solid var(--homepage-primary);
  border-radius: 50%;
  color: var(--homepage-primary);
}

.homepage-step-title {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--homepage-text);
  margin-bottom: 8px;
}

.homepage-step-desc {
  font-size: 14px;
  color: var(--homepage-muted);
  line-height: 1.5;
}

/* Testimonial */
.homepage-testimonial {
  background: var(--homepage-testimonial-bg);
  padding: 48px 20px;
}

@media (min-width: 480px) {
  .homepage-testimonial {
    padding: 64px 32px;
  }
}

@media (min-width: 768px) {
  .homepage-testimonial {
    padding: 80px 32px;
  }
}

.homepage-testimonial .homepage-section-title {
  margin-top: 0;
  margin-bottom: 32px;
}

.homepage-testimonial-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.homepage-testimonial-image {
  overflow: hidden;
  height: 220px;
}

.homepage-testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (min-width: 480px) {
  .homepage-testimonial-content {
    grid-template-columns: 220px 1fr;
    height: 360px;
  }

  .homepage-testimonial-image {
    height: 100%;
  }
}

@media (min-width: 768px) {
  .homepage-testimonial-content {
    grid-template-columns: minmax(0, 420px) 1fr;
    height: 400px;
  }
}

.homepage-testimonial-quote {
  padding: 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .homepage-testimonial-quote {
    padding: 36px 40px;
  }
}

.homepage-quote-icon {
  color: var(--homepage-primary);
  opacity: 0.6;
  margin-bottom: 10px;
  width: 32px;
  height: 32px;
}

@media (min-width: 480px) {
  .homepage-quote-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }
}

@media (min-width: 768px) {
  .homepage-quote-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }
}

.homepage-quote-text {
  font-size: 18px;
  font-style: italic;
  color: var(--homepage-text);
  line-height: 1.6;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .homepage-quote-text {
    font-size: 19px;
    line-height: 1.65;
    margin-bottom: 24px;
  }
}

.homepage-quote-attribution {
  display: flex;
  align-items: center;
  gap: 14px;
}

.homepage-quote-avatar {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--homepage-primary);
  color: white;
  font-size: 14px;
  font-weight: 600;
  border-radius: 50%;
}

.homepage-quote-name {
  font-weight: 600;
  color: var(--homepage-text);
}

.homepage-quote-role {
  font-size: 14px;
  color: var(--homepage-muted);
}

/* Bottom CTA */
.homepage-cta {
  padding: 64px 32px;
  background: var(--homepage-cta-bg);
  text-align: center;
}

.homepage-cta-pre {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--homepage-primary);
  margin-bottom: 12px;
}

.homepage-cta-title {
  font-size: 36px;
  font-weight: 400;
  color: white;
  margin-bottom: 12px;
}

.homepage-cta-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

.homepage-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  color: white !important;
  background-color: #0D9488 !important;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
}

.homepage-cta-btn:hover {
  background-color: #0b8278 !important;
}

/* Center the View All button on borough landing pages */
.borough-view-all-container {
  text-align: center;
  margin-top: 32px;
  padding-bottom: 48px;
}

.borough-view-all-container .homepage-cta-btn {
  display: inline-flex;
}

.borough-view-all-container .homepage-cta-btn:hover {
  transform: translateY(-2px);
}

/* Footer */
.homepage-footer,
footer.homepage-footer {
  padding: 48px 32px 32px;
  background: #282D35 !important;
  color: white;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.homepage-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px 24px;
  margin-bottom: 40px;
}

@media (min-width: 640px) {
  .homepage-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .homepage-footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.homepage-footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.homepage-footer-paw {
  color: #0D9488;
  flex-shrink: 0;
}

.homepage-footer-logo-img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.homepage-footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-bottom: 24px;
}

.homepage-footer-block {
  margin-top: 24px;
}

.homepage-footer-block .homepage-footer-heading {
  margin-bottom: 12px;
}

.homepage-footer-heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: white;
}

.homepage-footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-bottom: 8px;
}

.homepage-footer-col a:hover {
  color: white;
}

.homepage-footer-listing {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.homepage-footer-listing a {
  display: inline;
  color: #9ca3af;
  text-decoration: underline;
}

.homepage-footer-listing a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.homepage-footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.homepage-footer-bottom a {
  color: #0D9488;
  text-decoration: none;
}

.homepage-footer-bottom a:hover {
  text-decoration: underline;
}

.homepage-footer-paw-inline {
  display: inline-block;
  vertical-align: middle;
  margin: 0 2px;
}

.homepage-footer-bottom p {
  margin-bottom: 4px;
}

/* Provider profile pages: footer uses same dark style as all pages (no override needed) */

/* Provider Profile Page - Teal Brand & Sidebar Polish */
body.provider-profile-page {
  --teal-primary: #0D9488;
  --teal-hover: #0b8278;
  --teal-light: #14B8A6;
}

/* Provider header: match homepage style (white bg, dark logo text, consistent placement) */
body.provider-profile-page .homepage-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

body.provider-profile-page .homepage-logo {
  color: #282D35;
}

body.provider-profile-page .homepage-header-links a {
  color: #282D35;
  font-size: 14px;
  font-weight: 500;
}

body.provider-profile-page .homepage-header-links a:hover {
  color: #0D9488;
}

/* Sticky sidebar - desktop only, no scrollbar */
@media (min-width: 1024px) {
  body.provider-profile-page .provider-sidebar {
    position: sticky;
    top: 80px; /* 64px header + 16px buffer */
    align-self: start;
    /* NO max-height - prevents scrollbar */
    /* NO overflow - scroll with page */
  }
}

/* Disable sticky on mobile/tablet */
@media (max-width: 1023px) {
  body.provider-profile-page .provider-sidebar {
    position: static;
    top: auto;
  }
}

body.provider-profile-page .sidebar-card.contact-form {
  background: rgba(13, 148, 136, 0.03);
  border: 1px solid rgba(13, 148, 136, 0.15);
}

body.provider-profile-page .sidebar-card.contact-form h3 {
  color: #282D35;
}

body.provider-profile-page .sidebar-card.contact-form .form-group input,
body.provider-profile-page .sidebar-card.contact-form .form-group textarea {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #D1D5DB;
  transition: border-color 0.2s, box-shadow 0.2s;
}

body.provider-profile-page .form-group input:focus,
body.provider-profile-page .form-group textarea:focus {
  border-color: #0D9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

body.provider-profile-page .sidebar-card.contact-form .form-group label {
  color: #374151;
  margin-bottom: 8px;
}

body.provider-profile-page .form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

body.provider-profile-page .claim-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: #374151;
}

body.provider-profile-page .benefit-check {
  flex-shrink: 0;
}

body.provider-profile-page .btn-primary {
  background: #0D9488;
  color: white;
  border-color: #0D9488;
}

body.provider-profile-page .btn-primary:hover {
  background: #0b8278;
  border-color: #0b8278;
  transform: translateY(-1px);
}

body.provider-profile-page .btn-secondary {
  background: white;
  color: #282D35;
  border-color: #D1D5DB;
}

body.provider-profile-page .btn-secondary:hover {
  background: #F9FAFB;
  border-color: #9CA3AF;
  transform: translateY(-1px);
}

body.provider-profile-page .btn-warning {
  background: #F59E0B;
  color: white;
  border-color: #F59E0B;
}

body.provider-profile-page .btn-warning:hover {
  background: #D97706;
  border-color: #D97706;
  transform: translateY(-1px);
}

body.provider-profile-page .action-buttons .btn-primary {
  background: #0D9488;
  border-color: #0D9488;
  color: white;
}

body.provider-profile-page .action-buttons .btn-primary:hover {
  background: #0b8278;
  border-color: #0b8278;
}

body.provider-profile-page .action-buttons .btn-secondary {
  background: white;
  color: #282D35;
  border-color: #D1D5DB;
}

body.provider-profile-page .action-buttons .btn-secondary:hover {
  background: #F9FAFB;
  border-color: #9CA3AF;
}

body.provider-profile-page .sidebar-card.claim-business {
  background: rgba(13, 148, 136, 0.05);
  border: 1px solid rgba(13, 148, 136, 0.15);
}

body.provider-profile-page .sidebar-card.claim-business:hover {
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.1);
}

body.provider-profile-page .claim-business h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #282D35;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

body.provider-profile-page .claim-business h3 svg {
  flex-shrink: 0;
}

body.provider-profile-page .claim-benefits {
  margin-bottom: 20px;
}

body.provider-profile-page .claim-business .btn-warning {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
}

body.provider-profile-page .claim-business .btn-warning:hover {
  box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
}

body.provider-profile-page .claim-business .btn-warning svg {
  flex-shrink: 0;
}

body.provider-profile-page .sidebar-card.report-issue:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Vet pages: microchipping link below Suggest an Edit */
.sidebar-microchipping-link {
  margin-top: 24px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted-foreground);
}

.sidebar-microchipping-link a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

.sidebar-microchipping-link a:hover {
  text-decoration: underline;
}

body.provider-profile-page .sidebar-card {
  transition: box-shadow 0.2s;
}

body.provider-profile-page .service-pill {
  background: #F3F4F6;
  color: #374151;
}

body.provider-profile-page .attribute-item {
  color: #0D9488;
}

body.provider-profile-page .rover-link {
  color: #0D9488;
}

body.provider-profile-page .rover-link:hover {
  color: #0b8278;
}

body.provider-profile-page .marker-pin {
  background: #0D9488;
}

/* ============================================
   LEGAL & INFO PAGES
   ============================================ */

.legal-page {
  background: #FFFFFF;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-main {
  flex: 1;
  padding: 48px 24px 80px;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6B7280;
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.2s;
}

.legal-back-link:hover {
  color: #0D9488;
}

.legal-back-link svg {
  flex-shrink: 0;
}

.legal-content {
  line-height: 1.7;
}

.legal-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: #282D35;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .legal-title {
    font-size: 3rem;
  }
}

.legal-date {
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 48px;
}

.legal-content section {
  margin-bottom: 48px;
}

.legal-content h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: #282D35;
  margin-bottom: 16px;
  margin-top: 0;
}

.legal-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #282D35;
  margin-bottom: 12px;
  margin-top: 24px;
}

.legal-content p {
  font-size: 16px;
  color: #282D35;
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-content li {
  font-size: 16px;
  color: #282D35;
  line-height: 1.7;
  margin-bottom: 8px;
}

.legal-content a {
  color: #0D9488;
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-content strong {
  font-weight: 600;
  color: #282D35;
}

.legal-intro {
  font-size: 16px;
  color: #282D35;
  line-height: 1.7;
  margin-bottom: 32px;
}

.legal-credits-table-wrap {
  overflow-x: auto;
  margin-bottom: 32px;
}

.legal-credits-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.legal-credits-table th,
.legal-credits-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #E5E7EB;
}

.legal-credits-table th {
  font-weight: 600;
  color: #282D35;
  background: #F9FAFB;
}

.legal-credits-table td {
  color: #282D35;
}

.legal-credits-table tbody tr:hover {
  background: #F9FAFB;
}

.legal-credits-table a {
  color: #0D9488;
  text-decoration: none;
}

.legal-credits-table a:hover {
  text-decoration: underline;
}

.legal-credits-license {
  font-size: 14px;
  color: #6B7280;
  margin-top: 0;
}

.legal-credits-license a {
  color: #0D9488;
  text-decoration: none;
}

.legal-credits-license a:hover {
  text-decoration: underline;
}

/* FAQ accordion styling */
.legal-faq-section {
  margin-bottom: 48px;
}

.legal-faq-section h2 {
  margin-bottom: 24px;
}

.legal-faq-item {
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.legal-faq-question {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  background: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: #282D35;
  font-family: inherit;
  transition: background 0.2s;
}

.legal-faq-question:hover {
  background: #F9FAFB;
}

.legal-faq-question svg {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.legal-faq-question.active svg {
  transform: rotate(180deg);
}

.legal-faq-answer {
  padding: 12px 20px 16px;
  font-size: 16px;
  color: #282D35;
  line-height: 1.7;
}

.legal-faq-answer.hidden {
  display: none;
}

/* ============================================
   VERIFICATION PAGE
   ============================================ */

.verification-page {
  background: #FFFFFF;
}

.verification-page .container,
.for-professionals-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   DARK HERO SECTIONS (For Professionals & Verification)
   ============================================ */

.professionals-hero-dark,
.verification-hero-dark {
  background: linear-gradient(180deg, hsl(220, 12%, 18%) 0%, hsl(218, 15%, 35%) 50%, hsl(215, 18%, 48%) 100%);
  padding: 48px 24px 64px;
  text-align: center;
}

@media (min-width: 768px) {
  .professionals-hero-dark,
  .verification-hero-dark {
    padding: 64px 24px 80px;
  }
}

.hero-dark-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-dark-icon svg {
  color: white;
}

.hero-dark-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.25;
  color: white;
  margin-bottom: 16px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-dark-title {
    font-size: 42px;
  }
}

@media (min-width: 1024px) {
  .hero-dark-title {
    font-size: 48px;
  }
}

.hero-dark-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-dark-intro {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-dark-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: white;
  background: #0D9488;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  margin-bottom: 20px;
}

.hero-dark-cta:hover {
  background: #0b8278;
  transform: translateY(-2px);
}

.hero-dark-cta svg {
  flex-shrink: 0;
}

.hero-dark-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 20px;
}

.hero-dark-trust span {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .hero-dark-trust {
    flex-direction: column;
    gap: 8px;
  }

  .hero-dark-trust span:nth-child(2),
  .hero-dark-trust span:nth-child(4) {
    display: none;
  }
}

.tier-badge-coming-soon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #FFF8E7;
  color: #7D5A00;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(125, 90, 0, 0.3);
}

.verification-tiers-heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: #1e3a5f;
  margin-bottom: 32px;
  text-align: center;
}

.verification-tiers-note {
  margin-top: 24px;
  font-size: 0.9rem;
  color: #6B7280;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.verification-tiers {
  padding: 80px 24px;
  background: #FFFFFF;
}

.verification-tier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .verification-tier-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.verification-tier-card {
  padding: 32px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.verification-tier-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.verification-coming-soon-banner {
  background: #FFF8E7;
  border: 1px solid rgba(125, 90, 0, 0.3);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.verification-coming-soon-banner p {
  margin: 0;
  color: #7D5A00;
  font-style: italic;
  font-size: 15px;
}

.verification-coming-soon-banner a {
  color: #1e5fa3;
  font-weight: 600;
  font-style: normal;
}

.verification-tier-card.premium {
  border: 2px solid rgba(13, 148, 136, 0.2);
  position: relative;
  overflow: visible;
}

.verification-tier-card.premium::before {
  content: '';
  position: absolute;
  top: -64px;
  right: -64px;
  width: 128px;
  height: 128px;
  background: rgba(13, 148, 136, 0.05);
  border-radius: 50%;
}

.tier-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.verification-tier-card .tier-icon {
  background: rgba(13, 148, 136, 0.1);
}

.verification-tier-card .tier-icon svg {
  width: 32px;
  height: 32px;
  color: #0D9488;
}

.verification-tier-card h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #282D35;
  margin-bottom: 8px;
}

.verification-tier-card > p {
  color: #6B7280;
  margin-bottom: 24px;
}

.tier-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tier-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  line-height: 1.6;
}

.tier-checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230D9488' stroke-width='2'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.verification-tier-card.premium .tier-checklist li {
  font-weight: 500;
}

.verification-detail {
  padding: 64px 24px;
  background: #F9FAFB;
}

.verification-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}

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

.verification-detail-card {
  padding: 32px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
}

.verification-detail-card h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem;
  color: #1e3a5f;
  margin-bottom: 16px;
}

.verification-detail-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #282D35;
  margin: 24px 0 12px;
}

.verification-detail-card ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.verification-detail-card li {
  margin-bottom: 8px;
  color: #444444;
  line-height: 1.5;
}

.verification-detail-card p {
  color: #444444;
  line-height: 1.6;
  margin-bottom: 16px;
}

.verification-detail-card a {
  color: #0D9488;
  font-weight: 500;
}

.verification-register {
  padding: 80px 24px;
  background: #FFFFFF;
  text-align: center;
}

.verification-register h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.75rem;
  color: #1e3a5f;
  margin-bottom: 16px;
}

.verification-register > p {
  color: #444444;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 32px;
}

.verification-register-cta {
  display: inline-block;
  padding: 16px 32px;
  background: #1e3a5f;
  color: white !important;
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s;
}

.verification-register-cta:hover {
  background: #2e5fa3;
}

.verification-register-sub {
  margin-top: 16px !important;
  font-size: 0.9rem;
  color: #6B7280;
}

.verification-register-sub a {
  color: #1e5fa3;
}

.verification-badge {
  padding: 80px 24px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FFFFFF 50%, rgba(13, 148, 136, 0.05) 100%);
  text-align: center;
}

.badge-display {
  max-width: 800px;
  margin: 0 auto;
}

.pawthority-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: linear-gradient(to right, #0D9488, rgba(13, 148, 136, 0.9));
  color: white;
  font-weight: 600;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(13, 148, 136, 0.3);
  margin-bottom: 24px;
  transition: transform 0.3s;
}

.pawthority-badge:hover {
  transform: scale(1.05);
}

.pawthority-badge svg {
  width: 24px;
  height: 24px;
}

.badge-display > p {
  font-size: 1.125rem;
  color: #6B7280;
  line-height: 1.6;
}

/* ============================================
   FOR PROFESSIONALS PAGE
   ============================================ */

.for-professionals-page {
  background: #FFFFFF;
}

.professionals-stats {
  padding: 64px 24px;
  background: #FFFFFF;
}

.stats-intro {
  text-align: center;
  color: #6B7280;
  margin-bottom: 32px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  padding: 24px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.stat-card svg {
  width: 32px;
  height: 32px;
  margin: 0 auto 16px;
  color: #0D9488;
  display: block;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #282D35;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 2.5rem;
  }
}

.stat-label {
  font-size: 0.875rem;
  color: #6B7280;
}

/* ── VERIFICATION: Light warm hero (matches for-professionals) ──────────────── */

.verification-page .verification-hero-dark {
  background: #FAFAF8;
  border-bottom: 1px solid #E8E8E2;
}

.verification-page .hero-dark-title {
  color: #1A1A2E;
}

.verification-page .hero-dark-subtitle {
  color: #0D9488;
  font-weight: 600;
}

.verification-page .hero-dark-intro {
  color: #4B5563;
}

.verification-page .hero-dark-intro a {
  color: #0D9488;
}

.verification-page .hero-dark-trust {
  color: #4B5563;
}

.verification-page .hero-dark-trust span {
  color: #1A1A2E;
  font-weight: 500;
}

/* ── FOR PROFESSIONALS: Light warm hero (scoped so verification stays dark) ── */

.for-professionals-page .professionals-hero-dark {
  background: #FAFAF8;
  border-bottom: 1px solid #E8E8E2;
}

.for-professionals-page .hero-dark-title {
  color: #1A1A2E;
  margin-bottom: 0;
}

/* Short teal accent bar between headline and tagline */
.fp-hero-accent {
  width: 48px;
  height: 3px;
  background: #0D9488;
  border-radius: 2px;
  margin: 14px auto 20px;
}

.for-professionals-page .hero-dark-subtitle {
  color: #0D9488;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 16px;
}

.for-professionals-page .hero-dark-intro {
  color: #4B5563;
}

/* ── FOR PROFESSIONALS: Trust-signal cards ─────────────────────────────────── */

.for-professionals-page .professionals-stats {
  background: #FAFAF8;
  padding: 48px 24px 56px;
}

.trust-grid {
  max-width: 900px;
  gap: 20px;
}

.trust-card {
  padding: 24px 22px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.trust-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.trust-card-icon {
  width: 38px;
  height: 38px;
  background: #ECFDF5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #0D9488;
  flex-shrink: 0;
}

.trust-card-heading {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1A1A2E;
  margin-bottom: 6px;
  line-height: 1.4;
}

.trust-card-body {
  font-size: 0.875rem;
  color: #6B7280;
  line-height: 1.55;
  margin: 0;
}

.professionals-notice {
  padding: 48px 24px;
  background: #F5F5F7;
}

.notice-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
}

.notice-card h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: #282D35;
  margin-bottom: 12px;
}

.notice-card p {
  color: #6B7280;
  line-height: 1.7;
  margin-bottom: 12px;
}

.notice-card p:last-child {
  margin-bottom: 0;
}

.professionals-section-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: #1e3a5f;
  margin-bottom: 16px;
}

.professionals-section-intro {
  font-size: 1rem;
  color: #444444;
  line-height: 1.6;
  margin-bottom: 32px;
}

.professionals-form {
  padding: 64px 24px;
  background: #FFFFFF;
}

.professionals-form-alt {
  background: #F9FAFB;
}

.professionals-form .container {
  max-width: 800px;
  margin: 0 auto;
}

.benefits-card-note {
  background: #FFF8E7;
  border-color: rgba(125, 90, 0, 0.2);
}

.benefits-card-note p {
  color: #7D5A00;
  font-style: italic;
  margin: 0;
}

.form-header {
  text-align: center;
  margin-bottom: 32px;
}

.form-header span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.125rem;
  font-weight: 600;
  color: #0D9488;
}

.form-header svg {
  width: 24px;
  height: 24px;
}

.benefits-card {
  padding: 24px;
  margin-bottom: 32px;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 8px;
}

.benefits-card h3 {
  font-weight: 600;
  font-size: 1.125rem;
  color: #282D35;
  margin-bottom: 16px;
}

.benefits-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  line-height: 1.6;
}

.benefits-card li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Claim Your Profile section */
.claim-section-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0E7C6B;
  margin-bottom: 8px;
}

.claim-callout {
  padding: 20px 24px;
  background: #E8F5F2;
  border-left: 4px solid #0E7C6B;
  border-radius: 0 8px 8px 0;
  margin-bottom: 32px;
}

.claim-callout p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #282D35;
}

.claim-subheading {
  font-size: 1.25rem;
  font-weight: 600;
  color: #282D35;
  margin-bottom: 20px;
}

.claim-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .claim-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.claim-card {
  padding: 24px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
}

.claim-card-icon {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.claim-card h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #282D35;
  margin: 0 0 8px 0;
}

.claim-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #444444;
}

.claim-reassurance {
  font-size: 0.9375rem;
  font-style: italic;
  color: #6B7280;
  margin-bottom: 32px;
}

.claim-steps {
  padding-left: 24px;
  margin: 0 0 32px 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #444444;
}

.claim-steps li {
  margin-bottom: 8px;
}

.form-note-italic {
  font-style: italic;
  font-size: 0.875rem;
  color: #6B7280;
}

/* Premium Teaser */
.premium-teaser {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid #E5E7EB;
}

.premium-teaser .claim-section-label {
  color: #B45309;
}

.premium-teaser-heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #282D35;
  margin-bottom: 16px;
}

.premium-teaser-body {
  font-size: 1rem;
  line-height: 1.6;
  color: #444444;
  margin: 0 0 12px 0;
}

.premium-teaser-list {
  margin: 20px 0 24px 0;
  padding-left: 24px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #444444;
}

.premium-teaser-list li {
  margin-bottom: 8px;
}

.premium-waitlist-form {
  margin-top: 24px;
  padding: 24px;
  background: #FFF8E7;
  border: 1px solid rgba(180, 83, 9, 0.25);
  border-radius: 8px;
}

.submit-btn-premium {
  background: linear-gradient(135deg, hsl(35, 45%, 55%), hsl(40, 50%, 60%));
}

.submit-btn-premium:hover {
  background: linear-gradient(135deg, hsl(35, 45%, 50%), hsl(40, 50%, 55%));
}

.submission-form-card {
  padding: 32px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.submission-form-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #282D35;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.submission-form-card h3 svg {
  width: 20px;
  height: 20px;
  color: #0D9488;
}

.form-section {
  margin-bottom: 24px;
}

.form-section h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6B7280;
  margin-bottom: 16px;
}

.form-section .form-field + .form-help {
  margin-top: 12px;
}

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

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #282D35;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 10px 12px;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #0D9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.submit-btn {
  width: 100%;
  padding: 16px 24px;
  background: #0D9488;
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 24px;
}

.submit-btn:hover {
  background: #0b8278;
}

.form-help,
.form-note {
  font-size: 0.875rem;
  color: #6B7280;
  margin-top: 8px;
  line-height: 1.5;
}

.form-note {
  text-align: center;
  margin-top: 16px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 400;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: #0D9488;
}

.professionals-faq {
  padding: 64px 24px;
  background: #F5F5F7;
}

.professionals-faq h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  color: #282D35;
  text-align: center;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .professionals-faq h2 {
    font-size: 2.5rem;
  }
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-weight: 600;
  color: #282D35;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}

.faq-question:hover {
  background: #F9FAFB;
}

.faq-question svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #0D9488;
  transition: transform 0.2s;
}

.faq-question.active svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 20px;
  color: #6B7280;
  line-height: 1.6;
}

.faq-answer p {
  margin: 0 0 8px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  color: #0D9488;
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

.faq-answer.hidden {
  display: none;
}

.professionals-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
  max-width: 800px;
}

@media (max-width: 640px) {
  .professionals-contact-grid {
    grid-template-columns: 1fr;
  }
}

.professionals-contact-card {
  padding: 24px;
  background: #F0F7FF;
  border: 1px solid #DDDDDD;
  border-radius: 8px;
}

.professionals-contact-card:last-child {
  background: #F8F8F8;
}

.professionals-contact-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e3a5f;
  margin-bottom: 12px;
}

.professionals-contact-card a {
  color: #1e5fa3;
  font-weight: 500;
}

.professionals-contact-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.professionals-contact-card li {
  margin-bottom: 6px;
  color: #555555;
}

.professionals-contact-card svg {
  width: 48px;
  height: 48px;
  color: #0D9488;
  margin-bottom: 16px;
}

.professionals-contact {
  padding: 64px 24px;
  background: #FFFFFF;
}

.professionals-contact .container {
  max-width: 800px;
  margin: 0 auto;
}

.professionals-contact svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: #0D9488;
  display: block;
}

.professionals-contact h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #282D35;
  margin-bottom: 16px;
}

.professionals-contact p {
  color: #6B7280;
  margin-bottom: 8px;
}

.professionals-contact a {
  color: #0D9488;
  text-decoration: none;
}

.professionals-contact a:hover {
  text-decoration: underline;
}

/* ============================================
   DIRECTORY PAGES
   ============================================ */

.directory-page {
  background: var(--background);
}

/* Directory Header - Tighter spacing & larger type */
.directory-header {
  padding: 32px 24px 48px;
  background: rgba(13, 148, 136, 0.03);
  text-align: center;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  .directory-header {
    padding: 40px 24px 56px;
  }
}

.directory-header .container {
  max-width: 900px;
  margin: 0 auto;
}

.directory-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: #1F2937;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .directory-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .directory-title {
    font-size: 3.5rem;
  }
}

.directory-subtitle {
  font-size: 1.125rem;
  color: #4B5563;
  margin-bottom: 36px;
  line-height: 1.5;
  font-weight: 500;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .directory-subtitle {
    font-size: 1.25rem;
  }
}

/* Directory Back button */
.directory-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
  color: #10B981;
  text-decoration: none;
  transition: color 0.2s;
}

.directory-back-btn:hover {
  color: #0D9488;
}

.directory-back-btn:focus-visible {
  outline: none;
  text-decoration: underline;
}

/* Filter Container - White card for visual separation */
.directory-filter {
  max-width: 420px;
  margin: 0 auto 20px;
  padding: 24px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.directory-filter label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #282D35;
  margin-bottom: 10px;
  text-align: left;
}

.borough-dropdown {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: #282D35;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  background: #FFFFFF;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.borough-dropdown:focus {
  outline: none;
  border-color: #0D9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.borough-dropdown:hover {
  border-color: #9CA3AF;
}

/* Attribute filters (Solo Walks, 24-Hour Care, etc.) */
.directory-attribute-filters {
  margin: 0 auto 20px;
  padding: 20px 24px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  max-width: 800px;
}

.directory-attribute-filters-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.directory-attribute-checkboxes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.directory-filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: #282D35;
  user-select: none;
}

.directory-filter-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #0D9488;
}

.directory-filter-label:has(input:disabled) {
  opacity: 0.5;
  cursor: not-allowed;
}

.directory-clear-filters-btn {
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0D9488;
  background: #F5F5F7;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.directory-clear-filters-btn:hover {
  background: #E5E7EB;
}

@media (max-width: 640px) {
  .directory-attribute-filters-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .directory-attribute-checkboxes {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Pill-style filter bar (dog-walking, vet) */
.directory-pill-filters {
  position: sticky;
  top: 0;
  z-index: 10;
  margin: 0 auto 32px;
  padding: 20px 24px;
  background: #F5F5F0;
  border-radius: 8px;
  max-width: 800px;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.directory-pill-filter-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.directory-pill-filter-icon {
  flex-shrink: 0;
  color: #333;
}

.directory-pill-filter-label {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.directory-pill-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 16px;
}

.directory-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 400;
  color: #374151;
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

.directory-pill:hover {
  border-color: #10B981;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.directory-pill:focus-visible {
  outline: none;
  border-color: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.directory-pill[aria-pressed="true"] {
  background: #10B981;
  border-color: #10B981;
  color: #FFFFFF;
  font-weight: 500;
}

.directory-pill-filter-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.directory-pill-count {
  font-size: 14px;
  color: #6B7280;
}

.directory-pill-clear-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  color: #10B981;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.directory-pill-clear-btn:hover {
  color: #0D9488;
}

.directory-pill-clear-btn:focus-visible {
  outline: none;
  text-decoration: underline;
}

/* Tablet (768px) - pills 2-3 per row */
@media (max-width: 768px) {
  .directory-pill-filters {
    padding: 16px 20px;
    margin-bottom: 24px;
  }

  .directory-pill-filter-header {
    margin-bottom: 12px;
  }

  .directory-pill-filter-label {
    font-size: 15px;
  }

  .directory-pill-buttons {
    gap: 8px 10px;
    margin-bottom: 12px;
  }

  .directory-pill {
    font-size: 13px;
    padding: 10px 16px;
    min-height: 44px;
  }

  .directory-pill-filter-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .directory-count {
    font-size: 0.8125rem;
    word-break: break-word;
  }

  .directory-no-results {
    padding: 40px 16px;
  }

  .directory-no-results-title {
    font-size: 18px;
  }

  .directory-provider-card .nearby-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
  }
}

/* Very small screens (iPhone SE, etc. - 430px and below) */
@media (max-width: 430px) {
  .directory-pill-filters {
    padding: 14px 16px;
    margin-bottom: 20px;
  }

  .directory-pill-filter-header {
    margin-bottom: 10px;
  }

  .directory-pill-filter-label {
    font-size: 14px;
  }

  .directory-pill-buttons {
    gap: 8px;
    margin-bottom: 10px;
  }

  .directory-pill {
    font-size: 12px;
    padding: 10px 14px;
    min-height: 44px;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }

  .directory-pill-clear-btn {
    padding: 10px 14px;
    min-height: 44px;
    font-size: 13px;
  }
}

/* Directory Trust Badges - matches borough landing page */
.directory-trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.directory-trust-badges .trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: #282D35;
  font-weight: 500;
}

.directory-trust-badges .trust-badge svg {
  flex-shrink: 0;
}

.directory-trust-badges .trust-check {
  color: #0D9488;
}

.directory-trust-badges .trust-star {
  color: #E5A100;
}

.directory-trust-badges .trust-badge-separator {
  color: #D1D5DB;
  font-weight: 300;
  font-size: 0.875rem;
}

@media (max-width: 640px) {
  .directory-trust-badges {
    flex-direction: column;
    gap: 8px;
  }

  .directory-trust-badges .trust-badge-separator {
    display: none;
  }
}

.directory-count {
  font-size: 0.875rem;
  color: #6B7280;
  margin-top: 0;
  margin-bottom: 0;
}

.directory-count strong {
  font-weight: 700;
  color: #0D9488;
}

.directory-providers {
  padding: 64px 24px;
}

.directory-providers .container {
  max-width: 860px;
  margin: 0 auto;
}

.directory-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ============================================================
   PAW SINGLE-COLUMN PROVIDER CARDS  (directory pages)
   ============================================================ */
.paw-card {
  background: #fff;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
  cursor: pointer;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
  overflow: hidden;
  animation: directoryCardFadeIn 0.25s ease;
}

.paw-card:hover {
  box-shadow: 0 8px 24px rgba(13,148,136,.15);
  border-color: #0D9488;
  transform: translateY(-2px);
}

.paw-card-body {
  padding: 20px 24px 16px;
}

.paw-card-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 8px;
  line-height: 1.3;
}

/* ── Directory card: claimed provider logo + badge ────────────────────────── */
.paw-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0;
}
.paw-card-header-text {
  flex: 1;
  min-width: 0;
}
.paw-card-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  background: white;
  padding: 3px;
  flex-shrink: 0;
}
.paw-card-claimed-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding: 2px 7px;
  background: rgba(13,148,136,0.08);
  border: 1px solid rgba(13,148,136,0.25);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #0D9488;
  vertical-align: middle;
  white-space: nowrap;
}

.paw-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.paw-rating-stars {
  color: #F59E0B;
  font-size: 1rem;
  letter-spacing: 1px;
  line-height: 1;
}

.paw-rating-num {
  font-weight: 600;
  color: #1a1a2e;
  font-size: 0.9rem;
}

.paw-rating-count {
  color: #6B7280;
  font-size: 0.85rem;
}

.paw-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: #6B7280;
}

.paw-card-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.paw-card-desc {
  font-size: 0.9rem;
  color: #4B5563;
  line-height: 1.65;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.paw-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.paw-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(13,148,136,.1);
  color: #0D9488;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
}

.paw-badge svg {
  flex-shrink: 0;
}

.paw-card-nearby {
  margin-top: 10px;
}

.paw-nearby-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: hsla(142, 40%, 65%, 0.2);
  color: var(--sage-foreground, #4B7C5E);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 12px;
}

.paw-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 24px;
  border-top: 1px solid #F3F4F6;
}

.paw-enquire-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  border: 2px solid #0D9488;
  border-radius: 8px;
  background: #fff;
  color: #0D9488;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
  white-space: nowrap;
}

.paw-enquire-btn:hover {
  background: #0D9488;
  color: #fff;
}

.paw-fav-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: #9CA3AF;
  transition: color .2s ease, transform .15s ease;
  line-height: 0;
  border-radius: 6px;
  flex-shrink: 0;
}

.paw-fav-btn:hover {
  color: #0D9488;
  transform: scale(1.15);
}

.paw-fav-btn svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: fill .2s, stroke .2s;
}

.paw-fav-btn.paw-fav-active {
  color: #0D9488;
}

.paw-fav-btn.paw-fav-active svg path {
  fill: #0D9488;
  stroke: #0D9488;
}

@media (max-width: 479px) {
  .paw-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .paw-enquire-btn {
    justify-content: center;
  }
  .paw-fav-btn {
    align-self: center;
  }
}

/* ============================================================
   DIRECTORY LISTING LAYOUT — two-column sidebar
   Applies to all /all/ listing pages via .directory-page body class
   ============================================================ */

/* Header: white bg, tight padding, full-width alignment */
.directory-page .directory-header {
  background: #ffffff;
  padding: 24px 24px 20px;
}

.directory-page .directory-header .container {
  max-width: 1140px;
  text-align: left;
}

.directory-page .directory-title {
  font-size: 1.75rem;
  margin-bottom: 6px;
}

@media (min-width: 768px) {
  .directory-page .directory-title {
    font-size: 2rem;
  }
}

.directory-page .directory-subtitle {
  font-size: 1rem;
  margin-bottom: 12px;
  margin-left: 0;
  margin-right: 0;
}

.directory-page .directory-count {
  margin-bottom: 8px;
}

.directory-page .directory-trust-badges {
  justify-content: flex-start;
  margin-top: 0;
  margin-bottom: 0;
}

/* Reduce top gap on providers section */
.directory-page .directory-providers {
  padding-top: 20px;
}

/* Widen providers container to accommodate sidebar */
.dw-layout-container {
  max-width: 1140px !important;
  padding-left: 24px;
  padding-right: 24px;
}

/* Two-column flex row */
.dw-layout {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

/* Sidebar */
.dw-sidebar {
  width: 260px;
  flex-shrink: 0;
  position: sticky;
  top: 72px;
  align-self: flex-start;
  overflow: visible;
}

.dw-sidebar-inner {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  overflow: hidden;
}

/* Strip the global sticky/card treatment from pill bar inside sidebar */
.dw-sidebar .directory-pill-filters {
  position: static !important;
  top: auto !important;
  z-index: auto !important;
  margin: 0;
  padding: 20px;
  background: transparent;
  border-radius: 0;
  max-width: none;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

/* Vertical pill list */
.dw-sidebar .directory-pill-buttons {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 6px;
  margin-bottom: 12px;
  overflow: visible;
}

/* Rectangular toggle buttons */
.dw-sidebar .directory-pill {
  justify-content: flex-start;
  width: 100%;
  border-radius: 8px;
  padding: 10px 14px;
  text-align: left;
  font-size: 13px;
  white-space: normal;
  line-height: 1.3;
}

.dw-sidebar .directory-pill-filter-header {
  margin-bottom: 14px;
}

.dw-sidebar .directory-pill-filter-footer {
  flex-direction: column;
  align-items: flex-start;
}

/* Main content area */
.dw-main {
  flex: 1;
  min-width: 0;
}

/* Affiliate/ad placeholder */
.sidebar-affiliate {
  margin: 16px 20px 20px;
  min-height: 200px;
  border: 1px dashed #D1D5DB;
  border-radius: 8px;
  background: #FAFAFA;
}

/* Per-filter match count badge */
.paw-pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #E5E7EB;
  color: #6B7280;
  font-size: 11px;
  font-weight: 600;
  border-radius: 9999px;
  padding: 1px 7px;
  margin-left: 6px;
  min-width: 20px;
  line-height: 1.6;
  transition: background 0.18s, color 0.18s;
}

.directory-pill[aria-pressed="true"] .paw-pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* Mobile: collapsible accordion filter panel */
@media (max-width: 767px) {
  .dw-layout {
    flex-direction: column;
    gap: 0;
  }

  .dw-sidebar {
    width: 100%;
    position: static;
    max-height: none;
    overflow: visible;
  }

  .dw-sidebar-inner {
    border-radius: 8px;
    margin-bottom: 16px;
  }

  .dw-sidebar .directory-pill-filters {
    padding: 14px 16px;
    position: static;
  }

  /* Remove desktop fade gradient on mobile */
  .dw-sidebar .directory-pill-filters::after {
    display: none;
  }

  /* Header becomes a tappable toggle row */
  .dw-sidebar .directory-pill-filter-header {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    margin-bottom: 0;
    padding: 2px 0;
  }

  /* Chevron icon added via JS */
  .dw-filter-chevron {
    flex-shrink: 0;
    transition: transform 0.25s ease;
    color: #6B7280;
  }

  /* Pills and clear button hidden by default, revealed on open */
  .dw-sidebar .directory-pill-buttons,
  .dw-sidebar .directory-pill-filter-footer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
  }

  /* Open state */
  .dw-sidebar-inner.is-open .directory-pill-buttons {
    max-height: 800px;
    margin-top: 12px;
    flex-direction: column;
    flex-wrap: nowrap;
    overflow: visible;
    gap: 6px;
    padding-bottom: 4px;
  }

  .dw-sidebar-inner.is-open .directory-pill-filter-footer {
    max-height: 60px;
    margin-top: 4px;
    overflow: visible;
  }

  /* Rotate chevron when open */
  .dw-sidebar-inner.is-open .dw-filter-chevron {
    transform: rotate(180deg);
  }

  /* Vertical full-width pills when open */
  .dw-sidebar .directory-pill {
    width: 100%;
    border-radius: 8px;
    white-space: normal;
    padding: 10px 14px;
    justify-content: flex-start;
    text-align: left;
  }

  .sidebar-affiliate {
    display: none;
  }
}

/* ============================================================
   ENQUIRY MODAL  (all directory listing pages)
   ============================================================ */
.paw-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  padding: 16px;
  box-sizing: border-box;
}

.paw-modal-overlay[hidden] {
  display: none;
}

.paw-modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.paw-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: #9CA3AF;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  z-index: 1;
}

.paw-modal-close:hover {
  color: #1F2937;
  background: #F3F4F6;
}

.paw-modal-body {
  padding: 32px;
}

.paw-modal-heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 400;
  color: #1F2937;
  margin: 0 0 24px;
  padding-right: 28px;
  line-height: 1.3;
}

.paw-modal-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 16px;
}

.paw-modal-form label span {
  display: block;
  margin-bottom: 6px;
}

.paw-modal-form input,
.paw-modal-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #D1D5DB;
  border-radius: 8px;
  font-size: 0.9375rem;
  color: #1F2937;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.paw-modal-form input:focus,
.paw-modal-form textarea:focus {
  outline: none;
  border-color: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.paw-modal-form textarea {
  resize: vertical;
  min-height: 90px;
}

.paw-modal-submit {
  width: 100%;
  padding: 12px 24px;
  background: #10B981;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
  font-family: inherit;
}

.paw-modal-submit:hover:not(:disabled) {
  background: #0D9488;
}

.paw-modal-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.paw-modal-note {
  font-size: 0.8125rem;
  color: #9CA3AF;
  text-align: center;
  margin: 10px 0 0;
}

@media (max-width: 479px) {
  .paw-modal-body {
    padding: 20px;
  }

  .paw-modal-heading {
    font-size: 1.125rem;
    margin-bottom: 18px;
  }

  .paw-modal-form label {
    margin-bottom: 12px;
  }
}

.paw-modal-success {
  text-align: center;
  padding: 16px 0 8px;
}

.paw-modal-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #D1FAE5;
  color: #059669;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-weight: 700;
}

.paw-modal-success-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 400;
  color: #1F2937;
  margin: 0 0 8px;
}

.paw-modal-success-text {
  font-size: 0.9375rem;
  color: #6B7280;
  margin: 0;
  line-height: 1.6;
}

/* Directory provider cards - fully clickable, centered content */
@keyframes directoryCardFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.directory-provider-card {
  position: relative;
  display: block;
  background: var(--card);
  animation: directoryCardFadeIn 0.25s ease;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
}

.directory-provider-card:hover {
  border-color: #0D9488;
  box-shadow: 0 12px 24px rgba(13, 148, 136, 0.15);
  transform: translateY(-6px);
  cursor: pointer;
}

.directory-provider-card .provider-card-border {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #0D9488;
  opacity: 0.3;
  transition: opacity 0.3s, width 0.3s;
}

.directory-provider-card:hover .provider-card-border {
  opacity: 1;
  width: 4px;
}

.directory-provider-card .provider-card-content {
  position: relative;
  text-align: center;
}

.directory-provider-card .provider-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--foreground);
  margin-bottom: 12px;
  text-align: center;
  text-decoration: none;
}

.directory-provider-card .provider-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.directory-provider-card .rating-stars {
  color: var(--gold);
  font-size: 1rem;
}

.directory-provider-card .rating-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.directory-provider-card .provider-location {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 16px;
  text-align: center;
}

.directory-provider-card .provider-attributes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.directory-provider-card .attribute-item {
  font-size: 0.875rem;
  color: var(--foreground);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  pointer-events: none;
}

.directory-provider-card .attribute-item::before {
  content: '✓';
  color: var(--sage);
  font-weight: 600;
  flex-shrink: 0;
}

.directory-provider-card .provider-nearby {
  margin-bottom: 0;
  text-align: center;
}

.directory-provider-card .nearby-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: hsla(142, 40%, 65%, 0.2);
  color: var(--sage-foreground);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 12px;
  pointer-events: none;
}

.directory-no-results {
  text-align: center;
  padding: 64px 24px;
  color: var(--muted-foreground);
}

.directory-no-results-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #374151;
}

.directory-no-results-text {
  margin-bottom: 16px;
}

.directory-no-results-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  background: #10B981;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.directory-no-results-btn:hover {
  background: #0D9488;
}

/* ============================================
   PROVIDER PROFILE PAGES (Lovable design)
   ============================================ */

.breadcrumbs {
  padding: 16px 24px;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.provider-profile-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 24px;
  align-items: start; /* Critical for sticky sidebar */
}

@media (min-width: 1024px) {
  .provider-profile-container {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}

.provider-hero {
  background: #FFFFFF;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.provider-title {
  font-family: 'Montserrat', 'DM Serif Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.provider-subtitle {
  display: block;
  width: 100%;
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted-foreground);
  margin-top: -4px;
}

.instagram-icon {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  color: #6B7280;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
}

.instagram-icon:hover {
  opacity: 1;
  color: #0D9488;
}

.provider-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.provider-rating .stars {
  color: var(--gold);
  font-size: 1.25rem;
}

.rating-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

.review-count {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.875rem;
}

.review-count:hover {
  text-decoration: underline;
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.service-pill {
  padding: 6px 14px;
  background: var(--muted);
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 16px;
}

/* Consultation Price on Provider Profile (vets only) */
.consultation-price-hero {
  font-size: 1rem;
  color: #282D35;
  margin: 16px 0;
  padding: 12px 16px;
  background: rgba(13, 148, 136, 0.08);
  border-left: 3px solid #0D9488;
  border-radius: 6px;
  width: fit-content;
}

.consultation-price-hero strong {
  font-weight: 600;
  color: #0D9488;
}

.provider-attributes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.provider-attributes .attribute-item {
  color: var(--sage);
  font-size: 0.875rem;
  font-weight: 500;
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.action-buttons .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
  font-family: inherit;
}

.action-buttons .btn-primary {
  background: var(--emerald);
  color: var(--emerald-foreground);
  border-color: var(--emerald);
}

.action-buttons .btn-primary:hover {
  background: hsl(160, 84%, 35%);
  border-color: hsl(160, 84%, 35%);
}

.action-buttons .btn-secondary {
  background: var(--card);
  color: var(--foreground);
  border-color: var(--border);
}

.action-buttons .btn-secondary:hover {
  background: var(--muted);
  border-color: var(--secondary);
}

.provider-location {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 0;
  line-height: 1.5;
}

.quick-info-address {
  margin-bottom: 12px;
  font-size: 0.875rem;
  color: var(--foreground);
  line-height: 1.5;
  word-wrap: break-word;
}

.provider-about {
  background: #FFFFFF;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-top: 24px;
}

.provider-about h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 16px;
}

/* About text - full summary visible, no truncation */
.about-text {
  color: #374151;
  line-height: 1.6;
  margin-bottom: 16px;
}

.about-text p {
  margin-bottom: 12px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.full-description-details {
  margin-top: 16px;
  border-top: 1px solid #E5E7EB;
  padding-top: 12px;
}

.full-description-details summary {
  cursor: pointer;
  color: #0D9488;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 4px 0;
  list-style: none;
  user-select: none;
  transition: color 0.2s;
}

.full-description-details summary::-webkit-details-marker {
  display: none;
}

.full-description-details summary:hover {
  color: #0b8278;
  text-decoration: underline;
}

.full-description-content {
  margin-top: 14px;
  color: #4B5563;
  font-size: 0.9375rem;
  line-height: 1.75;
}

.full-description-content p {
  margin: 0 0 12px;
}

.full-description-content p:last-child {
  margin-bottom: 0;
}

.provider-services {
  background: #FFFFFF;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-top: 24px;
}

.provider-services h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.4;
}

.services-list li {
  padding: 3px 0;
  color: var(--foreground);
  font-size: 0.875rem;
  line-height: 1.5;
}

.services-list li::before {
  content: '✓ ';
  color: var(--sage);
  font-weight: 700;
  margin-right: 4px;
}

.operating-hours {
  background: #FFFFFF;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-top: 24px;
}

.operating-hours h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.operating-hours > p {
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.875rem;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.4;
}

.hours-list li {
  padding: 3px 0;
  color: var(--foreground);
  font-size: 0.875rem;
  line-height: 1.5;
}

.provider-map {
  margin-top: 24px;
}

.provider-map h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 16px;
}

.map-container {
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

/* Get Directions Button (vets & groomers only) */
.btn-directions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  margin-top: 16px;
  background: #0D9488;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid #0D9488;
  transition: all 0.2s;
}

.btn-directions:hover {
  background: #0b8278;
  border-color: #0b8278;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.btn-directions svg {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .btn-directions {
    padding: 14px 20px;
    font-size: 0.95rem;
  }
}

.marker-pin {
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 0;
  background: var(--emerald);
  position: absolute;
  transform: rotate(-45deg);
  left: 50%;
  top: 50%;
  margin: -15px 0 0 -15px;
}

.similar-providers {
  margin-top: 32px;
  padding: 32px 24px;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.03);
}

.similar-providers h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 16px;
}

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

@media (min-width: 768px) {
  .similar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.similar-card {
  display: block;
  background: var(--card);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  cursor: pointer;
}

.similar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: var(--emerald);
}

.similar-card h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 8px;
  text-decoration: none;
}

.similar-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 8px;
}

.similar-card .rating {
  font-size: 0.875rem;
  color: var(--foreground);
  margin-bottom: 0;
}

.trust-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  background: rgba(13, 148, 136, 0.05);
  padding: 48px 32px;
  border-radius: 12px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .trust-banner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.trust-image {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.trust-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

.trust-content p {
  color: var(--foreground);
  line-height: 1.6;
  margin-bottom: 20px;
}

.bottom-cta {
  text-align: center;
  margin-top: 48px;
  padding: 32px;
}

.bottom-cta h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 24px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
}

.provider-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: #FFFFFF;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.sidebar-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 16px;
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.875rem;
  font-family: inherit;
  background: var(--background);
  color: var(--foreground);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

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

.form-note {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: center;
  margin-top: 12px;
}

.quick-info p {
  margin-bottom: 12px;
  font-size: 0.875rem;
  color: var(--foreground);
}

.quick-info p:last-child {
  margin-bottom: 0;
}

.provider-years {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 12px;
}

.claim-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.claim-benefits li {
  padding: 10px 0;
  font-size: 0.875rem;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 12px;
}

.benefit-check {
  flex-shrink: 0;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-warning {
  background: var(--gold);
  color: var(--gold-foreground);
  border-color: var(--gold);
}

.btn-warning:hover {
  background: hsl(45, 95%, 48%);
  border-color: hsl(45, 95%, 48%);
}

.rover-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.rover-link:hover {
  text-decoration: underline;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-content {
  background: var(--card);
  max-width: 600px;
  width: 100%;
  border-radius: 12px;
  padding: 32px;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--muted-foreground);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.modal-close:hover {
  background: var(--muted);
}

.modal-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 20px;
}

.modal-body {
  color: var(--foreground);
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal-body p {
  margin-bottom: 12px;
}

.modal-body p:last-child {
  margin-bottom: 0;
}

/* Description modal - two views (description + form) */
.modal-two-views .modal-view {
  display: none;
}
.modal-two-views .modal-view-active {
  display: block;
  animation: modalViewFadeIn 0.3s ease;
}
@keyframes modalViewFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 16px;
  transition: color 0.2s;
}
.modal-back-link:hover {
  color: var(--primary-hover, #0f766e);
  text-decoration: underline;
}
.modal-form-note {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Request Sent success message (sidebar + modal) */
.request-sent-success {
  text-align: center;
  padding: 24px 16px;
  background: rgba(13, 148, 136, 0.08);
  border: 2px solid rgba(13, 148, 136, 0.2);
  border-radius: 12px;
}
.request-sent-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  color: #0D9488;
}
.request-sent-success h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0 0 8px;
}
.request-sent-success p {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.5;
}

/* Suggest Edit modal form */
.modal-content .form-group {
  margin-bottom: 16px;
}

.modal-content .form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.modal-content .form-group input,
.modal-content .form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

.modal-content .form-group input:focus,
.modal-content .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.2);
}

.modal-content .form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.modal-content .btn-full {
  width: 100%;
  margin-top: 8px;
}

.modal-content > p {
  color: var(--muted-foreground);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* ============================================
   MOBILE FIXES - SPECIFIC ISSUES
   ============================================ */

/* Issue 1: Homepage hero - Google rating text spacing */
.hero-trust-badge {
  line-height: 1.4;
}

.hero-trust-badge .hero-google-logo {
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .hero-trust-badge {
    margin-top: 16px;
    font-size: 13px;
    padding: 0 4px;
  }

  .hero-split-left {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-search-card {
    padding: 16px;
  }
}

/* Issue 2: Left border on directory cards - move to top on mobile */
/* Borough provider cards - ensure no overflow on mobile */
@media (max-width: 767px) {
  .borough-provider-card,
  .provider-card {
    border-radius: 12px;
    overflow: hidden;
  }
}

/* Issue 3: Provider page mobile layout */
@media (max-width: 767px) {
  .provider-profile-container {
    padding: 24px 16px;
    gap: 24px;
  }

  .provider-hero {
    padding: 20px 16px;
  }

  .provider-title {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .provider-rating {
    margin-bottom: 16px;
  }

  .service-pills {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
  }

  .action-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .action-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .provider-about,
  .provider-services,
  .operating-hours {
    padding: 20px 16px;
  }

  .similar-providers {
    padding: 24px 16px;
    margin-top: 32px;
  }

  .similar-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .map-container {
    height: 300px;
  }

  .trust-banner {
    padding: 24px 16px;
    grid-template-columns: 1fr;
  }

  .bottom-cta {
    padding: 24px 16px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .breadcrumbs {
    padding: 12px 16px;
    font-size: 0.8125rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
}

@media (min-width: 640px) {
  .action-buttons {
    flex-direction: row;
  }

  .action-buttons .btn {
    width: auto;
  }

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

  .cta-buttons {
    flex-direction: row;
  }

  .cta-buttons .btn {
    width: auto;
  }
}

@media (min-width: 1024px) {
  .similar-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .map-container {
    height: 400px;
  }
}

/* Provider sidebar - contact form & claim button touch targets */
@media (max-width: 767px) {
  .sidebar-card.contact-form .form-group input,
  .sidebar-card.contact-form .form-group textarea,
  .sidebar-card.contact-form .form-group select {
    min-height: 48px;
    font-size: 16px;
    padding: 12px 16px;
  }

  .sidebar-card.contact-form .form-group textarea {
    min-height: 120px;
  }

  .sidebar-card.contact-form .btn-primary,
  .sidebar-card.claim-business .btn-warning {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
    padding: 14px 20px;
  }
}

/* Issue 4: General mobile padding */
@media (max-width: 767px) {
  .container {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .homepage-section {
    padding: 40px 16px;
  }

  .homepage-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .directory-header {
    padding: 24px 16px 40px;
  }

  .directory-providers {
    padding: 40px 16px;
  }

  .directory-providers .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (min-width: 768px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* ============================================
   HOMEPAGE MOBILE - BORDER & CENTERING
   ============================================ */

@media (max-width: 767px) {
  /* Force remove left borders on homepage and main containers */
  html,
  body,
  .homepage,
  .homepage-hero-split,
  .hero-split-container,
  .hero-split-left,
  .hero-split-content,
  .homepage-section,
  .homepage-container,
  .main-content,
  main {
    border-left: none !important;
  }


  .homepage-hero-split,
  .hero-split-left {
    padding-left: 16px;
    padding-right: 16px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-split-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    transform: none;
  }

  .hero-search-card,
  .hero-search-row {
    width: 100%;
    padding: 0;
  }

  /* Form label breathing room - "I'M LOOKING FOR" and "IN" */
  .hero-search-field label {
    padding-left: 6px;
    margin-bottom: 6px;
  }
}

/* ============================================
   MOBILE FIXES - REMAINING ISSUES
   ============================================ */

/* Issue 1: Remove ALL left borders on mobile */
@media (max-width: 767px) {
  .provider-card,
  .directory-provider-card,
  .borough-provider-card,
  .similar-card,
  .trust-banner,
  .trust-content,
  .sidebar-card,
  .submission-form-card,
  .benefits-card,
  .form-section {
    border-left: none !important;
  }

  /* Hide directory card left accent entirely on mobile */
  .directory-provider-card .provider-card-border {
    display: none;
  }

  /* Consultation price - use top border instead of left on mobile */
  .consultation-price-hero,
  .provider-consultation {
    border-left: none !important;
    border-top: 3px solid #0D9488;
  }
}

/* Issue 2: Trust card button - full width, allow text wrap */
@media (max-width: 767px) {
  .trust-content .btn,
  .trust-banner .btn-primary {
    width: 100%;
    white-space: normal;
    padding: 14px 20px;
    line-height: 1.4;
    min-height: 48px;
    text-align: center;
    display: block;
  }
}

/* Issue 3: For Professionals form - remove borders, fix layout */
@media (max-width: 767px) {
  .professionals-form .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .submission-form-card {
    padding: 20px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .benefits-card {
    padding: 20px 16px;
    margin-bottom: 24px;
  }

  .form-section {
    margin-bottom: 20px;
    padding: 0;
    border: none;
  }

  .form-section h4 {
    margin-bottom: 12px;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
    padding: 12px 16px;
    margin-bottom: 12px;
    box-sizing: border-box;
  }

  .form-field textarea {
    min-height: 100px;
  }

  .submission-form-card .submit-btn,
  .professionals-form button[type="submit"] {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
    padding: 14px 24px;
  }

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

/* Provider sidebar contact form - ensure no left border */
@media (max-width: 767px) {
  .sidebar-card.contact-form,
  .sidebar-card.claim-business,
  .sidebar-card.report-issue {
    border-left: none !important;
  }
}

/* Issue 4: Universal form polish for mobile */
@media (max-width: 767px) {
  .form-container,
  .contact-form,
  .submission-form-card,
  .quote-form {
    padding: 20px 16px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    margin: 0 0 24px 0;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  select,
  textarea {
    font-size: 16px !important;
    box-sizing: border-box;
  }

  button[type="submit"],
  input[type="submit"],
  .submit-btn {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
  }
}

/* ── Provider logo — flex layout with title ───────────────────────────────── */
.provider-hero-identity {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 16px;
}
.provider-hero-identity-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.provider-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  background: white;
  padding: 4px;
  display: block;
  flex-shrink: 0;
}

/* ── Claimed badge (below provider name) ──────────────────────────────────── */
.provider-claimed-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding: 3px 10px;
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #0D9488;
}

/* ── Card logo + badge (directory listings) ───────────────────────────────── */
.provider-card-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  background: white;
  padding: 3px;
  display: block;
  margin-bottom: 10px;
}
.borough-provider-card .provider-card-logo {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 50px;
  height: 50px;
  margin-bottom: 0;
}
.borough-provider-card--claimed .provider-name {
  padding-right: 66px;
}
.provider-card-claimed-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  padding: 2px 8px;
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #0D9488;
}

/* ── Claimed / verified badge (sidebar card) ──────────────────────────────── */
body.provider-profile-page .sidebar-card.verified-listing {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-left: 4px solid #16a34a;
  border-radius: 8px;
}
.claimed-verified {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.claimed-verified svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.claimed-verified h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
}
.claimed-verified p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
