/* ============================================================
   MARKET YOUR DAYCARE — Search Results Page Design System
   Theme: Crisp White/Off-White Base, Signature Crimson Red (#E31C25),
          Warm Yellow (#FFC700), Modern Charcoal/Slate Dark Accents
   Typography: Plus Jakarta Sans
   ============================================================ */

:root {
  /* Brand Crimson & Accents */
  --red: #E31C25;
  --red-hover: #CC141D;
  --red-dark: #A50F16;
  --red-light: #FFF1F2;
  --red-light-border: #FFE4E6;
  --red-glow: rgba(227, 28, 37, 0.18);
  --red-glow-strong: rgba(227, 28, 37, 0.35);

  --yellow: #FFC700;
  --yellow-hover: #EAB308;
  --yellow-dark: #B45309;
  --yellow-light: #FEF9C3;
  --yellow-light-border: #FEF08A;

  /* Neutral Scale */
  --black: #090A0C;
  --charcoal: #121418;
  --charcoal-2: #1A1D23;
  --charcoal-3: #262B34;
  --white: #FFFFFF;
  --off-white: #FAF9F6;
  --surface: #FFFFFF;
  --surface-alt: #F8F9FA;

  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Semantic Status Colors */
  --green: #10B981;
  --green-dark: #059669;
  --green-light: #ECFDF5;
  --green-border: #A7F3D0;

  --blue: #2563EB;
  --blue-light: #EFF6FF;
  --blue-border: #BFDBFE;

  --amber: #D97706;
  --amber-light: #FFFBEB;
  --amber-border: #FDE68A;

  /* Border Radii */
  --radius-xs: 0.375rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(17, 24, 39, 0.05);
  --shadow-sm: 0 2px 4px rgba(17, 24, 39, 0.04), 0 1px 2px rgba(17, 24, 39, 0.03);
  --shadow-md: 0 6px 16px -2px rgba(17, 24, 39, 0.08), 0 2px 6px -1px rgba(17, 24, 39, 0.04);
  --shadow-lg: 0 12px 30px -4px rgba(17, 24, 39, 0.12), 0 4px 10px -2px rgba(17, 24, 39, 0.06);
  --shadow-xl: 0 20px 40px -6px rgba(17, 24, 39, 0.16), 0 8px 16px -3px rgba(17, 24, 39, 0.08);
  --shadow-red: 0 8px 24px -4px var(--red-glow-strong);

  /* Typography & Layout */
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1320px;
  --header-height: 104px;
}

/* ============================================================
   RESET & BASE STYLES
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--gray-800);
  background-color: var(--off-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
  outline: none;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font);
  font-weight: 800;
  color: var(--black);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .wrap {
    padding: 0 2rem;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 999;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  user-select: none;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:hover .btn-arrow-icon {
  transform: translateX(3px);
}

.btn:active {
  transform: translateY(0);
}

.btn--red {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-hover) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--red-glow);
}

.btn--red:hover {
  background: linear-gradient(135deg, var(--red-hover) 0%, var(--red-dark) 100%);
  box-shadow: 0 6px 20px var(--red-glow-strong);
}

.btn--yellow {
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(255, 199, 0, 0.25);
}

.btn--yellow:hover {
  background: var(--yellow-hover);
}

.btn--dark {
  background: var(--charcoal);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn--dark:hover {
  background: var(--black);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: #ffffff;
  color: var(--gray-700);
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-xs);
}

.btn--outline:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-light);
}

.btn--ghost {
  background: transparent;
  color: var(--gray-600);
  padding: 0.6rem 0.9rem;
}

.btn--ghost:hover {
  color: var(--red);
  background: var(--gray-100);
}

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.78rem;
}

.btn--lg {
  padding: 0.95rem 1.85rem;
  font-size: 0.95rem;
  font-weight: 800;
}

.btn--full {
  width: 100%;
}

.btn-icon-only {
  padding: 0.65rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo,
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img,
.brand-logo-img {
  display: block;
  width: auto;
  height: 80px;
  max-height: 80px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.logo:hover .logo-img,
.brand:hover .brand-logo-img {
  transform: scale(1.02);
}

.brand-fallback {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-fallback__mark {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--red) 0%, var(--red-hover) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px var(--red-glow);
}

.brand-fallback__mark svg {
  width: 1.4rem;
  height: 1.4rem;
}

.brand-fallback__word {
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--black);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.brand-fallback__word span {
  color: var(--red);
}

.brand-fallback__tag {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  text-transform: uppercase;
}

/* Header Search Pill (Navigates to home.html) */
.header-search-bar {
  display: none;
  position: relative;
  flex: 1;
  max-width: 28rem;
  margin: 0 1rem;
  text-decoration: none;
  cursor: pointer;
}

@media (min-width: 960px) {
  .header-search-bar {
    display: block;
  }
}

.header-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 0.45rem 1rem;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  user-select: none;
}

.header-search-bar:hover .header-search-input-wrap,
.header-search-input-wrap:hover {
  background: #ffffff;
  border-color: var(--gray-300);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.header-search-bar:active .header-search-input-wrap {
  transform: translateY(0);
}

.header-search-icon {
  width: 16px;
  height: 16px;
  color: var(--gray-400);
  margin-right: 0.55rem;
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.header-search-bar:hover .header-search-icon {
  color: var(--red);
  transform: scale(1.08);
}

.header-search-input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-800);
  outline: none;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
}

.header-search-clear {
  color: var(--gray-400);
  font-size: 1.2rem;
  line-height: 1;
  padding: 2px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}

.header-search-bar:hover .header-search-clear,
.header-search-clear:hover {
  color: var(--gray-700);
  transform: scale(1.15);
}

/* Autocomplete Dropdown */
.autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-height: 20rem;
  overflow-y: auto;
  z-index: 100;
  padding: 0.5rem 0;
}

.autocomplete-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: background-color 0.12s ease;
}

.autocomplete-item:hover,
.autocomplete-item.is-selected {
  background: var(--red-light);
  color: var(--red-dark);
}

.autocomplete-item svg {
  width: 14px;
  height: 14px;
  color: var(--red);
  flex-shrink: 0;
}

.autocomplete-item-state {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--gray-100);
  color: var(--gray-600);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-xs);
}

.main-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--gray-700);
}

@media (min-width: 1100px) {
  .main-nav {
    display: flex;
  }
}

.nav-link {
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--red);
}

.nav-link.is-current {
  color: var(--red);
  font-weight: 800;
}

.nav-link.is-current::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--red);
  border-radius: 2px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 1099px) {
  .header-cta .btn {
    display: none !important;
  }
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 0.4rem;
  transition: background 0.15s ease;
}

@media (min-width: 1100px) {
  .hamburger {
    display: none;
  }
}

.hamburger span {
  width: 18px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.25rem 1.75rem;
  background: #ffffff;
  border-top: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu.is-open {
  display: flex;
  max-height: 80vh;
  overflow-y: auto;
}

.mobile-menu a {
  padding: 0.85rem 0.5rem;
  font-weight: 700;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--gray-800);
  transition: color 0.15s ease;
}

.mobile-menu a:hover {
  color: var(--red);
}

/* Mobile Location Accordion */
.mobile-menu .nav-mobile-link {
  border-bottom: 1px solid var(--gray-100);
  border-radius: 0;
  padding: 0.85rem 0.5rem;
  background: transparent;
  color: var(--gray-800);
}

.mobile-menu .nav-mobile-dropdown-content {
  display: none;
  padding: 10px 12px 14px;
  margin: 6px 0;
  border-radius: 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}

.mobile-menu .nav-mobile-dropdown.is-open .nav-mobile-dropdown-content {
  display: block;
}

.mobile-menu .nav-mobile-dropdown.is-open .chevron {
  transform: rotate(180deg);
  color: var(--red);
}

.mobile-menu .nav-mobile-sublink--all {
  display: block;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--red);
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--red-light);
  margin-bottom: 10px;
  text-decoration: none;
  border-bottom: none;
}

.mobile-menu .nav-mobile-group-title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  text-transform: uppercase;
  margin: 8px 6px 4px;
}

.mobile-menu .nav-mobile-sublink {
  display: block;
  padding: 6px 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gray-800);
  border-radius: 6px;
  border-bottom: none;
  text-decoration: none;
}

.mobile-menu .nav-mobile-sublink:hover {
  background: #ffffff;
  color: var(--red);
}

.mobile-menu-cta {
  margin-top: 0.75rem;
  padding-top: 0.5rem;
}

.mobile-menu a.mobile-menu-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1.25rem !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  border-radius: var(--radius-full) !important;
  background: var(--red) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px var(--red-glow);
  text-decoration: none;
  border-bottom: none !important;
  transition: all 0.2s ease;
}

.mobile-menu a.mobile-menu-btn:hover {
  background: var(--red-hover) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px var(--red-glow-strong);
}

.mobile-menu a.mobile-menu-btn .btn-arrow-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ============================================================
   PAGE INTRO & SUBURB HEADER
   ============================================================ */
.main-content {
  padding: 1.5rem 1.25rem 3.5rem;
  scroll-margin-top: 140px;
}

@media (min-width: 768px) {
  .main-content {
    padding: 1.75rem 2rem 4rem;
  }
}

.page-intro {
  padding-bottom: 1.25rem;
}

.breadcrumb-trail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 1rem;
}

.breadcrumb-trail a:hover {
  color: var(--red);
}

.breadcrumb-sep {
  width: 14px;
  height: 14px;
  color: var(--gray-300);
}

.breadcrumb-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.78rem;
}

.breadcrumb-pill--red {
  background: var(--red-light);
  color: var(--red-dark);
  border: 1px solid var(--red-light-border);
}

.page-intro-header-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 900px) {
  .page-intro-header-row {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.page-intro h1 {
  font-size: 1.85rem;
  letter-spacing: -0.03em;
  font-weight: 900;
  color: var(--black);
}

@media (min-width: 640px) {
  .page-intro h1 {
    font-size: 2.25rem;
  }
}

.page-intro-desc {
  color: var(--gray-600);
  font-size: 0.94rem;
  max-width: 52rem;
  line-height: 1.6;
}

/* Quick Summary Stat Chips */
.suburb-highlights-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--gray-200);
}

.highlight-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ffffff;
  border: 1px solid var(--gray-200);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-700);
  box-shadow: var(--shadow-xs);
}

.highlight-chip svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.highlight-chip strong {
  color: var(--black);
  font-weight: 800;
}

.highlight-chip--star svg {
  color: #F59E0B;
}

.highlight-chip--fee svg {
  color: var(--green);
}

.highlight-chip--shield svg {
  color: var(--blue);
}

.highlight-chip--check svg {
  color: var(--red);
}

/* ============================================================
   STICKY SEARCH FILTER BAR
   ============================================================ */
.filter-bar {
  position: sticky;
  top: var(--header-height);
  z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 0.85rem 0;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: top 0.15s ease, box-shadow 0.2s ease;
  overflow: visible;
}

.filter-bar__container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: visible;
}

.filter-bar__scroll {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.6rem;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.25rem 0.25rem;
  margin: 0 -0.25rem;
  cursor: grab;
  cursor: -webkit-grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-x pan-y;
}

.filter-bar__scroll::-webkit-scrollbar {
  display: none;
}

.filter-bar__scroll.is-dragging {
  cursor: grabbing;
  cursor: -webkit-grabbing;
  scroll-behavior: auto;
}

@media (min-width: 1024px) {
  .filter-bar__scroll {
    flex-wrap: wrap;
    overflow-x: visible;
    cursor: default;
    padding: 0.15rem 0;
    margin: 0;
  }
}

/* Filter Dropdown Toggle */
.filter {
  position: relative;
  flex-shrink: 0;
}

.filter[data-open] {
  z-index: 1050;
}

.filter__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1.5px solid var(--gray-200);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gray-700);
  transition: all 0.15s ease;
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

.filter__toggle:hover {
  border-color: var(--gray-400);
  color: var(--black);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.filter[data-open] .filter__toggle,
.filter.is-active .filter__toggle {
  border-color: var(--red);
  color: var(--red-dark);
  background: var(--red-light);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.15);
}

.filter__badge {
  background: var(--red);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
  line-height: 1.2;
}

.filter__toggle svg {
  width: 14px;
  height: 14px;
  color: var(--gray-400);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.filter[data-open] .filter__toggle svg {
  transform: rotate(180deg);
  color: var(--red);
}

/* Filter Dropdown Panel */
.filter__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 1100;
  min-width: 16.5rem;
  max-width: calc(100vw - 2rem);
  box-sizing: border-box;
  background: #ffffff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14), 0 4px 12px rgba(0, 0, 0, 0.06);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s;
}

.filter__panel--wide {
  min-width: 19rem;
  max-width: calc(100vw - 2rem);
  padding: 1.15rem;
}

/* Right-align dropdowns on right side so they stay neatly within screen bounds */
.filter[data-filter="fee"] .filter__panel,
.filter[data-filter="distance"] .filter__panel {
  left: auto;
  right: 0;
}

.filter[data-open] .filter__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.checkbox-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: background-color 0.12s ease;
}

.checkbox-row:hover {
  background: var(--gray-50);
}

.checkbox-row input {
  width: 17px;
  height: 17px;
  accent-color: var(--red);
  flex-shrink: 0;
  cursor: pointer;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.slider-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-700);
}

.slider-label strong {
  color: var(--red);
  font-weight: 800;
  background: var(--red-light);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.filter__panel input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--gray-200);
  accent-color: var(--red);
  cursor: pointer;
}

.filter-reset {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--gray-500);
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-full);
  transition: all 0.15s ease;
}

.filter-reset:hover {
  color: var(--red);
  background: var(--red-light);
}

.filter-reset svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.filter-reset:hover svg {
  transform: rotate(-180deg);
}

/* ============================================================
   RESULTS TOOLBAR & SORT
   ============================================================ */
.results-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
}

.results-count {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-600);
}

.results-count strong {
  color: var(--black);
  font-weight: 800;
}

.results-toolbar__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* View Switcher */
.view-switchers {
  display: none;
  align-items: center;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  padding: 0.2rem;
  border: 1px solid var(--gray-200);
}

@media (min-width: 768px) {
  .view-switchers {
    display: inline-flex;
  }
}

.view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-600);
  transition: all 0.15s ease;
  gap: 0.35rem;
}

.view-btn svg {
  width: 14px;
  height: 14px;
}

.view-btn.is-active {
  background: #ffffff;
  color: var(--black);
  box-shadow: var(--shadow-xs);
}

/* Mobile Map Toggle */
.map-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1.5px solid var(--gray-200);
  background: #ffffff;
  border-radius: var(--radius-full);
  padding: 0.55rem 1rem;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--gray-700);
  box-shadow: var(--shadow-xs);
  transition: all 0.15s ease;
}

@media (min-width: 1024px) {
  .map-toggle {
    display: none;
  }
}

.map-toggle svg {
  width: 15px;
  height: 15px;
}

.map-toggle.is-active {
  background: var(--black);
  color: #ffffff;
  border-color: var(--black);
}

/* Custom Sort Dropdown */
.sort-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sort-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-500);
  display: none;
}

@media (min-width: 480px) {
  .sort-label {
    display: inline;
  }
}

.custom-sort {
  position: relative;
}

.custom-sort__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1.5px solid var(--gray-200);
  background: #ffffff;
  border-radius: var(--radius-full);
  padding: 0.55rem 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
  font-size: 0.82rem;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
}

.custom-sort__toggle svg {
  width: 14px;
  height: 14px;
  color: var(--gray-400);
  transition: transform 0.2s ease;
}

.custom-sort__toggle:hover {
  border-color: var(--gray-400);
  box-shadow: var(--shadow-sm);
}

.custom-sort[data-open] .custom-sort__toggle {
  border-color: var(--red);
  color: var(--red-dark);
  background: var(--red-light);
}

.custom-sort[data-open] .custom-sort__toggle svg {
  transform: rotate(180deg);
  color: var(--red);
}

.custom-sort__panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 100;
  min-width: 13.5rem;
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.custom-sort[data-open] .custom-sort__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.sort-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 0.65rem 0.95rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: all 0.15s ease;
}

.sort-option:hover {
  background: var(--gray-50);
  color: var(--black);
}

.sort-option.is-active {
  background: var(--red-light);
  color: var(--red-dark);
  font-weight: 800;
}

/* ============================================================
   RESULTS LAYOUT (CARDS & MAP)
   ============================================================ */
.results-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .results-layout {
    grid-template-columns: 1.45fr 1fr;
  }
}

@media (min-width: 1280px) {
  .results-layout {
    grid-template-columns: 1.55fr 1fr;
  }
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Grid View Mode Override */
.results-list.is-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .results-list.is-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   RESULT CARD (PREMIUM REDESIGN)
   ============================================================ */
.result-card {
  background: #ffffff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scroll-margin-top: 150px;
}

.result-card:hover {
  transform: translateY(-2px);
  border-color: var(--gray-300);
  box-shadow: var(--shadow-lg);
}

.result-card.is-highlighted {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow), var(--shadow-lg);
}

/* Card Header */
.result-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.result-card__header-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.result-card__service-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--red-dark);
  background: var(--red-light);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  align-self: flex-start;
}

.result-card__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1.3;
  transition: color 0.15s ease;
}

.result-card__title:hover {
  color: var(--red);
}

/* Card Media Carousel */
.result-card__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--gray-100);
  user-select: none;
}

.result-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.result-card:hover .result-card__media img {
  transform: scale(1.03);
}

/* Badges */
.result-card__badges {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 5;
}

.result-card__badge-premium {
  background: linear-gradient(135deg, var(--yellow) 0%, #F59E0B 100%);
  color: #3B2A00;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.result-card__badge-verified {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.result-card__badge-verified svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}

.result-card__badge-google {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: #1a73e8;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.result-card__badge-sample {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: #4b5563;
  border: 1px solid #d1d5db;
  font-size: 0.70rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

/* Carousel Navigation Arrows */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-800);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transition: all 0.2s ease;
  z-index: 6;
}

.result-card:hover .carousel-nav-btn {
  opacity: 1;
}

.carousel-nav-btn:hover {
  background: #ffffff;
  color: var(--red);
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn--prev {
  left: 0.6rem;
}

.carousel-nav-btn--next {
  right: 0.6rem;
}

.carousel-nav-btn svg {
  width: 14px;
  height: 14px;
}

/* Carousel Indicator Dots */
.result-card__dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.35rem;
  z-index: 5;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
}

.result-card__dots button {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  padding: 0;
  transition: all 0.2s ease;
}

.result-card__dots button.is-active {
  background: #ffffff;
  width: 16px;
  border-radius: 4px;
}

/* Card Metadata Rows */
.result-card__address {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--gray-600);
  font-weight: 500;
}

.result-card__address svg {
  width: 15px;
  height: 15px;
  color: var(--red);
  flex-shrink: 0;
}

.result-card__rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #FEF3C7;
  color: #78350F;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.rating-badge svg {
  width: 13px;
  height: 13px;
  color: #D97706;
  fill: currentColor;
}

.rating-count {
  font-size: 0.78rem;
  color: var(--gray-500);
  font-weight: 600;
}

.distance-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-500);
}

.distance-pill svg {
  width: 13px;
  height: 13px;
  color: var(--gray-400);
}

/* Inclusions & Features Pills */
.result-card__inclusions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.inclusion-pill {
  background: var(--surface-alt);
  color: var(--gray-700);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--gray-200);
  transition: all 0.15s ease;
  line-height: 1.2;
}

.inclusion-pill:hover {
  background: #ffffff;
  border-color: var(--gray-300);
  color: var(--black);
}

.inclusion-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--red);
}

/* Stats Matrix */
.result-card__stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  background: var(--surface-alt);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 0.85rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-item__label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.stat-item__value {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1.2;
}

.stat-item__value--nqs-exceeding {
  color: var(--green-dark);
}

.stat-item__value--nqs-meeting {
  color: var(--blue);
}

.stat-item__value--nqs-working {
  color: var(--amber);
}

.stat-item__value small {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gray-500);
}

/* Availability & Capacity Line */
.result-card__availability {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--gray-600);
  padding: 0.25rem 0;
}

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.78rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  box-shadow: 0 0 0 2px var(--green-light);
}

.status-dot--amber {
  background: var(--amber);
  box-shadow: 0 0 0 2px var(--amber-light);
}

/* Card Actions */
.result-card__actions {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.result-card__actions .btn {
  flex: 1;
}

/* ============================================================
   STICKY MAP PANEL
   ============================================================ */
.results-map {
  position: relative;
}

@media (min-width: 1024px) {
  .results-map {
    position: sticky;
    top: calc(var(--header-height) + 5rem);
  }
}

.results-map__wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.map-header-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.15rem;
  box-shadow: var(--shadow-sm);
}

.map-info-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-700);
}

.map-info-text svg {
  width: 16px;
  height: 16px;
  color: var(--red);
  flex-shrink: 0;
}

.map-info-text strong {
  color: var(--black);
}

.results-map__frame {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  background: var(--gray-100);
}

#centre-map {
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Redo Search Button */
.redo-search {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.15rem;
  font-weight: 800;
  font-size: 0.78rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  color: var(--gray-800);
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.redo-search:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
  transform: translateX(-50%) translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

.redo-search svg {
  width: 15px;
  height: 15px;
  color: var(--red);
}

/* Map Highlight Float Card (Positioned higher up, crisp squared shape) */
.map-highlight {
  position: absolute;
  bottom: 2rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 20;
  background: #ffffff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.18), 0 6px 14px -2px rgba(0, 0, 0, 0.08);
  padding: 0.85rem 1rem;
  display: flex;
  gap: 0.85rem;
  align-items: center;
  animation: slideUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.map-highlight img {
  width: 3.8rem;
  height: 3.8rem;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
}

.map-highlight__content {
  flex: 1;
  min-width: 0;
}

.map-highlight__name {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.map-highlight__address {
  font-size: 0.74rem;
  color: var(--gray-500);
  margin: 0.15rem 0 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.map-highlight__meta {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--green-dark);
}

.map-highlight__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  background: var(--red);
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px var(--red-glow);
  border: none;
  cursor: pointer;
  transition: all 0.18s ease;
}

.map-highlight__btn:hover {
  background: var(--red-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px var(--red-glow-strong);
}

/* Professional Leaflet UI Controls */
.leaflet-bar {
  border: 1.5px solid var(--gray-200) !important;
  border-radius: 8px !important;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.leaflet-bar a {
  background-color: #ffffff !important;
  color: var(--gray-800) !important;
  font-weight: 700 !important;
  border-bottom: 1px solid var(--gray-200) !important;
  transition: background-color 0.15s ease;
}

.leaflet-bar a:hover {
  background-color: var(--gray-50) !important;
  color: var(--red) !important;
}

.leaflet-control-attribution {
  font-size: 9px !important;
  background: rgba(255, 255, 255, 0.75) !important;
  padding: 2px 6px !important;
  border-radius: 4px 0 0 0;
}

/* Custom Leaflet Map Price Pins */
.map-price-pin {
  background: var(--charcoal);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-full) var(--radius-full) var(--radius-full) 2px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ffffff;
}

.map-price-pin:hover {
  transform: scale(1.1);
  background: var(--red);
  z-index: 999;
}

.map-price-pin--active {
  background: var(--red) !important;
  font-size: 0.82rem;
  padding: 0.4rem 0.85rem;
  transform: scale(1.15);
  box-shadow: 0 8px 20px var(--red-glow-strong);
  z-index: 1000 !important;
}

/* Leaflet Popup Styling */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.leaflet-popup-content {
  font-family: var(--font);
  margin: 0;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  line-height: 1.4;
}

.map-popup-card strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 0.25rem;
}

.map-popup-card p {
  color: var(--gray-500);
  font-size: 0.75rem;
  margin-bottom: 0.4rem;
}

.map-popup-card .popup-price {
  font-weight: 800;
  color: var(--red);
}

@media (max-width: 1023px) {
  .results-map {
    display: none;
  }

  .results-map.is-visible {
    display: block;
  }

  .results-list.is-hidden {
    display: none;
  }
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 2.5rem 0 1rem;
}

.pagination button {
  min-width: 2.6rem;
  height: 2.6rem;
  padding: 0 0.85rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200);
  background: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--gray-700);
  box-shadow: var(--shadow-xs);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pagination button:hover:not(:disabled) {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.pagination button.is-active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.pagination button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.6rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gray-400);
  user-select: none;
}

/* ============================================================
   INTERACTIVE CHILD CARE SUBSIDY (CCS) CALCULATOR WIDGET (BRAND RED)
   ============================================================ */
/* ============================================================
   OCCUPANCY STRATEGY SESSION (BRAND RED)
   ============================================================ */
.strategy-section {
  width: 100%;
  max-width: var(--max-width, 1280px);
  margin: 3.5rem auto;
  box-sizing: border-box;
}

.strat-top {
  background: var(--brand-600, #D01F17) !important;
  border-radius: var(--radius-2xl, 24px);
  padding: 3.5rem 2.25rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 44px rgba(227, 27, 35, 0.28), 0 6px 20px rgba(0, 0, 0, 0.16);
}

@media (min-width: 768px) {
  .strat-top {
    padding: 4rem 3.25rem;
  }
}

.strat-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.strat-top-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .strat-top-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
  }
}

.strat-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.strat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 99px;
  letter-spacing: 0.08em;
  width: fit-content;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-transform: uppercase;
}

.strat-title {
  font-family: var(--font-display, var(--font));
  font-size: 28px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
  margin: 0;
}

@media (min-width: 768px) {
  .strat-title {
    font-size: 34px;
  }
}

.strat-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
  max-width: 520px;
  margin: 0;
}

/* --- Action Card (Single Button CTA) --- */
.strat-action-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 34px 34px 28px;
  gap: 20px;
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.28), 0 8px 24px rgba(0, 0, 0, 0.12);
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strat-action-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 56px -10px rgba(0, 0, 0, 0.34), 0 10px 28px rgba(0, 0, 0, 0.15);
}

.strat-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: linear-gradient(135deg, #E31B23 0%, #C41018 100%);
  color: #FFFFFF;
  font-family: var(--font-display, var(--font));
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 24px -4px rgba(227, 27, 35, 0.45);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-sizing: border-box;
}

.strat-primary-btn .btn-arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.strat-primary-btn:hover {
  background: linear-gradient(135deg, #FFDE59 0%, #FFC700 100%);
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(255, 199, 0, 0.5);
}

.strat-primary-btn:hover .btn-arrow-icon {
  transform: translateX(4px);
}

.strat-card-highlights {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.strat-highlight-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #374151;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.strat-check-icon {
  width: 17px;
  height: 17px;
  color: #0E9D63;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .strat-action-card {
    padding: 24px 20px;
  }
  .strat-primary-btn {
    font-size: 15px;
    padding: 14px 24px;
  }
  .strat-card-highlights {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

/* ============================================================
   FAQ ACCORDION (CENTRALISED & ELEVATED)
   ============================================================ */

/* FAQ Accordion (Centralised & Premium Red Accent) */
.faq-section {
  max-width: 54rem;
  margin: 4.5rem auto 3.5rem;
  padding: 0 0.75rem;
}

.faq-section__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--red-light);
  color: var(--red);
  border: 1px solid var(--red-light-border);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.faq-badge svg {
  width: 15px;
  height: 15px;
  color: var(--red);
}

.faq-section__header h2 {
  font-size: 2.15rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 0.6rem;
}

@media (min-width: 640px) {
  .faq-section__header h2 {
    font-size: 2.4rem;
  }
}

.faq-section__header p {
  color: var(--gray-600);
  font-size: 0.95rem;
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.6;
}

.faq-accordion,
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  width: 100%;
}

/* Individual FAQ Card (Matches screenshot clean separated pill cards) */
.faq-item {
  background: #ffffff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.faq-item:hover {
  border-color: var(--gray-300);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

/* Open State (Matches reference: red outline, red bold question title, minus icon) */
.faq-item[data-open] {
  border-color: #ff4d4f;
  box-shadow: 0 4px 20px -2px rgba(229, 57, 53, 0.08);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  gap: 1.25rem;
  transition: color 0.2s ease;
}

.faq-question__text {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.45;
  flex: 1;
  transition: color 0.2s ease;
}

.faq-question:hover .faq-question__text {
  color: var(--red);
}

.faq-item[data-open] .faq-question__text {
  color: #e53935;
}

/* Morphing Plus / Minus Icon */
.faq-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gray-500);
  transition: color 0.2s ease;
}

.faq-icon svg {
  width: 18px;
  height: 18px;
}

.faq-icon__h {
  stroke: currentColor;
  stroke-width: 2.2px;
}

.faq-icon__v {
  stroke: currentColor;
  stroke-width: 2.2px;
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.faq-item[data-open] .faq-icon {
  color: var(--gray-600);
}

.faq-item[data-open] .faq-icon__v {
  transform: rotate(90deg);
  opacity: 0;
}

/* FAQ Answer Content */
.faq-answer {
  display: none;
  padding: 0 1.65rem 1.45rem 1.65rem;
}

.faq-answer p {
  font-size: 0.94rem;
  color: var(--gray-600);
  line-height: 1.68;
  margin: 0;
}

.faq-item[data-open] .faq-answer {
  display: block;
  animation: faqSlideFade 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes faqSlideFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   MODAL (EXPLORE CENTRE & ENQUIRY)
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 12, 14, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 34rem;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modal-backdrop.is-open .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--black);
}

.modal-badge-icon {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-close-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: all 0.15s ease;
}

.modal-close-btn:hover {
  background: var(--gray-200);
  color: var(--black);
}

.modal-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Modal Form Fields */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-700);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.7rem 0.95rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-800);
  background: #ffffff;
  outline: none;
  transition: all 0.15s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 580px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* Selected Centre Rich Preview in Modal */
.modal-centre-preview {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface-alt);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 1rem;
}

.modal-centre-preview img {
  width: 5rem;
  height: 5rem;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.modal-centre-preview__details {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  min-width: 0;
}

.modal-centre-preview__top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.modal-pill {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.modal-pill--service {
  background: #ffffff;
  color: var(--charcoal);
  border: 1px solid var(--gray-200);
}

.modal-pill--nqs {
  background: var(--green-light);
  color: var(--green-dark);
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.modal-centre-preview h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1.3;
}

.modal-centre-preview p {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.modal-centre-quick-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--gray-600);
  margin-top: 0.2rem;
  flex-wrap: wrap;
}

.modal-inclusions-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.modal-inclusions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* ============================================================
   NEWSLETTER BAND (FULL-BLEED BRAND RED)
   ============================================================ */
.newsletter {
  background: var(--red, #D01F17);
  background: linear-gradient(135deg, #D01F17 0%, #B8150E 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
  width: 100%;
}

@media (min-width: 1024px) {
  .newsletter {
    padding: 80px 0;
  }
}

.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.newsletter-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  z-index: 2;
}

@media (min-width: 768px) {
  .newsletter-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.newsletter-title {
  font-family: var(--font-display, var(--font));
  font-size: 24px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .newsletter-title {
    font-size: 30px;
  }
}

.newsletter-title em {
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: #FFC700;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.newsletter-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.newsletter-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}

.newsletter-phone-icon {
  width: 20px;
  height: 20px;
  stroke: #FFFFFF;
  flex-shrink: 0;
}

.newsletter-phone:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
  .newsletter-right {
    width: 100%;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    gap: 12px;
  }
}

.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  font-size: 14px;
  font-family: var(--font);
  border: 2px solid transparent;
  outline: none;
  background: #FFFFFF;
  color: #111827;
  min-width: 240px;
  border-radius: 0;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

@media (max-width: 600px) {
  .newsletter-input {
    width: 100%;
    min-width: unset;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  }
}

.newsletter-input:focus {
  border-color: #FFC700;
}

.newsletter-input.is-invalid {
  border-color: #F87171;
  background-color: #FEF2F2;
}

.newsletter-input::placeholder {
  color: #94a3b8;
}

.newsletter-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  background: #0B0C0E;
  color: #FFFFFF;
  border: 2px solid transparent;
  padding: 14px 24px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-family: var(--font);
  cursor: pointer;
  white-space: nowrap;
  border-radius: 0;
  transition: background-color 0.25s ease, border-color 0.2s ease, transform 0.15s ease;
}

@media (max-width: 600px) {
  .newsletter-btn {
    width: 100%;
    border-radius: 8px;
  }
}

.newsletter-btn:hover {
  background: #1e2029;
  border-color: #FFC700;
}

.newsletter-btn:disabled {
  cursor: wait;
}

.newsletter-btn-text {
  transition: opacity 0.2s ease;
}

.newsletter-btn-spinner {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
}

.newsletter-btn.is-loading .newsletter-btn-text {
  opacity: 0;
}

.newsletter-btn.is-loading .newsletter-btn-spinner {
  display: flex;
}

.newsletter-btn-spinner::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================================
   FOOTER (CLEAN LIGHT MODERN THEME AS PER REFERENCE)
   ============================================================ */
.site-footer {
  background: #F8F9FB;
  color: #64748B;
  font-size: 0.9rem;
  padding: 4.5rem 0 2.5rem;
  margin-top: 0;
  border-top: 1px solid #E2E8F0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1.1fr;
    gap: 4rem;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

.footer-brand__mark {
  display: inline-block;
  text-decoration: none;
}

.footer-brand__mark img {
  height: 80px;
  max-height: 80px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.footer-brand__desc {
  line-height: 1.65;
  max-width: 22rem;
  color: #64748B;
  font-size: 0.92rem;
}

.footer-brand__desc strong {
  color: #1E293B;
  font-weight: 700;
}

.footer-col h4 {
  color: #0F172A;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col a {
  color: #475569;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.footer-col a:hover {
  color: var(--red);
  transform: translateX(2px);
}

/* Contact Col Specifics */
.footer-contact-col {
  display: flex;
  flex-direction: column;
}

.footer-email-link {
  color: #475569;
  font-size: 0.92rem;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 1.25rem;
  transition: color 0.15s ease;
}

.footer-email-link:hover {
  color: var(--red);
}

.footer-social-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.footer-social-title {
  color: #0F172A;
  font-size: 0.95rem;
  font-weight: 700;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0F172A;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social-icon:hover {
  color: var(--red);
  transform: translateY(-2px);
}

.footer-social-icon svg {
  width: 20px;
  height: 20px;
}

.footer-serving-text {
  font-size: 0.85rem;
  color: #94A3B8;
  font-weight: 500;
}

/* Footer Bottom Bar */
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  font-size: 0.85rem;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

.footer-copyright {
  color: #64748B;
  font-size: 0.86rem;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: #64748B;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.footer-legal-links a:hover {
  color: var(--red);
}

/* ============================================================
   TOASTS & FLOATING BACK TO TOP
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 22rem;
  pointer-events: none;
}

.toast {
  background: var(--charcoal);
  color: #ffffff;
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-xl);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  animation: toast-in 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--charcoal-3);
  pointer-events: auto;
}

.toast::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.toast.toast--error::before {
  background: var(--red);
}

.toast.toast--warning::before {
  background: var(--yellow);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.toast.is-leaving {
  animation: toast-out 0.2s ease forwards;
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(12px) scale(0.95);
  }
}

.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 85;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #ffffff;
  color: var(--charcoal);
  border: 1.5px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top:hover {
  background: var(--red);
  color: #ffffff;
  border-color: var(--red);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

.back-to-top[hidden] {
  display: none;
}

/* ============================================================
   EMPTY STATE & SKELETON LOADING
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  color: var(--gray-500);
  background: #ffffff;
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.empty-state svg {
  width: 48px;
  height: 48px;
  color: var(--gray-300);
  margin-bottom: 0.5rem;
}

.empty-state strong {
  display: block;
  color: var(--black);
  font-size: 1.15rem;
  font-weight: 800;
}

.empty-state p {
  font-size: 0.88rem;
  max-width: 24rem;
}

/* ============================================================
   SKELETON LOADING
   ============================================================ */
.skeleton {
  background: #f1f3f5;
  background-image: linear-gradient(90deg, #f1f3f5 0px, #f8f9fa 40px, #f1f3f5 80px);
  background-size: 200vw 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: var(--radius-md);
  color: transparent !important;
  user-select: none;
  pointer-events: none;
}

@keyframes shimmer {
  0% { background-position: -100vw 0; }
  100% { background-position: 100vw 0; }
}

.skeleton-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: var(--radius-2xl);
  border: 1.5px solid var(--gray-200);
  overflow: hidden;
  padding: 1rem;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.results-list.is-list-view .skeleton-card {
  flex-direction: row;
}

.skeleton-img {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-xl);
}

.results-list.is-list-view .skeleton-img {
  width: 260px;
  height: 220px;
}

.skeleton-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.skeleton-title {
  width: 70%;
  height: 1.25rem;
  border-radius: var(--radius-sm);
}

.skeleton-subtitle {
  width: 40%;
  height: 0.85rem;
  border-radius: var(--radius-sm);
}

.skeleton-stats {
  width: 100%;
  height: 3rem;
  border-radius: var(--radius-lg);
  margin-top: 1rem;
}